:root {
  --ink: #17322b;
  --muted: #61726c;
  --forest: #176b4b;
  --forest-dark: #0f5139;
  --lime: #41b92f;
  --mint: #e5f4ec;
  --cream: #f5f2e9;
  --paper: #fffefb;
  --line: #d8e0db;
  --shadow: 0 24px 70px rgba(22, 58, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 11px 14px;
  border-radius: 8px;
  color: white;
  background: var(--forest-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell,
.nav-shell,
.legal-shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 50, 43, 0.1);
  background: rgba(255, 254, 251, 0.94);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(23, 50, 43, 0.12);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a,
.footer-links a {
  color: #526760;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover {
  color: var(--forest);
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 80px;
  padding-block: 78px 92px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(65, 185, 47, 0.13);
}

.hero h1,
.section-heading h2,
.beta-grid h2,
.privacy-callout h2,
.legal-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 6vw, 82px);
  line-height: 0.98;
}

.hero h1 em {
  color: var(--forest);
  font-style: normal;
}

.hero-intro {
  max-width: 650px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
nav a:focus-visible,
.legal-nav a:focus-visible,
.text-link:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(57, 120, 185, 0.32);
  outline-offset: 3px;
}

.button.primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 10px 25px rgba(23, 107, 75, 0.2);
}

.button.primary:hover {
  background: var(--forest-dark);
}

.button.secondary {
  border-color: #c8d4ce;
  color: var(--ink);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--forest);
  background: #f2f8f4;
}

.microcopy {
  margin: 13px 0 0;
  color: #798781;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 485px;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-visual::before {
  width: 445px;
  height: 445px;
  background: var(--mint);
}

.hero-visual::after {
  width: 330px;
  height: 330px;
  border: 1px solid rgba(23, 107, 75, 0.14);
}

.route-card {
  position: relative;
  z-index: 2;
  width: min(390px, 88%);
  padding: 23px;
  border: 1px solid rgba(23, 50, 43, 0.12);
  border-radius: 24px;
  background: rgba(255, 254, 251, 0.96);
  box-shadow: var(--shadow);
}

.route-card-back {
  position: absolute;
  z-index: 1;
  transform: rotate(6deg) translate(29px, -3px);
  opacity: 0.52;
}

.route-card-top,
.mock-route,
.mock-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--mint);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-logo {
  width: 190px;
  height: 190px;
  display: block;
  margin: -2px auto -2px;
  object-fit: cover;
  border-radius: 32px;
}

.mock-route > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-route strong {
  font-size: 14px;
}

.mock-route > strong {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.mock-route span {
  color: var(--muted);
  font-size: 10px;
}

.progress {
  height: 9px;
  overflow: hidden;
  margin: 14px 0 20px;
  border-radius: 999px;
  background: #e2e8e4;
}

.progress span {
  width: 42%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--lime));
}

.mock-stats {
  gap: 8px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.mock-stats span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.mock-stats b {
  color: var(--forest);
}

.principle-band {
  border-block: 1px solid rgba(23, 50, 43, 0.08);
  background: var(--cream);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid > div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 25px 34px;
}

.principle-grid > div + div {
  border-left: 1px solid rgba(23, 50, 43, 0.1);
}

.principle-grid strong {
  font-size: 14px;
}

.principle-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.section {
  padding-block: 112px;
  scroll-margin-top: 30px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-heading h2,
.beta-grid h2,
.privacy-callout h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.07;
}

.section-heading > p:last-child,
.beta-grid > div > p:not(.eyebrow),
.privacy-callout > div > p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 295px;
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.step-number {
  position: absolute;
  top: 25px;
  right: 27px;
  color: #a0aea8;
  font-family: Georgia, serif;
  font-size: 13px;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  border-radius: 16px;
  color: var(--forest);
  background: var(--mint);
  font-size: 28px;
  font-weight: 700;
}

.step-icon.check {
  color: white;
  background: var(--forest);
}

.steps h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.beta-section {
  color: white;
  background: var(--forest-dark);
}

.beta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  align-items: start;
  gap: 100px;
}

.eyebrow.light {
  color: #9dd4b8;
}

.beta-grid > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  gap: 9px;
  margin-top: 27px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-decoration-color: #88c8a8;
  text-underline-offset: 5px;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-list li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--forest-dark);
  background: #8dd3ac;
  font-size: 14px;
  font-weight: 900;
}

.feature-list div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feature-list strong {
  font-size: 14px;
}

.feature-list small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.privacy-callout h2 {
  font-size: 42px;
}

.privacy-callout > div > p:last-child {
  max-width: 650px;
  margin-top: 10px;
  font-size: 14px;
}

.privacy-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--forest);
  background: var(--mint);
  font-size: 38px;
  font-weight: 900;
}

footer {
  padding: 38px 0 27px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-grid > p {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 13px;
}

.footer-brand {
  font-size: 16px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.copyright {
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 50, 43, 0.09);
  color: #7b8984;
  font-size: 10px;
}

/* Privacy statement */
.legal-shell {
  padding-block: 80px 110px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 68px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(52px, 6vw, 76px);
  line-height: 1;
}

.legal-hero > p:not(.eyebrow) {
  max-width: 730px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.legal-meta span {
  padding: 7px 10px;
  border-radius: 7px;
  color: #526760;
  background: var(--cream);
  font-size: 10px;
  font-weight: 750;
}

.legal-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 760px);
  align-items: start;
  gap: 75px;
}

.legal-nav {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfa;
}

.legal-nav strong {
  margin-bottom: 10px;
  color: var(--forest-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-nav a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--forest);
}

.summary-box {
  padding: 25px 27px;
  border: 1px solid #bbd9c9;
  border-radius: 15px;
  background: #f0f8f4;
}

.summary-box > strong {
  color: var(--forest-dark);
  font-size: 14px;
}

.summary-box ul {
  margin: 15px 0 0;
  padding-left: 20px;
}

.summary-box li {
  margin: 7px 0;
  color: #405b51;
  font-size: 12px;
  line-height: 1.5;
}

.legal-content section {
  padding-top: 45px;
  scroll-margin-top: 20px;
}

.legal-content h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 23px;
  letter-spacing: -0.03em;
}

.legal-content h3 {
  margin: 27px 0 8px;
  font-size: 15px;
}

.legal-content p,
.legal-content li {
  color: #566a63;
  font-size: 14px;
  line-height: 1.78;
}

.legal-content p {
  margin: 0 0 15px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a:not(.button) {
  color: var(--forest);
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 58px;
  padding: 25px;
  border-radius: 15px;
  color: white;
  background: var(--forest-dark);
}

.contact-box > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-box strong {
  font-size: 16px;
}

.contact-box span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.contact-box .button.primary {
  color: var(--forest-dark);
  background: white;
  box-shadow: none;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    padding-top: 65px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .beta-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .legal-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }

  .legal-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .shell,
  .nav-shell,
  .legal-shell {
    width: min(100% - 34px, 1160px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  nav {
    gap: 15px;
  }

  nav a {
    font-size: 11px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 56px 70px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 65px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 425px;
  }

  .hero-visual::before {
    width: min(390px, 96vw);
    height: min(390px, 96vw);
  }

  .route-card {
    width: min(360px, 90%);
  }

  .principle-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .principle-grid > div {
    min-height: 90px;
    padding: 22px 8px;
  }

  .principle-grid > div + div {
    border-top: 1px solid rgba(23, 50, 43, 0.1);
    border-left: 0;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading {
    margin-bottom: 37px;
  }

  .steps li {
    min-height: 250px;
  }

  .privacy-callout {
    grid-template-columns: 72px 1fr;
    gap: 24px;
  }

  .privacy-mark {
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }

  .privacy-callout .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .footer-grid > p {
    margin: 5px 0;
  }

  .footer-links {
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
  }

  .legal-shell {
    padding-block: 58px 80px;
  }

  .legal-hero {
    margin-bottom: 45px;
  }

  .legal-hero h1 {
    font-size: 52px;
  }

  .legal-nav {
    display: none;
  }

  .summary-box {
    padding: 21px;
  }

  .contact-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
