/* ==========================================================================
   Ahem! — shared site styles
   Dark, cinematic, warm — the site mirrors the app's fullscreen overlay.
   Palette: warm near-black + Ahem logo blue #2563EB
   Type:    Bricolage Grotesque (display) · Instrument Sans (body)
            Spline Sans Mono (times & countdown digits)
   ========================================================================== */

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

:root {
  --bg:            #0F0E0C;
  --bg-raised:     #16140F;
  --surface:       #1C1913;
  --border:        #2A2620;
  --border-light:  #3A352C;
  --text:          #F2EFE7;
  --text-dim:      #ABA595;
  --text-faint:    #878171; /* ≥4.5:1 on both bg tones (WCAG AA) */
  --accent:        #2563EB;
  --accent-hover:  #1D53CC;
  --accent-bright: #85AAF6;
  --accent-dim:    rgba(37, 99, 235, 0.14);
  --green:         #4ADE80;
  --red:           #EF6A5E;

  --font-display:  'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body:     'Instrument Sans', 'Segoe UI', sans-serif;

  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --radius:        18px;
  --radius-sm:     10px;
  --container:     1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

*:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 2px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(15, 14, 12, 0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-nav.scrolled { border-bottom-color: var(--border); background: rgba(15, 14, 12, 0.92); }
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
}
.nav-logo img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.25rem; border-radius: 100px;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.25s var(--ease), transform 0.15s var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); box-shadow: 0 4px 24px rgba(37, 99, 235, 0.4); }
.nav-cta:active { transform: scale(0.98); }

/* Mobile nav toggle — hidden on desktop, shown under 960px */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: none; border: 1px solid var(--border-light); border-radius: 10px;
  color: var(--text); cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-toggle:hover { color: var(--accent-bright); border-color: var(--border-light); }
.nav-toggle svg { width: 20px; height: 20px; display: block; flex-shrink: 0; }

/* Language switcher */
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switcher { position: relative; }
.lang-switcher-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: 1px solid var(--border-light); border-radius: 100px;
  color: var(--text-dim); font-size: 0.88rem; font-weight: 500; font-family: inherit;
  padding: 0.4rem 0.85rem; cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-switcher-btn:hover { color: var(--text); border-color: var(--border-light); }
.lang-switcher-menu {
  position: absolute; top: calc(100% + 0.5rem); inset-inline-end: 0;
  min-width: 11rem; max-height: 22rem; overflow-y: auto;
  list-style: none; margin: 0; padding: 0.4rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  display: none; z-index: 50;
}
.lang-switcher.is-open .lang-switcher-menu { display: block; }
.lang-switcher-menu a {
  display: block; padding: 0.5rem 0.7rem; border-radius: 6px;
  color: var(--text-dim); text-decoration: none; font-size: 0.92rem;
}
.lang-switcher-menu a:hover { background: var(--bg-raised); color: var(--text); }
.lang-switcher-menu a[aria-current="true"] { color: var(--accent-bright); font-weight: 600; }
@media (max-width: 860px) {
  .lang-switcher-btn span { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: clamp(8rem, 16vh, 11rem) 0 0; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 60% at 70% 0%, rgba(37, 99, 235, 0.10), transparent 65%);
  pointer-events: none;
}

/* Giant live countdown — ghost digits, exactly like the app overlay */
.hero-clock {
  position: absolute; top: clamp(4rem, 10vh, 7rem); left: 50%; z-index: 0;
  transform: translateX(-50%);
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(9rem, 24vw, 22rem); line-height: 0.9; letter-spacing: -0.04em;
  color: rgba(242, 239, 231, 0.045);
  font-variant-numeric: tabular-nums;
  user-select: none; pointer-events: none; white-space: nowrap;
}

.hero-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; text-align: center; }
.hero-kicker {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  color: var(--accent-bright); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-kicker::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.9rem, 7vw, 5.2rem); line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 1.6rem; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero-desc {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text-dim);
  max-width: 42em; margin: 0 auto; line-height: 1.7; margin-bottom: 2.4rem; text-wrap: pretty;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-note { font-size: 0.95rem; color: var(--text-faint); text-wrap: pretty; }
.hero-note strong { color: var(--text-dim); font-weight: 600; }

.hero-store-lead {
  margin: 1.1rem 0 0.7rem; font-size: 0.85rem; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.hero-store-row { display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap; }
.hero-store-row .ms-store-badge-wrap.is-compact { justify-content: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2rem; border-radius: 100px; border: none; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: 1.08rem;
  box-shadow: 0 4px 28px rgba(37, 99, 235, 0.35);
  transition: background 0.2s ease, box-shadow 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 6px 36px rgba(37, 99, 235, 0.5); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.7rem; border-radius: 100px; cursor: pointer;
  background: transparent; color: var(--text); text-decoration: none;
  border: 1px solid var(--border-light);
  font-family: var(--font-body); font-weight: 600; font-size: 1.08rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover { border-color: var(--text-faint); background: rgba(255, 255, 255, 0.04); }

/* Hero screenshot in a window frame */
.hero-shot { position: relative; z-index: 1; margin-top: clamp(3rem, 7vh, 5rem); padding-bottom: clamp(4rem, 8vh, 6rem); }
.window-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-light);
  background: #000;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 90px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(37, 99, 235, 0.12);
}
.window-frame img, .window-frame video { width: 100%; height: auto; display: block; }
.hero-shot figcaption {
  text-align: center; margin-top: 1.1rem;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text-faint); letter-spacing: 0.06em;
}

/* ==========================================================================
   VALUE STRIP
   ========================================================================== */
.value-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-raised); }
.value-strip-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.5rem 2.75rem; padding: 1.3rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--container); margin: 0 auto;
}
.value-item {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.value-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ==========================================================================
   SECTIONS (shared)
   ========================================================================== */
.section { padding: clamp(5rem, 11vh, 8rem) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-label {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  color: var(--accent-bright); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}
.section-heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 1.1rem; max-width: 18em; text-wrap: balance;
}
.section-sub { font-size: 1.1rem; color: var(--text-dim); max-width: 36em; line-height: 1.7; text-wrap: pretty; }

/* Problem section */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.reverse { grid-template-columns: 5fr 7fr; }
.bullets { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 1.9rem; }
.bullet { display: flex; gap: 0.9rem; align-items: flex-start; }
.bullet-marker {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 0.2rem;
  color: var(--accent-bright);
}
.bullet-marker svg { width: 22px; height: 22px; }
.bullet p { color: var(--text-dim); line-height: 1.7; text-wrap: pretty; }
.bullet p strong { color: var(--text); font-weight: 600; }

.figure-glow { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55); background:#000; }
.figure-glow img { width: 100%; }

/* Full-bleed countdown banner */
.banner { border-top: 1px solid var(--border); background: #000; position: relative; max-width: var(--container); margin: 0 auto; }
.banner img { display: block; width: 100%; }
.banner-caption {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.1em;
  color: var(--text-faint); text-transform: uppercase; text-align: center;
}

/* Features — editorial numbered rows */
.feature-rows { margin-top: 3.25rem; border-top: 1px solid var(--border); }
.feature-row {
  display: grid; grid-template-columns: 5rem 1fr 1.4fr; gap: 2rem;
  padding: 2.4rem 0; border-bottom: 1px solid var(--border); align-items: baseline;
}
.feature-num {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-faint); font-weight: 500;
}
.feature-row h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance;
}
.feature-row p { color: var(--text-dim); line-height: 1.7; text-wrap: pretty; }
.features-more { margin-top: 1.9rem; color: var(--text-faint); font-size: 1rem; text-wrap: pretty; }
.features-more strong { color: var(--text-dim); font-weight: 600; }

/* Privacy strip and Make it yours — intro text isn't paired with a side
   column like the .split sections, so the shared .section-heading/.section-sub
   max-width leaves an awkward wrap; center both to match each other. */
#privacy-strip .section-label,
#privacy-strip .section-heading,
#privacy-strip .section-sub,
#customize .section-label,
#customize .section-heading,
#customize .section-sub { text-align: center; margin-left: auto; margin-right: auto; }
#privacy-strip .section-heading,
#customize .section-heading { max-width: 26em; }
#privacy-strip .section-sub,
#customize .section-sub { max-width: 42em; }

.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; align-items: stretch; }
.privacy-card {
  padding: 1.6rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-raised);
}
.privacy-card svg { width: 26px; height: 26px; stroke: var(--accent-bright); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.9rem; }
.privacy-card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.privacy-card p { font-size: 0.92rem; color: var(--text-faint); line-height: 1.55; text-wrap: pretty; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.price-card {
  background: var(--bg-raised); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2.5rem 2.4rem;
  position: relative; overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.price-line { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.4rem; }
.price-amount {
  font-family: var(--font-body); font-weight: 600; font-size: 3.4rem;
  letter-spacing: -0.05em; color: var(--text); line-height: 1;
}
.price-label { color: var(--text-faint); font-size: 1rem; }
.price-tagline { color: var(--text-dim); margin-bottom: 1.9rem; text-wrap: pretty; }
.price-perks { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.1rem; }
.price-perks li { display: flex; align-items: flex-start; gap: 0.65rem; color: var(--text-dim); font-size: 1rem; }
.price-perks svg { width: 18px; height: 18px; stroke: var(--green); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 0.25rem; }
.price-card .btn-primary { width: 100%; justify-content: center; }
.price-foot { margin-top: 1rem; text-align: center; font-size: 0.95rem; color: var(--text-faint); }
.price-team-note { margin-top: 0.9rem; text-align: center; font-size: 0.875rem; color: var(--text-faint); text-wrap: pretty; }
.price-or { margin: 0.9rem 0 0; text-align: center; font-size: 0.85rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.store-badges-row { display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap; margin-top: 0.7rem; }
.ms-store-badge-wrap { display: flex; justify-content: center; }

/* Mac App Store badge — mirrors the official badge silhouette (black pill, white mark).
   Sized to match the real <ms-store-badge size="large"> footprint (~380x104px) so
   the two read as an equal-weight, equally "live" pair; swap for Apple's official
   badge asset when the real Mac App Store URL is wired in. */
.appstore-badge-live {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.7rem; border-radius: var(--radius-sm);
  border: 1px solid #000; background: #000;
  color: #fff; text-decoration: none; text-wrap: pretty;
  width: 100%; box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.appstore-badge-live:hover { background: #1a1a1a; border-color: #1a1a1a; }
.appstore-badge-live svg { width: 34px; height: 34px; flex-shrink: 0; fill: #fff; }
.appstore-badge-live-text { display: flex; flex-direction: column; gap: 0.15rem; text-align: left; }
.appstore-badge-live-text small { font-size: 0.8rem; color: #fff; opacity: 0.85; }
.appstore-badge-live-text strong { font-size: 1.28rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }

/* Compact variant — used in the hero, scaled close to .btn-primary's footprint */
.appstore-badge-live.is-compact {
  gap: 0.55rem; padding: 0.7rem 1.1rem; width: auto;
  font-size: 0.875rem; font-weight: 500;
}
.appstore-badge-live.is-compact svg { width: 18px; height: 18px; }

/* Specs / audience lists */
.fact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.fact-col h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 1.2rem;
}
.fact-list { list-style: none; display: flex; flex-direction: column; }
.fact-list li {
  padding: 0.8rem 0; border-bottom: 1px solid var(--border);
  color: var(--text-dim); font-size: 1rem; display: flex; gap: 0.7rem; align-items: baseline; text-wrap: pretty;
}
.fact-list li::before { content: '·'; color: var(--accent-bright); font-weight: 800; }

/* ==========================================================================
   FAQ — native accordions
   ========================================================================== */
.faq-list { max-width: 760px; margin-top: 2.75rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0.25rem; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-bright); }
.faq-item summary::after {
  content: '+'; font-family: var(--font-body); font-size: 1.35rem; color: var(--text-faint);
  transition: transform 0.25s var(--ease); flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent-bright); }
.faq-item .faq-a { padding: 0 0.25rem 1.5rem; color: var(--text-dim); line-height: 1.7; max-width: 60ch; text-wrap: pretty; }
.faq-item summary { text-wrap: balance; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-raised); padding: 2.75rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.footer-brand img { width: 24px; height: 24px; }
.footer-tag { color: var(--text-faint); font-size: 0.92rem; }
.footer-links { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; font-size: 0.92rem; color: var(--text-faint); }
.footer-links a { color: var(--text-dim); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-sep { opacity: 0.45; }

/* ==========================================================================
   LEGAL DOC PAGES (privacy / terms)
   ========================================================================== */
.doc-page { padding-top: 68px; }
.doc-header { padding: clamp(3.5rem, 8vh, 5.5rem) 0 2.5rem; border-bottom: 1px solid var(--border); }
.doc-header h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.03em; margin-bottom: 0.5rem; text-wrap: balance;
}
.doc-meta { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-faint); letter-spacing: 0.05em; }
.doc-body { max-width: 720px; padding: 3rem 0 6rem; }
.doc-callout {
  background: var(--accent-dim); border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin-bottom: 2.75rem;
  color: var(--text); line-height: 1.7; font-size: 1.02rem;
}
.doc-callout strong { color: var(--accent-bright); }
.doc-callout { text-wrap: pretty; }
.doc-section { margin-bottom: 2.75rem; }
.doc-section h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 0.8rem; text-wrap: balance;
}
.doc-section p { color: var(--text-dim); line-height: 1.75; margin-bottom: 0.75rem; font-size: 1.02rem; text-wrap: pretty; }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.5rem; }
.doc-section ul li { position: relative; padding-left: 1.15em; color: var(--text-dim); line-height: 1.7; font-size: 1.02rem; text-wrap: pretty; }
.doc-section ul li::before { content: '·'; position: absolute; left: 0.25em; color: var(--accent-bright); font-weight: 800; }
.doc-section li strong, .doc-section p strong { color: var(--text); }
.doc-section a { color: var(--accent-bright); text-decoration: none; }
.doc-section a:hover { text-decoration: underline; }

/* ==========================================================================
   ROADMAP PAGE
   ========================================================================== */
.roadmap-hero { padding: clamp(3.5rem, 8vh, 5.5rem) 0 1rem; }
.roadmap-hero-header { border-bottom: none; padding-bottom: 0; }
.roadmap-hero .doc-meta { margin-top: 0.9rem; max-width: 52em; color: var(--text-dim); font-size: 1.05rem; line-height: 1.7; letter-spacing: normal; text-transform: none; text-wrap: pretty; }

/* Pipeline — curated list */
.pipeline-section { padding: clamp(2.5rem, 5vh, 3.5rem) 0 clamp(3rem, 6vh, 4.5rem); border-bottom: 1px solid var(--border); }
.pipeline-list { margin-top: 1.75rem; display: flex; flex-direction: column; }
.pipeline-item {
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border);
}
.pipeline-dot {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 2px solid var(--border-light); color: var(--text-faint);
}
.pipeline-dot svg { width: 17px; height: 17px; }
.pipeline-item.is-idea .pipeline-dot { border-style: dashed; }
.pipeline-item.is-planned .pipeline-dot { border-color: var(--accent-bright); color: var(--accent-bright); background: var(--accent-dim); }
.pipeline-item.is-progress .pipeline-dot { border-color: var(--accent); color: #fff; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.pipeline-item.is-shipped .pipeline-dot { border-color: var(--green); color: var(--green); background: rgba(74, 222, 128, 0.12); }
.pipeline-item-body { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.9rem; row-gap: 0.15rem; }
.pipeline-stage {
  flex-basis: 100%; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); order: -1;
}
.pipeline-item.is-planned .pipeline-stage { color: var(--accent-bright); }
.pipeline-item.is-progress .pipeline-stage { color: var(--accent-bright); }
.pipeline-item.is-shipped .pipeline-stage { color: var(--green); }
.pipeline-item-body h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.pipeline-item-body p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; text-wrap: pretty; }

.pipeline-backlog-heading {
  margin-top: 2.75rem; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.05em; color: var(--text-faint);
}
.pipeline-backlog-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; margin-top: 1rem; }
.pipeline-backlog-list li {
  font-size: 0.9rem; color: var(--text-dim); padding: 0.45rem 0.9rem;
  border: 1px solid var(--border); border-radius: 100px; background: var(--bg-raised);
}

/* Changelog body */
.roadmap-body { padding: clamp(3rem, 6vh, 4.5rem) 0 clamp(4rem, 8vh, 6rem); }
.roadmap-col-heading {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

.changelog-col { max-width: 720px; }
.changelog-panel { border-top: 1px solid var(--border); }
.changelog-entry { padding: 2.2rem 0; border-bottom: 1px solid var(--border); }
.changelog-head { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.changelog-version { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; }
.changelog-date { color: var(--text-faint); font-size: 0.9rem; letter-spacing: 0.03em; }
.changelog-notes { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.changelog-notes li { display: flex; align-items: baseline; gap: 0.65rem; color: var(--text-dim); line-height: 1.6; font-size: 0.98rem; text-wrap: pretty; }
.note-tag {
  flex-shrink: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.15rem 0.5rem; border-radius: 100px; line-height: 1.5;
}
.note-tag-new { color: var(--green); background: rgba(74, 222, 128, 0.12); }
.note-tag-change { color: var(--accent-bright); background: var(--accent-dim); }
.note-tag-fix { color: var(--text-dim); background: rgba(148, 163, 184, 0.14); }

.changelog-devnote {
  margin-top: 1.3rem; padding: 1rem 1.25rem;
  background: var(--surface); border-left: 2px solid var(--accent); border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; text-wrap: pretty;
}

/* Feedback CTA */
.feedback-cta {
  margin-top: 1rem; padding: clamp(1.9rem, 4vw, 2.75rem);
  border: 1px solid var(--border-light); border-radius: var(--radius); background: var(--bg-raised);
  display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; flex-wrap: wrap;
}
.feedback-cta-text h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.feedback-cta-text p { color: var(--text-dim); font-size: 0.98rem; max-width: 40em; text-wrap: pretty; }

/* ==========================================================================
   MOTION
   ========================================================================== */
/* Hidden initial state only when JS is running (html.js) — content is never
   lost if scripts fail to load. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .nav-inner { justify-content: flex-start; gap: 0.6rem; }
  .nav-logo { order: 1; }
  .nav-right { order: 2; margin-inline-start: auto; gap: 0.6rem; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 68px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 1rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
  .nav-links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child > a { border-bottom: none; }
  .nav-links .nav-lang-item { margin-top: 0.4rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }
  .nav-lang-item .lang-switcher-menu { top: auto; bottom: calc(100% + 0.5rem); max-height: 12rem; }
  .site-nav.nav-open .nav-links { display: flex; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .pricing-wrap { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 3rem 1fr; }
  .feature-row p { grid-column: 2; }
  .hero-clock { font-size: clamp(7rem, 26vw, 13rem); opacity: 0.8; }
}
@media (max-width: 600px) {
  .privacy-grid, .fact-cols { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .feature-row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.9rem 0; }
  .feature-row p { grid-column: 1; }
  .feedback-cta { flex-direction: column; align-items: flex-start; }
  .feedback-cta .btn-primary { width: 100%; justify-content: center; }
}

/* ==========================================================================
   SUCCESS OVERLAY
   ========================================================================== */
.success-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 14, 12, 0.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: successFade 0.3s var(--ease);
}
.success-overlay[hidden] { display: none; }
@keyframes successFade { from { opacity: 0; } to { opacity: 1; } }

.success-card {
  position: relative;
  width: 100%; max-width: 26rem;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2.6rem 2.2rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: successPop 0.35s var(--ease);
}
@keyframes successPop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }

.success-icon { width: 44px; height: 44px; color: var(--green); margin: 0 auto 1.1rem; }

.success-card h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.6rem; text-wrap: balance;
}
.success-card p { color: var(--text-dim); font-size: 1rem; }

.success-close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: 50%; color: var(--text-faint);
  cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.success-close:hover { background: var(--bg-raised); color: var(--text); }
.success-close svg { width: 18px; height: 18px; }
