:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #5b6863;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --line: #d8e2de;
  --green: #1f765b;
  --blue: #1c5b88;
  --blue-dark: #113f5c;
  --amber: #b46b19;
  --teal-soft: #dff1eb;
  --shadow: 0 22px 60px rgba(24, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.page-shell {
  min-height: 100svh;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 48px;
  align-items: center;
  min-height: 78svh;
  overflow: hidden;
  padding: 72px clamp(24px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(243, 247, 245, 0.98), rgba(243, 247, 245, 0.82)),
    repeating-linear-gradient(0deg, rgba(24, 35, 31, 0.04), rgba(24, 35, 31, 0.04) 1px, transparent 1px, transparent 58px),
    repeating-linear-gradient(90deg, rgba(24, 35, 31, 0.035), rgba(24, 35, 31, 0.035) 1px, transparent 1px, transparent 76px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7rem);
  line-height: 0.94;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: #34413d;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.status-row span {
  padding: 8px 12px;
  border: 1px solid rgba(24, 35, 31, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #34413d;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-visual {
  min-width: 0;
}

.query-window {
  padding: 20px;
  border: 1px solid rgba(28, 91, 136, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--line);
}

.redaction-line {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 40px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid rgba(31, 118, 91, 0.24);
  border-radius: 8px;
  background: var(--teal-soft);
}

.redaction-line span {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.data-grid span {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(28, 91, 136, 0.18);
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--blue-dark);
  font-weight: 800;
}

.notice-band {
  padding: 44px clamp(24px, 5vw, 72px);
  color: #ffffff;
  background: var(--blue-dark);
}

.notice-band div,
.legal {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.notice-band p {
  max-width: 780px;
  margin: 0;
  color: #dcecf6;
}

.legal {
  padding: 72px clamp(24px, 5vw, 72px) 84px;
}

.legal-page h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.legal-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.legal-grid p {
  margin: 0;
  color: var(--muted);
}

.legal-page .legal-grid h2 {
  margin: 0 0 10px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.15;
}

.legal-note {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid rgba(180, 107, 25, 0.22);
  color: #6a3c0f !important;
  font-size: 0.92rem;
  font-weight: 750;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(28, 91, 136, 0.24);
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--blue-dark);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
  }

  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero,
  .notice-band,
  .legal {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .query-window {
    transform: none;
  }

  .redaction-line,
  .data-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .redaction-line span {
    justify-self: start;
  }
}
