:root {
  --teal: #23865b;
  --teal-dark: #155f42;
  --coral: #d45a69;
  --ink: #17201f;
  --muted: #5e6967;
  --paper: #f5faf6;
  --white: #ffffff;
  --line: #d5e2d9;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--teal-dark);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--coral);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  border-right-color: var(--coral);
  transform: rotate(-8deg);
}

.site-header nav,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.site-header nav a,
.legal-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  min-height: 74svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 9vw, 110px) clamp(18px, 4vw, 48px) clamp(48px, 8vw, 84px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.95;
  font-weight: 500;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--teal-dark);
  border-radius: 6px;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

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

.app-visual {
  width: min(100%, 430px);
  margin: 0 auto;
}

.app-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 26px 70px rgba(6, 75, 74, 0.18);
}

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 48px);
}

h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.feature-grid article {
  padding: 28px 28px 8px 0;
}

.feature-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.feature-grid p,
.legal-document p,
.legal-document li {
  color: var(--muted);
}

.safety-band {
  background: var(--teal-dark);
  color: var(--white);
}

.safety-band .section-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(30px, 7vw, 86px);
}

.safety-band p,
.safety-band li {
  color: #d9eeee;
}

.safety-band a {
  color: var(--white);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.legal-main {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 48px) 100px;
}

.legal-document > header {
  margin-bottom: 46px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-document,
.notice {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-document h1 {
  font-size: clamp(46px, 7vw, 78px);
}

.legal-document h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 25px;
  font-weight: 780;
}

.legal-document ul,
.legal-document ol {
  padding-left: 22px;
}

.notice {
  margin: 30px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  background: #fff1f3;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(18px, 4vw, 48px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer small {
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: column;
  }

  .hero,
  .safety-band .section-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .app-visual {
    max-width: 320px;
  }

  .feature-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .feature-grid article + article {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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