/* The site's other pages (consoles, privacy, terms, 404): the homepage's tokens and parts, in a file they share.
   The homepage keeps its own inline, so nothing blocks its first paint. */
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0d0e11;
  --surface: #141619;
  --surface-2: #1c1e21;
  --tile: #23252a;
  --line: rgb(255 255 255 / 8%);
  --ink: #f2f3f5;
  --muted: #a3a6ad;
  --accent: #59c8fd;
  --accent-ink: #091018;
  --margin: clamp(16px, 2vw, 28px);
  --gutter: max(var(--margin), calc((100vw - 1440px) / 2));
  --big: clamp(44px, 6.4vw, 96px);
  --large: clamp(26px, 2.6vw, 40px);
  --body: 18px;
  --small: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Geist", system-ui, sans-serif; font-size: var(--body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; padding: 0 var(--gutter); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 16px/1 "Geist", system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: var(--accent-ink);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.quiet { background: var(--surface-2); color: var(--ink); }
.btn.dark { background: var(--accent-ink); color: var(--ink); }
.text-link { text-decoration: underline 2px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 5px; transition: text-decoration-color .2s var(--ease); }
.text-link:hover { text-decoration-color: currentColor; }

/* Navigation, as on the homepage. */
.nav { display: flex; align-items: center; gap: 28px; padding: 20px var(--gutter); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; margin-right: auto; }
.wordmark img { width: 24px; height: 24px; }
.nav .links { display: flex; gap: 28px; font-size: var(--small); font-weight: 500; }
.nav .links a { text-decoration: underline 2px transparent; text-underline-offset: 5px; transition: text-decoration-color .2s var(--ease); }
.nav .links a:hover, .nav .links a[aria-current] { text-decoration-color: currentColor; }

/* The page's top: its title and lead beside a scene of the diver and Ollie. */
.head { align-items: center; padding-top: 56px; padding-bottom: 24px; }
.head .words { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; }
.head .scene { grid-column: 6 / span 7; grid-row: 1; }
.head h1 { font-size: var(--big); line-height: .92; letter-spacing: -.045em; font-weight: 900; margin-bottom: 24px; }
.head .lead { max-width: 44ch; font-size: 20px; line-height: 1.5; }
.head .updated { margin-top: 18px; color: var(--muted); font-size: var(--small); }
.scene img { width: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent); mask-image: radial-gradient(closest-side, #000 68%, transparent); } /* taste-skill-ignore: a mask, not a fill */

/* A run of sections, each a heading and its text, some with a scene beside them. */
.body { padding-bottom: 120px; }
.part { align-items: center; margin-top: 72px; }
.part .words { grid-column: 1 / span 6; }
.part .scene { grid-column: 7 / span 6; }
.part.flip .words { grid-column: 7 / span 6; grid-row: 1; }
.part.flip .scene { grid-column: 1 / span 6; grid-row: 1; }
.part.text .words { grid-column: 1 / span 8; }
.part h2 { font-size: var(--large); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; margin-bottom: 16px; }
.part h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 26px 0 8px; }
.part p { max-width: 62ch; }
.part p + p, .part ul + p, .part dl + p { margin-top: 14px; }
.part ul { margin-top: 14px; padding-left: 1.2em; max-width: 62ch; }
.part li + li { margin-top: 8px; }
.part li::marker { color: var(--accent); }
.part .muted { color: var(--muted); }
.makers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.makers div { padding: 20px 22px; border-radius: 16px; background: var(--surface); }
.makers b { display: block; margin-bottom: 8px; }
.makers ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.makers li + li { margin-top: 4px; }
.needs { display: grid; gap: 6px; margin: 20px 0 0; }
.needs div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 22px; border-radius: 14px; background: var(--surface); }
.needs dt { font-weight: 600; }
.needs dd { margin: 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The footer: the links and the line every page ends with. */
.footer { background: var(--ink); color: var(--accent-ink); padding: 72px 0 20px; }
.footer .top { align-items: start; row-gap: 32px; }
.footer .invite { grid-column: 1 / span 7; }
.footer h2 { font-size: var(--large); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.footer .invite .btn { margin-top: 28px; }
.footer .top ul { grid-column: 10 / span 3; display: grid; gap: 4px; padding: 0; list-style: none; font-weight: 500; }
.footer .top ul a, .footer .legal a { display: inline-block; padding: 4px 0; }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 64px; padding: 0 var(--gutter); font-size: var(--small); }

/* Entrances: page.js marks the parts below the first screen `later`, and each rises in turn as it arrives. */
.later { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.later.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .head .words, .head .scene, .part .words, .part .scene, .part.flip .words, .part.flip .scene, .part.text .words { grid-column: 1 / -1; grid-row: auto; }
  .head { padding-top: 24px; row-gap: 8px; }
  .part { margin-top: 56px; row-gap: 8px; }
  .part .scene { order: -1; }
  .makers { grid-template-columns: minmax(0, 1fr); }
  .needs div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer .invite, .footer .top ul { grid-column: 1 / -1; }
  .footer .top ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
}
@media (max-width: 720px) {
  .nav .links { display: none; }
}
@media (max-width: 400px) {
  .nav .for { display: none; }
}
