/* SplitPrism lander — dark, one ground-glass accent (#EDEDEF), as in the app.
   Type follows the app: Radio Canada for text and numbers, Atkinson
   Hyperlegible Mono for paths and file names only, Big Shoulders for titles. */

@font-face {
  font-family: "Big Shoulders";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/big-shoulders-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Big Shoulders";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/big-shoulders-latin-800-normal.woff2") format("woff2");
}
/* Variable: weight 300–700, width 75–100%. */
@font-face {
  font-family: "Radio Canada";
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/fonts/radio-canada-latin-wdth-normal.woff2") format("woff2-variations"),
       url("/fonts/radio-canada-latin-wdth-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2") format("woff2-variations"),
       url("/fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ground: #0b0b0d;
  --panel: #18181b;
  --border: #232327;
  --border-strong: #2c2c30;
  --text: #ededef;
  --text-2: #b9b9c0;
  --text-3: #9a9aa2;
  --ghost: #6e6e76;
  --accent: #ededef;
  --accent-line: #3a3a40;
  /* Emphasised words sit a step back, like the half not yet in focus. */
  --accent-em: #8a8a93;
  --pick: #4cc38a;
  --reject: #e5484d;
  --display: "Big Shoulders", system-ui, sans-serif;
  --sans: "Radio Canada", system-ui, -apple-system, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; font-family: var(--display); text-transform: uppercase; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1312px;
  margin: 0 auto;
  padding: 28px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.brand-mark { width: 26px; height: 26px; }
.brand-sub { font-size: 13px; color: var(--ghost); }
.spacer { flex: 1; }
.nav a { font-size: 14px; color: var(--text-2); }
.nav a:hover { color: var(--text); }
/* Phone: the section links go; brand and Download stay on one line. */
@media (max-width: 700px) {
  .nav { gap: 14px; padding: 22px 16px; }
  .nav a:not(.btn-dl), .brand-sub { display: none; }
}

.btn-dl {
  background: var(--accent);
  color: #141416 !important;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  padding: 14px 26px;
}
.btn-dl.small { font-size: 13px; padding: 8px 18px; }
.btn-dl:hover { filter: brightness(1.08); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 15px;
}
.btn-ghost:hover { border-color: var(--accent-line); }

/* ── Hero ── */
.hero {
  position: relative;
  max-width: 1312px;
  margin: 0 auto;
  padding: 76px 24px 64px;
}
.hero h1 {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.92;
}
.hero h1 em { font-style: normal; color: var(--accent-em); }
.lede { max-width: 620px; margin: 28px 0 0; font-size: 18px; line-height: 28px; color: var(--text-2); }
.cta-row { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
/* Readouts and small print: narrowed like the app's numbers. */
.fine { font-size: 13px; font-stretch: 88%; line-height: 1.7; color: var(--ghost); margin: 24px 0 0; }

.keycap {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-bottom: 5px solid #0a0a0c;
  font-size: 28px;
  font-weight: 500;
}
.kc-p { right: 150px; top: 36px; rotate: -8deg; color: var(--pick); }
.kc-x { right: 228px; top: 196px; rotate: -4deg; color: var(--reject); }
.kc-5 {
  right: 66px; top: 150px; rotate: 6deg;
  color: #141416; background: var(--accent);
  border-color: var(--accent); border-bottom-color: #9a9aa2;
}
@media (max-width: 900px) { .keycap { display: none; } }

/* ── App shot: framed like the app window, the split prism sitting on its edge ── */
.appshot { padding: 96px 24px 0; }
.shot-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.shot-wrap .shot {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.65),
    0 0 140px rgba(237, 237, 239, 0.05);
}
/* Centred on the window's top edge, the split line laid along it. */
.peeker {
  position: absolute;
  top: -60px;
  right: 84px;
  width: 120px;
  pointer-events: none;
}
@media (max-width: 700px) {
  .peeker { width: 76px; top: -38px; right: 30px; }
}
.caption {
  font-size: 13px;
  font-stretch: 88%;
  color: var(--ghost);
  text-align: center;
  padding: 20px 24px 4px;
  margin: 0;
}

/* ── Bands ── */
.band {
  max-width: 1312px;
  margin: 0 auto;
  padding: 110px 24px 90px;
}
.band h2 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; line-height: 1; }
.body-copy { max-width: 620px; margin: 18px 0 0; font-size: 16px; line-height: 27px; color: var(--text-2); }

/* Tuesday ledgers */
.ledgers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
@media (max-width: 900px) { .ledgers { grid-template-columns: 1fr; } }
.ledger {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 28px;
  font-size: 15px;
  line-height: 1.5;
}
.ledger-h { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.ledger.dim { color: var(--ghost); }
.ledger.dim .ledger-h { color: var(--text-3); }
.ledger.hot { border-color: var(--accent-line); }
.ledger.hot .ledger-h { color: var(--accent); }
/* Padding, not line-height, spaces the rows, so a wrapped line stays tight. */
.lrow { display: flex; gap: 18px; padding: 6px 0; }
.lrow b { font-weight: 600; font-stretch: 88%; flex-shrink: 0; }

/* Keys band */
.keys { display: flex; gap: 56px; margin-top: 44px; flex-wrap: wrap; }
.caps { display: flex; gap: 10px; }
.cap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-bottom-width: 4px;
  border-bottom-color: #0a0a0c;
  font-size: 17px;
  font-weight: 500;
}
.cap.on { border-color: var(--accent); color: var(--accent); }
.cap.pick { color: var(--pick); }
.cap.reject { color: var(--reject); }
.cap.wide { min-width: 130px; }
.keylabel { display: block; margin-top: 12px; font-size: 13px; color: var(--ghost); }

/* Split bands */
.split { display: grid; grid-template-columns: 480px 1fr; gap: 80px; align-items: center; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.giant {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 16vw, 230px);
  line-height: 0.85;
  color: var(--accent);
}
.giant-sub { display: block; margin-top: 18px; font-size: 14px; font-stretch: 88%; color: var(--ghost); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-size: 14px;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 18px;
}
.chip.hot { color: var(--accent); border-color: var(--accent-line); }

/* Files are sacred */
.rules { font-size: 15px; }
/* Templates and paths are the only mono on the page. */
.rules code { font-family: var(--mono); font-size: 13.5px; }
.rule {
  display: flex;
  gap: 26px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.rule:first-child { border-top: 1px solid var(--border); }
.rule b { color: var(--ghost); font-weight: 400; font-stretch: 88%; }
.rule.hot span { color: var(--accent); }

/* Kit */
.kit { margin-top: 40px; }
.kit-row {
  position: relative;
  padding: 24px 4px 24px 26px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 16px;
}
.kit-row:first-child { border-top: 1px solid var(--border); }
.kit-row::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 33px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.stack { font-size: clamp(44px, 6vw, 66px) !important; line-height: 1.05 !important; }

/* ── Footer ── */
.footer {
  position: relative;
  text-align: center;
  padding: 140px 24px 0;
  overflow: hidden;
}
.outro { font-size: clamp(56px, 8vw, 100px); font-weight: 800; }
.outro em { font-style: normal; color: var(--accent-em); }
.footer .btn-dl { display: inline-block; margin-top: 36px; }
.footer .fine { margin: 44px 0 0; }
/* Only the last line clears the mascot, so stacked lines stay together. */
.footer .fine + .fine { margin-top: 14px; }
.footer .fine:last-of-type { padding-bottom: 150px; }
.credit a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.credit a:hover { color: var(--text-2); }
/* The footer's mark is the aligned one: by the end, everything's in focus. */
.peek {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  pointer-events: none;
}

/* ── Inbox (0.2) ── */
.eyebrow { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--text-3); }
.band.inbox .shot-wrap { margin-top: 48px; }
.inbox-rules { max-width: 1180px; margin: 40px auto 0; }

/* ── Develop shot under the kit ── */
.kit-shot { margin: 56px 0 0; }
