/* ==========================================================================
   VPNPX . components.css
   hero (visual-right) / feature browser / tabs / toc / faq / pricing /
   line table / platform cards / post cards / callout / promo / float cta /
   ticker / design-preview helpers
   ========================================================================== */

/* ------------------------------------------------------- hero (visual-right) */
.hero{
  position:relative;
  overflow-x:clip;
  max-width:100%;
  min-height:calc(100vh - var(--header-h));
  min-height:calc(100svh - var(--header-h));
  display:flex;
  align-items:center;
  padding-top:36px;
  padding-bottom:52px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size:52px 52px;
  -webkit-mask-image:radial-gradient(72% 66% at 50% 42%, var(--mask-solid) 10%, transparent 78%);
  mask-image:radial-gradient(72% 66% at 50% 42%, var(--mask-solid) 10%, transparent 78%);
}
.hero-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:var(--page-max);
  margin:0 auto;
  padding-inline:var(--gutter);
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);
  gap:56px;
  align-items:center;
}

.hero-copy{position:relative;z-index:2;min-width:0;}

.hero-title{
  margin:0 0 20px;
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(38px,4.5vw,64px);
  line-height:1.06;
  letter-spacing:-.03em;
  color:var(--text);
}
.title-line{display:block;}
.title-line + .title-line{margin-top:8px;}
.title-figure{
  display:block;
  margin-top:8px;
  font-family:var(--font-mono);
  font-weight:700;
  font-size:clamp(17px,1.7vw,24px);
  line-height:1.2;
  letter-spacing:-.01em;
  color:var(--accent);
}
.title-figure .sep{color:var(--border);}
.title-figure .fig{color:var(--accent-dark);}

.hero-lede{
  margin:0 0 24px;
  max-width:540px;
  font-size:16.5px;
  line-height:1.72;
  color:var(--text-muted);
}
.hero-lede strong{color:var(--text);font-weight:700;}

.filter-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 26px;
  padding:0;
  list-style:none;
}
.filter-chips li{margin:0;}

.hero-cta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:0 0 22px;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 16px;
  margin:0 0 24px;
  padding:0;
  list-style:none;
  font-size:13px;
  color:var(--text-muted);
}
.trust-row li{display:inline-flex;align-items:center;gap:7px;margin:0;}
.trust-row li::before{
  content:"";
  flex:none;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--success);
  box-shadow:0 0 0 2.5px var(--success-a14);
}

.platform-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
  margin:0 0 20px;
  padding:0;
  list-style:none;
}
.platform-row li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--text-muted);
}
.pi{display:block;flex:none;width:14px;height:14px;color:var(--accent);}

.region-strip{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 14px;
}
.region-strip-label{
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.08em;
  color:var(--text-muted);
}
.region-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
  margin:0;
  padding:0;
  list-style:none;
}
.region-list li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  font-size:12.5px;
  color:var(--text-muted);
}
.flag{
  display:block;
  flex:none;
  width:20px;
  height:14px;
  border-radius:3.4px;
  box-shadow:0 1px 2px var(--ink-a12);
}
.flag--square{width:16px;height:16px;border-radius:4px;}
.f-red{fill:var(--flag-red);}
.f-red-alt{fill:var(--flag-red-alt);}
.f-blue{fill:var(--flag-blue);}
.f-white{fill:var(--flag-white);}

/* --------------------------------------------------------- hero device window */
.hero-visual{position:relative;z-index:1;min-width:0;}
.device{position:relative;width:100%;}
.device-glow{
  position:absolute;
  inset:-10% -8% -14% -10%;
  z-index:0;
  background:radial-gradient(closest-side, var(--accent-a20), transparent 72%);
  filter:blur(30px);
  animation:glow-breathe 9s ease-in-out infinite alternate;
}
.device-plate{
  position:absolute;
  inset:-16px -14px -18px -14px;
  z-index:0;
  border-radius:var(--radius-xl);
  background:linear-gradient(152deg, var(--bg-panel) 0%, var(--bg-panel-2) 56%, var(--violet-a28) 100%);
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.device-plate::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size:26px 26px;
}
.client-window{
  position:relative;
  z-index:1;
  background:var(--surface);
  border-radius:var(--radius-lg);
  border:1px solid var(--border-soft);
  box-shadow:
    inset 0 1px 0 var(--white-a90),
    0 0 0 1px var(--accent-a06),
    0 26px 60px -24px var(--accent-a35),
    0 8px 18px -10px var(--ink-a10);
  overflow:hidden;
}
.window-chrome{
  display:flex;
  align-items:center;
  gap:7px;
  padding:12px 16px;
  background:linear-gradient(180deg, var(--bg-panel) 0%, var(--surface) 100%);
  border-bottom:1px solid var(--border-soft);
}
.dot{display:block;flex:none;width:9px;height:9px;border-radius:50%;}
.dot-r{background:var(--error);}
.dot-y{background:var(--warn);}
.dot-g{background:var(--success);}
.window-title{
  margin-left:10px;
  min-width:0;
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--text-muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.chrome-tag{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 9px;
  border-radius:var(--radius-pill);
  background:var(--success-a12);
  color:var(--success-ink);
  font-size:10.5px;
  font-weight:700;
  white-space:nowrap;
  flex:none;
}
.chrome-tag::before{
  content:"";
  flex:none;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--success);
  animation:tag-pulse 2.6s ease-in-out infinite;
}

.window-body{
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  padding:14px 16px 12px;
}
.region-col{padding-right:12px;border-right:1px solid var(--border-soft);min-width:0;}
.col-head{
  margin:0 0 8px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--text-muted);
  opacity:.85;
}
.region-col ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.region-col li{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
  padding:7px 8px;
  border-radius:9px;
  font-size:12px;
  color:var(--text-muted);
  white-space:nowrap;
}
.region-col li.is-on{
  background:var(--violet-a14);
  color:var(--accent-dark);
  font-weight:700;
}
.line-col{min-width:0;padding-left:14px;}
.line-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 62px 68px;
  gap:8px;
  padding:0 4px 8px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  color:var(--text-muted);
  opacity:.85;
}
.line-rows{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.line-rows li{
  display:grid;
  grid-template-columns:minmax(0,1fr) 62px 68px;
  align-items:center;
  gap:8px;
  margin:0;
  padding:7px 4px;
  border-radius:9px;
}
.line-rows li.is-on{background:var(--accent-a06);}
.line-name{
  font-size:12px;
  font-weight:600;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.line-type{
  font-family:var(--font-mono);
  font-size:10.5px;
  color:var(--text-muted);
  white-space:nowrap;
}
.status{
  display:inline-flex;
  align-items:center;
  gap:4px;
  justify-self:start;
  padding:3px 7px;
  border-radius:6px;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
  max-width:100%;
}
.status::before{
  content:"";
  flex:none;
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
}
.status-on{background:var(--success-a14);color:var(--success-ink);}
.status-wait{background:var(--accent-a10);color:var(--accent-dark);}
.status-standby{background:var(--pink-a14);color:var(--pink-ink);}

.proto-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  padding:0 16px 10px;
}
.proto-label{
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  color:var(--text-muted);
  opacity:.85;
}
.proto{
  padding:2px 7px;
  border-radius:5px;
  background:var(--bg-panel-2);
  font-family:var(--font-mono);
  font-size:10px;
  color:var(--text-muted);
}

.plan-bar{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:0 16px 12px;
}
.plan{
  display:flex;
  flex-direction:column;
  gap:1px;
  padding:8px 10px;
  border-radius:10px;
  background:var(--bg-panel);
  border:1px solid var(--border-soft);
  min-width:0;
}
.plan.is-on{
  background:linear-gradient(132deg, var(--accent) 0%, var(--violet) 100%);
  border-color:transparent;
  box-shadow:0 10px 20px -12px var(--accent-a40);
}
.plan-price{
  font-family:var(--font-mono);
  font-size:13px;
  font-weight:700;
  color:var(--text);
  white-space:nowrap;
}
.plan-gb{
  font-family:var(--font-mono);
  font-size:10px;
  color:var(--text-muted);
  white-space:nowrap;
}
.plan.is-on .plan-price{color:var(--text-on-accent);}
.plan.is-on .plan-gb{color:var(--white-a80);}

.fact-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:0 16px 16px;
}
.fact-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 10px;
  border-radius:var(--radius-pill);
  background:var(--bg-panel);
  border:1px solid var(--border-soft);
  font-size:10.5px;
  font-weight:600;
  color:var(--text-muted);
  max-width:100%;
}
.fact-chip::before{
  content:"";
  flex:none;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--accent);
}

.float-card{
  position:absolute;
  right:12px;
  bottom:-26px;
  z-index:3;
  display:flex;
  flex-direction:column;
  gap:2px;
  max-width:calc(100% - 24px);
  padding:11px 15px 12px;
  border-radius:14px;
  border:1.5px solid transparent;
  background:
    linear-gradient(var(--surface),var(--surface)) padding-box,
    linear-gradient(120deg, var(--pink) 0%, var(--violet) 100%) border-box;
  box-shadow:0 18px 34px -16px var(--accent-a35), 0 0 0 4px var(--pink-a10);
}
.float-card-label{
  font-size:9.5px;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--text-muted);
}
.float-card-value{
  font-family:var(--font-mono);
  font-size:13px;
  font-weight:700;
  color:var(--text);
  white-space:nowrap;
}
.float-card-state{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:9.5px;
  font-weight:700;
  color:var(--success-ink);
}
.float-card-state i{display:block;flex:none;width:5px;height:5px;border-radius:50%;background:var(--success);}

.platform-badges{
  position:absolute;
  left:-28px;
  top:72px;
  z-index:3;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.pb{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:11px;
  background:var(--surface);
  border:1px solid var(--border-soft);
  color:var(--accent);
  box-shadow:0 10px 20px -12px var(--accent-a35), inset 0 1px 0 var(--white-a90);
}
.pb .pi{width:17px;height:17px;}

@keyframes tag-pulse{
  0%,100%{opacity:1;}
  50%{opacity:.35;}
}
@keyframes glow-breathe{
  0%{opacity:.7;}
  100%{opacity:1;}
}

/* ----------------------------------------------------------- feature browser */
.feature-browser{
  display:grid;
  grid-template-columns:minmax(0,264px) minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.feature-tablist{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.feature-tab{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:48px;
  padding:13px 16px;
  border:1px solid transparent;
  border-radius:var(--radius-md);
  background:transparent;
  font-family:inherit;
  font-size:14.5px;
  font-weight:600;
  color:var(--text-muted);
  text-align:left;
  cursor:pointer;
  transition:background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.feature-tab:hover{background:var(--violet-a10);color:var(--accent-dark);}
.feature-tab[aria-selected="true"]{
  background:var(--violet-a18);
  border-color:var(--violet-a28);
  color:var(--accent-dark);
  box-shadow:inset 0 1px 0 var(--white-a90);
}
.feature-tab .tab-index{
  flex:none;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--accent);
  opacity:.8;
}
.feature-panels{min-width:0;}
.feature-panel{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:28px;
  border-radius:var(--radius-lg);
  border:1px solid var(--border-soft);
  background:var(--surface);
  box-shadow:var(--shadow-card);
}
.feature-panel[hidden]{display:none;}
.feature-panel h3{margin:0;}
.feature-panel p{margin:0;font-size:15px;line-height:1.78;color:var(--text-muted);}
.feature-facts{display:flex;flex-wrap:wrap;gap:8px;}
.feature-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding-top:14px;
  border-top:1px dashed var(--border);
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--text-muted);
}
.feature-line .flag{width:18px;height:12px;}

.pixel-band{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 18px;
  margin-top:18px;
  padding:14px 18px;
  border-radius:var(--radius-md);
  border:1px solid var(--border-soft);
  background-color:var(--bg-panel);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size:18px 18px;
}
.band-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  color:var(--text-muted);
}
.band-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:var(--radius-pill);
  background:var(--surface);
  border:1px solid var(--border-soft);
  font-size:12px;
  font-weight:600;
  color:var(--text);
  max-width:100%;
}

/* ------------------------------------------------------------------- tabs */
.tabs{min-width:0;}
.tablist{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  padding:5px;
  border-radius:var(--radius-pill);
  background:var(--bg-panel-2);
  border:1px solid var(--border-soft);
  width:max-content;
  max-width:100%;
}
.tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 18px;
  border:0;
  border-radius:var(--radius-pill);
  background:transparent;
  font-family:inherit;
  font-size:13.5px;
  font-weight:600;
  color:var(--text-muted);
  cursor:pointer;
  white-space:nowrap;
  transition:background-color .18s ease, color .18s ease;
}
.tab:hover{color:var(--accent-dark);}
.tab[aria-selected="true"]{
  background:var(--surface);
  color:var(--accent-dark);
  box-shadow:0 8px 18px -12px var(--accent-a35);
}
.tab-panel{padding-top:22px;min-width:0;}
.tab-panel[hidden]{display:none;}

/* ---------------------------------------------------------------- toc tabs */
.toc-tabs{
  position:sticky;
  top:calc(var(--header-h) + 12px);
  z-index:20;
  display:flex;
  gap:6px;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  padding:8px;
  border-radius:var(--radius-pill);
  border:1px solid var(--border);
  background:var(--bg-panel);
  box-shadow:var(--shadow-card);
  scrollbar-width:none;
}
.toc-tabs::-webkit-scrollbar{display:none;}
.toc-tabs a{
  display:inline-flex;
  align-items:center;
  flex:none;
  min-height:34px;
  padding:7px 14px;
  border-radius:var(--radius-pill);
  font-size:13.5px;
  color:var(--text-muted);
  text-decoration:none;
  white-space:nowrap;
}
.toc-tabs a:hover{color:var(--accent-dark);background:var(--violet-a10);}
.toc-tabs a.is-current{
  background:var(--violet-a18);
  color:var(--accent-dark);
  font-weight:700;
}
body:has(.toc-tabs) section[id],
body:has(.toc-tabs) [id].toc-target{
  scroll-margin-top:calc(var(--header-h) + 88px);
}

/* --------------------------------------------------------------------- faq */
.faq-list{display:flex;flex-direction:column;gap:10px;}
.faq-item{
  border-radius:var(--radius-md);
  border:1px solid var(--border-soft);
  background:var(--surface);
  box-shadow:0 12px 26px -24px var(--accent-a35);
  overflow:hidden;
}
.faq-item summary{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:54px;
  padding:15px 18px;
  font-size:15px;
  font-weight:600;
  color:var(--text);
  cursor:pointer;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"";
  flex:none;
  margin-left:auto;
  width:9px;
  height:9px;
  border-right:2px solid var(--accent);
  border-bottom:2px solid var(--accent);
  transform:rotate(45deg);
  transition:transform .2s ease;
}
.faq-item[open] summary::after{transform:rotate(-135deg);}
.faq-item[open] summary{color:var(--accent-dark);}
.faq-answer{padding:0 18px 18px;font-size:14.5px;line-height:1.78;color:var(--text-muted);}
.faq-answer p{margin:0 0 10px;}
.faq-answer p:last-child{margin-bottom:0;}

/* ----------------------------------------------------------------- pricing */
.price-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:start;
}
.price-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
  padding:26px 24px 24px;
  border-radius:var(--radius-lg);
  border:1px solid var(--border-soft);
  background:var(--surface);
  box-shadow:0 20px 44px -34px var(--accent-a35);
}
.price-card.is-featured{
  border-color:transparent;
  background:linear-gradient(180deg, var(--bg-panel) 0%, var(--surface) 48%);
  box-shadow:0 28px 54px -30px var(--accent-a35), 0 0 0 2px var(--violet-a28);
}
.price-card.is-current{
  box-shadow:0 28px 54px -32px var(--accent-a35), 0 0 0 2px var(--accent);
}
.price-badge{
  position:absolute;
  top:-12px;
  left:24px;
  padding:4px 12px;
  border-radius:var(--radius-pill);
  background:linear-gradient(132deg, var(--accent) 0%, var(--violet) 100%);
  color:var(--text-on-accent);
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:0 10px 20px -12px var(--accent-a45);
}
.price-cycle{
  margin:0;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  color:var(--text-muted);
}
.price-amount{
  margin:0;
  font-family:var(--font-mono);
  font-size:34px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.02em;
  color:var(--text);
}
.price-unit{
  font-family:var(--font-mono);
  font-size:13px;
  font-weight:600;
  color:var(--text-muted);
  margin-left:2px;
}
.price-note{margin:0;font-size:13px;color:var(--text-muted);}
.price-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:9px;
  font-size:13.5px;
  line-height:1.6;
  color:var(--text-muted);
}
.price-list li{display:flex;align-items:flex-start;gap:8px;margin:0;}
.price-list li::before{
  content:"";
  flex:none;
  width:6px;
  height:6px;
  margin-top:7px;
  border-radius:50%;
  background:var(--success);
}
.price-card .btn{
  margin-top:auto;
  width:100%;
  flex-shrink:0;
  white-space:nowrap;
}

/* --------------------------------------------------------------- data tables */
.table-scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:var(--radius-md);
  border:1px solid var(--border-soft);
  background:var(--surface);
}
.table-scroll table{
  width:100%;
  min-width:640px;
  border-collapse:collapse;
  font-size:13.5px;
}
.table-scroll th,
.table-scroll td{
  padding:12px 14px;
  text-align:left;
  border-bottom:1px solid var(--border-soft);
  word-break:keep-all;
  vertical-align:middle;
}
.table-scroll thead th{
  background:var(--bg-panel);
  color:var(--text-muted);
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.06em;
  white-space:nowrap;
}
.table-scroll tbody th{
  font-weight:700;
  color:var(--text);
  white-space:nowrap;
}
.table-scroll tbody tr:last-child th,
.table-scroll tbody tr:last-child td{border-bottom:0;}
.table-scroll tbody tr:hover td,
.table-scroll tbody tr:hover th{background:var(--accent-a06);}
.table-scroll caption{
  caption-side:top;
  padding:12px 14px;
  text-align:left;
  font-size:12px;
  color:var(--text-muted);
}
.table-scroll .flag{width:18px;height:12px;display:inline-block;vertical-align:-1px;margin-right:6px;}

/* defensive: bare tables inside prose (writer output) */
.prose > .data-table{
  display:block;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
  min-width:0;
}
.prose table{width:100%;border-collapse:collapse;font-size:14px;}
.prose th,.prose td{
  padding:10px 12px;
  border-bottom:1px solid var(--border-soft);
  text-align:left;
  word-break:keep-all;
}
.prose th{background:var(--bg-panel);color:var(--text-muted);white-space:nowrap;}

/* ---------------------------------------------------------- platform cards */
.platform-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.platform-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:20px 14px;
  border-radius:var(--radius-md);
  border:1px solid var(--border-soft);
  background:var(--surface);
  box-shadow:0 16px 32px -28px var(--accent-a35);
  text-align:center;
}
.platform-card .pi{width:24px;height:24px;}
.platform-name{
  margin:0;
  font-family:var(--font-mono);
  font-size:12.5px;
  font-weight:600;
  color:var(--text);
  white-space:nowrap;
}
.platform-card .btn{
  width:100%;
  flex-shrink:0;
  white-space:nowrap;
}

/* ------------------------------------------------------------- article cards */
.post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.post-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
  padding:22px;
  border-radius:var(--radius-lg);
  border:1px solid var(--border-soft);
  background:var(--surface);
  color:inherit;
  text-decoration:none;
  box-shadow:0 18px 40px -32px var(--accent-a35);
  transition:transform .2s ease, box-shadow .2s ease;
}
.post-card:hover{
  transform:translateY(-3px);
  box-shadow:0 26px 50px -30px var(--accent-a35);
}
.post-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  font-family:var(--font-mono);
  font-size:11.5px;
  color:var(--text-muted);
}
.post-tag{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:3px 9px;
  border-radius:var(--radius-pill);
  background:var(--accent-a10);
  color:var(--accent-dark);
  font-family:var(--font-body);
  font-size:11px;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.post-title{
  margin:0;
  font-family:var(--font-display);
  font-size:17px;
  font-weight:700;
  line-height:1.4;
  letter-spacing:-.015em;
  color:var(--text);
}
.post-summary{
  margin:0;
  font-size:13.5px;
  line-height:1.72;
  color:var(--text-muted);
}
.post-more{
  margin-top:auto;
  font-size:13px;
  font-weight:700;
  color:var(--accent);
}

/* ------------------------------------------------------------------ callout */
.callout{
  display:flex;
  gap:12px;
  margin:0 0 18px;
  padding:16px 18px;
  border-radius:var(--radius-md);
  border-left:3px solid var(--accent);
  background:var(--accent-a06);
  color:var(--text);
}
.callout p{margin:0;font-size:14.5px;line-height:1.78;}
.callout--warn{background:var(--warn-a12);border-left-color:var(--warn);}
.callout--success{background:var(--success-a12);border-left-color:var(--success);}

/* -------------------------------------------------------------- promo block */
.promo-block{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 18px;
  margin:36px 0 0;
  padding:22px 24px;
  border-radius:var(--radius-lg);
  border:1px solid var(--violet-a28);
  background:linear-gradient(132deg, var(--accent-a10) 0%, var(--violet-a14) 100%);
}
.promo-brand{
  margin:0;
  flex:none;
  font-family:var(--font-display);
  font-size:18px;
  font-weight:800;
  letter-spacing:-.025em;
  color:var(--text);
}
.promo-text{
  margin:0;
  flex:1 1 240px;
  min-width:0;
  font-size:14px;
  line-height:1.7;
  color:var(--text-muted);
}
.promo-block .btn{flex-shrink:0;white-space:nowrap;}

/* ---------------------------------------------------------------- float cta */
.float-cta{
  position:fixed;
  right:24px;
  bottom:22px;
  z-index:var(--z-float);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  padding:12px 20px;
  border-radius:var(--radius-pill);
  background:linear-gradient(132deg, var(--accent) 0%, var(--violet) 100%);
  color:var(--text-on-accent);
  font-family:var(--font-display);
  font-size:13.5px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:var(--shadow-float);
}
.float-cta .pi{width:15px;height:15px;color:currentColor;}
body:has(.float-cta)::after{
  content:"";
  display:block;
  height:calc(88px + env(safe-area-inset-bottom,0px));
}

/* ------------------------------------------------------------------- ticker */
.ticker{
  position:relative;
  width:100%;
  max-width:100%;
  overflow:hidden;
  padding:14px 0;
  border-top:1px solid var(--border-soft);
  border-bottom:1px solid var(--border-soft);
  background:var(--bg-panel);
}
.ticker::before,
.ticker::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:56px;
  z-index:2;
  pointer-events:none;
}
.ticker::before{left:0;background:linear-gradient(90deg, var(--bg-panel), transparent);}
.ticker::after{right:0;background:linear-gradient(270deg, var(--bg-panel), transparent);}
.ticker-track{
  display:flex;
  align-items:center;
  gap:28px;
  width:max-content;
  will-change:transform;
}
.ticker-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:none;
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.02em;
  color:var(--text-muted);
  white-space:nowrap;
}
.ticker-item .sep{color:var(--border);}

/* ------------------------------------------------ design-preview helpers */
.ds-panel{
  padding:24px;
  border-radius:var(--radius-lg);
  border:1px solid var(--border-soft);
  background:var(--surface);
  box-shadow:var(--shadow-card);
  min-width:0;
}
.ds-grid{display:grid;gap:16px;min-width:0;}
.ds-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));}
.ds-grid--3{grid-template-columns:repeat(3,minmax(0,1fr));}
.ds-grid--4{grid-template-columns:repeat(4,minmax(0,1fr));}
.swatch{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:12px;
  border-radius:var(--radius-md);
  border:1px solid var(--border-soft);
  background:var(--surface);
}
.swatch-chip{
  flex:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
}
.swatch-meta{min-width:0;}
.swatch-name{
  margin:0 0 2px;
  font-family:var(--font-mono);
  font-size:11.5px;
  color:var(--text);
  overflow-wrap:anywhere;
}
.swatch-hex{
  margin:0;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-muted);
  overflow-wrap:anywhere;
}
.type-row{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 0;
  border-bottom:1px dashed var(--border);
}
.type-row:last-child{border-bottom:0;}
.type-label{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.04em;
  color:var(--text-muted);
}
.demo-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
.demo-note{margin:0;font-size:12.5px;color:var(--text-muted);}

/* ---------------------------------------------------------------- responsive */
@media (max-width:1180px){
  .hero-inner{gap:40px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);}
  .platform-badges{left:-20px;}
  .price-grid{gap:16px;}
}
@media (max-width:1024px){
  .hero-inner{grid-template-columns:minmax(0,1fr);gap:64px;}
  .hero-copy{max-width:none;}
  .hero-visual{max-width:560px;width:100%;margin:0 auto;}
  .platform-badges{
    position:static;
    flex-direction:row;
    justify-content:center;
    margin-top:18px;
  }
  .float-card{position:static;margin:18px auto 0;width:max-content;max-width:100%;}
  .hero{padding-top:32px;padding-bottom:56px;}
  .device-plate{inset:-12px -10px -12px -10px;}
  .feature-browser{grid-template-columns:minmax(0,1fr);gap:16px;}
  .feature-tablist{flex-direction:row;overflow-x:auto;padding-bottom:4px;scrollbar-width:none;}
  .feature-tablist::-webkit-scrollbar{display:none;}
  .feature-tab{width:auto;flex:none;white-space:nowrap;}
  .price-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .platform-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ds-grid--4{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:768px){
  .hero-title{font-size:clamp(30px,8.2vw,40px);}
  .hero-lede{font-size:15.5px;}
  .window-body{grid-template-columns:96px minmax(0,1fr);padding:12px 12px 10px;}
  .line-head,
  .line-rows li{grid-template-columns:minmax(0,1fr) 52px 60px;gap:6px;}
  .line-col{padding-left:10px;}
  .region-col li{font-size:11.5px;padding:6px 6px;}
  .proto-row,.plan-bar,.fact-chips{padding-left:12px;padding-right:12px;}
  .window-chrome{padding:10px 12px;}
  .float-card{right:8px;}
  .price-grid{grid-template-columns:minmax(0,1fr);}
  .post-grid{grid-template-columns:minmax(0,1fr);}
  .ds-grid--3,.ds-grid--4{grid-template-columns:minmax(0,1fr);}
  .tablist{width:100%;justify-content:flex-start;}
  .toc-tabs{top:calc(var(--header-h) + 8px);}
}
@media (max-width:640px){
  .filter-chips li{flex:0 1 auto;}
  .hero-cta{gap:10px;}
  .hero-cta .btn{flex:1 1 160px;}
  .platform-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .feature-panel{padding:20px;}
  .promo-block{padding:18px;}
  .promo-block .btn{width:100%;}
  .float-cta{right:14px;bottom:14px;padding:10px 16px;font-size:12.5px;min-height:40px;}
  .float-cta .pi{width:13px;height:13px;}
  body:has(.float-cta)::after{height:calc(76px + env(safe-area-inset-bottom,0px));}
  .ticker::before,.ticker::after{width:28px;}
  .ds-grid--2{grid-template-columns:minmax(0,1fr);}
  .device-plate{inset:-10px -8px -10px -8px;}
  .plan-bar{gap:6px;}
  .plan{padding:7px 8px;}
  .plan-price{font-size:12px;}
}
@media (max-width:400px){
  .window-body{grid-template-columns:84px minmax(0,1fr);}
  .line-head,
  .line-rows li{grid-template-columns:minmax(0,1fr) 46px 56px;}
  .line-name{font-size:11.5px;}
  .status{font-size:9px;padding:2px 5px;}
  .platform-badges{gap:5px;}
  .pb{width:30px;height:30px;border-radius:9px;}
}

@media (prefers-reduced-motion:reduce){
  .device-glow,
  .chrome-tag::before{animation:none !important;}
  .post-card,
  .price-card,
  .btn{transition:none !important;}
  .ticker-track{transform:none !important;flex-wrap:wrap;width:100%;justify-content:center;gap:14px 22px;}
}