/* ════════════════════════════════════════════════════════════════════════
   Cap VPN — Design System 2026 (light)
   Loaded LAST on every page. Re-maps the shared design tokens so all
   templates switch to the light theme, then restyles shared components,
   the site header/footer (.sh-*, .sf-*) and the homepage (.h-*).
   ════════════════════════════════════════════════════════════════════════ */

:root {
    /* Surfaces */
    --bg-0: #ffffff;
    --bg-1: #f6f7fb;
    --bg-2: #f1f3f9;
    --bg-3: #e6e9f2;
    --bg-card: #ffffff;
    --bg-deep: #0b1020;

    /* Brand — legacy token names are kept so every template updates */
    --cyan: #4f46e5;                       /* primary (indigo) */
    --cyan-dim: rgba(79, 70, 229, 0.08);
    --cyan-glow: 0 0 0 rgba(0, 0, 0, 0);
    --violet: #7c3aed;
    --violet-dim: rgba(124, 58, 237, 0.08);
    --rose: #e11d48;
    --emerald: #059669;
    --amber: #b45309;
    --brand: #4f46e5;
    --brand-hover: #4338ca;
    --brand-soft: #eef0ff;
    --brand-ink: #3730a3;

    /* Text */
    --text-1: #0b1020;
    --text-2: #4a5068;
    --text-3: #6b7289;

    /* Lines, effects */
    --border: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.16);
    --border-active: rgba(79, 70, 229, 0.45);
    --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-r: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --shadow-glow: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);

    --font-base: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --header-height: 68px;
    color-scheme: light;
}

/* ─── Base ─────────────────────────────────────────────────────────────── */
html { scroll-padding-top: 84px; }
body { background: var(--bg-0); color: var(--text-1); font-family: var(--font-base); letter-spacing: -0.006em; }
::selection { background: rgba(79, 70, 229, 0.18); }
h1, h2, h3, h4 { color: var(--text-1); letter-spacing: -0.022em; }
h1 { font-weight: 800; }
h2 { font-weight: 750; }
a { color: var(--brand); }
p, li { color: inherit; }
.text-muted, .lead { color: var(--text-2); }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
#scroll-progress { background: var(--brand) !important; height: 2px; }
::-webkit-scrollbar-thumb { background: #cfd3e1; }
::-webkit-scrollbar-thumb:hover { background: #b4b9cc; }
::-webkit-scrollbar-track { background: var(--bg-1); }

/* No entrance animations anywhere — content is readable immediately */
.reveal, .reveal.visible { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn { border-radius: 12px; font-weight: 650; letter-spacing: -0.005em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.1), inset 0 1px 0 rgba(255,255,255,.12); filter: none; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79,70,229,.25); filter: none; }
.btn-outline { background: #fff; color: var(--text-1); border: 1px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-ghost { background: transparent; color: var(--text-1); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--bg-1); color: var(--text-1); border-color: var(--border-strong); }

/* ─── Shared building blocks used across templates ─────────────────────── */
.card, .feat-card, .step-card, .test-card, .srv-stat, .speed-icon-card, .tool-card, .tool-card-v2,
.help-card, .stat-card, .ping-card, .feature-box, .pc-feature, .price-card, .glass-strong {
    background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm); backdrop-filter: none;
}
.card:hover, .feat-card:hover, .step-card:hover, .test-card:hover, .tool-card:hover, .tool-card-v2:hover, .help-card:hover {
    border-color: var(--border-active); box-shadow: var(--shadow-md);
}
.feat-icon, .tool-icon { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.feat-icon svg, .tool-icon svg { color: var(--brand); }
.section-label, .hero-eyebrow, .proto-badge, .badge.feature {
    background: var(--brand-soft); color: var(--brand-ink); border: 1px solid rgba(79,70,229,.18);
}
.eyebrow-dot { background: var(--brand); }
.stat-val, .hero-stat-val, .feat-kpi-val, .ping-val, .cs-val, .cs-price { color: var(--brand); }
.step-num { background: var(--brand); color: #fff; }
.badge.fix { color: #6d28d9; } .badge.security { color: #be123c; }
.green, .cmp-yes { color: var(--emerald); }
.cmp-no { color: #b91c1c; }
.page-header { background: linear-gradient(180deg, var(--bg-1), #fff); border-bottom: 1px solid var(--border); }
.page-header h1 { letter-spacing: -0.025em; }
.page-body { color: var(--text-1); }
.page-body p, .page-body li { color: var(--text-2); }
.page-body h2, .page-body h3 { color: var(--text-1); }
.feat-bg, .cmp-bg, .speed-bg, .alt-bg { background: var(--bg-1); }
.cta-fin { background: var(--bg-1); }
.trust-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-badge { color: var(--text-2); }
.trust-badge svg { color: var(--brand); }

/* Tables */
table { border-color: var(--border); }
.cmp-table, .table-scroll table, .page-body table { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.cmp-table th, .page-body table th { background: var(--bg-1); color: var(--text-1); }
.cmp-table td, .cmp-table th, .page-body table td, .page-body table th { border-color: var(--border); }
.cmp-col-cap, .cmp-highlight { background: var(--brand-soft) !important; }
.cmp-cap { color: var(--brand); }

/* FAQ accordions */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); }
.faq-item .faq-q h3, .faq-q { color: var(--text-1); }
.faq-a-inner { color: var(--text-2); }

/* Forms */
.form-input, input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], textarea, select {
    background: #fff; color: var(--text-1); border: 1px solid var(--border-strong);
}
.form-input:focus, input:focus, textarea:focus, select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.form-label { color: var(--text-1); }

/* Code / skeletons used by tools */
code, pre { background: var(--bg-2); color: var(--text-1); }
.skeleton, .skeleton-text { background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; }

/* Cookie banner + mobile panel + back-to-top */
#cookie-banner { background: #fff; color: var(--text-1); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
#cookie-banner p { color: var(--text-2); }
#back-top { background: #fff; color: var(--text-1); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); }
.globe-label, .orb-pill { background: #fff; color: var(--text-1); border-color: var(--border); }

/* Blog article typography */
.blog-content, .article-content, .post-content { color: var(--text-1); font-size: 1.06rem; line-height: 1.8; }
.blog-content p, .article-content p, .post-content p { color: #2b3147; }
.blog-content a, .article-content a, .post-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ════════════════════════════════════════════════════════════════════════
   SITE HEADER  (.sh-*)
   ════════════════════════════════════════════════════════════════════════ */
#main-header.sh, #main-header.sh.scrolled {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0;
    background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--border); box-shadow: none;
}
#main-header.sh.scrolled { box-shadow: 0 6px 24px rgba(15,23,42,.06); }
.sh-row { display: flex; align-items: center; gap: 8px; height: 68px; }
.sh-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-1); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; margin-right: 18px; white-space: nowrap; }
.sh-logo img { width: 32px; height: 32px; border-radius: 9px; }
.sh-nav { display: flex; align-items: center; gap: 2px; }
.sh-item { position: relative; }
.sh-link, .sh-trigger {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px;
    font: inherit; font-size: 0.94rem; font-weight: 550; color: var(--text-2); background: none; border: 0; cursor: pointer; text-decoration: none;
}
.sh-link:hover, .sh-trigger:hover, .sh-trigger[aria-expanded="true"], .sh-link.active { color: var(--text-1); background: var(--bg-1); }
.sh-caret { width: 14px; height: 14px; transition: transform .2s; }
.sh-trigger[aria-expanded="true"] .sh-caret { transform: rotate(180deg); }
.sh-mega {
    position: absolute; top: calc(100% + 10px); left: -8px; min-width: 560px; display: none;
    grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; background: #fff;
    border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
}
.sh-mega.wide { min-width: 700px; grid-template-columns: repeat(3, 1fr); }
.sh-mega.open { display: grid; }
.sh-mega a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--text-1); }
.sh-mega a:hover { background: var(--bg-1); }
.sh-mega b { display: block; font-size: 0.93rem; font-weight: 650; color: var(--text-1); }
.sh-mega small { display: block; font-size: 0.8rem; color: var(--text-3); line-height: 1.45; margin-top: 2px; }
.sh-mi { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.sh-mi svg { width: 17px; height: 17px; }
.sh-mega .sh-more { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: 6px; padding: 12px 12px 4px; font-size: 0.88rem; font-weight: 650; color: var(--brand); border-radius: 0; }
.sh-mega .sh-more:hover { background: none; text-decoration: underline; }
.sh-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sh-login { padding: 9px 12px; font-size: 0.94rem; font-weight: 550; color: var(--text-2); text-decoration: none; border-radius: 10px; }
.sh-login:hover { color: var(--text-1); background: var(--bg-1); }
.sh-actions .btn, .hdr-mob-cta { padding: 0.6rem 1.05rem; font-size: 0.92rem; border-radius: 11px; }
header.sh .hamburger { display: none; color: var(--text-1); background: none; border: 1px solid var(--border-strong); border-radius: 10px; width: 42px; height: 42px; place-items: center; }
header.sh .hdr-mob-cta { display: none; }

/* mobile panel */
.mob-overlay { background: rgba(11, 16, 32, 0.35); }
.mob-nav { background: #fff; color: var(--text-1); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.mob-nav a, .mob-dropdown-toggle { color: var(--text-1); border-color: var(--border); }
.mob-nav .mob-group { margin-bottom: 14px; }
.mob-nav .mob-group-title { font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 4px; }
.mob-nav .mob-links a { display: block; padding: 10px 2px; border-bottom: 1px solid var(--border); font-weight: 550; text-decoration: none; }
.mob-close { color: var(--text-1); }

@media (max-width: 1080px) {
    .sh-nav, .sh-actions { display: none; }
    header.sh .hamburger { display: inline-grid; }
    header.sh .hdr-mob-cta { display: inline-flex; margin-left: auto; margin-right: 8px; }
}
@media (max-width: 400px) { header.sh .hdr-mob-cta svg, header.sh .hdr-mob-cta i { display: none; } }

/* ════════════════════════════════════════════════════════════════════════
   SITE FOOTER  (.sf-*)
   ════════════════════════════════════════════════════════════════════════ */
footer.sf { background: var(--bg-1); border-top: 1px solid var(--border); padding: 64px 0 32px; color: var(--text-2); font-size: 0.92rem; }
.sf-top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 32px; }
.sf-brand .sh-logo { margin: 0 0 12px; }
.sf-brand p { max-width: 300px; line-height: 1.6; margin: 0 0 16px; }
.sf-stores { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.sf-store { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--text-1); color: #fff !important; text-decoration: none; font-size: 0.82rem; font-weight: 650; }
.sf-store svg { width: 16px; height: 16px; }
.sf-social { display: flex; gap: 8px; }
.sf-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-strong); color: var(--text-2); background: #fff; }
.sf-social a:hover { color: var(--brand); border-color: var(--brand); }
.sf-col h4 { font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-1); margin: 0 0 14px; font-weight: 700; }
.sf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sf-col a { color: var(--text-2); text-decoration: none; }
.sf-col a:hover { color: var(--brand); }
.sf-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.85rem; }
.sf-legal a { color: var(--text-2); text-decoration: none; }
.sf-legal a:hover { color: var(--brand); }
.sf-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 1080px) { .sf-top { grid-template-columns: repeat(3, 1fr); } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sf-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; } footer.sf { padding: 48px 0 28px; } }

/* ════════════════════════════════════════════════════════════════════════
   HOMEPAGE  (.h-*)
   ════════════════════════════════════════════════════════════════════════ */
.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.h-sec { padding: 96px 0; }
.h-alt { background: var(--bg-1); }
.h-head { max-width: 720px; margin: 0 0 44px; }
.h-head.center { margin: 0 auto 44px; text-align: center; }
.h-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }
.h-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 10px 0 0; }
.h-head p { margin: 14px 0 0; color: var(--text-2); font-size: 1.08rem; line-height: 1.65; }
.h-chk { width: 18px; height: 18px; color: var(--emerald); flex: none; margin-top: 3px; }
.h-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.h-ico svg { width: 22px; height: 22px; }
.h-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.h-link { color: var(--brand); font-weight: 650; text-decoration: none; font-size: 0.93rem; }
.h-link:hover { text-decoration: underline; }

/* Hero */
.h-hero { padding: calc(68px + 64px) 0 72px; background: radial-gradient(1100px 520px at 88% -10%, #eef0ff 0%, rgba(238,240,255,0) 60%), #fff; }
.h-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.h-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid rgba(79,70,229,.18); padding: 6px 12px; border-radius: 999px; }
.h-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); display: inline-block; }
.h-hero h1 { font-size: clamp(2.35rem, 4.6vw, 3.7rem); line-height: 1.06; margin: 18px 0 18px; letter-spacing: -0.035em; }
.h-hero .h-lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--text-2); line-height: 1.65; max-width: 560px; margin: 0; }
.h-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.h-store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; border-radius: 13px; background: var(--text-1); color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.h-store:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,16,32,.18); color: #fff; }
.h-store svg { width: 24px; height: 24px; flex: none; }
.h-store small { display: block; font-size: 0.7rem; opacity: .8; line-height: 1.2; }
.h-store b { display: block; font-size: 1.05rem; font-weight: 650; line-height: 1.2; }
.h-desk { margin: 14px 0 0; font-size: 0.93rem; color: var(--text-2); }
.h-desk a { color: var(--brand); font-weight: 650; text-decoration: none; }
.h-proof { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 24px; font-size: 0.9rem; color: var(--text-2); }
.h-proof a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.h-proof a:hover { color: var(--text-1); }
.h-stars { color: #f59e0b; letter-spacing: 1px; }
.h-shot { position: relative; margin: 0; border-radius: 22px; padding: 16px; background: linear-gradient(160deg, #1e1b4b, #0b1020); box-shadow: var(--shadow-lg); }
.h-shot img { width: 100%; height: auto; border-radius: 12px; display: block; }
.h-shot figcaption { position: absolute; left: 18px; bottom: -14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); border-radius: 12px; padding: 7px 12px; font-size: 0.8rem; color: var(--text-2); }

/* Stats strip */
.h-stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-1); }
.h-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.h-stat { padding: 24px 20px; border-left: 1px solid var(--border); }
.h-stat:first-child { border-left: 0; }
.h-stat b { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-1); }
.h-stat span { font-size: 0.88rem; color: var(--text-2); }
.h-stat a { display: inline-block; margin-top: 4px; font-size: 0.76rem; color: var(--text-3); text-decoration: none; }
.h-stat a:hover { color: var(--brand); }
.h-stats-note { font-size: 0.75rem; color: var(--text-3); padding: 0 20px 14px; }

/* Tabs */
.h-tabs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.h-tablist { display: grid; gap: 10px; }
.h-tab { display: flex; gap: 16px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 18px; cursor: pointer; font: inherit; color: inherit; }
.h-tab:hover { background: var(--bg-1); }
.h-tab[aria-selected="true"] { background: #fff; border-color: var(--border); box-shadow: var(--shadow-md); }
.h-tab b { display: block; font-size: 1.05rem; font-weight: 650; }
.h-tab span span { display: block; color: var(--text-2); font-size: 0.93rem; margin-top: 3px; }
.h-panel { display: none; border-radius: 22px; padding: 34px; min-height: 360px; background: linear-gradient(150deg, #eef0ff, #f6f7fb); border: 1px solid var(--border); }
.h-panel.on { display: block; }
.h-panel h3 { font-size: 1.45rem; margin: 0; }
.h-panel ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.h-panel li { display: flex; gap: 10px; color: var(--text-1); }
.h-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.h-metrics div { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.h-metrics b { display: block; font-size: 0.95rem; }
.h-metrics span { font-size: 0.82rem; color: var(--text-2); }

/* Grids */
.h-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-feat { display: flex; gap: 16px; }
.h-feat h3 { font-size: 1.06rem; margin: 0; }
.h-feat p { color: var(--text-2); margin: 6px 0 0; font-size: 0.95rem; line-height: 1.6; }
.h-proto h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.15rem; }
.h-tag { font-size: 0.72rem; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.h-proto p { color: var(--text-2); margin: 10px 0 0; line-height: 1.6; }
.h-best { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.h-best b { color: var(--text-1); }
.h-proto .h-link { display: inline-block; margin-top: 14px; }

/* Servers */
.h-srv { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.h-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.h-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 0.9rem; font-weight: 550; color: var(--text-1); }
.h-cc { font-size: 0.68rem; font-weight: 750; letter-spacing: .04em; background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 5px; color: var(--text-2); }
.h-chip.special { border-color: rgba(79,70,229,.4); color: var(--brand-ink); background: var(--brand-soft); }
.h-live { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.h-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(5,150,105,.18); flex: none; }

/* Tools */
.h-tool { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; text-decoration: none; color: var(--text-1); transition: border-color .15s, transform .15s, box-shadow .15s; }
.h-tool:hover { border-color: var(--border-active); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text-1); }
.h-tool b { font-weight: 650; margin-top: 6px; }
.h-tool span { font-size: 0.9rem; color: var(--text-2); }
.h-tool em { font-style: normal; margin-top: auto; padding-top: 6px; font-size: 0.88rem; color: var(--brand); font-weight: 650; }

/* Comparison */
.h-cmp-wrap { overflow-x: auto; }
.h-cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; font-size: 0.95rem; }
.h-cmp th, .h-cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-1); }
.h-cmp tr:last-child td, .h-cmp tr:last-child th { border-bottom: 0; }
.h-cmp thead th { background: var(--bg-1); font-size: 0.76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); }
.h-cmp tbody th { font-weight: 650; width: 30%; }
.h-cmp .us { background: var(--brand-soft); font-weight: 600; }
.h-cmp td.muted { color: var(--text-2); }
.h-cmp-note { font-size: 0.86rem; color: var(--text-3); margin-top: 14px; }

/* Pricing */
.h-price { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; }
.h-plan { display: flex; flex-direction: column; }
.h-plan h3 { margin: 0; font-size: 1.15rem; }
.h-amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; margin: 14px 0 0; line-height: 1.05; }
.h-per { color: var(--text-2); font-size: 0.9rem; margin-top: 4px; }
.h-plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.h-plan li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--text-1); }
.h-plan .btn { margin-top: auto; justify-content: center; }
.h-plan.premium { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.h-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 16px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px; }
.h-seg button { font: inherit; font-size: 0.88rem; font-weight: 650; border: 0; background: transparent; color: var(--text-2); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.h-seg button[aria-pressed="true"] { background: #fff; color: var(--text-1); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.h-save { font-size: 0.72rem; color: var(--emerald); font-weight: 750; margin-left: 4px; }
.h-fine { text-align: center; font-size: 0.86rem; color: var(--text-3); margin-top: 18px; }

/* Trust */
.h-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.h-kv { display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; margin: 18px 0 0; font-size: 0.95rem; }
.h-kv dt { color: var(--text-2); }
.h-kv dd { margin: 0; font-weight: 550; }
.h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.h-two h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 8px; }
.h-two ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.95rem; color: var(--text-1); }

/* Reviews */
.h-rating { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.h-big { font-size: 3.8rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }

/* Guides */
.h-guide { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none; color: var(--text-1); transition: transform .15s, border-color .15s, box-shadow .15s; }
.h-guide:hover { transform: translateY(-2px); border-color: var(--border-active); box-shadow: var(--shadow-md); color: var(--text-1); }
.h-thumb { height: 140px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; padding: 18px; text-align: center; }
.h-thumb.t1 { background: linear-gradient(135deg, #4f46e5, #0891b2); }
.h-thumb.t2 { background: linear-gradient(135deg, #1e1b4b, #4f46e5); }
.h-thumb.t3 { background: linear-gradient(135deg, #065f46, #0b1020); }
.h-guide .body { padding: 20px; }
.h-cat { font-size: 0.72rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.h-guide h3 { margin: 8px 0 0; font-size: 1.06rem; }
.h-guide p { margin: 8px 0 0; color: var(--text-2); font-size: 0.93rem; }

/* FAQ */
.h-faq { max-width: 820px; margin: 0 auto; }
.h-faq details { border-bottom: 1px solid var(--border); padding: 20px 2px; }
.h-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 650; font-size: 1.05rem; color: var(--text-1); }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--text-3); }
.h-faq details[open] summary::after { content: "\2013"; }
.h-faq details p { margin: 12px 0 0; color: var(--text-2); line-height: 1.7; }

/* Final CTA */
.h-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--bg-deep); border-radius: 28px; padding: 56px; color: #f2f3f8; }
.h-cta h2 { color: #fff; margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.h-cta p { color: #b9bdd3; margin: 12px 0 0; }
.h-cta .h-store { background: #fff; color: var(--text-1); }
.h-cta .h-store:hover { color: var(--text-1); }

/* Responsive */
@media (max-width: 1000px) {
    .h-hero-grid, .h-tabs, .h-srv, .h-price, .h-trust, .h-cta { grid-template-columns: 1fr; }
    .h-g3 { grid-template-columns: 1fr 1fr; }
    .h-g4 { grid-template-columns: repeat(3, 1fr); }
    .h-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .h-stat:nth-child(4) { border-left: 0; }
    .h-stat:nth-child(n+4) { border-top: 1px solid var(--border); }
    .h-rating { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
    .h-wrap { padding: 0 16px; }
    .h-sec { padding: 60px 0; }
    .h-hero { padding: calc(68px + 32px) 0 52px; }
    .h-head { margin-bottom: 30px; }
    .h-store { flex: 1 1 180px; }
    .h-g3, .h-g4 { grid-template-columns: 1fr; }
    .h-stats-grid { grid-template-columns: 1fr 1fr; }
    .h-stat { border-left: 0 !important; border-top: 1px solid var(--border); }
    .h-stat:nth-child(-n+2) { border-top: 0; }
    .h-stat:nth-child(even) { border-left: 1px solid var(--border) !important; }
    .h-stat:last-child { grid-column: 1 / -1; border-left: 0 !important; }
    .h-metrics { grid-template-columns: 1fr; }
    .h-panel { padding: 24px; min-height: 0; }
    .h-card { padding: 22px; }
    .h-kv { grid-template-columns: 1fr; gap: 2px; }
    .h-kv dd { margin-bottom: 10px; }
    .h-two { grid-template-columns: 1fr; }
    .h-cmp thead { display: none; }
    .h-cmp, .h-cmp tbody, .h-cmp tr, .h-cmp th, .h-cmp td { display: block; width: 100% !important; }
    .h-cmp tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
    .h-cmp th, .h-cmp td { border: 0; padding: 5px 16px; }
    .h-cmp td:nth-of-type(1)::before { content: "Cap VPN: "; font-weight: 650; color: var(--brand); }
    .h-cmp td:nth-of-type(2)::before { content: "NordVPN: "; font-weight: 650; color: var(--text-2); }
    .h-cmp td:nth-of-type(3)::before { content: "ExpressVPN: "; font-weight: 650; color: var(--text-2); }
    .h-cmp td:nth-of-type(4)::before { content: "Typical free VPNs: "; font-weight: 650; color: var(--text-2); }
    .h-cta { padding: 34px 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ════════════════════════════════════════════════════════════════════════
   TEMPLATE FIXES — found by the automated contrast audit of all pages.
   Page-level <style> blocks and extra stylesheets load after this file,
   so these use !important on purpose.
   ════════════════════════════════════════════════════════════════════════ */

/* Bright status colours designed for a dark background -> readable on white */
[style*="color:#10b981" i], [style*="color: #10b981" i], [style*="color:#34d399" i], [style*="color: #34d399" i],
[style*="color:#2dd4a7" i], [style*="color:#25d366" i], [style*="rgb(16, 185, 129)"], [style*="rgb(52, 211, 153)"] { color: #047857 !important; }
[style*="color:#f59e0b" i], [style*="color: #f59e0b" i], [style*="color:#ffc107" i], [style*="color: #ffc107" i],
[style*="color:#fbbf24" i], [style*="rgb(245, 158, 11)"], [style*="rgb(255, 193, 7)"] { color: #a16207 !important; }
[style*="color:#00f5ff" i], [style*="color: #00f5ff" i], [style*="color:#00d1ff" i], [style*="color:#4cc3ff" i] { color: var(--brand) !important; }
[style*="color:#f0f0f8" i], [style*="color: #f0f0f8" i], [style*="color:#c6cfe6" i], [style*="color:#d1d5db" i] { color: var(--text-1) !important; }
.ping-val.yellow, .badge-poor, .dxb-badge { color: #a16207 !important; }
.ping-val.green, .val, .wa-badge, .pw-strength-label { color: #047857 !important; }
.ping-val.red { color: #b91c1c !important; }

/* Headings that were hard-coded white */
.step-card h3, .feat-text h4, .prize-card h3, .glass-strong h3 { color: var(--text-1) !important; }

/* Dark panels from page styles */
.glass-strong, .prize-card { background: #fff !important; border-color: var(--border) !important; box-shadow: var(--shadow-sm) !important; }
.prize-card.gold { border-color: rgba(180, 83, 9, .35) !important; }

/* Pricing page cards */
.pz-tag { color: var(--brand) !important; }
.pz-card { background: #fff !important; border: 1.5px solid var(--border) !important; box-shadow: var(--shadow-sm) !important; }
.pz-card:hover { border-color: var(--border-active) !important; }
.pz-card.popular { border-color: var(--brand) !important; box-shadow: var(--shadow-md) !important; }
.pz-card li { color: var(--text-2) !important; }
.pz-card h2, .pz-card h3, .pz-card .pz-price, .pz-card strong { color: var(--text-1) !important; }

/* Free-tool buttons */
.tool-btn-v2 { background: var(--brand) !important; color: #fff !important; }
.tool-btn-v2:hover:not(:disabled) { background: var(--brand-hover) !important; box-shadow: 0 8px 20px rgba(79,70,229,.22) !important; }

/* Blog article top bar */
.blog-topbar { background: rgba(255, 255, 255, 0.92) !important; border-bottom: 1px solid var(--border) !important; }
.blog-topbar a, .blog-back, .blog-reading { color: var(--text-2) !important; }

/* Pricing page labels and buy buttons */
.pz-name { color: var(--text-2) !important; }
.pz-buy { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.pz-buy:hover { background: var(--brand-hover) !important; }
.pz-buy:disabled { background: var(--bg-3) !important; border-color: var(--bg-3) !important; color: var(--text-3) !important; }
/* Referral prize amounts */
.prize-card .amount { color: #a16207 !important; }
.prize-card.silver .amount { color: #4a5068 !important; }
.prize-card.bronze .amount { color: #9a3412 !important; }
/* Status badges on use/vpn pages */
.badge-pass { color: #047857 !important; background: rgba(5,150,105,.1) !important; }
.badge-fail { color: #b91c1c !important; }
/* Help-centre warning boxes */
.warning-box strong, .alert-warning strong, .page-body .warning strong, .page-body [class*="warn"] strong { color: #92400e !important; }
.alert-box { background: #fffbeb !important; border-color: rgba(180, 83, 9, .3) !important; color: #78350f !important; }
.alert-box strong { color: #92400e !important; }

/* Wide tables scroll inside their own box on phones instead of widening the page */
@media (max-width: 760px) {
    main table:not(.h-cmp) { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    main pre, main code { white-space: pre-wrap; word-break: break-word; }
    main img, main video, main iframe { max-width: 100%; height: auto; }
}

/* Blog callouts written for the old dark theme */
.blog-callout { background: var(--brand-soft) !important; border-color: rgba(79,70,229,.25) !important; color: var(--text-1); }
.blog-callout [style*="color:#fff" i], .blog-callout [style*="color: #fff" i] { color: var(--text-1) !important; }

/* ════════════════════════════════════════════════════════════════════════
   HOMEPAGE — VPN identity (globe, connection check, tunnel, security band)
   ════════════════════════════════════════════════════════════════════════ */
.v-hero { background: radial-gradient(900px 520px at 78% 30%, #eef0ff 0%, rgba(238,240,255,0) 65%), linear-gradient(180deg, #fff 0%, #f8f9fe 100%); }
.v-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.v-globe-wrap { width: min(100%, 520px); aspect-ratio: 1 / 1; position: relative; }
.v-globe-wrap::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef0ff 55%, #e3e6fb 100%); box-shadow: inset 0 0 0 1px rgba(79,70,229,.08), 0 30px 80px rgba(79,70,229,.14); }
#v-globe { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.v-chip { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); z-index: 2; }
.v-chip b { display: block; font-size: .9rem; color: var(--text-1); line-height: 1.2; }
.v-chip small { display: block; font-size: .75rem; color: var(--text-3); }
.v-chip-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.v-chip-ico svg { width: 16px; height: 16px; }
.v-c1 { top: 9%; left: -2%; }
.v-c2 { top: 47%; right: -4%; }
.v-c3 { bottom: 6%; left: 6%; }

.v-conn { margin-top: 40px; display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 24px; align-items: center; padding: 20px 24px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-md); }
.v-conn-head { display: flex; gap: 12px; align-items: flex-start; }
.v-conn-head b { display: block; font-size: 1rem; color: var(--text-1); }
.v-conn-head small { display: block; font-size: .85rem; color: var(--text-2); margin-top: 2px; }
.v-conn-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex: none; background: var(--text-3); box-shadow: 0 0 0 4px rgba(107,114,137,.15); }
.v-conn.warn .v-conn-dot { background: #d97706; box-shadow: 0 0 0 4px rgba(217,119,6,.15); }
.v-conn.mid .v-conn-dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(79,70,229,.15); }
.v-conn.ok .v-conn-dot { background: var(--emerald); box-shadow: 0 0 0 4px rgba(5,150,105,.18); }
.v-conn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.v-conn-grid dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); font-weight: 650; }
.v-conn-grid dd { margin: 4px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; color: var(--text-1); word-break: break-all; }

/* Tunnel diagram */
.v-flow { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1.25fr 1fr; align-items: center; gap: 8px; }
.v-node { text-align: center; padding: 22px 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); }
.v-node-ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-2); color: var(--text-1); }
.v-node-ico svg { width: 24px; height: 24px; }
.v-node-brand { border-color: rgba(79,70,229,.35); box-shadow: var(--shadow-md); }
.v-node-brand .v-node-ico { background: var(--brand); color: #fff; }
.v-node b { display: block; font-size: 1rem; }
.v-node small { display: block; color: var(--text-2); font-size: .84rem; margin-top: 4px; line-height: 1.45; }
.v-link { position: relative; text-align: center; padding: 0 6px; }
.v-link-line { display: block; height: 3px; border-radius: 3px; background: var(--border-strong); margin: 0 0 12px; }
.v-link-secure .v-link-line { background: repeating-linear-gradient(90deg, var(--brand) 0 12px, rgba(79,70,229,.25) 12px 20px); height: 4px; }
.v-link-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); border: 1px solid rgba(79,70,229,.2); }
.v-link-badge.plain { background: var(--bg-2); color: var(--text-2); border-color: var(--border); }
.v-link-badge svg { width: 14px; height: 14px; }
.v-link small { display: block; margin-top: 10px; font-size: .82rem; color: var(--text-2); line-height: 1.45; }
.v-honest { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.v-honest > div { padding: 24px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--border); }
.v-honest h3 { margin: 0 0 12px; font-size: 1.05rem; }
.v-honest ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.v-honest li { position: relative; padding-left: 26px; color: var(--text-1); font-size: .95rem; }
.v-honest li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--emerald); font-weight: 800; }
.v-honest ul.no li::before { content: "\2715"; color: #b91c1c; }

/* Dark security band */
.v-dark { background: radial-gradient(800px 400px at 85% 0%, rgba(79,70,229,.35), rgba(79,70,229,0) 60%), #0b1020; color: #e7e9f3; }
.v-dark .h-kicker { color: #a5b4fc; }
.v-dark .h-head h2 { color: #fff; }
.v-dark .h-head p { color: #b9bdd3; }
.v-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v-spec article { padding: 26px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.v-spec-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #a5b4fc; background: rgba(165,180,252,.1); border: 1px solid rgba(165,180,252,.25); padding: 3px 8px; border-radius: 999px; }
.v-spec h3 { color: #fff; margin: 14px 0 8px; font-size: 1.25rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0; }
.v-spec p { color: #c3c7da; margin: 0; line-height: 1.65; font-size: .95rem; }
.v-spec a { display: inline-block; margin-top: 14px; color: #c7d2fe; font-weight: 650; text-decoration: none; font-size: .9rem; }
.v-spec a:hover { color: #fff; text-decoration: underline; }
.v-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.v-facts > div { padding: 20px; background: #0f1528; }
.v-facts span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(165,180,252,.12); color: #c7d2fe; margin-bottom: 10px; }
.v-facts span svg { width: 17px; height: 17px; }
.v-facts b { display: block; color: #fff; font-size: .98rem; }
.v-facts small { display: block; color: #aeb3c9; font-size: .84rem; margin-top: 4px; line-height: 1.5; }
.v-facts a { color: #c7d2fe; }
.v-btn-light { background: #fff; color: #0b1020; border: 0; }
.v-btn-light:hover { background: #eef0ff; color: #0b1020; }
.v-textlink { color: #c7d2fe; font-weight: 650; margin-left: 14px; text-decoration: none; }
.v-textlink:hover { color: #fff; text-decoration: underline; }

/* App section */
.v-app { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.v-app-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.v-app-list li { display: flex; gap: 10px; font-size: 1.02rem; color: var(--text-1); }

@media (max-width: 1000px) {
    .v-visual { min-height: 0; margin-top: 8px; }
    .v-globe-wrap { width: min(100%, 420px); }
    .v-conn { grid-template-columns: 1fr; gap: 16px; }
    .v-flow { grid-template-columns: 1fr; gap: 12px; }
    .v-link { padding: 4px 18px; }
    .v-link-line { width: 4px; height: 34px !important; margin: 0 auto 10px; background: var(--border-strong); }
    .v-link-secure .v-link-line { background: repeating-linear-gradient(180deg, var(--brand) 0 10px, rgba(79,70,229,.25) 10px 16px); }
    .v-spec { grid-template-columns: 1fr; }
    .v-facts { grid-template-columns: 1fr 1fr; }
    .v-app { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
    .v-chip { padding: 8px 10px; }
    .v-chip small { display: none; }
    .v-c1 { left: 0; top: 4%; } .v-c2 { right: 0; } .v-c3 { left: 4%; bottom: 2%; }
    .v-conn-grid { grid-template-columns: 1fr; gap: 10px; }
    .v-honest { grid-template-columns: 1fr; }
    .v-facts { grid-template-columns: 1fr; }
    .v-textlink { display: inline-block; margin: 12px 0 0; }
}

/* ── Homepage illustrations (SVG) ── */
.v-scene-wrap { background: linear-gradient(180deg, #fbfbff 0%, #f3f4fd 100%); border: 1px solid var(--border); border-radius: 26px; padding: 34px 28px 26px; }
.v-scene { display: block; width: 100%; height: auto; }
.v-steps { list-style: none; counter-reset: vs; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 22px 0 0; padding: 0; }
.v-steps li { counter-increment: vs; display: grid; gap: 4px; }
.v-steps b { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--text-1); }
.v-steps b::before { content: counter(vs); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 800; flex: none; }
.v-steps span { color: var(--text-2); font-size: .9rem; line-height: 1.5; padding-left: 32px; }
.v-ill { display: block; width: 100%; height: auto; max-height: 190px; margin: -6px 0 18px; }
.v-ill-sm { max-height: 130px; margin: 0 0 16px; }
.v-map { margin: 44px 0 0; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-sm); }
.v-map svg { display: block; width: 100%; height: auto; }
.v-map figcaption { margin-top: 14px; color: var(--text-2); font-size: .9rem; line-height: 1.6; }
.v-map-key { width: 11px; height: 11px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.18); display: inline-block; margin-right: 6px; vertical-align: -1px; }
.v-swipe { display: none; }
.v-pin { cursor: default; }
.v-ping { transform-box: fill-box; transform-origin: center; animation: vPing 2.7s ease-out infinite; }
.v-dash { animation: vDash 1s linear infinite; }
.v-pk { animation: vPk 3.6s linear infinite; }
.v-pk2 { animation: vPk2 2.4s linear infinite; }
.v-pk3 { animation: vPk3 2.7s linear infinite; }
.v-led { animation: vLed 1.6s ease-in-out infinite; }
.v-wave { animation: vLed 2s ease-in-out infinite; }
.v-pulse, .v-pulse2 { transform-box: fill-box; transform-origin: center; animation: vPulse 2.4s ease-out infinite; }
@keyframes vDash { to { stroke-dashoffset: -26; } }
@keyframes vPk { 0% { transform: translateX(0); opacity: 0; } 8%, 90% { opacity: 1; } 100% { transform: translateX(366px); opacity: 0; } }
@keyframes vPk2 { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(66px); opacity: 0; } }
@keyframes vPk3 { 0% { transform: translateX(0); opacity: 0; } 10%, 88% { opacity: 1; } 100% { transform: translateX(230px); opacity: 0; } }
@keyframes vLed { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes vPulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes vPing { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .v-ping, .v-dash, .v-pk, .v-pk2, .v-pk3, .v-led, .v-wave, .v-pulse, .v-pulse2 { animation: none; }
}
@media (max-width: 1000px) {
    .v-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .v-scene-wrap { padding: 18px 10px 18px; border-radius: 20px; }
    .v-scene-wrap .v-scene { width: 760px; max-width: none; }
    .v-scene-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -10px; padding: 0 10px; scrollbar-width: none; }
    .v-scene-scroll::-webkit-scrollbar { display: none; }
    .v-swipe { display: block; text-align: center; font-size: .8rem; font-weight: 650; color: var(--brand-ink); margin: 6px 0 0; }
    .v-steps { grid-template-columns: 1fr; gap: 14px; padding: 0 8px; }
    .v-map { padding: 14px; border-radius: 20px; }
}

/* ── Hero CTAs (VPN-style, replaces store badges at the top) ── */
.v-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.v-cta .btn { display: inline-flex; align-items: center; gap: 9px; padding: 16px 26px; font-size: 1.05rem; font-weight: 700; border-radius: 14px; }
.v-cta .btn-primary { box-shadow: 0 10px 26px rgba(79,70,229,.32); }
.v-cta .btn svg { width: 19px; height: 19px; }
.v-assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; }
.v-assure li { display: flex; align-items: center; gap: 7px; font-size: .93rem; color: var(--text-1); font-weight: 550; }
.v-assure li svg { width: 17px; height: 17px; }
.v-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 22px 0 0; font-size: .88rem; color: var(--text-3); }
.v-platforms a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; text-decoration: none; }
.v-platforms a:hover { color: var(--brand); }
.v-platforms svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
    .v-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ── Homepage brand colour (from the Cap VPN logo: violet → blue → teal) ── */
:root { --cap-violet: #6a2bd9; --cap-blue: #3b6fd8; --cap-teal: #14b8a6; --cap-grad: linear-gradient(120deg, #6a2bd9 0%, #3b6fd8 55%, #14b8a6 100%); }
.v-grad { background: var(--cap-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.v-hero { background:
    radial-gradient(700px 460px at 92% 8%, rgba(20,184,166,.16), rgba(20,184,166,0) 70%),
    radial-gradient(760px 520px at 62% 40%, rgba(106,43,217,.13), rgba(106,43,217,0) 70%),
    radial-gradient(600px 400px at 0% 0%, rgba(59,111,216,.08), rgba(59,111,216,0) 70%),
    linear-gradient(180deg, #fbfaff 0%, #f4f6ff 100%); }
.v-hero .h-eyebrow { background: rgba(255,255,255,.75); border-color: rgba(106,43,217,.22); color: #4c1d95; }
.v-cta .btn-primary { background: linear-gradient(120deg, #6a2bd9 0%, #3b6fd8 100%); border: 0; box-shadow: 0 12px 28px rgba(106,43,217,.32); }
.v-cta .btn-primary:hover { background: linear-gradient(120deg, #5b21c8 0%, #2f5fc4 100%); }
.v-assure li svg { color: var(--cap-teal); }
.v-globe-wrap::before { background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1ecff 50%, #dff5f3 100%); box-shadow: inset 0 0 0 1px rgba(106,43,217,.1), 0 30px 90px rgba(106,43,217,.18), 0 10px 60px rgba(20,184,166,.12); }
.v-chip-ico { background: linear-gradient(135deg, #f1ecff, #e0f7f4); color: var(--cap-violet); }
/* stats strip */
.h-stats { background: linear-gradient(90deg, #f6f2ff 0%, #eef3ff 50%, #e9faf7 100%); border-color: rgba(106,43,217,.1); }
.h-stat b { background: var(--cap-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* section tints: alternate violet and teal washes */
.h-alt { background: linear-gradient(180deg, #faf8ff 0%, #f5f2ff 100%); }
#features.h-alt, #compare.h-alt, #guides.h-alt { background: linear-gradient(180deg, #f6fdfc 0%, #eefaf8 100%); }
#how-it-works { background: linear-gradient(180deg, #fff 0%, #f7f5ff 100%); }
.v-scene-wrap { background: linear-gradient(135deg, #fbfaff 0%, #f3f0ff 50%, #edfaf8 100%); border-color: rgba(106,43,217,.12); }
.v-steps b::before { background: var(--cap-grad); }
.h-kicker { background: var(--cap-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; display: inline-block; }
.h-panel { background: linear-gradient(150deg, #f3eeff 0%, #eef3ff 55%, #e8f8f6 100%); border-color: rgba(106,43,217,.12); }
.h-feat .h-ico, .h-tool .h-ico { background: linear-gradient(135deg, #f1ecff, #e0f7f4); color: var(--cap-violet); }
/* dark security band in logo colours */
.v-dark { background:
    radial-gradient(700px 380px at 90% 0%, rgba(20,184,166,.28), rgba(20,184,166,0) 65%),
    radial-gradient(800px 420px at 5% 100%, rgba(106,43,217,.38), rgba(106,43,217,0) 65%),
    #0d0b24; }
.v-dark .h-kicker { background: linear-gradient(120deg, #c4b5fd, #5eead4); -webkit-background-clip: text; background-clip: text; }
.v-spec article { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); }
.v-spec-tag { color: #99f6e4; background: rgba(20,184,166,.12); border-color: rgba(94,234,212,.28); }
.v-facts > div { background: #120f2e; }
.v-facts span { background: rgba(94,234,212,.12); color: #99f6e4; }
/* pricing: premium card gets the brand ring */
.h-plan.premium { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--cap-grad) border-box; box-shadow: 0 20px 50px rgba(106,43,217,.14); }
/* map pins + final CTA */
.v-map { background: linear-gradient(180deg, #fff 0%, #fbfaff 100%); }
.h-cta { background:
    radial-gradient(600px 300px at 100% 0%, rgba(20,184,166,.35), rgba(20,184,166,0) 65%),
    linear-gradient(120deg, #3b1690 0%, #4b2bc4 50%, #2a54b8 100%); }
.h-cta p { color: #dcd6fb; }

/* ── Premium visuals: real app screen, floating UI cards, product-UI snippets ── */
.p-hero-vis { position: relative; display: grid; place-items: center; min-height: 600px; }
.p-arcs { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.p-arcs span { position: absolute; border-radius: 50%; border: 1px solid rgba(106,43,217,.14); }
.p-arcs span:nth-child(1) { width: 380px; height: 380px; background: radial-gradient(circle, rgba(106,43,217,.10), rgba(20,184,166,.06) 60%, transparent 72%); }
.p-arcs span:nth-child(2) { width: 540px; height: 540px; border-color: rgba(59,111,216,.12); }
.p-arcs span:nth-child(3) { width: 700px; height: 700px; border-color: rgba(20,184,166,.12); }
.p-phone { position: relative; z-index: 1; margin: 0; width: 290px; padding: 11px; border-radius: 48px; background: linear-gradient(160deg, #2b2f3d, #0d1018 60%, #1d2130); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 50px 100px -20px rgba(30,20,90,.45), 0 30px 60px -30px rgba(0,0,0,.5); }
.p-screen { position: relative; overflow: hidden; border-radius: 38px; background: linear-gradient(180deg, #11564a 0%, #172b33 12%, #1c2533 100%); padding-top: 46px; }
.p-screen img { display: block; width: 100%; height: auto; }
.p-island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #05070b; }
.p-float { position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 18px 40px -12px rgba(40,30,110,.28); animation: pFloat 6s ease-in-out infinite; }
.p-float b { display: block; font-size: .9rem; color: var(--text-1); line-height: 1.25; }
.p-float small { display: block; font-size: .76rem; color: var(--text-2); margin-top: 1px; }
.p-f1 { top: 16%; left: -2%; }
.p-f2 { top: 46%; right: -4%; animation-delay: -2s; }
.p-f3 { bottom: 10%; left: 2%; animation-delay: -4s; }
.p-fi { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #f1ecff; color: #6a2bd9; }
.p-fi svg { width: 18px; height: 18px; }
.p-fi.ok { background: #dcfce7; color: #059669; }
.p-fi.warn { background: #fef3c7; color: #b45309; }
@keyframes pFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* product-UI snippets */
.p-ui { background: #fff; border: 1px solid rgba(17,24,39,.08); border-radius: 18px; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 24px 48px -20px rgba(40,30,110,.25); padding: 16px; }
.p-ui-title { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 2px 4px 10px; }
.p-pill { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #f1ecff; color: #5b21b6; white-space: nowrap; }
.p-pill svg { width: 13px; height: 13px; }
.p-pill.ok { background: #dcfce7; color: #047857; }
.p-pill.warn { background: #fef3c7; color: #92400e; }
.p-opt, .p-net { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid transparent; }
.p-opt + .p-opt { margin-top: 4px; }
.p-opt > span:nth-child(2), .p-net > span:nth-child(2) { flex: 1; min-width: 0; }
.p-opt b, .p-net b { display: block; font-size: .95rem; color: var(--text-1); }
.p-opt small, .p-net small { display: block; font-size: .8rem; color: var(--text-2); }
.p-opt.on { background: linear-gradient(120deg, #f6f2ff, #eef6ff); border-color: rgba(106,43,217,.22); }
.p-radio { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid #c4c9d9; }
.p-opt.on .p-radio { border: 5px solid #6a2bd9; }
.p-cc { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #f3f4f8; font-size: .74rem; font-weight: 800; color: var(--text-1); }
.p-cc svg { width: 17px; height: 17px; }
.p-net { background: #fafafc; border-color: rgba(17,24,39,.06); }
.p-net-arrow { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: .78rem; font-weight: 650; color: var(--text-3); padding: 8px 0; }
.p-net-arrow svg { width: 14px; height: 14px; }
.p-tabui { margin: 0 0 22px; }
.h-panel { min-height: 0; }

/* how it works: portrait cards */
.p-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-step { background: #fff; border: 1px solid rgba(17,24,39,.07); border-radius: 26px; padding: 14px 14px 26px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.p-step-vis { height: 260px; border-radius: 18px; overflow: hidden; position: relative; display: grid; place-items: center; padding: 22px; background:
    radial-gradient(260px 200px at 80% 10%, rgba(20,184,166,.18), transparent 70%),
    radial-gradient(300px 220px at 10% 100%, rgba(106,43,217,.18), transparent 70%),
    linear-gradient(160deg, #f7f4ff, #eef4ff); }
.p-step .p-num { display: block; margin: 22px 12px 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: #6a2bd9; }
.p-step h3 { margin: 6px 12px 0; font-size: 1.2rem; }
.p-step p { margin: 8px 12px 0; color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.p-vis-app { place-items: start center; padding-bottom: 0; }
.p-mini { width: 190px; margin-top: 10px; padding: 8px 8px 0; border-radius: 30px 30px 0 0; background: #0d1018; box-shadow: 0 30px 60px -20px rgba(30,20,90,.5); }
.p-mini img { display: block; width: 100%; height: auto; border-radius: 22px 22px 0 0; }
.p-ui-enc { width: 100%; max-width: 300px; }
.p-ui-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.p-ui-head small { font-size: .78rem; color: var(--text-2); }
.p-ui-enc code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.75; color: #4c1d95; background: #f6f3ff; border-radius: 10px; padding: 10px 12px; letter-spacing: .02em; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.p-ui-rows { width: 100%; max-width: 300px; }
.p-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 4px; border-top: 1px solid rgba(17,24,39,.06); font-size: .88rem; }
.p-row span:first-child { color: var(--text-2); }
.p-row b { color: var(--text-1); }

@media (prefers-reduced-motion: reduce) { .p-float { animation: none; } }
@media (max-width: 1000px) {
    .p-hero-vis { min-height: 0; padding: 30px 0 10px; }
    .p-steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .p-phone { width: 236px; border-radius: 40px; padding: 9px; }
    .p-screen { border-radius: 32px; padding-top: 38px; }
    .p-island { width: 76px; height: 22px; top: 10px; }
    .p-arcs span:nth-child(1) { width: 300px; height: 300px; }
    .p-arcs span:nth-child(2) { width: 420px; height: 420px; }
    .p-arcs span:nth-child(3) { display: none; }
    .p-float { padding: 9px 12px 9px 9px; border-radius: 13px; }
    .p-float small { display: none; }
    .p-fi { width: 30px; height: 30px; border-radius: 9px; }
    .p-f1 { left: 0; top: 12%; } .p-f2 { right: 0; } .p-f3 { left: 0; bottom: 8%; }
    .p-step-vis { height: 240px; }
}

/* ── Desktop app + extension compositions ── */
.q-phone { margin: 0; padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #2d3140, #0c0f17 55%, #1e2231); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -24px rgba(30,20,90,.5), 0 20px 40px -24px rgba(0,0,0,.45); }
.q-scr { overflow: hidden; border-radius: 36px; background: #0b1020; line-height: 0; }
.q-scr img { width: 100%; height: auto; display: block; }
.q-win { margin: 0; border-radius: 14px; overflow: hidden; background: #0b1020; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 50px 100px -30px rgba(30,20,90,.45), 0 24px 48px -24px rgba(0,0,0,.4); }
.q-win-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #161b2b; border-bottom: 1px solid rgba(255,255,255,.06); }
.q-win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4052; }
.q-win-bar i:nth-child(1) { background: #ff5f57; } .q-win-bar i:nth-child(2) { background: #febc2e; } .q-win-bar i:nth-child(3) { background: #28c840; }
.q-win-bar span { flex: 1; text-align: center; margin-right: 50px; font-size: .74rem; color: #8b90a6; font-weight: 600; }
.q-win img { display: block; width: 100%; height: auto; }
/* shield showcase */
.q-show { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; margin: 0 0 44px; padding: 40px; border-radius: 28px; background:
    radial-gradient(500px 300px at 100% 0%, rgba(20,184,166,.14), transparent 70%),
    radial-gradient(500px 340px at 0% 100%, rgba(106,43,217,.12), transparent 70%), #fff; border: 1px solid rgba(17,24,39,.07); }
.q-show h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 14px 0 8px; letter-spacing: -.02em; }
.q-show-text > p { color: var(--text-2); margin: 0; line-height: 1.6; }
.q-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.q-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text-2); }
.q-list li svg { width: 18px; height: 18px; flex: none; color: #6a2bd9; margin-top: 2px; }
.q-list b { color: var(--text-1); margin-right: 4px; }
.q-note { margin: 16px 0 0 !important; font-size: .85rem; color: var(--text-3) !important; }
.q-show-win { transform: perspective(1600px) rotateY(-6deg); transform-origin: left center; }
/* every device */
.q-devices { position: relative; max-width: 940px; margin: 10px auto 0; padding: 0 60px 70px 80px; }
.q-devices::before { content: ""; position: absolute; inset: 10% 5% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(106,43,217,.18), rgba(20,184,166,.08) 60%, transparent); filter: blur(10px); z-index: 0; }
.q-dev-pc { position: relative; z-index: 1; }
.q-dev-phone { position: absolute; z-index: 2; left: 0; bottom: 0; width: 200px; }
.q-scr-top { padding-top: 26px; background: linear-gradient(180deg, #11564a, #172b33 30%, #1c2533); }
.q-pop { position: absolute; z-index: 3; right: 0; bottom: 20px; width: 250px; margin: 0; border-radius: 14px; overflow: hidden; background: #0b0a12; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -20px rgba(30,20,90,.5); }
.q-pop-bar { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; background: #1a1d2b; font-size: .7rem; color: #8b90a6; font-weight: 600; }
.q-pop-bar span { width: 8px; height: 8px; border-radius: 50%; background: #6a2bd9; }
.q-pop img { display: block; width: 100%; height: auto; }
.q-dev-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.q-dev-cards article { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid rgba(17,24,39,.08); }
.q-dev-cards h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.08rem; margin: 14px 0 6px; }
.q-dev-cards p { color: var(--text-2); font-size: .93rem; line-height: 1.6; margin: 0; }
.q-dev-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
.q-dev-links a { color: #5b21b6; font-weight: 650; font-size: .9rem; text-decoration: none; }
.q-dev-links a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
    .q-show { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
    .q-show-win { transform: none; }
    .q-dev-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .q-show { padding: 20px; }
    .q-devices { padding: 0 0 150px; }
    .q-dev-phone { width: 120px; padding: 5px; border-radius: 26px; }
    .q-dev-phone .q-scr { border-radius: 22px; }
    .q-pop { width: 160px; bottom: 0; }
    .q-win-bar { height: 24px; } .q-win-bar i { width: 8px; height: 8px; } .q-win-bar span { display: none; }
}

/* ── Real app screenshots in compositions ── */
.q-phone { margin: 0; padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #2d3140, #0c0f17 55%, #1e2231); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -24px rgba(30,20,90,.5), 0 20px 40px -24px rgba(0,0,0,.45); }
.q-scr { overflow: hidden; border-radius: 36px; background: #0b1020; line-height: 0; }
.q-scr img { width: 100%; height: auto; display: block; }
/* hero */
.q-hero { min-height: 640px; }
.q-hero .q-front { position: relative; z-index: 2; width: 286px; transform: translateX(28px); }
.q-hero .q-back { position: absolute; z-index: 1; width: 250px; top: 50%; left: 50%; transform: translate(-112%, -44%) rotate(-7deg); opacity: .96; filter: saturate(.9); }
.q-hero .p-f1 { top: 8%; left: auto; right: -2%; }
.q-hero .p-f2 { top: 54%; right: -6%; }
.q-hero .p-f3 { bottom: 4%; left: 4%; }
.q-hero .p-float { z-index: 3; }
/* how it works: before → after */
.q-ba { display: flex; align-items: flex-start; justify-content: center; gap: 10px; padding: 22px 12px 0; place-items: initial; }
.q-ba-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.q-sm { width: 118px; padding: 5px; border-radius: 24px; }
.q-sm .q-scr { border-radius: 20px; }
.q-ba-arrow { align-self: center; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #6a2bd9; box-shadow: 0 6px 16px rgba(40,30,110,.18); margin-top: -30px; flex: none; }
.q-ba-arrow svg { width: 17px; height: 17px; }
.q-ba .p-pill { box-shadow: 0 4px 10px rgba(0,0,0,.06); }
/* tabs */
.q-tabvis { position: relative; display: grid; place-items: center; height: 300px; overflow: hidden; margin: -34px -34px 24px; padding-top: 30px; border-radius: 22px 22px 0 0; background: radial-gradient(300px 220px at 50% 100%, rgba(106,43,217,.18), transparent 70%); }
.q-md { width: 210px; padding: 7px; border-radius: 34px; align-self: start; }
.q-md .q-scr { border-radius: 28px; }
.q-call { position: absolute; z-index: 2; }
.q-call-a { top: 70px; left: 6%; }
.q-call-b { top: 170px; right: 6%; animation-delay: -3s; }
/* app section fan */
.q-fan { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.q-fan .q-phone { width: 230px; }
.q-fan-c { position: relative; z-index: 3; width: 262px !important; }
.q-fan-l { position: absolute; z-index: 1; transform: translateX(-62%) rotate(-8deg) scale(.92); }
.q-fan-r { position: absolute; z-index: 2; transform: translateX(62%) rotate(8deg) scale(.92); }
.q-fan::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(106,43,217,.16), rgba(20,184,166,.08) 55%, transparent 72%); }
@media (max-width: 1000px) {
    .q-hero { min-height: 0; padding: 40px 0 20px; }
    .q-fan { min-height: 480px; }
}
@media (max-width: 640px) {
    .q-hero .q-front { width: 220px; transform: translateX(34px); }
    .q-hero .q-back { width: 180px; transform: translate(-108%, -46%) rotate(-7deg); }
    .q-hero .p-f1 { right: 0; top: 4%; } .q-hero .p-f2 { right: 0; } .q-hero .p-f3 { left: 0; }
    .q-tabvis { height: 270px; margin: -24px -20px 20px; }
    .q-md { width: 180px; }
    .q-call-a { left: 2%; } .q-call-b { right: 2%; }
    .q-call small { display: none; }
    .q-fan { min-height: 400px; }
    .q-fan .q-phone { width: 170px; }
    .q-fan-c { width: 196px !important; }
    .q-sm { width: 104px; }
}

/* ── Visual tiles (does/doesn't, features phone, privacy chips) ── */
.r-honest { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.r-col { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid rgba(17,24,39,.07); }
.r-col h3 { margin: 0 0 16px; font-size: 1.05rem; }
.r-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.r-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 10px; border-radius: 16px; background: linear-gradient(160deg, #f6fdf9, #effaf5); }
.r-tile.no { background: linear-gradient(160deg, #fff8f8, #fff1f1); }
.r-tile b { font-size: .88rem; line-height: 1.35; color: var(--text-1); font-weight: 650; }
.r-ico { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: #047857; box-shadow: 0 8px 18px -8px rgba(4,120,87,.35); }
.r-tile.no .r-ico { color: #b91c1c; box-shadow: 0 8px 18px -8px rgba(185,28,28,.3); }
.r-ico svg { width: 24px; height: 24px; }
.r-ico em { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #059669; color: #fff; border: 2px solid #fff; }
.r-tile.no .r-ico em { background: #dc2626; }
.r-ico em svg { width: 12px; height: 12px; stroke-width: 3; }
.r-feat { display: grid; grid-template-columns: 380px 1fr; gap: 44px; align-items: center; }
.r-feat-vis { position: relative; display: grid; place-items: center; padding: 20px 0; }
.r-feat-vis::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(106,43,217,.16), rgba(20,184,166,.07) 60%, transparent 72%); }
.r-set { position: relative; width: 250px; }
.r-c1 { top: 14%; left: -8%; } .r-c2 { top: 44%; right: -10%; animation-delay: -2s; } .r-c3 { bottom: 12%; left: -6%; animation-delay: -4s; }
.r-grid { grid-template-columns: 1fr 1fr; }
.r-data { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.r-data h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.r-data h4 svg { width: 15px; height: 15px; }
.r-data ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.r-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: .9rem; color: var(--text-1); font-weight: 550; }
.r-chip svg { width: 18px; height: 18px; flex: none; }
.r-chip.no { background: #fff5f5; } .r-chip.no svg { color: #dc2626; }
.r-chip.no span { text-decoration: line-through; text-decoration-color: rgba(220,38,38,.45); }
.r-chip.pr { background: #f5f3ff; } .r-chip.pr svg { color: #6a2bd9; }
@media (max-width: 1000px) {
    .r-honest { grid-template-columns: 1fr; }
    .r-feat { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .r-tiles { gap: 8px; } .r-tile { padding: 14px 6px; } .r-tile b { font-size: .8rem; }
    .r-ico { width: 44px; height: 44px; }
    .r-grid { grid-template-columns: 1fr; }
    .r-set { width: 200px; }
    .r-c1 { left: 0; } .r-c2 { right: 0; } .r-c3 { left: 0; }
    .r-feat-vis .p-float small { display: none; }
    .r-data { grid-template-columns: 1fr; }
}
.q-ba { height: auto; padding-bottom: 20px; }
@media (max-width: 1000px) { .q-ba { padding-bottom: 18px; } }

/* ── How it works: live connection flow ── */
.f-wrap { position: relative; padding: 46px 34px 34px; border-radius: 28px; background:
    radial-gradient(500px 300px at 15% 0%, rgba(106,43,217,.12), transparent 70%),
    radial-gradient(500px 300px at 90% 100%, rgba(20,184,166,.12), transparent 70%),
    linear-gradient(180deg, #fbfaff, #f4f6fd); border: 1px solid rgba(106,43,217,.1); }
.f-flow { display: grid; grid-template-columns: 200px 1fr 170px 90px 250px; align-items: center; gap: 0; }
.f-node, .f-tunnel { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.f-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--text-1); white-space: nowrap; }
.f-tag b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; color: #fff; background: var(--cap-grad, #6a2bd9); }
.f-phone { width: 190px; padding: 7px; border-radius: 32px; }
.f-phone .q-scr { border-radius: 26px; }
/* tunnel */
.f-tunnel { padding: 0 14px; }
.f-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: #fff; padding: 7px 13px; border-radius: 999px; background: linear-gradient(120deg, #6a2bd9, #3b6fd8); box-shadow: 0 10px 24px -8px rgba(106,43,217,.55); }
.f-badge svg { width: 14px; height: 14px; }
.f-pipe { position: relative; width: 100%; height: 58px; border-radius: 30px; overflow: hidden; background: linear-gradient(180deg, #ede9fe, #e0f2fe); box-shadow: inset 0 0 0 1.5px rgba(106,43,217,.22), inset 0 6px 14px rgba(106,43,217,.08); }
.f-beam { position: absolute; left: 16px; right: 16px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(106,43,217,.55) 0 14px, transparent 14px 26px); background-size: 26px 4px; animation: fBeam .9s linear infinite; }
.f-pk { position: absolute; top: 50%; left: 8px; width: 40px; height: 28px; margin-top: -14px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #6a2bd9, #3b6fd8); box-shadow: 0 6px 14px -4px rgba(59,111,216,.6); animation: fPkX 3.6s linear infinite; }
.f-pk svg { width: 14px; height: 14px; }
.f-sniff { width: 100%; max-width: 300px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 12px 26px -14px rgba(40,30,110,.3); }
.f-sniff small { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--text-2); }
.f-sniff small svg { width: 13px; height: 13px; }
.f-sniff code { display: block; margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; color: #5b21b6; letter-spacing: .02em; white-space: nowrap; overflow: hidden; }
/* server */
.f-rack { width: 150px; padding: 12px; border-radius: 18px; background: linear-gradient(160deg, #2a2f45, #0d1020); box-shadow: 0 30px 50px -22px rgba(30,20,90,.6); display: grid; gap: 8px; }
.f-unit { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: #171b2e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.f-led { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: fLed 1.4s ease-in-out infinite; }
.f-led.b { background: #818cf8; box-shadow: 0 0 6px #818cf8; animation: none; }
.f-bar { flex: 1; height: 5px; border-radius: 3px; background: #2b3150; margin-left: 4px; }
.f-rack-label { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .74rem; font-weight: 700; color: #c7d2fe; padding-top: 2px; }
.f-rack-label svg { width: 13px; height: 13px; }
/* link */
.f-link { align-self: center; margin-top: -38px; padding: 0 6px; }
.f-wire { position: relative; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #c4c9d9 0 6px, transparent 6px 12px); }
.f-dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #94a3b8; animation: fDotX 2.1s linear infinite; }
/* website */
.f-browser { width: 240px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 30px 50px -24px rgba(40,30,110,.35); }
.f-bbar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; background: #f3f4f8; }
.f-bbar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d7e2; }
.f-bbar i:nth-child(1) { background: #fca5a5; } .f-bbar i:nth-child(2) { background: #fcd34d; } .f-bbar i:nth-child(3) { background: #86efac; }
.f-bbar span { flex: 1; margin-left: 6px; height: 18px; line-height: 18px; border-radius: 9px; background: #fff; font-size: .68rem; color: var(--text-3); padding: 0 9px; }
.f-bbody { padding: 12px; display: grid; gap: 8px; }
.f-seen { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 10px; border-radius: 10px; background: #f6fdf9; border: 1px solid rgba(5,150,105,.15); }
.f-seen small { grid-column: 1 / -1; font-size: .7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.f-seen b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-seen .p-pill { font-size: .66rem; padding: 3px 7px; }
.f-real { background: #faf8ff; border-color: rgba(106,43,217,.14); }
.f-real b { text-decoration: line-through; text-decoration-color: rgba(220,38,38,.6); color: var(--text-2); }
@keyframes fBeam { to { background-position: 26px 0; } }
@keyframes fPkX { 0% { left: 8px; opacity: 0; } 8%, 90% { opacity: 1; } 100% { left: calc(100% - 48px); opacity: 0; } }
@keyframes fPkY { 0% { top: 8px; opacity: 0; } 8%, 90% { opacity: 1; } 100% { top: calc(100% - 36px); opacity: 0; } }
@keyframes fDotX { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes fLed { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .f-beam, .f-pk, .f-dot, .f-led { animation: none; } .f-pk:not(:first-of-type), .f-dot:not(:first-child) { display: none; } }
@media (max-width: 1100px) {
    .f-flow { grid-template-columns: 1fr; justify-items: center; gap: 6px; }
    .f-tunnel { width: 100%; max-width: 340px; padding: 6px 0; }
    .f-pipe { width: 58px; height: 150px; flex: none; }
    .f-beam { left: 50%; right: auto; top: 14px; bottom: 14px; width: 4px; height: auto; margin: 0 0 0 -2px; background: repeating-linear-gradient(180deg, rgba(106,43,217,.55) 0 14px, transparent 14px 26px); background-size: 4px 26px; animation-name: fBeamY; }
    .f-pk { left: 50%; top: 8px; width: 34px; height: 26px; margin: 0 0 0 -17px; animation-name: fPkY; }
    .f-link { margin: 0; }
    .f-wire { width: 3px; height: 60px; background: repeating-linear-gradient(180deg, #c4c9d9 0 6px, transparent 6px 12px); }
    .f-dot { left: 50%; top: 0; margin: 0 0 0 -5px; animation-name: fDotY; }
    .f-node { margin: 8px 0; }
}
@keyframes fBeamY { to { background-position: 0 26px; } }
@keyframes fDotY { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
@media (max-width: 640px) {
    .f-wrap { padding: 26px 14px 22px; }
    .f-phone { width: 170px; }
}
.f-seen { grid-template-columns: 1fr; gap: 4px; }
.f-seen .p-pill { justify-self: start; }

/* ── Hero: one phone, one tap ── */
.h2-vis { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 10px 0; }
.h2-glow { position: absolute; top: 8%; left: 50%; width: 480px; height: 480px; margin-left: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(106,43,217,.22) 0%, rgba(59,111,216,.12) 40%, rgba(20,184,166,.08) 60%, transparent 72%); animation: h2Glow 8s ease-in-out infinite; }
.h2-phone { position: relative; width: 280px; }
.h2-scr { position: relative; }
.h2-scr img { display: block; width: 100%; height: auto; }
.h2-b { position: absolute; inset: 0; height: 100% !important; object-fit: cover; object-position: top; opacity: 0; animation: h2Swap 7s ease-in-out infinite; }
.h2-tap { position: absolute; left: 50%; top: 29%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 2px rgba(255,255,255,.7); opacity: 0; animation: h2Tap 7s ease-out infinite; pointer-events: none; }
.h2-status { position: relative; height: 44px; min-width: 230px; }
.h2-s { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 999px; white-space: nowrap; font-weight: 700; font-size: .95rem; background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 14px 30px -14px rgba(40,30,110,.35); }
.h2-s-off { color: #b91c1c; animation: h2Off 7s ease-in-out infinite; }
.h2-s-on { color: #047857; opacity: 0; animation: h2On 7s ease-in-out infinite; }
.h2-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.h2-dot.off { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.15); }
.h2-dot.on { background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
@keyframes h2Swap { 0%, 40% { opacity: 0; } 47%, 92% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes h2Tap { 0%, 28% { opacity: 0; transform: scale(.4); } 32% { opacity: 1; transform: scale(.8); } 42% { opacity: 0; transform: scale(1.9); } 100% { opacity: 0; } }
@keyframes h2Off { 0%, 40% { opacity: 1; } 46%, 93% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes h2On { 0%, 41% { opacity: 0; } 47%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes h2Glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
    .h2-b { animation: none; opacity: 1; } .h2-tap, .h2-glow { animation: none; }
    .h2-s-off { animation: none; opacity: 0; } .h2-s-on { animation: none; opacity: 1; }
}
@media (max-width: 1000px) { .h2-vis { margin-top: 34px; } }
@media (max-width: 640px) {
    .h2-phone { width: 230px; }
    .h2-glow { width: 360px; height: 360px; margin-left: -180px; }
}

/* ── Hero v3: dark, interactive ── */
.x-hero { position: relative; overflow: hidden; color: #e8e9f5; background:
    radial-gradient(700px 520px at 78% 30%, rgba(106,43,217,.45), transparent 65%),
    radial-gradient(520px 420px at 98% 90%, rgba(20,184,166,.28), transparent 65%),
    radial-gradient(600px 400px at 0% 0%, rgba(59,111,216,.22), transparent 70%),
    #0a0818 !important; }
.x-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent); pointer-events: none; }
.x-hero .h-wrap { position: relative; }
.x-hero h1 { color: #fff; }
.x-hero h1 .v-grad { background: linear-gradient(120deg, #c4b5fd 0%, #93c5fd 50%, #5eead4 100%); -webkit-background-clip: text; background-clip: text; }
.x-hero .h-lead { color: #c3c6dc; }
.x-hero .h-eyebrow { background: rgba(255,255,255,.07) !important; border-color: rgba(255,255,255,.14) !important; color: #e0e3f5 !important; }
.x-hero .v-assure li { color: #e8e9f5; }
.x-hero .v-assure li svg { color: #5eead4; }
.x-hero .v-platforms { color: #8f93ad; }
.x-hero .v-platforms a { color: #c3c6dc; }
.x-hero .v-platforms a:hover { color: #fff; }
.x-hero .h-proof, .x-hero .h-proof a { color: #a9adc6; }
.x-hero .h-proof b { color: #fff; }
.x-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.x-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.x-vis { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.x-aura { position: absolute; top: 4%; left: 50%; width: 460px; height: 460px; margin-left: -230px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(106,43,217,.5), rgba(59,111,216,.35), rgba(20,184,166,.45), rgba(106,43,217,.5)); filter: blur(70px); opacity: .55; animation: xSpin 14s linear infinite; }
@keyframes xSpin { to { transform: rotate(360deg); } }
/* phone */
.x-phone { position: relative; z-index: 2; width: 300px; padding: 10px; border-radius: 48px; background: linear-gradient(160deg, #3a3f52, #12151f 45%, #262b3b); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 60px 120px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.6); }
.x-screen { position: relative; overflow: hidden; height: 600px; border-radius: 38px; padding: 64px 16px 0; display: flex; flex-direction: column; align-items: center; color: #fff; font-family: inherit; transition: background .8s ease;
    background: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(180deg, #3b1726 0%, #1a1424 34%, #121826 100%); }
.x-phone[data-state="on"] .x-screen { background: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(180deg, #0f4a43 0%, #10272c 34%, #121826 100%); }
.x-island { position: absolute; top: 12px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.x-lock { width: 46px; height: 46px; color: #f87171; transition: color .5s; }
.x-shackle { transition: transform .45s ease; transform-origin: 16px 11px; transform: translate(0, -2px) rotate(28deg); }
.x-phone[data-state="on"] .x-lock { color: #34d399; }
.x-phone[data-state="on"] .x-shackle { transform: none; }
.x-pill { display: flex; align-items: center; gap: 7px; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(15,18,30,.75); border: 1px solid rgba(255,255,255,.1); font-size: .8rem; white-space: nowrap; max-width: 100%; }
.x-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; flex: none; transition: background .4s; }
.x-phone[data-state="busy"] .x-dot { background: #fbbf24; animation: xBlink .6s ease-in-out infinite; }
.x-phone[data-state="on"] .x-dot { background: #10b981; }
@keyframes xBlink { 50% { opacity: .3; } }
.x-sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.x-ip { color: #b6bad0; overflow: hidden; text-overflow: ellipsis; }
.x-ip b { font-weight: 500; color: #d6d9ea; }
.x-flag { display: none; }
.x-flag img { width: 20px; height: 14px; border-radius: 3px; display: block; }
.x-phone[data-state="on"] .x-flag { display: block; }
.x-btn { position: relative; margin-top: 22px; width: 100%; height: 54px; border: 0; border-radius: 16px; cursor: pointer; color: #fff; font: 700 1.15rem/1 inherit; letter-spacing: .01em; background: linear-gradient(100deg, #8b5cf6, #6366f1); box-shadow: 0 14px 30px -10px rgba(139,92,246,.7); transition: transform .15s, filter .2s; }
.x-btn:hover { filter: brightness(1.08); }
.x-btn:active { transform: scale(.97); }
.x-btn:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 3px; }
.x-phone[data-state="off"]:not(.x-used) .x-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 20px; border: 2px solid rgba(167,139,250,.8); animation: xRing 1.8s ease-out infinite; }
@keyframes xRing { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.08); } }
.x-list { width: 100%; margin-top: 26px; padding: 10px 10px 4px; border-radius: 20px; background: rgba(30,35,52,.85); border: 1px solid rgba(255,255,255,.07); }
.x-lh { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 8px; font-size: .86rem; }
.x-lh span { display: flex; align-items: center; gap: 6px; }
.x-lh svg { width: 14px; height: 14px; color: #8b5cf6; }
.x-lh em { font-style: normal; color: #a78bfa; font-size: .8rem; }
.x-row { display: flex; align-items: center; gap: 12px; padding: 7px 4px; font-size: .9rem; }
.x-row img { width: 30px; height: 21px; border-radius: 4px; }
.x-row span { flex: 1; }
.x-rdot { width: 7px; height: 7px; border-radius: 50%; background: #5b6078; }
.x-phone[data-state="on"] .x-sel .x-rdot { background: #10b981; box-shadow: 0 0 8px #10b981; }
.x-nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 0 14px; background: #111522; border-top: 1px solid rgba(255,255,255,.05); font-size: .7rem; color: #6b7089; }
.x-nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.x-nav svg { width: 17px; height: 17px; }
.x-nav .on { color: #8b5cf6; }
.x-hint { position: absolute; z-index: 3; top: 170px; left: calc(50% + 168px); white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: .85rem; font-weight: 650; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .4s; }
.x-hint svg { width: 16px; height: 16px; color: #c4b5fd; }
.x-vis.x-used .x-hint, .x-vis[data-state="on"] .x-hint { opacity: 0; }
/* what websites see */
.x-seen { position: absolute; z-index: 3; left: -40px; bottom: 6px; width: 270px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.96); color: var(--text-1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: box-shadow .4s; }
.x-seen-h { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.x-seen-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.15); transition: background .4s, box-shadow .4s; }
.x-seen[data-state="on"] .x-seen-dot { background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.x-seen dl { margin: 10px 0 0; display: grid; gap: 6px; }
.x-seen dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; }
.x-seen dt { color: var(--text-3); }
.x-seen dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #b91c1c; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .4s; }
.x-seen[data-state="on"] dd { color: #047857; }
@media (prefers-reduced-motion: reduce) { .x-aura, .x-phone .x-btn::after { animation: none !important; } }
@media (max-width: 1000px) { .x-vis { margin-top: 36px; } .x-hint { left: calc(50% + 160px); } .x-seen { left: 50%; margin-left: -260px; } }
@media (max-width: 640px) {
    .x-phone { width: 270px; border-radius: 44px; }
    .x-screen { height: 540px; padding-top: 56px; }
    .x-vis { flex-direction: column; align-items: center; gap: 16px; padding-bottom: 0; }
    .x-seen { position: relative; left: auto; bottom: auto; margin: 0; width: 100%; max-width: 300px; }
    .x-hint { position: static; transform: none; order: -1; }
    .x-aura { width: 340px; height: 340px; margin-left: -170px; }
}
/* hero v3 fixes: light page, lock without clipping, no island */
.x-screen { padding-top: 36px; }
.x-lock { overflow: visible; }
.x-sh-closed { display: none; }
.x-phone[data-state="on"] .x-sh-closed { display: inline; }
.x-phone[data-state="on"] .x-sh-open { display: none; }
.x-aura { opacity: .28; filter: blur(80px); }
.x-hint { color: #3b2a7a; background: #fff; border-color: rgba(106,43,217,.18); box-shadow: 0 12px 28px -12px rgba(40,30,110,.35); }
.x-hint svg { color: #6a2bd9; }
.x-seen { border: 1px solid rgba(17,24,39,.08); box-shadow: 0 24px 50px -20px rgba(40,30,110,.4); }
@media (max-width: 640px) { .x-screen { padding-top: 30px; } }

/* ── Honest does / can't: one quiet card ── */
.hn { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border-radius: 24px; background: #fff; border: 1px solid rgba(17,24,39,.07); box-shadow: 0 1px 2px rgba(15,23,42,.04); overflow: hidden; }
.hn-col { padding: 30px 34px; }
.hn-col + .hn-col { border-left: 1px solid rgba(17,24,39,.07); background: #fafafc; }
.hn-k { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6a2bd9; }
.hn-muted .hn-k { color: var(--text-3); }
.hn ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.hn li { display: flex; gap: 14px; align-items: flex-start; }
.hn-i { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #f1ecff, #e0f7f4); color: #6a2bd9; }
.hn-i svg { width: 18px; height: 18px; }
.hn-muted .hn-i { background: #f0f1f5; color: #8a8fa6; }
.hn b { display: block; font-size: .98rem; color: var(--text-1); font-weight: 650; }
.hn small { display: block; margin-top: 2px; font-size: .86rem; color: var(--text-2); }
.hn-muted b { color: #4b5068; }
@media (max-width: 760px) {
    .hn { grid-template-columns: 1fr; }
    .hn-col { padding: 24px 22px; }
    .hn-col + .hn-col { border-left: 0; border-top: 1px solid rgba(17,24,39,.07); }
}

/* ── Security section: light theme ── */
.v-light { background: linear-gradient(180deg, #fbfaff 0%, #f4f2ff 100%); }
.v-light .v-spec article { background: #fff; border: 1px solid rgba(17,24,39,.07); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 18px 40px -28px rgba(40,30,110,.3); transition: transform .2s, box-shadow .2s; }
.v-light .v-spec article:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -26px rgba(40,30,110,.38); }
.v-light .v-spec-tag { color: #5b21b6; background: #f1ecff; border-color: rgba(106,43,217,.18); }
.v-light .v-spec h3 { color: var(--text-1); }
.v-light .v-spec p { color: var(--text-2); }
.v-light .v-spec a { color: #5b21b6; }
.v-light .v-spec a:hover { color: #3b1690; }
.v-light .v-facts { background: rgba(17,24,39,.07); border-color: rgba(17,24,39,.07); }
.v-light .v-facts > div { background: #fff; }
.v-light .v-facts span { background: linear-gradient(135deg, #f1ecff, #e0f7f4); color: #6a2bd9; }
.v-light .v-facts b { color: var(--text-1); }
.v-light .v-facts small { color: var(--text-2); }
.v-light .v-facts a { color: #5b21b6; font-weight: 650; }
.v-light .v-btn-light { background: linear-gradient(120deg, #6a2bd9, #3b6fd8); color: #fff; }
.v-light .v-btn-light:hover { color: #fff; filter: brightness(1.08); }
.v-light .v-textlink { color: #5b21b6; }
.v-light .v-textlink:hover { color: #3b1690; }
/* single hero CTA */
.v-cta .btn-primary { padding: 17px 30px; font-size: 1.08rem; }
.v-cta .btn-primary svg { width: 18px; height: 18px; transition: transform .2s; }
.v-cta .btn-primary:hover svg { transform: translateX(3px); }
.v-sub { margin: 14px 0 0; font-size: .92rem; color: var(--text-2); }
@media (max-width: 640px) { .v-sub { font-size: .86rem; line-height: 1.6; } }

/* ── /vpn-extension page ── */
.e-hero { padding-bottom: 80px; }
.e-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.e-crumb { margin: 0 0 18px; font-size: .85rem; color: var(--text-3); }
.e-crumb a { color: var(--text-2); text-decoration: none; }
.e-soon { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: #5b21b6; background: #fff; border: 1px solid rgba(106,43,217,.22); padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 16px -10px rgba(106,43,217,.5); }
.e-soon i { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.18); animation: xBlink 1.6s ease-in-out infinite; }
.e-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.06; margin: 18px 0 18px; letter-spacing: -0.035em; }
.e-btn-soon { display: inline-flex; align-items: center; gap: 9px; padding: 16px 26px; font-size: 1.02rem; font-weight: 700; border-radius: 14px; color: #5b21b6; background: #f1ecff; border: 1px dashed rgba(106,43,217,.45); cursor: default; }
.e-btn-soon svg { width: 18px; height: 18px; }
.e-vis { position: relative; padding: 10px 0 30px; }
.e-browser { position: relative; border-radius: 16px; background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 50px 100px -40px rgba(40,30,110,.45), 0 20px 40px -24px rgba(0,0,0,.2); min-height: 470px; }
.e-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; background: #f3f4f8; border-bottom: 1px solid rgba(17,24,39,.06); border-radius: 16px 16px 0 0; }
.e-dots { display: flex; gap: 6px; }
.e-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d7e2; }
.e-dots i:nth-child(1) { background: #ff5f57; } .e-dots i:nth-child(2) { background: #febc2e; } .e-dots i:nth-child(3) { background: #28c840; }
.e-url { flex: 1; display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 14px; background: #fff; font-size: .8rem; color: var(--text-3); }
.e-url svg { width: 12px; height: 12px; }
.e-ext { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 2px #8b5cf6; }
.e-page-sk { padding: 28px; display: grid; gap: 12px; }
.e-page-sk .sk { height: 12px; border-radius: 6px; background: #eef0f6; display: block; }
.e-page-sk .w90 { width: 90%; } .e-page-sk .w80 { width: 80%; } .e-page-sk .w70 { width: 70%; height: 22px; } .e-page-sk .w60 { width: 60%; } .e-page-sk .w50 { width: 50%; }
.e-page-sk .sk-img { height: 150px; border-radius: 12px; background: linear-gradient(135deg, #f1ecff, #e6f7f5); display: block; width: 55%; }
.e-pop { position: absolute; top: 40px; right: 14px; width: 250px; margin: 0; border-radius: 14px; background: #0b0a12; border: 1px solid rgba(0,0,0,.2); box-shadow: 0 40px 80px -24px rgba(30,20,90,.55); }
.e-pop img { display: block; width: 100%; height: auto; border-radius: 14px; }
.e-pop::before { content: ""; position: absolute; top: -7px; right: 20px; width: 14px; height: 14px; background: #0b0a12; transform: rotate(45deg); }
.e-f1 { left: -20px; bottom: 40px; }
.e-two { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.e-two h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 10px 0 0; letter-spacing: -.025em; }
.e-p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; margin: 16px 0 0; }
.e-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.e-list li { display: flex; gap: 12px; align-items: center; color: var(--text-1); }
.e-list svg { width: 18px; height: 18px; color: #6a2bd9; flex: none; }
.e-split { position: relative; max-width: 420px; justify-self: center; width: 100%; padding: 20px; border-radius: 22px; color: #e7e9f5; background: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(180deg, #1a1530, #0e0c18); box-shadow: 0 50px 100px -40px rgba(30,20,90,.6); }
.e-split-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #15131f; border: 1px solid rgba(255,255,255,.08); }
.e-split-tabs button { height: 40px; border: 0; border-radius: 10px; background: transparent; color: #8f93ad; font: 700 .9rem/1 inherit; cursor: pointer; }
.e-split-tabs button[aria-selected="true"] { background: #262236; color: #fff; }
.e-split-note { margin: 14px 2px 12px; font-size: .84rem; color: #a5b4fc; }
.e-split-add { display: flex; gap: 8px; }
.e-split-add span { flex: 1; height: 40px; line-height: 40px; padding: 0 12px; border-radius: 10px; background: #15131f; border: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: #6b7089; }
.e-split-add b { width: 64px; height: 40px; line-height: 40px; text-align: center; border-radius: 10px; background: #4c3a9a; color: #d6d0ff; font-size: .88rem; }
.e-split-list { list-style: none; margin: 14px 0 0; padding: 0; transition: opacity .3s; }
.e-split-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; border-top: 1px solid rgba(255,255,255,.07); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; }
.e-split.full .e-split-list { opacity: .35; pointer-events: none; }
.e-tg { position: relative; width: 44px; height: 24px; border: 0; border-radius: 12px; background: #3a3850; cursor: pointer; transition: background .2s; }
.e-tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #cfd2e0; transition: transform .2s; }
.e-tg.on { background: #6d4fd8; }
.e-tg.on::after { transform: translateX(20px); background: #fff; }
.e-tg:focus-visible, .e-split-tabs button:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.e-split-hint { display: flex; align-items: center; gap: 6px; justify-content: center; margin: 12px 0 0; font-size: .78rem; color: #8f93ad; transition: opacity .3s; }
.e-split-hint svg { width: 14px; height: 14px; }
.e-split.used .e-split-hint { opacity: 0; }
.e-rtc-vis { position: relative; display: grid; place-items: center; padding: 20px 0; }
.e-rtc-vis::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(106,43,217,.16), rgba(20,184,166,.08) 60%, transparent 72%); }
.e-pop-lg { position: relative; top: auto; right: auto; width: 300px; }
.e-pop-lg::before { display: none; }
.e-f2 { right: 0; bottom: 18%; }
.e-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.e-vs article { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid rgba(17,24,39,.08); display: flex; flex-direction: column; align-items: flex-start; }
.e-vs .e-vs-app { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--cap-grad) border-box; box-shadow: 0 24px 50px -30px rgba(106,43,217,.45); }
.e-vs h3 { margin: 16px 0 2px; font-size: 1.25rem; }
.e-vs-for { margin: 0; font-size: .88rem; color: var(--text-2); }
.e-vs ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; }
.e-vs li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--text-1); }
.e-vs li svg { width: 17px; height: 17px; color: #059669; flex: none; }
.e-vs li.no { color: var(--text-3); }
.e-vs li.no svg { color: var(--text-3); }
.e-locs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.e-faq { max-width: 820px; }
.e-q { border-bottom: 1px solid rgba(17,24,39,.08); }
.e-q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.02rem; color: var(--text-1); }
.e-q summary::-webkit-details-marker { display: none; }
.e-q summary svg { width: 18px; height: 18px; flex: none; color: var(--text-3); transition: transform .2s; }
.e-q[open] summary svg { transform: rotate(180deg); }
.e-q p { margin: 0 4px 20px; color: var(--text-2); line-height: 1.7; }
@media (max-width: 1000px) {
    .e-hero-grid, .e-two { grid-template-columns: 1fr; gap: 36px; }
    .e-rev .e-rtc-vis { order: 2; }
    .e-vs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .e-browser { min-height: 400px; }
    .e-pop { width: 200px; right: 10px; }
    .e-page-sk .sk-img { width: 40%; }
    .e-f1 { left: 0; bottom: 14px; }
    .e-f1 small, .e-f2 small { display: none; }
    .e-pop-lg { width: 250px; }
    .e-f2 { right: 0; }
    .e-vs article { padding: 22px; }
}

.v-platforms .v-soon { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5b21b6; background: #f1ecff; padding: 2px 6px; border-radius: 999px; margin-left: 2px; }

.v-platforms { gap: 6px 13px; }
.v-platforms a { gap: 5px; }
.v-platforms { gap: 6px 11px; font-size: .84rem; }
.v-platforms svg { width: 15px; height: 15px; }

.h-plan .h-w { display: none; }
.h-plan.is-week .h-w { display: flex; }
.h-plan.is-week .h-nw { display: none; }
.h-seg { flex-wrap: wrap; }
@media (max-width: 640px) { .h-seg { display: grid; grid-template-columns: 1fr 1fr; } .h-seg button { justify-content: center; text-align: center; } }

/* Old dark "feature-box" blocks on use/vpn pages -> light */
body .feature-box { background: linear-gradient(145deg, #faf8ff 0%, #f1f4ff 100%) !important; border: 1px solid rgba(106,43,217,.12) !important; color: var(--text-1); }
body .feature-box h2, body .feat-text h4, body .step-card h3 { color: var(--text-1) !important; }
body .feature-box p, body .feat-text p { color: var(--text-2) !important; }
body .feat-icon { background: linear-gradient(135deg, #f1ecff, #e0f7f4) !important; color: #6a2bd9 !important; }

/* contrast fixes (site audit, 2 Dec) */
.h-stat a, .h-stats-note { color: #555b73 !important; }
.h-save { color: #047857 !important; }
.status-up { color: #047857 !important; }
.tools-cta, .tools-cta h2, .tools-cta p { color: #fff !important; }
.tools-cta .cta-btn { background: #fff !important; color: #3730a3 !important; }

.sf-top { grid-template-columns: 1.3fr repeat(6, 1fr); gap: 24px; }
@media (max-width: 1080px) { .sf-top { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .sf-top { grid-template-columns: 1fr 1fr; } }

a.h-chip { text-decoration: none; transition: border-color .15s, color .15s; }
a.h-chip:hover { border-color: rgba(106,43,217,.45); color: #5b21b6; }

/* extension CTA block */
.ext-cta { display: flex; align-items: center; gap: 18px; margin: 2rem 0; padding: 20px 22px; border-radius: 18px; background: linear-gradient(120deg, #f6f2ff, #eef6ff 60%, #ecfaf7); border: 1px solid rgba(106,43,217,.16); }
.ext-cta-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #6a2bd9; box-shadow: 0 8px 20px -10px rgba(106,43,217,.5); }
.ext-cta-ico svg { width: 24px; height: 24px; }
.ext-cta-body { flex: 1; min-width: 0; }
.ext-cta-body b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.05rem; color: var(--text-1); }
.ext-cta-body p { margin: 4px 0 0 !important; color: var(--text-2) !important; font-size: .93rem; line-height: 1.55; }
.ext-cta-soon { font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #5b21b6; background: #fff; border: 1px solid rgba(106,43,217,.25); padding: 2px 8px; border-radius: 999px; }
.ext-cta-btn { flex: none; white-space: nowrap; }
@media (max-width: 640px) { .ext-cta { flex-direction: column; align-items: flex-start; } .ext-cta-btn { width: 100%; justify-content: center; } }

/* ── How it works v2: Without VPN / With Cap VPN ── */
.g-wrap { padding: 30px 34px 34px; border-radius: 28px; border: 1px solid rgba(106,43,217,.1); background:
    radial-gradient(500px 300px at 15% 0%, rgba(106,43,217,.12), transparent 70%),
    radial-gradient(500px 300px at 90% 100%, rgba(20,184,166,.12), transparent 70%), linear-gradient(180deg, #fbfaff, #f4f6fd); transition: background .5s; }
.g-wrap[data-vpn="off"] { background: radial-gradient(500px 300px at 15% 0%, rgba(239,68,68,.08), transparent 70%), linear-gradient(180deg, #fffafa, #fbf6f7); border-color: rgba(220,38,38,.12); }
.g-wrap[data-vpn="off"] .g-on, .g-wrap[data-vpn="on"] .g-off { display: none !important; }
.g-top { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 30px; }
.g-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid rgba(17,24,39,.1); box-shadow: 0 10px 24px -16px rgba(40,30,110,.4); }
.g-switch button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 700 .92rem/1 inherit; color: var(--text-2); cursor: pointer; transition: background .25s, color .25s; }
.g-switch button svg { width: 16px; height: 16px; }
.g-switch button[data-v="off"][aria-pressed="true"] { background: #fee2e2; color: #b91c1c; }
.g-switch button[data-v="on"][aria-pressed="true"] { background: linear-gradient(120deg, #6a2bd9, #3b6fd8); color: #fff; }
.g-switch button:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.g-cap { margin: 0; max-width: 640px; text-align: center; color: var(--text-2); font-size: .98rem; }
.g-grid { display: grid; grid-template-columns: 200px 1fr 170px 110px 260px; grid-template-areas: "dev path srv link site" "l1 l2 l3 . l4"; align-items: center; row-gap: 22px; }
.g-dev { grid-area: dev; position: relative; z-index: 2; justify-self: center; }
.g-path { grid-area: path; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 -18px; }
.g-srv { grid-area: srv; position: relative; z-index: 2; justify-self: center; }
.g-link { grid-area: link; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 6px; }
.g-site { grid-area: site; justify-self: center; }
.g-l1 { grid-area: l1; } .g-l2 { grid-area: l2; } .g-l3 { grid-area: l3; } .g-l4 { grid-area: l4; }
.g-phone { width: 190px; padding: 7px; border-radius: 32px; }
.g-scr { position: relative; border-radius: 26px; }
.g-scr img { display: block; width: 100%; height: auto; }
.g-scr .g-img-on { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s; }
.g-wrap[data-vpn="on"] .g-img-on { opacity: 1; }
.g-badge { display: inline-flex; }
.g-badge > span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 7px 13px; border-radius: 999px; color: #fff; background: linear-gradient(120deg, #6a2bd9, #3b6fd8); box-shadow: 0 10px 24px -8px rgba(106,43,217,.55); }
.g-badge > .g-off { background: #ef4444; box-shadow: 0 10px 24px -8px rgba(239,68,68,.5); }
.g-badge svg { width: 14px; height: 14px; }
.g-pipe { position: relative; width: 100%; height: 58px; border-radius: 30px; overflow: hidden; background: linear-gradient(180deg, #ede9fe, #e0f2fe); box-shadow: inset 0 0 0 1.5px rgba(106,43,217,.22); transition: background .4s, box-shadow .4s; }
.g-wrap[data-vpn="off"] .g-pipe { background: #f3f4f6; box-shadow: inset 0 0 0 1.5px rgba(17,24,39,.1); }
.g-beam { position: absolute; left: 20px; right: 20px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(106,43,217,.55) 0 14px, transparent 14px 26px); background-size: 26px 4px; animation: fBeam .9s linear infinite; }
.g-wrap[data-vpn="off"] .g-beam { background: repeating-linear-gradient(90deg, rgba(148,163,184,.8) 0 8px, transparent 8px 16px); background-size: 16px 4px; }
.g-pk { position: absolute; top: 50%; left: 8px; width: 40px; height: 28px; margin-top: -14px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #6a2bd9, #3b6fd8); box-shadow: 0 6px 14px -4px rgba(59,111,216,.6); animation: fPkX 3.6s linear infinite; }
.g-pk svg { width: 14px; height: 14px; display: block; }
.g-pk-off { display: none; }
.g-wrap[data-vpn="off"] .g-pk { background: #f87171; box-shadow: 0 6px 14px -4px rgba(239,68,68,.6); }
.g-wrap[data-vpn="off"] .g-pk-on { display: none; } .g-wrap[data-vpn="off"] .g-pk-off { display: block; }
.g-sniff { width: 100%; max-width: 310px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 12px 26px -14px rgba(40,30,110,.3); }
.g-sniff small { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--text-2); }
.g-sniff small svg { width: 13px; height: 13px; }
.g-sniff code { display: block; margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; color: #5b21b6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-sniff .g-plain { color: #b91c1c; font-weight: 700; }
.g-rack { position: relative; transition: opacity .4s, filter .4s; }
.g-rack-loc { display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 4px; font-size: .78rem; font-weight: 700; color: #e0e7ff; }
.g-rack-loc img { width: 20px; height: 14px; border-radius: 3px; }
.g-unused { display: none; position: absolute; inset: 0; border-radius: 18px; place-items: center; font-size: .82rem; font-weight: 800; color: #fff; background: rgba(15,23,42,.55); letter-spacing: .04em; text-transform: uppercase; }
.g-wrap[data-vpn="off"] .g-rack { filter: grayscale(1); opacity: .45; }
.g-wrap[data-vpn="off"] .g-unused { display: grid; }
.g-net { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.g-wire { position: relative; width: 100%; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #c4c9d9 0 6px, transparent 6px 12px); }
.g-dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #94a3b8; animation: fDotX 2.1s linear infinite; }
.g-wrap[data-vpn="off"] .g-dot { background: #f87171; }
.g-browser { width: 250px; }
.g-seen { display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: #f6fdf9; border: 1px solid rgba(5,150,105,.15); transition: background .4s, border-color .4s; }
.g-seen small { font-size: .7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.g-seen b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-seen .p-pill { justify-self: start; font-size: .68rem; padding: 3px 8px; }
.g-wrap[data-vpn="off"] .g-seen { background: #fff5f5; border-color: rgba(220,38,38,.2); }
.g-bad { color: #b91c1c !important; }
.g-lab { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--text-1); text-align: center; }
.g-lab b { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; color: #fff; background: linear-gradient(120deg, #6a2bd9, #3b6fd8); }
.g-wrap[data-vpn="off"] .g-lab b { background: #ef4444; }
.g-wrap[data-vpn="on"] .g-lab b { animation: gStep 4s ease-in-out infinite; }
.g-wrap[data-vpn="on"] .g-l2 b { animation-delay: 1s; } .g-wrap[data-vpn="on"] .g-l3 b { animation-delay: 2s; } .g-wrap[data-vpn="on"] .g-l4 b { animation-delay: 3s; }
@keyframes gStep { 0%, 20%, 100% { transform: scale(1); box-shadow: none; } 8% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(106,43,217,.18); } }
@media (prefers-reduced-motion: reduce) { .g-beam, .g-pk, .g-dot, .g-lab b { animation: none !important; } .g-pk:not(:first-of-type) { display: none; } }
@media (max-width: 1100px) {
    .g-grid { grid-template-columns: 1fr; grid-template-areas: "dev" "l1" "path" "l2" "srv" "l3" "link" "site" "l4"; justify-items: center; row-gap: 10px; }
    .g-path { width: 100%; max-width: 340px; margin: 10px 0; }
    .g-pipe { width: 58px; height: 140px; }
    .g-beam { left: 50%; right: auto; top: 14px; bottom: 14px; width: 4px; height: auto; margin: 0 0 0 -2px; background: repeating-linear-gradient(180deg, rgba(106,43,217,.55) 0 14px, transparent 14px 26px); background-size: 4px 26px; animation-name: fBeamY; }
    .g-wrap[data-vpn="off"] .g-beam { background: repeating-linear-gradient(180deg, rgba(148,163,184,.8) 0 8px, transparent 8px 16px); background-size: 4px 16px; }
    .g-pk { left: 50%; top: 8px; width: 34px; height: 26px; margin: 0 0 0 -17px; animation-name: fPkY; }
    .g-link { width: auto; margin: 6px 0; }
    .g-wire { width: 3px; height: 54px; background: repeating-linear-gradient(180deg, #c4c9d9 0 6px, transparent 6px 12px); }
    .g-dot { left: 50%; top: 0; margin: 0 0 0 -5px; animation-name: fDotY; }
    .g-lab { margin-bottom: 8px; }
}
@media (max-width: 640px) {
    .g-wrap { padding: 22px 14px; }
    .g-switch button { padding: 0 13px; font-size: .84rem; height: 40px; }
    .g-phone { width: 170px; }
}
