@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --night: #0b1f33;
  --night-2: #143657;
  --ice: #edf3f8;
  --paper: #ffffff;
  --ink: #14212e;
  --muted: #55657a;
  --line: #d3dfe9;
  --red: #c8102e;
  --red-deep: #9d0c24;
  --pine: #1f7a4d;
  --gold: #e9b949;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--ice); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: var(--red-deep); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* buttons */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 800; text-decoration: none; text-align: center; background: var(--red); color: #fff; }
.btn:hover { background: var(--red-deep); }
.btn.big { padding: 16px 30px; font-size: 1.15rem; }
.btn.small { padding: 8px 16px; font-size: 0.95rem; }
.btn.wide { width: 100%; }
.btn.secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.secondary:hover { background: var(--ice); }
.btn.quiet { background: none; color: var(--muted); padding: 10px 8px; font-weight: 700; }
.btn.quiet:hover { color: var(--red); background: none; }
.btn.danger { background: #fff; color: var(--red-deep); box-shadow: inset 0 0 0 1.5px var(--red); }
.btn.danger:hover { background: var(--red); color: #fff; }
.btn[disabled] { opacity: 0.55; cursor: default; }
button.link { background: none; border: 0; padding: 0; color: inherit; font-weight: inherit; text-decoration: underline; }

/* top bar */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: var(--night); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 650; font-size: 1.3rem; color: #fff; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); flex-wrap: wrap; justify-content: flex-end; }
.nav nav a:not(.btn), .nav nav button.link { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.nav nav a:not(.btn):hover, .nav nav button.link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 720px) { .site .nav nav a[href^="/#"], .site .nav nav a[href="/prepare"] { display: none; } }

/* footer */
.foot { background: var(--night); color: rgba(255, 255, 255, 0.72); padding: 36px clamp(16px, 4vw, 40px); font-size: 0.95rem; }
.foot-in { max-width: 1080px; margin: 0 auto; display: flex; gap: 28px; justify-content: space-between; flex-wrap: wrap; }
.foot p { max-width: 58ch; }
.foot strong { color: #fff; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.foot a { color: #fff; }

.fine { font-size: 0.92rem; color: var(--muted); }
.center { text-align: center; }

.brand { white-space: nowrap; }
@media (max-width: 480px) {
  .nav { padding: 12px 14px; gap: 10px; }
  .brand { font-size: 1.1rem; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .nav nav { gap: 12px; flex-wrap: nowrap; }
  .nav nav a:not(.btn), .nav nav button.link { font-size: 0.9rem; white-space: nowrap; }
  .nav .btn.small { padding: 7px 12px; font-size: 0.88rem; white-space: nowrap; }
}
