/* Subscription Zero — landing page
   Restrained dark finance look: black canvas, white type, grey surfaces, one white CTA. */
:root {
  /* App palette (app/lib/app.dart): ink, panel, panelBright, ice, success, muted */
  --bg: #070B12;
  --bg-tone: #0B111A;
  --surface: #101924;
  --surface-2: #172433;
  --text: #F4FAFF;
  --text-2: #91A2B5;
  --text-3: #6E7E90;
  --ice: #7DE4FF;
  --ice-hover: #A3EDFF;
  --mint: #80F0C0;
  --warn: #FF8B9A;
  --line: rgba(255, 255, 255, .08);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --container: 1120px;
  --gutter: 20px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); margin: 0; font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
svg { display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 720px; }
.center { text-align: center; }

/* Brand */
.mark {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--ice); color: var(--ice); font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1; flex: none;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-text { font-family: var(--font-head); font-weight: 500; font-size: 17px; white-space: nowrap; letter-spacing: -.01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer; font-weight: 500; white-space: nowrap;
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--ice); color: var(--bg); }
.btn-light:hover { background: var(--ice-hover); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 18, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
@media (min-width: 860px) { .nav-links { display: flex; } }
@media (max-width: 639px) { .site-header .btn { display: none; } }

/* Hero */
.hero { padding: 72px 0 0; }
@media (min-width: 860px) { .hero { padding-top: 80px; } }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
h1 {
  max-width: 860px; font-size: clamp(40px, 6.4vw, 64px); letter-spacing: -.03em; line-height: 1.04; text-wrap: balance;
}
.lead { margin-top: 22px; max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
@media (min-width: 640px) { .lead { font-size: 20px; } }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 34px; }
.cta-note { font-size: 14px; color: var(--text-3); }
.privacy-line { margin-top: 28px; font-size: 14px; color: var(--text-2); max-width: 420px; }
.privacy-line::before {
  content: ""; display: inline-block; vertical-align: -2px; margin-right: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070B12' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* Product visual */
.hero-visual { width: 100%; display: flex; justify-content: center; margin-top: 44px; padding-top: 10px; }
@media (min-width: 860px) { .hero-visual { margin-top: 48px; } }
.phone {
  width: 360px; max-width: 100%; padding: 12px; border-radius: 44px;
  background: #0B111A; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.screen { background: var(--surface); border-radius: 34px; padding: 26px 20px 20px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); }
.screen-top .pill { background: var(--surface-2); color: var(--text); padding: 5px 10px; border-radius: 999px; font-size: 12px; }
.screen-label { margin-top: 24px; font-size: 13px; color: var(--text-2); }
.screen-amount { margin-top: 2px; font-family: var(--font-head); font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.screen-amount span { font-size: 16px; color: var(--text-3); margin-left: 4px; letter-spacing: 0; }
.screen-sub { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.rows { margin-top: 22px; display: flex; flex-direction: column; text-align: left; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.rows li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rows b { font-size: 14px; font-weight: 500; }
.rows small { font-size: 12px; color: var(--text-3); }
.rows .flag small { color: var(--warn); }
.rows .amt { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.mono {
  width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center;
  font-weight: 600; font-size: 14px; font-style: normal; color: #fff; flex: none;
}
.m-netflix { background: #E50914; }
.m-spotify { background: #1DB954; color: #000; }
.m-fit { background: #F46A1F; }
.m-cloud { background: #3B82F6; }
.m-prime { background: #00A8E1; }
.screen-cta { margin-top: 18px; background: var(--ice); color: var(--bg); border-radius: 999px; padding: 13px; text-align: center; font-size: 14px; font-weight: 500; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 860px) { .section { padding: 64px 0; } }
.section-tone { background: var(--bg-tone); }
.section-head { max-width: 720px; margin: 0 auto 36px; }
@media (min-width: 860px) { .section-head { margin-bottom: 44px; } }
h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.025em; text-wrap: balance; }
.section-head p { margin: 18px auto 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--text-2); }

/* Bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 20px; } .tile-wide { grid-column: 1 / -1; } }
.tile { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
@media (min-width: 900px) { .tile { padding: 28px; } }
.tile h3 { font-size: 22px; margin-top: 26px; }
.tile > p, .tile-wide-inner > div > p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.tile-visual {
  flex: 1; background: var(--surface-2); border-radius: 18px; min-height: 164px; padding: 20px;
  display: flex; flex-direction: column; justify-content: center;
}

.descriptors { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; row-gap: 12px; column-gap: 10px; font-size: 13px; }
.descriptors li { display: contents; }
.descriptors .raw { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; color: var(--text-3); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.descriptors .arrow { color: var(--text-3); }
.descriptors .clean { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.descriptors .clean .mono { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }


.mini-steps { display: flex; flex-direction: column; gap: 10px; }
.mini-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); }
.mini-steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--text-3); flex: none; }
.mini-steps li.done { color: var(--text-2); }
.mini-steps li.done::before { border-color: var(--ice); background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070B12' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.mini-steps li.current { color: var(--text); font-weight: 500; }
.mini-steps li.current::before { border-color: var(--ice); }

.alert-card { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 14px; padding: 14px 16px; }
.alert-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--ice); color: var(--bg); display: grid; place-items: center; flex: none; }
.alert-icon svg { width: 20px; height: 20px; }
.alert-card b { display: block; font-size: 14px; font-weight: 500; }
.alert-card small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-3); line-height: 1.4; }

.tile-wide-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .tile-wide-inner { grid-template-columns: 1fr 1fr; gap: 40px; } .tile-wide h3 { margin-top: 0; } }
.tile-wide .tile-visual { min-height: 0; flex: none; }
.refund-card { background: var(--surface); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.refund-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.refund-card b { font-size: 14px; font-weight: 500; }
.refund-card small { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.refund-btn { align-self: flex-start; margin-top: 6px; background: var(--ice); color: var(--bg); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 500; }

/* Steps */
.steps { display: grid; gap: 28px; max-width: 980px; margin: 0 auto 40px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; }
.step-num { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ice); color: var(--ice); display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; margin-bottom: 8px; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 300px; }

/* Privacy */
.privacy .lead { margin: 22px auto 0; }
.privacy-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 36px; font-size: 14px; color: var(--text-2); }
.privacy-points li { display: inline-flex; align-items: center; gap: 8px; }
.privacy-points li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070B12' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-head); font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; color: var(--text-2); font-size: 20px; font-weight: 300;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 620px; }

/* Final */
.final .lead { margin: 16px auto 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 120px; }
@media (min-width: 860px) { .site-footer { padding-bottom: 48px; } }
.footer-grid { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 640px) { .footer-grid { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.footer-bottom p:first-child { max-width: 640px; }

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(16, 25, 36, .96); border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 10px 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.sticky-cta > div { display: flex; flex-direction: column; }
.sticky-cta b { font-size: 14px; font-weight: 500; }
.sticky-cta small { color: var(--text-3); font-size: 11.5px; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Proof numbers */
.numbers { padding-top: 72px; }
@media (min-width: 860px) { .numbers { padding-top: 96px; } }
.big-stat { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.big-stat-num { font-family: var(--font-head); font-weight: 500; font-size: clamp(72px, 12vw, 128px); letter-spacing: -.05em; line-height: .95; color: var(--ice); }
.big-stat h2 { margin-top: 14px; }
.big-stat p:not(.big-stat-num) { margin: 16px auto 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.big-stat small { display: block; margin-top: 14px; font-size: 12px; color: var(--text-3); }
.numbers-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .numbers-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.numbers-grid > div { background: var(--surface); border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.numbers-grid b { font-family: var(--font-head); font-weight: 500; font-size: 44px; letter-spacing: -.03em; line-height: 1; color: var(--ice); }
.numbers-grid span { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.numbers-grid small { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--text-3); }

/* Cancel link card */
.link-card { background: var(--surface); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.link-head { display: flex; align-items: center; gap: 12px; }
.link-head > div { display: flex; flex-direction: column; }
.link-head b { font-size: 14px; font-weight: 500; }
.link-head small { font-size: 12.5px; color: var(--text-3); }
.link-btn { align-self: flex-start; background: var(--ice); color: var(--bg); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 500; }
.link-note { font-size: 12.5px; color: var(--text-3); }

/* Alert action */
.alert-action { display: inline-block; margin-top: 10px; background: var(--ice); color: var(--bg); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 500; }
