:root {
  color-scheme: light;
  --bg: #f8f8f6;
  --surface: #ffffff;
  --ink: #211f1b;
  --muted: #67635c;
  --line: #dcd9d2;
  --accent: #ca7038;
  --accent-dark: #713817;
  --accent-soft: #f3e1d3;
  --green: #2d7250;
  --green-soft: #e0efe7;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; }

.site-header,
footer {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.brand img { width: 31px; height: 31px; }

nav a,
.text-link {
  color: var(--muted);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

nav a:hover,
.text-link:hover { color: var(--accent-dark); }

.hero {
  min-height: min(720px, calc(100vh - 86px));
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(450px, 1.14fr);
  gap: 72px;
  align-items: center;
}

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

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

h1 { font-size: clamp(62px, 8vw, 112px); }
h2 { font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 23px; }

.lead {
  max-width: 600px;
  margin: 30px 0 26px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.product-visual {
  min-height: 480px;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(33, 31, 27, .08);
}

.route-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 16px;
  padding: 20px 22px;
  border-left: 4px solid var(--line);
}

.route-step-accent {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.step-number {
  grid-row: 1 / 3;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.route-step strong { font-size: 20px; }
.route-step span:last-child { color: var(--muted); font-size: 15px; }
.route-line { width: 1px; height: 34px; margin-left: 24px; background: var(--line); }

.band {
  padding: 96px max(24px, calc((100% - var(--content)) / 2));
  background: #252b29;
  color: #f7f7f4;
}

.band .eyebrow { color: #efb68f; }
.section-heading { max-width: 680px; margin-bottom: 62px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

.feature-grid article { border-top: 1px solid #505755; padding-top: 24px; }
.feature-index { color: #efb68f; font-size: 13px; font-weight: 800; }
.feature-grid h3 { margin-top: 42px; }
.feature-grid p { margin: 18px 0 0; color: #c7ccc9; }

.api-section,
.privacy-callout,
.policy-layout {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.policy-layout > * { min-width: 0; }

.api-section {
  padding: 110px 0;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 92px;
}

.api-copy p:last-child { margin-top: 28px; color: var(--muted); font-size: 20px; }

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--accent-dark);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .88em;
  overflow-wrap: anywhere;
}

.access-list { margin: 0; border-top: 1px solid var(--line); }
.access-list div { padding: 24px 0; display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid var(--line); }
.access-list dt { color: var(--green); font-weight: 800; }
.access-list dd { margin: 0; color: var(--muted); }

.privacy-callout {
  padding: 70px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  background: var(--green-soft);
  border-radius: 8px;
}

.privacy-callout p { margin: 0 0 26px; color: #395b49; }
.privacy-callout .eyebrow { color: var(--green); }

.button-link {
  display: inline-block;
  padding: 13px 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.button-link:hover { background: var(--green); color: #fff; }

footer {
  min-height: 160px;
  margin-top: 96px;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand img { width: 32px; height: 32px; color: var(--accent-dark); }
footer p { margin: 0; }

.policy-layout {
  padding: 82px 0 20px;
  display: grid;
  grid-template-columns: 330px minmax(0, 720px);
  justify-content: space-between;
  gap: 90px;
}

.policy-intro { position: sticky; top: 30px; align-self: start; }
.policy-intro h1 { font-size: 48px; overflow-wrap: anywhere; }
.policy-intro > p:not(.eyebrow) { color: var(--muted); }
.updated { margin-top: 32px; font-size: 14px; }
.policy-content section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { border-bottom: 0; }
.policy-content h2 { font-size: 29px; }
.policy-content p,
.policy-content ul { color: var(--muted); }
.policy-content li { margin-bottom: 9px; }

@media (max-width: 900px) {
  .hero,
  .api-section,
  .privacy-callout,
  .policy-layout { grid-template-columns: 1fr; }
  .hero { gap: 42px; padding-top: 54px; }
  .product-visual { min-height: auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 38px; }
  .feature-grid h3 { margin-top: 18px; }
  .api-section { gap: 44px; }
  .privacy-callout { gap: 34px; }
  .policy-layout { gap: 48px; }
  .policy-intro { position: static; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header,
  footer,
  .hero,
  .api-section,
  .privacy-callout,
  .policy-layout { width: min(calc(100% - 32px), var(--content)); }
  .site-header { min-height: 74px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 40px; height: 40px; }
  nav a { font-size: 14px; }
  h1 { font-size: 56px; }
  h2 { font-size: 34px; }
  .lead { font-size: 19px; }
  .product-visual { padding: 26px 20px; }
  .route-step { grid-template-columns: 42px 1fr; padding: 16px 10px; }
  .band { padding-top: 70px; padding-bottom: 70px; }
  .api-section { padding: 76px 0; }
  .access-list div { grid-template-columns: 1fr; gap: 6px; }
  .privacy-callout { padding: 34px 24px; }
  .policy-layout { padding-top: 54px; }
  .policy-intro h1 { font-size: 30px; overflow-wrap: normal; }
  .policy-content h2 { font-size: 25px; }
  footer { margin-top: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
