@font-face { font-family: Sora; src: url(/fonts/Sora-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ground: #F3EDE2; --card: #FFFBF4; --ink: #1F2A36; --muted: #5B6470; --line: #D9CFBF;
  --track: #EAE1D2; --accent: #C8501E; --on-accent: #FFFBF4; --accent-hover: #A8421A;
  --berry: #B33A3A; --dot: #CFC3AF; --sage: #3E7A5C;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #14191F; --card: #1E252E; --ink: #ECE5D8; --muted: #A7AFB9; --line: #333D49;
    --track: #2A323D; --accent: #F08A4B; --on-accent: #14191F; --accent-hover: #F6A877;
    --berry: #E36A6A; --dot: #38424F; --sage: #7CC39C;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 18px/1.55 Figtree, system-ui, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 26px/1 Sora, sans-serif; letter-spacing: -0.8px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; font-size: 16px; }
.bar nav a { color: var(--ink); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--accent); }

h1, h2, h3 { font-family: Sora, sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 66px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 28px; border: 2px solid transparent; font: 700 17px/1 Figtree, sans-serif; text-decoration: none; cursor: pointer; }
.btn-main { background: var(--accent); color: var(--on-accent); }
.btn-main:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--card); color: var(--ink); }

.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 24px 0 72px; }
.hero-copy { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-copy .lead { font-size: 20px; color: var(--muted); max-width: 34rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { font-size: 15px; font-weight: 700; color: var(--muted); }

.play { flex: 1 1 300px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.play-card { width: 100%; max-width: 360px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px; }
.play-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 700; font-size: 15px; }
.track { flex: 1; height: 10px; border-radius: 5px; background: var(--track); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
#board { width: 100%; height: auto; touch-action: none; display: block; cursor: pointer; }
.play-note { font-size: 14px; color: var(--muted); text-align: center; min-height: 1.5em; }
.play-note.win { color: var(--sage); font-weight: 700; }

section { padding: 64px 0; }
.band { background: var(--card); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.pains p { background: var(--ground); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.band .pains p { background: var(--ground); }

.feature { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 28px 0; }
.feature:nth-child(even) { flex-direction: row-reverse; }
.feature .txt { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.feature .txt p { color: var(--muted); max-width: 32rem; }
.shot { flex: 1 1 240px; margin: 0; display: flex; justify-content: center; }
.shot img { width: min(100%, 270px); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(31,42,54,.14); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font: 800 30px/1 Sora, sans-serif; color: var(--accent); }

.video { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.video .txt { flex: 999 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.player { flex: 1 1 260px; max-width: 340px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; position: relative; background: #11151D; border: 0; padding: 0; cursor: pointer; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.player span { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.player span::after { content: ""; border-left: 22px solid var(--on-accent); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.player iframe { width: 100%; height: 100%; border: 0; }

.faq { max-width: 46rem; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.faq details p { padding: 0 0 16px; color: var(--muted); }

.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.doc { max-width: 46rem; padding: 16px 0 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 32px 0 10px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc .meta { color: var(--muted); margin-bottom: 20px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
