/* My Player Kit website, "Volt night": the same black and electric lime as the app. */
:root {
  --bg: #0a0d0b;
  --surface: #151a16;
  --surface-2: #1e2520;
  --line: #2a332d;
  --fg: #f2f5ef;
  --muted: #98a49b;
  --volt: #c8ff3d;
  --on-volt: #0a0d0b;
  --volt-soft: #26331a;
  --amber: #ffc23d;
  --coral: #ff6b5e;
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--volt); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }

/* Header */
header.bar { position: sticky; top: 0; z-index: 10; background: rgba(10, 13, 11, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
header.bar .wrap { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: .02em; color: var(--fg); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--volt); display: grid; place-items: center; }
.brand .mark svg { width: 16px; height: 16px; }
nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
nav a:hover { color: var(--fg); background: var(--surface); }
nav a.cta { background: var(--volt); color: var(--on-volt); font-weight: 600; }
nav a.cta:hover { background: #d6ff6a; color: var(--on-volt); }
@media (max-width: 640px) { nav a.hide-sm { display: none; } }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; line-height: .98; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(52px, 8.5vw, 104px); }
h1 em, h2 em { font-style: normal; color: var(--volt); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: 24px; line-height: 1.1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--volt); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 52ch; margin: 22px 0 32px; }
.meta { color: var(--muted); font-size: 14px; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--volt); color: var(--on-volt); text-decoration: none; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; transition: transform .15s, background .15s; }
.button:hover { background: #d6ff6a; transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.button.ghost:hover { background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small-print { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding-block: 72px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 72px 56px; }
.hero.simple { display: block; padding-bottom: 24px; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 16px 0 0; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card .icon { width: 44px; height: 44px; border-radius: 13px; background: var(--volt-soft); color: var(--volt); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .step { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--volt); margin-bottom: 10px; }
.card.feature { background: var(--volt); color: var(--on-volt); border-color: var(--volt); }
.card.feature p, .card.feature .step { color: rgba(10,13,11,.72); }
.price { font: 700 52px/1 var(--display); margin: 8px 0 12px; }
.price small { font: 500 16px var(--body); color: inherit; opacity: .7; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.steps li { list-style: none; counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--volt); color: var(--on-volt); font: 700 20px/1 var(--display); margin-bottom: 16px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ul.ticks li { padding-left: 34px; position: relative; color: var(--muted); }
ul.ticks li strong { color: var(--fg); }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--volt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8ff3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Phone mockup (drawn in HTML, matches the app) */
.phone { justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px; background: #1c211d; border: 1px solid #2f3831; box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset; transform: rotate(-2deg); }
.screen { height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden; padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; position: relative; }
.screen .top { display: flex; justify-content: space-between; align-items: center; }
.screen .hi { font: 700 26px/1 var(--display); }
.screen .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--volt); color: var(--on-volt); display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.screen .tile { border-radius: 18px; padding: 14px; background: var(--surface); }
.screen .tile.volt { background: var(--volt); color: var(--on-volt); }
.screen .score { font: 700 58px/.9 var(--display); letter-spacing: -1px; }
.screen .score span { font-size: 20px; opacity: .55; }
.screen .bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.screen .bars i { flex: 1; background: rgba(10,13,11,.28); border-radius: 3px; }
.screen .bars i:last-child { background: var(--on-volt); }
.screen .label { opacity: .7; font-size: 11px; font-weight: 600; }
.screen .row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
.screen .row + .row { border-top: 1px solid var(--line); }
.screen .time { font: 700 18px/1 var(--display); }
.screen .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.screen .stat { background: var(--surface-2); border-radius: 12px; padding: 8px 10px; }
.screen .stat b { display: block; font: 700 20px/1.1 var(--display); }
.screen .tabbar { margin-top: auto; display: flex; justify-content: space-around; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.screen .tabbar span { width: 34px; height: 30px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.screen .tabbar span.on { background: var(--volt); color: var(--on-volt); width: 50px; }
.screen .tabbar svg { width: 15px; height: 15px; }

/* Final call to action */
.band { background: var(--volt); color: var(--on-volt); border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; gap: 20px; justify-items: start; }
.band p { margin: 0; font-size: 19px; max-width: 52ch; opacity: .8; }
.band .button { background: var(--on-volt); color: var(--volt); }
.band .button:hover { background: #1b221d; }

/* Legal pages */
.legal { max-width: 72ch; padding-block: 56px 96px; }
.legal h1 { font-size: clamp(44px, 6vw, 64px); margin-bottom: 12px; }
.legal h2 { font-size: 30px; margin: 44px 0 12px; }
.legal p, .legal li { color: #d3d9d0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); }
.draft { background: var(--volt-soft); border: 1px solid #3c4f22; padding: 14px 18px; border-radius: 14px; font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 15px; margin-top: 40px; }
footer .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
footer .brand { font-size: 18px; margin-right: auto; }
section > h2 { margin-bottom: 28px; }
section > .grid + .meta { margin-top: 16px; }

/* Progress screen in the players page phone */
.screen .streak { flex: 1; background: var(--on-volt); color: var(--fg); border-radius: 10px; padding: 6px 8px; font-size: 10px; line-height: 1.2; }
.screen .streak b { display: block; color: var(--volt); font: 700 17px/1.1 var(--display); }
.screen .obj { position: relative; padding: 4px 0 4px 22px; font-size: 11.5px; }
.screen .obj::before { content: ''; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line); }
.screen .obj.done { color: var(--muted); text-decoration: line-through; }
.screen .obj.done::before { border: 0; width: 15px; height: 15px; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0d0b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat; }
