:root {
  --bg: #f6f1e5;
  --bg-deep: #0b382a;
  --panel: rgba(255, 253, 247, 0.88);
  --panel-strong: #fffdf7;
  --text: #18241d;
  --muted: #6f6a5e;
  --line: rgba(24, 36, 29, 0.12);
  --emerald: #0f5f44;
  --emerald-dark: #073425;
  --gold: #c99a32;
  --gold-soft: #f1dfae;
  --cream: #fffbf1;
  --danger-soft: #fff3ed;
  --shadow: 0 20px 60px rgba(25, 31, 24, 0.12);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(201, 154, 50, 0.22), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(15, 95, 68, 0.15), transparent 28rem),
    linear-gradient(145deg, #fbf7ec 0%, var(--bg) 58%, #efe3c6 100%);
  color: var(--text);
  font-family: var(--sans);
}

body {
  margin: 0;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 95, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 95, 68, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

a {
  color: inherit;
}

.shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 38px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.58);
  box-shadow: 0 14px 40px rgba(39, 41, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--emerald-dark);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: block;
  object-fit: cover;
  background: var(--cream);
  box-shadow:
    0 8px 22px rgba(9, 59, 42, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.nav a {
  padding: 9px 12px;
  border: 1px solid rgba(15, 95, 68, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #425347;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.nav a:hover {
  border-color: rgba(201, 154, 50, 0.45);
  background: rgba(255, 251, 241, 0.9);
  color: var(--emerald-dark);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 50px);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(247, 237, 212, 0.86)),
    var(--panel-strong);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 95, 68, 0.09), transparent 42%),
    radial-gradient(circle at 88% 15%, rgba(201, 154, 50, 0.2), transparent 15rem);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(201, 154, 50, 0.34);
  border-radius: 999px;
  background: rgba(15, 95, 68, 0.06);
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 680px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
}

p,
li {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 18px 0 0;
  color: #475247;
  font-size: 16px;
  line-height: 1.68;
}

.side {
  display: grid;
  gap: 12px;
}

.mini-card {
  border: 1px solid rgba(15, 95, 68, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.9), rgba(255, 249, 233, 0.72));
  padding: 20px;
  box-shadow: 0 14px 34px rgba(25, 31, 24, 0.08);
}

.mini-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--emerald-dark);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 900;
}

.mini-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card {
  margin-top: 16px;
  padding: clamp(22px, 3.6vw, 36px);
}

.card a,
.text-link {
  color: var(--emerald);
  font-weight: 850;
  text-decoration-color: rgba(201, 154, 50, 0.45);
  text-underline-offset: 3px;
}

.notice {
  margin-top: 16px;
  border: 1px solid rgba(201, 154, 50, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 248, 229, 0.9), var(--danger-soft));
  padding: 16px 18px;
}

.footer {
  margin-top: 32px;
  color: rgba(24, 36, 29, 0.58);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1040px);
    padding-top: 14px;
  }

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

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 18px;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1;
    text-align: center;
  }

  .hero-card {
    padding: 28px 24px;
  }

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