:root {
  --leaf: #3e8e63;
  --forest: #22634b;
  --mint: #e4f3e9;
  --bg: #f8f7f2;
  --surface: #ffffff;
  --ink: #1f2421;
  --muted: #5c645f;
  --flame: #ff7a30;
  --glow: #ffb443;
  --line: #e6e4dc;
  --tint: #f0f4ec;
  --button: #22634b;
  --button-ink: #ffffff;
  --shadow: 0 1px 2px rgba(31, 58, 43, .06), 0 8px 24px rgba(31, 58, 43, .08),
    0 24px 48px rgba(31, 58, 43, .06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --mint: #1f3328;
    --bg: #121613;
    --surface: #1b211d;
    --ink: #eff3f0;
    --muted: #a9b3ad;
    --line: #2a332d;
    --tint: #161c18;
    --button: #7ccb9c;
    --button-ink: #10241a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 20;
  background: var(--button); color: var(--button-ink);
  padding: 10px 16px; border-radius: 12px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.3rem; text-decoration: none;
}
.brand img { border-radius: 11px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--button); color: var(--button-ink);
  font-weight: 800; text-decoration: none; border-radius: 999px;
  padding: 10px 22px; border: 2px solid var(--button);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--leaf) 35%, transparent);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--leaf) 45%, transparent);
}
.btn-small { min-height: 44px; }
.btn-big { padding: 14px 30px; font-size: 1.08rem; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: none; border-color: var(--leaf); }
.btn-light {
  background: #fff; color: #1d5540; border-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block; background: var(--mint); color: var(--ink);
  font-weight: 800; font-size: .9rem; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 18px;
}
.lead {
  font-size: 1.22rem; color: var(--muted); margin-top: 20px;
  max-width: 34em;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.note { margin-top: 18px; font-size: .95rem; color: var(--muted); }

.phone-stage { position: relative; display: grid; place-items: center; }
.blob {
  position: absolute; width: 440px; height: 440px; border-radius: 46% 54% 58% 42%;
  background: radial-gradient(circle at 30% 30%, #bfe6cd, #7ccb9c 55%, #3e8e63);
  opacity: .5; filter: blur(4px);
}
.phone {
  position: relative; width: 300px; padding: 10px; border-radius: 46px;
  background: #18211c; box-shadow: 0 30px 70px rgba(31, 58, 43, .35);
  outline: 1px solid rgba(255, 255, 255, .14);
  transform: rotate(3deg);
}
.screen {
  border-radius: 37px; background: #f8f7f2; color: #1f2421;
  padding: 26px 16px 20px; display: grid; gap: 12px; font-size: 13px;
  line-height: 1.35;
}
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-muted { color: #6a6a6a; font-weight: 600; }
.m-name { font-size: 22px; font-weight: 900; }
.m-flame {
  background: #fff1e4; color: #c2500f; border-radius: 999px;
  padding: 6px 12px; font-size: 14px;
  box-shadow: 0 4px 14px rgba(255, 122, 48, .35);
}
.m-hero {
  background: linear-gradient(135deg, #55a077, #2f7250); color: #fff;
  border-radius: 22px; padding: 16px;
  box-shadow: 0 12px 26px rgba(31, 58, 43, .25);
}
.m-date { font-size: 10px; letter-spacing: .1em; opacity: .85; font-weight: 800; }
.m-hero-title { font-size: 20px; font-weight: 900; margin-top: 4px; }
.m-hero-body { opacity: .92; margin-top: 4px; }
.m-hero-btn {
  display: inline-block; background: #fff; color: #22634b; font-weight: 800;
  border-radius: 999px; padding: 8px 14px; margin-top: 12px;
}
.m-card {
  background: #fff; border-radius: 20px; padding: 14px;
  box-shadow: 0 8px 22px rgba(31, 58, 43, .1);
}
.m-card-title { font-weight: 800; font-size: 14px; }
.m-week { display: flex; justify-content: space-between; margin-top: 10px; }
.m-week span {
  width: 28px; height: 28px; border-radius: 50%; display: grid;
  place-items: center; font-size: 11px; font-weight: 800;
  background: #eef0ea; color: #6a6a6a;
}
.m-week .on { background: #ff7a30; color: #fff; }
.m-week .rest { background: #b9c7be; color: #fff; }
.m-week .next { border: 2px dashed #b9c7be; background: transparent; }
.m-section { font-weight: 900; font-size: 16px; margin-top: 2px; }
.m-memory { position: relative; overflow: hidden; }
.m-blur { display: grid; gap: 8px; filter: blur(5px); }
.m-line { height: 10px; border-radius: 6px; background: #c9d3cc; }
.w60 { width: 60%; background: #f3a9a9; }
.w90 { width: 90%; }
.w75 { width: 75%; }
.m-eye {
  position: absolute; inset: 0; display: grid; place-items: center;
  align-content: center; gap: 2px; font-size: 18px; text-align: center;
}
.m-eye span { font-size: 12px; font-weight: 800; }

.float {
  position: absolute; background: var(--surface); color: var(--ink);
  font-weight: 800; font-size: .95rem; padding: 10px 16px;
  border-radius: 16px; box-shadow: var(--shadow); white-space: nowrap;
}
.float-a { left: -64px; bottom: 5%; transform: rotate(-5deg); }
.float-b { right: -6px; bottom: 22%; transform: rotate(4deg); }

/* Sections */
.section { padding: 84px 0; }
.tint { background: var(--tint); }
.section h2 { text-align: center; }
.section-lead {
  text-align: center; color: var(--muted); font-size: 1.12rem;
  max-width: 38em; margin: 14px auto 0;
}
.section-lead.left { text-align: left; margin-left: 0; }

.grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 44px;
}
.card {
  background: var(--surface); border-radius: 26px; padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--mint); font-size: 26px;
  margin-bottom: 16px;
}
.card p, .steps p, .checks p { color: var(--muted); margin-top: 8px; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 44px;
}
.steps li { text-align: center; }
.num {
  display: grid; place-items: center; width: 54px; height: 54px;
  margin: 0 auto 16px; border-radius: 50%; font-weight: 900;
  font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, #ffb443, #ff7a30);
  box-shadow: 0 8px 20px rgba(255, 122, 48, .4);
}

.privacy {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px;
  align-items: center;
}
.privacy h2 { text-align: left; }
.checks { display: grid; gap: 16px; }
.checks li {
  background: var(--surface); border-radius: 22px; padding: 20px 22px 20px 64px;
  box-shadow: var(--shadow); position: relative;
}
.checks li::before {
  content: "✓"; position: absolute; left: 20px; top: 20px;
  width: 30px; height: 30px; border-radius: 50%; display: grid;
  place-items: center; font-weight: 900; color: #fff; background: var(--leaf);
}

details {
  background: var(--surface); border-radius: 20px; padding: 4px 22px;
  margin-top: 14px; box-shadow: var(--shadow);
}
details:first-of-type { margin-top: 36px; }
summary {
  cursor: pointer; font-weight: 800; font-size: 1.08rem; padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--leaf); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 18px; }

.final {
  background: linear-gradient(135deg, #2f7a55, #1d5540); color: #fff;
  border-radius: 36px; padding: 64px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(31, 58, 43, .3);
}
.final p { margin: 14px auto 28px; max-width: 32em; font-size: 1.12rem; opacity: .95; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { color: var(--muted); margin-top: 8px; }
.langs { display: flex; gap: 20px; align-items: center; }
.langs a { font-weight: 700; color: var(--muted); padding: 10px 0; }
.langs a[aria-current] { color: var(--ink); text-decoration: none; }
.copy { color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* Legal pages */
.push { margin-left: auto; }
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-top: 18px; }
.legal h2 {
  font-size: 1.35rem; text-align: left; margin-top: 40px;
  scroll-margin-top: 90px;
}
.legal p, .legal ul { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--button); font-weight: 700; }
.legal .back { text-decoration: none; }
.legal .updated { color: var(--muted); margin-top: 8px; }
.legal .summary {
  background: var(--mint); border-radius: 20px; padding: 18px 22px;
  margin-top: 24px;
}
.copy { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.copy a { color: var(--muted); padding: 4px 0; }

@media (max-width: 980px) {
  .hero-grid, .privacy { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .phone-stage { margin-top: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .bar .btn { margin-left: auto; }
  .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .blob { width: 320px; height: 320px; }
  .phone-stage { padding-bottom: 36px; }
  .float-a { left: 0; bottom: 0; }
  .float-b { right: 0; }
  .btn-big { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
