:root {
  color-scheme: light;
  --brand: #005a37;
  --brand-deep: #003d29;
  --ink: #11241c;
  --muted: #5f7168;
  --paper: #fff8ed;
  --paper-warm: #f4e6d1;
  --line: rgba(0, 90, 55, 0.18);
  --shadow: 0 28px 80px rgba(0, 61, 41, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.95), transparent 30rem),
    linear-gradient(145deg, #fffaf2 0%, var(--paper) 42%, var(--paper-warm) 100%);
}

a {
  color: var(--brand-deep);
  text-decoration-color: rgba(0, 90, 55, 0.35);
  text-underline-offset: 0.24em;
}

a:hover {
  color: var(--brand);
  text-decoration-color: currentColor;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(1.5rem, 4vw, 4rem);
  place-items: center;
}

.coming-soon,
.legal-page {
  width: min(100%, 46rem);
  text-align: center;
}

.brand-mark {
  display: block;
  width: min(48vw, 16rem);
  height: auto;
  margin: 0 auto clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0 auto;
  color: var(--brand-deep);
  font-size: clamp(3.25rem, 12vw, 7.5rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.92;
}

.intro {
  max-width: 36rem;
  margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  color: var(--muted);
  font-size: 0.96rem;
}

.legal-shell {
  align-items: start;
  padding-top: clamp(2rem, 8vw, 6rem);
}

.legal-page {
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: var(--shadow);
}

.legal-mark {
  display: block;
  width: 6rem;
  height: auto;
  margin: 1.6rem auto 1.4rem;
  border-radius: 1rem;
}

.back-link {
  display: inline-flex;
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .page-shell {
    padding: 1.2rem;
  }

  .brand-mark {
    width: min(68vw, 13rem);
    border-radius: 1.4rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links span {
    display: none;
  }
}
