/* Tokens from Ellard Health's design bundle (design artifact, Step 2.5). Colours and type only.
   Contrast measured 2026-09-26: ink/paper 16.25:1, teal/paper 5.83:1, muted/paper 5.05:1. */

@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #1b6b6b;
  --accent-soft: color-mix(in oklch, var(--accent) 16%, var(--paper));
  --accent-ink: color-mix(in oklch, var(--accent) 65%, black);
  --ink: #1a1a1a;
  --paper: #f8f7f4;
  --muted: #6a6a6a;
  --line: #e2e2dc;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

.panel {
  width: 100%;
  max-width: 480px;
  padding: 48px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
}

.monogram {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.tagline {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.soon {
  margin: 28px 0 0;
  font-size: 17px;
}

.contact {
  margin: 12px 0 0;
}

a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--accent-ink);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

footer p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 400px) {
  .panel {
    padding: 36px 20px;
  }

  h1 {
    font-size: 30px;
  }
}
