/*
 * Leximoo holding page - "Ink, Paper & Signal" (ADS §10; tokens mirror packages/ui/src/tokens/tokens.css).
 * No web fonts are fetched (no third-party requests): Newsreader (ADR-0010) is used when installed, with a
 * serif fallback; the UI sans falls back to the system stack.
 *
 * Contrast (WCAG 2.2 AA): Ink #0e1a1f on Paper #f7f5f0 = 15.8:1; muted #4b5355 on Paper = 7.6:1;
 * Paper on Ink (button) = 15.8:1. Signal Vermilion appears only in the logo artwork's mark, never as text.
 * The logo is the owner's PNG artwork under /brand (see docs/brand/README.md); the ink-coloured text in it
 * sits on Paper at the same 15.8:1.
 */
:root {
  --paper: #f7f5f0;
  --ink: #0e1a1f;
  --ink-700: #4b5355;
  --border: #ddddd9;
  --text-on-ink: #f7f5f0;
  --focus: #0e1a1f;
  --serif: Newsreader, 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans:
    'Geist Sans', 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
}

.brand {
  margin-bottom: 4rem;
}

/* The logo is a modest brand mark, not a hero: 300px on desktop, 220px on phones. The <img> srcset
   serves the 320/640px renders so the 1227px original is only fetched by very dense screens. */
.logo {
  display: block;
  width: 300px;
  max-width: 100%;
  text-decoration: none;
}

@media (max-width: 480px) {
  .logo {
    width: 220px;
  }
}

/* The lockup (wordmark + mark + tagline) is one transparent PNG. */
.lockup {
  display: block;
  width: 100%;
  height: auto;
}

/* 404: the wordmark without the tagline, smaller. */
.wordmark {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.hero {
  flex: 1;
}

.tagline {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.headline {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lede {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ink-700);
}

.contact {
  margin: 0;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--text-on-ink);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--ink-700);
}

.footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background-color 150ms ease;
  }
}
