/*
  MistBar — marketing site visual system (self-contained; no JS, no web fonts, no build step).
  Deploys to Cloudflare Pages. Light + dark via prefers-color-scheme. One systemRed accent, used
  surgically. "Mist" is atmospheric texture only — never a headline color.
  Design: "Two-Lane Premium" (see website/README.md). All four pages inherit this file verbatim.
*/

/* ============================== Tokens ============================== */
:root{
  /* Base surfaces — FIXED grey monochrome, matches the standalone grey index.html */
  --bg:#3d3d3d; --bg-elev:#333333; --surface:#151515; --surface-2:#2f2f2f;
  --surface-frost:rgba(40,40,40,0.62);
  --exbar:#151515; --exbar-line:rgba(255,255,255,0.16);

  /* Text */
  --text:#ffffff; --text-2:#e6e6e6; --text-3:#c4c4c4;

  /* Lines */
  --hairline:rgba(255,255,255,0.10); --hairline-strong:rgba(255,255,255,0.18);

  /* No brand color — white carries emphasis, black carries CTAs/cards */
  --accent:#ffffff; --accent-ink:#ffffff; --accent-wash:rgba(255,255,255,0.12); --ring:rgba(255,255,255,0.45);

  /* Mist = texture, never a headline color. Very low alpha. */
  --mist-1:rgba(255,255,255,0.05);
  --mist-2:rgba(0,0,0,0.10);

  /* Two-part depth shadow: tight contact + soft ambient (tuned for the dark grey) */
  --shadow:0 1px 2px rgba(0,0,0,0.35), 0 12px 32px -12px rgba(0,0,0,0.5);
  --shadow-lg:0 1px 2px rgba(0,0,0,0.4), 0 28px 60px -22px rgba(0,0,0,0.6);

  /* Lit-glass inner-top highlight (applied as a ::before overlay) */
  --glass-lip:linear-gradient(180deg, rgba(255,255,255,0.08), transparent 42%);

  --radius:18px; --radius-sm:12px; --radius-lg:26px;
  --maxw:1120px; --gutter:clamp(1.2rem, 5vw, 3.5rem);
}

/* The site is a FIXED grey monochrome and does NOT switch on prefers-color-scheme
   (matches index.html). The former dark-mode red/black override is intentionally removed. */

/* ============================== Reset / base ============================== */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  font-family:-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  background:var(--bg); color:var(--text); line-height:1.6;
  font-size:16px; overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
::selection{ background:var(--accent-wash); }

.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.eyebrow{
  font-size:.8rem; font-weight:600; letter-spacing:.01em;
  color:var(--text-3);
}
.tnum{ font-variant-numeric:tabular-nums; }

/* ============================== Buttons ============================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-size:.95rem; font-weight:600; letter-spacing:-.01em; line-height:1;
  padding:.85em 1.4em; border-radius:999px; border:1px solid transparent;
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn--primary{ background:#ffffff; color:#15161a; box-shadow:0 8px 24px -10px rgba(0,0,0,0.6); }
.btn--primary:hover{ transform:translateY(-2px); box-shadow:0 14px 32px -10px rgba(0,0,0,0.72); }
.btn--ghost{ background:transparent; color:var(--text); border-color:var(--hairline-strong); }
.btn--ghost:hover{ transform:translateY(-2px); border-color:var(--text-3); }
.btn--big{ font-size:1.05rem; padding:1em 1.7em; }
.btn--block{ width:100%; }

/* ============================== Nav ============================== */
.nav{
  position:sticky; top:0; z-index:20;
  background:var(--surface-frost); border-bottom:1px solid var(--hairline);
  -webkit-backdrop-filter:saturate(180%) blur(20px); backdrop-filter:saturate(180%) blur(20px);
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .nav{ background:var(--bg-elev); }
}
.nav .wrap{ display:flex; align-items:center; gap:1.5rem; height:60px; }
.brand{ display:flex; align-items:center; gap:.55rem; font-weight:700; letter-spacing:-.01em; font-size:1.05rem; }
.brand img{ width:26px; height:26px; border-radius:7px; }
.nav__links{ display:flex; align-items:center; gap:1.4rem; margin-left:auto; }
.nav__links a{ color:var(--text-2); font-size:.9rem; font-weight:500; transition:color .15s ease; }
.nav__links a:hover{ color:var(--text); }
.nav__cta{ display:flex; align-items:center; gap:.75rem; }
.nav__dl{ color:var(--text-2); font-size:.9rem; font-weight:500; }
.nav__dl:hover{ color:var(--text); }

/* ============================== Section scaffolding ============================== */
section{ padding-block:clamp(3.5rem, 8vw, 6.5rem); }
.section-head{ text-align:center; max-width:640px; margin-inline:auto; margin-bottom:clamp(2rem,5vw,3.5rem); }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.7rem); font-weight:700; letter-spacing:-.02em; line-height:1.08; }
.section-head p{ margin-top:.85rem; color:var(--text-2); font-size:clamp(1.02rem,1.4vw,1.18rem); }

/* ============================== Hero ============================== */
.hero{ position:relative; text-align:center; padding-block:clamp(5rem,12vh,8rem) clamp(3rem,7vw,5rem); overflow:hidden; }
.hero__mist{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(60% 50% at 82% 8%, var(--mist-1), transparent 70%),
    radial-gradient(55% 45% at 8% 92%, var(--mist-2), transparent 72%);
}
.hero .wrap{ position:relative; z-index:1; max-width:960px; }
.hero__brand{ display:inline-flex; flex-direction:column; align-items:center; gap:.95rem; margin-bottom:1.5rem; }
.hero__icon{
  width:clamp(88px,11vw,120px); height:auto; border-radius:23%;
  box-shadow:0 0 0 1px rgba(0,0,0,0.05), 0 22px 48px -16px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.18);
}
.hero__wordmark{ font-size:clamp(1.75rem,3vw,2.25rem); font-weight:700; letter-spacing:-.022em; line-height:1; }
@media (prefers-color-scheme: dark){
  .hero__icon{ box-shadow:0 0 0 1px rgba(255,255,255,0.16), 0 24px 54px -16px rgba(0,0,0,0.9); }
}
.hero__eyebrow{ margin-bottom:1.2rem; }
.hero h1{ font-size:clamp(2.6rem,6vw,4.6rem); font-weight:700; letter-spacing:-.028em; line-height:1.04; }
.u{
  white-space:nowrap;
  text-decoration-line:underline; text-decoration-color:var(--accent);
  text-decoration-thickness:.085em; text-underline-offset:.12em; text-decoration-skip-ink:auto;
}
.hero__lede{ max-width:60ch; margin:1.5rem auto 0; font-size:clamp(1.075rem,1.6vw,1.3rem); color:var(--text-2); line-height:1.5; }
.hero__lede b{ color:var(--text); font-weight:600; }
.hero__cta{ display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; margin-top:2.1rem; }
.hero__ribbon{ margin-top:1.4rem; color:var(--text-3); font-size:.85rem; font-weight:500; }

/* ---- Shared frosted menu-bar-strip mock (used by hero + both lanes) ---- */
.strip{
  position:relative; display:flex; align-items:center; gap:.55rem;
  padding:.5rem .7rem; border-radius:12px;
  background:var(--surface-frost); border:1px solid var(--hairline);
  -webkit-backdrop-filter:saturate(160%) blur(14px); backdrop-filter:saturate(160%) blur(14px);
  box-shadow:var(--shadow); overflow:hidden;
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .strip{ background:var(--surface); }
}
.strip::before{ content:""; position:absolute; inset:0 0 auto 0; height:50%; background:var(--glass-lip); pointer-events:none; }
.strip__spacer{ flex:1 1 auto; }
.strip__item{
  width:22px; height:22px; border-radius:6px; flex:0 0 auto;
  background:var(--text); opacity:.14;
}
.strip__item--sym{ opacity:.55; display:grid; place-items:center; background:transparent; color:var(--text-2); }
.strip__item--sym svg{ width:16px; height:16px; }
.strip__sep{ width:1px; align-self:stretch; margin-inline:.15rem; background:var(--hairline-strong); }
.hero__mock{
  max-width:560px; margin:clamp(2.2rem,5vw,3.4rem) auto 0; padding:1rem;
  border-radius:var(--radius); background:var(--surface); border:1px solid var(--hairline);
  box-shadow:var(--shadow-lg); position:relative;
}
.hero__mock::before{ content:""; position:absolute; inset:0 0 auto 0; height:38%; border-radius:var(--radius) var(--radius) 0 0; background:var(--glass-lip); pointer-events:none; }

/* ---- Pure-CSS usage gauge ring (matches the app's red gauge) ---- */
.gauge{
  --pct:72; width:26px; height:26px; border-radius:50%; flex:0 0 auto; position:relative;
  background:conic-gradient(var(--accent) calc(var(--pct)*1%), var(--hairline-strong) 0);
}
.gauge::after{ content:""; position:absolute; inset:4px; border-radius:50%; background:var(--surface); }
.gauge--sm{ width:20px; height:20px; }
.gauge--sm::after{ inset:3px; }
.strip__usage{ display:flex; align-items:center; gap:.4rem; font-size:.78rem; font-weight:600; color:var(--text-2); }

/* ============================== Declutter spotlight (moat lead) ============================== */
.spot{
  display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(1.6rem,4vw,3.2rem); align-items:center;
}
.spot__mock{ display:grid; place-items:center; }
/* "What the hub hides" — realistic example menu-bar icon clusters (declutter spotlight) */
.hubex{ display:grid; gap:.6rem; width:100%; max-width:340px; }
.hubex__cap{ font-size:.82rem; color:var(--text-3); margin-bottom:.35rem; }
.hubex__row{
  display:flex; align-items:center; gap:.5rem;
  padding:.44rem .64rem; border-radius:11px;
  background:var(--exbar); border:1px solid var(--exbar-line); box-shadow:var(--shadow);
}
.hubex__spacer{ flex:1 1 auto; }
.hubex__chev{ display:grid; place-items:center; flex:0 0 auto; color:var(--text-3); }
.hubex__chev svg{ width:15px; height:15px; }
.hubex__icon{ display:grid; place-items:center; flex:0 0 auto; color:var(--text); }
.hubex__icon svg{ width:19px; height:19px; }
.hubex__hub{
  display:grid; place-items:center; flex:0 0 auto; width:24px; height:24px; border-radius:7px;
  background:var(--accent-wash); border:1px solid var(--ring); color:var(--accent-ink);
}
.hubex__hub svg{ width:15px; height:15px; }
.hubex__pill{
  display:flex; align-items:center; gap:.34rem; flex:0 0 auto;
  font-size:.75rem; font-weight:650; color:var(--accent-ink);
  background:var(--accent-wash); border:1px solid var(--ring);
  padding:.12rem .5rem .12rem .26rem; border-radius:999px;
}
.hubex__pill .gauge--sm{ width:17px; height:17px; }
.hubex__pill .gauge::after{ background:var(--exbar); }
.spot__body h3{ font-size:clamp(1.4rem,2.4vw,1.8rem); font-weight:650; letter-spacing:-.015em; margin-top:.15rem; }

/* ============================== AI Bar keynote beat (accent standout) ============================== */
.eyebrow--accent{ color:var(--accent-ink); font-weight:700; letter-spacing:.02em; margin-bottom:.9rem; }
.solo{ max-width:560px; margin-inline:auto; }
.lane--star{ border-top:2px solid var(--accent); }

/* ============================== Two-lane card (reused by spotlight + keynote) ============================== */
.lane{
  position:relative; padding:clamp(1.4rem,3vw,2.1rem); border-radius:var(--radius);
  background:var(--surface-frost); border:1px solid var(--hairline);
  -webkit-backdrop-filter:saturate(160%) blur(16px); backdrop-filter:saturate(160%) blur(16px);
  box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border-top:1px solid var(--hairline);
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .lane{ background:var(--surface); }
}
.lane::before{ content:""; position:absolute; inset:0 0 auto 0; height:34%; border-radius:var(--radius) var(--radius) 0 0; background:var(--glass-lip); pointer-events:none; }
.lane:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); border-top-color:var(--accent); }
.lane__kicker{ margin-bottom:.5rem; }
.lane h3{ font-size:1.35rem; font-weight:650; letter-spacing:-.01em; }
.lane__deck{ margin-top:.4rem; color:var(--text-2); }
.lane__mock{ margin:1.3rem 0; }
.lane__list{ list-style:none; display:grid; gap:.5rem; margin-top:.4rem; }
.lane__list li{ position:relative; padding-left:1.5rem; color:var(--text-2); font-size:.95rem; }
.lane__list li::before{ content:""; position:absolute; left:0; top:.5em; width:6px; height:6px; border-radius:50%; background:var(--text-3); }
.lane__moat{ margin-top:1.1rem; font-weight:600; color:var(--text); font-size:.95rem; }

/* struck-through "no recording dot" proof device */
.nodot{ display:inline-flex; align-items:center; gap:.5rem; margin-top:1rem; font-size:.85rem; font-weight:600; color:var(--text-2); }
.nodot__dot{ position:relative; width:13px; height:13px; border-radius:50%; background:var(--accent); flex:0 0 auto; }
.nodot__dot::after{ content:""; position:absolute; left:-3px; right:-3px; top:50%; height:2px; background:var(--accent-ink); transform:rotate(-45deg); transform-origin:center; }

/* ============================== Feature grid (bento) ============================== */
.features{ background:var(--surface-2); padding-block:clamp(2.75rem,5vw,4.25rem); }
.features .section-head{ margin-bottom:clamp(1.5rem,3vw,2.25rem); }
.bento{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--hairline); border:1px solid var(--hairline); border-radius:var(--radius); overflow:hidden; }
.tile{ position:relative; background:var(--surface); padding:clamp(1.1rem,2vw,1.45rem); transition:background .18s ease; }
.tile::before{ content:""; position:absolute; inset:0 0 auto 0; height:2px; background:var(--hairline); transition:background .2s ease; }
.tile:hover::before{ background:var(--accent); }
.tile__glyph{ width:30px; height:30px; color:var(--text-2); margin-bottom:.65rem; }
.tile__glyph svg{ width:100%; height:100%; stroke:currentColor; stroke-width:1.6; fill:none; }
.tile h3{ font-size:1.0625rem; font-weight:600; letter-spacing:-.005em; display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; }
.tile p{ margin-top:.4rem; color:var(--text-2); font-size:.95rem; }
.ribbon{ font-size:.68rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--text-3); border:1px solid var(--hairline-strong); border-radius:999px; padding:.15em .6em; }
kbd{ font-family:inherit; font-size:.82em; font-weight:600; background:var(--surface-2); border:1px solid var(--hairline-strong); border-bottom-width:2px; border-radius:5px; padding:.05em .38em; color:var(--text-2); }

/* ============================== Trust wall (tuxedo inversion) ============================== */
.trust{ position:relative; background:#0C0C0E; color:#F5F5F7; overflow:hidden; }
.trust::before{ content:""; position:absolute; inset:0; background:radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,0.06), transparent 70%); pointer-events:none; }
.trust .wrap{ position:relative; }
.trust__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.tbadge{
  position:relative; padding:1.3rem 1.1rem; border-radius:var(--radius-sm);
  border:1px solid rgba(255,255,255,0.14); background:rgba(255,255,255,0.03);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
}
.tbadge__mark{ width:22px; height:22px; margin-bottom:.7rem; color:#8A8A93; }
.tbadge__mark svg{ width:100%; height:100%; stroke:currentColor; stroke-width:2; fill:none; }
.tbadge--moat{ border-color:rgba(255,69,58,0.5); }
.tbadge--moat .tbadge__mark{ color:var(--accent); }
.tbadge strong{ display:block; font-size:1.02rem; font-weight:650; letter-spacing:-.01em; }
.tbadge span{ display:block; margin-top:.3rem; color:#A1A1A8; font-size:.86rem; }

/* ============================== Pricing ============================== */
.pricing{ text-align:center; }
.price-card{
  position:relative; max-width:460px; margin-inline:auto; padding:clamp(1.8rem,4vw,2.6rem);
  background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg), 0 0 0 6px var(--accent-wash); text-align:left;
}
.price-card__tag{ display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-ink); border:1px solid var(--accent-wash); background:var(--accent-wash); border-radius:999px; padding:.3em .8em; margin-bottom:1rem; }
.price-card__amount{ display:flex; align-items:baseline; gap:.6rem; }
.price-card__now{ font-size:clamp(2.6rem,6vw,3.4rem); font-weight:700; letter-spacing:-.03em; color:var(--accent); line-height:1; }
.price-card__was{ font-size:1.3rem; font-weight:500; color:var(--text-3); text-decoration:line-through; }
.price-card__per{ margin-top:.5rem; color:var(--text-3); font-size:.9rem; }
.price-card ul{ list-style:none; margin:1.4rem 0; display:grid; gap:.7rem; }
.price-card li{ position:relative; padding-left:1.7rem; color:var(--text-2); }
.price-card li::before{ content:""; position:absolute; left:0; top:.35em; width:12px; height:9px; border-left:2px solid var(--text-3); border-bottom:2px solid var(--text-3); transform:rotate(-45deg); }

/* ============================== FAQ ============================== */
.faq{ max-width:760px; margin-inline:auto; }
.faq details{ border-bottom:1px solid var(--hairline); }
.faq summary{ position:relative; list-style:none; cursor:pointer; padding:1.2rem 2.5rem 1.2rem 0; font-weight:600; font-size:1.05rem; letter-spacing:-.01em; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:""; position:absolute; right:.4rem; top:50%; width:14px; height:14px; margin-top:-7px;
  background:
    linear-gradient(var(--accent),var(--accent)) center/14px 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) center/2px 14px no-repeat;
  transition:transform .2s ease; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq p{ padding:0 0 1.3rem; color:var(--text-2); max-width:66ch; }

/* ============================== Footer ============================== */
.footer{ border-top:1px solid var(--hairline); padding-block:clamp(2.5rem,5vw,3.5rem); text-align:center; }
.footer .brand{ justify-content:center; }
.footer__tag{ margin-top:.8rem; color:var(--text-2); }
.footer__links{ display:flex; gap:1.4rem; justify-content:center; flex-wrap:wrap; margin-top:1.3rem; }
.footer__links a{ color:var(--text-2); font-weight:500; font-size:.9rem; }
.footer__links a:hover{ color:var(--text); }
.footer__fine{ margin-top:1.3rem; color:var(--text-3); font-size:.82rem; line-height:1.9; }

/* ============================== Long-form pages (privacy / terms / download) ============================== */
.page{ padding-block:clamp(3rem,7vw,5rem); }
.page__head{ max-width:720px; margin-inline:auto; margin-bottom:2.5rem; }
.page__head h1{ font-size:clamp(2rem,4vw,2.9rem); font-weight:700; letter-spacing:-.02em; line-height:1.1; margin-top:.6rem; text-shadow:0 1px 2px rgba(0,0,0,.6),0 4px 16px rgba(0,0,0,.5); }
.page__eff{ margin-top:.8rem; color:var(--text-3); font-size:.9rem; }
.prose{ max-width:720px; margin-inline:auto; }
.prose h2{ font-size:1.35rem; font-weight:650; letter-spacing:-.01em; margin:2.2rem 0 .8rem; padding-top:1.6rem; border-top:1px solid var(--hairline); }
.prose h2:first-of-type{ border-top:none; padding-top:0; }
.prose h3{ font-size:1.05rem; font-weight:600; margin:1.4rem 0 .5rem; }
.prose p{ color:var(--text-2); margin-bottom:1rem; }
.prose ul{ margin:0 0 1rem 1.2rem; color:var(--text-2); }
.prose li{ margin-bottom:.5rem; }
.prose a{ color:var(--accent-ink); text-decoration:underline; text-underline-offset:2px; }
@media (prefers-color-scheme: dark){ .prose a{ color:var(--accent-ink); } }
.prose strong{ color:var(--text); }
.prose code{ font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.9em; background:var(--surface-2); border:1px solid var(--hairline); border-radius:5px; padding:.08em .38em; }
.legal-caps{ text-transform:uppercase; font-size:.9em; letter-spacing:.01em; }

/* Post-purchase "steps" (download page) */
.steps{ counter-reset:step; max-width:720px; margin-inline:auto; display:grid; gap:1rem; }
.step{ position:relative; padding:1.4rem 1.4rem 1.4rem 4rem; background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius); box-shadow:var(--shadow); }
.step::before{ counter-increment:step; content:counter(step); position:absolute; left:1.2rem; top:1.3rem; width:1.9rem; height:1.9rem; border-radius:50%; display:grid; place-items:center; background:var(--text); color:var(--bg); font-weight:700; font-size:.95rem; }
.step h3{ font-size:1.05rem; font-weight:600; }
.step p{ margin-top:.35rem; color:var(--text-2); font-size:.95rem; }
.dl-hero{ text-align:center; }
.dl-hero .btn{ margin-top:1.6rem; }
.dl-note{ margin-top:1rem; color:var(--text-3); font-size:.85rem; }
.help{ text-align:center; margin-top:3rem; }
.help__cta{ display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; margin-top:1.3rem; }

/* ============================== Accessibility & responsive ============================== */
:focus-visible{ outline:2px solid var(--ring); outline-offset:2px; border-radius:4px; }

@media (max-width:1024px){
  .bento{ grid-template-columns:repeat(2,1fr); }
  .trust__grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px){
  .nav__links{ display:none; }
  .spot{ grid-template-columns:1fr; gap:1.6rem; }
}
@media (max-width:560px){
  .bento{ grid-template-columns:1fr; }
  .trust__grid{ grid-template-columns:1fr 1fr; }
  .hero__cta .btn, .help__cta .btn{ width:100%; }
}
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}
