/* The Coming Soon page for sailing.day. Values are copied from
   design-system/tokens.json; change them there first, then here. */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/fonts/AtkinsonHyperlegibleNext-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("/fonts/AtkinsonHyperlegibleMono-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --surface: #f5f2ea;
  --ink: #0d2733;
  --ink-muted: #4b616a;
  --border: #d6d1c2;
  --brand: #0b4f62;
  --link: #0b4f62;
  --accent: #cc3c14;
  --accent-text: #b83410;
  --font-sans: "Atkinson Hyperlegible Next", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0a1d25;
    --ink: #eef2ee;
    --ink-muted: #a2b6ba;
    --border: #234450;
    --brand: #63c3d6;
    --link: #7fd0e0;
    --accent: #ff8355;
    --accent-text: #ff9670;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 1rem; line-height: 1.5rem; -webkit-text-size-adjust: 100%; }

.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 24px 32px; max-width: 1200px; margin: 0 auto; }

.logo { display: block; height: 36px; width: auto; }
header a { display: inline-block; border-radius: 6px; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.logo__sail { fill: var(--brand); }
.logo__word { fill: var(--ink); }
.logo__dot { fill: var(--accent); }

main { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 640px; padding: 48px 0; }
.eyebrow { margin: 0 0 16px; color: var(--accent-text); font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 0; font-size: 4rem; line-height: 4rem; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.lead { margin: 24px 0 0; max-width: 520px; color: var(--ink-muted); font-size: 1.125rem; line-height: 1.75rem; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--ink-muted); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.position { font-family: var(--font-mono); }

@media (max-width: 560px) {
  .page { padding: 16px; }
  h1 { font-size: 2.75rem; line-height: 3rem; }
}
