:root {
  --ink: #20211c;
  --forest: #29473a;
  --forest-deep: #183228;
  --cream: #f4efe4;
  --paper: #fbf8f1;
  --gold: #d8ad58;
  --muted: #706f68;
  --line: rgba(32, 33, 28, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  height: 92px;
  padding: 0 clamp(24px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

nav a:hover, .footer-links a:hover { opacity: .6; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  background: var(--cream);
}

.hero-copy {
  padding: clamp(70px, 10vw, 140px) clamp(30px, 7vw, 110px);
  position: relative;
  z-index: 2;
}

.eyebrow, .section-kicker {
  margin: 0 0 22px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .22em;
}

.hero h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(54px, 7vw, 104px);
  line-height: .98;
}

.hero-text {
  max-width: 650px;
  margin: 34px 0 0;
  color: #4f5049;
  font-size: clamp(17px, 1.7vw, 21px);
}

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

.button {
  padding: 14px 22px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

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

.button.secondary {
  border: 1px solid var(--forest);
  color: var(--forest);
}

.hero-art {
  position: relative;
  min-height: 500px;
  background:
    linear-gradient(180deg, #e8cf94 0%, #f0dfb6 38%, #d3c08d 100%);
}

.sun {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #f6df9f;
  position: absolute;
  top: 100px;
  right: 19%;
  box-shadow: 0 0 80px rgba(255,245,192,.55);
}

.ridge {
  position: absolute;
  left: -20%;
  right: -10%;
  bottom: 0;
  transform-origin: bottom center;
}

.ridge-back {
  height: 48%;
  background: #6f846b;
  clip-path: polygon(0 72%, 16% 42%, 29% 59%, 46% 19%, 62% 58%, 73% 40%, 100% 74%, 100% 100%, 0 100%);
}

.ridge-front {
  height: 36%;
  background: var(--forest);
  clip-path: polygon(0 63%, 17% 28%, 34% 71%, 54% 36%, 70% 60%, 86% 20%, 100% 45%, 100% 100%, 0 100%);
}

.journey-line {
  position: absolute;
  width: 180px;
  height: 260px;
  left: 35%;
  bottom: -30px;
  border-left: 5px solid rgba(244,239,228,.58);
  border-radius: 50%;
  transform: rotate(17deg);
}

.section {
  padding: clamp(76px, 9vw, 130px) clamp(28px, 7vw, 110px);
}

.intro {
  max-width: 1220px;
}

h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.05;
}

.lead {
  max-width: 890px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
}

.books { border-top: 1px solid var(--line); }

.cards {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.card {
  min-height: 310px;
  padding: 34px 34px 50px 0;
  border-right: 1px solid var(--line);
}

.card + .card { padding-left: 34px; }

.card:last-child { border-right: 0; }

.card-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 16px;
}

.card h3 {
  margin: 60px 0 14px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

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

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 9vw;
  background: #eee6d7;
}

.split-copy {
  max-width: 680px;
  font-size: 18px;
  color: #55564f;
}

.split-copy p:first-child { margin-top: 0; }

.advertising {
  background: var(--forest-deep);
  color: white;
}

.advertising-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 9vw;
}

.advertising h2 {
  color: white;
  max-width: 650px;
}

.section-kicker.light { color: #e4bd68; }

.advertising-panel > div:last-child {
  max-width: 690px;
  font-size: 18px;
  color: #d8dfd8;
}

.api-note {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 15px;
  color: #aebdb2;
}

.contact {
  text-align: center;
}

.contact h2 {
  margin-inline: auto;
}

.contact p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-note {
  font-size: 14px !important;
}

footer {
  padding: 48px clamp(28px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-style: italic;
}

.footer-brand img {
  width: 170px;
  max-height: 55px;
  object-fit: contain;
  object-position: left center;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: #94938c;
  font-size: 12px;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 30px 120px;
}

.legal-page h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.05;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal-page p, .legal-page li {
  color: #55564f;
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  text-decoration: none;
  font-weight: 700;
  color: var(--forest);
}

@media (max-width: 800px) {
  .site-header { height: auto; min-height: 80px; padding-block: 16px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
  .cards { grid-template-columns: 1fr; }
  .card, .card + .card {
    padding: 32px 0 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .card h3 { margin-top: 28px; }
  .split, .advertising-panel { grid-template-columns: 1fr; gap: 45px; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

.page-hero {
  min-height: 520px;
  padding: clamp(90px, 12vw, 170px) clamp(28px, 7vw, 110px);
  display: flex;
  align-items: center;
  background: var(--cream);
}

.page-hero > div {
  max-width: 1060px;
}

.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.capability-section {
  border-top: 1px solid var(--line);
}

.capability-cards {
  margin-top: 60px;
}

.data-use {
  background: var(--forest-deep);
  color: white;
}

.data-use-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 9vw;
}

.data-use h2 {
  color: white;
}

.data-use-copy {
  max-width: 690px;
  font-size: 18px;
  color: #d8dfd8;
}

.review-summary {
  max-width: 1200px;
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.advertising-link {
  margin-top: 26px;
}

.advertising-link a {
  color: white;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 800px) {
  .page-hero {
    min-height: 430px;
  }

  .data-use-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

.not-found-page {
  min-height: 100vh;
  padding: clamp(50px, 9vw, 120px) clamp(28px, 7vw, 110px);
  display: flex;
  align-items: center;
  background: var(--cream);
}

.not-found-page > div {
  max-width: 900px;
}

.not-found-brand {
  display: inline-block;
  margin-bottom: 70px;
}

.not-found-brand img {
  width: min(220px, 55vw);
  max-height: 110px;
}

.not-found-page h1 {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 94px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.not-found-page .lead {
  margin-bottom: 38px;
}


.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand img,
.brand svg {
  display: block;
  height: auto;
  max-height: 72px;
  width: auto;
}

.site-header,
header {
  overflow: visible;
}
