:root {
  color-scheme: light;
  --ink: #25352d;
  --muted: #647269;
  --paper: #fffaf2;
  --shell: #f6f2ea;
  --sage: #dce8df;
  --mint: #4d8d83;
  --coral: #e16b4f;
  --gold: #e5ae3f;
  --line: #cbd5cd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 760;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  display: inline-flex;
  font-size: 14px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  padding: 9px 12px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--sage);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  min-height: calc(100vh - 72px);
  padding: 64px 56px 76px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--coral);
  font-size: 13px;
  font-weight: 780;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 820;
}

h2 {
  font-size: 24px;
  font-weight: 780;
}

.lead {
  color: var(--muted);
  font-size: 22px;
  margin: 24px 0 0;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 720;
  justify-content: center;
  min-height: 48px;
  min-width: 144px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-media {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.hero-media img {
  aspect-ratio: 14 / 9;
  object-fit: cover;
  width: 100%;
}

.band {
  background: var(--sage);
  padding: 64px 56px;
}

.content-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 28px;
}

.info-card p {
  color: var(--muted);
  margin: 18px 0 0;
}

.statement {
  background: var(--paper);
  padding: 72px 56px;
}

.statement > div {
  max-width: 920px;
}

.statement p {
  color: var(--muted);
  font-size: 19px;
  margin: 20px 0 0;
}

.legal-page,
.contact-page {
  min-height: calc(100vh - 162px);
  padding: 70px 32px;
}

.legal-header,
.legal-content,
.contact-panel {
  margin: 0 auto;
  max-width: 860px;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
}

.legal-header h1,
.contact-panel h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.legal-header p:last-child,
.contact-panel p {
  color: var(--muted);
  font-size: 19px;
  margin: 20px 0 0;
}

.legal-content {
  padding-top: 18px;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 34px;
}

.legal-content p {
  color: var(--muted);
  margin: 12px 0 0;
}

.auth-result pre {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
  padding: 16px;
  white-space: pre-wrap;
}

.auth-error {
  background: #fff0eb;
  border: 1px solid var(--coral);
  border-radius: 8px;
  color: var(--ink);
  padding: 14px 16px;
}

.legal-content a,
.contact-link {
  color: var(--mint);
  font-weight: 730;
}

.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px;
}

.contact-link {
  display: inline-block;
  font-size: 24px;
  margin-top: 28px;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 90px;
  padding: 24px 32px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--paper);
  font-weight: 680;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    position: static;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 22px 56px;
  }

  .hero-media {
    order: -1;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .band,
  .statement {
    padding: 44px 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav a {
    padding: 8px 9px;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

  .legal-page,
  .contact-page {
    padding: 44px 18px;
  }

  .contact-panel {
    padding: 28px;
  }

  .contact-link {
    font-size: 20px;
    overflow-wrap: anywhere;
  }
}
