:root {
  --bg: #090a0d;
  --text: #f2f4f8;
  --muted: #9aa2b1;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.045);
  --accent: #5c8cff;
  --glow: #73c7ff;
  --violet: #8c6bff;
  --grad: linear-gradient(100deg, var(--glow), var(--accent) 55%, var(--violet));
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.aurora {
  position: fixed;
  inset: -20vh -20vw auto;
  height: 110vh;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(40vw 30vh at 30% 25%, rgba(92, 140, 255, 0.28), transparent 70%),
    radial-gradient(36vw 28vh at 70% 45%, rgba(140, 107, 255, 0.22), transparent 70%),
    radial-gradient(30vw 24vh at 45% 60%, rgba(115, 199, 255, 0.14), transparent 70%);
  filter: blur(20px);
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2vw, 0, 0) scale(1); }
  to { transform: translate3d(2vw, 2vh, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) { .aurora { animation: none; } }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.lang { color: var(--muted); font-size: 15px; text-decoration: none; }
.lang:hover { color: var(--text); }

.hero { text-align: center; padding: 64px 0 40px; }
.hero .icon { width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 30px 80px rgba(92, 140, 255, 0.35); }

h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 34px auto 18px;
  max-width: 820px;
  font-weight: 750;
}

h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lede { font-size: clamp(18px, 2.3vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto; }

.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn.primary { background: var(--grad); border-color: transparent; color: #fff; }
.btn[aria-disabled="true"] { cursor: default; opacity: 0.9; }
.btn small { font-weight: 500; opacity: 0.75; }
.btn svg { width: 20px; height: 20px; }

.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

.pad {
  position: relative;
  margin: 72px auto 0;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 40px 120px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.pad svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pad .trail { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.6s cubic-bezier(.4, 0, .2, 1) infinite; }
.pad .dot { animation: dot 3.6s cubic-bezier(.4, 0, .2, 1) infinite; offset-path: path("M 90 330 C 260 330, 300 120, 520 140 S 640 90, 680 120"); }

@keyframes draw { 0% { stroke-dashoffset: 900; opacity: 0; } 10% { opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dot { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 70% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .pad .trail { animation: none; stroke-dashoffset: 0; }
  .pad .dot { animation: none; offset-distance: 100%; }
}

section { padding: 96px 0 0; }

h2 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 14px; font-weight: 720; }
.sub { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 0 40px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card { padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(92, 140, 255, 0.16); color: var(--glow); }
.card .ic svg { width: 22px; height: 22px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.plan { padding: 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.plan.pro { border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; position: relative; }
.plan.pro::before { content: ""; position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(160deg, rgba(92, 140, 255, 0.12), rgba(140, 107, 255, 0.06)); pointer-events: none; }
.plan h3 { margin: 0; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.plan .price { color: var(--muted); margin: 6px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--grad); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 7.2-5.3 6a1 1 0 0 1-1.5 0l-2.4-2.6a1 1 0 1 1 1.5-1.4l1.6 1.8 4.6-5.2a1 1 0 0 1 1.5 1.4z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 7.2-5.3 6a1 1 0 0 1-1.5 0l-2.4-2.6a1 1 0 1 1 1.5-1.4l1.6 1.8 4.6-5.2a1 1 0 0 1 1.5 1.4z"/></svg>') center/contain no-repeat; }
.tag { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 99px; background: var(--grad); color: #fff; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { padding: 24px; border-radius: 22px; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(92, 140, 255, 0.22); font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

footer { margin-top: 110px; padding: 30px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer .links { display: flex; gap: 20px; }

/* Privacy */
.doc { max-width: 720px; padding: 40px 0 0; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); margin: 10px 0 8px; text-align: left; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: #c9ced8; }
.doc .tldr { padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: 18px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 64px 0 24px; }
