/* ProxyHQ design system - no build step, system fonts, dark blue/indigo scheme */
:root {
  --bg: #0b101b;
  --bg-2: #0e1626;
  --card: #121b2d;
  --card-2: #182338;
  --line: #1f2a40;
  --line-2: #2b3a57;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --muted-2: #c3cad6;
  --blue: #3b82f6;
  --blue-600: #2563eb;
  --indigo: #0ea5e9;
  --purple: #0ea5e9;
  --emerald: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 76px; }
a, button, summary, label, [role="button"] { -webkit-tap-highlight-color: transparent; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -.2em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 7px 16px; border-radius: 999px; background: rgba(59, 130, 246, .1); border: 1px solid rgba(59, 130, 246, .25); color: #93c5fd; font-size: .92rem; font-weight: 600; margin-bottom: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; font: 600 .9rem var(--font); cursor: pointer; transition: transform .15s, background .15s, border-color .15s; text-decoration: none !important; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(90deg, #1d4ed8, #0284c7) border-box; background-origin: border-box; background-clip: border-box; color: #fff; box-shadow: 0 6px 16px rgba(29, 78, 216, .16); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: var(--card-2); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: #202d48; }
.btn-green { background: var(--emerald); color: #04130d; }
.btn-purple { background: #0284c7; color: #fff; }
.btn-danger { background: transparent; color: #fca5a5; border-color: rgba(239, 68, 68, .4); }
.btn-sm { padding: 7px 12px; font-size: .8rem; border-radius: 10px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 27, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--blue-600), var(--indigo)); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .18); }
.brand-name { font-weight: 800; letter-spacing: .08em; font-size: 1.05rem; line-height: 1; }
.brand-name small { display: block; font-size: .6rem; letter-spacing: .3em; color: #60a5fa; font-weight: 700; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: var(--muted-2); padding: 8px 12px; border-radius: 10px; font-size: .92rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: var(--card-2); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; background: var(--card-2); border: 1px solid var(--line-2); color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; place-items: center; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 12px 16px 20px; background: var(--bg); }
.mobile-menu a { display: block; padding: 12px 8px; color: var(--muted-2); border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-menu .btn { margin-top: 12px; }
.mobile-menu.open { display: block; }

/* Hero */
.hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(14, 165, 233, .12), transparent 70%), radial-gradient(40% 40% at 90% 20%, rgba(37, 99, 235, .08), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .22; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 .grad { background: linear-gradient(90deg, #5b9cf5, #3aa6e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted-2); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; padding: 0; list-style: none; margin: 0; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--emerald); }

/* Mock dashboard preview in hero */
.preview { background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.preview-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.preview-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; display: block; }
.preview-body { padding: 18px; display: grid; gap: 14px; }
.preview .row { display: flex; justify-content: space-between; align-items: baseline; }
.meter { height: 10px; background: #0b1220; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-600), #38bdf8); border-radius: 999px; }
.meter.green > span { background: linear-gradient(90deg, #059669, #34d399); }
.code-line { background: #0a1120; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: .78rem var(--mono); color: #cbd5e1; overflow-x: auto; white-space: nowrap; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card); padding: 22px 18px; text-align: center; }
.stat b { display: block; font-size: 1.6rem; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .85rem; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.hover:hover { border-color: var(--line-2); transform: translateY(-2px); transition: .2s; }
.card h3 { margin-top: 14px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(59, 130, 246, .12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, .25); font-size: 1.2rem; }
.card-icon.green { background: rgba(16, 185, 129, .12); color: #34d399; border-color: rgba(16, 185, 129, .25); }
.card-icon.purple { background: rgba(14, 165, 233, .12); color: #7dd3fc; border-color: rgba(14, 165, 233, .25); }
.card-icon.amber { background: rgba(245, 158, 11, .12); color: #fbbf24; border-color: rgba(245, 158, 11, .25); }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-600), var(--indigo)); display: grid; place-items: center; font-weight: 800; }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.price-card.res { border-color: rgba(16, 185, 129, .45); }
.price-card.dc { border-color: rgba(14, 165, 233, .45); }
.price-card .amount { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-card .amount small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted-2); font-size: .95rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--emerald); margin-top: 4px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.badge.blue { background: rgba(59, 130, 246, .15); color: #93c5fd; }
.badge.purple { background: rgba(14, 165, 233, .15); color: #7dd3fc; }
.badge.green { background: rgba(16, 185, 129, .15); color: #6ee7b7; }
.badge.amber { background: rgba(245, 158, 11, .15); color: #fcd34d; }
.badge.red { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.badge.gray { background: rgba(148, 163, 184, .15); color: #cbd5e1; }
.pack-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pack { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: 600 .85rem var(--font); cursor: pointer; }
.pack:hover { border-color: var(--blue); }
.pack.active { background: rgba(59, 130, 246, .18); border-color: var(--blue); }

/* Code block with tabs */
.code-card { background: #0a1120; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow-x: auto; }
.code-tabs button.tab { background: transparent; color: var(--muted); border: 0; padding: 7px 12px; border-radius: 8px; font: 600 .82rem var(--font); cursor: pointer; white-space: nowrap; }
.code-tabs button.tab[aria-pressed="true"] { background: var(--card-2); color: #fff; }
.code-tabs .spacer { flex: 1; }
.code-panel { display: none; position: relative; }
.code-panel.active { display: block; }
pre.code { margin: 0; padding: 16px 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: .78rem/1.65 var(--mono); color: #dbe4f3; }
pre.code .c { color: #64748b; }
.copy-btn { display: inline-flex; gap: 6px; align-items: center; background: var(--card-2); color: var(--muted-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 10px; font: 600 .75rem var(--font); cursor: pointer; }
.copy-btn:hover { color: #fff; }
.copy-btn.done { color: #6ee7b7; border-color: rgba(16, 185, 129, .5); }
.inline-code { font-family: var(--mono); font-size: .88em; background: var(--card-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: #dbe4f3; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted-2); padding-bottom: 18px; margin: 0; }

/* CTA */
.cta { text-align: center; background: linear-gradient(135deg, rgba(29, 78, 216, .16), rgba(2, 132, 199, .12)); border: 1px solid rgba(56, 189, 248, .35); border-radius: 24px; padding: 56px 24px; }
.cta p { color: var(--muted-2); max-width: 560px; margin: 0 auto 24px; }

/* Footer */
.site-footer { background: #090e17; border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid .foot-title { margin-top: 0; font-weight: 700; line-height: 1.2; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-addr { color: var(--muted); font-size: .85rem; font-family: var(--mono); line-height: 1.7; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted-2); justify-self: start; }
.input, .select, textarea.input { width: 100%; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color: var(--text); font: 500 .95rem var(--font); }
.input:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
.input[readonly] { color: var(--muted-2); }
.input.mono, textarea.mono { font-family: var(--mono); font-size: .85rem; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .input { padding-right: 90px; }
.input-wrap .adorn { position: absolute; right: 8px; display: flex; gap: 4px; }
.icon-btn { background: transparent; border: 0; color: var(--muted); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { color: #fff; background: var(--line); }
.hint { font-size: .8rem; color: var(--muted); }
.error-text { font-size: .82rem; color: #fca5a5; display: none; }
.field.invalid .input { border-color: var(--red); }
.field.invalid .error-text { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted-2); margin-bottom: 16px; }
.check input { margin-top: 4px; accent-color: var(--blue); width: 16px; height: 16px; }
.alert { padding: 12px 14px; border-radius: 12px; font-size: .9rem; margin-bottom: 16px; border: 1px solid; }
.alert.info { background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .3); color: #bfdbfe; }
.alert.ok { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .3); color: #a7f3d0; }
.alert.warn { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .3); color: #fde68a; }
.alert.err { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .3); color: #fecaca; }
.strength { height: 6px; background: #0b1220; border-radius: 999px; overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s, background .2s; }

/* Auth pages */
.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 16px; position: relative; }
.auth-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 0%, rgba(14, 165, 233, .10), transparent 70%); pointer-events: none; }
.auth-card { position: relative; width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Docs and legal */
.page-title { padding: 56px 0 24px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 165, 233, .1), transparent); }
.page-title p { color: var(--muted); margin: 0; }
.prose { padding: 40px 0 72px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--muted-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose a, .prose a:hover { text-decoration: none; }
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 40px 0 72px; }
.docs-nav { position: sticky; top: 88px; align-self: start; display: grid; gap: 2px; }
.docs-nav .nav-title { font-weight: 700; line-height: 1.2; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 8px 6px; }
.docs-nav a { color: var(--muted-2); padding: 7px 10px; border-radius: 8px; font-size: .92rem; text-decoration: none; }
.docs-nav a:hover { background: var(--card-2); color: #fff; }
.docs-nav a[aria-current="page"] { background: rgba(59, 130, 246, .15); color: #fff; }
.docs-article { min-width: 0; }
.docs-article h1 { font-size: 2rem; }
.note { border-left: 3px solid var(--blue); background: rgba(59, 130, 246, .08); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--muted-2); margin: 1.2em 0; }
.note.warn { border-color: var(--amber); background: rgba(245, 158, 11, .08); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.tbl th { text-align: left; color: var(--muted); font-weight: 600; font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--muted-2); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: 0; }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.loc-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.loc-item .code { font: 700 .7rem var(--mono); color: #93c5fd; background: rgba(59, 130, 246, .12); border-radius: 6px; padding: 2px 6px; text-transform: uppercase; }

/* App (dashboard) layout */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { padding: 18px 18px 14px; }
.side-scroll { flex: 1; overflow-y: auto; padding: 8px 12px; }
.side-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 6px; font-weight: 700; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--muted-2); font-size: .92rem; font-weight: 500; text-decoration: none; margin-bottom: 2px; }
.side-link:hover { background: var(--card-2); color: #fff; }
.side-link[aria-current="page"] { background: rgba(59, 130, 246, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .3); }
.side-link .badge { margin-left: auto; }
.side-foot { padding: 12px; border-top: 1px solid var(--line); }
.user-chip { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; color: var(--text); text-decoration: none; }
.user-chip:hover { background: var(--card-2); text-decoration: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(59, 130, 246, .2); color: #93c5fd; font-weight: 800; border: 1px solid rgba(59, 130, 246, .35); flex-shrink: 0; }
.user-chip .who { overflow: hidden; line-height: 1.3; }
.user-chip .who b { display: block; font-size: .88rem; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.user-chip .who span { font-size: .82rem; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: block; }
.app-main { min-width: 0; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(11, 16, 27, .88); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30; gap: 12px; }
.topbar h1 { font-size: 1.15rem; margin: 0; }
.topbar .left { display: flex; gap: 12px; align-items: center; }
.menu-btn { display: none; }
.content { padding: 24px; max-width: 1100px; margin: 0 auto; display: grid; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.05rem; margin: 0; }
.bal-card .big { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.bal-card .big small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.bal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; align-items: center; }
.kv > label { color: var(--muted); font-size: .85rem; font-weight: 600; }
.copy-field { display: flex; align-items: center; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px 6px 4px 12px; min-width: 0; }
.copy-field input { background: transparent; border: 0; color: var(--text); font: 500 .85rem var(--mono); padding: 8px 0; width: 100%; min-width: 0; outline: none; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; }
.seg button { background: transparent; color: var(--muted-2); border: 0; padding: 8px 14px; border-radius: 9px; font: 600 .85rem var(--font); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--blue-600); color: #fff; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.chart { width: 100%; height: 190px; display: block; }
.chart text { fill: var(--muted); font: 11px var(--font); }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .bar { fill: #3b82f6; }
.chart .bar:hover { fill: #38bdf8; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }

/* Modal and toast */
.modal-back { position: fixed; inset: 0; background: rgba(2, 6, 14, .75); backdrop-filter: blur(4px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-back.open { display: flex; }
.modal { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; padding: 28px; position: relative; box-shadow: var(--shadow); }
.modal h2 { font-size: 1.4rem; }
.modal .close { position: absolute; right: 14px; top: 14px; }
.sum { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; margin-bottom: 16px; }
.sum div { display: flex; justify-content: space-between; color: var(--muted-2); font-size: .92rem; }
.sum div.total { border-top: 1px solid var(--line); padding-top: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.coin-opt { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card-2); cursor: pointer; margin-bottom: 8px; }
.coin-opt input { accent-color: var(--blue); }
.coin-opt.active { border-color: var(--blue); background: rgba(59, 130, 246, .12); }
.coin-opt b { font-size: .92rem; }
.coin-opt span { font-size: .85rem; color: var(--muted); display: block; }
.toast-host { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--card-2); border: 1px solid var(--line-2); border-left: 3px solid var(--emerald); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: .9rem; max-width: 340px; }
.toast.err { border-left-color: var(--red); }
.preview-ribbon { background: #3b2a06; color: #fde68a; text-align: center; font-size: .8rem; padding: 6px 12px; border-bottom: 1px solid #5c430c; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .docs-nav .nav-title { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .hide-m { display: none; }
  .nav-toggle { display: grid; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 90; width: 270px; transform: translateX(-100%); transition: transform .25s; }
  .sidebar.open { transform: none; box-shadow: var(--shadow); }
  .scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 80; display: none; }
  .scrim.open { display: block; }
  .menu-btn { display: grid; }
  .content { padding: 16px; }
  .topbar { padding: 0 16px; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .kv { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding: 56px 0 44px; }
  .docs-nav { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 20px; }
  .toast-host { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Overflow safety for grid children */
.content { grid-template-columns: minmax(0, 1fr); }
.content > *, .grid > *, .panel, .form-row > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Flags and locations */
.flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.loc-item { min-width: 0; }
.loc-item span.n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.loc-tools .input { max-width: 320px; }
.copy-btn-i.done, .icon-btn.done { color: #6ee7b7; }

/* Locations with flags */
.flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.loc-item .code { margin-left: auto; }
.loc-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.loc-tools .input { max-width: 280px; }

/* Copied bubble for icon-only copy buttons */
.icon-btn { position: relative; }
.icon-btn[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); right: 0; background: #059669; color: #fff; font: 700 .72rem var(--font); padding: 4px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; z-index: 5; box-shadow: 0 4px 12px rgba(0,0,0,.4); }

/* Country picker */
.picker { position: relative; }
.picker-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color: var(--text); font: 500 .95rem var(--font); cursor: pointer; text-align: left; }
.picker-btn:focus-visible, .picker-btn[aria-expanded="true"] { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
.picker-btn .icon { color: var(--muted); flex-shrink: 0; }
.picker-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.picker-val { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-ph { color: var(--muted-2); }
.picker-panel { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.picker-panel[hidden] { display: none; }
.picker-search { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; color: var(--text); font: 500 .95rem var(--font); outline: none; }
.picker-list { list-style: none; margin: 0; padding: 6px; max-height: 280px; overflow-y: auto; }
.picker-list li { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; cursor: pointer; color: var(--muted-2); font-size: .92rem; }
.picker-list li:hover, .picker-list li:focus { background: var(--card-2); color: #fff; }
.picker-list li.sel { color: #fff; }
.picker-list .tick { width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.picker-list li.sel .tick { background: var(--blue-600); border-color: var(--blue-600); }
.picker-list .tick .icon { width: 14px; height: 14px; }
.picker-list .flag-ph { width: 20px; display: grid; place-items: center; color: var(--muted); }
.picker-list .flag { width: 20px; height: 15px; }
.picker-empty { color: var(--muted); justify-content: center; cursor: default !important; }

/* Dashboard shell v2: profile menu, sidebar groups, whitelist */
.topbar .right { display: flex; align-items: center; gap: 12px; }
.profile-menu { position: relative; }
.avatar-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--indigo, #0ea5e9); color: #fff; font: 700 1rem var(--font); cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.avatar-btn:hover, .avatar-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(56, 189, 248, .45); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.menu-pop[hidden] { display: none; }
.menu-who { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-who b { font-size: .95rem; }
.menu-who span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.menu-pop a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--muted-2); font-size: .93rem; font-weight: 500; }
.menu-pop a:hover { background: var(--card-2); color: #fff; }
.menu-pop .icon { width: 18px; height: 18px; }
.menu-sep { height: 1px; background: var(--line); margin: 6px 0; }
.side-group { margin-bottom: 2px; }
.side-group summary { cursor: pointer; list-style: none; }
.side-group summary::-webkit-details-marker { display: none; }
.side-group summary .chev { margin-left: auto; display: grid; transition: transform .15s; }
.side-group[open] summary .chev { transform: rotate(180deg); }
.side-sub { padding: 2px 0 6px 18px; margin-left: 18px; border-left: 1px solid var(--line); }
.side-sublabel { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.side-sublink { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; color: var(--muted-2); font: 500 .9rem var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.side-sublink:hover { background: var(--card-2); color: #fff; }
.side-empty { display: block; padding: 4px 10px 8px; color: var(--muted); font-size: .85rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.blue { background: var(--blue); } .dot.green { background: #10b981; } .dot.purple { background: #38bdf8; }
.wl-form { display: flex; gap: 10px; }
.wl-form .input { flex: 1; min-width: 0; }
.wl-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.wl-list li { display: flex; align-items: center; justify-content: space-between; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 14px; }
.wl-list .wl-empty { color: var(--muted); justify-content: center; padding: 14px; }
@media (max-width: 480px) { .wl-form { flex-direction: column; } .topbar .right { gap: 8px; } }

/* Sidebar: always-open sections */
.side-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 4px; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.side-head .icon { width: 16px; height: 16px; }
.side-sublink.add { color: var(--blue); font-weight: 600; }
.side-sublink.add .icon { width: 16px; height: 16px; }
/* Generator one-line setting */
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); background: var(--card-2); border-radius: 12px; margin-top: 4px; }
.setting-row b { display: block; font-size: .92rem; }
.setting-row span { font-size: .82rem; color: var(--muted); }

/* logo: the mark is its own tile */
.brand-mark { background: none !important; box-shadow: none !important; width: 36px; height: 38px; border-radius: 0; }
.brand-mark .logo-svg { display: block; filter: drop-shadow(0 4px 8px rgba(79,109,240,.18)); }

/* Cloudflare Turnstile slot */
.ts-slot { margin: 0 0 16px; min-height: 0; }
.ts-slot:empty { display: none; }

/* wordmark without the NETWORK line */
.brand-name { font-size: 1.2rem; }

/* picker: keyboard highlight, multi-select text */
.picker-list li.act { background: var(--card-2); color: #fff; }
.picker-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* footer: centered copyright */
.foot-bottom { justify-content: center; text-align: center; }

/* Landing hero: world-map card */
.geo-card { background: linear-gradient(180deg, #131c30, #0f1626); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.geo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.geo-head b { font-size: 1rem; }
.geo-badge { font-size: .85rem; color: #7d8fb3; background: #16223b; border: 1px solid #243558; padding: 4px 10px; border-radius: 999px; }
.geo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.geo-chip { flex: 1 1 auto; justify-content: center; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: #121b2f; border: 1px solid #26365a; font-size: .9rem; color: #dbe6ff; }
.geo-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.geo-legend { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 30px; justify-content: center; margin-top: 12px; }
.geo-key { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: #aab8d8; }
.geo-key i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.geo-flow { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.geo-node { flex: 1; text-align: center; padding: 12px 6px; border-radius: 12px; background: #0d1528; border: 1px solid #26365a; display: grid; justify-items: center; gap: 6px; }
.geo-node b { font-size: .95rem; }
.geo-node .icon { width: 22px; height: 22px; color: #60a5fa; }
.geo-node img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.geo-node.hl { flex: 1.2; background: linear-gradient(180deg, #1b2f66, #142249); border-color: #3a5bc7; }
.geo-arrow { color: #60a5fa; display: inline-flex; }
.geo-arrow .icon { width: 18px; height: 18px; }
.geo-node b { white-space: nowrap; }
@media (max-width: 480px) { .geo-node b { font-size: .84rem; } .geo-node { padding: 12px 4px; } .geo-flow { gap: 4px; } }

/* Feature cards with mini screens */
.fx-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.fx-card { background: linear-gradient(180deg, #131c30, #0f1626); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.fx-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.fx-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.fx-ui { background: #0a1120; border: 1px solid #1d2842; border-radius: 12px; padding: 14px; color: #e5ecff; flex: 1; min-height: 148px; }
.fx-mono { font: .8rem var(--mono); color: #cfe0ff; }
.fx-lines { line-height: 1.9; }
.fx-dim { color: #7d8fb3; }
.fx-dim2 { color: #9fb0d3; font-size: .85rem; }
.fx-hl { color: #f2c36b; }
.fx-ok { color: #6ee7b7; font-weight: 700; font-size: .85rem; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.fx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .82rem; background: #0d1528; border: 1px solid #26365a; color: #dbe6ff; }
.fx-chip.on { background: #16294d; border-color: #3a64c9; }
.fx-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.fx-seg { display: flex; gap: 6px; margin-bottom: 10px; }
.fx-seg span { padding: 5px 12px; border-radius: 8px; background: #0d1528; border: 1px solid #26365a; font-size: .82rem; color: #aab8d8; }
.fx-seg span.on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; font-weight: 700; }
.fx-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.fx-pill { padding: 4px 10px; border-radius: 999px; background: #16223b; border: 1px solid #243558; font-size: .78rem; color: #aab8d8; font-weight: 600; white-space: nowrap; }
.fx-pill.ok { background: rgba(16, 185, 129, .15); border-color: rgba(16, 185, 129, .3); color: #6ee7b7; }
.fx-row { display: flex; justify-content: space-between; align-items: center; }
.fx-big { font-size: 1.8rem; font-weight: 800; margin: 4px 0 8px; }
.fx-big small { font-size: .9rem; color: #8c9dc4; font-weight: 600; }
.fx-order { display: flex; align-items: center; gap: 10px; padding: 10px 12px; flex-wrap: nowrap; background: #0d1528; border: 1px solid #26365a; border-radius: 10px; font-size: .85rem; flex-wrap: wrap; }
.fx-order .nw { white-space: nowrap; }
.fx-added { margin-top: 12px; font-size: 1.05rem; font-weight: 800; color: #6ee7b7; }
.fx-added small { font-weight: 500; font-size: .85rem; color: #8c9dc4; }
@media (max-width: 960px) { .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fx-grid { grid-template-columns: minmax(0, 1fr); } }

.fx-tools { display: flex; flex-wrap: wrap; gap: 7px; }
.fx-tool { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: 10px; background: #0d1528; border: 1px solid #26365a; font-size: .82rem; color: #dbe6ff; }
.fx-tool i { font-style: normal; width: 22px; height: 20px; border-radius: 6px; background: #16294d; color: #7dd3fc; display: grid; place-items: center; font-size: .66rem; font-weight: 800; }
@media (max-width: 640px) { pre.code { font-size: .72rem; padding: 14px; } }

/* Features: list + app window */
.f4 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.f4-list { display: grid; }
.f4-it { display: flex; gap: 14px; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.f4-it:last-child { border-bottom: 0; }
.f4-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #16294d; color: #7dd3fc; display: grid; place-items: center; }
.f4-ic .icon { width: 20px; height: 20px; }
.f4-it h3 { margin: 0 0 2px; font-size: 1.05rem; }
.f4-it p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.f4-term { background: #0a1120; border: 1px solid #1d2842; border-radius: 16px; overflow: hidden; }
.f4-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #1d2842; }
.f4-bar i { width: 10px; height: 10px; border-radius: 50%; background: #26365a; }
.f4-body { padding: 18px; display: grid; gap: 20px; }
.f4-lbl { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #7d8fb3; margin-bottom: 8px; font-weight: 700; }
@media (max-width: 900px) { .f4 { grid-template-columns: minmax(0, 1fr); } }

/* Clickable use-case cards and guides */
.use-card { display: block; text-decoration: none; color: inherit; }
.use-card:hover { border-color: #3a64c9; }
.use-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #7dd3fc; font-weight: 600; font-size: .92rem; }
.use-more .icon { width: 16px; height: 16px; transition: transform .15s; }
.use-card:hover .use-more .icon { transform: translateX(3px); }
.guide-sec { margin-top: 36px; }
.guide-sec h2 { margin: 0 0 4px; font-size: 1.35rem; }
.guide-card { display: block; text-decoration: none; color: inherit; padding: 18px; }
.guide-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.guide-card p { margin: 0; font-size: .92rem; }
.docs-nav .nav-title { margin: 0 0 8px; }

/* Mobile product (violet) */
.badge.violet { background: rgba(139, 92, 246, .16); color: #c4b5fd; }
.price-card.mob { border-color: rgba(139, 92, 246, .5); }
.dot.violet { background: #a78bfa; }
.card-icon.violet { background: rgba(139, 92, 246, .14); color: #c4b5fd; border-color: rgba(139, 92, 246, .3); }
.card-links { display: grid; gap: 12px; }
.more-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .92rem; color: var(--muted-2); text-decoration: none; }
.more-link:hover { color: #fff; }
.more-link .icon { width: 16px; height: 16px; }
/* Product pages: numbers grid */
.num-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.num { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.num b { display: block; font-size: 2.3rem; line-height: 1.1; background: linear-gradient(90deg, #60a5fa, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.num h3 { margin: 0 0 6px; font-size: 1.05rem; }
.num p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
@media (max-width: 900px) { .num-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1120px) and (min-width: 861px) { .nav-links a { padding: 8px 8px; font-size: .86rem; } }

/* Call-to-action boxes: keep a clear gap between the two buttons, side by side or stacked */
.cta .btn { margin: 6px 8px; }
@media (max-width: 560px) { .cta .btn { display: flex; width: 100%; max-width: 320px; margin: 0 auto 14px; justify-content: center; } .cta .btn:last-child { margin-bottom: 0; } }

/* Promo code link in the Add GB window */
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-size: .92rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: #fff; }

/* Skeleton placeholders for the dashboard while data loads (replaced by app.js) */
.sk{background:linear-gradient(90deg,#16203a 25%,#1f2d50 50%,#16203a 75%);background-size:200% 100%;animation:sk-shimmer 1.4s ease-in-out infinite;border-radius:10px}
@keyframes sk-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.sk{animation:none}}
.sk-seg{width:260px;max-width:50%;height:38px;border-radius:12px}
.sk-input{height:42px;width:100%}
.sk-row{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:12px;margin-top:14px}
.sk-label{color:#8fa0c2;font-size:.9rem}
.sk-body{margin-top:8px}
.sk-badge{width:90px;height:26px;border-radius:999px;margin-bottom:14px}
.sk-big{width:150px;height:38px;margin-bottom:12px}
.sk-line{height:14px;margin-bottom:16px}
.sk-bar{height:8px;border-radius:999px;margin-bottom:18px}
.sk-btn{width:110px;height:38px}
.sk-area{height:150px;width:100%}
.sk-chart{height:240px;width:100%}
.sk-orow{height:46px;width:100%;margin-top:12px}
@media (max-width:640px){.sk-row{grid-template-columns:1fr;gap:6px}.sk-seg{max-width:100%;width:100%;margin-top:10px}}

/* skeletons: profile and locations */
.sk-text{display:inline-block;height:16px;width:160px;vertical-align:middle}
.sk-pill{display:inline-block;width:110px;height:24px;border-radius:999px;vertical-align:middle}
.sk-flag{width:24px;height:18px;border-radius:4px;flex:none}
.sk-name{height:14px;width:60%}

.load-failed .sk{animation:none;opacity:.45}

/* IP pool size pill on pricing cards */
.price-card .pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pool-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; border: 1px solid; }
.pool-res { color: #34d399; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .45); }
.pool-dc { color: #38bdf8; background: rgba(14, 165, 233, .12); border-color: rgba(14, 165, 233, .45); }
.pool-mob { color: #a78bfa; background: rgba(139, 92, 246, .14); border-color: rgba(139, 92, 246, .5); }

/* One balance card with a row per product */
.bal-all { padding: 8px 24px; }
.bal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0 12px; }
.bal-head h2 { margin: 0; font-size: 1.05rem; }
.bal-head .muted { font-size: .9rem; }
.bal-row { display: grid; grid-template-columns: 190px 180px 1fr auto; align-items: center; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.bal-prod { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bal-num .big { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.bal-num .big small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.bal-num .muted { font-size: .8rem; margin-top: 3px; }
@media (max-width: 760px) {
  .bal-all { padding: 6px 18px; }
  .bal-row { grid-template-columns: 1fr auto; grid-template-areas: "prod btn" "num num" "meter meter"; gap: 12px 14px; padding: 16px 0; }
  .bal-prod { grid-area: prod; }
  .bal-row > .btn { grid-area: btn; }
  .bal-num { grid-area: num; }
  .bal-row > .meter { grid-area: meter; }
}

.wl-center { display: flex; justify-content: center; margin-top: 6px; }

/* Generator: field-style button, sticky slider under Session type */
.field-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color: var(--text); font: 600 .95rem var(--font); cursor: pointer; }
.field-btn:hover { border-color: var(--blue); }
.field-btn:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
.field-btn svg { width: 16px; height: 16px; }
.sticky-col { grid-column: 2; }
@media (max-width: 640px) { .sticky-col { grid-column: auto; } }

/* GB / MB switch next to Your balance */
.seg-sm { padding: 3px; border-radius: 10px; }
.seg-sm button { padding: 4px 11px; font-size: .78rem; border-radius: 7px; }
