:root {
  /* Kickdin site: white canvas, cool grey surfaces, electric-blue action colour, volt highlight. Same system as the app. */
  --bg: #ffffff;
  --surface: #f5f7fb;
  --line: #e3e8f1;
  --ink: #0d1424;
  --ink2: #3a4458;
  --muted: #6b7489;
  --accent: #2d5bff;
  --accent-soft: #eaf0ff;
  --volt: #d7ff3f;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink2); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(45, 91, 255, .45); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; line-height: 1.15; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand em { font-style: normal; color: var(--accent); }
.top nav { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.top nav a { color: var(--ink2); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

/* Landing */
.hero { padding: 72px 0 56px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.kicker { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin: 16px 0 16px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 32ch; margin: 0 0 28px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.store small { display: block; font-weight: 500; font-size: 11.5px; opacity: .75; }
.store.soon { background: var(--surface); color: var(--ink2); }
.card { justify-self: center; width: min(100%, 300px); border-radius: 26px; padding: 22px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #5b7cff 0%, var(--accent) 45%, #1a2fb0 100%); box-shadow: 0 24px 48px rgba(45, 91, 255, .28); }
.card .ovr { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: .9; color: var(--volt); }
.card .pos { font-weight: 800; letter-spacing: .08em; font-size: 14px; }
.card .av { width: 92px; height: 92px; border-radius: 50%; margin: 10px auto; background: rgba(255, 255, 255, .15); border: 2px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 34px; }
.card .name { text-align: center; font-family: var(--display); font-weight: 800; font-size: 25px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.card .stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin-top: 12px; }
.card .stats b { display: block; font-family: var(--display); font-size: 24px; }
.card .stats span { font-size: 11px; font-weight: 700; letter-spacing: .08em; opacity: .8; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 8px 0 72px; }
.feature { background: var(--surface); border-radius: 18px; padding: 20px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--accent); margin-bottom: 14px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }

/* Legal pages */
.doc { max-width: 720px; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--accent-soft); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--surface); color: var(--ink); font-weight: 700; }
.tbl { overflow-x: auto; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink2); text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .features { grid-template-columns: 1fr 1fr; }
  .top nav { display: none; }
}
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }
