/* Tokens match launcher/ui/base.css so the site and the app read as one product. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ground: #f4f3ef;
  --panel: #ebeae5;
  --line: #d9d7cf;
  --ink: #111;
  --muted: #5e5b53;
  --white: #fff;
  --blue: #1d5bd8;
  --orange: #f26b1d;
  --go: #15803d;
  --go-hover: #116b33;
  --shadow: 0 1px 2px rgb(17 17 17 / 0.06), 0 6px 16px -6px rgb(17 17 17 / 0.18);
  --shadow-up: 0 2px 4px rgb(17 17 17 / 0.08), 0 12px 24px -8px rgb(17 17 17 / 0.24);
  --glow: 0 2px 4px rgb(21 128 61 / 0.2), 0 12px 24px -10px rgb(21 128 61 / 0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.5 "Archivo", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2 { font-weight: 900; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 860; }
h3 { font-size: 19px; font-weight: 760; letter-spacing: -0.01em; line-height: 1.25; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--blue); color: var(--white); }
.muted { color: var(--muted); }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

main, .top, .foot { width: min(1120px, 100% - 32px); margin-inline: auto; }
main { display: grid; gap: 16px; padding-bottom: 16px; }
@media (min-width: 760px) { main, .top, .foot { width: min(1120px, 100% - 64px); } }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 19px; font-weight: 900; letter-spacing: -0.035em; text-decoration: none; }
.mark { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 16; stroke-linejoin: round; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--white); font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow); transition: box-shadow 160ms var(--ease), transform 160ms var(--ease);
}
.pill:hover { box-shadow: var(--shadow-up); transform: translateY(-1px); }

/* Hero */
.hero { display: grid; gap: 32px; align-items: center; padding: 24px 0 16px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 76px); }
.lede { margin-top: 20px; max-width: 34ch; font-size: clamp(17px, 2vw, 20px); line-height: 1.4; color: var(--muted); }
.cta { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.fine { font-size: 14px; color: var(--muted); }

.download {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 64px; padding: 8px 28px; border-radius: 16px;
  background: var(--go); color: var(--white); font-size: 17px; font-weight: 760; letter-spacing: -0.01em; text-decoration: none;
  box-shadow: var(--glow); transition: background 160ms, transform 160ms var(--ease);
}
.download:hover { background: var(--go-hover); transform: translateY(-1px); }
.download:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* The two team fields meet under the window, like the halves of a pitch. */
.stage {
  position: relative; overflow: hidden; padding: 28px; border-radius: 20px;
  background: linear-gradient(90deg, var(--blue) 50%, var(--orange) 50%);
  box-shadow: var(--shadow);
}
.stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px;
  translate: -50% -50%; border: 3px solid rgb(255 255 255 / 0.2); border-radius: 50%;
}
.stage img {
  position: relative; display: block; width: 100%; height: auto;
  border-radius: 14px; box-shadow: var(--shadow-up);
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; padding-top: 40px; }
}
@media (max-width: 560px) { .stage { padding: 12px; } .download { width: 100%; } }

/* Stone trays are flat; white pills and cards are what lift. */
.panel, .setup, .notes, .final { padding: 28px; border-radius: 20px; background: var(--panel); }
@media (max-width: 560px) { .panel, .setup, .notes, .final { padding: 20px 16px; } }

.modes { display: grid; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border-radius: 999px; background: var(--white); font-weight: 600; box-shadow: var(--shadow);
}

/* Setup (read mode): numbered, one idea per step. */
.setup { display: grid; gap: 24px; }
.steps { display: grid; gap: 12px; counter-reset: step; }
.steps > li {
  position: relative; display: grid; gap: 10px; padding: 20px 20px 22px 84px;
  border-radius: 14px; background: var(--white); box-shadow: var(--shadow); counter-increment: step;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-size: 22px; font-weight: 900;
}
.steps p, .tips, .sub { max-width: 62ch; }
.tips { display: grid; gap: 8px; }
.tips li, .sub li { padding-left: 16px; position: relative; }
.tips li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.sub { counter-reset: sub; display: grid; gap: 8px; }
.sub li { counter-increment: sub; padding-left: 28px; }
.sub li::before { content: counter(sub) "."; position: absolute; left: 0; font-weight: 760; }
@media (max-width: 560px) {
  .steps > li { padding: 76px 16px 20px; }
  .steps > li::before { left: 16px; top: 16px; }
}

.notes { display: grid; gap: 24px; }
.cards { display: grid; gap: 12px; }
.cards li { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.duo { display: grid; gap: 16px; }
.duo .panel { display: grid; gap: 16px; align-content: start; }
.list { display: grid; gap: 8px; }
.list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.list li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--go); }
.duo p { max-width: 52ch; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }

.final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--white); }
.final h2 { font-size: clamp(32px, 5vw, 52px); }
@media (max-width: 560px) { .final .download { width: 100%; } }

.foot { display: grid; gap: 6px; padding: 28px 0 48px; font-size: 14px; color: var(--muted); }
.foot a { display: inline-block; padding-block: 12px; margin-block: -12px; }

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