*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--head-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: var(--brand-weight); font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .nav-cta { color: var(--cta-ink); background: var(--cta); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
.site-nav .nav-cta:hover { color: var(--cta-ink); filter: brightness(1.08); }

/* type */
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: var(--h-track); font-weight: var(--h-weight); }
.section-head p { color: var(--muted); font-size: 19px; margin: 16px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--body); }
.btn-store { background: var(--cta); color: var(--cta-ink); }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; line-height: 1.1; }
.btn-store span { line-height: 1.15; text-align: left; }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* phone frame */
.phone { position: relative; border-radius: 46px; padding: 9px; background: var(--bezel);
  box-shadow: 0 0 0 1.5px var(--bezel-edge), 0 40px 80px -30px var(--shadow), 0 18px 36px -18px var(--shadow); }
.phone img { border-radius: 37px; width: 100%; height: auto; }

/* screens strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 40px; margin: 0 -20px;
  scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: center; }
.strip figcaption { margin-top: 16px; font-size: 14.5px; color: var(--muted); text-align: center; }
.strip figcaption b { display: block; color: var(--ink); font-size: 15.5px; }

@media (min-width: 861px) {
  .strip { grid-auto-columns: calc((100% - (var(--n) - 1) * 22px) / var(--n)); gap: 22px; overflow: visible; margin: 0; padding: 8px 0 24px; }
  .strip .phone { border-radius: 32px; padding: 6px; }
  .strip .phone img { border-radius: 27px; }
}
.rows { margin-top: clamp(64px, 9vw, 112px); }

/* feature rows */
.rows { display: grid; gap: clamp(72px, 10vw, 120px); }
.row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.row:nth-child(even) .row-text { order: 2; }
.row .phone { width: min(320px, 100%); margin-inline: auto; }
.row h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: var(--h-track); font-weight: var(--h-weight); margin-bottom: 16px; }
.row p { color: var(--muted); font-size: 18px; margin: 0 0 18px; max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tick-bg); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px;
  border: solid var(--tick-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; }
.plan { border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 24px; font-weight: var(--h-weight); }
.plan .price { font-family: var(--display); font-size: 48px; font-weight: var(--h-weight); letter-spacing: -0.02em; margin: 14px 0 2px; color: var(--ink); }
.plan .price-note { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.plan-pro { background: var(--pro-bg); box-shadow: none; color: var(--pro-ink); }
.plan-pro h3, .plan-pro .price { color: var(--pro-ink); }
.plan-pro .price-note { color: var(--pro-muted); }
.plan-pro .ticks li { color: var(--pro-ink); }
.plan-pro .ticks li::before { background: var(--pro-tick-bg); }
.plan-pro .ticks li::after { border-color: var(--pro-tick-ink); }
.fineprint { color: var(--muted); font-size: 14.5px; margin-top: 22px; max-width: 760px; }

/* privacy */
.privacy-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); background: var(--band-bg); color: var(--band-ink); }
.privacy-band h2 { color: var(--band-ink); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: var(--h-track); font-weight: var(--h-weight); }
.privacy-band p { color: var(--band-muted); font-size: 18px; margin: 12px 0 0; max-width: 620px; }
.privacy-band a { color: var(--band-ink); }
.shield { width: clamp(72px, 10vw, 112px); height: auto; }

/* faq */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-weight: 300; font-size: 28px; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; }
.faq-more { margin-top: 28px; color: var(--muted); }

/* closing */
.closing { text-align: center; }
.closing img.app-icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 24px 48px -20px var(--shadow); }
.closing h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: var(--h-track); font-weight: var(--h-weight); line-height: 1.05; }
.closing p { color: var(--muted); font-size: 19px; margin: 14px auto 30px; max-width: 520px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }

/* document pages */
.doc-head { padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 40px); }
.doc-head h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: var(--h-track); font-weight: var(--h-weight); }
.doc-head p { color: var(--muted); font-size: 19px; margin: 16px 0 0; max-width: 640px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); padding-bottom: 96px; align-items: start; }
.doc-body { max-width: 700px; overflow-wrap: anywhere; }
.doc-body h2 { font-size: 26px; font-weight: var(--h-weight); letter-spacing: -0.01em; margin: 44px 0 10px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; margin: 30px 0 6px; }
.doc-body p, .doc-body li { color: var(--muted); }
.doc-body strong { color: var(--ink); }
.doc-body .card { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; padding: 4px 22px; margin: 0 0 8px; }
.aside { position: sticky; top: 92px; border-radius: var(--radius); padding: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; }
.aside h2 { font-size: 20px; font-weight: var(--h-weight); margin-bottom: 8px; }
.aside p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.aside .btn { width: 100%; justify-content: center; }
.aside .links { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }

/* reveal: only hidden when scripts run, so the page never stays blank */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .row, .plans, .doc { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-text { order: 0; }
  .row .phone { width: min(280px, 78%); }
  .aside { position: static; }
  .privacy-band { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .site-nav { gap: 14px; }
  .site-nav .nav-hide { display: none; }
  .site-nav .nav-cta { padding: 6px 12px; font-size: 14px; }
  .brand { font-size: 16.5px; }
  .strip { grid-auto-columns: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
:root {
  --bg: #0E0B24; --surface: #19143A; --ink: #FBF6EA; --muted: #B7B1D6; --line: rgba(251,246,234,0.10); --line-strong: rgba(251,246,234,0.3);
  --accent: #F6C443; --link: #F6C443; --focus: #F6C443; --cta: #F6C443; --cta-ink: #1C1404;
  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; --brand-weight: 800; --h-weight: 800; --h-track: -0.03em; --radius: 22px;
  --head-bg: rgba(14,11,36,0.78); --bezel: #06051A; --bezel-edge: #34305A; --shadow: rgba(0,0,0,0.75);
  --tick-bg: rgba(246,196,67,0.16); --tick-ink: #F6C443;
  --pro-bg: #F6C443; --pro-ink: #1C1404; --pro-muted: #5E4510; --pro-tick-bg: rgba(28,20,4,0.14); --pro-tick-ink: #1C1404;
  --band-bg: #221848; --band-ink: #FBF6EA; --band-muted: #CBC5E8;
  --red: #E2445A; --ballw: #F6F2E8; --receipt: #F8F5EE; --receipt-ink: #1A1730;
}
body { background: radial-gradient(1100px 620px at 78% -8%, rgba(226,68,90,0.16), rgba(226,68,90,0) 60%),
  radial-gradient(900px 600px at 10% 0%, rgba(246,196,67,0.10), rgba(246,196,67,0) 55%), var(--bg); }
.section-head h2 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1; }
.eyebrow { color: var(--accent); font-weight: 600; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 4.6vw, 70px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.hero h1 span { display: block; white-space: nowrap; }
@media (max-width: 480px) { .hero h1 span { white-space: normal; } }
.hero h1 .keep { color: var(--accent); }
.hero .lede { font-size: clamp(18px, 1.7vw, 20px); color: var(--muted); margin: 26px 0 30px; max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* the draw: six balls roll onto a tray */
.draw { margin: 34px 0 34px; max-width: 560px; }
.tray { position: relative; display: flex; gap: clamp(8px, 1.4vw, 14px); padding: 0 6px 14px; }
.tray::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border-radius: 6px;
  background: linear-gradient(180deg, #F6C443, #C9951F); box-shadow: 0 10px 24px -8px rgba(246,196,67,0.5); }
.ball { width: clamp(46px, 6vw, 72px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font: 800 clamp(18px, 2.4vw, 28px)/1 var(--display); color: #1A1730;
  background: radial-gradient(circle at 34% 28%, #FFFFFF 0 16%, var(--ballw) 46%, #D8D1C2 100%);
  box-shadow: inset -4px -6px 10px rgba(0,0,0,0.18), 0 12px 18px -8px rgba(0,0,0,0.7); }
.ball.bonus { color: #fff; background: radial-gradient(circle at 34% 28%, #FF9AA7 0 12%, var(--red) 52%, #A31D33 100%); margin-left: clamp(4px, 1vw, 12px); }
.draw-cap { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .ball { animation: roll 0.9s cubic-bezier(.2,.75,.25,1) both; }
  .js .ball:nth-child(1) { animation-delay: .05s } .js .ball:nth-child(2) { animation-delay: .17s } .js .ball:nth-child(3) { animation-delay: .29s }
  .js .ball:nth-child(4) { animation-delay: .41s } .js .ball:nth-child(5) { animation-delay: .53s } .js .ball:nth-child(6) { animation-delay: .75s }
  @keyframes roll { from { transform: translateX(min(60vw, 640px)) rotate(540deg); opacity: 0; } 70% { opacity: 1; } to { transform: none; } }
}

/* phone + take-home receipt */
.stage { position: relative; min-height: 600px; }
.stage .phone { position: absolute; right: 4%; top: 0; width: min(280px, 58%); transform: rotate(2.5deg); z-index: 1; }
.receipt { position: absolute; left: 0; bottom: 18px; width: min(300px, 62%); z-index: 2; background: var(--receipt); color: var(--receipt-ink);
  padding: 22px 22px 26px; transform: rotate(-3deg); font-family: var(--mono); font-size: 13px; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.9);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0/16px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0/16px 100% repeat-x; }
.receipt h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; color: var(--receipt-ink); margin: 0 0 2px; }
.receipt .sub { color: #6A6684; margin: 0 0 12px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.receipt dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; }
.receipt dt { color: #4B4766; } .receipt dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.receipt .rule { grid-column: 1 / -1; border-top: 1.5px dashed rgba(26,23,48,0.35); margin: 4px 0; }
.receipt .keep dt, .receipt .keep dd { font-family: var(--display); font-weight: 800; font-size: 20px; color: #B3263B; letter-spacing: -0.02em; }
.receipt .foot { margin: 12px 0 0; font-size: 10.5px; color: #6A6684; line-height: 1.45; }

/* pricing and the rest */
.plan h3 { font-size: 26px; } .plan .price { font-size: 60px; letter-spacing: -0.04em; }
.strip figcaption b { font-family: var(--display); font-size: 17px; }
.faq summary { font-size: 21px; letter-spacing: -0.01em; }
.closing h2 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -0.045em; line-height: 0.95; }
.disclaimer { color: var(--muted); font-size: 14.5px; max-width: 820px; border-top: 1px solid var(--line); padding-top: 22px; margin: 0; }
.disclaimer strong { color: var(--ink); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 560px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .stage { min-height: 0; display: grid; justify-items: center; }
  .stage .phone { position: relative; right: auto; width: 74%; transform: rotate(2deg); }
  .receipt { position: relative; bottom: auto; width: 86%; margin-top: -80px; }
  .draw-cap { flex-direction: column; gap: 4px; }
}
