:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5d6a7c;
  --line: #d9e0e8;
  --paper: #f7f3ec;
  --white: #ffffff;
  --teal: #0f7b75;
  --blue: #285f9f;
  --coral: #c6533d;
  --gold: #c68b2d;
  --shadow: 0 18px 50px rgba(27, 36, 55, .12);
  --radius: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(22, 32, 51, .1);
  background: rgba(247, 243, 236, .92);
  backdrop-filter: blur(12px);
}

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

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.mark-symbol {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--teal), var(--gold), var(--coral), var(--blue), var(--teal));
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.75);
}

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

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

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

.hero {
  border-bottom: 1px solid rgba(22, 32, 51, .1);
  background:
    linear-gradient(120deg, rgba(15, 123, 117, .16), rgba(198, 139, 45, .08) 43%, rgba(198, 83, 61, .12)),
    var(--paper);
}

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

.hero-inner {
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 44px 0 56px;
}

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

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

h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 84px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #334257;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
}

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

.button.ghost {
  border-color: rgba(22,32,51,.18);
  background: var(--white);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-stack img:nth-child(1) {
  grid-column: 1 / 3;
  aspect-ratio: 16 / 9;
}

.media-stack img {
  border: 1px solid rgba(22, 32, 51, .12);
  background: var(--white);
}

section {
  padding: 74px 0;
}

.section-kicker {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  border: 1px solid rgba(22, 32, 51, .12);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(27,36,55,.07);
}

.card-body {
  padding: 20px;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8f3f1;
  color: #08645f;
  font-size: 12px;
  font-weight: 850;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.panel {
  border: 1px solid rgba(22, 32, 51, .12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.calc-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: #2d3a4d;
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd4df;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(15, 123, 117, .22);
  border-color: var(--teal);
}

.result {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #edf0f4;
  padding: 12px 0;
}

.metric strong {
  font-size: 22px;
}

.result-total {
  border: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: #162033;
  color: var(--white);
}

.result-total span {
  color: #d4dee8;
}

.result-note {
  color: var(--muted);
  font-size: 14px;
}

.content-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding-left: 24px;
  position: relative;
}

.content-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.band {
  background: #162033;
  color: var(--white);
}

.band .section-kicker,
.band p {
  color: #cbd6e2;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(22, 32, 51, .1);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .card {
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(27,36,55,.1);
  }
}
