/* ============ Sinko — theme tokens ============ */
:root {
  --bg: #0f0709;
  --bg-2: #170b0e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f6ecec;
  --muted: #b39ea0;
  --red: #ff3b3b;
  --red-2: #ff7a45;
  --gold: #f5b942;
  --grad: linear-gradient(120deg, #ff2e3a, #ff7a45);
  --on-accent: #ffffff;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --radius: 20px;
  --nav-h: 68px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fbf6f5;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-2: #ffffff;
  --border: rgba(60, 10, 10, 0.1);
  --text: #1d0f10;
  --muted: #6b5456;
  --red: #d40f1f;
  --red-2: #e2531f;
  --gold: #b7791f;
  --grad: linear-gradient(120deg, #d40f1f, #e2531f);
  --shadow: 0 24px 50px -28px rgba(120, 20, 20, 0.35);
  color-scheme: light;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg::before, .bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(120px); }
.bg::before { width: 620px; height: 620px; background: #ff1f2d; opacity: .22; top: -240px; right: -160px; }
.bg::after { width: 520px; height: 520px; background: #ff8a3d; opacity: .12; bottom: -220px; left: -180px; }
:root[data-theme="light"] .bg::before { opacity: .12; }
:root[data-theme="light"] .bg::after { opacity: .08; }

/* ============ Nav ============ */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled, .nav.solid { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.25rem "Space Grotesk", sans-serif; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.i-sun { display: none; }
:root[data-theme="light"] .i-sun { display: block; }
:root[data-theme="light"] .i-moon { display: none; }
.menu-btn { display: none; gap: 4px; align-content: center; }
.menu-btn span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 14px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 12px 30px -12px rgba(255, 46, 58, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(255, 90, 60, .8); }
.btn-ghost { background: var(--surface); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn small { display: block; font-size: .7rem; font-weight: 500; opacity: .85; line-height: 1.1; }
.btn b { display: block; font-size: 1.02rem; line-height: 1.2; }
.btn .txt { text-align: left; }
.btn.is-soon { cursor: default; }
.btn.is-soon:hover { transform: none; }
.btn-sm { padding: 8px 16px; border-radius: 12px; font-size: .9rem; }

/* ============ Hero ============ */
.hero { padding: calc(var(--nav-h) + 56px) 0 72px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.pill b { color: var(--red-2); font-weight: 600; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
.hero .lead { color: var(--muted); font-size: 1.12rem; margin: 20px 0 30px; max-width: 540px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--muted); font-size: .85rem; margin-top: 18px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; border-radius: 24px; box-shadow: var(--shadow), 0 0 0 1px var(--border); }
.hero-art::before { content: ""; position: absolute; inset: 8% 6%; background: var(--grad); filter: blur(60px); opacity: .35; z-index: -1; border-radius: 40px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 26px 0; border-block: 1px solid var(--border); color: var(--muted); font-weight: 500; }
.chips span { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { color: var(--red-2); }

/* ============ Sections ============ */
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font: 600 .82rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--red-2); margin: 0 0 12px; }
.section h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 14px 0 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .3s, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--red) 45%, var(--border)); box-shadow: var(--shadow); }
.f-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); margin-bottom: 18px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card ul { color: var(--muted); margin: 12px 0 0; padding-left: 18px; font-size: .95rem; }
.card ul li { margin: 4px 0; }

/* Connect */
.connect { position: relative; overflow: hidden; }
.connect .tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); margin-bottom: 14px; }
.connect .big { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 24px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 1rem "Space Grotesk", sans-serif; }
.step h3 { font-size: 1.08rem; margin: 8px 0 6px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 48px; border-radius: 28px; background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--red) 18%, transparent), transparent 60%), var(--surface); border: 1px solid var(--border); }
.privacy-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-band li { display: flex; gap: 12px; color: var(--muted); }
.privacy-band li svg { flex: none; color: #22c55e; margin-top: 3px; }
.privacy-band li b { color: var(--text); }

/* Name story */
.story { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 820px; margin-inline: auto; padding: 36px; border-radius: 24px; border: 1px dashed color-mix(in srgb, var(--gold) 50%, transparent); background: color-mix(in srgb, var(--gold) 5%, transparent); }
.story .np { font: 700 2.6rem "Space Grotesk", sans-serif; color: var(--gold); line-height: 1; }
.story .np small { display: block; font-size: .9rem; color: var(--muted); font-family: "Inter", sans-serif; margin-top: 8px; text-align: center; }
.story p { margin: 0; color: var(--muted); }
.story p b { color: var(--text); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--red-2); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA */
.cta-box { text-align: center; padding: 64px 28px; border-radius: 28px; background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.cta-box p { opacity: .92; margin: 14px auto 28px; max-width: 520px; }
.cta-box .store-row { justify-content: center; }
.cta-box .btn-light { background: #fff; color: #b30f1b; }
.cta-box .btn-light:hover { transform: translateY(-2px); }
.cta-box .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.cta-box .btn-outline:hover { background: rgba(255,255,255,.12); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a:hover { color: var(--text); }
.footer p { margin: 0; }

/* ============ Policy page ============ */
.doc { padding: calc(var(--nav-h) + 48px) 0 40px; }
.doc-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: .9rem; }
.toc p { font-weight: 600; margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 5px 14px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--red); }
.doc-head { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.doc-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 6px 0 14px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.summary { padding: 22px 24px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--red) 35%, var(--border)); background: color-mix(in srgb, var(--red) 7%, transparent); margin-bottom: 40px; }
.prose .summary h2 { font-size: 1.1rem; margin: 0 0 8px; padding: 0; }
.summary p { margin: 0; color: var(--text); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin: 48px 0 14px; padding-top: 4px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 14px; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--red-2); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.prose code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--border); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--muted); }
.prose th { color: var(--text); background: var(--surface); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }
.contact-box { padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.contact-box p:last-child { margin: 0; }

/* ============ Reveal ============ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .privacy-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .doc-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; padding: 12px 16px 20px; background: color-mix(in srgb, var(--bg) 97%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .35s, opacity .35s; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; }
  .nav-cta { display: none; }
  .section { padding: 72px 0; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .story { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
