/* ============================================================================
   Parent Vertical — Premium Light design system (celvak / AWS / WorkOS aesthetic)
   White, airy, slate type, soft shadows, subtle violet→blue gradients.
   Theme per product by overriding the --accent* vars in :root.
   Copied from 15.mailvak-suite/mailvak/web/landing/public/styles.css on
   2026-09-23; linevak-only additions live in linevak.css.
   ============================================================================ */

/* linevak's accent lives in linevak.css (loaded after this file), because
   the base :root below would otherwise put mailvak's green back. */

/* AI-ready hero badge */
.eyebrow-row{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:24px; }
.eyebrow-row .eyebrow{ margin-bottom:0; }
/* secondary cross-door chip — ghost, so the filled "Start free" CTA owns the eye */
.ai-pill{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600;
  color:var(--accent-ink); background:#fff; border:1px solid var(--border); padding:6px 14px;
  border-radius:var(--radius-pill); box-shadow:var(--shadow-xs); transition:all .16s ease; }
.ai-pill:hover{ transform:translateY(-1px); background:var(--accent-soft); border-color:var(--accent); color:var(--accent-ink); }

/* "Built for AI agents" section */
.agents-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; margin-top:44px; }
.agents-copy h3{ font-size:21px; font-weight:700; letter-spacing:-.02em; margin-bottom:10px; }
.agents-copy p{ color:var(--text-mid); font-size:16px; }
.agents-copy p + p{ margin-top:14px; }
.agent-targets{ display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 4px; }
.agent-targets span{ display:inline-flex; align-items:center; font-size:13px; font-weight:600; color:var(--text-mid);
  background:#fff; border:1px solid var(--border); padding:6px 13px; border-radius:var(--radius-pill); box-shadow:var(--shadow-xs); }
.agent-roadmap{ display:inline-flex; align-items:center; gap:8px; margin-top:18px; font-size:13.5px; font-weight:600;
  color:var(--accent-ink); background:var(--accent-soft); border:1px solid var(--border); padding:8px 14px; border-radius:10px; }
.agent-roadmap svg{ width:15px; height:15px; flex:none; }
.agent-ctas{ display:grid; gap:18px; margin-top:34px; }
.agent-cta-group .lbl{ font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--text-dim); margin-bottom:10px; }
.agent-cta-group .btns{ display:flex; gap:12px; flex-wrap:wrap; }
@media (max-width:880px){ .agents-grid{ grid-template-columns:1fr; gap:30px; } }

/* one call → many domains diagram */
.mux{ display:grid; grid-template-columns:.9fr auto 1.1fr; align-items:center; gap:28px; margin-top:44px; }
.mux-call{ background:#0b1020; border:1px solid #1e293b; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:22px 20px; font-family:"JetBrains Mono",monospace; font-size:13px; line-height:1.7; color:#cbd5e1; }
.mux-call .k{ color:#c4b5fd; } .mux-call .s{ color:#6ee7b7; } .mux-call .c{ color:#64748b; }
.mux-arrow{ display:grid; place-items:center; color:var(--accent); }
.mux-arrow svg{ width:38px; height:38px; }
.mux-out{ display:grid; gap:12px; }
.mux-env{ display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--border);
  border-radius:14px; padding:14px 16px; box-shadow:var(--shadow-sm); }
.mux-env .ico{ flex:none; width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
  background:var(--accent-soft); color:var(--accent-ink); } .mux-env .ico svg{ width:19px; height:19px; }
.mux-env b{ font-size:14.5px; } .mux-env span{ display:block; font-family:"JetBrains Mono",monospace;
  font-size:12px; color:var(--text-mid); }
.mux-env .ok{ margin-left:auto; flex:none; color:var(--accent-ink); }
.mux-env .ok svg{ width:18px; height:18px; }
@media (max-width:880px){ .mux{ grid-template-columns:1fr; gap:18px; } .mux-arrow{ transform:rotate(90deg); } }

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;     /* slate-50  */
  --bg-alt: #f1f5f9;      /* slate-100 */
  --text: #0f172a;        /* slate-900 */
  --text-mid: #475569;    /* slate-600 */
  --text-dim: #94a3b8;    /* slate-400 */
  --border: #e2e8f0;      /* slate-200 */
  --border-soft: #eef2f6;
  --card: #ffffff;

  /* accent — overridden per product */
  --accent: #10b981;        /* emerald-500 */
  --accent-strong: #059669; /* emerald-600 */
  --accent-ink: #047857;    /* emerald-700 */
  --accent-soft: #ecfdf5;   /* emerald-50  */
  --grad-wash: linear-gradient(150deg, #f0fdf4 0%, #ecfdf5 35%, #d1fae5 65%, #cffafe 100%);
  --grad-cta: linear-gradient(135deg, #059669 0%, #10b981 55%, #0d9488 100%);

  --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 6px 16px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 18px 48px rgba(15,23,42,.10), 0 6px 16px rgba(15,23,42,.06);
  --ring: 0 0 0 4px var(--accent-soft);

  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "cv11","ss01";
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
code, pre, .mono { font-family: "JetBrains Mono", "SF Mono", Menlo, monospace; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.accent { color: var(--accent-ink); }
.muted { color: var(--text-mid); }
.grad-text {
  background: linear-gradient(120deg, var(--accent-ink), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: all .16s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--text); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: #1e293b; }
.btn-accent { background: var(--grad-cta); color: #fff; box-shadow: 0 6px 18px -6px var(--accent); }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px var(--accent); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--text-dim); box-shadow: var(--shadow-sm); }
.btn-lg { font-size: 16px; padding: 14px 26px; }
/* hero primary CTA — deeper green, larger type/padding so it wins the first glance */
.btn-hero {
  font-size: 18px; font-weight: 700; padding: 17px 34px; border-radius: 12px;
  background: linear-gradient(135deg, #065f46 0%, #047857 52%, #059669 100%);
  color: #fff; box-shadow: 0 10px 28px -8px rgba(4,120,87,.55);
}
.btn-hero:hover { transform: translateY(-1px); box-shadow: 0 16px 38px -10px rgba(4,120,87,.62); }

/* Hero sign-up control — the point of the page, so it is ONE object: a white,
   lifted surface holding the field and the button. A hairline border vanished
   against the green wash (~1.1:1 contrast); this edge is a real tone plus a
   shadow, so the field reads as somewhere to type rather than empty space. */
#heroForm {
  display: flex; align-items: center; gap: 6px;
  max-width: 680px; margin: 26px auto 0; padding: 8px 8px 8px 18px;
  background: #fff; border: 1.5px solid #bfe3d3; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 20px 44px -24px rgba(4,120,87,.5);
  transition: border-color .16s ease, box-shadow .16s ease;
}
#heroForm:hover { border-color: #9ed9c2; }
#heroForm { cursor: text; } #heroForm .btn-hero { cursor: pointer; }
#heroForm:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(16,185,129,.11), 0 20px 44px -24px rgba(4,120,87,.5); }
.hero-field-ico { width: 22px; height: 22px; flex: 0 0 auto; color: #94a3b8; transition: color .16s ease; }
#heroForm:focus-within .hero-field-ico { color: var(--accent-strong); }
.hero-field {
  flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 15px 4px 15px 12px; font: inherit; font-size: 18px; color: var(--text);
}
.hero-field::placeholder { color: #78899a; }
@media (max-width: 520px) {
  #heroForm { flex-wrap: wrap; padding: 12px; gap: 10px; }
  .hero-field-ico { display: none; }
  .hero-field { flex: 1 0 100%; padding: 4px 2px; }
  #heroForm .btn-hero { flex: 1 0 100%; justify-content: center; }
}
.btn-hero svg { width: 18px; height: 18px; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand .mark {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--grad-cta); color: #fff; box-shadow: var(--shadow-sm);
}
.brand .mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { color: var(--text-mid); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: all .15s; }
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links .nav-cta { color: #fff; background: var(--text); padding: 8px 16px; font-weight: 600; }
.nav-links .nav-cta:hover { background: #1e293b; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; cursor: pointer; }

/* ---------- hero ---------- */
/* The first screen holds one group — facts line, headline, box — centred in
   the viewport with open room above it (the CelDrive layout). Everything else
   starts below the fold behind a quiet "See how it works" cue. The extra
   bottom padding lifts the group so the BOX, not the group's middle, sits at
   about half the screen height; the cap keeps tall monitors from floating it. */
.hero {
  position: relative; overflow: hidden;
  min-height: min(calc(100vh - 64px), 900px); min-height: min(calc(100svh - 64px), 900px);
  display: flex; align-items: center; padding: 40px 0 150px;
}
.hero > .wrap { width: 100%; }
@media (max-height: 720px) { .hero { padding-bottom: 110px; } }
/* The wash is a soft glow behind the group, not a band under the nav. */
.hero::before {
  content: ""; position: absolute; inset: 0 -10%; z-index: -1;
  background: var(--grad-wash);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 42%, #000 20%, transparent 72%);
          mask-image: radial-gradient(60% 55% at 50% 42%, #000 20%, transparent 72%);
}
.hero-kicker { margin: 0 0 16px; font-size: 14px; letter-spacing: .03em; color: #7b8a93; text-wrap: balance; }
@media (max-width: 560px) { .hero-kicker { font-size: 13px; letter-spacing: .02em; } }
.hero-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 14px; color: #475569; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: #cbd5e1; white-space: nowrap;
}
.hero-cue:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.hero-cue span { display: inline-block; margin-left: 2px; text-decoration: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 68px; align-items: center; }
.hero-grid .code-card { box-shadow: 0 44px 84px -30px rgba(5,150,105,.46), 0 18px 38px rgba(15,23,42,.12); }
/* single centered proof object under the hero copy — calm shadow, no transform
   (keeps .reveal intact) */
/* The inbox preview proves the headline's claim — it must not out-weigh the
   sign-up control above it. Narrower, softer lift, and a slimmer title bar so
   the dark mass reads as a caption to the hero rather than a second hero.
   (3) also closes the one irregular gap in the hero's rhythm: 22/26/18/66 -> 44. */
.hero-after { padding-top: 8px; scroll-margin-top: 96px; }
.hero-preview {
  max-width: 420px; margin: 0 auto;
  box-shadow: 0 18px 36px -24px rgba(5,150,105,.26), 0 6px 16px rgba(15,23,42,.05);
}
.hero-preview .bar { padding: 9px 14px; background: #131c30; }
.hero-preview .bar .dot { width: 9px; height: 9px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--accent-ink); background: #fff; border: 1px solid var(--border);
  padding: 6px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-xs); margin-bottom: 24px;
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(42px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
/* One-line hero: the headline carries the whole promise (no lede paragraph).
   Holds one line from ~900px up; below that it balances into two halves that
   split at the colour change ("Branded email / in 60 seconds."). */
/* The box is the centrepiece (the Google / ChatGPT pattern): the headline is
   its caption, so it is capped at 44px (~600px wide) — narrower than the box.
   Phones keep a 40px floor. */
.hero h1.hero-oneline { text-wrap: balance; font-size: clamp(40px, 4vw, 44px); }
/* Where it can't hold one line, break exactly at the colour change rather than
   wherever balancing lands ("Branded email in / 60 seconds." read badly). */
@media (max-width: 760px) { .hero h1.hero-oneline .grad-text { display: block; } }
.hero-oneline + #heroForm { margin-top: 28px; }
.lede { margin-top: 22px; max-width: 540px; font-size: clamp(17px, 2vw, 19px); color: var(--text-mid); }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); }
/* The status line is empty until the form answers; reserve its line so the
   centred group doesn't jump when "Check your inbox" appears. */
#heroNote { min-height: 1.6em; margin-top: 16px; }
/* The submit result is the most important text in the hero at that moment —
   it must not look like the fine print it replaces. */
.hero-note.is-ok { color: var(--accent-ink); font-weight: 600; }
.hero-note.is-err { color: #b91c1c; font-weight: 600; }
#heroForm .btn-hero:disabled { opacity: .7; cursor: progress; transform: none; }
.hero-note code { color: var(--accent-ink); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; font-size: 12.5px; }
/* code / terminal card (dark on light) */
.code-card {
  background: #0b1020; border: 1px solid #1e293b; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.code-card .bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid #1e293b; background: #0d1426; }
.code-card .bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.code-card .bar .dot.r { background: #ff5f57; } .code-card .bar .dot.y { background: #febc2e; } .code-card .bar .dot.g { background: #28c840; }
.code-card .bar .title { margin-left: 8px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: #64748b; }
/* Hero preview hint — lives on the card's own title bar so the hero doesn't
   stack a third line of grey text under the call to action. */
.code-card .bar .hint { margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 11px; color: #64748b; white-space: nowrap; }
@media (max-width: 560px) { .code-card .bar .hint { display: none; } }
.code-card pre { margin: 0; padding: 20px 18px; font-family: "JetBrains Mono", monospace; font-size: 13px; line-height: 1.75; color: #cbd5e1; overflow-x: auto; }
.code-card .k { color: #c4b5fd; } .code-card .s { color: #6ee7b7; } .code-card .c { color: #64748b; } .code-card .ok { color: #34d399; } .code-card .p { color: #f0abfc; }

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.section-intro { margin-top: 16px; max-width: 620px; font-size: 17px; color: var(--text-mid); }
.center { text-align: center; } .center .section-intro { margin-left: auto; margin-right: auto; }

/* trust band */
.trust { padding: 40px 0; }
.trust-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.trust-logos span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-mid); font-size: 15px; padding: 9px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill); box-shadow: var(--shadow-xs); }

/* steps + cards grid */
.grid { display: grid; gap: 22px; margin-top: 44px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); transition: all .2s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border); }
.card .ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }
.card .num { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--text); color: #fff; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.card p { color: var(--text-mid); font-size: 15px; }
.card code { color: var(--accent-ink); background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; font-size: 13px; }

/* enterprise */
.ent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 20px; margin-top: 40px; }
.ent-item { display: flex; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.ent-item .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.ent-item .ico svg { width: 20px; height: 20px; }
.ent-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.ent-item p { font-size: 14.5px; color: var(--text-mid); }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.pricing.pricing-4 { grid-template-columns: repeat(4,1fr); gap: 18px; } .pricing-4 .plan { padding: 26px 22px; }
@media (max-width: 1100px) { .pricing.pricing-4 { grid-template-columns: repeat(2,1fr); } }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-xs); }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.plan.featured::after { content: "Most popular"; position: absolute; top: -11px; left: 24px; font-size: 12px; font-weight: 600; color: #fff; background: var(--grad-cta); padding: 3px 12px; border-radius: var(--radius-pill); }
.plan h3 { font-size: 17px; font-weight: 700; } .plan .price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 4px; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.plan ul { list-style: none; margin: 20px 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-mid); } .plan li svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* cta band */
.cta-band { background: var(--grad-cta); border-radius: 24px; padding: 56px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; } .cta-band p { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 17px; }
.cta-band .hero-cta { justify-content: center; margin-top: 28px; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.cta-band .btn-primary { background: #fff; color: var(--text); }

/* footer */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-brand .brand { margin-bottom: 14px; } .foot-brand p { color: var(--text-mid); font-size: 14.5px; max-width: 280px; }
.foot-col h5 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-mid); font-size: 14.5px; padding: 5px 0; transition: color .15s; } .foot-col a:hover { color: var(--accent-ink); }
.foot-base { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-dim); font-size: 13.5px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  #heroForm .btn-hero { flex: 1; justify-content: center; }
  .grid-3, .pricing, .pricing.pricing-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .cta-band { padding: 40px 24px; }
}

/* EN | ES switch (lang.js remembers the choice) */
.lang-switch { display: inline-flex; align-items: center; margin-left: 10px; border: 1px solid var(--border); border-radius: 999px; padding: 2px; font-size: 12.5px; font-weight: 600; flex: none; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; color: var(--text-mid); line-height: 1; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--text); color: #fff; }
.nav-inner > .nav-links { margin-left: auto; }
@media (max-width: 880px) { .nav-inner > .lang-switch { margin-left: auto; margin-right: 10px; } }
html[lang="es"] .plan.featured::after { content: "El más elegido"; }
