:root {
  --bg: #000;
  --surface: #111113;
  --raised: #1c1c1f;
  --hair: rgba(255, 255, 255, .08);
  --edge: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  --ink: #f5f5f7;
  --muted: #8e8e93;
  --dim: #56565c;
  --gold: #f2c14e;
  --green: #32d74b;
  --orange: #ff9f0a;
  --blue: #0a84ff;
  --r: 22px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* NAV */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1040px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(17, 17, 19, .6); border: 1px solid var(--hair); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); transition: background .3s; }
.nav.scrolled { background: rgba(17, 17, 19, .88); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav-cta { background: #fff; color: #000; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }

/* HERO */
.hero { min-height: 100vh; padding: 130px 20px 80px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-pip { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
.bubble { position: relative; max-width: 360px; background: var(--raised); border: 1px solid var(--hair); border-radius: 18px; padding: 14px 18px; font-size: 15px; line-height: 1.4; text-align: left; min-height: 52px; }
.bubble::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: var(--raised); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transform: translateX(-50%) rotate(45deg); }
.bubble span { transition: opacity .25s; }
.pip { width: 220px; height: 220px; user-select: none; }
.bob { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
h1 { font-size: clamp(48px, 8.2vw, 104px); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
.lede { max-width: 580px; margin: 26px auto 34px; font-size: clamp(17px, 2vw, 21px); color: var(--muted); }
.store { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; padding: 11px 24px 11px 18px; border-radius: 14px; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; text-align: left; font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: -.02em; }
.store small { font-weight: 500; font-size: 11px; letter-spacing: 0; }
.fine { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* STATEMENT */
.statement { max-width: 980px; margin: 0 auto; padding: 14vh 24px 18vh; }
.statement p { margin: 0; text-align: center; font-weight: 700; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.16; letter-spacing: -.035em; }
.statement .w { color: rgba(255, 255, 255, .16); transition: color .35s; }
.statement .w.on { color: #fff; }
.statement .w.on.hl { color: var(--gold); }

/* SHARED */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .copy h2, .calc h2, .faq h2, .closing h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.section-head p { color: var(--muted); font-size: 19px; margin: 18px 0 0; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink); }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.card { background: var(--surface); border-radius: 16px; position: relative; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* FEATURE ROWS */
.feature { max-width: 1080px; margin: 0 auto; padding: 70px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature.flip .copy { order: 2; }
.copy p { color: var(--muted); font-size: 19px; margin: 20px 0 0; max-width: 470px; }

/* PHONE */
.phone { justify-self: center; width: min(320px, 82vw); aspect-ratio: 9 / 19.5; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #3a3a3e, #121214 40%, #2a2a2e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 100px rgba(0, 0, 0, .8), 0 0 120px rgba(242, 193, 78, .06); position: relative; }
.phone::after { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 30%; height: 26px; background: #000; border-radius: 20px; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 42px; background: #000; overflow: hidden; position: relative; padding: 58px 14px 14px; font-size: 12px; }
.scr-title { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin: 4px 2px 12px; }
.scr-title.big { font-size: 28px; }
.sum { padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.sum small { display: block; font-size: 8px; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.sum strong { font-size: 24px; letter-spacing: -.03em; }
.sum .right { text-align: right; }
.sum em { font-style: normal; font-size: 15px; color: var(--muted); font-weight: 600; }
.sum .warn { grid-column: 1 / -1; margin: 6px 0 0; font-size: 10px; color: var(--orange); }
.group { color: var(--muted); font-size: 10px; font-weight: 600; margin: 14px 4px 6px; }
.list { padding: 2px 10px; }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.row + .row { border-top: 1px solid rgba(255, 255, 255, .06); }
.row i { width: 28px; height: 28px; border-radius: 8px; background: var(--c); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.row div { flex: 1; display: flex; flex-direction: column; }
.row b { font-weight: 600; font-size: 12px; }
.row u { text-decoration: none; font-size: 7px; font-weight: 800; background: var(--orange); color: #000; padding: 1px 4px; border-radius: 4px; margin-left: 3px; vertical-align: 2px; }
.row span { font-size: 10px; color: var(--muted); }
.row span.soon { color: var(--orange); }
.row em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }

.banner { position: absolute; top: 52px; left: 10px; right: 10px; z-index: 4; display: flex; gap: 9px; align-items: center; padding: 10px 12px; border-radius: 18px; background: rgba(48, 48, 52, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(-150%); opacity: 0; transition: transform .6s cubic-bezier(.2, .9, .3, 1.1), opacity .4s; }
.banner.show { transform: none; opacity: 1; }
.banner img { width: 26px; height: 26px; border-radius: 6px; }
.banner div { display: flex; flex-direction: column; font-size: 10.5px; line-height: 1.3; }
.banner span { color: rgba(255, 255, 255, .7); }

/* CHAT MOCK */
.chat { display: flex; flex-direction: column; padding-top: 52px; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 10px; border-bottom: 1px solid var(--hair); }
.chat-head img { width: 34px; height: 34px; }
.chat-head div { display: flex; flex-direction: column; }
.chat-head span { font-size: 9px; color: var(--muted); }
.chat-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px 2px; overflow: hidden; }
.msg { max-width: 84%; padding: 8px 11px; border-radius: 14px; line-height: 1.35; font-size: 11.5px; animation: pop .35s cubic-bezier(.2, .9, .3, 1.15) both; }
.msg.bot { background: var(--raised); align-self: flex-start; }
.msg.me { background: #fff; color: #000; align-self: flex-end; }
.msg.typing { display: flex; gap: 4px; padding: 11px 13px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
.chat-input { display: flex; justify-content: space-between; align-items: center; padding: 9px 6px 9px 12px; border-radius: 18px; border: 1px solid var(--hair); background: var(--surface); color: var(--dim); font-size: 10.5px; }
.chat-input span { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-weight: 800; opacity: .4; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } }
@keyframes blink { 50% { opacity: .25; } }

/* TODAY MOCK */
.today { padding-top: 54px; }
.streak { position: absolute; top: 54px; right: 14px; display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 11px; padding: 5px 10px; border-radius: 99px; background: var(--raised); }
.streak i { width: 1px; height: 10px; background: var(--hair); }
.streak .shield { color: var(--blue); font-size: 9px; }
.today .scr-title { margin-top: 30px; }
.pbubble { position: relative; background: var(--raised); border-radius: 14px; padding: 9px 11px; font-size: 11.5px; line-height: 1.35; min-height: 46px; transition: opacity .25s; }
.pbubble::after { content: ''; position: absolute; left: 34px; bottom: -6px; width: 12px; height: 12px; background: var(--raised); transform: rotate(45deg); }
.pip-row { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.pip-catch { position: relative; width: 82px; height: 82px; }
.pip-catch img { width: 82px; height: 82px; transition: transform .2s; }
.pip-catch img.squash { transform: scale(1.12, .86); transform-origin: bottom; }
.coin { position: absolute; left: 32px; top: -40px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1b8, #f7c955 55%, #b97b1e); opacity: 0; }
.coin.fall { animation: fall .5s ease-in forwards; }
.c2 { left: 20px; } .c3 { left: 46px; }
.c2.fall { animation-delay: .07s; } .c3.fall { animation-delay: .14s; }
@keyframes fall { 0% { opacity: 1; transform: translateY(-40px); } 100% { opacity: 0; transform: translateY(58px); } }
.ask { font-size: 10.5px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--raised); border: 1px solid var(--hair); }
.figs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.figs small { display: block; font-size: 8px; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.figs strong { font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.figs .gold { color: var(--gold); }
.log { padding: 12px; }
.log b { font-size: 12px; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 10px 0; }
.keys span { text-align: center; padding: 8px 0; border-radius: 8px; background: var(--raised); font-weight: 600; transition: background .15s, transform .15s; }
.keys span.tap { background: rgba(255, 255, 255, .25); transform: scale(.92); }
.kept { text-align: center; padding: 10px; border-radius: 10px; background: #fff; color: #000; font-weight: 600; transition: transform .15s; }
.kept.tap { transform: scale(.96); }

/* CALCULATOR */
.calc { padding: 60px 24px; }
.calc-card { max-width: 980px; margin: 0 auto; padding: 44px; border-radius: 32px; background: var(--surface); position: relative; }
.calc-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.calc-head { display: flex; align-items: center; gap: 18px; }
.calc h2 { font-size: clamp(28px, 3.6vw, 42px); }
.picks { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.picks button { cursor: pointer; border: 1px solid var(--hair); background: var(--raised); padding: 11px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .15s, color .15s, transform .12s; }
.picks button:active { transform: scale(.95); }
.picks button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.calc-result { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--hair); padding-top: 24px; }
.calc-result small { color: var(--muted); font-size: 14px; }
.calc-result strong { display: block; font-size: clamp(52px, 8vw, 88px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.calc-result p { margin: 0; color: var(--muted); max-width: 360px; }
.calc-result p b { color: var(--gold); }

/* WIDGETS */
.widgets { padding: 90px 24px; }
.wall { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding: 36px; border-radius: 36px; background: radial-gradient(ellipse at 20% 0%, #2a2116, transparent 60%), radial-gradient(ellipse at 100% 100%, #10202a, transparent 60%), #0a0a0b; border: 1px solid var(--hair); }
.lock { text-align: center; padding: 10px 0; }
.time { font-size: 72px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; }
.lock-widgets { display: flex; gap: 10px; justify-content: center; align-items: center; }
.w-circ { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.w-circ b { font-size: 18px; }
.w-rect { text-align: left; display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.w-rect b { font-size: 14px; }
.w-rect .dim { opacity: .6; }
.home { display: flex; gap: 16px; align-items: stretch; }
.w-small, .w-medium { background: #000; border-radius: 26px; padding: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .06); }
.w-small { width: 170px; flex: none; display: flex; flex-direction: column; }
.w-small .top, .w-medium .top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 12px; font-weight: 700; }
.w-small img, .w-medium img { width: 46px; height: 46px; }
.w-small small, .w-medium small { color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 600; margin-top: auto; }
.w-small strong, .w-medium strong { font-size: 26px; letter-spacing: -.03em; }
.pill, .pills span { background: #fff; color: #000; font-weight: 700; text-align: center; border-radius: 99px; padding: 6px 0; margin-top: 8px; font-size: 14px; }
.w-medium { flex: 1; display: flex; gap: 12px; }
.w-medium .l { flex: 1; display: flex; flex-direction: column; }
.w-medium .top { justify-content: flex-start; gap: 8px; align-items: center; }
.w-medium p { font-size: 12px; line-height: 1.35; margin: 8px 0; color: rgba(255, 255, 255, .85); }
.alert { font-size: 10.5px; color: var(--orange); font-weight: 600; margin-top: auto; }
.w-medium .r { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.w-medium .r strong { color: var(--gold); }
.pills { display: flex; gap: 6px; margin-top: auto; }
.pills span { width: 52px; }

/* MORE */
.more { padding: 30px 24px 90px; }
.grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid article { background: var(--surface); border-radius: var(--r); padding: 26px; position: relative; }
.grid article::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--raised); color: var(--gold); font-size: 18px; }
.grid h3 { font-size: 19px; margin: 18px 0 6px; letter-spacing: -.02em; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }

/* PRICING */
.pricing { padding: 70px 24px 90px; max-width: 900px; margin: 0 auto; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--hair); border-radius: 28px; padding: 32px; position: relative; display: flex; flex-direction: column; }
.plan.premium { border-color: rgba(242, 193, 78, .5); background: radial-gradient(ellipse at 50% 0%, rgba(242, 193, 78, .1), transparent 60%), var(--surface); }
.badge { position: absolute; top: -12px; right: 24px; background: var(--gold); color: #000; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 20px; }
.price { font-size: 50px; font-weight: 800; letter-spacing: -.045em; margin: 10px 0 0; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sub { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0 0 26px; border-top: 1px solid var(--hair); flex: 1; }
.plan li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.plan li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; color: var(--muted); }
.premium li::before { color: var(--gold); }
.btn { display: block; text-align: center; padding: 15px; border-radius: 14px; font-weight: 600; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn.ghost { background: var(--raised); }
.btn.gold { background: #fff; color: #000; }
.price-note { text-align: center; color: var(--dim); font-size: 13px; max-width: 560px; margin: 26px auto 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; padding: 30px 24px 100px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--hair); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 12px 0 0; }
.faq p a { color: var(--ink); text-decoration: underline; }

/* CLOSING */
.closing { text-align: center; padding: 60px 24px 130px; display: flex; flex-direction: column; align-items: center; }
.closing .pip { width: 160px; height: 160px; }
.closing h2 { margin: 18px 0 34px; }

footer { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--hair); padding: 32px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer nav { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
footer nav a:hover { color: var(--ink); }
footer p { width: 100%; margin: 0; font-size: 13px; color: var(--dim); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .feature { gap: 48px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav nav { display: none; }
  .hero { padding-top: 110px; min-height: auto; }
  .pip { width: 170px; height: 170px; }
  .feature, .feature.flip { grid-template-columns: 1fr; text-align: center; padding: 50px 20px; }
  .feature.flip .copy { order: 0; }
  .copy p { margin-left: auto; margin-right: auto; }
  .ticks { justify-items: center; }
  .calc-card { padding: 26px 20px; }
  .calc-head img { width: 60px; height: 60px; }
  .grid, .plans { grid-template-columns: 1fr; }
  .wall { padding: 22px 16px; }
  .home { flex-direction: column; align-items: center; }
  .w-medium { width: 100%; }
  .statement { padding: 10vh 20px 12vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Bubbles keep their natural height; long widget lines truncate like on iOS. */
.msg { flex: none; }
.alert { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.screen { text-align: left; }
