/* ==========================================================
   VPN — shared styles
   Visual language: dark glass cards, gradient hairline borders,
   blue accent, green "connected" states, soft reveal animation.
   ========================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #111214;
  --text: #ffffff;
  --text-2: #d4d4d8;
  --muted: #a1a1aa;
  --faint: rgba(255, 255, 255, 0.1);
  --glass: linear-gradient(225deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
  --blue: #60a5fa;
  --blue-2: #93c5fd;
  --blue-deep: #3b82f6;
  --green: #34d399;
  --green-2: #6ee7b7;
  --amber: #fbbf24;
  --rose: #fb7185;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-cta: 0 8px 30px rgba(59, 130, 246, 0.3);
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Background ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-grid {
  position: absolute; inset: 0; opacity: 0.035;
  background-image:
    linear-gradient(to right, #fff 0.5px, transparent 0.5px),
    linear-gradient(to bottom, #fff 0.5px, transparent 0.5px);
  background-size: 64px 64px;
}
.bg-glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.bg-glow.one { width: 520px; height: 520px; left: -160px; top: -140px; background: rgba(59,130,246,0.16); }
.bg-glow.two { width: 460px; height: 460px; right: -140px; top: 30vh; background: rgba(52,211,153,0.08); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .grid { gap: 24px; } }
.cols-2 { grid-template-columns: 1fr; }
.cols-3 { grid-template-columns: 1fr; }
.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); } }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }

/* ---------- Gradient hairline border ---------- */
.border-gradient { position: relative; }
.border-gradient::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background: linear-gradient(225deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* ---------- Cards ---------- */
.card {
  border-radius: var(--radius);
  background: var(--glass);
  padding: 24px;
  overflow: hidden;
}
.card.solid { background: rgba(255,255,255,0.04); }
.card.blue { background: linear-gradient(225deg, rgba(59,130,246,0.12), rgba(59,130,246,0.04) 50%, rgba(59,130,246,0.12)); }
.card.green { background: linear-gradient(225deg, rgba(52,211,153,0.12), rgba(52,211,153,0.03) 50%, rgba(52,211,153,0.1)); }
.card.white { background: #fff; color: #171717; }
.card h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.card p { color: var(--text-2); font-size: 0.95rem; }
.card.white p { color: #52525b; }

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(96,165,250,0.15); color: var(--blue-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  margin-bottom: 16px;
}
.icon-tile.green { background: rgba(52,211,153,0.15); color: var(--green-2); }
.icon-tile.rose { background: rgba(251,113,133,0.15); color: var(--rose); }
.icon-tile.amber { background: rgba(251,191,36,0.15); color: var(--amber); }

/* ---------- Pills & badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; background: rgba(255,255,255,0.05);
  padding: 6px 12px; font-size: 0.75rem; color: var(--text-2); font-weight: 500;
}
.pill .tag { background: rgba(96,165,250,0.2); color: var(--blue-2); padding: 2px 8px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; flex-shrink: 0; }
.dot.pulse { animation: pulse 2s ease-in-out infinite; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 4px 10px; font-size: 0.72rem; font-weight: 500;
  background: rgba(96,165,250,0.15); color: var(--blue-2);
}
.badge.green { background: rgba(52,211,153,0.15); color: var(--green-2); }
.badge.rose { background: rgba(251,113,133,0.15); color: #fda4af; }
.badge.amber { background: rgba(251,191,36,0.15); color: #fcd34d; }

.eyebrow {
  display: flex; justify-content: space-between; align-items: center;
  text-transform: uppercase; font-size: 0.8rem; font-weight: 500; color: var(--blue); letter-spacing: -0.01em;
}
.hairline { height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent); margin-top: 8px; }
.rule { height: 1px; background: rgba(255,255,255,0.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; font-size: 0.9rem; font-weight: 600;
  border: 0; transition: transform .2s ease, opacity .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: #fff; color: #171717; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 1px 2px rgba(0,0,0,0.2); }
.btn-ghost { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.85); backdrop-filter: blur(16px); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-cta {
  background: linear-gradient(90deg, #34d399, #60a5fa);
  color: #04130d; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 10px 34px rgba(52,211,153,0.28), 0 6px 20px rgba(59,130,246,0.25);
}
.btn-cta:hover { opacity: 0.95; }
.btn-cta .arrow {
  display: inline-flex; width: 24px; height: 24px; border-radius: 50%;
  align-items: center; justify-content: center; background: rgba(0,0,0,0.12);
}
.btn-lg { padding: 18px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.8rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(10,10,10,0.6); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
}
.nav-links { display: none; gap: 28px; font-size: 0.875rem; }
.nav-links a { color: var(--text-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 6px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.status-pill { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.06);
}
.mobile-menu { display: none; padding: 8px 0 18px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; color: var(--text-2); border-bottom: 1px solid rgba(255,255,255,0.06); font-weight: 500; }
.mobile-menu a[aria-current="page"] { color: #fff; }
.nav-actions .btn-cta { display: none; }
@media (min-width: 480px) { .nav-actions .btn-cta { display: inline-flex; } }
@media (min-width: 640px) { .status-pill { display: inline-flex; } }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 24px; text-align: center; }
@media (min-width: 1024px) { .hero { padding-top: 80px; } }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -0.05em; max-width: 960px; margin: 24px auto 0; }
.hero h1 .accent { background: linear-gradient(90deg, #6ee7b7, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 20px auto 0; max-width: 640px; color: var(--text-2); font-size: clamp(1rem, 2vw, 1.15rem); }
.hero-ctas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-note { margin-top: 16px; font-size: 0.8rem; color: var(--muted); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }

.page-hero { padding: 48px 0 16px; }
@media (min-width: 1024px) { .page-hero { padding-top: 72px; } }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); letter-spacing: -0.05em; max-width: 900px; margin-top: 18px; }
.page-hero .lead { margin-top: 16px; max-width: 680px; color: var(--text-2); font-size: clamp(1rem, 2vw, 1.12rem); }

.breadcrumb { font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Laptop showcase ---------- */
.laptop-stage { position: relative; max-width: 980px; margin: 48px auto 0; }
.laptop-stage::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 2%; height: 30%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(52,211,153,0.28), rgba(59,130,246,0.18) 45%, transparent 75%);
  filter: blur(40px); z-index: -1;
}
.laptop-stage svg { display: block; width: 100%; height: auto; }
.laptop-caption { margin-top: 10px; font-size: 0.78rem; color: var(--muted); text-align: center; }
.connect-ring { transform-origin: center; transform-box: fill-box; animation: ring 2.8s ease-out infinite; }
.connect-ring.r2 { animation-delay: 1.4s; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 64px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(12, 1fr); } }
.bento > * { min-height: 200px; }
@media (min-width: 768px) {
  .span-3 { grid-column: span 3; }
  .span-6 { grid-column: span 6; }
  .row-2 { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .lg-3 { grid-column: span 3; }
  .lg-4 { grid-column: span 4; }
  .lg-6 { grid-column: span 6; }
  .lg-8 { grid-column: span 8; }
}
.stat { font-size: 2.6rem; letter-spacing: -0.05em; line-height: 1; }

.code {
  font-family: var(--mono); font-size: 0.76rem; line-height: 1.65; color: rgba(255,255,255,0.82);
  background: rgba(0,0,0,0.45); border-radius: 14px; padding: 14px 16px; overflow-x: auto; margin: 0; white-space: pre;
}
.code .k { color: var(--blue-2); } .code .s { color: var(--green-2); } .code .c { color: #71717a; }
.window-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; padding: 12px; border-radius: 14px; background: rgba(0,0,0,0.3); }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, var(--blue-deep), var(--blue)); }
.bars span.g { background: linear-gradient(to top, #059669, var(--green)); }
.bar-labels { display: flex; gap: 8px; padding: 6px 12px 0; font-size: 0.7rem; color: var(--muted); }
.bar-labels span { flex: 1; text-align: center; }

.orbit { position: relative; height: 210px; display: flex; align-items: center; justify-content: center; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); animation: pulse 3s ease-in-out infinite; }
.orbit .core {
  position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(23,23,23,0.8);
  transition: transform .3s ease;
}
.orbit:hover .core { transform: scale(1.06); }

/* ---------- Check lists ---------- */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check {
  flex-shrink: 0; display: inline-flex; width: 24px; height: 24px; border-radius: 50%;
  align-items: center; justify-content: center; background: rgba(52,211,153,0.16); color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.3); margin-top: 1px;
}
.cross { background: rgba(251,113,133,0.15); color: var(--rose); box-shadow: inset 0 0 0 1px rgba(251,113,133,0.3); }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--glass); }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
@media (min-width: 640px) { .marquee-wrap::before, .marquee-wrap::after { width: 160px; } }
.marquee-row { padding: 24px 0; }
.marquee-track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.marquee-track.ltr { animation: marquee-ltr 50s linear infinite; }
.marquee-track.rtl { animation: marquee-rtl 50s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.use-chip { width: 300px; flex-shrink: 0; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); padding: 20px; }
@media (min-width: 640px) { .use-chip { width: 380px; } }
.use-chip .head { display: flex; align-items: center; gap: 12px; }
.use-chip .ico { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(96,165,250,0.15); color: var(--blue-2); }
.use-chip strong { font-size: 0.92rem; }
.use-chip small { display: block; color: var(--muted); font-size: 0.75rem; }
.use-chip p { margin-top: 14px; color: var(--text-2); font-size: 0.92rem; letter-spacing: -0.01em; }
.hl { color: var(--blue); }
.hl-g { color: var(--green); }

/* ---------- Section headings ---------- */
.big-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.big-head h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 0.95; letter-spacing: -0.05em; }
.big-head .sep { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.big-head p { color: var(--text-2); font-size: 0.95rem; }
.sec-title { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.045em; }
.sec-lead { color: var(--text-2); max-width: 46ch; }
.split-head { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
@media (min-width: 768px) { .split-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

.frame { border-radius: var(--radius); padding: 24px; background: var(--glass); }
@media (min-width: 640px) { .frame { padding: 32px; } }

.tag-float {
  position: absolute; top: -14px; left: 24px; padding: 6px 14px; border-radius: 999px;
  background: var(--bg); font-size: 0.78rem; letter-spacing: -0.01em; border: 1px solid;
}
.tag-float.rose { color: #fda4af; border-color: rgba(251,113,133,0.35); }
.tag-float.amber { color: #fcd34d; border-color: rgba(251,191,36,0.35); }
.tag-float.blue { color: var(--blue-2); border-color: rgba(96,165,250,0.35); }
.tag-float.green { color: var(--green-2); border-color: rgba(52,211,153,0.35); }

.mock-panel {
  height: 200px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden;
}
.mock-panel svg { width: 100%; height: 100%; }

/* ---------- Steps ---------- */
.steps-strip { counter-reset: s; }
.step-card { position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; font-weight: 700; font-size: 0.9rem;
  background: linear-gradient(135deg, var(--green), var(--blue)); color: #04130d; margin-bottom: 14px;
}

.guide { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .guide { grid-template-columns: 260px 1fr; gap: 40px; } }
.guide-nav { position: relative; }
@media (min-width: 1024px) { .guide-nav { position: sticky; top: 96px; align-self: start; } }
.guide-nav ol { list-style: none; display: grid; gap: 6px; }
.guide-nav button {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); font-size: 0.9rem;
}
.guide-nav button:hover { background: rgba(255,255,255,0.05); color: #fff; }
.guide-nav button[aria-current="step"] { background: rgba(96,165,250,0.12); color: #fff; }
.guide-nav button .n {
  width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; background: rgba(255,255,255,0.08); flex-shrink: 0;
}
.guide-nav button.done .n { background: rgba(52,211,153,0.2); color: var(--green); }
.guide-nav button[aria-current="step"] .n { background: linear-gradient(135deg, var(--green), var(--blue)); color: #04130d; }
.progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--blue)); transition: width .35s ease; }
.progress-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }

.guide-step { display: none; }
.guide-step.active { display: block; animation: fadeSlideIn .45s ease-out both; }
.no-js .guide-step { display: block; margin-bottom: 32px; }
.guide-step h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.guide-step .step-body { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 900px) { .guide-step .step-body { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.guide-step ol.sub { padding-left: 20px; display: grid; gap: 10px; color: var(--text-2); }
.guide-step ol.sub li::marker { color: var(--blue); font-weight: 700; }
.screen {
  border-radius: 20px; padding: 10px; background: rgba(23,23,23,0.6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.55);
}
.screen svg { display: block; width: 100%; height: auto; border-radius: 14px; }
.screen figcaption { font-size: 0.78rem; color: var(--muted); padding: 10px 6px 4px; }
.guide-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.callout { display: flex; gap: 12px; border-radius: 16px; padding: 16px; font-size: 0.9rem; color: var(--text-2); margin-top: 16px; }
.callout strong { color: #fff; }
.callout.tip { background: rgba(52,211,153,0.08); box-shadow: inset 0 0 0 1px rgba(52,211,153,0.25); }
.callout.warn { background: rgba(251,191,36,0.08); box-shadow: inset 0 0 0 1px rgba(251,191,36,0.25); }
.callout.info { background: rgba(96,165,250,0.08); box-shadow: inset 0 0 0 1px rgba(96,165,250,0.25); }
.callout svg { flex-shrink: 0; margin-top: 2px; }
p.callout { display: block; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 20px; background: var(--glass); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
th { color: var(--blue-2); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.02em; }
td { color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
td strong { color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(96,165,250,0.15); color: var(--blue-2); font-weight: 500; font-size: 1.1rem; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; color: var(--text-2); display: grid; gap: 10px; }
.faq-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.faq-search {
  flex: 1; min-width: 220px; border-radius: 999px; border: 0; padding: 12px 18px; color: #fff; font: inherit;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.faq-search::placeholder { color: var(--muted); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 780px; color: var(--text-2); }
.prose h2 { font-size: 1.5rem; color: #fff; margin: 40px 0 12px; letter-spacing: -0.03em; }
.prose h3 { font-size: 1.1rem; color: #fff; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; display: grid; gap: 6px; }
.prose a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.toc a { font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.05); color: var(--text-2); }
.toc a:hover { color: #fff; }

/* ---------- Diagram ---------- */
.diagram svg { width: 100%; height: auto; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 32px; padding: 40px 24px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 50% 0%, rgba(52,211,153,0.16), transparent 60%), radial-gradient(80% 120% at 50% 100%, rgba(59,130,246,0.18), transparent 60%), rgba(255,255,255,0.02);
}
@media (min-width: 768px) { .cta-band { padding: 72px 40px; } }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.05em; max-width: 760px; margin: 0 auto; }
.cta-band p { color: var(--text-2); max-width: 560px; margin: 16px auto 0; }
.cta-band .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { margin: 96px 0 40px; }
.footer-card { border-radius: var(--radius); padding: 32px 24px; background: var(--glass); }
@media (min-width: 640px) { .footer-card { padding: 48px; } }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; font-size: 0.875rem; }
.footer-grid li a, .footer-grid li button { color: var(--muted); transition: color .2s; background: none; border: 0; padding: 0; font-size: inherit; }
.footer-grid li a:hover, .footer-grid li button:hover { color: #fff; }
.footer-grid .about { color: var(--muted); font-size: 0.875rem; max-width: 30ch; margin-top: 14px; }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--muted); margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto;
  border-radius: 22px; padding: 22px; background: rgba(18,18,20,0.96); backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
  display: none;
}
.cookie-banner.show { display: block; animation: fadeSlideIn .45s ease-out both; }
.cookie-banner h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.cookie-banner p { color: var(--text-2); font-size: 0.875rem; margin-top: 10px; }
.cookie-banner p a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .cookie-actions { grid-template-columns: repeat(3, 1fr); } }
.cookie-actions .btn { width: 100%; }
.btn-outline { background: rgba(255,255,255,0.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.cookie-prefs { display: none; margin-top: 16px; gap: 10px; }
.cookie-prefs.open { display: grid; }
.pref {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.pref strong { font-size: 0.9rem; display: block; }
.pref span { font-size: 0.8rem; color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,0.15); transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .track { opacity: 0.6; }
.switch input:focus-visible + .track { outline: 2px solid var(--blue); outline-offset: 2px; }
.save-prefs { margin-top: 6px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); z-index: 90;
  background: #fff; color: #111; padding: 10px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Animations ---------- */
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes ring { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes marquee-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-ltr { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.reveal { opacity: 0; }
.reveal.in { animation: fadeSlideIn .8s ease-out both; animation-delay: var(--d, 0s); }
.no-js .reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
}
