:root {
  color-scheme: dark;
  --ink: #eeeeee;
  --muted: #a2a3a7;
  --line: #33363c;
  --soft: #1e2025;
  --soft-2: #2a2d33;
  --bg: #111215;
  --blue: #3e6ae1;
  --blue-hover: #5a80ea;
  --red: #e82127;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(17, 18, 21, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
}
.header-link:hover { background: var(--soft); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Landing hero */
.hero {
  text-align: center;
  padding: 48px 8px 28px;
}
.hero h1 {
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.hero p {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
  font-size: 16px;
}

/* Two big landing buttons */
.choices {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
}
@media (min-width: 720px) {
  .choices { grid-template-columns: 1fr 1fr; }
}

.choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: var(--soft);
  border-radius: 12px;
  padding: 28px 20px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.choice { box-shadow: inset 0 0 0 1px var(--line); }
.choice:hover { transform: translateY(-2px); background: var(--soft-2); }
.choice:active { transform: scale(0.99); }

.choice svg, .choice img { width: min(220px, 70%); height: auto; margin-bottom: 18px; }

.choice h2 { font-size: 24px; font-weight: 500; margin: 0 0 4px; }
.choice p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { background: var(--soft-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.choice .btn-primary { pointer-events: none; }

/* Phones: side-by-side art and text so both buttons fit on one screen */
@media (max-width: 719px) {
  .hero { padding: 32px 8px 20px; }
  .choice {
    display: grid;
    grid-template-columns: 104px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    align-items: center;
    text-align: left;
    padding: 16px;
  }
  .choice img { grid-row: 1 / 3; width: 104px; margin: 0; }
  .choice h2 { font-size: 21px; align-self: end; }
  .choice p { margin: 0; font-size: 14px; align-self: start; }
  .choice .btn { grid-column: 1 / -1; max-width: none; margin-top: 14px; min-height: 48px; font-size: 16px; }
}
.choice:hover .btn-primary { background: var(--blue-hover); }

/* Product page */
.back {
  display: inline-block;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.back:hover { color: var(--ink); }

.product-hero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 16px 0 32px;
}
@media (min-width: 720px) {
  .product-hero { grid-template-columns: 1fr 1fr; padding-top: 28px; }
}

.product-art {
  background: var(--soft);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  justify-content: center;
}
.product-art svg { width: min(280px, 80%); height: auto; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.product-hero h1 { font-size: clamp(28px, 6vw, 38px); font-weight: 500; margin: 0 0 10px; line-height: 1.15; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 20px; }

.facts { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts span:first-child { color: var(--muted); }
.facts span:last-child { text-align: right; font-weight: 500; }

.cta-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* Phones use the sticky buy bar instead */
.desktop-only { display: none; }
@media (min-width: 720px) { .desktop-only { display: block; } }

/* Color picker */
.swatches { display: flex; gap: 10px; margin: 0 0 6px; }
.swatch {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  outline: 2px solid transparent;
  outline-offset: 3px;
}
.swatch[aria-pressed="true"] { outline-color: var(--blue); }
.swatch-label { font-size: 14px; margin: 0 0 18px; }
.swatch-label strong { font-weight: 500; }

/* Sections */
.section { padding: 32px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 22px; font-weight: 500; margin: 0 0 16px; }

.split { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } }

.card { background: var(--soft); border-radius: 12px; padding: 18px 20px; }
.card h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li + li { margin-top: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-good { background: #2e9d5b; }
.dot-warn { background: var(--red); }

.callout {
  border-left: 3px solid var(--blue);
  background: rgba(62, 106, 225, 0.14);
  padding: 14px 16px;
  font-size: 15px;
  margin: 0 0 16px;
}
.callout strong { font-weight: 600; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.size {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.size:hover { background: var(--soft); }
.size[aria-pressed="true"] { background: rgba(62, 106, 225, 0.18); box-shadow: inset 0 0 0 2px var(--blue); }

/* Guide steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px; top: 36px; bottom: 4px;
  width: 2px;
  background: var(--line);
}
.steps h3 { font-size: 16px; font-weight: 600; margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.tip { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  background: var(--soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.next small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.next span { font-size: 18px; font-weight: 500; }
.next:hover { background: var(--soft-2); }
.steps a, .callout a { color: #8aa8f5; }

/* Sticky buy bar on phones */
.buy-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(17, 18, 21, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}
.buy-bar .btn { max-width: 480px; }
@media (min-width: 720px) { .buy-bar { display: none; } }

/* Footer */
.site-footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.site-footer p { margin: 0 0 4px; }
