:root {
  --bg: #000000;
  --surface: #111113;
  --raised: #141416;
  --control: #1c1c1f;
  --line: #2a2a2e;
  --text: #f5f5f7;
  --muted: #8e8e93;
  --faint: #a1a1a6;
  --brass: #d6ff4a;
  --ink: #12140a;
  --danger: #ff5c6a;
  --orange: #ff8a5b;
  --header: 72px;
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(214, 255, 74, 0.08), transparent 60%),
    var(--bg);
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--brass);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(20px, calc((100% - 1120px) / 2));
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header nav a {
  color: var(--faint);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 28px;
}

.hero-arc {
  position: absolute;
  left: -8%;
  right: -8%;
  top: -36px;
  height: 380px;
  background: url("arc.jpg") center 18% / cover no-repeat;
  mask-image: linear-gradient(to bottom, #000 18%, transparent 76%);
  pointer-events: none;
}

.hero-copy,
.phone-wrap { position: relative; z-index: 1; }

.kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(44px, 6vw, 68px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 460px;
  margin-top: 18px;
  color: var(--faint);
  font-size: 18px;
  line-height: 1.45;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  padding: 10px 16px 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
}

.store:hover { border-color: #4a4a32; }

.store svg { flex: none; }

.store small,
.store strong { display: block; }

.store small {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.store strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.soon {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.phone-wrap { display: flex; justify-content: center; }

.phone {
  width: 320px;
  padding: 12px;
  background: #0a0a0c;
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow:
    0 0 0 1px rgba(214, 255, 74, 0.05),
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.screen {
  padding: 18px 14px 10px;
  background: #000;
  border-radius: 30px;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.day {
  margin-top: 2px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.date {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.streak {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 28px;
  color: var(--text);
  font-weight: 600;
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 18px 0 14px;
}

.pip {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--control);
}

.pip.ok .mark { background: var(--brass); color: var(--ink); }
.pip.miss .mark { background: var(--danger); color: #1a1012; }
.pip.now { color: var(--text); }
.pip.now .mark {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--brass);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
}

.score-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;
}

.score-num {
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.score-label,
.aside-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aside { text-align: right; }

.aside strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.card-kicker {
  display: flex;
  justify-content: space-between;
  color: var(--brass);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-kicker span:last-child { color: var(--muted); letter-spacing: 0; text-transform: none; }

.phone-title {
  margin: 8px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
}

.row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.dot {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid #3a3a40;
}

.row.done { color: var(--text); }
.row.done .dot {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--brass);
}

.cta {
  display: block;
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--brass);
  color: var(--ink);
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.tabbar .on { color: var(--brass); }

.section { padding: 72px 0; scroll-margin-top: 88px; }
.section.tight { padding-top: 0; }

.section h2 {
  max-width: 640px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li,
.features article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.steps span {
  color: var(--brass);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.steps h3,
.features h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.steps p,
.features p,
.note {
  color: var(--faint);
  font-size: 15px;
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.note { margin-top: 18px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer a { color: var(--faint); font-size: 14px; }

.site-footer a:hover { color: var(--text); }

.copyright { margin-top: 18px; }

.legal-page { padding: 28px 0 72px; }

.legal {
  width: min(720px, 100%);
}

.legal h1 {
  font-size: 40px;
  letter-spacing: -0.04em;
}

.legal .meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal h1 + .meta { margin-top: 14px; }

.legal h2 {
  margin-top: 32px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.legal p,
.legal li {
  margin-top: 12px;
  color: var(--faint);
  font-size: 16px;
  line-height: 1.6;
}

.legal ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.legal a { color: var(--brass); }

.mail-button {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.legal a.mail-button { color: var(--ink); }

a:focus-visible,
.store:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .hero,
  .steps,
  .features { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .site-header nav a:nth-child(3),
  .site-header nav a:nth-child(4) { display: none; }
  h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
