:root {
  --ink: #10233f;
  --muted: #607087;
  --line: #dfe7e2;
  --paper: #fbfaf6;
  --white: #ffffff;
  --sage: #dce9df;
  --sage-strong: #5f8f78;
  --gold: #b9893d;
  --navy: #0b1c33;
  --shadow: 0 18px 50px rgba(16, 35, 63, 0.10);
  --radius: 8px;
  font-family: Inter, 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);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(223, 231, 226, 0.85);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0 18%, #cbded1 19% 42%, #5f8f78 43% 68%, #10233f 69%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.93rem;
  color: #31425b;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

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

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 54px;
  padding: 62px 0 38px;
}

.hero-copy {
  padding-bottom: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-strong);
  font-weight: 760;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.15rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 22px;
  color: #43546b;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 740px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 720;
  font-size: 0.95rem;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}

.button.gold {
  background: var(--gold);
  color: var(--white);
}

.hero-media {
  align-self: stretch;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 82px 0;
}

.section.compact {
  padding: 54px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 35, 63, 0.05);
}

.card.soft {
  background: #f4f8f3;
}

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

.app-card {
  display: grid;
  min-height: 250px;
  align-content: space-between;
  gap: 24px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sage);
  color: #315f4c;
  font-size: 0.78rem;
  font-weight: 720;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.category-row span {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  color: #41526a;
  font-size: 0.9rem;
}

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

.feature {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 0;
}

.page-hero {
  padding: 78px 0 50px;
}

.page-hero .lead {
  max-width: 820px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: start;
}

.panel {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.panel h2,
.panel h3 {
  color: var(--white);
}

.panel p {
  color: rgba(255, 255, 255, 0.78);
}

.disclaimer {
  border-left: 4px solid var(--gold);
  background: #fff8ed;
  color: #5e4a27;
}

.contact-options {
  display: grid;
  gap: 14px;
}

.contact-option {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.footer-inner strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 880px) {
  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 10px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 48px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-media {
    min-height: 300px;
  }

  .section,
  .page-hero {
    padding: 54px 0;
  }

  .section-head,
  .split,
  .grid.two,
  .grid.three,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .actions,
  .button {
    width: 100%;
  }

  .card,
  .panel {
    padding: 20px;
  }

  h1 {
    font-size: 2.35rem;
  }
}
