/* ───── Premium typography — Inter, the closest free analog to SF Pro ───── */
@import url("https://rsms.me/inter/inter.css");

/* Force the HTML `hidden` attribute to win over any author rule that
   sets a `display` value on the same element. Without this, a class
   rule like `.link-step { display: flex }` silently overrides the UA
   `[hidden] { display: none }` because they have equal specificity
   and author CSS wins. The link page relies on `hidden` for its
   step-machine, so we make this guarantee global. */
[hidden] {
  display: none !important;
}

:root {
  /* Warmer, paper-like neutrals — premium sites very rarely use pure white */
  --bg: #faf9f7;            /* bone */
  --surface: #ffffff;
  --surface-2: #f3f1ed;     /* warm card */
  --ink: #0a0a0c;
  --ink-2: #2a2a2f;
  --muted: #6e7480;
  --muted-strong: #4a5060;
  --muted-dark: #a8aebc;
  --border: #e9e6df;        /* warm border */
  --border-soft: rgba(10, 10, 12, 0.06);
  --border-dark: rgba(255, 255, 255, 0.07);

  /* Restrained accent system — orange used sparingly, deeper warm at the
     primary level for headlines and pricing emphasis */
  --accent: #ff5a1f;        /* slightly deeper, more confident orange */
  --accent-hover: #ff6e3a;
  --accent-soft: #fff0e8;
  --gold: #c2986a;          /* warm secondary for premium tags / accents */

  --success: #15803d;
  --danger: #b91c1c;
  --warn: #b45309;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Layered shadows — premium UIs always use 2+ shadows for depth, never one */
  --shadow-sm: 0 1px 2px rgba(10, 10, 12, 0.04), 0 1px 1px rgba(10, 10, 12, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(10, 10, 12, 0.06), 0 2px 4px -1px rgba(10, 10, 12, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 10, 12, 0.12), 0 8px 16px -4px rgba(10, 10, 12, 0.05);
  --shadow-xl: 0 40px 80px -20px rgba(10, 10, 12, 0.18), 0 16px 32px -8px rgba(10, 10, 12, 0.08);

  font-family:
    "Inter var", "Inter",
    -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui,
    "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03", "ss04", "cv02";
  font-optical-sizing: auto;
}

@supports (font-variation-settings: normal) {
  :root { font-family: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
}

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

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.error-text { color: var(--danger); font-size: 14px; margin: 8px 0 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: -1000px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; }

/* Header / nav -------------------------------------------------------------- */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.site-header-wrap.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(250, 249, 247, 0.88);
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.site-nav .nav-cta:hover { background: var(--accent); color: #1a0f08; }

/* Hero --------------------------------------------------------------------- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  text-align: center;
}
.hero p.eyebrow { margin: 0 0 14px; }
.hero h1 {
  font-size: clamp(30px, 5.5vw, 48px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero h1 .accent { color: var(--accent); }
.lead {
  font-size: 18px;
  margin: 0 auto 12px;
  max-width: 680px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-trust {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #1a0f08;
}
.btn-primary:hover { background: var(--accent-hover); color: #1a0f08; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 14px 22px; font-size: 16px; }

/* Generic section + container --------------------------------------------- */
.section {
  padding: 64px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.section-narrow { max-width: 760px; }
.section-tight { padding: 32px 24px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 8px 0 12px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* Feature grid ------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.feature-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.feature-card p { color: var(--muted); margin: 0; font-size: 14px; }
.feature-card .icon {
  width: 32px; height: 32px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 12px;
}

/* How it works (3-step) --------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 18px;
  width: 28px; height: 28px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.step h3 { margin: 6px 0 6px; font-size: 17px; }
.step p { color: var(--muted); margin: 0; font-size: 14px; }

/* Pricing ----------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.price-card.highlight {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.price-card.highlight .muted { color: #9aa6b3; }
.price-card.highlight .price-value { color: var(--accent); }
.price-card.highlight .pill {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--accent);
  color: #1a0f08;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.price-card h3 { margin: 0 0 4px; font-size: 16px; }
.price-card .price-value {
  font-size: 32px;
  font-weight: 800;
  margin: 12px 0 4px;
  letter-spacing: -0.02em;
}
.price-card .price-value small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  flex: 1 1 auto;
}
.price-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--success);
  font-weight: 700;
}
.price-card .btn { margin-top: auto; }

/* FAQ --------------------------------------------------------------------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq details[open] { border-color: var(--ink); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 22px;
  color: var(--muted);
  transition: transform 120ms ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { margin-top: 10px; color: var(--muted); }
.faq .faq-body p { margin: 0 0 8px; }

/* Comparison table -------------------------------------------------------- */
.compare {
  overflow-x: auto;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare th, .compare td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare th { background: var(--surface-2); font-weight: 600; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--success); font-weight: 700; }
.compare .no { color: var(--danger); }
.compare .meh { color: var(--warn); }

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
  margin: 56px 0 0;
}
.cta-band .cta-inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 12px; letter-spacing: -0.01em; }
.cta-band .muted { color: #9aa6b3; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: #fff; }

/* Long-form prose --------------------------------------------------------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.prose h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-top: 8px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.prose h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.prose h3 { font-size: 17px; margin-top: 24px; margin-bottom: 6px; }
.prose ul, .prose ol { padding-left: 22px; margin: 8px 0 16px; }
.prose li { margin-bottom: 6px; }
.prose code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.9em;
}
.prose .updated {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.prose .callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 6px;
  margin: 16px 0;
}

/* Niche page lead --------------------------------------------------------- */
.niche-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.niche-hero .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .niche-hero .grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.niche-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 6px 0 16px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.niche-hero .lead { margin-bottom: 16px; }
.niche-hero .visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.niche-hero .visual .ok { color: var(--success); }
.niche-hero .visual .ping { color: var(--accent); font-weight: 700; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  max-width: 1080px;
  margin: 64px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.footer-grid h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li { margin-bottom: 4px; }
.footer-grid li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.footer-grid li a:hover { color: var(--accent); text-decoration: underline; }
.footer-fineprint {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.footer-fineprint p { margin: 6px 0; }

/* ───────────────────────────────────────────────────────────────────────────
   Apple-launch aesthetic — large type, alternating bands, generous space
   ─────────────────────────────────────────────────────────────────────── */

/* Full-bleed bands (no max-width). Each band paints edge-to-edge. */
.band {
  width: 100%;
  padding: clamp(80px, 12vw, 160px) 24px;
}
.band-light {
  background: var(--bg);
  color: var(--ink);
  background-image:
    radial-gradient(900px 500px at 80% -10%, rgba(255, 90, 31, 0.05), transparent 60%);
}
.band-paper {
  background: var(--surface);
  color: var(--ink);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-dark {
  background: #07080b;
  color: #f5f5f7;
  background-image:
    radial-gradient(1400px 800px at 50% -20%, rgba(255, 90, 31, 0.18), transparent 65%),
    radial-gradient(900px 600px at 100% 120%, rgba(194, 152, 106, 0.08), transparent 60%),
    linear-gradient(180deg, #0b0c10 0%, #07080b 100%);
  position: relative;
  overflow: hidden;
}
.band-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px);
  pointer-events: none;
  opacity: 0.6;
}
.band-dark > * { position: relative; z-index: 1; }
.band-dark .muted { color: var(--muted-dark); }
.band-dark a { color: #f4f5f7; }
.band-dark a:hover { color: var(--accent); }

/* Centered narrow column inside a band */
.frame {
  max-width: 1100px;
  margin: 0 auto;
}
.frame-narrow { max-width: 820px; }
.frame-prose { max-width: 680px; }

/* Premium hero — two-column on desktop (headline + product mockup),
   stacked on mobile. The mockup is the single most important "premium" cue
   on the page: it shows there's an actual product, not just marketing text. */
.hero-x {
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero-x .frame {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}
@media (min-width: 960px) {
  .hero-x .frame {
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(48px, 5vw, 80px);
  }
}
.hero-x .hero-copy { text-align: left; }
@media (max-width: 959px) {
  .hero-x .hero-copy { text-align: center; }
  .hero-x .hero-cta { justify-content: center; }
}
.hero-x .eyebrow {
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-x h1 {
  font-size: clamp(40px, 6.5vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
  max-width: 12ch;
  color: var(--ink);
}
@media (max-width: 959px) {
  .hero-x h1 { margin: 0 auto; }
}
.hero-x h1 .accent {
  background: linear-gradient(180deg, var(--accent) 0%, #ff8a5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-x .lead-x {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted-strong);
  margin: 24px 0 0;
  max-width: 38ch;
  line-height: 1.5;
}
@media (max-width: 959px) {
  .hero-x .lead-x { margin-left: auto; margin-right: auto; }
}
.hero-x .hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-x .hero-trust {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ───── Product mockup: a CSS-only "extension popup" showing a slot found.
   This is the page's premium centerpiece — it tells visitors "this is real
   software" before they read a single word. ───── */
.product-mockup {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 30px 60px rgba(10, 10, 12, 0.18))
          drop-shadow(0 12px 24px rgba(10, 10, 12, 0.08));
}
.product-mockup-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.product-mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #fafafa 0%, #f3f1ed 100%);
  border-bottom: 1px solid var(--border);
}
.product-mockup-chrome .dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
.product-mockup-chrome .dot.r { background: #ff5f57; }
.product-mockup-chrome .dot.y { background: #febc2e; }
.product-mockup-chrome .dot.g { background: #28c840; }
.product-mockup-chrome .url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--muted);
  font-feature-settings: "tnum";
}
.product-mockup-body { padding: 22px 20px 20px; }
.product-mockup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.product-mockup-head .logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a2f 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.product-mockup-head .name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.product-mockup-head .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}
.product-mockup-head .live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.45);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(21, 128, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}
.product-mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border-soft);
}
.product-mockup-row:last-child { border-bottom: none; }
.product-mockup-row .k { color: var(--muted); }
.product-mockup-row .v { color: var(--ink-2); font-weight: 500; }
.product-mockup-row .v.tnum { font-feature-settings: "tnum"; }
.product-mockup-alert {
  margin-top: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff7f1 0%, #fff0e8 100%);
  border: 1px solid rgba(255, 90, 31, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.product-mockup-alert::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 50px at 0% 50%, rgba(255, 90, 31, 0.18), transparent 70%);
  pointer-events: none;
}
.product-mockup-alert .bell {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: shake-bell 1.6s ease-in-out infinite;
  transform-origin: 50% 10%;
}
@keyframes shake-bell {
  0%, 86%, 100% { transform: rotate(0); }
  88%  { transform: rotate(-12deg); }
  90%  { transform: rotate( 10deg); }
  92%  { transform: rotate( -7deg); }
  94%  { transform: rotate(  5deg); }
  96%  { transform: rotate( -2deg); }
}
.product-mockup-alert .alert-text { position: relative; z-index: 1; }
.product-mockup-alert .alert-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}
.product-mockup-alert .alert-sub {
  font-size: 12.5px;
  color: var(--muted-strong);
  margin: 2px 0 0;
}

/* Floating phone notification next to the popup — adds depth & shows the
   cross-device push story without saying a word. */
.product-mockup-phone {
  position: absolute;
  bottom: -36px;
  right: -28px;
  width: 220px;
  background: rgba(20, 22, 28, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 20px 40px -12px rgba(10, 10, 12, 0.4);
  transform: rotate(2deg);
}
@media (max-width: 480px) {
  .product-mockup-phone { display: none; }
}
.product-mockup-phone .pn-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.product-mockup-phone .pn-text { font-size: 11.5px; line-height: 1.35; color: #f4f5f7; }
.product-mockup-phone .pn-text strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 1px; }
.product-mockup-phone .pn-text span { color: rgba(244, 245, 247, 0.7); }
.product-mockup-phone .pn-time {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px;
  color: rgba(244, 245, 247, 0.5);
}

/* Big section headline (used at the top of each band) */
.headline {
  text-align: center;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 16px;
}
.headline-sub {
  text-align: center;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  margin: 0 auto 64px;
  max-width: 44ch;
  line-height: 1.5;
}
.band-dark .headline-sub { color: var(--muted-dark); }

/* Big-pill destinations — one row, minimal text */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f5f7;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.pill-link:hover {
  background: rgba(255, 107, 53, 0.12);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.pill-link .flag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.14);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Three giant numbered steps — Apple "How it works" */
.steps-x {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .steps-x { grid-template-columns: repeat(3, 1fr); }
}
.step-x .step-num {
  font-size: clamp(64px, 9vw, 110px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 18px;
  font-feature-settings: "tnum";
}
.step-x h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  font-weight: 600;
}
.step-x p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}
.band-dark .step-x p { color: var(--muted-dark); }

/* Trust commitments — three giant stats replacing the comparison table */
.commit-row {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 820px) {
  .commit-row { grid-template-columns: repeat(3, 1fr); }
}
.commit-stat {
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-feature-settings: "tnum";
}
.commit-label {
  margin-top: 16px;
  font-size: clamp(16px, 1.5vw, 20px);
  color: #f4f5f7;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.commit-note {
  margin-top: 6px;
  color: var(--muted-dark);
  font-size: 14px;
}

/* Small inline link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent) !important;
  border-bottom: 1px solid rgba(255, 107, 53, 0.4);
  padding-bottom: 2px;
  transition: border-color 160ms ease;
}
.arrow-link:hover { border-bottom-color: var(--accent); }
.arrow-link::after { content: "→"; transition: transform 160ms ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* Pricing — credit-bundle cards (Free / Standard / Plus) */
.price-grid-x {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .price-grid-x { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .price-grid-x { grid-template-columns: repeat(4, 1fr); }
}
/* Three-card variant — keep them centered on wide screens */
.price-grid-x.price-grid-3 { max-width: 920px; }
@media (min-width: 1040px) {
  .price-grid-x.price-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.price-card-x {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms ease, border-color 160ms ease;
}
.price-card-x:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 10, 12, 0.12);
}
.price-card-x.is-feature {
  border-color: transparent;
  background: linear-gradient(180deg, #0e0f13 0%, #07080b 100%);
  color: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 90, 31, 0.18);
}
.price-card-x.is-feature:hover {
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 90, 31, 0.32);
}
.price-card-x.is-feature .price-foot,
.price-card-x.is-feature .price-sub { color: var(--muted-dark); }
.price-card-x .pill {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #1a0f08;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card-x .tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.price-card-x.is-feature .tier { color: var(--accent); }
.price-card-x .price-amount {
  font-size: clamp(40px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-feature-settings: "tnum";
}
.price-card-x .price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-card-x.is-feature .price-unit { color: var(--muted-dark); }
.price-card-x .price-credits {
  margin: 10px 0 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.005em;
}
.price-card-x.is-feature .price-credits { color: #ffb38a; }
.price-card-x .price-sub {
  margin: 4px 0 24px;
  font-size: 14px;
  color: var(--muted);
}
.price-card-x ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1 1 auto;
  font-size: 14.5px;
  line-height: 1.55;
}
.price-card-x li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.price-card-x.is-feature li { border-top-color: rgba(255, 255, 255, 0.08); }
.price-card-x li:first-child { border-top: none; padding-top: 0; }
.price-card-x .btn { width: 100%; }
.price-card-x .price-foot {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.pricing-foot {
  margin: 40px auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-strong);
}

/* FAQ — slimmed-down look */
.faq-x {
  max-width: 760px;
  margin: 0 auto;
}
.faq-x details {
  border-bottom: 1px solid var(--border);
  padding: 22px 4px;
}
.faq-x details:first-child { border-top: 1px solid var(--border); }
.faq-x summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-x summary::-webkit-details-marker { display: none; }
.faq-x summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -4px;
  font-size: 26px;
  color: var(--muted);
  transition: transform 200ms ease;
  font-weight: 300;
}
.faq-x details[open] summary::after { transform: rotate(45deg); }
.faq-x .faq-body {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 65ch;
}

/* Refined pill buttons — subtle shadow + spring on hover */
.btn-pill {
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms cubic-bezier(.2,.7,.2,1), box-shadow 180ms ease, background 160ms ease;
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-pill:active { transform: translateY(0); }
.btn-pill.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-pill.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.28), 0 1px 2px rgba(255, 90, 31, 0.18);
}
.btn-pill.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.34), 0 2px 4px rgba(255, 90, 31, 0.18);
}
.btn-on-dark {
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
}
.btn-on-dark:hover { background: #f0f0f3; color: var(--ink); }
.btn-ghost-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.btn-ghost-on-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255, 255, 255, 0.06); box-shadow: none; }

/* Scroll-triggered fade for sections */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 720ms cubic-bezier(.2,.7,.2,1);
}
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Small caps "verify" tag */
.verify-tag {
  display: inline-block;
  margin-top: 56px;
}

/* Link page (cross-device push) ------------------------------------------ */
body.link-page {
  background: var(--ink);
  color: #f4f5f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.link-card {
  flex: 1 1 auto;
  background: #1a2027;
  margin: auto;
  max-width: 420px;
  width: calc(100% - 24px);
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
.link-header { text-align: center; margin-bottom: 24px; }
.link-header h1 { font-size: 22px; margin: 12px 0 4px; }
.link-header .muted { color: #8a96a3; font-size: 14px; }
.link-step { text-align: center; }
.link-step h2 { font-size: 18px; margin: 16px 0 8px; }
.link-step .muted { color: #8a96a3; }
.link-step p { margin: 0 0 12px; }
.success-mark {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
  font-size: 40px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.link-footer {
  text-align: center;
  padding: 16px;
  color: #6b7785;
}
.link-footer a { color: #8a96a3; }

/* iOS-help step lists — left-aligned numbered steps inside a centered card. */
.steplist {
  text-align: left;
  margin: 0 0 16px;
  padding-left: 22px;
  color: #c8d2dc;
  font-size: 14px;
  line-height: 1.55;
}
.steplist li { margin-bottom: 8px; }
.steplist li strong { color: #f1f5f9; }

/* ───────────────────────────────────────────────────────
   Link page — progress checklist
   ─────────────────────────────────────────────────────── */
/* Replaces a stuck-looking "Asking…" button with a live checklist that
   ticks off each phase of the subscribe flow. The user sees movement
   even though most of the work is async network. */

.progress-list {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #8a96a3;
  font-size: 14px;
  line-height: 1.3;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}
.progress-step .progress-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 250ms ease, background 250ms ease, color 250ms ease, transform 250ms ease;
}

/* Active step — accent ring + spinner. */
.progress-step.is-active {
  background: rgba(91, 141, 239, 0.10);
  border-color: rgba(91, 141, 239, 0.45);
  color: #f1f5f9;
}
.progress-step.is-active .progress-icon {
  border-color: rgba(91, 141, 239, 0.85);
  border-top-color: transparent;
  animation: progress-spin 0.85s linear infinite;
}
@keyframes progress-spin {
  to { transform: rotate(360deg); }
}

/* Completed step — green check. */
.progress-step.is-done {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.35);
  color: #d4f4dd;
}
.progress-step.is-done .progress-icon {
  background: #22c55e;
  border-color: #22c55e;
  color: #0a0a0a;
  animation: progress-pop 280ms ease-out;
}
.progress-step.is-done .progress-icon::before {
  content: "✓";
}
@keyframes progress-pop {
  0%   { transform: scale(0.6); }
  60%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* Failed step — red X. */
.progress-step.is-failed {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
}
.progress-step.is-failed .progress-icon {
  background: #ef4444;
  border-color: #ef4444;
  color: #0a0a0a;
}
.progress-step.is-failed .progress-icon::before {
  content: "×";
  font-size: 16px;
  line-height: 1;
}

.progress-hint {
  text-align: center;
  margin: 0 0 4px;
  font-size: 12px;
  color: #6b7785;
  min-height: 1.4em;
}
