@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght.woff2) format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f9;
  --text: #101124;
  --muted: #5f6178;
  --border: #e7e7ee;
  --primary: #5646f0;
  --primary-hover: #4636de;
  --primary-soft: #efedff;
  --brand: #14123a;
  --brand-2: #1d1a52;
  --accent: #a79eff;
  --ok: #15804d;
  --ok-soft: #e7f6ee;
  --warn: #9a5b00;
  --warn-soft: #fff4e0;
  --danger: #d33a41;
  --danger-soft: #fdedee;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 17, 36, 0.04), 0 8px 24px rgba(16, 17, 36, 0.06);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
code { font-family: var(--mono); font-size: 0.9em; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(86, 70, 240, 0.35); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: #fff; color: var(--text); border-color: #d5d5e0; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

/* ---- Navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 18, 58, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.brand-dark { color: var(--text); }
.nav nav { display: flex; gap: 26px; flex: 1; }
.nav nav a, .link-light { color: rgba(236, 234, 255, 0.78); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover, .link-light:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 15% 0%, #3a2fb8 0%, rgba(20, 18, 58, 0) 60%),
    radial-gradient(700px 500px at 100% 100%, #2a2280 0%, rgba(20, 18, 58, 0) 60%),
    var(--brand);
  padding: 96px 0 120px; margin-top: -68px; padding-top: 164px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: #d9d5ff; background: rgba(167, 158, 255, 0.12); border: 1px solid rgba(167, 158, 255, 0.25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.035em; line-height: 1.05; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #c4bdff, #8d82ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 24px; font-size: 18px; line-height: 1.65; color: rgba(236, 234, 255, 0.8); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: rgba(236, 234, 255, 0.75); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg, .list svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.rings { position: absolute; inset: 0; pointer-events: none; }
.rings span { position: absolute; border-radius: 50%; border: 1px solid rgba(167, 158, 255, 0.18); }
.rings span:nth-child(1) { width: 1100px; height: 1100px; right: -420px; top: -360px; }
.rings span:nth-child(2) { width: 800px; height: 800px; right: -270px; top: -210px; }
.rings span:nth-child(3) { width: 500px; height: 500px; right: -120px; top: -60px; }
.rings i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px var(--accent); right: 640px; top: 120px; animation: drift 14s ease-in-out infinite alternate; }
.rings-soft span { border-color: rgba(167, 158, 255, 0.12); }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(60px, 40px); } }
@media (prefers-reduced-motion: reduce) { .rings i { animation: none; } html { scroll-behavior: auto; } }

.hero-visual { position: relative; }
.window {
  background: rgba(12, 11, 34, 0.75); border: 1px solid rgba(167, 158, 255, 0.22); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06); overflow: hidden;
}
.window-small { position: relative; margin: 18px -24px 0 auto; width: 74%; background: rgba(24, 22, 64, 0.95); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.window-bar b { margin-left: 10px; font-size: 12px; font-weight: 600; color: rgba(236, 234, 255, 0.6); font-family: var(--mono); }
.window pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; color: #e6e4ff; }
.window code { font-size: inherit; }
.k { color: #c4a6ff; } .s { color: #8fe3b5; } .f { color: #8fc6ff; } .n { color: #ffcf8a; } .c { color: rgba(236, 234, 255, 0.45); }
.check { display: flex; align-items: center; gap: 10px; padding: 0 20px 16px; font-size: 13px; color: rgba(236, 234, 255, 0.75); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: rgba(93, 211, 154, 0.15); color: #5dd39a; }
.pill-warn { background: rgba(243, 180, 81, 0.15); color: #f3b451; }
.pill-danger { background: var(--danger-soft); color: var(--danger); }

/* ---- Strip ---- */
.strip { border-bottom: 1px solid var(--border); background: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 26px 24px; color: var(--muted); font-weight: 600; font-size: 14px; }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #c9c9d6; margin-right: 30px; }

/* ---- Sections ---- */
.section { padding: 112px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.kicker { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.kicker-light { color: var(--accent); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; }
.sub { margin-top: 18px; font-size: 18px; color: var(--muted); line-height: 1.65; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d9d6ff; }
.feature h3 { font-size: 19px; margin: 18px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; }
.icon svg, .eu-grid svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split .sub { margin-bottom: 28px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.list li svg { stroke: var(--primary); margin-top: 3px; }
.list b { color: var(--text); }

.panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(16, 17, 36, 0.1); display: grid; gap: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.finding { display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: var(--bg-alt); }
.finding .code { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--danger); background: var(--danger-soft); padding: 3px 8px; border-radius: 6px; height: fit-content; }
.finding b { font-size: 15px; }
.finding p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.finding code { background: #fff; border: 1px solid var(--border); padding: 1px 5px; border-radius: 4px; }
.panel-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 4px; border-top: 1px solid var(--border); padding-top: 14px; }
.panel-foot .bad { color: var(--danger); font-weight: 700; }

.panel-dark { background: linear-gradient(160deg, #1d1a52, #14123a); border-color: rgba(167, 158, 255, 0.25); color: #fff; box-shadow: 0 30px 70px rgba(20, 18, 58, 0.35); }
.panel-dark .muted { color: rgba(236, 234, 255, 0.72); }
.diff { font-family: var(--mono); font-size: 13px; background: rgba(0, 0, 0, 0.25); border-radius: 10px; padding: 14px; display: grid; gap: 6px; color: #e6e4ff; }
.plus { color: #5dd39a; font-weight: 700; margin-right: 6px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(236, 234, 255, 0.8); }
.actions { display: flex; justify-content: flex-end; gap: 10px; }

.section-dark { background: var(--brand); color: #fff; overflow: hidden; }
.section-dark .sub { color: rgba(236, 234, 255, 0.75); }
.section-dark .rings span:nth-child(1) { left: -500px; right: auto; top: -300px; }
.section-dark .rings span:nth-child(2) { left: -350px; right: auto; top: -150px; }
.section-dark .rings span:nth-child(3) { left: -200px; right: auto; top: 0; }
.eu-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eu-grid div { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(167, 158, 255, 0.18); border-radius: var(--radius); padding: 26px; }
.eu-grid svg { stroke: var(--accent); margin-bottom: 16px; }
.eu-grid b { display: block; font-size: 17px; margin-bottom: 6px; }
.eu-grid p { color: rgba(236, 234, 255, 0.7); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.steps .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(86, 70, 240, 0.35); }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 44px; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-weight: 500; }
.price .from { font-size: 15px; }
.plan-sub { color: var(--muted); font-size: 15px; }
.plan .btn { justify-content: center; margin: 6px 0 8px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--border); padding-top: 20px; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235646F0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan-featured { border: 2px solid var(--primary); box-shadow: 0 24px 60px rgba(86, 70, 240, 0.18); }
.ribbon { position: absolute; top: -13px; left: 32px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

details { border-bottom: 1px solid var(--border); padding: 22px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 24px; line-height: 1; font-weight: 400; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

.cta { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 50% 0%, #3a2fb8 0%, rgba(20, 18, 58, 0) 70%), var(--brand); color: #fff; padding: 112px 0; text-align: center; }
.cta-inner { position: relative; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
.cta p { margin-top: 16px; color: rgba(236, 234, 255, 0.78); font-size: 18px; }
.cta .hero-cta { justify-content: center; }

.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; }
.footer-grid b { font-size: 14px; }
.footer-grid a:not(.brand) { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-grid a:not(.brand):hover { color: var(--primary); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---- Legal pages ---- */
.page { padding: 140px 0 96px; }
.page h1 { font-size: 40px; margin-bottom: 16px; }
.page .notice { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 16px 20px; margin: 24px 0; font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .split-reverse > :first-child { order: 2; }
  .window-small { width: 100%; margin: 16px 0 0; }
  .features, .plans, .steps { grid-template-columns: 1fr 1fr; }
  .eu-grid { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
  .nav-inner { justify-content: space-between; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 132px; padding-bottom: 80px; }
  .section, .cta { padding: 80px 0; }
  .features, .plans, .steps, .eu-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .link-light { display: none; }
  .strip-inner span + span::before { display: none; }
}
