/*
Theme Name: Lucky VPN
Theme URI: https://luckyvpn.pro/
Author: Lucky VPN
Description: Theme for luckyvpn.pro. Landing page, pricing, download and license activation pages, and a blog. Meta tags, canonical URLs, Open Graph and structured data are built in and switch themselves off when an SEO plugin is active. One self-hosted font, no jQuery, no external requests.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luckyvpn
*/

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
/* Metric-matched fallback so text does not jump when the web font arrives. */
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 105%;
  ascent-override: 98%;
  descent-override: 21%;
  line-gap-override: 0%;
}

:root {
  --bg: #F5F8F6;
  --surface: #FFFFFF;
  --ink: #0A1912;
  --ink-2: #2E4038;
  --muted: #56675E;
  --line: #DCE5E0;
  --line-2: #EAF0EC;
  --brand: #1FCB82;
  --brand-2: #12B76A;
  --brand-ink: #07784A;
  --brand-soft: #E3F7EC;
  --on-brand: #03170C;
  --gold: #F6B73C;
  --gold-soft: #FFF4DC;
  --night: #06130D;
  --night-2: #0C2018;
  --night-3: #12301F;
  --night-line: rgba(255, 255, 255, .09);
  --night-ink: #A7BCB1;
  --danger: #C2410C;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 25, 18, .05), 0 8px 24px -12px rgba(10, 25, 18, .14);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .55);
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--surface); color: var(--ink); border-radius: 10px; box-shadow: var(--shadow); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 30px -10px rgba(31, 203, 130, .6); }
.btn-primary:hover { background: #34D892; color: var(--on-brand); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #17342A; color: #fff; }
.btn-line { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn .btn-sub { display: block; font-size: .72rem; font-weight: 600; opacity: .7; letter-spacing: .01em; }
.btn .btn-txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }

/* store buttons: the visitor's browser gets the bright one (site.js moves .is-main) */
.btn-store { min-height: 58px; gap: 12px; padding: 9px 22px 9px 10px; justify-content: flex-start; }
.btn-store .btn-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; flex: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.btn-store .btn-logo svg { width: 30px; height: 30px; }
.store-row.is-dark .btn-store { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.store-row.is-dark .btn-store:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.store-row.is-light .btn-store { background: var(--surface); border-color: var(--line); color: var(--ink); }
.store-row.is-light .btn-store:hover { border-color: var(--ink); color: var(--ink); }
.store-row .btn-store.is-main { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 10px 30px -10px rgba(31, 203, 130, .6); }
.store-row .btn-store.is-main:hover { background: #34D892; color: var(--on-brand); }
.h3 { font-size: 1.2rem; letter-spacing: -.015em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 19, 13, .92); color: #fff; border-bottom: 1px solid var(--night-line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.hdr { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand b { color: var(--brand); font-weight: 800; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 9px 14px; border-radius: 999px; color: #D5E3DB; font-weight: 600; font-size: .96rem; text-decoration: none; }
.nav a:hover, .nav .current-menu-item > a, .nav .is-on > a { color: #fff; background: rgba(255, 255, 255, .08); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--night-line); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; inset: 72px 0 auto; margin: 0; padding: 12px 20px 22px; background: var(--night); border-bottom: 1px solid var(--night-line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 13px 14px; font-size: 1.05rem; }
  .hdr { gap: 14px; }
  .hdr-cta .btn { display: none; }
  .nav .nav-store { display: block; margin-top: 12px; }
}
.nav .nav-store { display: none; }

/* ---------- dark sections ---------- */
.is-night { background: var(--night); color: #fff; }
.is-night p { color: var(--night-ink); }
.is-night a:not(.btn) { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: radial-gradient(1000px 520px at 85% 10%, rgba(31, 203, 130, .20), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(246, 183, 60, .08), transparent 60%), var(--night); color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 14px 7px 8px; border: 1px solid rgba(31, 203, 130, .35); border-radius: 999px; background: rgba(31, 203, 130, .10); color: #BFF3D9; font-size: .88rem; font-weight: 700; }
.eyebrow i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-style: normal; }
.eyebrow i svg { width: 13px; height: 13px; }
.hero h1 { max-width: 13ch; margin-bottom: 20px; color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #4BE6A5, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 33rem; margin-bottom: 30px; color: #C5D6CC; font-size: 1.16rem; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--night-ink); font-size: .93rem; }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.ua-note { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(246, 183, 60, .12); border: 1px solid rgba(246, 183, 60, .3); color: #FBE3B0; font-size: .93rem; }
html[data-ua="mobile"] .ua-note[data-for="mobile"], html[data-ua="firefox"] .ua-note[data-for="firefox"], html[data-ua="safari"] .ua-note[data-for="safari"] { display: block; }

/* hero illustration (decorative, CSS only) */
.hero-art { position: relative; min-height: 470px; }
.browser { position: absolute; inset: 20px 0 30px 40px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: linear-gradient(180deg, #102A1E, #0A1D14); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .03); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser-bar .url { flex: 1; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #7F978A; font-size: .78rem; line-height: 28px; padding: 0 14px; display: flex; align-items: center; gap: 8px; }
.browser-bar .url svg { width: 12px; height: 12px; color: var(--brand); }
.browser-bar .ext { width: 28px; height: 28px; border-radius: 8px; background: rgba(31, 203, 130, .18); box-shadow: 0 0 0 2px var(--brand); display: grid; place-items: center; }
.browser-bar .ext img { width: 20px; height: 20px; border-radius: 5px; }
.browser-page { padding: 26px 24px; display: grid; gap: 12px; }
.browser-page i { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.browser-page i:nth-child(1) { width: 55%; height: 20px; background: rgba(255, 255, 255, .09); }
.browser-page i:nth-child(2) { width: 85%; }
.browser-page i:nth-child(3) { width: 70%; }
.browser-page i:nth-child(4) { width: 40%; margin-top: 14px; height: 90px; border-radius: 12px; }
.popup { position: absolute; top: 64px; right: 18px; width: 300px; border-radius: 18px; background: #FFFFFF; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .04); overflow: hidden; animation: lvp-float 6s ease-in-out infinite; }
@keyframes lvp-float { 50% { transform: translateY(-8px); } }
.popup-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); font-weight: 800; }
.popup-head img { width: 30px; height: 30px; border-radius: 8px; }
.popup-head .pro { margin-left: auto; padding: 3px 8px; border-radius: 6px; background: var(--gold-soft); color: #8A5A00; font-size: .7rem; letter-spacing: .06em; }
.popup-status { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.popup-status .ring { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: var(--on-brand); flex: none; }
.popup-status .ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(31, 203, 130, .35); animation: lvp-pulse 2.4s ease-out infinite; }
@keyframes lvp-pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.popup-status .ring svg { width: 22px; height: 22px; }
.popup-status b { display: block; font-size: 1rem; }
.popup-status small { color: var(--muted); font-size: .8rem; }
.popup-list { margin: 0; padding: 6px 8px 10px; list-style: none; }
.popup-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: .86rem; font-weight: 600; }
.popup-list li img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.popup-list li.on { background: var(--brand-soft); }
.popup-list .bars { margin-left: auto; display: flex; gap: 2px; align-items: flex-end; }
.popup-list .bars i { width: 3px; border-radius: 2px; background: var(--brand-2); }
.popup-list .bars i:nth-child(1) { height: 5px; } .popup-list .bars i:nth-child(2) { height: 8px; } .popup-list .bars i:nth-child(3) { height: 11px; }
.popup-list li:nth-child(4) .bars i:nth-child(3), .popup-list li:nth-child(5) .bars i:nth-child(3) { background: #CBD5CF; }
.ip-card { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(12, 32, 24, .92); border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ip-card .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(246, 183, 60, .16); color: var(--gold); display: grid; place-items: center; }
.ip-card .ico svg { width: 20px; height: 20px; }
.ip-card b { display: block; color: #fff; font-size: .95rem; }
.ip-card small { color: var(--night-ink); font-size: .8rem; }

/* ---------- trust strip ---------- */
.trust { padding: 22px 0; background: var(--night-2); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); color: #D2E0D8; }
.trust ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.trust li svg { width: 26px; height: 26px; flex: none; }
.trust li strong { color: #fff; font-weight: 800; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head.is-left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; margin-bottom: 14px; color: var(--brand-ink); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.is-night .kicker { color: var(--brand); }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.is-night .sec-head p { color: var(--night-ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 30px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--ink); color: var(--brand); font-weight: 800; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: #B9D9C8; transform: translateY(-2px); }
.feature .ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-ink); }
.feature .ico svg { width: 25px; height: 25px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* locations */
.locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.locations li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); color: #fff; font-weight: 600; }
.locations img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); }
.loc-foot { margin: 26px 0 0; text-align: center; font-size: .93rem; }
.stat-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin: 0 0 44px; }
.stat-row div { text-align: center; }
.stat-row b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.stat-row span { color: var(--night-ink); font-size: .95rem; }

/* compare table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: 17px 22px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.compare thead th { background: #F8FBF9; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare thead th.is-us { color: var(--brand-ink); }
.compare tbody th { font-weight: 700; width: 34%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td.is-us { background: rgba(31, 203, 130, .06); font-weight: 600; }
.yes, .no { display: inline-flex; align-items: center; gap: 8px; }
.yes svg, .no svg { width: 18px; height: 18px; flex: none; }
.yes svg { color: var(--brand-2); }
.no svg { color: #9AA8A0; }
.compare-note { margin: 18px 0 0; color: var(--muted); font-size: .93rem; text-align: center; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.plan.is-pro { border: 2px solid var(--brand-2); background: linear-gradient(180deg, #F2FCF7, #fff 40%); box-shadow: 0 30px 60px -30px rgba(18, 183, 106, .45); }
.plan-badge { position: absolute; top: -14px; left: 32px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { margin-bottom: 6px; font-size: 1.3rem; }
.plan-sub { margin: 0 0 22px; color: var(--muted); font-size: .96rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price b { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-per { margin: 0 0 24px; color: var(--brand-ink); font-weight: 700; font-size: .95rem; min-height: 1.5em; }
.ticks { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; flex: none; color: var(--brand-2); }
.ticks li.is-off { color: var(--muted); }
.ticks li.is-off svg { color: #A9B5AE; }
.plan .btn { margin-top: auto; }
.plan-foot { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }
.pricing-note { max-width: 720px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }

/* privacy split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split-card { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.split-card.is-never { background: var(--ink); color: #fff; border-color: var(--ink); }
.split-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.split-card h3 svg { width: 24px; height: 24px; }
.split-card.is-never h3 svg { color: var(--brand); }
.split-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.split-card li { position: relative; padding-left: 26px; }
.split-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--brand-2); }
.split-card.is-never li { color: #D8E6DE; }
.split-card.is-never li::before { background: #FF7A59; border-radius: 50%; }
.split-card:not(.is-never) li { color: var(--ink-2); }
.split-more { margin: 24px 0 0; text-align: center; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307784A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 20px; color: var(--ink-2); }
.faq .faq-a p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: 84px 0; background: radial-gradient(800px 400px at 50% 120%, rgba(31, 203, 130, .25), transparent 70%), var(--night); color: #fff; text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: var(--night-ink); font-size: 1.1rem; }
.cta-band .store-row { justify-content: center; }
.cta-band img.fox { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 0 0 6px rgba(31, 203, 130, .15); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 56px; background: radial-gradient(800px 380px at 80% 0%, rgba(31, 203, 130, .16), transparent 60%), var(--night); color: #fff; }
.page-hero h1 { max-width: 22ch; margin-bottom: 14px; font-size: clamp(2rem, 4.2vw, 3.1rem); color: #fff; }
.page-hero .lead { max-width: 640px; margin: 0; color: #C5D6CC; font-size: 1.12rem; }
.page-hero.is-center { text-align: center; }
.page-hero.is-center h1, .page-hero.is-center .lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--night-ink); font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #D5E3DB; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- download page ---------- */
.browsers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.browser-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.browser-card > svg { width: 52px; height: 52px; margin-bottom: 18px; }
.browser-card p { color: var(--muted); font-size: .96rem; }
.browser-card .btn { margin-top: auto; }
.browser-card.is-soon { box-shadow: none; background: transparent; border-style: dashed; }
.browser-card.is-soon .soon { margin-top: auto; padding: 6px 12px; border-radius: 999px; background: var(--line-2); color: var(--muted); font-weight: 700; font-size: .85rem; }
html[data-ua="edge"] .browser-card[data-browser="edge"], html[data-ua="chrome"] .browser-card[data-browser="chrome"] { border: 2px solid var(--brand-2); }
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }
.howto-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.howto-card ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; color: var(--ink-2); }

/* ---------- activate ---------- */
.activate-box { max-width: 620px; margin: -40px auto 0; position: relative; padding: 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.activate-box label { display: block; margin-bottom: 8px; font-weight: 700; }
.activate-box input[type="text"] { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #FAFCFB; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .98rem; letter-spacing: .02em; }
.activate-box input[type="text"]:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(31, 203, 130, .2); }
.activate-box .btn { margin-top: 16px; }
.activate-msg { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.activate-msg.is-ok { display: block; background: var(--brand-soft); color: var(--brand-ink); }
.activate-msg.is-err { display: block; background: #FDEEE8; color: var(--danger); }
.activate-msg.is-info { display: block; background: var(--gold-soft); color: #7A4F00; }
.manual-steps { max-width: 620px; margin: 30px auto 0; }
.manual-steps ol { display: grid; gap: 10px; padding-left: 1.3em; color: var(--ink-2); }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { display: block; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, var(--night-3), var(--night)); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img.is-empty { display: grid; place-items: center; }
.card-img.is-empty img { width: 64px; height: 64px; opacity: .9; border-radius: 16px; object-fit: contain; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-cat { margin-bottom: 10px; color: var(--brand-ink); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.card-meta { margin-top: auto; color: var(--muted); font-size: .85rem; }
.post-lead { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 30px; }
.post-lead .card-img { aspect-ratio: auto; min-height: 100%; }
.post-lead .card-body { padding: 36px; justify-content: center; }
.post-lead h3 { font-size: 1.7rem; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 50px 30px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* single post */
.post-hero { padding: 56px 0 120px; }
.post-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; color: var(--night-ink); font-size: .93rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta svg { width: 16px; height: 16px; }
.post-cat { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(31, 203, 130, .14); color: #9FF0C9 !important; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.post-cover { margin-top: -84px; margin-bottom: 40px; }
.post-cover img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.post-hero.no-cover { padding-bottom: 56px; }
.post-hero.no-cover + .wrap { padding-top: 52px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-bottom: 24px; }
.post-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.toc { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc b { display: block; margin-bottom: 10px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .93rem; line-height: 1.4; }
.toc a:hover, .toc a.is-on { background: var(--brand-soft); color: var(--brand-ink); }
.aside-cta { padding: 24px; border-radius: var(--radius); background: var(--night); color: #fff; }
.aside-cta img { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px; }
.aside-cta b { display: block; margin-bottom: 6px; font-size: 1.1rem; }
.aside-cta p { color: var(--night-ink); font-size: .93rem; }

/* post content typography */
.entry { font-size: 1.08rem; line-height: 1.78; color: var(--ink-2); }
.entry > * { margin-top: 0; margin-bottom: 1.25em; }
.entry h2 { margin-top: 1.9em; font-size: 1.75rem; color: var(--ink); }
.entry h3 { margin-top: 1.6em; font-size: 1.3rem; color: var(--ink); }
.entry h2, .entry h3 { scroll-margin-top: 96px; }
.entry a { color: var(--brand-ink); font-weight: 600; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .45em; }
.entry li::marker { color: var(--brand-2); }
.entry img, .entry figure img { border-radius: 14px; }
.entry figure { margin-inline: 0; }
.entry figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; text-align: center; }
.entry blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--brand-2); border-radius: 0 14px 14px 0; background: var(--brand-soft); color: var(--ink); }
.entry blockquote p:last-child { margin: 0; }
.entry code { padding: .15em .4em; border-radius: 6px; background: var(--line-2); font-size: .9em; }
.entry pre { padding: 18px; border-radius: 14px; background: var(--night); color: #D9E8DF; overflow-x: auto; font-size: .9rem; }
.entry pre code { padding: 0; background: none; }
.entry table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.entry th, .entry td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; }
.entry th { background: #F4F8F6; color: var(--ink); }
.entry .wp-block-table { overflow-x: auto; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry .alignwide { width: min(100vw - 40px, 1000px); }
.entry .aligncenter { margin-inline: auto; }
.entry .wp-block-button__link { border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; }
.post-cta { display: flex; align-items: center; gap: 22px; margin: 44px 0 0; padding: 28px; border-radius: 22px; background: var(--night); color: #fff; }
.post-cta img { width: 64px; height: 64px; border-radius: 18px; flex: none; }
.post-cta b { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.post-cta p { margin: 0; color: var(--night-ink); font-size: .96rem; }
.post-cta .btn { margin-left: auto; }
.post-foot { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.post-foot a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .85rem; text-decoration: none; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 30px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.author-box img { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.author-box b { display: block; margin-bottom: 4px; }
.author-box p { margin: 0; color: var(--muted); font-size: .95rem; }

/* legal / plain pages */
.page-body { padding: 64px 0 96px; }
.page-body .entry { max-width: 760px; margin: 0 auto; }
.entry .updated { margin-top: 2.4em; color: var(--muted); font-size: .92rem; }

/* search form */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.page-hero .search-form input[type="search"] { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; }
.page-hero .search-form input::placeholder { color: var(--night-ink); }

/* 404 */
.nf { padding: 110px 0; text-align: center; }
.nf .code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(90deg, var(--brand), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- footer ---------- */
.site-footer { padding: 70px 0 30px; background: var(--night); color: var(--night-ink); font-size: .95rem; }
.ftr { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.ftr p { max-width: 320px; color: var(--night-ink); }
.ftr h2 { margin-bottom: 16px; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.ftr ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ftr a { color: var(--night-ink); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr .brand { margin-bottom: 16px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: .85rem; }
.ftr-bottom p { margin: 0; max-width: none; }
.ftr-stores { display: flex; gap: 10px; margin-top: 20px; }
.ftr-stores a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .04); }
.ftr-stores svg { width: 22px; height: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { max-width: 16ch; }
  .hero-art { min-height: 430px; max-width: 560px; width: 100%; margin-inline: auto; }
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .post-aside .toc { display: none; }
  .ftr { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .steps, .features, .posts { grid-template-columns: 1fr 1fr; }
  .split, .howto { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 480px); }
  .post-lead { grid-template-columns: 1fr; }
  .post-lead .card-img { aspect-ratio: 1200 / 630; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 64px; }
  .hero .lead { font-size: 1.05rem; }
  .store-row .btn { width: 100%; }
  .steps, .features, .posts { grid-template-columns: 1fr; }
  .hero-art { min-height: 400px; }
  .browser { inset: 10px 0 40px 0; }
  .popup { right: 50%; transform: translateX(50%); width: min(290px, 92%); animation: none; }
  .ip-card { display: none; }
  .hero-art { min-height: 380px; }
  .trust ul { justify-content: flex-start; }
  .ftr { grid-template-columns: 1fr; gap: 30px; }
  .post-cta { flex-direction: column; align-items: flex-start; }
  .post-cta .btn { margin-left: 0; width: 100%; }
  .activate-box { padding: 24px 20px; }
  .stat-row { gap: 28px; }
  .sec-head { margin-bottom: 36px; }
  .post-lead .card-body { padding: 24px; }
  .post-lead h3 { font-size: 1.35rem; }
}
