/* BaseVault — product page
   Palette + type derived from the app's gold-shield / fiery-base identity.
   Display: Saira Expanded (wide "command")  ·  Body: Inter  ·  Data: JetBrains Mono */

:root {
  --ink:       #0c0a08;   /* warm near-black (the icon's surround) */
  --ink-2:     #141009;   /* lifted band */
  --ink-3:     #1b150d;   /* card */
  --gold:      #e8b23a;
  --gold-hi:   #f7d27a;
  --gold-deep: #c98a2a;
  --ember:     #ff8324;
  --ember-deep:#c2410c;
  --stone:     #b6aa93;
  --parchment: #f4ecdc;
  --muted:     #a3967e;
  --rule:      #2b2117;
  --rule-soft: #1d160d;
  --maxw: 1140px;
  --radius: 16px;
  --shot-radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font: 17px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
a { color: var(--gold); text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── Type primitives ───────────────────────────── */
.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--stone);
  margin: 0 0 18px; display: flex; align-items: center; gap: 9px;
}
.eyebrow .tick { color: var(--ember); font-size: 0.7em; transform: translateY(-1px); }
.eyebrow.gold .tick { color: var(--gold); }
.eyebrow.ember .tick { color: var(--ember); }
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: "Saira Expanded", "Inter", sans-serif; font-weight: 800; }
.gildline {
  background: linear-gradient(176deg, var(--gold-hi) 4%, var(--gold) 52%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 22px rgba(232,178,58,0.20));
}

/* ── Nav ───────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12,10,8,0.74); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--parchment); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-family: "Saira Expanded", sans-serif; font-weight: 700; font-size: 1.12rem; letter-spacing: 0.01em; }
.nav nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav nav a { color: var(--stone); font-size: 0.92rem; font-weight: 500; }
.nav nav a:hover { color: var(--parchment); }
.navcta {
  font-family: "JetBrains Mono", monospace; font-size: 0.78rem !important; font-weight: 600 !important;
  letter-spacing: 0.04em; color: var(--ink) !important;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); padding: 8px 15px; border-radius: 9px;
}
.navcta:hover { color: var(--ink) !important; filter: brightness(1.06); }
@media (max-width: 700px) { .nav nav a.hide-sm { display: none; } }

/* ── App Store button ──────────────────────────── */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--parchment); color: #15110b;
  padding: 13px 20px; border-radius: 13px; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(244,236,220,0.14); }
.appstore svg { width: 23px; height: 23px; }
.appstore small { display: block; font-size: 0.64rem; font-weight: 500; line-height: 1; opacity: 0.7; }
.appstore b { display: block; font-size: 1.06rem; line-height: 1.15; }
.appstore.big { padding: 16px 26px; }
.trust {
  font-family: "JetBrains Mono", monospace; font-size: 0.74rem; letter-spacing: 0.02em;
  color: var(--muted); margin: 14px 0 0;
}
.trust.center { text-align: center; }

/* ── Section rhythm ────────────────────────────── */
section { padding: 86px 0; position: relative; }
section h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.02; letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.lede { font-size: 1.18rem; color: var(--stone); margin: 0 0 30px; max-width: 40ch; }
.center { text-align: center; }
.center .lede, .center h2 { margin-left: auto; margin-right: auto; }

/* phone frame (reused) */
.phone {
  border-radius: var(--shot-radius); overflow: hidden;
  border: 1px solid rgba(232,178,58,0.16);
  box-shadow: 0 34px 80px rgba(0,0,0,0.62), 0 0 0 1px rgba(0,0,0,0.4) inset,
              0 1px 0 rgba(255,255,255,0.05) inset;
  background: #000;
}
.phone img { width: 100%; height: auto; }

.emberglow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 40% at 72% 26%, rgba(255,131,36,0.16), transparent 66%),
    radial-gradient(40% 46% at 78% 40%, rgba(232,178,58,0.13), transparent 70%);
}

/* ── Hero ──────────────────────────────────────── */
.hero { padding: 70px 0 0; }
.hero > .wrap, .hero > .marquee { position: relative; }
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 50px; align-items: center;
  padding-bottom: 30px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem); line-height: 0.96; letter-spacing: -0.015em;
  margin: 0 0 22px; overflow-wrap: break-word;
}
.hero h1 .gildline, .hero h1 .subline { display: block; }
.hero h1 .subline { color: var(--parchment); }
.hero .lede { margin-bottom: 26px; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow time { color: var(--parchment); font-weight: 600; }
.hero-shot { justify-self: center; position: relative; }
.hero-shot::before {
  content: ""; position: absolute; inset: -14% -10%;
  background: radial-gradient(circle at 50% 42%, rgba(255,131,36,0.22), rgba(232,178,58,0.10) 42%, transparent 68%);
  z-index: -1; filter: blur(6px);
}
.hero-shot .phone { width: 300px; max-width: 72vw; }

/* hero ticker */
.marquee {
  position: relative; z-index: 1; margin-top: 26px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: rgba(20,16,9,0.5); overflow: hidden;
}
.marquee .track {
  display: inline-flex; align-items: center; gap: 22px; white-space: nowrap;
  padding: 13px 0; will-change: transform; animation: slide 34s linear infinite;
  font-family: "JetBrains Mono", monospace; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.marquee .track i { color: var(--ember); font-style: normal; opacity: 0.8; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Pillars (the thesis) ──────────────────────── */
.pillars { border-top: 1px solid var(--rule-soft); background:
  linear-gradient(180deg, rgba(20,16,9,0.55), rgba(12,10,8,0) 30%); }
.pillar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center;
  padding: 30px 0;
}
.pillar + .pillar { margin-top: 36px; padding-top: 60px; border-top: 1px solid var(--rule-soft); }
.pillar.flip .pillar-copy { order: 2; }
.pillar h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.pillar p { color: var(--stone); margin: 0 0 22px; max-width: 46ch; }
.pillar-shot { justify-self: center; }
.pillar-shot .phone { width: 290px; max-width: 70vw; }
.pillar.flip .pillar-shot { justify-self: center; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 26px; color: var(--parchment); font-size: 0.98rem; }
.ticks li::before {
  content: "◢"; position: absolute; left: 0; top: 1px; color: var(--ember);
  font-size: 0.72em;
}
.ticks.gold li::before { color: var(--gold); }

/* ── One tap ───────────────────────────────────── */
.onetap { border-top: 1px solid var(--rule-soft); }
.onetap .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; align-items: center; }
.onetap h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.onetap p { color: var(--stone); max-width: 44ch; font-size: 1.06rem; }
.onetap p b { color: var(--gold); font-weight: 700; }
.onetap-shot { justify-self: center; }
.onetap-shot .phone { width: 280px; max-width: 68vw; }

/* ── Features ──────────────────────────────────── */
.features { border-top: 1px solid var(--rule-soft); background: var(--ink-2); }
.features h2 { margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--ink-3); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 24px 24px 26px; transition: transform .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(232,178,58,0.4); }
.card .cnum {
  font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em; color: var(--gold);
  display: inline-block; padding: 4px 10px; border: 1px solid var(--rule);
  border-radius: 7px; background: rgba(232,178,58,0.05);
}
.card h3 { font-size: 1.16rem; font-weight: 700; margin: 16px 0 7px; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ── Pricing ───────────────────────────────────── */
.pricing { border-top: 1px solid var(--rule-soft); }
.pricing h2 { margin-bottom: 40px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
.plan {
  position: relative; background: var(--ink-3); border: 1px solid var(--rule);
  border-radius: 20px; padding: 30px 28px;
}
.plan.pro {
  background: linear-gradient(180deg, rgba(232,178,58,0.07), rgba(27,21,13,0.5));
  border-color: rgba(232,178,58,0.45); box-shadow: 0 24px 60px rgba(232,178,58,0.07);
}
.protag {
  position: absolute; top: 22px; right: 24px;
  font-family: "JetBrains Mono", monospace; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); padding: 4px 10px; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 6px; }
.plan-line { color: var(--muted); font-size: 0.96rem; margin: 0 0 20px; min-height: 2.8em; }
.price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 9px; }
.price .amt { font-family: "Saira Expanded", sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--gold); letter-spacing: -0.01em; }
.price .per { font-family: "JetBrains Mono", monospace; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.plan .ticks li { font-size: 0.95rem; }
.plan .ticks li b { color: var(--gold); }
.finenote { color: var(--muted); font-size: 0.84rem; margin: 26px auto 0; max-width: 52ch; }

/* ── Gallery ───────────────────────────────────── */
.gallery { border-top: 1px solid var(--rule-soft); padding-bottom: 90px; }
.gallery h2 { margin-bottom: 34px; }
.shots-row {
  display: flex; gap: 20px; overflow-x: auto; padding: 4px 22px 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots-row::-webkit-scrollbar { height: 8px; }
.shots-row::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 8px; }
.phone.sm { flex: 0 0 auto; width: 232px; scroll-snap-align: center; }

/* ── Final CTA ─────────────────────────────────── */
.final { border-top: 1px solid var(--rule-soft); text-align: center; overflow: hidden; }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.0; margin-bottom: 30px; }
.final .appstore { margin: 0 auto; }
.final .trust { margin-top: 18px; }

/* ── Footer ────────────────────────────────────── */
footer { border-top: 1px solid var(--rule); padding: 46px 0 56px; }
.foot-top { display: flex; align-items: center; gap: 18px; }
.foot-top nav { margin-left: auto; display: flex; gap: 24px; }
.foot-top nav a { color: var(--stone); font-size: 0.92rem; }
.foot-top nav a:hover { color: var(--parchment); }
.disclaimer { margin-top: 26px; }
.disclaimer p { color: var(--muted); font-size: 0.8rem; line-height: 1.55; margin: 0; max-width: 80ch; }
.disclaimer .copy { margin-top: 12px; font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em; }

/* ── Doc pages (privacy / support) ─────────────── */
.doc { max-width: 768px; margin: 0 auto; padding: 60px 22px 100px; }
.doc .back {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 30px;
  font-family: "JetBrains Mono", monospace; font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--stone);
}
.doc .back:hover { color: var(--gold); }
.doc h1 { font-family: "Saira Expanded", sans-serif; font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.04; margin: 0 0 8px; }
.doc .updated {
  font-family: "JetBrains Mono", monospace; font-size: 0.76rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 36px;
}
.doc .intro { font-size: 1.12rem; color: var(--stone); }
.doc h2 {
  font-family: "Saira Expanded", sans-serif; font-weight: 700; font-size: 1.32rem;
  margin: 42px 0 12px; color: var(--parchment); display: flex; align-items: baseline; gap: 10px;
}
.doc h2::before { content: "◢"; color: var(--ember); font-size: 0.62em; }
.doc p, .doc li { color: var(--stone); }
.doc p { margin: 0 0 14px; }
.doc strong, .doc b { color: var(--parchment); font-weight: 600; }
.doc ul { padding-left: 1.3rem; margin: 12px 0 16px; }
.doc li { margin: 9px 0; }
.doc hr { border: 0; border-top: 1px solid var(--rule); margin: 44px 0 18px; }
.doc .fine { color: var(--muted); font-size: 0.86rem; }

/* FAQ accordion (support) */
.faq { border-top: 1px solid var(--rule-soft); }
.faq:last-of-type { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  cursor: pointer; padding: 19px 2px; list-style: none;
  font-family: "Saira Expanded", sans-serif; font-weight: 700; font-size: 1.06rem;
  color: var(--parchment); display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "JetBrains Mono", monospace; color: var(--gold); font-size: 1.2rem; flex: 0 0 auto; }
.faq[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--gold); }
.faq .ans { padding: 0 2px 20px; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ── Reveal motion ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(1) { transition-delay: .02s; }
.hero-copy .reveal:nth-child(2) { transition-delay: .10s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .18s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .26s; }
.hero-shot.reveal { transition-delay: .16s; }
.grid .card:nth-child(2) { transition-delay: .06s; }
.grid .card:nth-child(3) { transition-delay: .12s; }
.grid .card:nth-child(5) { transition-delay: .06s; }
.grid .card:nth-child(6) { transition-delay: .12s; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .hero .wrap, .pillar, .pillar.flip, .onetap .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .wrap { text-align: center; padding-bottom: 10px; }
  .hero .eyebrow, .hero .cta { justify-content: center; }
  .hero .cta { display: flex; flex-direction: column; align-items: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .pillar.flip .pillar-copy { order: 0; }
  .pillar-copy { text-align: center; }
  .pillar .eyebrow, .onetap .eyebrow { justify-content: center; }
  .pillar p, .onetap p { margin-left: auto; margin-right: auto; }
  .ticks { display: inline-grid; text-align: left; }
  .onetap-copy { text-align: center; }
  .grid { grid-template-columns: 1fr 1fr; }
  .hero-shot { order: -1; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .grid, .plans { grid-template-columns: 1fr; }
  .phone.sm { width: 200px; }
  .hero h1 { font-size: clamp(1.55rem, 7.4vw, 2.2rem); }
  .hero-shot .phone { width: 76vw; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none; }
  .appstore:hover, .card:hover { transform: none; }
}
