/* Unshadow website — tokens from docs/unshadow/05-design-system.md */
@font-face { font-family: "Unbounded"; src: url("fonts/Unbounded-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/Unbounded-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --canvas: #0D0B1A;
  --surface: #1A1730;
  --surface-alt: #242040;
  --ink: #F4F1FF;
  --outline: #4A4380;
  --shadow-hard: #000000;
  --text-2: #B7B1D6;
  --hairline: #2F2A52;
  --primary: #FF7A33;
  --on-primary: #15122B;
  --gold: #FFC23D;
  --violet: #8E74FF;
  --success: #3FD6A2;
  --link: #FFB27A;
  --accent: #FFC23D;
  --radius-card: 18px;
  --radius-button: 14px;
  --radius-poster: 32px;
  --display: "Unbounded", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --canvas: #F6F2EA;
    --surface: #FFFFFF;
    --surface-alt: #EFE8DC;
    --ink: #15122B;
    --outline: #15122B;
    --shadow-hard: #15122B;
    --text-2: #5B5670;
    --hairline: #D9D1C3;
    --primary: #FF6A1F;
    --violet: #7B5CFF;
    --link: #B23F00;
    --accent: #5B3DD8;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 500 16px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 10px; font-weight: 800; z-index: 10; }
.skip:focus { left: 12px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
@media (max-width: 375px) { .wrap { width: calc(100% - 32px); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 20px/1 var(--display); letter-spacing: -0.3px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 2px; flex-wrap: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 10px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-alt); }
@media (max-width: 560px) { .nav a.opt { display: none; } .brand { font-size: 18px; gap: 8px; } .brand img { width: 30px; height: 30px; } .nav a { padding: 8px; } }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border: 2px solid var(--outline); border-radius: var(--radius-button); background: var(--primary); color: var(--on-primary); font: 800 16px/1.2 var(--body); text-decoration: none; box-shadow: 3px 4px 0 var(--shadow-hard); transition: transform .09s, box-shadow .09s; }
.btn:active { transform: translate(3px, 4px); box-shadow: none; }
.btn.store { background: var(--surface); color: var(--ink); }
.btn.store small { display: block; font: 700 11px/1.2 var(--body); color: var(--text-2); letter-spacing: .3px; text-transform: uppercase; }
.btn.store[aria-disabled="true"] { cursor: default; }
.btn svg { width: 24px; height: 24px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.chips li { font: 700 13px/1 var(--body); padding: 9px 12px; border: 2px solid var(--outline); border-radius: 999px; background: var(--surface); }

/* Hero */
.hero { padding: 56px 0 40px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 620px; background: radial-gradient(60% 60% at 75% 30%, rgba(255,106,136,.28), transparent 70%), radial-gradient(50% 50% at 20% 10%, rgba(107,75,203,.35), transparent 70%); pointer-events: none; z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow { font: 700 13px/1.2 var(--body); letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.5px; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.2px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 36em; margin: 0 0 28px; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.phone { justify-self: center; width: min(320px, 78vw); aspect-ratio: 720 / 1561; border: 3px solid var(--outline); border-radius: 44px; overflow: hidden; box-shadow: 6px 8px 0 var(--shadow-hard); background: var(--surface); position: relative; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .badge { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(13,11,26,.78); color: #F4F1FF; border: 2px solid #4A4380; border-radius: 18px; padding: 12px 14px; font: 700 14px/1.35 var(--body); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.phone .badge b { font-family: var(--display); font-weight: 600; color: var(--gold); }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 44em; margin-bottom: 28px; }
.section-head p { color: var(--text-2); margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 2px solid var(--outline); border-radius: var(--radius-card); padding: 20px; box-shadow: 3px 4px 0 var(--shadow-hard); }
.card p { margin: 0; color: var(--text-2); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; border: 2px solid var(--outline); font-size: 22px; color: #15122B; }
.g1 { background: linear-gradient(135deg, #7F67FB, #B39CFF); }
.g2 { background: linear-gradient(135deg, #FF8A3D, #FFC23D); }
.g3 { background: linear-gradient(135deg, #1FC7A6, #7FE3D3); }
.g4 { background: linear-gradient(135deg, #FF5FA2, #FFB3CF); }
.g5 { background: linear-gradient(135deg, #3D9BFF, #9CCBFF); }
.g6 { background: linear-gradient(135deg, #22C38E, #8BE8C3); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 20px 20px 20px 20px; background: var(--surface-alt); border: 2px dashed var(--hairline); border-radius: var(--radius-card); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--violet); color: #15122B; font: 700 16px/1 var(--display); margin-bottom: 12px; border: 2px solid var(--outline); }
.steps p { margin: 0; color: var(--text-2); }
.note { border: 2px solid var(--outline); border-radius: var(--radius-card); background: var(--surface-alt); padding: 18px 20px; color: var(--text-2); }
.note strong { color: var(--ink); }
.cta { text-align: center; background: var(--surface); border: 2px solid var(--outline); border-radius: var(--radius-poster); padding: 40px 24px; box-shadow: 4px 6px 0 var(--shadow-hard); }
.cta .store-row { justify-content: center; }

/* Long-form legal / help pages */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc h2 { font-size: clamp(21px, 3vw, 26px); margin-top: 40px; scroll-margin-top: 80px; }
.doc h3 { margin-top: 24px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--text-2); font-size: 14px; margin-top: -6px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.summary { background: var(--surface); border: 2px solid var(--outline); border-radius: var(--radius-card); padding: 18px 22px; box-shadow: 3px 4px 0 var(--shadow-hard); margin: 24px 0; }
.summary h2 { margin-top: 0; font-size: 19px; }
.summary ul { margin: 0; }
.toc { border-left: 3px solid var(--violet); padding: 4px 0 4px 16px; margin: 24px 0; }
.toc ol { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--hairline); }
th { background: var(--surface-alt); font-weight: 700; }
.table-scroll { overflow-x: auto; }
details { background: var(--surface); border: 2px solid var(--outline); border-radius: 14px; padding: 4px 18px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
details[open] summary { border-bottom: 1px solid var(--hairline); margin-bottom: 8px; }
code { font-size: .92em; background: var(--surface-alt); padding: 2px 6px; border-radius: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0 40px; color: var(--text-2); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--text-2); }
