:root {
  --bg: #070b10;
  --bg-2: #0c131c;
  --surface: rgba(16, 26, 38, 0.72);
  --line: rgba(168, 214, 196, 0.16);
  --text: #e7f2ee;
  --muted: #93a8a4;
  --dim: #6d817d;
  --teal: #3ee0b0;
  --teal-2: #1aa884;
  --ice: #8fd6ff;
  --amber: #e7c27a;
  --danger: #ff7d73;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1160px;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Syne", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(62, 224, 176, 0.12), transparent 55%),
    radial-gradient(700px 420px at -10% 20%, rgba(143, 214, 255, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 16, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }
.foot-logo { height: 28px; width: auto; margin-bottom: 8px; }
.mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(145deg, var(--teal), #147a62);
  position: relative; box-shadow: 0 0 24px rgba(62, 224, 176, 0.35);
}
.mark:after {
  content: ""; position: absolute; inset: 7px 6px 7px 10px;
  border: 2px solid #062018; border-left: 0; border-radius: 2px;
}
.nav-links { display: flex; gap: 22px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 18px; border: 1px solid transparent;
  background: var(--teal); color: #062018; font-weight: 700; letter-spacing: -0.02em;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); background: #67ebc4; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: rgba(255,255,255,0.04); }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }

.hero { padding: 72px 0 36px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.kicker { color: var(--teal); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 14px; }
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: 1.25rem; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; height: 460px; object-fit: cover; }
.scan {
  position: absolute; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scan 3.6s ease-in-out infinite; box-shadow: 0 0 18px var(--teal);
}
@keyframes scan { 0% { top: 14%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 84%; opacity: 0; } }
.float-card {
  position: absolute; right: -12px; bottom: 22px;
  background: rgba(8, 14, 20, 0.86); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; backdrop-filter: blur(10px); min-width: 180px;
}
.float-card strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--teal); }
.float-card span { color: var(--muted); font-size: 0.82rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 64px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.02); }
.stat b { display: block; font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 0.86rem; }

section { padding: 28px 0 64px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(8px);
}
.card img { border-radius: 16px; height: 210px; width: 100%; object-fit: cover; margin-bottom: 16px; }
.card p, .prose p { color: var(--muted); }
.tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice); margin-bottom: 8px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .bad { border-color: rgba(255, 125, 115, 0.35); }
.compare .good { border-color: rgba(62, 224, 176, 0.4); }
.list { margin: 0; padding-left: 18px; color: var(--muted); }
.list li { margin: 8px 0; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { position: relative; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.step em { font-style: normal; color: var(--teal); font-family: var(--display); font-size: 0.9rem; }

.page-hero { padding: 54px 0 10px; }
.page-hero p { color: var(--muted); max-width: 68ch; }
.prose { max-width: 78ch; }
.note { font-size: 0.86rem; color: var(--dim); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.price { font-family: var(--display); font-size: 2rem; letter-spacing: -0.04em; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
label { display: block; color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
input, textarea, select {
  width: 100%; margin-top: 6px; background: #0a1118; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 12px; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: rgba(62, 224, 176, 0.6); }
.result { font-family: var(--display); font-size: 2.2rem; color: var(--teal); letter-spacing: -0.04em; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--text); }

@media (max-width: 900px) {
  .hero, .grid-2, .compare, .calc, .grid-3, .flow, .stats, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #0b1219; border-bottom: 1px solid var(--line); padding: 16px 22px 20px; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .menu-btn { display: inline-flex; }
  .hero-visual img { height: 280px; }
  .float-card { right: 12px; }
}
