@font-face {
  font-family: "ABC Monument Grotesk";
  src: url("assets/fonts/ABCMonumentGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Monument Grotesk";
  src: url("assets/fonts/ABCMonumentGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --max-width: 720px;
  --color-text: #000000;
  --color-bg: #ffffff;
  --color-muted: #DEDEDF;
  --color-fill: #EDEDEE; /* logo tile + button, matched */
  --color-surface: #fcf8e8;
  --radius: 20px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "ABC Monument Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* Only Regular (400) and Medium (500) are self-hosted; cap bold elements at
   500 so the browser uses the real Medium face instead of synthesizing 700. */
h1, h2, h3, h4, h5, h6, strong, b {
  font-weight: 500;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Homepage header — full-bleed, logo left, action right, ~40px inset */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
}

.logo {
  display: inline-flex;
}

.logo img {
  display: block;
}

/* Pill button */
.btn {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding: 0 1rem;
  border-radius: var(--radius-full);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--primary {
  background: var(--color-fill);
  color: var(--color-text);
}

/* Homepage — single viewport, no scroll; tagline centred */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home main {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 6rem 1.5rem 1.5rem;
}

.tagline {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.tagline span {
  display: block;
}

.tagline-serif {
  font-family: Georgia, "Times New Roman", Times, serif;
}

header nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

header nav a {
  color: var(--color-text);
  text-decoration: none;
}

header nav a:hover {
  text-decoration: underline;
}

main {
  min-height: 60vh;
}

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

footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 1.5rem;
}

footer nav a {
  color: var(--color-text);
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
}

/* Legal pages (terms, privacy) */
.legal h1 {
  margin-bottom: 0.25rem;
}

.legal .effective-date {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 0;
}

.legal .review-note {
  background: var(--color-surface);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 4px;
  margin: 1.5rem 0 2.5rem;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
}

.legal h3 {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.4rem;
}
