:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --border: #e0e4ea;
  --text: #17202c;
  --muted: #5b6676;
  --accent: #0f6b5f;
  --accent-2: #14897a;
  --accent-soft: #e2f2ee;
  --accent-text: #ffffff;
  --warn: #9a5b0c;
  --warn-soft: #fbf0dc;
  --bad: #b3122f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1217;
    --surface: #151c23;
    --surface-2: #1c242d;
    --border: #28313c;
    --text: #e7ebf0;
    --muted: #98a3b1;
    --accent: #3fb6a3;
    --accent-2: #5cc9b7;
    --accent-soft: #143631;
    --accent-text: #06201c;
    --warn: #e2b05a;
    --warn-soft: #3a2c12;
    --bad: #ff6b81;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 15px var(--font); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: 0.08em; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--text); }
@media (max-width: 760px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* hero */
.hero { padding: 56px 0 28px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; max-width: 15ch; }
.hero .lede { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 58ch; }
.hero .lede strong { color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); padding: 0; list-style: none; }
.trust li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* sponsors: shared */
.sp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 13px; }
.sp-head .label { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.sp-logo { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; background: #fff; flex-shrink: 0; border: 1px solid var(--border); }
.sp-name { font-weight: 700; font-size: 14px; color: var(--text); }
.sp-line { font-size: 13px; color: var(--muted); line-height: 1.35; }
.sp-empty { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); font-size: 13px; background: transparent; cursor: pointer; font-family: var(--font); }
.sp-empty:hover { border-color: var(--accent); color: var(--accent); }

/* Standard: side list on computers, moving line on phones */
.standard { padding-top: 6px; }
.standard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-row { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; transition: border-color 0.15s; }
a.sp-row:hover { border-color: var(--accent); }
.standard .sp-empty { min-height: 44px; width: 100%; }
.marquee { display: none; }

/* Featured cards */
.featured { padding: 8px 0 8px; }
.featured .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sp-card { display: flex; gap: 12px; align-items: center; min-height: 84px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; box-shadow: var(--shadow); transition: border-color 0.15s, transform 0.15s; }
a.sp-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.sp-card .sp-logo { width: 44px; height: 44px; }
.featured .sp-empty { min-height: 84px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .featured .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { padding-top: 32px; }
  .standard { display: none; }
  .marquee { display: block; overflow: hidden; border-block: 1px solid var(--border); background: var(--surface); margin-top: 22px; }
  .marquee .track { display: flex; gap: 32px; width: max-content; padding: 10px 0; animation: slide 40s linear infinite; }
  .marquee a, .marquee button { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; text-decoration: none; color: var(--text); background: none; border: 0; font-family: var(--font); cursor: pointer; padding: 0; }
  .marquee .sp-logo { width: 22px; height: 22px; border-radius: 6px; }
  .marquee .sp-line { font-size: 14px; }
  .featured .grid { grid-template-columns: minmax(0, 1fr); }
  .featured .sp-empty { min-height: 56px; }
  .featured .sp-empty ~ .sp-empty { display: none; } /* one "Your app here" on phones, not four */
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee .track { animation: none; }
}

/* screenshot */
.shot { padding: 36px 0 12px; }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(16, 24, 40, 0.16); background: var(--surface); }
.frame .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }

/* sections */
section.block { padding: 72px 0; }
.block h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.block .intro { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 64ch; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; gap: 40px; margin-top: 36px; }
.step { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.step:nth-child(even) .txt { order: 2; }
.step .num { font-size: 13px; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 22px; margin: 6px 0 10px; }
.step p { color: var(--muted); }
.step img { border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
@media (max-width: 800px) { .step { grid-template-columns: minmax(0, 1fr); gap: 16px; } .step:nth-child(even) .txt { order: 0; } }

.privacy { background: var(--surface); border-block: 1px solid var(--border); }
.privacy .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.privacy h3 { font-size: 16px; margin-bottom: 6px; }
.privacy p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .privacy .cols { grid-template-columns: minmax(0, 1fr); } }

.downloads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.dl { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color 0.15s; }
.dl:hover { border-color: var(--accent); }
.dl .ic { font-size: 26px; }
.dl b { font-size: 17px; }
.dl span { color: var(--muted); font-size: 14px; }
.dl em { margin-top: auto; padding-top: 10px; color: var(--accent); font-style: normal; font-weight: 600; font-size: 14px; }
@media (max-width: 900px) { .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .downloads { grid-template-columns: minmax(0, 1fr); } }

.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

.sponsor-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: 18px; background: var(--accent-soft); margin-top: 8px; }
.sponsor-cta h2 { font-size: 24px; }
.sponsor-cta p { color: var(--muted); margin-top: 6px; max-width: 60ch; }

footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }
.disclaimer { width: 100%; font-size: 13px; }

/* notice bar */
.notice { margin: 16px auto 0; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--text); display: flex; gap: 12px; align-items: flex-start; }
.notice button { margin-left: auto; }

/* modal */
dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(8, 12, 16, 0.55); backdrop-filter: blur(2px); }
.modal { width: min(520px, 100vw - 24px); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); color: var(--text); border-radius: 18px; border: 1px solid var(--border); padding: 26px; position: relative; }
.modal .close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.modal .close:hover { background: var(--surface-2); }
.modal h2 { font-size: 22px; margin-bottom: 8px; }
.modal .lead { color: var(--muted); font-size: 15px; }
.modal .fine { color: var(--muted); font-size: 13px; margin-top: 8px; }
.tier { margin-top: 20px; }
.tier .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier b { font-size: 15px; }
.tier .price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.tier .desc { color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { min-height: 50px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 15px var(--font); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.slot small { font-weight: 500; font-size: 11px; color: var(--muted); }
.slot:disabled { cursor: not-allowed; opacity: 0.5; background: var(--surface-2); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.slot[aria-pressed="true"] small { color: inherit; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.field label span { color: var(--muted); font-weight: 400; }
.field input { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: 16px var(--font); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 480px) { .fields { grid-template-columns: minmax(0, 1fr); } .modal { padding: 22px 16px; } }
.logo-pick { display: flex; align-items: center; gap: 12px; }
.logo-box { width: 52px; height: 52px; border-radius: 12px; border: 1px dashed var(--border); display: grid; place-items: center; color: var(--muted); overflow: hidden; background: #fff; flex-shrink: 0; }
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.preview { margin-top: 20px; border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: var(--bg); }
.preview .ph { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.preview .ph span { color: var(--muted); font-weight: 400; }
.preview .where { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin: 14px 0 6px; text-transform: uppercase; }
.preview .sp-card { box-shadow: none; max-width: 280px; }
.preview .sp-row { max-width: 280px; }
.preview .phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); max-width: 100%; overflow: hidden; white-space: nowrap; }
.preview .phone .sp-logo { width: 22px; height: 22px; border-radius: 6px; }
.checks { display: grid; gap: 10px; margin-top: 18px; font-size: 14px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checks input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.rules { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--warn-soft); font-size: 13px; color: var(--text); }
.rules b { color: var(--warn); }
.error { color: var(--bad); font-size: 14px; margin-top: 12px; min-height: 1px; }
.pay { width: 100%; margin-top: 16px; min-height: 50px; }

/* long-form text: the home page explainer and the about / privacy / terms / contact pages */
.prose { max-width: 72ch; margin-top: 20px; }
.prose p { color: var(--muted); margin-top: 12px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.doc { max-width: 760px; padding: 48px 0 72px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc .updated { font-size: 14px; }
.doc .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.doc .card { display: block; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.doc .card:hover { border-color: var(--accent); }
.doc .card b { display: block; margin-bottom: 4px; }
.doc .card span { color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .doc .cards { grid-template-columns: minmax(0, 1fr); } }
.notfound { text-align: center; padding: 96px 0; }
.notfound .code { font-size: 72px; font-weight: 800; color: var(--accent); letter-spacing: -0.04em; }
.notfound p { color: var(--muted); margin: 12px auto 24px; max-width: 46ch; }
.notfound .cta { justify-content: center; }
