/* ===========================================================================
   Mail AI — shared site styles
   Light is the default theme; dark is applied via <html data-theme="dark">.
   =========================================================================== */

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  /* Light palette (default) */
  --bg:        #ffffff;
  --bg-soft:   #fafbfc;
  --surface:   #f7f8f9;
  --surface2:  #eef0f2;
  --border:    #e5e7eb;
  --text:      #16181d;
  --muted:     #5b616e;
  --dim:       #9aa0aa;

  --accent:        #0891b2;   /* readable teal on light — links, buttons */
  --accent-hover:  #0e7490;
  --accent-bright: #22d3ee;   /* brand cyan — dot, glows */
  --on-accent:     #ffffff;   /* text on accent fills */
  --accent-tint:   rgba(8,145,178,0.10);

  --shadow-sm: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.06);
  --shadow-md: 0 10px 30px -12px rgba(16,24,40,0.18);
  --shadow-lg: 0 30px 70px -28px rgba(16,24,40,0.30);

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'Inter', system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 14px;
}

:root[data-theme="dark"] {
  --bg:        #0a0b0d;
  --bg-soft:   #0c0d10;
  --surface:   #141517;
  --surface2:  #1a1b1e;
  --border:    #26272b;
  --text:      #f4f4f5;
  --muted:     #9b9ba3;
  --dim:       #5c5d66;

  --accent:        #22d3ee;
  --accent-hover:  #67e8f9;
  --accent-bright: #22d3ee;
  --on-accent:     #0a0b0d;
  --accent-tint:   rgba(34,211,238,0.12);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 18px 50px -24px rgba(0,0,0,0.7);
  --shadow-lg: 0 36px 90px -30px rgba(0,0,0,0.8);
}

/* ── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  transition: background-color .3s ease, color .3s ease;
}
a { color: inherit; text-decoration: none; }
.accent { color: var(--accent); }
img { max-width: 100%; display: block; }

/* Very subtle backdrop: faint grid in light, a touch stronger in dark */
body::before {
  content: '';
  position: fixed;
  inset: -64px 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 var(--grid-shift, 0px);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 100%);
  will-change: background-position;
}
:root[data-theme="dark"] body::before { opacity: 0.35; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px var(--accent-bright);
}
.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.9rem; color: var(--muted); font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent); transition: width .28s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a.nav-cta {
  color: var(--on-accent); background: var(--accent);
  padding: 0.5rem 1.1rem; border-radius: 9px; font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--accent-hover); color: var(--on-accent); }

/* Theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); cursor: pointer; transition: all .2s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Mobile hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
}
.section-head p { color: var(--muted); margin-top: 0.9rem; font-size: 1.12rem; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 1.7rem; border-radius: 10px;
  transition: all 0.2s ease; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.btn-primary { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 10rem 0 3rem; text-align: center; position: relative; }
.hero::before {
  content: ''; position: absolute; top: 3rem; left: 50%; transform: translateX(-50%);
  width: 760px; height: 420px; max-width: 92vw;
  background: radial-gradient(ellipse at center, var(--accent-tint), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.hero p.sub { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 2.2rem; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* Trust strip under hero CTA */
.trust {
  margin-top: 1.8rem;
  display: flex; gap: 0.6rem 1.4rem; justify-content: center; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--dim); text-transform: uppercase;
}
.trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright); }

/* ── Screenshot frame + placeholder ──────────────────────────────────────── */
.shot {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.shot:hover { transform: translateY(-6px); }
.shot-bar {
  display: flex; gap: 7px; align-items: center; padding: 11px 14px;
  background: var(--surface2); border-bottom: 1px solid var(--border);
}
.shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
/* Fixed aspect box so swapping the light/dark image never changes the shot height
   (the two theme exports differ slightly in size). Set --shot-ar per shot. */
.shot-body { position: relative; background: var(--bg-soft); aspect-ratio: var(--shot-ar, 2.8); overflow: hidden; }
.shot-ph {
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--dim);
  text-align: center; padding: 1.5rem; line-height: 1.6;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.shot-ph .ph-tag {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.hero-shot { max-width: 1180px; margin: 4rem auto 0; }

/* Theme-paired screenshots: show the variant matching the active theme.
   Selectors are kept at equal specificity (.shot-body img.shot-*) so the show/hide
   rules win over the width rule and source order resolves the dark overrides. */
.shot-body img { width: 100%; height: 100%; object-fit: contain; }
.shot-body img.shot-light { display: block; }
.shot-body img.shot-dark  { display: none; }
:root[data-theme="dark"] .shot-body img.shot-light { display: none; }
:root[data-theme="dark"] .shot-body img.shot-dark  { display: block; }


/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.step:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem;
}
.step-icon svg { width: 23px; height: 23px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--dim); letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.step h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ── Showcase features (centered: text above, framed shot below) ─────────── */
.showcase { display: flex; flex-direction: column; gap: 6rem; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.4rem; }
.feature-text { max-width: 700px; }
.feature-text h3 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 0.9rem;
}
.feature-text p { color: var(--muted); font-size: 1.1rem; }
.feature .shot { width: 100%; }

/* ── Bento benefits grid ─────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.bento-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.bento-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.bento-icon svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.bento-card p { color: var(--muted); font-size: 0.98rem; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 820px; margin: 0 auto; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.pro { border-color: var(--accent); box-shadow: var(--shadow-md); }
.price-badge {
  position: absolute; top: -0.8rem; right: 1.6rem;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: var(--on-accent); padding: 0.35rem 0.8rem; border-radius: 100px;
}
.price-tier { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.price-amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.price-amount span { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.price-period { font-family: var(--font-mono); font-size: 0.74rem; color: var(--dim); margin-bottom: 1.8rem; }
.price-list { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.price-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--muted); font-size: 0.96rem; }
.price-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-card .btn-primary, .price-card .btn-secondary { width: 100%; justify-content: center; }

/* ── Testimonial ─────────────────────────────────────────────────────────── */
.testimonial { padding: 7rem 0; text-align: center; }
/* Clear client logo, centered above the attribution name. Unchanged across themes. */
.testimonial-logo { display: block; width: 180px; max-width: 55vw; height: auto; margin: 0 auto 1.1rem; }
.testimonial .quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; color: var(--text);
  max-width: 820px; margin: 0 auto 1.8rem;
}
.testimonial .who { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.7rem; box-shadow: var(--shadow-sm); }
.faq-q { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.faq-a { color: var(--muted); font-size: 0.96rem; }
.faq-a a { color: var(--accent); border-bottom: 1px solid var(--accent-tint); }

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.cta { text-align: center; }
.cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.cta p { color: var(--muted); margin-bottom: 2rem; font-size: 1.08rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--dim); flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--text); }

/* ── Download page ───────────────────────────────────────────────────────── */
.dl { padding: 10rem 0 4rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center; }
.dl h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.03; margin-bottom: 1.2rem; }
.dl-sub { color: var(--muted); font-size: 1.08rem; max-width: 460px; margin-bottom: 2.1rem; }
.dl-meta { font-family: var(--font-mono); color: var(--dim); font-size: 0.78rem; margin-top: 1.1rem; }
.dl-ver { font-family: var(--font-mono); color: var(--dim); font-size: 0.78rem; margin-top: 0.3rem; }
.req { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.req::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: 50%; right: -30%; transform: translateY(-50%);
  width: 440px; height: 440px; max-width: 140%;
  background: radial-gradient(circle at center, var(--accent-tint), transparent 70%);
}
.req-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.req ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.req li { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.96rem; }
.req li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.dl-page-section { padding: 2rem 0 6rem; }
.dl-page-section h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 2rem; text-align: center; }

/* ── Privacy (card-per-section) ──────────────────────────────────────────── */
/* Same width + horizontal inset as the cards below, so the hero left-aligns with them. */
.page-hero { padding: 10rem 2rem 3rem; max-width: 880px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.page-hero p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; max-width: 640px; }
.policy-list { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 5rem; max-width: 880px; }
.policy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.policy-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.policy h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.9rem; }
.policy-body { color: var(--muted); font-size: 0.96rem; }
.policy-body ul { list-style: none; margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.45rem; }
.policy-body ul li { position: relative; padding-left: 1.1rem; }
.policy-body ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.policy-body a { color: var(--accent); border-bottom: 1px solid var(--accent-tint); }
.policy-body code { font-family: var(--font-mono); color: var(--text); background: var(--surface2); border: 1px solid var(--border); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.85em; }
.policy-body strong, .policy strong { color: var(--text); }

/* ── Thanks page ─────────────────────────────────────────────────────────── */
body.thanks-page { display: flex; flex-direction: column; min-height: 100vh; }  /* pin footer to bottom */
.thanks { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8rem 1.5rem 4rem; position: relative; min-height: 70vh; }
.thanks::before { content: ''; position: absolute; top: 30%; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; max-width: 90vw; background: radial-gradient(ellipse at center, var(--accent-tint), transparent 70%); pointer-events: none; z-index: -1; }
.check { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 1.8rem; box-shadow: var(--shadow-sm); }
.check svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 2.5; }
.thanks h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 1.2rem; }
.thanks p { color: var(--muted); max-width: 480px; margin-bottom: 2rem; }
.hint { font-family: var(--font-mono); color: var(--dim); font-size: 0.8rem; margin-top: 2rem; }

/* ── Maintenance page ────────────────────────────────────────────────────── */
.maint { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; }
.maint .glow { position: fixed; top: 40%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 400px; max-width: 90vw; background: radial-gradient(ellipse at center, var(--accent-tint), transparent 70%); pointer-events: none; z-index: -1; }
.maint .logo { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-size: 1.15rem; margin-bottom: 2.5rem; }
.maint .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 14px var(--accent-bright); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.25); } }
.maint h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.2rem; }
.maint p { color: var(--muted); max-width: 520px; margin: 0 auto 0.6rem; font-size: 1.05rem; }
.maint a { color: var(--accent); border-bottom: 1px solid var(--accent-tint); }
.maint .foot { margin-top: 2.5rem; font-family: var(--font-mono); color: var(--dim); font-size: 0.74rem; }

/* ── Animations / reveal ─────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.hero .eyebrow  { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .05s forwards; }
.hero h1        { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .16s forwards; }
.hero .sub      { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .30s forwards; }
.hero .hero-cta { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .44s forwards; }
.hero .trust    { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .56s forwards; }
.hero-shot.reveal { transform: translateY(34px) scale(.99); }
.hero-shot.reveal.visible { transform: none; }
.feature .feature-text { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.feature .shot { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.feature.visible .feature-text { opacity: 1; transform: none; }
.feature.visible .shot { opacity: 1; transform: none; transition-delay: .12s; }
.steps .step:nth-child(2), .bento-card:nth-child(2) { transition-delay: .1s; }
.steps .step:nth-child(3), .bento-card:nth-child(3) { transition-delay: .2s; }
.bento-card:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .reveal, .hero .eyebrow, .hero h1, .hero .sub, .hero .hero-cta, .hero .trust,
  .feature .feature-text, .feature .shot { opacity: 1 !important; transform: none !important; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2rem; padding: 8rem 0 3rem; }
}
@media (max-width: 680px) {
  nav { padding: 0.9rem 1.25rem; }
  .nav-toggle { display: flex; z-index: 200; }
  .nav-right { gap: 0.8rem; }
  .nav-links {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.25rem; color: var(--text); }
  section { padding: 4rem 0; }
  .hero { padding: 8rem 0 2.5rem; }
  .wrap { padding: 0 1.25rem; }
  .page-hero { padding: 8rem 1.25rem 2rem; }
}
