:root {
  color-scheme: dark;
  --bg: #070a10;
  --bg-2: #0a0f18;
  --surface: #0e1521;
  --surface-2: #121b2a;
  --surface-3: #172235;
  --line: rgba(255,255,255,.095);
  --line-strong: rgba(255,255,255,.16);
  --text: #f7f9fc;
  --text-soft: #d4dbe7;
  --muted: #919daf;
  --blue: #78aaff;
  --blue-strong: #4d86f6;
  --blue-soft: rgba(77,134,246,.13);
  --cyan: #69d7d0;
  --green: #b2ed73;
  --green-soft: rgba(178,237,115,.11);
  --gold: #e6c96d;
  --gold-soft: rgba(230,201,109,.10);
  --danger: #ff8e96;
  --danger-soft: rgba(255,91,104,.075);
  --shadow: 0 28px 70px rgba(0,0,0,.30);
  --shadow-soft: 0 14px 36px rgba(0,0,0,.20);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --content: 1200px;
  --reading: 760px;
  --account: 1120px;
  --gutter: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #080c13 0%, #070a10 100%);
  font: 15px/1.68 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button,input,textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.hidden,[hidden] { display: none !important; }
.container { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.kicker,.section-kicker {
  color: var(--blue);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background: rgba(7,10,16,.86);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.nav {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 860;
  letter-spacing: -.025em;
  white-space: nowrap;
  opacity: 1;
}
.brand-mark,.brand>b {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(145deg,#4e84f6 4%,#64b7ff 100%);
  box-shadow: 0 8px 22px rgba(58,119,238,.30);
  opacity: 1;
  filter: none;
}
.navlinks { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.navlinks a,.navlinks button {
  min-height: 36px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  color: #aeb9ca;
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
  transition: background .16s ease,color .16s ease,border-color .16s ease;
}
.navlinks a:hover,.navlinks button:hover { color: #fff; background: rgba(255,255,255,.052); }
.navlinks .nav-cta { color: #f1f5fc; border: 1px solid rgba(120,170,255,.26); background: rgba(77,134,246,.10); }

/* Controls */
.btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #eef3fb;
  background: rgba(255,255,255,.04);
  text-decoration: none;
  font-weight: 760;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease,border-color .15s ease,background .15s ease,opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.26); }
.btn:disabled,.btn[aria-disabled="true"] { opacity: .48; cursor: not-allowed; transform: none; }
.btn.primary { color:#fff; border-color:#5a91ff; background:linear-gradient(135deg,#4e88f5,#376fe3); box-shadow:0 10px 26px rgba(55,111,227,.20); }
.btn.secondary { background: rgba(255,255,255,.028); }
.btn.gold { color:#f4d77d; border-color:rgba(230,201,109,.38); background:linear-gradient(145deg,rgba(37,31,17,.92),rgba(24,21,14,.90)); }
.btn.danger { color:#ffc4c8; border-color:rgba(255,142,150,.30); background:var(--danger-soft); }
.btn.small-btn { min-height: 38px; padding: 8px 12px; font-size: 12px; }
.input,textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: 0;
  color: #f8fbff;
  background: rgba(3,6,11,.48);
  transition: border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.input:hover,textarea:hover { border-color: rgba(255,255,255,.21); }
.input:focus,textarea:focus { border-color:rgba(120,170,255,.72); box-shadow:0 0 0 3px rgba(77,134,246,.12); background:rgba(4,8,14,.72); }
.input::placeholder,textarea::placeholder { color:#66748a; }
.field { min-width: 0; }
.field label { display:block; margin:0 0 6px; color:#aab5c5; font-size:12px; font-weight:680; }
.form-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:end; }
.form-row .btn { min-width: 124px; }
.form-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  background:
    radial-gradient(circle at 22% -20%, rgba(61,113,225,.24), transparent 42%),
    radial-gradient(circle at 92% 28%, rgba(53,162,149,.10), transparent 32%);
}
.hero::after { content:""; position:absolute; inset:auto -180px -330px auto; width:620px; height:620px; border-radius:50%; background:radial-gradient(circle,rgba(78,136,245,.13),transparent 68%); pointer-events:none; }
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.06fr) minmax(390px,.94fr); gap:72px; align-items:center; }
.hero-copy { min-width:0; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border:1px solid var(--line); border-radius:999px; color:#c7d0de; background:rgba(255,255,255,.035); font-size:12px; font-weight:750; }
.eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 15px rgba(178,237,115,.45); }
h1 { margin:19px 0 19px; font-size:clamp(46px,5.1vw,68px); line-height:1.04; letter-spacing:-.055em; }
.hero p { max-width:760px; margin:0; color:#aab5c6; font-size:17px; }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; }
.hero-product {
  position:relative;
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(160deg,rgba(18,27,42,.96),rgba(9,14,23,.94));
  box-shadow:0 30px 80px rgba(0,0,0,.36);
}
.hero-product::before { content:""; position:absolute; width:210px; height:210px; right:-90px; top:-90px; border-radius:50%; background:radial-gradient(circle,rgba(105,215,208,.14),transparent 70%); }
.preview-top { min-height:46px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); color:#aeb9ca; font-size:11px; }
.preview-top strong { color:#eef4ff; font-size:12px; }
.preview-body { padding:18px; display:grid; grid-template-columns:minmax(0,1fr) 32px minmax(0,.92fr); gap:12px; align-items:center; }
.tree-preview { padding:13px; border:1px solid var(--line); border-radius:14px; background:rgba(2,6,12,.28); }
.tree-title { display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; color:#eef3fb; font-size:12px; font-weight:760; }
.tree-title span:last-child { color:var(--green); font-size:10px; }
.tree-row { display:flex; align-items:center; gap:8px; min-height:29px; padding:4px 7px; border-radius:8px; color:#b4bfd0; font-size:11px; }
.tree-row.active { color:#eef4ff; background:var(--blue-soft); }
.tree-indent { width:12px; color:#66748a; }
.flow-arrow { width:30px; height:30px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--blue); background:rgba(77,134,246,.08); }
.output-preview { display:grid; gap:8px; }
.output-stat { padding:11px 12px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.022); }
.output-stat span { display:block; color:var(--muted); font-size:10px; }
.output-stat strong { display:block; margin-top:2px; color:#f3f6fb; font-size:18px; letter-spacing:-.03em; }
.output-ready { padding:9px 11px; border:1px solid rgba(178,237,115,.20); border-radius:11px; color:#cdecac; background:var(--green-soft); font-size:11px; font-weight:760; }
.preview-footer { padding:12px 16px; border-top:1px solid var(--line); color:#8f9bad; font-size:10px; letter-spacing:.04em; }
.strip { border-block:1px solid var(--line); background:rgba(255,255,255,.015); }
.strip-inner { width:min(var(--content),calc(100% - var(--gutter)*2)); margin-inline:auto; padding:13px 0; display:flex; gap:30px; overflow-x:auto; white-space:nowrap; color:#aeb9ca; font-size:12px; font-weight:700; }
.strip-dot { color:var(--green); }

/* Home sections */
.section { padding:74px 0; border-bottom:1px solid rgba(255,255,255,.06); }
.section-head { display:grid; grid-template-columns:150px minmax(0,1fr); gap:36px; margin-bottom:34px; }
.section-copy h2,.cms-slot h2 { max-width:820px; margin:0 0 12px; font-size:clamp(30px,3.6vw,46px); line-height:1.09; letter-spacing:-.045em; }
.section-copy p,.cms-slot p { max-width:760px; margin:0; color:var(--muted); }
.feature-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--line); }
.feature-row { min-width:0; padding:28px 26px 30px; display:block; border-right:1px solid var(--line); }
.feature-row:last-child { border-right:0; }
.feature-no { margin-bottom:28px; color:var(--blue); font-size:11px; font-weight:820; }
.feature-row h3 { margin:0 0 12px; font-size:22px; letter-spacing:-.025em; }
.feature-row p { margin:0; color:var(--muted); }
.workflow { position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-block:1px solid var(--line); }
.workflow::before { content:""; position:absolute; left:7%; right:7%; top:33px; height:1px; background:linear-gradient(90deg,transparent,var(--line-strong) 10%,var(--line-strong) 90%,transparent); }
.workflow-step { position:relative; min-height:190px; padding:22px 24px 24px; border-right:1px solid var(--line); background:transparent; }
.workflow-step:last-child { border-right:0; }
.workflow-step b { position:relative; z-index:1; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:#071006; background:var(--green); box-shadow:0 0 0 7px var(--bg); font-size:11px; }
.workflow-step h3 { margin:32px 0 7px; font-size:18px; }
.workflow-step p { margin:0; color:var(--muted); font-size:13px; }
.privacy-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.75fr); gap:68px; align-items:center; }
.privacy-list { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:rgba(255,255,255,.018); }
.privacy-line { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:17px 18px; border-bottom:1px solid var(--line); color:#bdc7d6; font-size:13px; }
.privacy-line:last-child { border-bottom:0; }
.privacy-line span:last-child { color:var(--green); font-weight:780; }
.access-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:stretch; }
.access-tier { min-height:340px; padding:27px; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:20px; background:linear-gradient(160deg,rgba(255,255,255,.028),rgba(255,255,255,.012)); }
.access-tier.highlight { transform:translateY(-6px); border-color:rgba(120,170,255,.42); background:linear-gradient(160deg,rgba(77,134,246,.12),rgba(255,255,255,.018)); box-shadow:0 18px 40px rgba(18,58,130,.13); }
.access-tier.pro { border-color:rgba(230,201,109,.31); background:linear-gradient(155deg,rgba(230,201,109,.08),rgba(255,255,255,.016)); }
.access-badge { align-self:flex-start; padding:5px 8px; border:1px solid var(--line); border-radius:999px; color:#b9c4d4; font-size:10px; font-weight:850; letter-spacing:.08em; }
.access-tier.pro .access-badge { color:#efd77f; border-color:rgba(230,201,109,.34); }
.access-tier h3 { margin:19px 0 8px; font-size:23px; }
.access-tier>p { min-height:50px; margin:0; color:var(--muted); }
.features { list-style:none; margin:20px 0; padding:0; }
.features li { position:relative; padding:7px 0 7px 21px; color:#c5cedb; font-size:13px; }
.features li::before { content:"✓"; position:absolute; left:0; color:var(--green); }
.access-tier .tier-actions { margin-top:auto; display:flex; gap:8px; flex-wrap:wrap; }
.tutorial-grid { display:grid; grid-template-columns:1.08fr .92fr; gap:14px; }
.tutorial-panel { padding:25px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.022); }
.tutorial-panel h3 { margin-top:0; }
.browser-install { margin:18px 0 12px; padding:15px; display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.02); }
.browser-install small { display:block; color:var(--muted); }
.article-preview-list { display:grid; gap:8px; }
.article-preview-item { padding:14px 15px; border:1px solid var(--line); border-radius:13px; color:inherit; background:rgba(255,255,255,.018); text-decoration:none; transition:border-color .15s ease,background .15s ease; }
.article-preview-item:hover { border-color:var(--line-strong); background:rgba(255,255,255,.03); }
.article-preview-item b { display:block; }
.article-preview-item span { color:var(--muted); font-size:12px; }
.faq-list { border-top:1px solid var(--line); }
details { border-bottom:1px solid var(--line); }
summary { padding:19px 0; display:flex; justify-content:space-between; gap:24px; cursor:pointer; list-style:none; font-weight:750; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; color:var(--blue); font-size:20px; font-weight:400; }
details[open] summary::after { content:"−"; }
details p { margin:0; padding:0 0 18px; color:var(--muted); }
.contact-band { padding:28px 30px; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr); gap:36px; align-items:center; border:1px solid var(--line); border-radius:20px; background:linear-gradient(150deg,rgba(77,134,246,.07),rgba(255,255,255,.018)); }
.contact-band h2 { margin:10px 0 8px; font-size:28px; letter-spacing:-.03em; }
.contact-actions { display:flex; gap:9px; justify-content:flex-end; flex-wrap:wrap; }
.qr-grid { margin-top:18px; display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; }
.qr-card { padding:14px; border:1px solid var(--line); border-radius:var(--radius); text-align:center; text-decoration:none; background:rgba(255,255,255,.025); }
.qr-card img { width:116px; height:116px; object-fit:contain; border-radius:9px; background:#fff; }
.qr-card b { display:block; margin-top:8px; }

/* Subpages */
.page-head { position:relative; overflow:hidden; padding:64px 0 38px; border-bottom:1px solid var(--line); background:linear-gradient(120deg,rgba(39,73,148,.14),transparent 56%),linear-gradient(270deg,rgba(35,122,111,.08),transparent 48%); }
.page-head::after { content:""; position:absolute; right:-170px; top:-220px; width:470px; height:470px; border-radius:50%; background:radial-gradient(circle,rgba(78,136,245,.12),transparent 69%); pointer-events:none; }
.page-head .container { position:relative; z-index:1; }
.page-head h1 { max-width:900px; margin:10px 0 9px; font-size:clamp(38px,4.7vw,58px); line-height:1.06; letter-spacing:-.05em; }
.page-head .lead { max-width:760px; margin:0; color:var(--muted); font-size:16px; }
.prose { width:min(860px,calc(100% - var(--gutter)*2)); margin-inline:auto; padding:48px 0 82px; }
.prose h1,.prose h2,.prose h3 { letter-spacing:-.025em; }
.prose h2 { margin:36px 0 11px; font-size:24px; }
.prose p,.prose li { color:#c0cad8; }
.prose a { color:#9ec0ff; }
.prose pre { padding:16px; overflow:auto; border:1px solid var(--line); border-radius:13px; background:#05070b; }
.prose code { padding:2px 5px; border-radius:5px; background:rgba(255,255,255,.07); }
.legal-warning { margin-bottom:28px; padding:14px 16px; border:1px solid rgba(230,201,109,.28); border-radius:12px; color:#d8c58d; background:rgba(230,201,109,.06); font-size:13px; }
.article-layout { width:min(var(--content),calc(100% - var(--gutter)*2)); margin-inline:auto; padding:48px 0 82px; display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:40px; }
.article-side { position:sticky; top:86px; align-self:start; }
.article-list-page { display:grid; gap:10px; }
.article-card { padding:19px; border:1px solid var(--line); border-radius:15px; color:inherit; background:rgba(255,255,255,.02); text-decoration:none; transition:border-color .15s ease,background .15s ease; }
.article-card:hover { border-color:var(--line-strong); background:rgba(255,255,255,.032); }
.article-card h2 { margin:0 0 6px; font-size:21px; }
.article-card p { margin:0; color:var(--muted); }
.cms-prepend { margin-bottom:24px; padding-bottom:24px; border-bottom:1px solid var(--line); }
.article-detail { padding:25px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.018); }

/* Account */
.account-page { min-height:540px; padding:36px 0 84px; }
.account-shell { width:min(var(--account),calc(100% - var(--gutter)*2)); margin-inline:auto; }
.account-status-banner { margin-bottom:16px; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:linear-gradient(145deg,rgba(20,31,48,.92),rgba(11,17,27,.94)); box-shadow:var(--shadow-soft); }
.status-card { min-height:92px; padding:20px 24px; display:grid; align-content:center; grid-template-columns:minmax(120px,.3fr) minmax(0,1fr); column-gap:22px; }
.status-card>b { grid-row:1 / span 2; align-self:center; display:block; color:#f8fbff; font-size:14px; letter-spacing:.04em; text-transform:uppercase; }
.status-card>div { color:#c0cad7; }
.status-card>div.small { margin-top:2px; color:var(--muted); }
.status-card.pro { background:linear-gradient(145deg,rgba(230,201,109,.10),transparent); }
.status-card.pro>b { color:#f1d575; }
.status-card.trial { background:linear-gradient(145deg,rgba(77,134,246,.13),transparent); }
.account-auth-grid { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:16px; align-items:stretch; }
.account-intro,.account-panel { min-width:0; padding:26px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.022); }
.account-intro { background:linear-gradient(145deg,rgba(77,134,246,.055),rgba(255,255,255,.018)); }
.account-intro h2,.account-panel h2,.account-panel h3 { margin:0; letter-spacing:-.03em; }
.account-intro h2 { margin-top:9px; font-size:25px; }
.account-intro p { max-width:480px; margin:11px 0 0; color:var(--muted); }
.account-points { margin-top:25px; display:grid; grid-template-columns:1fr; gap:10px; }
.account-point { display:grid; grid-template-columns:30px minmax(0,1fr); gap:10px; align-items:center; min-height:38px; color:#c8d1dd; font-size:13px; }
.account-point span:first-child { width:28px; height:28px; display:grid; place-items:center; border-radius:8px; color:#9ec0ff; background:var(--blue-soft); font-weight:820; }
.panel-head { margin-bottom:18px; display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.panel-head h2 { font-size:23px; }
.panel-head p { max-width:560px; margin:5px 0 0; color:var(--muted); font-size:13px; }
.auth-form { display:grid; gap:15px; }
.auth-form .btn.primary { width:100%; }
.account-topline { margin-bottom:16px; padding:17px 20px; display:flex; align-items:center; justify-content:space-between; gap:18px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.018); }
.account-email { min-width:0; }
.account-email small { display:block; color:var(--muted); }
.account-email b { display:block; max-width:760px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:17px; }
.account-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; align-items:start; }
.account-panel.full { grid-column:1/-1; }
.license-summary { display:grid; gap:12px; }
.license-title { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.license-title strong { font-size:25px; letter-spacing:-.03em; }
.status-chip { display:inline-flex; align-items:center; min-height:25px; padding:4px 8px; border-radius:999px; color:#cfe0ff; background:var(--blue-soft); font-size:10px; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.status-chip.pro { color:#f1d575; background:var(--gold-soft); }
.status-chip.free { color:#c6d0dd; background:rgba(255,255,255,.06); }
.license-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.meta-item { padding:12px 13px; border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.018); }
.meta-item span { display:block; color:var(--muted); font-size:11px; }
.meta-item b { display:block; margin-top:2px; color:#dfe6f0; font-size:13px; }
.activation-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
.activation-form .btn { min-width:106px; }
.device-list { display:grid; gap:0; }
.device-row { min-height:66px; padding:14px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); }
.device-row:last-child { border-bottom:0; }
.device-main { min-width:0; }
.device-name { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-weight:760; }
.device-current { padding:2px 7px; border-radius:999px; color:#cfe0ff; background:var(--blue-soft); font-size:10px; font-weight:800; }
.device-meta { margin-top:3px; color:var(--muted); font-size:12px; }
.danger-zone { border-color:rgba(255,142,150,.18); background:rgba(255,91,104,.022); }
.danger-zone details { border:0; }
.danger-zone summary { padding:0; }
.danger-zone summary::after { color:var(--danger); }
.danger-copy { max-width:820px; margin:13px 0 17px; color:#b9aaae; font-size:12px; }
.delete-verify { margin-top:12px; padding-top:14px; border-top:1px solid rgba(255,142,150,.16); }

/* Footer */
.footer { border-top:1px solid rgba(255,255,255,.07); background:#06090e; }
.footer-inner { width:min(var(--content),calc(100% - var(--gutter)*2)); margin-inline:auto; padding:40px 0; display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); gap:54px; align-items:start; }
.footer .brand { color:#fff !important; opacity:1 !important; filter:none !important; }
.footer .brand-mark { color:#fff !important; opacity:1 !important; filter:none !important; background:linear-gradient(145deg,#4e84f6,#64b7ff) !important; box-shadow:0 8px 22px rgba(58,119,238,.30) !important; }
.footer-tagline { max-width:330px; margin-top:9px; color:#8895a8; font-size:12px; }
.footer-links { justify-self:end; display:grid; grid-template-columns:repeat(3,minmax(92px,auto)); gap:10px 26px; align-content:start; }
.footer-links a { color:#a0acbd; text-decoration:none; font-size:12px; }
.footer-links a:hover { color:#fff; }
.toast { position:fixed; top:78px; left:50%; z-index:100; max-width:min(620px,calc(100% - 30px)); transform:translateX(-50%); padding:10px 14px; border:1px solid var(--line-strong); border-radius:11px; color:#fff; background:rgba(18,25,38,.96); box-shadow:var(--shadow); backdrop-filter:blur(14px); }
.toast.success { border-color:rgba(178,237,115,.30); }
.toast.error { border-color:rgba(255,142,150,.34); }
.back-top { position:fixed; right:18px; bottom:18px; z-index:30; width:40px; height:40px; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center; opacity:0; pointer-events:none; color:#fff; background:rgba(17,24,36,.90); cursor:pointer; transition:opacity .18s ease,transform .18s ease; }
.back-top.show { opacity:1; pointer-events:auto; }
.back-top:hover { transform:translateY(-1px); }
.toc-dot { position:fixed; right:16px; top:50%; z-index:20; transform:translateY(-50%); display:flex; flex-direction:column; gap:8px; }
.toc-dot a { width:7px; height:7px; border:1px solid rgba(255,255,255,.16); border-radius:50%; background:#485263; }
.toc-dot a.active { background:var(--green); box-shadow:0 0 12px rgba(178,237,115,.42); }
.glass { border:1px solid var(--line); background:rgba(255,255,255,.025); box-shadow:var(--shadow-soft); }
:where(a,button,input,textarea,summary):focus-visible { outline:2px solid rgba(120,170,255,.86); outline-offset:2px; }

@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .topbar,.toast { background:#111824; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none !important; } }
@media (max-width: 980px) {
  :root { --gutter:24px; }
  .hero-grid { grid-template-columns:1fr; gap:36px; }
  .hero-product { max-width:720px; }
  .section-head,.privacy-grid,.tutorial-grid,.contact-band,.article-layout,.account-auth-grid { grid-template-columns:1fr; }
  .section-head { gap:12px; }
  .feature-list { grid-template-columns:1fr; }
  .feature-row { border-right:0; border-bottom:1px solid var(--line); }
  .feature-row:last-child { border-bottom:0; }
  .workflow { grid-template-columns:1fr 1fr; }
  .workflow::before { display:none; }
  .workflow-step:nth-child(2) { border-right:0; }
  .workflow-step:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .access-grid { grid-template-columns:1fr; }
  .access-tier,.access-tier.highlight { min-height:auto; transform:none; }
  .contact-actions { justify-content:flex-start; }
  .article-side { position:static; }
  .account-grid { grid-template-columns:1fr; }
  .account-panel.full { grid-column:auto; }
  .toc-dot { display:none; }
  .navlinks .nav-secondary { display:none; }
}
@media (max-width: 640px) {
  :root { --gutter:18px; }
  .nav { min-height:58px; gap:10px; }
  .brand { font-size:14px; }
  .brand-mark,.brand>b { width:31px; height:31px; border-radius:9px; }
  .navlinks { gap:2px; }
  .navlinks a,.navlinks button { min-height:34px; padding:7px 8px; font-size:12px; }
  .hero { padding:62px 0 52px; }
  h1 { font-size:42px; }
  .hero p { font-size:16px; }
  .preview-body { grid-template-columns:1fr; }
  .flow-arrow { transform:rotate(90deg); margin:auto; }
  .section { padding:58px 0; }
  .workflow { grid-template-columns:1fr; }
  .workflow-step,.workflow-step:nth-child(2) { border-right:0; border-bottom:1px solid var(--line); }
  .workflow-step:last-child { border-bottom:0; }
  .form-row,.activation-form { grid-template-columns:1fr; }
  .form-row .btn,.activation-form .btn { width:100%; }
  .page-head { padding:48px 0 30px; }
  .page-head h1 { font-size:39px; }
  .account-page { padding:24px 0 64px; }
  .status-card { grid-template-columns:1fr; gap:4px; }
  .status-card>b { grid-row:auto; }
  .account-intro,.account-panel { padding:21px; }
  .account-topline { align-items:flex-start; flex-direction:column; }
  .account-topline .btn { width:100%; }
  .license-meta { grid-template-columns:1fr; }
  .device-row { align-items:flex-start; }
  .footer-inner { grid-template-columns:1fr; gap:26px; padding:34px 0; }
  .footer-links { justify-self:stretch; grid-template-columns:repeat(2,1fr); gap:9px 16px; }
}
@media print {
  :root { --gutter:34px; color-scheme:dark; }
  html,body { background:#080b12 !important; }
  .topbar { position:static; }
  .toc-dot,.back-top,.toast { display:none !important; }
  .container,.nav,.strip-inner,.footer-inner,.account-shell,.article-layout,.prose { width:calc(100% - 68px) !important; max-width:none !important; margin-inline:auto !important; }
  .hero,.section,.page-head,.account-page { break-inside:auto; }
  .hidden,[hidden] { display:none !important; }
  #loggedOut:not(.hidden) { display:block !important; }
  #loggedIn:not(.hidden) .account-grid { display:block !important; }
  #loggedOut:not(.hidden) > *, #loggedIn:not(.hidden) .account-grid > * { margin-bottom:16px; }
  .account-panel,.account-intro,.account-status-banner,.access-tier,.tutorial-panel,.workflow-step { break-inside:avoid-page; }
  .footer { break-inside:avoid-page; }
  .footer .brand,.footer .brand-mark { opacity:1 !important; filter:none !important; }
}

/* V6.4.7 · install and QR refinements */
.browser-install-copy{display:grid;gap:3px;min-width:0}.browser-install-copy small{color:var(--muted);font-size:11px}.store-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mobile-install-note{margin:9px 0 12px;padding:12px 14px;border:1px solid rgba(109,168,255,.25);border-radius:12px;background:rgba(78,132,255,.08);color:#cfe0ff;font-size:13px}.btn[aria-disabled="true"]{opacity:.66;cursor:not-allowed;pointer-events:none}.qr-card{display:grid;justify-items:center;gap:7px;color:inherit}.qr-card span{color:var(--muted);font-size:12px;line-height:1.45}.qr-image-btn{padding:0;border:0;border-radius:10px;background:transparent;cursor:zoom-in}.qr-image-btn:hover{background:transparent}.qr-link{font-size:12px;color:#9fc2ff;text-decoration:none}.qr-link:hover{text-decoration:underline}.qr-lightbox{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(2,5,10,.86);backdrop-filter:blur(10px)}.qr-lightbox[hidden]{display:none}.qr-lightbox-inner{max-width:min(92vw,560px);padding:18px;border:1px solid var(--line);border-radius:20px;background:#0c111b;box-shadow:0 24px 90px rgba(0,0,0,.5);text-align:center}.qr-lightbox-inner img{display:block;max-width:min(78vw,460px);max-height:72vh;margin:auto;border-radius:13px;background:#fff}.qr-lightbox-inner b{display:block;margin-top:12px}.qr-lightbox-close{position:fixed;right:22px;top:18px;width:44px;height:44px;padding:0;border-radius:50%;font-size:28px;line-height:1;background:rgba(15,21,32,.9);color:#fff}
@media(max-width:720px){.browser-install{align-items:flex-start;flex-direction:column}.store-actions{justify-content:flex-start}.qr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qr-card img{width:min(30vw,116px);height:min(30vw,116px)}}
