/* Easy Button marketing site — shared styles */

:root {
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --ink-mute: #6b6b6b;
  --paper: #ffffff;
  --paper-warm: #faf8f5;
  --line: #e8e8e8;
  --line-soft: #f1f1f1;
  --red: #e63946;
  --red-dark: #c52836;
  --green: #1f7a3a;
  --yellow: #f9c74f;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 1px 2px rgba(230, 57, 70, 0.3), 0 8px 24px rgba(230, 57, 70, 0.2);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(230, 57, 70, 0.4), 0 12px 32px rgba(230, 57, 70, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--paper-warm);
  color: var(--ink);
  border-color: var(--ink-mute);
}

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.15s ease;
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* ── Layout ── */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  section {
    padding: 120px 0;
  }
}

/* ── Type ── */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 640px;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lede {
  margin: 0 auto 36px;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-mute);
}

/* ── Snapshot card ── */
.snapshot {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 720px;
  margin: 60px auto 0;
}

.snapshot-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  text-align: center;
}

.snapshot-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.snapshot-cell {
  text-align: center;
}

.snapshot-cell-label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 4px;
}

.snapshot-cell-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.snapshot-cell-value.ours {
  color: var(--red);
}

.snapshot-cell-value.strike {
  color: var(--ink-mute);
  text-decoration: line-through;
  font-weight: 500;
}

.snapshot-savings {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

/* ── Feature grid ── */
.features {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 56px;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ── Steps ── */
.steps {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-top: 56px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "SF Mono", ui-monospace, "Menlo", monospace;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.05em;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ── Section header ── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head .lede {
  margin: 0 auto;
}

/* ── Pricing table ── */
.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 56px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.tier:hover {
  border-color: var(--ink);
}

.tier.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  position: relative;
  box-shadow: var(--shadow);
}

.tier.featured h3,
.tier.featured .tier-price-amount,
.tier.featured .tier-features li {
  color: white;
}

.tier.featured .tier-subs,
.tier.featured .tier-compare {
  color: rgba(255, 255, 255, 0.7);
}

.tier.featured .tier-features li::before {
  color: var(--red);
}

.tier-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.tier-subs {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.tier-price-amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.tier-price-period {
  font-size: 15px;
  color: var(--ink-mute);
}

.tier.featured .tier-price-period {
  color: rgba(255, 255, 255, 0.6);
}

.tier-compare {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

.tier-compare strong {
  color: var(--green);
}

.tier.featured .tier-compare strong {
  color: #4ade80;
}

.tier-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.tier-features li {
  font-size: 14px;
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.tier .btn {
  width: 100%;
  justify-content: center;
}

.tier.featured .btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.tier.featured .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: white;
}

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  margin-top: 48px;
  border-collapse: collapse;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table thead {
  background: var(--paper-warm);
}

.compare-table th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.compare-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.compare-table tbody tr:hover {
  background: var(--paper-warm);
}

.compare-table .price-us {
  font-weight: 600;
  color: var(--ink);
}

.compare-table .price-them {
  color: var(--ink-soft);
}

.compare-table .savings {
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
}

.compare-table .savings.premium {
  color: var(--ink-mute);
}

/* ── FAQ ── */
.faq {
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  margin-top: 40px;
  background: var(--paper-warm);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 14px;
  color: var(--ink-mute);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a {
  color: var(--ink-soft);
}

/* ── Code/mono accent ── */
code,
.mono {
  font-family: "SF Mono", ui-monospace, "Menlo", monospace;
  font-size: 0.92em;
  background: var(--paper-warm);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  color: var(--ink);
}

/* ── CTA band ── */
.cta-band {
  text-align: center;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  padding: 60px 32px;
  margin-top: 40px;
}

.cta-band h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 28px;
  max-width: 540px;
  font-size: 17px;
}

/* ── Small ── */
.small {
  font-size: 13px;
  color: var(--ink-mute);
}

.center {
  text-align: center;
}
