:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #111111;
  --muted: #686868;
  --line: #d9d6cf;
  --accent: #e8913a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 2px;
}

.wordmark-mark span {
  width: 5px;
  height: 5px;
  background: currentColor;
}

.wordmark-mark span:nth-child(2),
.wordmark-mark span:nth-child(6),
.wordmark-mark span:nth-child(8) {
  background: var(--accent);
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

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

.header-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  min-height: 68vh;
  padding: clamp(72px, 11vw, 160px) 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.legal-hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(64px, 11vw, 156px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy {
  padding-bottom: 6px;
}

.hero-copy p {
  margin: 0 0 26px;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.4;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 8vw, 120px);
  padding: 72px 0 96px;
}

.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-copy {
  display: grid;
  gap: 36px;
}

.about-copy p {
  margin: 0;
  max-width: 780px;
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.fact {
  padding: 26px 22px 0 0;
}

.fact + .fact {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-main {
  padding-bottom: 96px;
}

.legal-hero {
  padding: clamp(64px, 9vw, 120px) 0 56px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 12ch;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.92;
}

.updated {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(40px, 9vw, 140px);
  padding-top: 56px;
}

.legal-sidebar {
  color: var(--muted);
  font-size: 14px;
}

.legal-sidebar p {
  margin-top: 0;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin: 52px 0 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #333333;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.callout {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    align-items: flex-start;
  }

  .header-nav {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: auto;
    padding: 72px 0 56px;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 108px);
  }

  .about-grid,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .fact {
    padding: 22px 0;
  }

  .fact + .fact {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
