@font-face {
  font-family: 'Rouzz Display';
  src: url(fonts/big-shoulders-display.woff2) format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rouzz Sans';
  src: url(fonts/public-sans.woff2) format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBF6EF;
  --surface: #FFFFFF;
  --surface-2: #F2E8D8;
  --ink: #1B1712;
  --muted: #6E6255;
  --line: #E7DBC7;
  --alarm: #FE9402;
  --alarm-ink: #1B1712;
  --whisper: #0A66D6;
  --glow: rgba(254,148,2,.30);

  --font-display: 'Rouzz Display', 'Arial Narrow', sans-serif;
  --font-body: 'Rouzz Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14100B;
    --surface: #1E1811;
    --surface-2: #241C13;
    --ink: #F6EFE4;
    --muted: #B6A896;
    --line: #332920;
    --alarm: #FE9402;
    --alarm-ink: #14100B;
    --whisper: #4DA3FF;
    --glow: rgba(254,148,2,.42);
  }
}
:root[data-theme="dark"] {
  --bg: #14100B;
  --surface: #1E1811;
  --surface-2: #241C13;
  --ink: #F6EFE4;
  --muted: #B6A896;
  --line: #332920;
  --alarm: #FE9402;
  --alarm-ink: #14100B;
  --whisper: #4DA3FF;
  --glow: rgba(254,148,2,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, 92%); margin-inline: auto; }

.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 1.1rem 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding: .8rem 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.01em; text-decoration: none; }
.nav .brand { color: var(--ink); }
.brand img { width: 22px; height: 22px; flex-shrink: 0; border-radius: 5px; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
@media (max-width: 719px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--whisper); outline-offset: 3px; }
.btn-primary { background: var(--alarm); color: var(--alarm-ink); box-shadow: 0 8px 24px -8px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px var(--glow); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
