:root {
  color-scheme: light;
  --ink: #17332e;
  --muted: #5f716d;
  --brand: #00665c;
  --brand-dark: #004b44;
  --coral: #ef735f;
  --paper: #fffefa;
  --wash: #f2f7f3;
  --line: #d9e4df;
}

* { 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;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, .96);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img { width: 42px; height: 42px; border-radius: 12px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 72px;
  min-height: 620px;
  padding-block: 72px;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 6vw, 72px); }
h2 { margin-top: 2.2em; font-size: clamp(28px, 4vw, 38px); }
h3 { margin: 0 0 8px; font-size: 21px; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(19px, 2vw, 23px); }

.app-icon {
  width: min(100%, 330px);
  justify-self: center;
  border-radius: 28%;
  box-shadow: 0 28px 70px rgba(0, 75, 68, .16);
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--brand);
  color: white;
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: var(--brand-dark); color: white; }
.button-disabled { background: #dce5e1; color: #667671; cursor: not-allowed; }

.features { padding: 80px 0 100px; background: var(--wash); }
.section-heading { max-width: 620px; margin: 0 0 38px; }
.section-heading h2 { margin: 0 0 12px; }
.section-heading p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.card p { margin-bottom: 0; color: var(--muted); }

.legal { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 96px; }
.legal h1 { font-size: clamp(38px, 6vw, 56px); }
.legal .updated { margin: 10px 0 42px; color: var(--muted); }
.legal li + li { margin-top: 8px; }
.notice { padding: 20px 22px; border-left: 4px solid var(--coral); background: #fff5f1; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 640px); }
  .nav { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .nav-links { gap: 14px; padding-bottom: 8px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 46px; padding-block: 56px 72px; }
  .hero-copy { order: 2; }
  .app-icon { order: 1; width: 180px; }
  .cards { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; }
}
