:root {
  --bg1: #ffe3d8; --bg2: #ecd5ff; --bg3: #cfe6ff;
  --ink: #33305a; --soft: #6a6594; --accent: #8b7cf6; --accent2: #f49ac1;
  --card: rgba(255,255,255,.82); --line: rgba(80,60,150,.12);
}
@media (prefers-color-scheme: dark) {
  :root { --bg1: #23214a; --bg2: #2b2457; --bg3: #1b2a48; --ink: #f1eeff; --soft: #c3bde6; --card: rgba(255,255,255,.08); --line: rgba(255,255,255,.12); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); line-height: 1.6;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: linear-gradient(160deg, var(--bg1), var(--bg2) 50%, var(--bg3)) fixed;
  min-height: 100vh;
}
a { color: var(--accent); font-weight: 700; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav a { margin-left: 18px; color: var(--soft); text-decoration: none; font-weight: 800; font-size: 15px; }
nav a:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 50px 0 40px; }
.hero h1 { font-size: clamp(42px, 7vw, 66px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -1px; }
.hero p.lead { font-size: 20px; color: var(--soft); margin: 0 0 26px; max-width: 30em; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; flex-direction: column; padding: 10px 18px; border-radius: 14px; background: #1d1b33; color: #fff; text-decoration: none; min-width: 160px; }
.badge small { font-size: 11px; opacity: .8; font-weight: 700; }
.badge b { font-size: 18px; }
.badge.soon { opacity: .9; }
.tubes { display: flex; gap: 22px; justify-content: center; align-items: flex-end; height: 300px; }
.tube { width: 64px; height: 220px; border: 5px solid rgba(255,255,255,.95); border-top: 0; border-radius: 0 0 32px 32px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.25); box-shadow: 0 12px 30px rgba(60,40,120,.18); animation: bob 5s ease-in-out infinite; }
.tube::before { content: ''; position: absolute; top: 0; left: -1px; right: -1px; height: 0; }
.tube:nth-child(2) { animation-delay: -1.6s; height: 250px; }
.tube:nth-child(3) { animation-delay: -3.2s; }
.tube i { position: absolute; left: 0; right: 0; height: 22%; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .tube { animation: none; } }
section { padding: 34px 0; }
h2 { font-size: 30px; margin: 0 0 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 6px 22px rgba(60,40,120,.08); }
.card .ico { font-size: 28px; }
.card h3 { margin: 6px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--soft); }
.pro { background: linear-gradient(135deg, rgba(255,207,92,.35), rgba(255,159,110,.3)); }
.doc { background: var(--card); border-radius: 26px; padding: 34px clamp(20px, 5vw, 48px); margin: 20px 0 50px; box-shadow: 0 8px 30px rgba(60,40,120,.08); }
.doc h1 { font-size: 34px; margin: 0 0 4px; }
.doc .meta { color: var(--soft); font-weight: 700; margin-bottom: 22px; }
.doc h2 { font-size: 22px; margin-top: 30px; }
.doc h3 { font-size: 17px; margin-bottom: 4px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--soft); }
.note { background: rgba(139,124,246,.12); border-radius: 14px; padding: 12px 16px; }
.steps li { margin: 6px 0; }
footer { padding: 30px 0 40px; color: var(--soft); font-size: 14px; border-top: 1px solid var(--line); }
footer .links a { margin-right: 16px; color: var(--soft); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .tubes { height: 220px; }
  .tube { width: 50px; height: 170px; } .tube:nth-child(2) { height: 195px; }
  .grid { grid-template-columns: 1fr; }
  nav a { margin-left: 12px; font-size: 14px; }
  nav a.hide-sm { display: none; }
}
