:root {
  color-scheme: light dark;
  --ink: #071a16;
  --muted: #65746f;
  --mint: #1ed9a3;
  --mint-deep: #08765d;
  --glass: rgba(247, 255, 251, 0.72);
  --glass-line: rgba(255, 255, 255, 0.86);
  --bg-a: #f7f5e9;
  --bg-b: #dff8ed;
  --bg-c: #d6f4ee;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4fff9;
    --muted: #b8cac4;
    --mint: #35e6b3;
    --mint-deep: #81f4d1;
    --glass: rgba(12, 32, 26, 0.72);
    --glass-line: rgba(255, 255, 255, 0.15);
    --bg-a: #11160f;
    --bg-b: #09251c;
    --bg-c: #0b2b27;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 2%, rgba(30, 217, 163, 0.24), transparent 32rem),
    linear-gradient(145deg, var(--bg-a), var(--bg-b) 52%, var(--bg-c));
  line-height: 1.62;
}
main { width: min(100% - 32px, 1040px); margin: auto; padding: 20px 0 56px; }
nav, .glass, .card, details {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: 0 22px 70px rgba(3, 39, 28, 0.11), inset 0 1px rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 999px;
  position: sticky;
  top: 10px;
  z-index: 3;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.links { display: flex; flex-wrap: wrap; gap: 16px; }
a { color: inherit; font-weight: 750; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
.hero { border-radius: 36px; padding: clamp(30px, 7vw, 74px); margin: 22px 0 16px; }
.eyebrow { color: var(--mint-deep); font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
h1 { font-size: clamp(42px, 8vw, 78px); line-height: 1; letter-spacing: -0.045em; margin: 12px 0 18px; max-width: 900px; }
h2 { font-size: clamp(25px, 4vw, 35px); line-height: 1.15; margin: 0 0 12px; }
h3 { font-size: 21px; margin: 0 0 8px; }
p { color: var(--muted); font-size: 17px; margin: 8px 0; }
.lead { font-size: clamp(18px, 2.5vw, 23px); max-width: 820px; }
.badge { display: inline-block; margin-top: 14px; padding: 8px 13px; border-radius: 999px; color: var(--mint-deep); background: rgba(30, 217, 163, 0.13); font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.card, section.glass { border-radius: 28px; padding: 24px; }
.wide { margin: 14px 0; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #06251c; background: var(--mint); font-weight: 900; margin-bottom: 16px; }
details { padding: 18px 20px; margin: 10px 0; border-radius: 22px; }
summary { cursor: pointer; font-weight: 800; font-size: 18px; }
footer { padding: 30px 7px 0; color: var(--muted); font-size: 14px; }
footer .links { margin-top: 8px; }

@media (max-width: 700px) {
  nav { position: static; border-radius: 26px; align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .hero { border-radius: 30px; padding: 31px 23px; }
}

@media print {
  body { background: #fff; color: #000; }
  nav { position: static; }
  nav, .glass, .card, details { background: #fff; box-shadow: none; backdrop-filter: none; border: 1px solid #ccc; }
}
