:root {
  --ink: #172126;
  --muted: #627176;
  --paper: #fbfaf6;
  --soft: #f2efe7;
  --white: #ffffff;
  --teal: #0f766e;
  --blue: #176b87;
  --gold: #d99a2b;
  --red: #bb3e2b;
  --green: #567c45;
  --line: rgba(23, 33, 38, .13);
  --shadow: 0 20px 70px rgba(24, 33, 38, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 19px;
  letter-spacing: .1px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a { color: #314045; }
.nav-links a:hover { color: var(--teal); }

.nav-cta, .button-primary, .button-secondary, .button-dark, .button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.nav-cta, .button-dark { background: var(--ink); color: var(--white) !important; }
.button-primary { background: var(--gold); color: #1f1608; }
.button-secondary { border-color: rgba(255,255,255,.55); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--line); }

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,25,30,.9), rgba(7,25,30,.5), rgba(7,25,30,.1));
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 92px 0 62px;
}

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

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}

.hero p {
  max-width: 655px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions, .action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.quick-panel {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-item {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.quick-item:last-child { border-right: 0; }
.quick-item strong { display: block; margin-bottom: 6px; font-size: 18px; }
.quick-item span { color: var(--muted); line-height: 1.45; }

.band { margin: 78px auto; }

.page-hero {
  background: #10252a;
  color: var(--white);
  padding: 78px 0 54px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--red), var(--green));
}

.page-hero h1 { max-width: 860px; font-size: clamp(38px, 6vw, 68px); }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.6; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.section-head p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.card-body { padding: 20px; }
.card h2, .card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.link-card {
  transition: transform .16s ease, box-shadow .16s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(24, 33, 38, .12);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf7f4;
  color: #0f5f58;
  font-size: 13px;
  font-weight: 800;
}

.pill.gold { background: #fff4dd; color: #83550e; }
.pill.red { background: #fff0ed; color: #9a2d1e; }
.pill.blue { background: #eaf5fb; color: #175b76; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-bar a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #33454b;
  font-weight: 750;
  font-size: 14px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-row {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-row strong { font-size: 18px; }
.feature-row p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.split h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 52px);
}

.split p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.notice {
  border-left: 5px solid var(--gold);
  background: #fff8e9;
  padding: 18px;
  border-radius: 8px;
  color: #493714;
  line-height: 1.55;
}

.highlight-band {
  background: var(--soft);
  padding: 48px 0;
}

.price {
  font-size: 34px;
  font-weight: 900;
  margin: 12px 0;
}

.footer {
  margin-top: 90px;
  padding: 44px 0;
  color: #dbe5e6;
  background: #10252a;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer h3, .footer h4 { margin: 0 0 12px; color: var(--white); }
.footer p, .footer a { color: rgba(255,255,255,.72); line-height: 1.6; }
.footer a { display: block; margin: 7px 0; }

@media (max-width: 940px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav-links { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero { min-height: 76vh; }
  .quick-panel, .grid-2, .grid-3, .grid-4, .split, .footer-grid {
    grid-template-columns: 1fr;
  }
  .quick-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-item:last-child { border-bottom: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .feature-row { grid-template-columns: 1fr; }
}
