:root {
  color-scheme: light dark;
  --bg: #f6f5f2;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --accent: #c8b99c;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #c8b99c;
  }
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
  color: var(--fg);
}

main,
footer {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.accent {
  color: #d9d9d9;
}

.lead {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.lead.social {
  margin-top: 3rem;
}

.lead a {
  color: inherit;
  text-decoration-color: currentColor;
}

.instagram-icon {
  display: block;
  width: 1.25em;
  height: 1.25em;
}

/* Link text keeps the high-contrast foreground colour; only the underline uses the accent. */
a {
  color: var(--fg);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

footer {
  color: var(--muted);
  font-size: 0.875rem;
}
