:root {
  color-scheme: light dark;
  --ink: #17211d;
  --muted: #53615b;
  --line: #d9e1dc;
  --surface: #f7faf8;
  --surface-2: #eef4f0;
  --accent: #2f6f55;
  --accent-dark: #1e4f3d;
  --accent-soft: #dbeae2;
  --warm: #f0b85a;
  --warm-dark: #d99a2f;
  --white: #ffffff;
  --bg: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(23, 33, 29, 0.04), 0 8px 24px rgba(23, 33, 29, 0.06);
  --shadow-lg: 0 2px 6px rgba(23, 33, 29, 0.06), 0 18px 50px rgba(23, 33, 29, 0.12);
  --radius: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8efea;
    --muted: #9fb0a8;
    --line: #2a3833;
    --surface: #16201c;
    --surface-2: #1b2723;
    --accent: #4f9d7c;
    --accent-dark: #79c2a2;
    --accent-soft: #1f3a2e;
    --white: #ffffff;
    --bg: #0e1613;
    --card: #14201b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 18px 50px rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.logo {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.logo svg {
  width: 24px;
  height: 24px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 650;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding: 72px 0 56px;
}

.hero-copy { min-width: 0; }

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -50vw -40px;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 18% 18%, var(--accent-soft), transparent 60%),
    radial-gradient(700px 380px at 92% 8%, rgba(240, 184, 90, 0.18), transparent 60%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

h1,
h2 {
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 820;
}

h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--warm-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
  margin: 22px 0 0;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button.primary {
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button.secondary {
  background: var(--card);
  color: var(--accent-dark);
}

.button.secondary:hover {
  transform: translateY(-2px);
  background: var(--surface);
}

.trust {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- App screenshot (hero) ---------- */

.hero-art {
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.shot {
  margin: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero-art {
    justify-self: center;
    max-width: 300px;
  }
}

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

/* ---------- Feature cards ---------- */

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 16px 0 8px;
}

.content-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.content-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feat-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 16px;
}

.feat-icon svg { width: 22px; height: 22px; }

.content-grid h2 { font-size: 1.12rem; margin-bottom: 8px; }
.content-grid p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Steps + about ---------- */

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 8px;
}

.section-head p { color: var(--muted); margin-top: 10px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0 8px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.section {
  padding: 64px 0 16px;
}

.plain-section {
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  margin: 56px 0 16px;
}

.plain-section h2 { margin-bottom: 12px; }
.plain-section p { max-width: 760px; color: var(--muted); }

.data-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.data-note svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border-radius: 20px;
  padding: 56px 32px;
  margin: 64px 0 16px;
  box-shadow: var(--shadow-lg);
}

.cta h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta p { color: rgba(255, 255, 255, 0.86); max-width: 560px; margin: 12px auto 28px; }

.cta .button.primary {
  background: var(--white);
  color: var(--accent-dark);
  border-color: var(--white);
}

.cta .button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- Policy pages ---------- */

.policy {
  max-width: 840px;
  padding: 56px 0 64px;
}

.policy h1 {
  font-size: clamp(2.25rem, 7vw, 4rem);
  margin-bottom: 20px;
}

.policy h2 {
  margin-top: 36px;
}

li + li {
  margin-top: 8px;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 28px 0 40px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent-dark); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 0 40px;
    gap: 40px;
  }
  .content-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }
  .plain-section,
  .cta { padding: 32px 22px; }
  .button {
    width: 100%;
  }
}
