:root {
  color-scheme: light;
  --ink: #23313f;
  --muted: #667487;
  --line: #dde5ef;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --brand: #1f7a8c;
  --brand-dark: #155a68;
  --accent: #d86f45;
  --green: #4f8a64;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 16px 24px;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 380px;
  margin: 0 auto;
  max-width: 1120px;
  padding: 64px 24px 56px;
}

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

h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 20px;
}

h2 {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 16px;
}

h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 680px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--brand);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 16px;
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--brand-dark);
}

.app-preview {
  background: #25313c;
  border: 1px solid #d8e0ea;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(35, 49, 63, 0.18);
  color: #ffffff;
  padding: 18px;
}

.phone-screen {
  background: #fbfcfd;
  border-radius: 22px;
  color: var(--ink);
  min-height: 520px;
  overflow: hidden;
  padding: 18px;
}

.screen-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pill {
  background: #edf5f7;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

.metric-row,
.day-row {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 12px;
}

.metric-row strong,
.day-row strong {
  display: block;
}

.metric-row span,
.day-row span {
  color: var(--muted);
  display: block;
  font-size: 13px;
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 48px 24px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

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

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

.legal-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 260px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 42px 24px 64px;
}

.toc {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  position: sticky;
  top: 82px;
}

.toc a {
  display: block;
  font-weight: 700;
  margin: 8px 0;
}

.legal-content {
  max-width: 780px;
}

.legal-content section {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.legal-content ul {
  padding-left: 22px;
}

.notice {
  background: #fff8f1;
  border: 1px solid #f1d2bb;
  border-radius: 8px;
  color: #6f3f24;
  padding: 14px 16px;
}

.site-footer {
  background: #24313d;
  color: #dbe4ec;
  padding: 28px 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

.site-footer a {
  color: #ffffff;
  font-weight: 700;
  margin-left: 14px;
}

@media (max-width: 860px) {
  .hero-inner,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .app-preview {
    max-width: 420px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}
