:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6b7a;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d8d2c5;
  --steel: #24445c;
  --copper: #b7633f;
  --moss: #536f59;
  --night: #101820;
  --shadow: 0 18px 54px rgba(16, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 210, 197, 0.8);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.login-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--ink);
  padding: 0 14px;
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.92;
}

.hero-copy {
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0 18px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

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

.signal-panel {
  align-self: stretch;
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(36, 68, 92, 0.88), rgba(16, 24, 32, 0.96)),
    url("data:image/svg+xml,%3Csvg width='900' height='1100' viewBox='0 0 900 1100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23f3eee3' stroke-opacity='.2'%3E%3Cpath d='M72 93h756v914H72z'/%3E%3Cpath d='M144 160h612v780H144z'/%3E%3Cpath d='M224 240h452v620H224z'/%3E%3Cpath d='M72 365h756M72 735h756M450 93v914'/%3E%3C/g%3E%3Ccircle cx='450' cy='550' r='118' fill='%23b7633f' fill-opacity='.34'/%3E%3Ccircle cx='450' cy='550' r='56' fill='%23f7f5ef' fill-opacity='.78'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: #ebe7dc;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.68fr);
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 230px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
}

.card h3 {
  font-size: 1.22rem;
}

.card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.metric-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--line);
}

.metric {
  min-height: 148px;
  padding: 22px;
  background: var(--night);
  color: white;
}

.metric strong {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: #c8d2dc;
  line-height: 1.45;
}

.legal {
  max-width: 860px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.72;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 54px 0;
  }

  .signal-panel {
    min-height: 340px;
  }

  .grid,
  .metric-band {
    grid-template-columns: 1fr;
  }
}
