:root {
  color-scheme: dark; --ground: #0a0d12; --surface: #10151c; --text: #f1f1ee; --muted: #9aa3b0; --accent: #6fd3b4; --accent-ink: #05160f; --lead: #cfd5de; --line: #3a4350; --field-a: 190,205,225; --field-hi: 111,211,180; --field-lo: 232,120,120;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
}
:root[data-theme="light"] { color-scheme: light; --ground: #f4f5f2; --surface: #ffffff; --text: #14171a; --muted: #5d6670; --accent: #0a8a62; --accent-ink: #ffffff; --lead: #2f3740; --line: #c6cbc4; --field-a: 40,60,80; --field-hi: 10,138,98; --field-lo: 214,59,59; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.bar { position: fixed; inset: 0 0 auto 0; z-index: 10; background: var(--ground); }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.mark { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
nav a:hover { color: var(--text); }
nav .act { color: var(--accent-ink); background: var(--accent); padding: 8px 16px; font-weight: 600; border-radius: 6px; transition: transform .2s; }
nav .act:hover { color: var(--accent-ink); transform: translateY(-2px); }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 96px var(--pad) 72px; text-align: center; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; max-width: 820px; }
h1 { margin: 0; font-size: clamp(48px, 7.5vw, 112px); line-height: 1; letter-spacing: -.035em; font-weight: 650; }
.lead { margin: 32px auto 0; max-width: 36em; font-size: clamp(17px, 1.6vw, 20px); color: var(--lead); }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.btn { display: inline-block; padding: 13px 26px; background: var(--accent); color: var(--accent-ink); font-weight: 600; border-radius: 6px; text-decoration: none; transition: transform .2s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.dark { background: var(--accent); color: var(--accent-ink); }

.sec { padding: clamp(80px, 10vw, 140px) var(--pad); }
.sec.flat { background: var(--surface); }
.sec-in { max-width: 1280px; margin: 0 auto; }
h2 { margin: 0 0 clamp(48px, 7vw, 96px); max-width: 16em; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.col p { margin: 0 0 20px; max-width: 34em; }
.col .big { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.35; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.list li { background: var(--surface); padding: 24px 28px; display: grid; gap: 6px; border-radius: 8px; }
.flat .list li, .figs li { background: var(--ground); }
.list b { font-size: 20px; letter-spacing: -.01em; }
.list span { color: var(--muted); }
.figs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.figs li { border-radius: 8px; padding: 26px 28px; display: grid; grid-template-columns: minmax(110px, 200px) 1fr; align-items: center; gap: 20px; }
.figs strong { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.03em; color: var(--text); font-weight: 600; }
.figs span { color: var(--muted); }

.close { background: var(--surface); color: var(--text); padding: clamp(96px, 14vw, 200px) var(--pad); }
.close-in { max-width: 1280px; margin: 0 auto; display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.close h2 { margin: 0; font-size: clamp(34px, 5vw, 72px); max-width: none; }
.foot { padding: 32px var(--pad); color: var(--muted); font-size: 14px; }
.foot-in { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }

.rise { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.rise.in { opacity: 1; transform: none; }
.hero-in > * { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > :nth-child(2) { animation-delay: .12s; } .hero-in > :nth-child(3) { animation-delay: .24s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 860px) {
  nav a:not(.act) { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.rev .figs { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .hero-in > * { animation: none; }
  .btn, nav .act { transition: none; }
}

html, body { overflow-x: hidden; }
.bar { background: color-mix(in srgb, var(--ground) 85%, transparent); backdrop-filter: blur(14px); }
.themebtn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.themebtn:hover { transform: rotate(18deg); }
h1 { background: linear-gradient(120deg, var(--text) 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
p, li, h1, h2 { overflow-wrap: anywhere; }
@media (max-width: 860px) { .figs li { grid-template-columns: 1fr; gap: 6px; } nav { gap: 14px; } }
