/* BAGHOLDER — home page only (index.html). Loads after site.css. */

/* — Blueprint grid background — */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 75%);
}
.grid-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 380px at 72% 38%, rgba(0, 220, 130, .16), transparent 70%);
}

/* — Hero — */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted); font-weight: 500;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px;
  background: rgba(26, 26, 36, .6); margin-bottom: 22px;
}
.eyebrow .mono { color: var(--accent); font-size: 12px; }

.display {
  font-size: clamp(42px, 10.5vw, 92px);
  line-height: .98; letter-spacing: -0.045em; font-weight: 700;
  margin-bottom: 22px;
}
.display span { display: block; }
.display-sm { font-size: clamp(38px, 8vw, 72px); }
.display-sm span { display: inline; }
.thin { font-weight: 400; color: var(--muted); }
.bold { font-weight: 700; color: var(--text); }
.display em { font-style: normal; color: var(--accent); }

.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 34em; line-height: 1.55; }

.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.store-badges-center { justify-content: center; }
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { opacity: .9; }
.store-soon {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px;
  border: 1px dashed var(--line-2); border-radius: 10px;
  color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap;
  order: 2; /* the store people can use today comes first */
}

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pills li {
  font-size: 13px; color: var(--muted); padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(19, 19, 26, .7);
}

.hero-visual { position: relative; justify-self: center; width: min(320px, 78vw); margin: 0; }

/* — Phone frame — */
.phone {
  position: relative; border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #2C2C3A, #15151D 55%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 40px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px #0A0A0E;
}
.phone img, .phone video {
  width: 100%; height: auto; border-radius: 32px; background: #000;
  aspect-ratio: 598 / 1300; object-fit: cover;
}
.phone video { aspect-ratio: 600 / 1298; }
.phone-sm { border-radius: 32px; padding: 7px; }
.phone-sm img { border-radius: 26px; }
.phone-xs { border-radius: 28px; padding: 6px; }
.phone-xs img { border-radius: 22px; }

/* — Terminal / log — */
.log {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75;
  background: rgba(14, 14, 20, .92); color: #CFCFDA;
  border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7);
  overflow: hidden;
}
.log-bar {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.log-bar i { width: 8px; height: 8px; border-radius: 50%; background: #34344A; }
.log-bar span { margin-left: 8px; color: var(--faint); font-size: 11.5px; }
.log ol { list-style: none; padding: 10px 14px 12px; }
.log li { white-space: pre-wrap; }
.log b { font-weight: 600; margin-right: 6px; }
.log .ok { color: var(--accent); }
.log .go { color: var(--amber); }
.log .dim { color: var(--faint); margin-right: 6px; }

.log-float {
  position: absolute; left: -18%; bottom: 12%; width: 230px; z-index: 2;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 420px) {
  .log-float { left: -6%; width: 190px; font-size: 11.5px; }
  .log-term { font-size: 11.5px; }
}

.caret {
  display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: -2px;
  background: var(--accent); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* — Figure captions (blueprint) — */
.fig {
  display: flex; gap: 10px; align-items: baseline; margin-top: 14px;
  font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .02em;
}
.fig span {
  color: var(--accent); white-space: nowrap;
  padding-right: 10px; border-right: 1px solid var(--line-2);
}
.hero-visual .fig { justify-content: center; }

/* — Stats band — */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat {
  padding: 26px 18px; display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat-n { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.stat strong { font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.04em; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat > span:last-child { color: var(--muted); font-size: 14px; }
@media (min-width: 820px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 34px 28px; border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* — Sections — */
.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.kicker .mono {
  color: var(--accent); font-size: 12px; font-weight: 500;
  border: 1px solid rgba(0, 220, 130, .35); border-radius: 6px; padding: 1px 7px;
}
.h2, .display-sm, .lead, .sub { text-wrap: balance; }
.h2 { font-size: clamp(32px, 5.6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; }
.h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 18px; }
.sub { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 46em; }

/* — Demo — */
.demo { display: grid; gap: 44px; align-items: center; }
.demo-video { margin: 0 auto; width: min(340px, 82vw); }
.demo-intro { font-size: 18px; color: var(--text); margin-bottom: 26px; }
.demo-steps { list-style: none; display: grid; gap: 0; margin-bottom: 26px; border-top: 1px solid var(--line); }
.demo-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.demo-steps .mono { color: var(--accent); font-size: 12px; padding-top: 4px; }
.demo-steps strong { color: var(--text); font-weight: 600; }
.log-term { margin-bottom: 18px; }
.note { font-size: 14px; color: var(--faint); }
@media (min-width: 900px) {
  .demo { grid-template-columns: 400px 1fr; gap: 72px; }
  .demo-video { width: 340px; }
}

/* — Steps — */
.steps { display: grid; gap: 22px; }
.step {
  display: grid; gap: 24px; align-items: center;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.step-shot { margin: 0 auto; width: min(200px, 56vw); }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 14px;
  font-family: var(--mono); font-size: 14px;
}
.step h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-rows: auto 1fr; align-items: start; padding: 28px 26px 30px; }
  .step-shot { width: 210px; }
}

/* — Features — */
.features { display: grid; gap: 14px; }
.feature {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(26, 26, 36, .55));
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.feature:hover { border-color: var(--line-2); }
.feature h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent); margin-right: 10px; vertical-align: 2px;
}
.feature p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature-wide { grid-column: span 2; }
  .feature-wide h3 { font-size: 24px; letter-spacing: -0.02em; }
  .feature-wide p { font-size: 16.5px; max-width: 40em; }
}
.feature-wide { border-color: rgba(0, 220, 130, .28); background: linear-gradient(160deg, rgba(0, 220, 130, .08), var(--surface) 45%); }

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62vw);
  gap: 18px; margin-top: 44px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin;
}
.shot { scroll-snap-align: start; margin: 0; }
.shot .fig { flex-direction: column; gap: 4px; }
.shot .fig span { border: 0; padding: 0; }
@media (min-width: 760px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; max-width: 720px; margin-left: auto; margin-right: auto; }
  .shot .phone { width: 78%; margin: 0 auto; }
}

/* — Fees — */
.fee-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.fee-hero div {
  min-width: 0;
  padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
  display: flex; flex-direction: column;
}
.fee-hero strong { font-size: clamp(26px, 5vw, 40px); letter-spacing: -0.03em; color: var(--accent); line-height: 1.1; }
.fee-hero span { font-size: 13px; color: var(--muted); }
@media (max-width: 420px) { .fee-hero { grid-template-columns: 1fr; } }

.fee-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.fee-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fee-table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--faint); font-weight: 600; padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.fee-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table td:first-child { color: var(--text); font-weight: 600; width: 22%; }
.fee-table .accent-cell { color: var(--accent); font-weight: 600; width: 18%; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table td { display: block; width: auto !important; }
  .fee-table tr { padding: 18px; border-bottom: 1px solid var(--line); }
  .fee-table tr:last-child { border-bottom: 0; }
  .fee-table td { padding: 0; border: 0; }
  .fee-table td:first-child { font-size: 16px; }
  .fee-table .accent-cell { margin: 2px 0 8px; }
  .fee-table td:last-child { font-size: 14.5px; }
}

/* — Trust — */
.trust-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust-item { display: flex; gap: 16px; padding: 26px; background: var(--bg); }
.trust-item strong { display: block; margin-bottom: 4px; font-size: 16px; }
.trust-item p { color: var(--muted); font-size: 15px; }
.ico {
  flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px;
  background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* — FAQ — */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-weight: 400; color: var(--accent); font-size: 20px; line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 44em; }
.faq-more { margin-top: 22px; color: var(--muted); }

/* — Closing CTA — */
.cta { position: relative; overflow: hidden; padding: 110px 0; text-align: center; border-bottom: 1px solid var(--line); }
.cta .grid-bg { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 75%); }
.cta .grid-bg::after { background: radial-gradient(560px 300px at 50% 50%, rgba(0, 220, 130, .14), transparent 70%); }
.cta-inner { position: relative; z-index: 1; }
.cta .lead { margin: 0 auto; }

/* — Disclosures — */
.disclosures-section { padding: 56px 0; }
.disclaimers { display: grid; gap: 10px; }
.disclaimers p {
  font-size: 14px; color: var(--muted); padding-left: 16px; border-left: 2px solid var(--line-2);
}
@media (min-width: 760px) { .disclaimers { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; } }

/* — Desktop hero — */
@media (min-width: 980px) {
  .hero { padding: 84px 0 104px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero-visual { width: 330px; justify-self: end; margin-right: 30px; }
  .log-float { left: -40%; bottom: 14%; width: 250px; }
  .section { padding: 112px 0; }
}

/* — Scroll reveal (only when JS runs; reduced motion shows everything) — */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .demo-steps .reveal:nth-child(2) { transition-delay: .08s; }
.js .demo-steps .reveal:nth-child(3) { transition-delay: .16s; }
.js .stats .reveal:nth-child(2) { transition-delay: .06s; }
.js .stats .reveal:nth-child(3) { transition-delay: .12s; }
.js .stats .reveal:nth-child(4) { transition-delay: .18s; }

/* Buy log: lines appear one after another once it scrolls in. */
.js .log-term.reveal ol li { opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.js .log-term.in ol li { opacity: 1; transform: none; }
.js .log-term.in ol li:nth-child(2) { transition-delay: .35s; }
.js .log-term.in ol li:nth-child(3) { transition-delay: .7s; }
.js .log-term.in ol li:nth-child(4) { transition-delay: 1.05s; }
.js .log-term.in ol li:nth-child(5) { transition-delay: 1.4s; }
.js .log-term.in ol li:nth-child(6) { transition-delay: 1.75s; }

/* Hero entrance */
.js .hero-copy > *, .js .hero-visual { animation: rise .8s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .06s; }
.js .hero-copy > :nth-child(3) { animation-delay: .12s; }
.js .hero-copy > :nth-child(4) { animation-delay: .18s; }
.js .hero-copy > :nth-child(n+5) { animation-delay: .24s; }
.js .hero-visual { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .log-term.reveal ol li { opacity: 1 !important; transform: none !important; }
}

