:root {
  color-scheme: light;
  --background: #f7f3ec;
  --surface: #ffffff;
  --surface-warm: #fffaf2;
  --text: #1e3251;
  --muted: #5f6d7d;
  --border: #e6e0d9;
  --accent: #003087;
  --accent-hover: #001c64;
  --sage: #53765f;
  --gold: #d7a63f;
  --shadow: 0 1.5rem 4rem rgba(30, 50, 81, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 8.5rem;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
}

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

.site-main {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  flex: 1;
  padding: 3rem 0 4rem;
}

h1 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(2.4rem, 8vw, 5.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.25rem;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.7fr);
  gap: 2rem;
  align-items: end;
  min-height: 34rem;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(215, 166, 63, 0.16), transparent 14rem),
    linear-gradient(135deg, var(--surface), var(--surface-warm));
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow,
.card-kicker,
.panel-label {
  margin: 0 0 0.85rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.status-panel,
.message-panel,
.section-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.status-panel {
  padding: 1.25rem;
}

.status-panel p:last-child,
.section-card p:last-child,
.message-panel p:last-child {
  margin-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--accent-hover);
  font-weight: 800;
}

.status-pill::before {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--sage);
  content: "";
}

.link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 2rem;
}

.button-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--surface);
  text-decoration: none;
}

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

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.section-block {
  padding-top: 4rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

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

.section-card {
  padding: 1.25rem;
}

.section-card p {
  color: var(--muted);
}

.compact-page {
  display: grid;
  place-items: center;
}

.message-panel {
  width: min(100%, 42rem);
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-footer {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem;
    border-radius: 1.25rem;
  }

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

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

@media (max-width: 420px) {
  .brand img {
    width: 7.25rem;
  }

  .site-main {
    width: min(100% - 1rem, 74rem);
    padding-top: 1rem;
  }

  .hero-section,
  .message-panel {
    padding: 1.25rem;
  }
}
