/* MYNET identity. The layout uses the existing page and form contracts. */
:root {
  color-scheme: dark;
  --ob-base: #0d0b14;
  --ob-panel: #171322;
  --ob-raised: #1f192d;
  --ob-edge: #382f49;
  --ob-text: #f4f1ff;
  --ob-muted: #b9b1cb;
  --ob-violet: #a78bfa;
  --ob-pale: #dcd0ff;
  --ob-lime: #d6fb65;
  --night: var(--ob-base);
  --night-soft: #120f1b;
  --graphite: var(--ob-panel);
  --graphite-raised: var(--ob-raised);
  --ivory: var(--ob-text);
  --ivory-muted: #d9d1e8;
  --ash: var(--ob-muted);
  --signal: var(--ob-violet);
  --signal-deep: #7858c7;
  --safe: var(--ob-lime);
  --paper: #ede8f7;
  --paper-raised: #f8f5fc;
  --ink: #181325;
  --ink-muted: #554d68;
  --line: #c7b5ff29;
  --line-soft: #c7b5ff14;
}
body { background: var(--ob-base); color: var(--ob-text); }
body::before { display: none; }
::selection { color: var(--ob-base); background: var(--ob-pale); }
body :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 2px solid var(--ob-lime);
  outline-offset: 3px;
}

.obsidian-mark {
  position: relative;
  display: inline-block;
  flex: none;
  inline-size: var(--mark-width, 35px);
  aspect-ratio: 321 / 156;
  color: inherit;
}
.obsidian-mark > i { position: absolute; inset: 0; background: currentColor; }
.obsidian-mark > i:nth-child(1) { clip-path: polygon(25.2% 0, 46.1% 0, 20.6% 100%, 0 100%); }
.obsidian-mark > i:nth-child(2) { clip-path: polygon(40.8% 48%, 61.1% 48%, 48% 100%, 27.1% 100%); }
.obsidian-mark > i:nth-child(3) { clip-path: polygon(79.4% 0, 100% 0, 74.8% 100%, 54.5% 100%); }

body .site-header,
body.auth-page .site-header,
body.account-app .site-header.compact-header {
  border-color: var(--ob-edge);
  border-radius: 15px;
  background: #13101cef;
  box-shadow: 0 16px 40px #07050d4d;
}
body .site-header .brand,
body .site-footer .brand { gap: 11px; color: var(--ob-text); }
body .brand .obsidian-mark { color: var(--ob-violet); }
body .site-header .brand b, body .site-footer .brand b {
  font-weight: 780;
  letter-spacing: .035em;
}
body .site-header nav a { color: var(--ob-muted); }
body .site-header nav a:is(:hover, [aria-current="page"]) { color: var(--ob-text); }
body .site-header nav a[aria-current="page"]::after { background: var(--ob-violet); }
body .site-header .header-action, body.auth-page .site-header .header-action {
  border-color: #71638d;
  background: transparent;
  color: var(--ob-text);
}
body .site-header .header-action:hover { border-color: var(--ob-violet); background: var(--ob-raised); }
body .site-header .nav-toggle { color: var(--ob-text); border-color: var(--ob-edge); background: var(--ob-panel); }
body #site-menu-toggle:is(:hover,:focus) { border-color: var(--ob-violet); background: var(--ob-raised); box-shadow: 0 0 0 3px #a78bfa1f; }
@media (max-width: 860px) {
  body .site-header[data-menu-ready] nav {
    border-color: var(--ob-edge);
    background: #171322;
    box-shadow: 0 20px 50px #05030b80;
    padding: 8px;
    max-height: calc(100vh - 104px);
    max-height: calc(100svh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body .site-header[data-menu-open] nav a { min-height: 48px; border: 1px solid transparent; padding: 13px 16px; font-size: 15px; }
  body .site-header[data-menu-ready][data-menu-open] nav { flex-wrap: nowrap; overflow-x: hidden; overflow-y: auto; }
  body .site-header[data-menu-ready][data-menu-open] nav a { flex: none; width: 100%; min-width: 0; }
  body .site-header[data-menu-open] nav a:is(:hover,[aria-current="page"]) { background: var(--ob-raised); border-color: var(--ob-edge); color: var(--ob-text); }
  body .site-header[data-menu-open] nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 520px) {
  body .site-header { width: calc(100% - 24px); margin-inline: 12px; padding-inline: 10px; column-gap: 8px; }
  body .site-header .brand { min-width: 0; gap: 8px; }
  body .site-header .brand b { font-size: 20px; }
  body .site-header .brand .obsidian-mark { --mark-width: 28px; }
  body .site-header .header-action { min-height: 44px; padding: 9px 12px; font-size: 13px; }
  body .site-header .header-action .cabinet-icon { display: none; }
  body .site-header[data-menu-ready] .nav-toggle { width: 44px; min-height: 44px; padding: 10px; }
}
body .footer-editorial { border-color: var(--ob-edge); }
body .footer-editorial nav b { color: var(--ob-text); }
body .footer-editorial nav a, body .footer-bottom { color: var(--ob-muted); }
body .footer-editorial nav a:hover { color: var(--ob-pale); }
.footer-brand .footer-social { margin-top: 23px; }

body[data-page="home"] .vpn-shell { color: var(--ob-text); }
body[data-page="home"] .vpn-hero {
  isolation: isolate;
  background: radial-gradient(ellipse at 91% 33%, #211632 0, transparent 62%), var(--ob-base);
  border-bottom: 1px solid var(--ob-edge);
}
.vpn-hero canvas { opacity: .34; }
body[data-page="home"] .vpn-hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 82px);
  min-height: 0;
  padding-block: clamp(56px, 7.5vw, 112px) clamp(45px, 6vw, 90px);
}
@media (min-width: 861px) {
  body[data-page="home"] .vpn-hero-grid {
    min-height: calc(100vh - 97px);
    min-height: calc(100svh - 97px);
    align-content: center;
  }
}
body[data-page="home"] .vpn-hero-copy { container-type: inline-size; }
body[data-page="home"] .vpn-hero h1 {
  margin: 19px 0 23px;
  color: var(--ob-text);
  font: 760 clamp(39px, 16cqi, 92px)/.98 var(--display);
  letter-spacing: -.069em;
  word-spacing: .04em;
}
.vpn-hero-brand { display: block; white-space: nowrap; }
body[data-page="home"] .vpn-hero h1 em {
  display: block;
  margin-top: 9px;
  color: var(--ob-pale);
  font-size: .67em;
  line-height: 1.05;
  font-weight: 630;
  letter-spacing: -.058em;
}
body[data-page="home"] .vpn-hero-copy > p {
  max-width: 33ch;
  color: var(--ob-muted);
  font: 400 clamp(15px, 1.35vw, 19px)/1.65 var(--text);
}
body[data-page="home"] .hero-platforms { gap: 8px; }
body[data-page="home"] .hero-platforms .hero-platform {
  color: var(--ob-pale);
  border-color: var(--ob-edge);
  background: var(--ob-panel);
  box-shadow: none;
  min-height: 40px;
}
body[data-page="home"] .hero-platforms .hero-platform:hover { border-color: var(--ob-violet); background: var(--ob-raised); }
body[data-page="home"] .vpn-actions { margin-top: 29px; gap: 10px; }
body .vpn-shell a.release-download[data-icon] {
  border: 1px solid var(--ob-violet);
  border-radius: 9px;
  background: var(--ob-violet);
  color: var(--ob-base);
  box-shadow: 0 9px 28px #a78bfa24;
}
body .vpn-shell a.release-download[data-icon]:hover {
  border-color: var(--ob-pale);
  background: var(--ob-pale);
  color: var(--ob-base);
}
body[data-page="home"] .vpn-secondary {
  border-color: #71638d;
  border-radius: 9px;
  background: transparent;
  color: var(--ob-text);
}
body[data-page="home"] .vpn-secondary:hover { border-color: var(--ob-violet); background: var(--ob-panel); }
body[data-page="home"] .vpn-compatibility { margin-top: 16px; color: var(--ob-muted); line-height: 1.65; }
body[data-page="home"] .vpn-hero-assurance { flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; }
body[data-page="home"] .vpn-hero-assurance > span { color: var(--ob-text); }
body[data-page="home"] .vpn-hero-assurance > span > span { color: var(--ob-violet); }

body[data-page="home"] .vpn-channel {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  perspective: none;
}
@media (min-width: 1060px) {
  body[data-page="home"] .vpn-channel {
    margin-inline-start: clamp(0px, calc((100vw - 1060px) / 16), 44px);
  }
}
.vpn-orbit-art {
  position: relative;
  inline-size: 100%;
  margin: 0 auto -2%;
  isolation: isolate;
}
.vpn-engraving { display: block; inline-size: 100%; block-size: auto; }
.engraving-solid { transform-origin: 50% 50%; transform-box: view-box; }
.engraving-grain { mix-blend-mode: soft-light; }
.engraving-sweep { mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) {
  .engraving-solid { animation: engraving-hover 8s ease-in-out infinite; }
  .engraving-sweep { animation: engraving-light 8s ease-in-out infinite; }
  .engraving-reflection { animation: engraving-shadow 8s ease-in-out infinite; }
}
@keyframes engraving-hover {
  0%, 100% { transform: translateY(1px) rotate(-.4deg); }
  50% { transform: translateY(-9px) rotate(.8deg); }
}
@keyframes engraving-light {
  0%, 100% { transform: translateX(-140px); opacity: .3; }
  50% { transform: translateX(300px); opacity: .75; }
}
@keyframes engraving-shadow {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
.vpn-route-strip {
  --route-icon: clamp(38px, 4vw, 54px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0, 1fr));
  inline-size: min(100%, 536px);
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
.vpn-route-strip::before,
.vpn-route-strip::after {
  content: "";
  position: absolute;
  inset-inline: 16.6667%;
  inset-block-start: calc(var(--route-icon) / 2 - 1px);
  block-size: 2px;
  border-radius: 1px;
}
.vpn-route-strip::before {
  background: linear-gradient(90deg,#76639a,#b396fc 48%,#695685 52%,#786b86);
  box-shadow: 0 0 8px #bc9ef24d;
}
.vpn-route-strip > li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding-inline: 4px;
  color: var(--ob-text);
  font: 560 clamp(12px, 1.2vw, 14px)/1.35 var(--display);
  text-align: center;
}
.vpn-route-strip > li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: -3px;
  inset-block-start: calc(var(--route-icon) / 2 - 4px);
  inline-size: 8px;
  block-size: 8px;
  border-top: 2px solid #d9c5ff;
  border-right: 2px solid #d9c5ff;
  transform: rotate(45deg);
}
body[data-page="home"] .vpn-route-strip .vpn-route-icon {
  position: relative;
  inset: auto;
  display: grid;
  place-content: center;
  inline-size: var(--route-icon);
  block-size: var(--route-icon);
  padding: 0;
  border: 1px solid #655285;
  border-radius: 50%;
  background: #1d172b;
  color: var(--ob-pale);
  box-shadow: inset 0 1px #c9a8ff26;
  transform: none;
}
body[data-page="home"] .vpn-route-strip .vpn-channel-core {
  border-color: #a68ae0;
  background: radial-gradient(circle at 50% 12%,#56417d,#251a3b 78%);
  box-shadow: 0 0 24px #b68dff42, inset 0 1px #d7bef461;
}
.vpn-route-strip .vpn-channel-core::before { display: none; }
body[data-page="home"] .vpn-route-strip .obsidian-mark { --mark-width: clamp(19px, 2vw, 25px); margin: 0; color: var(--ob-pale); }
body[data-page="home"] .vpn-route-strip .ui-icon {
  inline-size: calc(var(--route-icon) * .46);
  block-size: calc(var(--route-icon) * .46);
}
@media (prefers-reduced-motion: no-preference) {
  .vpn-route-strip::after {
    background: linear-gradient(90deg,transparent,#d9ff8e,transparent) no-repeat -48px center / 48px 100%;
    animation: vpn-route-signal 4.8s linear infinite;
  }
}
@keyframes vpn-route-signal {
  75%, 100% { background-position: calc(100% + 48px) center; }
}
body[data-page="home"] .vpn-channel figcaption {
  position: static;
  display: block;
  max-inline-size: 47ch;
  margin: 14px auto 0;
  color: var(--ob-muted);
  text-align: center;
  font-size: 12px;
}

body[data-page="home"] .vpn-shell > section:not(.vpn-hero) {
  background: var(--ob-base);
  color: var(--ob-text);
  border-bottom: 1px solid var(--ob-edge);
  padding-block: clamp(46px, 6vw, 92px);
}
body[data-page="home"] .vpn-shell > .vpn-light { background: #110e1a; --action-text: var(--ob-text); --action-icon: var(--ob-violet); }
body[data-page="home"] .vpn-shell h2 {
  margin-top: 0;
  color: var(--ob-text);
  font: 700 clamp(30px, 3.7vw, 56px)/1.08 var(--display);
  letter-spacing: -.054em;
}
body[data-page="home"] .vpn-shell p { color: var(--ob-muted); }
body[data-page="home"] .vpn-section-heading { gap: 24px; margin-bottom: clamp(22px, 3vw, 40px); }
body[data-page="home"] .vpn-benefit-grid article {
  background: var(--ob-panel);
  border: 1px solid var(--ob-edge);
  border-radius: 14px;
  box-shadow: none;
}
body[data-page="home"] .vpn-feature-icon {
  width: 43px;
  height: 43px;
  margin-bottom: 20px;
  border-color: #635183;
  border-radius: 10px;
  background: #281e3a;
  color: var(--ob-pale);
}
body .vpn-shell .vpn-feature-icon .ui-icon { width: 23px; height: 23px; }
body[data-page="home"] .vpn-platform {
  border-color: var(--ob-edge);
  border-radius: 10px;
  background: var(--ob-panel);
  color: var(--ob-text);
  box-shadow: none;
}
body[data-page="home"] .vpn-platform:hover { border-color: var(--ob-violet); }
body[data-page="home"] .vpn-platform :is(small,.vpn-platform-icon), body .vpn-shell .text-link .ui-icon { color: var(--ob-violet); }
body[data-page="home"] .vpn-platform b { color: var(--ob-text); }
body[data-page="home"] .vpn-monitor, body[data-page="home"] .vpn-phone {
  border-color: var(--ob-edge);
  background: linear-gradient(150deg, #291e3e, #100d19 70%);
  box-shadow: 0 20px 60px #05040baa;
}
body[data-page="home"] .vpn-monitor > span { color: var(--ob-pale); }
body[data-page="home"] .vpn-phone .obsidian-mark { --mark-width: 49%; color: var(--ob-violet); }
body[data-page="home"] .vpn-device-art figcaption, body[data-page="home"] .vpn-device-art figcaption::before { color: var(--ob-muted); }
body[data-page="home"] .vpn-steps li + li, body[data-page="home"] .vpn-faq details { border-color: var(--ob-edge); }
body[data-page="home"] .vpn-steps li > span { color: var(--ob-violet); }
body[data-page="home"] .vpn-faq details summary { color: var(--ob-text); }
body[data-page="home"] .vpn-faq details summary span { color: var(--ob-violet); }
body[data-page="home"] .vpn-closing .obsidian-mark {
  --mark-width: clamp(80px, 26vw, 310px);
  color: var(--ob-violet);
  opacity: .32;
}
body .vpn-shell .vpn-closing a.release-download[data-icon] { background: var(--ob-violet); border-color: var(--ob-violet); color: var(--ob-base); }
body .vpn-shell .vpn-closing a.release-download[data-icon]:hover { background: var(--ob-pale); border-color: var(--ob-pale); }

/* Real catalog cards and customer actions. */
body :is(.vpn-plans,.pricing-shell) :is(.plan-toolbar,.price-grid article) {
  border-color: var(--ob-edge);
  border-radius: 13px;
  background: var(--ob-panel);
  color: var(--ob-text);
}
body :is(.vpn-plans,.pricing-shell) .price-grid article.plan-popular {
  border-color: #a185e0;
  background: radial-gradient(ellipse at 90% 0, #392755, transparent 60%), var(--ob-panel);
  box-shadow: inset 0 1px #be9fff55, 0 14px 35px #10071965;
}
body :is(.vpn-plans,.pricing-shell) .plan-period { margin-top: 30px; }
body :is(.vpn-plans,.pricing-shell) .plan-period :is(h2,h3), body :is(.vpn-plans,.pricing-shell) .plan-card > .plan-price { color: var(--ob-text); }
body :is(.vpn-plans,.pricing-shell) :is(.plan-period p,.plan-total,.plan-price-unit,.plan-benefits,.plan-switch > button,.page-status) { color: var(--ob-muted); }
body :is(.vpn-plans,.pricing-shell) .plan-switch { background: var(--ob-base); }
body :is(.vpn-plans,.pricing-shell) .plan-switch > button[aria-pressed="true"] {
  color: var(--ob-base);
  background: var(--ob-pale);
  border-color: var(--ob-pale);
}
body :is(.vpn-plans,.pricing-shell) .price-grid article > a {
  color: var(--ob-text) !important;
  background: #ffffff05 !important;
  border-color: #68577f;
}
body :is(.vpn-plans,.pricing-shell) .price-grid article:not(.plan-popular) > a:is(:hover,:focus-visible) {
  border-color: #a085c9;
  background: #2b2040 !important;
}
body :is(.vpn-plans,.pricing-shell) .price-grid article.plan-popular > a {
  color: var(--ob-base) !important;
  background: var(--ob-violet) !important;
  border-color: var(--ob-violet);
}
body :is(.vpn-plans,.pricing-shell) .price-grid article.plan-popular > a:is(:hover,:focus-visible) {
  color: var(--ob-base) !important;
  background: var(--ob-pale) !important;
  border-color: var(--ob-pale);
}
body :is(.vpn-plans,.pricing-shell) :is(.plan-saving,.plan-benefits .ui-icon) { color: var(--ob-violet); }
body :is(.vpn-plans,.pricing-shell) .plan-corner-tag {
  inset: 14px 14px auto auto;
  inline-size: auto;
  block-size: auto;
  min-block-size: 25px;
  padding: 4px 11px;
  border: 1px solid #9072c9;
  border-radius: 999px;
  clip-path: none;
  color: #f2eaff;
  background: #3b2b59;
}
body .vpn-pricing-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  padding: 16px;
  border: 1px solid #4b3b64;
  border-radius: 16px;
  background: linear-gradient(110deg, #281f3a, var(--ob-panel) 65%);
  color: var(--ob-text);
}
.vpn-pricing-note-icon {
  display: grid;
  place-items: center;
  place-content: center;
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid #6f589a;
  border-radius: 12px;
  background: #30234a;
  color: var(--ob-pale);
}
.vpn-pricing-note-icon .ui-icon { inline-size: 21px; block-size: 21px; }
.vpn-pricing-note p { display: grid; gap: 2px; }
.vpn-pricing-note strong { color: var(--ob-text); font-size: 14px; font-weight: 620; }
.vpn-pricing-note p > span { color: var(--ob-muted); }
body .vpn-pricing-note > a.polish-button { margin: 0; justify-self: end; }
@media (max-width: 520px) {
  body .vpn-pricing-note { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
  body .vpn-pricing-note > a.polish-button { grid-column: 2; justify-self: start; }
}
body .pricing-shell :is(.pricing-intro,.pricing-note),
body .guide-shell .editorial-intro, body .legal-shell .document-sections {
  border: 1px solid var(--ob-edge);
  border-radius: 16px;
  background: var(--ob-panel);
}
body .pricing-shell .pricing-intro, body .guide-shell .editorial-intro {
  background: radial-gradient(ellipse at 100% 100%, #2a1e40, transparent 68%), var(--ob-panel);
}
body .pricing-shell .pricing-intro h1, body .pricing-shell .pricing-note b,
body .guide-shell .editorial-intro h1, body .legal-shell .document-sections h2 { color: var(--ob-text); }
body .pricing-shell .pricing-note a, body .guide-shell .editorial-intro :is(.eyebrow,h1 em) { color: var(--ob-pale); }
body .pricing-shell .pricing-intro > p, body .pricing-shell .pricing-note p,
body .guide-shell .editorial-intro p, body .legal-shell .document-sections :is(p,ul,ol) { color: var(--ob-muted); }

body:not(.owner-page) :is(.xp-app-hero,.xp-installer-visual,.xp-app-benefits > div,.xp-install,.xp-install-steps > li,.xp-download-notes,.xp-hub-heading,.xp-hub-guide,.xp-hub-support,.xp-hub-directory > a,.xp-info-lead,.xp-support-guide,.xp-support-topics > div,.xp-support-notes,.xp-info-detail,.xp-info-related,.xp-status-panel,.xp-status-context) {
  border-color: var(--ob-edge);
  color: var(--ob-text);
  background: var(--ob-panel);
  box-shadow: none;
}
body .downloads-shell :is(.downloads-intro > p,.downloads-release,.downloads-platform-description,.downloads-specs dt,.downloads-install-hint,.downloads-shared header p,.downloads-steps p,.downloads-faq p,.downloads-contact p) { color: var(--ob-muted); }
body .downloads-shell :is(.downloads-faq summary > span,.downloads-shared header a,.downloads-contact a) { color: var(--ob-pale); }
body .downloads-shell .downloads-platform {
  border: 1px solid var(--ob-edge);
  border-radius: 18px;
  background: var(--ob-panel);
  color: var(--ob-text);
}
body .downloads-shell .downloads-platform-copy { padding-inline-end: 22px; }
body .downloads-shell .downloads-os {
  background: var(--ob-raised);
  border-color: var(--ob-edge);
  color: var(--ob-pale);
}
body .downloads-shell .downloads-platform .downloads-download {
  background: var(--ob-violet);
  border-color: var(--ob-violet);
  color: var(--ob-base);
}
body .downloads-shell .downloads-platform .downloads-download:hover {
  background: var(--ob-pale);
  border-color: var(--ob-pale);
}
body .downloads-shell .downloads-stage {
  background: radial-gradient(ellipse at center, #a78bfa1a, transparent 63%);
}
body .downloads-shell .downloads-stage::before {
  border-color: #a78bfa38;
  box-shadow: 0 0 0 28px #a78bfa0b, 0 0 0 58px #a78bfa08;
}
body .downloads-shell .downloads-stage::after { content: none; }
body .downloads-shell :is(.downloads-monitor,.downloads-phone) {
  border-color: #584c73;
  background: linear-gradient(145deg, #241a37, var(--ob-base));
  box-shadow: 14px 24px 36px #05040b65;
}
body .downloads-shell :is(.downloads-monitor,.downloads-phone)::before,
body .downloads-shell :is(.downloads-monitor,.downloads-phone)::after { background: #584c73; }
body .downloads-shell .downloads-screen-mark {
  border-color: #a78bfa38;
  box-shadow: 0 0 0 15px #a78bfa0b, 0 0 0 30px #a78bfa08;
}
body .downloads-shell :is(a,summary):focus-visible { outline-color: var(--ob-lime); }
body:not(.owner-page) .auth-context {
  isolation: isolate;
  overflow: hidden;
  border-color: var(--ob-edge);
  background: radial-gradient(ellipse at 60% 62%, #39235088, transparent 57%), linear-gradient(145deg, #1b1529, #100d19);
}
body:not(.owner-page) .auth-context::before, body:not(.owner-page) .auth-context::after { content: none; }
body:not(.owner-page) .auth-context h1 em { color: var(--ob-pale); }
body:not(.owner-page) .auth-context > span { color: var(--ob-muted); letter-spacing: .14em; }
body:not(.owner-page) .auth-manifesto { color: var(--ob-muted); max-width: 36ch; font-size: 16px; line-height: 1.75; }
body:not(.owner-page) .auth-orbit { width: clamp(210px, 19vw, 280px); height: auto; aspect-ratio: 1; margin: 30px auto 36px; perspective: 600px; }
body:not(.owner-page) .auth-orbit::before {
  inset: 0; border: 1px solid #c5acff66; border-inline-start-color: #e8ddff;
  transform: rotate(-28deg) scaleY(.58); box-shadow: 0 0 30px #a78bfa12;
}
body:not(.owner-page) .auth-orbit::after {
  inset: 0; border: 1px solid #a78bfa44; border-inline-end-color: #c5acffbb;
  transform: rotate(28deg) scaleY(.58);
}
body:not(.owner-page) .auth-orbit > i:first-child { inset: 18%; border-color: #b89bff4d; box-shadow: 0 0 52px #a78bfa16, inset 0 0 40px #a78bfa0d; }
body:not(.owner-page) .auth-orbit > i:nth-child(2) { inset: 5%; border-style: solid; border-color: #b89bff17; }
body:not(.owner-page) .auth-features { border-color: var(--ob-edge); color: var(--ob-muted); gap: 14px; }
body:not(.owner-page) .auth-features .ui-icon { color: var(--ob-pale); }
@media (prefers-reduced-motion: no-preference) {
  body:not(.owner-page) .auth-orbit::before { animation: mynet-auth-orbit 20s linear infinite; }
  body:not(.owner-page) .auth-orbit::after { animation: mynet-auth-orbit-reverse 27s linear infinite; }
  body .site-header[data-menu-open] nav { animation: mynet-menu-in 160ms ease-out both; }
}
@keyframes mynet-auth-orbit { from { transform: rotate(-28deg) scaleY(.58); } to { transform: rotate(332deg) scaleY(.58); } }
@keyframes mynet-auth-orbit-reverse { from { transform: rotate(28deg) scaleY(.58); } to { transform: rotate(-332deg) scaleY(.58); } }
@keyframes mynet-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

body .cookie-notice {
  position: fixed; z-index: 100; inset-inline: 20px; bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 20px; width: fit-content; max-width: min(720px, calc(100% - 40px));
  margin-inline: auto; padding: 16px 18px; border: 1px solid var(--ob-edge); border-radius: 16px;
  color: var(--ob-text); background: #171322; box-shadow: 0 12px 48px #0008;
}
body .cookie-notice p { margin: 0; font: 400 14px/1.55 var(--text); }
body .cookie-notice a { color: var(--ob-pale); text-decoration: underline; text-underline-offset: 3px; }
body #cookie-notice button { flex: none; min-height: 44px; padding: 10px 17px; border: 1px solid #a78bfa88; border-radius: 10px; color: var(--ob-text); background: var(--ob-raised); box-shadow: none; font-size: 14px; cursor: pointer; }
body #cookie-notice button:is(:hover,:focus-visible) { border-color: var(--ob-violet); background: #302342; }
.cookie-no-script { margin: 16px auto; padding-inline: 20px; max-width: 1280px; color: var(--ob-muted); font-size: 14px; }
@media (max-width: 520px) {
  body .cookie-notice { inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: calc(100% - 24px); padding: 14px; gap: 12px; }
  body .cookie-notice p { font-size: 13px; }
  body .cookie-notice button { padding-inline: 12px; }
}
:is(.auth-orbit,.owner-auth-orbit,.account-next-mark) > .obsidian-mark {
  --mark-width:90px;
  color:var(--ob-violet);
  filter:drop-shadow(0 4px 16px #a78bfa44);
}
.account-next-mark > .obsidian-mark { --mark-width:78px; }

/* Operations UI draws priority from position, copy and color together. */
body.owner-page:is([data-page="admin"],[data-page="admin-login"]) { background: var(--ob-base); }
body.owner-page :is(.owner-workspace,.owner-auth,.owner-dialog) {
  --bg: var(--ob-base);
  --side: #100e19;
  --surface: var(--ob-panel);
  --line: var(--ob-edge);
  --ink: var(--ob-text);
  --muted: var(--ob-muted);
  --accent: var(--ob-violet);
}
body.owner-page .owner-workspace { background: #141020; border-color: var(--ob-edge); }
body.owner-page .owner-main { background: var(--ob-base); border-color: var(--ob-edge); }
body.owner-page .owner-sidebar { background: #100e19; border-color: var(--ob-edge); }
body.owner-page :is(.owner-topbar,.owner-sidebar-symbol,.owner-metrics .metric,.owner-workspace .surface,.owner-workspace .owner-section-intro,.owner-workspace .owner-plan-card,.owner-workspace .table-toolbar,.owner-workspace .resource-card) {
  border-color: var(--ob-edge);
  background: var(--ob-panel);
}
body.owner-page .owner-nav button[aria-current="page"] {
  color: var(--ob-pale);
  border-color: #5f4a7b;
  background: #261b3a;
  box-shadow: inset 3px 0 var(--ob-violet);
}
body.owner-page :is(.owner-sidebar-symbol,.owner-nav button[aria-current="page"] .ui-icon) { color: var(--ob-violet); }
body.owner-page .owner-nav .nav-count { background: var(--ob-violet); color: var(--ob-base); }
body.owner-page .owner-metrics .metric.accent strong { color: var(--ob-pale); }
body.owner-page .owner-workspace :is(#owner-navigation-toggle,#admin-refresh,.owner-quick-actions button,.topbar-actions .icon-button) {
  background: var(--ob-raised);
  border-color: var(--ob-edge);
  color: var(--ob-text);
}
body.owner-page .owner-workspace :is(.text-action,.finance-glance button:not(.danger)) { color: var(--ob-pale); }
body.owner-page .owner-workspace th { background: #151021; }
body.owner-page .owner-workspace :is(td,.table-footer) { border-color: var(--ob-edge); }
body.owner-page .owner-trend-chart .trend-bar { fill: var(--ob-violet); }
body.owner-page .owner-trend-chart .trend-bar:focus { fill: var(--ob-lime); }
body.owner-page #owner-trend-total { color: var(--ob-pale); }
body.owner-page :is(.owner-workspace,.owner-dialog) button.primary:not(.danger) {
  background: var(--ob-violet);
  border-color: var(--ob-violet);
  color: var(--ob-base);
}
body.owner-page :is(.owner-workspace,.owner-dialog) button.primary:not(.danger):hover {
  background: var(--ob-pale);
  border-color: var(--ob-pale);
}
body.owner-page .owner-auth-story {
  border-color: var(--ob-edge);
  background: radial-gradient(ellipse at 65% 57%, #241937, transparent 70%), var(--ob-panel);
}
body.owner-page .owner-auth-orbit > i, body.owner-page .owner-auth-orbit::before, body.owner-page .owner-auth-orbit::after {
  border-color: #9c7fd458;
  box-shadow: none;
}
body.owner-page .owner-auth-capabilities .ui-icon { color: var(--ob-violet); }
body.owner-page .login-card.owner-auth-card {
  --ink: var(--ob-text);
  --muted: var(--ob-muted);
  color-scheme: dark;
  border-color: var(--ob-edge);
  background: var(--ob-panel);
  color: var(--ob-text);
}
body.owner-page .owner-auth-card :is(h2,.owner-auth-field label) { color: var(--ob-text); }
body.owner-page .owner-auth-card :is(.owner-auth-factor,.owner-auth-code-label span,.owner-auth-field small,.owner-auth-security p,.owner-auth-card-heading .eyebrow) { color: var(--ob-muted); }
body.owner-page .owner-auth-card :is(.owner-auth-lock,.owner-auth-security) { border-color: #62517f; background: #201731; color: var(--ob-pale); }
body.owner-page .owner-auth-card .owner-auth-security {
  gap: 10px;
  padding: 12px;
  border: 1px solid #62517f;
  border-radius: 10px;
}
body.owner-page .owner-auth-card .owner-auth-security > span { color: var(--ob-pale); }
body.owner-page .owner-auth-card .owner-auth-security p { font-size: 11px; }
body.owner-page .owner-auth-card .owner-auth-field input { border-color: #70618a; background: var(--ob-base); color: var(--ob-text); }
body.owner-page .owner-auth-card .owner-auth-field input:is(:focus,:focus-visible) { border-color: var(--ob-violet); box-shadow: 0 0 0 3px #a78bfa36; }
body.owner-page .owner-auth-card .owner-auth-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--ob-text);
  box-shadow: inset 0 0 0 1000px var(--ob-base);
  caret-color: var(--ob-text);
}
body.owner-page .owner-auth-card .owner-auth-password .password-toggle { color: var(--ob-pale); border-color: var(--ob-edge); background: var(--ob-raised); }
body.owner-page .owner-auth-card .owner-auth-submit {
  color: var(--ob-base);
  background: var(--ob-violet);
  border-color: var(--ob-violet);
}
body.owner-page .owner-auth-card .owner-auth-submit > span { color: inherit; }
body.owner-page .owner-auth-card .owner-auth-submit:not(:disabled):hover { background: var(--ob-pale); border-color: var(--ob-pale); }
body.owner-page .owner-auth-card .form-status[data-state="error"] { background: #382031; border-color: #9e5265; color: #ffc6d4; }
body.owner-page .owner-auth-card :is(.owner-auth-submit,.password-toggle):focus-visible,
body.owner-page :is(.owner-workspace,.owner-dialog) :is(button,a):focus-visible { outline-color: var(--ob-lime); }

/* The real one-time-code input keeps paste, autofill and keyboard selection. */
body .code-entry:focus-within { outline: none; }
body .code-entry input.code-entry-input {
  border: 0;
  padding: 0;
  outline: none;
  box-shadow: none;
}
body .code-entry-tiles > span {
  border-color: #75628f;
  border-radius: 9px;
  background: #171123;
  color: var(--ob-text);
  font: 650 1.15rem/1 var(--data);
  font-variant-numeric: tabular-nums;
}
body .code-entry-tiles > span:not(:empty) { border-color: #9479c1; background: #251b37; }
body .code-entry:focus-within .code-entry-tiles > span[data-active="true"] {
  border-color: var(--ob-lime);
  background: #302347;
  box-shadow: inset 0 0 0 1px var(--ob-lime);
}
@media (prefers-reduced-motion: no-preference) {
  body .code-entry-tiles > span { transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
}

@media (max-width: 850px) {
  body[data-page="home"] .vpn-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  body[data-page="home"] .vpn-channel { max-inline-size: 640px; justify-self: center; }
  body[data-page="home"] .vpn-hero h1 { font-size: clamp(39px, 16cqi, 76px); }
  body[data-page="home"] .vpn-section-heading { grid-template-columns: 1fr; gap: 12px; }
  body[data-page="home"] .vpn-section-heading > p { justify-self: start; margin: 0; }
}
@media (max-width: 520px) {
  body[data-page="home"] .vpn-container { width: calc(100% - 36px); }
  body[data-page="home"] .vpn-hero-grid { padding-block: 36px 33px; gap: 28px; }
  body[data-page="home"] .vpn-hero h1 { margin: 15px 0 18px; font-size: clamp(39px, 16cqi, 60px); }
  body[data-page="home"] .hero-platforms { flex-wrap: wrap; }
  body[data-page="home"] .vpn-actions { align-items: stretch; }
  body[data-page="home"] .vpn-actions > a { flex: 1 1 100%; }
  body[data-page="home"] .vpn-orbit-art { inline-size: calc(100% + 28px); margin: 0 -14px -2%; }
  body[data-page="home"] .vpn-closing > .vpn-container { display: flex; gap: 12px; align-items: center; }
  body[data-page="home"] .vpn-closing .obsidian-mark { --mark-width: 20%; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .vpn-hero canvas { display: none; }
}
@media (forced-colors: active) {
  .vpn-route-strip::before { background: CanvasText; forced-color-adjust: none; }
  .vpn-route-strip::after { display: none; }
  .vpn-route-strip > li:not(:last-child)::after { border-color: CanvasText; }
  .obsidian-mark { forced-color-adjust: none; color: CanvasText !important; }
  body :is(button,a,input,select,textarea,summary):focus-visible { outline-color: Highlight; }
  body .code-entry input.code-entry-input { position: absolute; opacity: 0; }
  body .code-entry-tiles { display: grid; }
  body .code-entry-tiles > span { border-color: ButtonText; background: Canvas; color: CanvasText; }
  body .code-entry:focus-within .code-entry-tiles > span[data-active="true"] {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}

/* The same control states apply to the public pages, account and operator workspace. */
body :is(.site-header,.account-shell,.pricing-shell,.guide-shell,.downloads-shell,
    .legal-shell,.vpn-shell,.identity-card,.login-card,.owner-workspace,.owner-dialog)
    :is(button:not(.danger),a.header-action,a.polish-button,a.xp-contact-button) {
  --control-ink: var(--ob-text);
  --action-text: var(--ob-text);
  --control-surface: var(--ob-panel);
  --control-border: #5a4a72;
  --control-hover: #302443;
  --control-hover-border: #9272cb;
}
body :is(.vpn-shell,.pricing-shell,.downloads-shell,.guide-shell,.owner-workspace,.owner-dialog,
    .owner-auth,.account-shell,.auth-page) :is(a.primary,button.primary,a.downloads-download,.owner-auth-submit) {
  --control-ink: #170d2b;
  --action-text: #170d2b;
  --action-icon: #170d2b;
  --control-surface: #a98af0;
  --control-border: #a98af0;
  --control-hover: #d6c5ff;
  --control-hover-border: #d6c5ff;
}
body :is(.site-header,.account-shell,.pricing-shell,.guide-shell,.downloads-shell,
    .legal-shell,.vpn-shell,.identity-card,.login-card,.owner-workspace,.owner-dialog)
    :is(a.header-action,a.polish-button,a.xp-contact-button,button:not(.danger):not(.password-toggle):not(.nav-toggle)):not(:disabled):is(:hover,:focus-visible),
body :is(.vpn-shell,.pricing-shell,.downloads-shell,.guide-shell,.owner-workspace,.owner-dialog,
    .owner-auth,.account-shell,.auth-page) :is(a.primary,button.primary,a.downloads-download,.owner-auth-submit):not(:disabled):is(:hover,:focus-visible) {
  color: var(--control-ink, var(--ob-text));
  background: var(--control-hover, var(--ob-raised));
  border-color: var(--control-hover-border, var(--ob-violet));
}
body :is(a.primary,a.downloads-download,.owner-auth-submit,button.primary):is(:hover,:focus-visible) > :is(span,svg) {
  color: inherit;
}
body :is(.owner-auth-card,.auth-shell) .password-toggle:not(:disabled):is(:hover,:focus-visible) {
  color: var(--ob-text);
  background: #302443;
}
body.owner-page .owner-nav button[aria-current="page"]:is(:hover,:focus-visible),
body :is(.account-shell,.pricing-shell,.vpn-shell) button[aria-pressed="true"]:is(:hover,:focus-visible) {
  color: var(--ob-pale);
  background: #33244c;
  border-color: #9272cb;
}
body :is(.legal-shell,.xp-hub,.xp-info) :is(.xp-hub-directory > a,.xp-info-detail,.xp-info-related) {
  border-color: var(--ob-edge);
  background: var(--ob-panel);
  color: var(--ob-text);
}
body :is(.guide-shell,.legal-shell,.xp-info) :is(.guide-sections,.document-sections,.xp-info-detail) a:not(.polish-button) {
  color: var(--ob-pale);
  text-decoration: underline;
  text-underline-offset: .22em;
}
body :is(.guide-shell,.legal-shell,.xp-info) :is(.guide-sections,.document-sections,.xp-info-detail) a:not(.polish-button):is(:hover,:focus-visible) {
  color: var(--ob-text);
  text-decoration-color: var(--ob-violet);
}
body .guide-shell .guide-toc {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #574667;
  border-radius: 18px;
  background: linear-gradient(160deg,#261d35,#181321 84%);
}
.guide-toc-title {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 12px;
  margin-block-end: 4px;
  border-block-end: 1px solid #584567;
  color: var(--ob-text);
  font-weight: 670;
}
body .guide-shell .guide-toc a {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 9px;
  min-block-size: 44px;
  min-inline-size: 0;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #e0d4f2;
  background: transparent;
}
body .guide-shell .guide-toc .ui-icon {
  position: static;
  display: block;
  inline-size: 17px;
  block-size: 17px;
  margin: 0;
  flex: 0 0 17px;
  color: var(--ob-pale);
}
body .guide-shell .guide-toc a:is(:hover,:focus-visible,[aria-current="location"]) {
  border-color: #8f75b4;
  background: #392951;
  color: #fff;
}
body .guide-shell .guide-toc a[aria-current="location"] {
  box-shadow: inset 3px 0 var(--ob-violet);
}
@media (prefers-reduced-motion: no-preference) {
  body .guide-shell .guide-toc a { transition: background .17s ease, border-color .17s ease, color .17s ease; }
  body .guide-shell .guide-toc a .ui-icon { transition: translate .17s ease; }
  body .guide-shell .guide-toc a:is(:hover,:focus-visible) .ui-icon { translate: 2px 0; }
}
@media (max-height: 680px) {
  body .guide-shell .guide-toc { position: static; }
}
body .guide-shell .guide-sections > section[id] {
  border-color: var(--ob-edge);
  background: var(--ob-panel);
  color: var(--ob-text);
}
body .guide-shell .guide-sections > section[id]:target {
  border-color: #7961a7;
  box-shadow: inset 3px 0 var(--ob-violet);
}
body .guide-shell .guide-sections > section[id] :is(p,li) { color: var(--ob-muted); }
body .guide-shell .guide-sections > section[id] .eyebrow { color: var(--ob-violet); }
body.owner-page .owner-workspace .notice:not([data-state="error"]):not([data-state="success"]) {
  border: 1px solid #665185;
  border-inline-start: 3px solid var(--ob-violet);
  border-radius: 10px;
  background: #231932;
  color: #e7ddf8;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body :is(.vpn-platform,.downloads-platform,.price-grid .plan-card,.xp-hub-directory > a) {
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  }
  body :is(.vpn-platform,.downloads-platform,.price-grid .plan-card,.xp-hub-directory > a):is(:hover,:focus-within) {
    border-color: #9272cb;
    box-shadow: 0 11px 34px #0c081a70;
    transform: translateY(-2px);
  }
}

/* Shared button tokens also feed the earlier cross-page action component. */
body :is(.vpn-shell,.pricing-shell,.downloads-shell,.guide-shell,.owner-workspace,
    .owner-dialog,.owner-auth,.account-shell) :is(a.primary,a.downloads-download) {
  --action-text: #170d2b;
  --action-icon: #170d2b;
}
body.auth-page .auth-card {
  --ink-muted: var(--ob-muted);
  border-color: var(--ob-edge);
  background: var(--ob-panel);
  color: var(--ob-text);
}
body.auth-page .auth-card :is(h1,h2,h3,form label) { color: var(--ob-text); }
body.auth-page .auth-card :is(p,.auth-secondary) { color: var(--ob-muted); }
body.auth-page .registration-next:not([hidden]) {
  display:grid;gap:12px;margin-top:18px;padding:16px;border:1px solid var(--ob-edge);border-radius:14px;
  background:#1e172e;
}
body.auth-page .registration-next :is(h3,p,.auth-secondary) { margin:0; }
body.auth-page .auth-card .registration-next .primary {
  justify-content:center;text-align:center;white-space:normal;
  --action-text:#170d2b;--action-icon:#170d2b;
  color:#170d2b;background:#b39afa;border-color:#c4b0fc;
}
body.auth-page .auth-card .registration-next .primary:is(:hover,:focus-visible) {
  color:#170d2b;background:#d6c5ff;border-color:#d6c5ff;
}
body.auth-page .auth-card .registration-next .quiet-link:is(:hover,:focus-visible) {
  color:#f6efff;background:#32244a;border-color:#9d82cc;
}
body.auth-page .skip-link:not(:focus) { clip-path:inset(50%); }
body.auth-page .registration-next:focus-visible { outline:2px solid var(--ob-violet);outline-offset:3px; }
body.auth-page .auth-card > span { color: var(--ob-pale); }
body.auth-page .auth-card .auth-preference-row small { color: var(--ob-muted); }
body.auth-page .auth-card .remember-login input { accent-color: var(--ob-violet); }
body :is(.auth-card,.owner-auth-card,.owner-dialog) .form-status { color: var(--ob-pale) !important; }
body :is(.auth-card,.owner-auth-card,.owner-dialog) .form-status[data-state="error"] { color: #ffc6d4 !important; }
body.auth-page .auth-card :is(.auth-code-actions,.auth-secondary) .quiet-link {
  --action-text: var(--ob-pale);
  --action-icon: var(--ob-pale);
  color: var(--ob-pale);
  border-color: #675383;
  background: #21182e;
  margin: 0;
}
body.auth-page .auth-card .auth-code-actions .quiet-link { flex: 1 1 135px; }
body.auth-page .auth-card :is(.auth-code-actions,.auth-secondary) .quiet-link:not(:disabled):is(:hover,:focus-visible) {
  --action-text: var(--ob-text);
  --action-icon: var(--ob-text);
  color: var(--ob-text);
  border-color: #9d82cc;
  background: #32244a;
}
body.auth-page .auth-card .auth-code-actions .quiet-link:disabled {
  opacity: 1;
  color: var(--ob-muted);
  border-color: #4a3d5c;
  background: var(--ob-panel);
}
body.auth-page .auth-card :is(input,select) {
  border-color: #5a4a72;
  background: #110d1b;
  color: var(--ob-text);
}
body.auth-page .auth-card .password-toggle {
  --action-text: var(--ob-text);
  --action-icon: var(--ob-pale);
  color: var(--ob-text);
  background: var(--ob-raised);
}
body.auth-page .auth-card .password-toggle:not(:disabled):is(:hover,:focus-visible) {
  color: var(--ob-text);
  background: #302443;
}
body.auth-page .auth-card form > button[type="submit"] {
  --action-text: #170d2b;
  --action-icon: #170d2b;
  color: #170d2b;
  background: #a98af0;
  border-color: #a98af0;
}
body.auth-page .auth-card form > button[type="submit"]:not(:disabled):is(:hover,:focus-visible) {
  color: #170d2b;
  background: #d6c5ff;
  border-color: #d6c5ff;
}
body :is(.xp-support-notes,.xp-support-topics) summary,
body :is(.xp-support-notes,.xp-support-topics) summary:hover { color: var(--ob-text); }
body .legal-shell { min-inline-size: 0; }
body .legal-shell :is(h1,h2,p,li,a) { overflow-wrap: anywhere; }
body .legal-shell :is(.document-toolbar,.legal-document-header) { flex-wrap: wrap; }
@media (max-width: 380px) {
  body .legal-shell h1 { font-size: clamp(26px,8vw,34px); }
  body .legal-shell .document-sections { padding-inline: 14px; }
}

/* Primary link text keeps the same readable contrast through all interaction states. */
body a.primary:not(.danger):is(:hover,:focus-visible):not([aria-disabled="true"]) {
  color: #170d2b !important;
  background: #d6c5ff;
  border-color: #d6c5ff;
}
body a.primary:not(.danger):is(:hover,:focus-visible):not([aria-disabled="true"]) > span {
  color: #170d2b !important;
}

/* State feedback follows the control surface, with a separate keyboard ring. */
body :is(.site-header,.auth-card,.account-shell,.vpn-shell,.pricing-shell,.downloads-shell,
    .guide-shell,.legal-shell,.owner-workspace,.owner-dialog,.owner-auth)
    :is(button,.primary,.secondary,.header-action,.polish-button,.downloads-download,.guide-toc a):focus-visible {
  outline: 2px solid var(--ob-lime);
  outline-offset: 3px;
}
body .guide-shell .guide-sections > section a.text-link.polish-button,
body :is(.guide-shell,.legal-shell,.vpn-pricing-note,.pricing-note) a.polish-button {
  color: var(--ob-pale);
  border-color: #695584;
  background: #21182e;
  --action-text: var(--ob-pale);
  --action-icon: var(--ob-pale);
}
body .guide-shell .guide-sections > section a.text-link.polish-button:is(:hover,:focus-visible),
body :is(.guide-shell,.legal-shell,.vpn-pricing-note,.pricing-note) a.polish-button:is(:hover,:focus-visible) {
  color: var(--ob-text);
  border-color: #9d82cc;
  background: #32244a;
  --action-text: var(--ob-text);
  --action-icon: var(--ob-text);
}
@media (prefers-reduced-motion: no-preference) {
  body :is(.site-header,.auth-card,.account-shell,.vpn-shell,.pricing-shell,.downloads-shell,
      .guide-shell,.legal-shell,.owner-workspace,.owner-dialog,.owner-auth)
      :is(button:not(.danger),.primary,.secondary,.header-action,.polish-button,.downloads-download,.guide-toc a) {
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, translate 140ms ease;
  }
  body :is(.site-header,.auth-card,.account-shell,.vpn-shell,.pricing-shell,.downloads-shell,
      .guide-shell,.legal-shell,.owner-workspace,.owner-dialog,.owner-auth)
      :is(button:not(.danger),.primary,.secondary,.header-action,.polish-button,.downloads-download,.guide-toc a):where(:not(:disabled):not([aria-disabled="true"])):active { translate: 0 1px; }
}
@media (forced-colors: active) {
  body :is(.site-header,.auth-card,.account-shell,.vpn-shell,.pricing-shell,.downloads-shell,
      .guide-shell,.legal-shell,.owner-workspace,.owner-dialog,.owner-auth)
      :is(button,.primary,.secondary,.header-action,.polish-button,.downloads-download,.guide-toc a):focus-visible { outline-color: Highlight; }
}

/* Help and installation */
body :is(.help-center,.install-guide) {
  display: grid;
  gap: clamp(20px, 4.5vw, 54px);
  padding-block: clamp(24px, 5vw, 65px);
}
.help-back { justify-self: start; }
.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(235px, 1fr);
  align-items: center;
  gap: clamp(18px, 5vw, 68px);
  padding: clamp(22px, 5.5vw, 74px);
  border: 1px solid #594774;
  border-radius: 23px;
  background: radial-gradient(ellipse at 98% 12%, #38264e, transparent 67%), #171321;
}
.help-hero h1 {
  margin: 0;
  max-inline-size: 15ch;
  color: var(--ob-text);
  font: 730 clamp(39px, 6.8vw, 97px)/1.01 var(--display);
  letter-spacing: -.068em;
}
.help-hero h1 em { display: block; color: var(--ob-pale); font-style: normal; }
.help-hero p { max-inline-size: 52ch; margin: 18px 0 0; color: var(--ob-muted); line-height: 1.65; }
.help-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }
.help-actions > a { min-inline-size: 0; white-space: normal; text-wrap: pretty; }
body :is(.help-center,.install-guide) .help-actions a.primary {
  --action-text: #170d2b;
  --action-icon: #170d2b;
  color: #170d2b;
  background: var(--ob-violet);
  border-color: var(--ob-violet);
}
body :is(.help-center,.install-guide) .help-actions a.primary:is(:hover,:focus-visible) {
  background: var(--ob-pale);
  border-color: var(--ob-pale);
}
.help-contact {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(16px, 3.1vw, 34px);
  border: 1px solid #655185;
  border-radius: 18px;
  background: #21182e;
}
.help-contact :is(h2,p) { margin: 0; }
.help-contact h2 { color: var(--ob-text); font: 650 clamp(21px, 2.8vw, 30px)/1.14 var(--display); }
.help-contact p { font-size: .875rem; }
.help-icon, .install-emblem {
  display: grid;
  flex: none;
  place-content: center;
  place-items: center;
  inline-size: 41px;
  block-size: 41px;
  border: 1px solid #6c548f;
  border-radius: 11px;
  background: #322449;
  color: var(--ob-pale);
}
.help-icon .ui-icon { inline-size: 20px; block-size: 20px; }
body :is(.help-center,.install-guide) section > h2 { margin: 0 0 18px; color: var(--ob-text); }
.help-topics, .install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.help-topics a, .install-steps li {
  position: relative;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 8px;
  min-inline-size: 0;
  padding: clamp(16px, 2.8vw, 28px);
  border: 1px solid #483859;
  border-radius: 16px;
  background: var(--ob-panel);
  color: var(--ob-text);
}
.help-topics a strong, .install-steps h3 { color: var(--ob-text); font: 630 clamp(17px, 2vw, 22px)/1.24 var(--display); }
.help-topics a > span:last-child, .install-steps p { color: var(--ob-muted); font-size: .875rem; line-height: 1.6; }
.help-topics a:is(:hover,:focus-visible) { border-color: #a78bdf; background: #271d36; box-shadow: inset 0 1px #c4abff35; }
.help-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.help-footer-links a, .help-answers p a { color: var(--ob-pale); text-decoration: underline; text-underline-offset: .22em; }
.help-answers { display: grid; gap: 9px; }
body .help-answers details { padding: 14px 17px; border: 1px solid #483859; border-radius: 12px; background: var(--ob-panel); }
body .help-answers details[open] { border-color: #785fa5; }
body .help-answers summary { padding: 4px; color: var(--ob-text); cursor: pointer; }
body .help-answers summary:hover { color: var(--ob-pale); }
body .help-answers p { padding: 6px 4px 2px; margin: 0; color: var(--ob-muted); }
.install-platform-mark { display: grid; justify-items: center; gap: 12px; text-align: center; }
.install-platform-mark strong { color: var(--ob-text); font: 670 clamp(21px, 3vw, 37px)/1.1 var(--display); }
.install-platform-mark > span:last-child { color: var(--ob-muted); font-size: .875rem; }
.install-emblem { inline-size: clamp(70px, 13vw, 152px); block-size: auto; aspect-ratio: 1; border-radius: 23%; box-shadow: inset 0 1px #c4abff60, 0 20px 55px #100a245e; }
.install-emblem .ui-icon { inline-size: clamp(34px, 7vw, 73px); block-size: auto; }
.install-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; counter-reset: install; }
.install-steps li { gap: 11px; counter-increment: install; }
.install-steps li::before {
  content: counter(install);
  display: grid;
  place-items: center;
  inline-size: 32px;
  block-size: 32px;
  border: 1px solid #8065ad;
  border-radius: 9px;
  background: #37264f;
  color: var(--ob-pale);
  font: 650 .875rem/1 var(--data);
}
.install-steps :is(h3,p) { margin: 0; }
.install-safety {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px 16px;
  padding: 17px;
  margin-block-start: 16px;
  border: 1px solid #5a4778;
  border-radius: 14px;
  background: #20172d;
  color: var(--ob-text);
}
.install-safety p { margin: 3px 0 0; color: var(--ob-muted); }
body :is(.help-center,.install-guide) a.polish-button,
body .guide-shell .document-toolbar a.polish-button {
  --action-text: var(--ob-pale);
  --action-icon: var(--ob-pale);
  color: var(--ob-pale);
  background: #21182f;
  border-color: #70588b;
}
body :is(.help-center,.install-guide) a.polish-button:is(:hover,:focus-visible),
body .guide-shell .document-toolbar a.polish-button:is(:hover,:focus-visible) {
  --action-text: var(--ob-text);
  color: var(--ob-text);
  background: #32244a;
  border-color: #a588d6;
}
body .guide-shell :is(.document-toolbar,.guide-sections) a.polish-button {
  min-block-size: 50px;
  gap: 13px;
  padding-inline: 18px;
  box-shadow: inset 0 1px #c4abff21;
}
body .guide-shell :is(.document-toolbar,.guide-sections) a.polish-button:focus-visible { outline-offset: 4px; }

/* Account controls and the selected items they operate on */
body.account-app {
  --workspace: var(--ob-base);
  --workspace-card: var(--ob-panel);
  --workspace-line: var(--ob-edge);
  --workspace-muted: var(--ob-muted);
  background: radial-gradient(ellipse at 88% 0, #2b1f4050, transparent 55%), var(--ob-base);
}
body.account-app :is(.account-content,.account-scroll,.account-nav) { color: var(--ob-text); }
body.account-app .account-gate {
  box-sizing:border-box;isolation:isolate;position:relative;overflow:hidden;
  width:min(460px,calc(100% - 32px));margin:clamp(32px,9vh,90px) auto;
  padding:clamp(23px,6vw,38px);border:1px solid #665184;border-radius:23px;
  background:radial-gradient(ellipse at 50% 0,#3a2659 0,transparent 62%),linear-gradient(160deg,#1e172f,#12101c);
  box-shadow:0 20px 60px #07050c8c;text-align:center;color:var(--ob-text);
}
body.account-app .account-gate::before {
  content:"";position:absolute;inset:0 12% auto;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#bd9dff,transparent);
}
body.account-app .account-gate-brand {
  display:grid;place-items:center;width:65px;height:65px;margin:0 auto 21px;
  border:1px solid #8869bd;border-radius:20px;background:#2d2044;color:#c0a6ff;
  box-shadow:0 0 34px #ab80f532;
}
body.account-app .account-gate h2 {
  margin:0 0 15px;font:650 clamp(24px,6vw,34px)/1.14 var(--display);letter-spacing:-.04em;
}
body.account-app .account-gate-status {
  display:flex;align-items:center;justify-content:center;gap:11px;min-height:36px;
}
body.account-app .account-gate p { margin:0;color:var(--ob-pale);font-size:14px;line-height:1.55; }
body.account-app .account-gate-indicator {
  width:12px;height:12px;flex:0 0 12px;border:2px solid #695491;
  border-top-color:#d4bcff;border-radius:50%;
}
body.account-app .account-gate[data-state="error"] .account-gate-indicator { border-color:#ffb1c1;background:#ffb1c1; }
body.account-app .account-gate-actions { display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:23px 0 0; }
body.account-app .account-gate-actions :is(a,button) {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 18px;
  border:1px solid #987dd1;border-radius:12px;font-weight:660;text-decoration:none;color:#f7f3ff;background:#2b2042;
}
body.account-app .account-gate-actions button[hidden] { display:none; }
body.account-app .account-gate-actions .account-gate-login { color:#190f2b;background:#bca4ff;--action-icon:#2a1949; }
body.account-app .account-gate-actions .account-gate-login:is(:hover,:focus-visible) { background:#d6c5ff;color:#190f2b; }
body.account-app .account-gate-actions button:is(:hover,:focus-visible) { background:#432e64;color:#fff;--action-icon:#e5d8ff; }
@media (prefers-reduced-motion:no-preference) {
  body.account-app .account-gate { animation:account-gate-enter 360ms cubic-bezier(.2,.75,.3,1) both; }
  body.account-app .account-gate:not([data-state="error"]) .account-gate-indicator { animation:account-gate-spin 850ms linear infinite; }
  body.account-app .account-gate-actions :is(a,button) { transition:background 160ms,color 160ms,border-color 160ms,transform 160ms; }
  body.account-app .account-gate-actions :is(a,button):hover { transform:translateY(-2px); }
}
@keyframes account-gate-enter { from { opacity:0;transform:translateY(8px); } to { opacity:1;transform:translateY(0); } }
@keyframes account-gate-spin { to { transform:rotate(1turn); } }
body.account-app :is(.account-nav,.account-metric,.account-next,.account-panel,.subscription-current,.wallet-order,.account-section-intro) {
  background: var(--ob-panel);
  border-color: var(--ob-edge);
  color: var(--ob-text);
}
body.account-app .account-next { background: radial-gradient(ellipse at 90% 15%, #332547, transparent 64%), var(--ob-panel); }
body.account-app :is(.account-note,.account-footnote,.account-nav-help,.account-danger-action) {
  background: #21182e;
  border: 1px solid #534169;
  color: var(--ob-text);
  border-radius: 13px;
  padding: 13px;
}
body.account-app :is(.account-panel,.account-content,.account-nav) :is(p,small,.panel-caption,.field-help,.account-updated) { color: var(--ob-muted); }
body.account-app :is(.account-content,.account-nav) :is(h1,h2,h3,strong,label) { color: var(--ob-text); }
body.account-app .account-nav a[data-account-link] { color: var(--ob-pale); }
body.account-app .account-nav a[data-account-link][aria-current="page"] {
  background: #2c2042;
  border-color: #8064af;
  color: var(--ob-text);
  box-shadow: inset 3px 0 var(--ob-violet);
}
body.account-app :is(.account-content,.account-nav) :is(.secondary,.quiet-link,.row-action,button):not(.primary):not(.money-button):not([type="submit"]):not(.danger) {
  --action-text: var(--ob-pale);
  color: var(--ob-pale);
  border-color: #695484;
  background: #221930;
}
body.account-app :is(.account-content,.account-nav) :is(.secondary,.quiet-link,.row-action,button):not(.primary):not(.money-button):not([type="submit"]):not(.danger):not(:disabled):is(:hover,:focus-visible) {
  --action-text: var(--ob-text);
  color: var(--ob-text);
  border-color: #a085c9;
  background: #312346;
}
body.account-app .account-content :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]) {
  color: var(--ob-text);
  border-color: #75628f;
  background: #14101e;
}
body.account-app .account-content :is(input,select,textarea):focus-visible { outline-color: var(--ob-lime); }
body.account-app :is(.account-content,.account-nav) {
  border-color: var(--ob-edge);
  --action-icon: var(--ob-pale);
}
body.account-app :is(.account-steps li,.account-list-panel .empty-state,.money-panel,.wallet-history-section,.wallet-rows .empty-state,.device-row,.account-disclosure,.purchase-canvas,.wallet-tabs,.payment-method-options) {
  background: var(--ob-panel);
  border-color: var(--ob-edge);
  color: var(--ob-text);
}
body.account-app :is(.section-emblem,.record-icon,.payment-method-symbol,.account-steps li > span,.wallet-guide li > span,.topup-heading .payment-trust,#ended-sessions-count) {
  color: var(--ob-pale);
  background: #28203b;
  border-color: #584771;
  box-shadow: none;
}
body.account-app :is(.section-emblem,.record-icon,.devices-panel .empty-state) .ui-icon,
body.account-app .account-nav a[data-account-link] .ui-icon { color: var(--ob-violet); }
body.account-app :is(.account-heading .eyebrow,.account-email-state,.account-metric a,.account-panel header > span,.data-row span,.record-meta,.wallet-status,.wallet-workspace .eyebrow,.wallet-caution,.wallet-plan-options legend,.wallet-history-heading > span,.section-intro-with-icon .eyebrow,.subscription-current .eyebrow,.payment-credit > span,.payment-method-arrow,.account-disclosure > summary::after) {
  color: var(--ob-muted);
}
body.account-app :is(.account-steps b,.data-row > b,.wallet-row,.account-disclosure > summary,#wallet-plan-description,#subscription-content strong,#subscription-content b) { color: var(--ob-text); }
body.account-app :is(#subscription-content p,#wallet-content .wallet-disclaimer a) { color: var(--ob-muted); }
body.account-app .account-nav a[data-account-link]:is(:hover,:focus-visible) { background: #2c2042; border-color: #8064af; }
body.account-app .account-next .eyebrow,
body.account-app .account-access-term a { color: var(--ob-pale); }
body.account-app .account-next-mark { border-color: #a78bfa42; background: radial-gradient(circle, #7151a535, transparent 72%); }
body.account-app .wallet-summary { border-color: #625184; background: radial-gradient(ellipse at 85% 0, #3a2856, transparent 78%), var(--ob-panel); }
body.account-app .topup-action,
body.account-app .wallet-caution { border-color: var(--ob-edge); }
body.account-app .payment-method-option { color: var(--ob-text); }
body.account-app .payment-method-option:is(:hover,[data-active="true"],[aria-selected="true"]) { background: #302245; }
body.account-app .account-content :is(.wallet-tabs button[aria-selected="true"],.wallet-presets button[aria-pressed="true"],.wallet-periods button[aria-pressed="true"],.wallet-devices button[aria-pressed="true"],.payment-method-picker[aria-expanded="true"]) {
  --action-text: var(--ob-text);
  color: var(--ob-text);
  background: #36274d;
  border-color: #a085c9;
  box-shadow: inset 0 -2px var(--ob-violet);
}
body.account-app .account-content :is(a,button,summary):focus-visible { outline-color: var(--ob-lime); }
body.account-app .account-slot-meter span { background: #493c5e; }
body.account-app .account-slot-meter .occupied { background: var(--ob-violet); }
body.account-app :is(.payment-method-check,#topup-status[data-state="success"],#account-plan-state[data-state="active"]) { color: var(--ob-lime); }
body.account-app :is(.data-row,.session-row) .record-state { background: #2c2439; color: var(--ob-pale); }
body.account-app :is(.data-row,.session-row) .record-state[data-state="active"] { background: #26351e; color: #dbf995; }
body.account-app :is(#account-plan-state[data-state="expiring"],.data-row .record-state[data-state="pending"]) { color: #ffcf9f; }
body.account-app .data-row .record-state[data-state="pending"] { background: #392820; }
body.account-app :is(.page-status,.wallet-status)[data-state="error"] { background: #352030; border-color: #835768; color: #ffd1df; }
body.account-app .account-refresh-group .wallet-status[data-state="error"] { color: #ffbdcf; }
body.account-app :is(#refresh-account,.account-nav-help a) {
  --action-text: var(--ob-pale);
  --action-icon: var(--ob-pale);
  color: var(--ob-pale);
  background: #221930;
  border-color: #695484;
}
body.account-app :is(#refresh-account,.account-nav-help a):not(:disabled):is(:hover,:focus-visible) {
  --action-text: var(--ob-text);
  color: var(--ob-text);
  background: #312346;
  border-color: #a085c9;
}
body.account-app .account-content :is(.secondary,.row-action,.quiet-link) .ui-icon { color: var(--ob-pale); }
body.account-app .account-content :is(.account-next .primary,.money-button) {
  --action-text: #151021;
  --action-icon: #251638;
  --action-sheen: #f0ddff62;
  color: #151021;
  background: #ae96fa;
  border-color: #c4b0fc;
  box-shadow: inset 0 1px #e8dbff7a;
}
body.account-app .account-content :is(.account-next .primary,.money-button):not(:disabled):is(:hover,:focus-visible) {
  color: #151021;
  background: #cfbcff;
  border-color: #e2d1ff;
}
body.account-app .purchase-summary { border-color: var(--ob-edge); }
body.account-app :is(.purchase-summary > span,.amount-input > span,.account-nav-note) { color: var(--ob-muted); }
body.account-app .account-scroll { scrollbar-color: #75628f transparent; }
body.account-app #logout-all { --action-text: #ffcfdb; --action-icon: #ffb7cb; background: #392133; color: #ffcfdb; border-color: #9d6179; }
body.account-app #logout-all:is(:hover,:focus-visible) { --action-text: #fff0f5; background: #572d46; color: #fff0f5; border-color: #d18fa8; }
body.account-app .security-grid { align-items: start; }
body.account-app .sessions-panel .account-danger-action {
  display: grid;
  gap: 9px;
  margin-block-start: 16px;
  padding: clamp(13px,2vw,19px);
  border-color: #755d8c;
  background: linear-gradient(140deg,#2c203b,#20182c);
}
body.account-app #account-danger-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #f6eeff;
  font-size: 16px;
}
body.account-app #account-danger-title > span { color: #d9bfff; }
body.account-app .sessions-panel .account-danger-action p {
  margin: 0;
  color: #e3d9ee;
  font-size: 13px;
}
body.account-app .sessions-panel #logout-all {
  width: auto;
  margin: 2px 0 0;
  justify-self: start;
  gap: 10px;
}
body.account-app .account-session-controls #logout:not(:disabled):is(:hover,:focus-visible) {
  --action-text: #fff0f2;
  --action-icon: #ffadb9;
  color: #fff0f2;
  border-color: #c57a89;
  background: #482635;
}
@media (prefers-reduced-motion: no-preference) {
  body.account-app .account-session-controls #logout {
    transition: background .16s ease, border-color .16s ease, color .16s ease;
  }
}
body.owner-page .owner-account-deletion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  margin-block-start: 16px;
  border: 1px solid #835768;
  border-radius: 13px;
  background: #2c1b2a;
}
body.owner-page .owner-account-deletion h3 { margin: 0 0 4px; color: #ffe7f0; }
body.owner-page .owner-account-deletion p { margin: 0; color: #e5bccc; }
body.owner-page :is(.owner-workspace,.owner-dialog,.owner-auth) button.danger {
  color: #ffcad8;
  background: #392133;
  border-color: #9d6179;
}
body.owner-page :is(.owner-workspace,.owner-dialog,.owner-auth) button.danger:not(:disabled):is(:hover,:focus-visible) {
  color: #fff0f5;
  background: #572d46;
  border-color: #d18fa8;
}
body.owner-page :is(.owner-workspace,.owner-dialog) :is(.segmented button[aria-pressed=true],.account-tabs button[aria-selected=true]) {
  color: var(--ob-text);
  background: #35274d;
  border-color: #9373c8;
  box-shadow: inset 0 -2px var(--ob-violet);
}
body.owner-page :is(.owner-workspace,.owner-dialog,.owner-auth) button:not(:disabled):is(:hover,:focus-visible) {
  box-shadow: inset 0 1px #d8bfff55, 0 5px 15px #10091d78;
}
body.owner-page .owner-workspace :is(.account-heading,.account-summary > article,.account-record,.account-note) {
  border-color: var(--ob-edge);
  background: var(--ob-panel);
}
/* Confirmations and owner forms share one dialog surface. */
body .mynet-dialog:is(.action-dialog, .owner-dialog) {
  --dialog-gutter: clamp(16px, 4vw, 26px);
  --dialog-line: #463653;
  --dialog-control: #292034;
  --dialog-control-edge: #806a95;
  --action-icon: var(--ob-pale);
  color-scheme: dark;
  color: var(--ob-text);
  width: min(520px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid #6f5687;
  border-radius: 20px;
  background: linear-gradient(150deg, #292038, var(--ob-panel) 66%);
  box-shadow: 0 22px 68px #080611a6;
  scrollbar-color: #80689a transparent;
}
body .mynet-dialog.owner-dialog { width: min(660px, calc(100% - 24px)); }
body .mynet-dialog:is(.action-dialog, .owner-dialog)::backdrop {
  background: #0b0813bc;
  backdrop-filter: none;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) .mynet-dialog-head {
  display: grid;
  grid-template: "context context" auto "title close" auto / minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  padding: var(--dialog-gutter) var(--dialog-gutter) 18px;
  border: 0;
  border-bottom: 1px solid var(--dialog-line);
  background: none;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) .mynet-dialog-head > .eyebrow {
  grid-area: context;
  padding: 0;
  color: var(--ob-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .09em;
}
body .mynet-dialog .mynet-dialog-title {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) .mynet-dialog-title > h2 {
  margin: 0;
  font: 620 clamp(19px, 4vw, 27px)/1.2 var(--display);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
body .mynet-dialog .mynet-dialog-mark {
  display: grid;
  flex: 0 0 42px;
  block-size: 42px;
  place-items: center;
  color: var(--ob-pale);
  border: 1px solid #684e82;
  border-radius: 12px;
  background: #382951;
}
body .mynet-dialog .mynet-dialog-mark > .ui-icon {
  width: 22px;
  height: 22px;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) .mynet-dialog-head .dialog-close {
  grid-area: close;
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
}
body .mynet-dialog .dialog-close .ui-icon { width: 18px; height: 18px; }
body .mynet-dialog.action-dialog > #action-dialog-description {
  padding: 18px var(--dialog-gutter) 22px;
  color: var(--ob-text);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
}
body .mynet-dialog.owner-dialog .dialog-content {
  padding: 18px var(--dialog-gutter) 22px;
  scrollbar-color: #80689a transparent;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) .dialog-actions {
  gap: 10px;
  margin: 0;
  padding: 14px var(--dialog-gutter);
  border-color: var(--dialog-line);
  background: #191423;
}
body .mynet-dialog.owner-dialog .dialog-actions { flex-wrap: wrap; }
/* The shared button sweep would extend the dialog's scrollable width. */
body .mynet-dialog:is(.action-dialog, .owner-dialog) button::before { content: none; }
body .mynet-dialog:is(.action-dialog, .owner-dialog) .dialog-actions button {
  min-height: 44px;
  padding: 9px 13px;
  line-height: 1.4;
  white-space: normal;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) :is(.dialog-close, .dialog-actions button:not(.primary, .dialog-accept, .danger)) {
  color: var(--ob-text);
  background: var(--dialog-control);
  border: 1px solid var(--dialog-control-edge);
  border-radius: 10px;
  box-shadow: none;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) :is(.dialog-close, .dialog-actions button:not(.primary, .dialog-accept, .danger)):not(:disabled):hover {
  color: var(--ob-text);
  background: #3e2d52;
  border-color: #a686cd;
}
body .mynet-dialog.action-dialog .dialog-accept {
  --action-icon: currentColor;
  color: var(--ob-base);
  background: var(--ob-violet);
  border-color: var(--ob-violet);
  box-shadow: none;
}
body .mynet-dialog.action-dialog .dialog-accept:hover {
  color: var(--ob-base);
  background: var(--ob-pale);
  border-color: var(--ob-pale);
}
body .mynet-dialog.action-dialog .dialog-accept.danger {
  color: #ffcad8;
  background: #392133;
  border-color: #9d6179;
}
body .mynet-dialog.action-dialog .dialog-accept.danger:hover {
  color: #fff0f5;
  background: #572d46;
  border-color: #d18fa8;
}
body .mynet-dialog:is(.action-dialog, .owner-dialog) :is(button, a):focus-visible {
  outline: 2px solid var(--ob-lime);
  outline-offset: 3px;
}
body .mynet-dialog.owner-dialog :is(input:not([type="checkbox"], [type="radio"]), select, textarea) {
  color: var(--ob-text);
  background: #130f1c;
  border-color: var(--dialog-control-edge);
}
body .mynet-dialog.owner-dialog :is(input:not([type="checkbox"], [type="radio"]), select, textarea):focus {
  border-color: var(--ob-violet);
  box-shadow: 0 0 0 3px #a78bfa32;
}
body .mynet-dialog.owner-dialog :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--ob-violet); }
body .mynet-dialog.owner-dialog :is(.decision-option, .promotion-fields, .price-change) {
  border-color: var(--dialog-control-edge);
  background: var(--dialog-control);
}
body .mynet-dialog.owner-dialog .decision-option:has(input:checked) {
  border-color: var(--ob-violet);
  background: #36284b;
}
@media (max-width: 540px) {
  body .mynet-dialog.owner-dialog .dialog-actions button { flex: 1 1 auto; min-width: 0; }
}
/* Refinement suppresses older panel animation globally. The current dialog
   uses a shorter entrance and respects the system motion preference. */
@media (prefers-reduced-motion: no-preference) {
  body .mynet-dialog:is(.action-dialog, .owner-dialog)[open]:not([data-motion-state="closing"]) {
    animation: mynet-dialog-enter 200ms cubic-bezier(.2,.75,.3,1) !important;
  }
  body .mynet-dialog:is(.action-dialog, .owner-dialog)[open]:not([data-motion-state="closing"])::backdrop {
    animation: mynet-dialog-veil 200ms ease-out !important;
  }
}
@keyframes mynet-dialog-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes mynet-dialog-veil { from { opacity: 0; } to { opacity: 1; } }
@media (forced-colors: active) {
  body .mynet-dialog:is(.action-dialog, .owner-dialog) :is(button, a, input, select, textarea):focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

/* Scroll progress and return to the top */
body button.scrollorb {
  color: var(--ob-pale);
  background: radial-gradient(circle at 48% 16%, #3e2d57, #191223 72%);
  border-color: #755c9e;
  box-shadow: 0 7px 24px #09061090, inset 0 1px #ab8fe360;
}
body .scrollorb-ring .scrollorb-track {
  stroke: #674e89;
  stroke-width: 1px;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  filter: none;
}
body .scrollorb-ring .scrollorb-progress { stroke: var(--ob-lime); stroke-width: 2px; filter: drop-shadow(0 0 3px #d6fb6570); }
body .scrollorb-plane { inline-size: 22px; block-size: 22px; margin-block-start: -9px; fill: currentColor; stroke: none; }
body .scrollorb-value { color: var(--ob-text); font-weight: 650; font-size: 10px; }
body button.scrollorb:is(:hover,:focus-visible) { color: var(--ob-text); border-color: #b899f0; }
body button.scrollorb:focus-visible { outline-color: var(--ob-lime); }

@media (prefers-reduced-motion: no-preference) {
  body :is(.help-center,.install-guide) :is(a.primary,a.polish-button,.help-topics a),
  body :is(.account-content,.account-nav,.owner-workspace,.owner-dialog,.owner-auth) :is(button,a.secondary,a[data-account-link]),
  body .guide-shell a.polish-button, body button.scrollorb {
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, translate 140ms ease;
  }
  body :is(.help-center,.install-guide) :is(a.primary,a.polish-button,.help-topics a):active,
  body :is(.account-content,.account-nav,.owner-workspace,.owner-dialog,.owner-auth) :is(button,a.secondary,a[data-account-link]):not(:disabled):active {
    translate: 0 1px;
  }
  body .scrollorb-plane { transition: translate 170ms ease; }
  body button.scrollorb:is(:hover,:focus-visible) .scrollorb-plane { translate: 0 -2px; }
}
@media (max-width: 780px) {
  .help-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .help-topics,.install-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .install-platform-mark { grid-template-columns: auto minmax(0,1fr); justify-items: start; align-items: center; gap: 4px 14px; text-align: start; }
  .install-emblem { grid-row: span 2; inline-size: 55px; }
}
@media (max-width: 520px) {
  .help-hero { padding: 19px; border-radius: 15px; }
  .help-actions > a { flex: 1 1 165px; }
  .help-topics,.install-steps { grid-template-columns: minmax(0,1fr); }
  .install-safety { grid-template-columns: auto minmax(0,1fr); }
  .install-safety a { grid-column: 2; justify-self: start; }
  body .scrollorb-value { font-size: 9px; }
}

/* Plan selection and checkout share a consistent rhythm across the public site and account. */
body :is(.pricing-shell,.vpn-plans) .plan-toolbar {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:center;
  gap:clamp(12px,3vw,32px);padding:clamp(12px,2.4vw,24px);background:#1b1527;border-color:#433651;
}
body :is(.pricing-shell,.vpn-plans) .plan-switch {
  padding:0;gap:8px;background:transparent;
}
:is(body.account-app, body .pricing-shell, body .vpn-plans) button.plan-choice {
  display:grid;grid-template-rows:auto auto;place-content:center;justify-items:center;
  gap:4px;min-width:0;min-height:82px;padding:9px 4px;text-align:center;
  border:1px solid #54466e;border-radius:12px;background:#20192d;color:#f3edfc;
  box-shadow:none;white-space:normal;
}
:is(body.account-app, body .pricing-shell, body .vpn-plans) button.plan-choice[aria-pressed="true"] {
  color:#f7f2ff;border-color:#aa91f9;background:linear-gradient(145deg,#403260,#28203b);
  box-shadow:inset 0 -3px #a98afa;
}
:is(body.account-app, body .pricing-shell, body .vpn-plans) button.plan-choice:not(:disabled):hover {
  color:#fff;border-color:#c2acff;background:#35274b;
}
:is(body.account-app, body .pricing-shell, body .vpn-plans) button.plan-choice:focus-visible { outline-color:#c2acff; }
:is(body.account-app, body .pricing-shell, body .vpn-plans) .plan-choice-number {
  font:650 clamp(23px,3vw,32px)/1 var(--display);letter-spacing:-.045em;color:inherit;
}
:is(body.account-app, body .pricing-shell, body .vpn-plans) .plan-choice-unit {
  font:530 11px/1.2 var(--display);letter-spacing:0;color:#d5c9e7;overflow-wrap:anywhere;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card {
  display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:0;
  padding:23px;gap:0;background:linear-gradient(160deg,#21192f,#181322);
  border-color:#554469;box-shadow:none;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-popular {
  background:radial-gradient(ellipse at 100% 0,#7859bc42,transparent 65%),#241b36;border-color:#9e80de;
}
body :is(.pricing-shell,.vpn-plans) .plan-period { margin:16px 0 0; }
body :is(.pricing-shell,.vpn-plans) .plan-period :is(h2,h3) {
  font-size:clamp(25px,3vw,35px);color:#f5f0ff;overflow-wrap:anywhere;
}
body :is(.pricing-shell,.vpn-plans) .plan-card > .plan-price {
  margin-top:8px;color:#f8f3ff;overflow-wrap:anywhere;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 8px;
  margin-top: auto;
  text-align: start;
  background: linear-gradient(135deg,#392951,#261e36) !important;
  color: #f8f2ff !important;
  border-color: #796397;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a > svg {
  position: static;
  inline-size: 18px;
  block-size: 18px;
  flex: 0 0 18px;
  color: inherit;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-popular > a {
  background: linear-gradient(130deg,#dfcdff,#ab90f0) !important;
  color: #1c1332 !important;
  border-color: #c2acff;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a:is(:hover,:focus-visible) {
  background: #4b3666 !important;
  border-color: #c2acff;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-popular > a:is(:hover,:focus-visible) {
  background: #e4d4ff !important;
}
.plan-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.plan-heading > :is(svg,span) {
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  justify-content: center;
  inline-size: 25px;
  block-size: 25px;
  color: var(--ob-pale);
}
.plan-heading > span .ui-icon {
  position: static;
  margin: 0;
  transform: none;
}
body :is(.pricing-shell,.vpn-plans) .plan-heading :is(h2,h3) { margin: 0; }
body.account-app .wallet-purchase { align-items:stretch; }
body.account-app :is(.wallet-plan-options,.wallet-order) {
  min-width:0;border:1px solid #4b3c60;border-radius:16px;padding:clamp(14px,2vw,22px);
  background:linear-gradient(153deg,#221b31,#171222);color:#efe8fb;
}
body.account-app .wallet-order { display:flex;flex-direction:column; }
body.account-app .wallet-order :is(.field-help,#wallet-plan-description),
body.account-app .wallet-plan-options :is(legend,.field-help) { color:#d3c6e6; }
body.account-app .wallet-order .purchase-summary strong { color:#f7f0ff; }

body.account-app .wallet-order :is(.eyebrow,.purchase-summary > span,.wallet-order-line > span) { color:#cdbfe4; }
body.account-app .wallet-order .purchase-summary { border-color:#493b60; }
body.account-app .wallet-order #wallet-purchase-status { color:#d3c6e6!important; }
body.account-app .wallet-order #wallet-purchase-status[data-state="shortfall"] { color:#ff9aa9!important; }
body.account-app .wallet-order .wallet-add-funds,
body.account-app .wallet-topup-panel .money-button {
  color:#191127;background:#c2acff;border:1px solid #c2acff;
  --action-text:#191127;--action-icon:#291d3d;--action-edge:#c2acff;--action-bg:#c2acff;
}
body.account-app .wallet-order .wallet-add-funds { margin-top:14px;min-height:48px;font-size:13px; }
body.account-app .wallet-order .wallet-add-funds:hover,
body.account-app .wallet-topup-panel .money-button:hover:not(:disabled) {
  color:#191127;background:#d8c6ff;border-color:#e5d8ff;
}
body.account-app .wallet-order :is(.wallet-add-funds,button)[hidden] { display:none; }
body.account-app .wallet-topup-panel {
  background:#1b1528;border-color:#514368;color:#f3edfc;
  --action-sheen:#f7eaff30;
}
body.account-app .wallet-topup-panel :is(h2,label) { color:#f5efff; }
body.account-app .wallet-topup-panel :is(.field-help,.form-status) { color:#d2c4e4!important;overflow-wrap:anywhere; }
body.account-app .wallet-topup-panel .form-status[data-state="error"] { color:#ffadb6!important; }
body.account-app .wallet-topup-panel .form-status[data-state="success"] { color:#c4ed9c!important; }
body.account-app .wallet-topup-panel .topup-heading { flex-wrap:wrap; }
body.account-app .wallet-topup-panel .payment-trust { color:#ddf5bc;background:#2b3325;border-color:#525f41; }
body.account-app .wallet-workspace .wallet-topup-panel .amount-input input,
body.account-app .wallet-topup-panel :is(.payment-method-picker,.payment-method-options,.payment-method-option),
body.account-app .wallet-topup-panel .wallet-presets button {
  background:#21192e;color:#f1e9fb;border-color:#665482;
  --action-bg:#21192e;--action-text:#f1e9fb;--action-edge:#665482;
}
body.account-app .wallet-topup-panel .amount-input > span { color:#d0bbee; }
body.account-app .wallet-topup-panel .payment-method-option > :is(span,small) { color:inherit; }
body.account-app .wallet-topup-panel .wallet-presets button[aria-pressed="true"],
body.account-app .wallet-topup-panel :is(.payment-method-picker,.payment-method-option):hover:not(:disabled) {
  background:#392b51;color:#f8f3ff;border-color:#ae93f5;
}
body.account-app .wallet-topup-panel .wallet-presets {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
}
body.account-app .wallet-topup-panel .wallet-presets button { min-width:0;padding-inline:3px;white-space:normal; }
body.account-app .checkout-controls { display:grid;align-content:center;gap:8px;min-width:0; }
body.account-app .checkout-controls .field-help { margin:0;color:#cbbddd; }
body.account-app .payment-review { min-height:44px;justify-self:start;margin-top:2px; }
body.account-app .payment-review-status { margin:0;font-size:12px;line-height:1.5; }
body.account-app .payment-review-status:empty { display:none; }
@media(max-width:700px) {
  body :is(.pricing-shell,.vpn-plans) .plan-toolbar { grid-template-columns:minmax(0,1fr);min-height:0; }
}
@media(max-width:420px) {
  :is(body.account-app, body .pricing-shell, body .vpn-plans) button.plan-choice { min-height:68px; }
}

/* Payment review in the owner workspace keeps filters, search and paging on one baseline. */
body.owner-page #view-topups .table-toolbar { align-items:center;gap:14px;flex-wrap:wrap; }
body.owner-page #view-topups .segmented { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:4px; }
body.owner-page #view-topups .search-form {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;min-width:0;
}
body.owner-page #view-topups .search-form input { min-width:0;min-height:44px; }
body.owner-page #view-topups :is(.segmented button,.search-form button,.table-footer button) {
  min-height:44px;border-radius:10px;color:#f0eafa;background:#241d32;border-color:#594969;
}
body.owner-page #view-topups :is(.segmented button[aria-pressed="true"],.search-form button) {
  color:#191127;background:#c3acfb;border-color:#c3acfb;
}
body.owner-page #view-topups :is(.table-toolbar,.table-footer) button:not(:disabled):hover {
  color:#190f2c;background:#dccaff;border-color:#e6d9ff;box-shadow:0 6px 18px #a287e23d;
}
body.owner-page #view-topups :is(button,input):focus-visible { outline:2px solid #c8afff;outline-offset:3px; }
body.owner-page #view-topups .owner-section-intro p { color:#d6cde4;line-height:1.55; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  body.owner-page #view-topups :is(.table-toolbar,.table-footer) button { transition:background-color 170ms,border-color 170ms,color 170ms,box-shadow 170ms,transform 170ms; }
  body.owner-page #view-topups :is(.table-toolbar,.table-footer) button:not(:disabled):hover { transform:translateY(-1px); }
  body.owner-page #view-topups :is(.table-toolbar,.table-footer) button:not(:disabled):active { transform:translateY(0); }
}
@media(max-width:720px) {
  body.owner-page #view-topups .search-form { width:100%; }
  body.owner-page #view-topups .segmented > button { min-width:0;white-space:normal;overflow-wrap:anywhere; }
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  body.account-app :is(.wallet-topup-panel,.wallet-purchase) :is(.plan-choice,.money-button,.wallet-add-funds) {
    transition:background-color 170ms,border-color 170ms,color 170ms,box-shadow 170ms,transform 170ms;
  }
  body.account-app :is(.wallet-topup-panel,.wallet-purchase) :is(.plan-choice,.money-button,.wallet-add-funds):not(:disabled):hover {
    transform:translateY(-1px);box-shadow:0 6px 18px #b49af138;
  }
  body.account-app :is(.wallet-topup-panel,.wallet-purchase) :is(.plan-choice,.money-button,.wallet-add-funds):not(:disabled):active { transform:translateY(0); }
}

@media(max-width:720px) {
  body.owner-page #owner-topup-list { overflow-x:visible; }
  body.owner-page #owner-topup-list :is(table,tbody) { display:block;min-width:0;width:100%; }
  body.owner-page #owner-topup-list thead {
    position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;
  }
  body.owner-page #owner-topup-list tbody tr {
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;
    grid-template-areas:"reference amount" "account account" "status action";
    align-items:center;padding:14px 16px;border-bottom:1px solid var(--ob-edge);
  }
  body.owner-page #owner-topup-list tbody tr:last-child { border-bottom:0; }
  body.owner-page #owner-topup-list tbody td { min-width:0;padding:0;border:0;overflow-wrap:anywhere; }
  body.owner-page #owner-topup-list tbody td:nth-child(1) { grid-area:reference; }
  body.owner-page #owner-topup-list tbody td:nth-child(2) { grid-area:account;color:var(--ob-muted); }
  body.owner-page #owner-topup-list tbody td:nth-child(3) { grid-area:amount;text-align:right;white-space:nowrap; }
  body.owner-page #owner-topup-list tbody td:nth-child(4) { grid-area:status; }
  body.owner-page #owner-topup-list tbody td:nth-child(5) { grid-area:action;justify-self:end; }
  body.owner-page #owner-topup-list tbody td .badge { white-space:normal; }
  body.owner-page #owner-topup-list tbody td button { min-height:40px;padding-inline:8px; }
}

body.account-app .wallet-topup-panel,
body.account-app .purchase-canvas {
  background:linear-gradient(117deg,#282038 0%,#191422 56%,#13111c 100%);
  border-color:#413451;
}
body.account-app .wallet-topup-panel #topup-form {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  grid-template-areas:"fields guide" "action agreements";
  gap:12px clamp(24px,4vw,52px);
  margin:0;
  align-items:start;
}
body.account-app .topup-layout .topup-fields { grid-area:fields;min-width:0;grid-template-columns:minmax(0,1fr);gap:8px; }
body.account-app .topup-balance {
  display:grid;gap:5px;padding-bottom:14px;border-bottom:1px solid #413551;
}
body.account-app .topup-balance #wallet-balance {
  font:700 clamp(28px,3vw,36px)/1.2 var(--display);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
body.account-app .topup-layout :is(h2,h3) {
  margin:12px 0 10px;font:650 17px/1.35 var(--display);letter-spacing:0;color:var(--ob-text);
}
body.account-app .topup-layout #topup-method-label { margin-top:10px; }
body.account-app .topup-layout .wallet-guide {
  grid-area:guide;min-width:0;padding:0;position:relative;
}
body.account-app .topup-layout .wallet-guide::before {
  content:"";position:absolute;left:calc(-.5 * clamp(24px,4vw,52px));top:10px;bottom:0;width:1px;background:#413551;
}
body.account-app .topup-layout .wallet-guide h3 { margin-top:0; }
body.account-app .topup-layout .wallet-guide ol { gap:16px; }
body.account-app .topup-layout .wallet-guide li { display:block; }
body.account-app .topup-layout .wallet-guide li b { color:#c4aaff;font-size:13px; }
body.account-app .topup-layout :is(.wallet-guide li p,.wallet-caution) { color:#d3c6e6;font-size:12px; }
body.account-app .topup-layout .wallet-caution { display:block;margin:14px 0 0;border-bottom:0;padding-bottom:0; }
body.account-app .topup-layout .wallet-caution a { color:#cdb4ff; }
body.account-app .topup-layout .checkout-controls { grid-area:action; }
body.account-app .topup-layout .wallet-agreements { grid-area:agreements;display:grid;gap:8px;min-width:0; }
body.account-app .topup-layout :is(.wallet-agreements a,.checkout-controls .money-button) {
  min-height:44px;margin:0;padding:10px 12px;justify-content:center;text-align:center;white-space:normal;
  font:600 13px/1.25 var(--display);
}
body.account-app .topup-layout .wallet-agreements a {
  background:#241d32;border-color:#5f4d79;color:#e7dcf7;
}
body.account-app .topup-layout .wallet-agreements a:hover { background:#382b4e;border-color:#ab8bed;color:#fff; }
body.account-app .topup-layout .wallet-agreements a:focus-visible { outline-offset:-4px; }
body.account-app .wallet-topup-panel .payment-method-symbol {
  background:transparent!important;border:0;border-radius:0;box-shadow:none;
}

body.account-app .subscription-current {
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.05fr);
  padding:16px;margin:0 0 16px;gap:18px;background:#1e182a;border-color:#423551;
}
body.account-app .subscription-current :is(.subscription-terms,.subscription-funds) {
  min-width:0;padding-left:16px;border-left:1px solid #413551;
}
body.account-app .subscription-current dl { margin:0;min-width:0; }
body.account-app .subscription-current :is(.subscription-terms,.subscription-funds) {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:10px;
}
body.account-app .subscription-current .subscription-funds { grid-template-columns:minmax(0,1fr) auto; }
body.account-app .subscription-current dt { color:#d0c2e1;font-size:11px;margin:0 0 4px; }
body.account-app .subscription-current dd {
  color:var(--ob-text);font-size:18px;line-height:1.25;font-weight:650;margin:0;overflow-wrap:anywhere;
}
body.account-app .subscription-current #subscription-content {
  display:grid;min-width:0;gap:2px;margin:0;
}
body.account-app .subscription-current #subscription-content strong { display:flex;align-items:center;gap:7px;font-size:15px; }
body.account-app .subscription-current #subscription-content strong.state-good { color:#d1eea3; }
body.account-app .subscription-current #subscription-content .ui-icon { flex:0 0 18px;height:18px; }
body.account-app .subscription-current .secondary { width:auto;padding-inline:12px;white-space:nowrap; }
body.account-app .wallet-plan-options fieldset { margin:0 0 14px; }
body.account-app .wallet-plan-options fieldset:first-of-type { border-bottom:1px solid #413551;padding-bottom:14px; }
body.account-app .wallet-plan-options legend { font:650 15px/1.25 var(--display); }
body.account-app :is(.wallet-plan-options legend,.wallet-selection dt) .ui-icon {
  width:17px;height:17px;vertical-align:text-bottom;margin-right:7px;color:#b89bfd;
}
body.account-app .wallet-selection { margin:7px 0 0; }
body.account-app .wallet-selection div { display:flex;justify-content:space-between;gap:6px;margin-bottom:4px; }
body.account-app .wallet-selection :is(dt,dd) { margin:0;font-size:12px;color:var(--ob-muted); }
body.account-app .wallet-selection dd { color:var(--ob-text);font-weight:650;text-align:right; }
body.account-app .wallet-order .purchase-summary #wallet-plan-description {
  margin:4px 0 0;font:400 11px/1.45 var(--display);
}
body.account-app .wallet-order #wallet-after-purchase[data-state="shortfall"] { color:#ff9aa9; }

@media(max-width:1100px) {
  body.account-app .subscription-current { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px; }
  body.account-app .subscription-current .subscription-funds {
    grid-column:1 / -1;border-left:0;border-top:1px solid #413551;padding:10px 0 0;
  }
}
@media(max-width:760px) {
  body.account-app .wallet-topup-panel #topup-form {
    grid-template-columns:minmax(0,1fr);grid-template-areas:"fields" "action" "guide" "agreements";gap:12px;
  }
  body.account-app .topup-layout .wallet-guide { border-top:1px solid #413551;padding-top:12px;margin-top:3px; }
  body.account-app .topup-layout .wallet-guide::before { display:none; }
  body.account-app .subscription-current {
    grid-template-columns:minmax(0,1fr);
  }
  body.account-app .subscription-current .subscription-terms {
    border-left:0;border-top:1px solid #413551;padding:10px 0 0;
  }
}
body :is(.vpn-plans,.pricing-shell) .plan-card .plan-corner-tag {
  background:linear-gradient(112deg,#bda8ff 0%,#ddcbff 56%,#e0f5b5 100%);
  border:1px solid #eee3fb;color:#231632;font-weight:700;
  box-shadow:0 4px 16px #a688ef42;
}


html:has(body.account-app .account-shell:not([hidden])) { height: auto; overflow: auto; }
body.account-app:has(.account-shell:not([hidden])) { height: auto; min-height: 100dvh; overflow: visible; }
body.account-app .account-shell {
  flex: none;
  grid-template-rows: auto;
  gap: 0;
  border: 1px solid #554464;
  border-radius: 20px;
  background: #15111e;
}
body.account-app .account-shell > .account-nav {
  height: auto;
  min-width: 0;
  overflow: visible;
  padding: 20px 13px;
  border: 0;
  border-inline-end: 1px solid #554464;
  border-radius: 19px 0 0 19px;
  background: #1b1527;
}
body.account-app .account-shell .account-content {
  height: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
body.account-app .account-shell .account-scroll {
  flex: none;
  height: auto;
  overflow: visible;
  overscroll-behavior: auto;
}
@media (max-width: 900px) {
  body.account-app .account-shell { grid-template-rows: auto auto; }
  body.account-app .account-shell > .account-nav {
    padding: 12px;
    border-inline-end: 0;
    border-block-end: 1px solid #554464;
    border-radius: 19px 19px 0 0;
  }
  body.account-app .account-nav nav { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  body.account-app .account-nav nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
}


body.account-app .billing-nav { display:none; }
body.account-app[data-account-section]:is([data-account-section="subscription"],[data-account-section="wallet"],[data-account-section="payments"]) .billing-nav {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  inline-size: min(100%,27rem);
  padding: 14px clamp(12px,2.3vw,28px);
}
body.account-app .account-heading { height:auto; }
body.account-app .account-content .billing-nav a {
  min-width: 0;
  min-height: 44px;
  padding: 8px 5px;
  font-size: 13px;
  justify-content: center;
}
body.account-app .account-content .billing-nav a[aria-current="page"] {
  background:linear-gradient(117deg,#382951,#21192e);
  box-shadow:inset 0 -2px #a485ed;
}
body.account-app .account-content .section-intro-with-icon {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
  gap:16px clamp(12px,2vw,24px);padding:clamp(16px,2.5vw,28px);
  border:1px solid var(--ob-edge);border-radius:18px;
  background:radial-gradient(ellipse at 5% 0,#3a2955 0,transparent 64%),var(--ob-panel);
}
body.account-app .account-content .section-intro-with-icon h2 {
  margin:0 0 5px;font-size:clamp(21px,2.55vw,30px);line-height:1.18;
}
body.account-app .account-content .section-intro-with-icon .eyebrow {
  display:block;margin-bottom:6px;
}
body.account-app .account-content .section-intro-with-icon > .secondary {
  justify-self:start;margin:0;min-height:44px;white-space:normal;
}
@media (max-width:680px) {
  body.account-app .account-content .section-intro-with-icon {
    grid-template-columns:auto minmax(0,1fr);align-items:start;
  }
  body.account-app .account-content .section-intro-with-icon > .secondary {
    grid-column:1 / -1;
  }
}
body.account-app .wallet-purchase .wallet-order .wallet-add-funds,
body.account-app .wallet-topup-panel #topup-form .money-button:not(:disabled) {
  background:#b39afa;color:#180f2b;
}
body.account-app .wallet-purchase .wallet-order .wallet-add-funds:hover,
body.account-app .wallet-topup-panel #topup-form .money-button:not(:disabled):hover {
  background:#d3bfff;color:#180f2b;
}
body.account-app .wallet-topup-panel #topup-form .money-button:disabled {
  background:#231b31;color:#bfb1d1;opacity:1;
}

/* Draw the diagonal edges inside the clipped outline at the same thickness. */
:is(body.account-app .wallet-purchase,body.account-app .wallet-topup-panel,body.account-app .billing-nav,body.account-app .subscription-current)
  :is(.subscription-funds .secondary,.plan-choice,.money-button,.wallet-add-funds,.plan-card > a,.wallet-agreements a,.wallet-presets button,[data-billing-link]) {
  --facet-edge:#6e598b;
  position:relative;border:1px solid var(--facet-edge);border-radius:0;
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
}
:is(body.account-app .wallet-purchase,body.account-app .wallet-topup-panel,body.account-app .billing-nav,body.account-app .subscription-current)
  :is(.subscription-funds .secondary,.plan-choice,.money-button,.wallet-add-funds,.plan-card > a,.wallet-agreements a,.wallet-presets button,[data-billing-link])::after {
  content:"";position:absolute;inset:-1px;pointer-events:none;
  background:
    linear-gradient(45deg,transparent 6px,var(--facet-edge) 6px 7.5px,transparent 7.5px) left bottom / 10px 10px no-repeat,
    linear-gradient(225deg,transparent 6px,var(--facet-edge) 6px 7.5px,transparent 7.5px) right top / 10px 10px no-repeat;
}
body.account-app :is(.wallet-purchase,.wallet-topup-panel,.billing-nav)
  :is(.plan-choice,.wallet-presets button,[data-billing-link]):is([aria-pressed="true"],[aria-current="page"]) {
  --facet-edge:#aa8be9;border-color:var(--facet-edge);
}
body.account-app :is(.wallet-purchase,.wallet-topup-panel) :is(.money-button:not(:disabled),.wallet-add-funds) {
  --facet-edge:#c2acff;border-color:var(--facet-edge);
}
:is(body.account-app .wallet-purchase,body.account-app .wallet-topup-panel,body.account-app .billing-nav,body.account-app .subscription-current)
  :is(.subscription-funds .secondary,.plan-choice,.money-button,.wallet-add-funds,.plan-card > a,.wallet-agreements a,.wallet-presets button,[data-billing-link]):focus-visible {
  --facet-edge:#d9efab;border-color:var(--facet-edge);outline:2px solid var(--facet-edge);outline-offset:-4px;
}

.security-shell {
  display: grid;
  gap: clamp(14px,2vw,24px);
  padding-block-start: clamp(20px,4vw,48px);
}
.security-shell .security-back {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-self: start;
  gap: 8px;
  min-height: 44px;
  padding-inline: 5px;
  color: #ded2f4;
  font-weight: 620;
  text-decoration-thickness: 1px;
  text-underline-offset: .27em;
}
.security-back .ui-icon { position: static; margin: 0; width: 17px; height: 17px; }
.security-shell .security-back:is(:hover,:focus-visible) { color: #fff; }
.security-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(138px,21vw,250px);
  align-items: center;
  gap: clamp(20px,4vw,64px);
  padding: clamp(20px,4.4vw,56px);
  border: 1px solid #63507b;
  border-radius: 24px;
  background: radial-gradient(ellipse at 85% 48%,#382751,transparent 56%),#21182f;
}
.security-shell .security-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: #f4f1ff;
  font: 690 clamp(35px,5vw,58px)/1.06 var(--display);
  letter-spacing: -.046em;
  text-wrap: balance;
}
.security-shell :is(.security-hero p,.security-detail p) {
  color: #eee7fa;
  font-size: clamp(16px,1.35vw,18px);
  font-weight: 450;
  line-height: 1.64;
}
.security-shell .security-hero p { max-width: 60ch; margin: 18px 0 0; }
.security-hero-emblem {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 20px #0b08145c);
}
.security-shell .security-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(12px,1.7vw,20px);
}
.security-detail {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: clamp(17px,2.6vw,32px);
  border: 1px solid #514266;
  border-radius: 19px;
  background: linear-gradient(142deg,#241b33,#1a1525 80%);
}
.security-card-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.security-card-heading > span {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #e0ccff;
  border: 1px solid #736095;
  border-radius: 12px;
  background: #352649;
}
.security-card-heading .ui-icon { position: static; margin: 0; width: 21px; height: 21px; }
.security-shell .security-card-heading h2 {
  margin: 0;
  color: #fbf8ff;
  font: 660 clamp(17px,2.1vw,24px)/1.24 var(--display);
  overflow-wrap: anywhere;
}
.security-shell .security-detail p { margin: 0; }
.security-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.security-shell .security-actions a {
  min-height: 46px;
  text-align: start;
  white-space: normal;
}
.security-hero .security-actions { margin-block-start: 24px; }
.security-related { padding-block-start: 14px; border-block-start: 1px solid #514266; }
@media (max-width: 680px) {
  .security-hero,.security-shell .security-grid { grid-template-columns: minmax(0,1fr); }
  .security-hero-emblem { display: none; }
}
@media (max-width: 450px) {
  .security-hero .security-actions { display: grid; }
}

.help-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.help-card-heading .help-icon {
  inline-size: 38px;
  block-size: 38px;
  justify-content: center;
}
body .help-card-heading .help-icon > .ui-icon { position: static; margin: 0; transform: none; }
body .help-center .help-topics > a { gap: 13px; }
body .help-center .help-footer-links {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--ob-edge);
  border-radius: 18px;
  background: #171321;
}
body .help-center .help-footer-links > a {
  justify-content: flex-start;
  gap: 9px;
  min-height: 48px;
  min-width: 0;
  white-space: normal;
  color: var(--ob-text);
  border-color: #594674;
  background: #251c34;
}
body .help-center .help-footer-links > a:is(:hover,:focus-visible) {
  color: #fff;
  border-color: var(--ob-violet);
  background: #382751;
}
body .help-center .help-footer-links .ui-icon {
  position: static;
  order: -1;
  margin: 0;
  flex: 0 0 18px;
  color: var(--ob-pale);
}
@media (max-width: 900px) {
  body .help-center .help-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 470px) {
  body .help-center .help-footer-links { grid-template-columns: minmax(0,1fr); }
}

/* Quiet public actions retain readable contrast and communicate hover by depth and tone. */
body:not(.account-app,.owner-page,.auth-page)
  :is(.editorial-shell,.site-header,.vpn-shell,.experience-shell)
  :is(.polish-button:not(.primary),.secondary:not(.danger),.header-action,#status-refresh):where(:not(:disabled):not([aria-disabled="true"])) {
  --action-text: #f0e8ff;
  --action-icon: #d2baff;
  color: #f0e8ff;
  border-color: #655181;
  background: linear-gradient(137deg,#2c2141,#1b1628 76%);
}
body:not(.account-app,.owner-page,.auth-page)
  :is(.editorial-shell,.site-header,.vpn-shell,.experience-shell)
  :is(.polish-button:not(.primary),.secondary:not(.danger),.header-action,#status-refresh):where(:not(:disabled):not([aria-disabled="true"])):is(:hover,:focus-visible) {
  --action-icon: #f0e7ff;
  color: #fff;
  border-color: #a48adf;
  background: linear-gradient(137deg,#433060,#2b2140 76%);
  box-shadow: inset 0 1px 0 #ead8ff25;
}
body :is(.editorial-shell,.experience-shell) :is(.polish-button,.secondary,#status-refresh):focus-visible {
  outline: 2px solid var(--ob-lime);
  outline-offset: 3px;
}
body .security-shell .security-actions a.primary {
  --action-text: #1a1030;
  --action-icon: #1a1030;
  color: #1a1030;
  border-color: #bc9dff;
  background: linear-gradient(130deg,#d9c6ff,#a891f4);
}
body .security-shell .security-actions a.primary:is(:hover,:focus-visible) {
  background: #e0d1ff;
  border-color: #e0d1ff;
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.account-app,.owner-page,.auth-page)
    :is(.editorial-shell,.site-header,.vpn-shell,.experience-shell)
    :is(.polish-button,.secondary,.header-action,#status-refresh) {
    transition: color .16s ease, border-color .16s ease, box-shadow .16s ease, translate .16s ease;
  }
  body:not(.account-app,.owner-page,.auth-page)
    :is(.editorial-shell,.site-header,.vpn-shell,.experience-shell)
    :is(.polish-button,.secondary,.header-action,#status-refresh):where(:not(:disabled):not([aria-disabled="true"])):active {
    translate: 0 1px;
  }
}


/* The navigation and selected workspace share a surface. */
body.account-app .account-shell {
  --workspace-gutter: clamp(16px, 3vw, 36px);
  margin-block: clamp(14px, 3vh, 32px);
  border-color: var(--ob-edge);
  background: var(--ob-panel);
}
body.account-app .account-shell > .account-nav {
  background: #181324;
  border-color: var(--ob-edge);
}
body.account-app .account-shell .account-heading { padding: 20px var(--workspace-gutter); }
body.account-app .account-shell .account-scroll { padding: 0 var(--workspace-gutter) var(--workspace-gutter); }
body.account-app[data-account-section]:is([data-account-section="subscription"],[data-account-section="wallet"],[data-account-section="payments"]) .billing-nav {
  inline-size: min(100%, 29rem);
  padding: 16px var(--workspace-gutter) 20px;
}
body.account-app .account-view > :is(.account-panel,.account-metrics,.account-next,.wallet-workspace,.section-intro-with-icon),
body.account-app .account-view :is(.wallet-topup-panel,.subscription-current,.wallet-purchase,.wallet-plan-options,.wallet-order,.security-grid>.account-panel) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.account-app .account-view > :is(.account-metrics,.account-next,.section-intro-with-icon),
body.account-app .account-view :is(.subscription-current,.wallet-history-heading,.wallet-history-section,.wallet-topup-panel,.wallet-purchase,.security-grid) {
  margin: 0;
  padding: 20px 0;
  border-block-end: 1px solid var(--ob-edge);
}
body.account-app .account-view .account-next {
  padding-inline: 0;
  column-gap: 26px;
}
body.account-app .account-metrics {
  gap: 0;
  align-items: stretch;
}
body.account-app .account-metrics > .account-metric {
  padding: 0 clamp(12px, 2vw, 24px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
body.account-app .account-metrics > .account-metric:first-child { padding-inline-start: 0; }
body.account-app .account-metrics > .account-metric + .account-metric { border-inline-start: 1px solid var(--ob-edge); }
body.account-app .account-view .account-panel { padding: 18px 0; }
body.account-app .account-view .section-intro-with-icon { padding-inline: 0; }
body.account-app .account-view .security-grid { gap: clamp(18px, 3vw, 32px); }
body.account-app .account-view .security-grid > .account-panel { padding: 0; }
body.account-app .account-view .security-grid > .password-panel {
  border-inline-start: 1px solid var(--ob-edge);
  padding-inline-start: clamp(18px, 3vw, 32px);
}
body.account-app .account-view .sessions-panel .account-danger-action {
  border: 0;
  border-radius: 0;
  border-block-start: 1px solid #775263;
  background: transparent;
  padding: 14px 0;
}
body.account-app .account-view .wallet-plan-options { padding: 0; }
body.account-app .account-view .wallet-order {
  padding: 0 0 0 clamp(16px, 3vw, 30px);
  border-inline-start: 1px solid var(--ob-edge);
}
body.account-app .account-nav .account-nav-help,
body.account-app .account-view :is(.account-footnote,.account-note) {
  border: 0;
  border-block-start: 1px solid var(--ob-edge);
  border-radius: 0;
  background: transparent;
}
body.account-app .account-view :is(.account-footnote,.account-note) { padding-inline: 0; }
body.account-app :is(.panel-loading,.empty-state,.field-help,.wallet-disclaimer,.account-footnote) { color: #c9bddc; }

body.owner-page .owner-workspace {
  --workspace-gutter: clamp(16px, 3vw, 44px);
  background: var(--ob-panel);
}
body.owner-page .owner-workspace :is(.owner-main,.owner-content) { background: transparent; min-inline-size: 0; }
body.owner-page .owner-workspace .owner-content { padding-inline: var(--workspace-gutter); }
body.owner-page .owner-workspace .owner-sidebar {
  background: #171222;
  box-shadow: none;
}
body.owner-page .owner-workspace .owner-topbar { padding-inline: var(--workspace-gutter); }
body.owner-page .owner-workspace :is(.owner-view .surface,.owner-section-intro,.owner-metrics .metric,.resource-card) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.owner-page .owner-workspace :is(.overview-grid,.owner-metrics,.resource-summary,.owner-view > .surface) {
  min-inline-size: 0;
  border-block: 1px solid var(--ob-edge);
}
body.owner-page .owner-workspace :is(.overview-grid,.owner-metrics,.resource-summary) { gap: 0; }
body.owner-page .owner-workspace :is(.overview-grid,.owner-metrics,.resource-summary) > * + * { border-inline-start: 1px solid var(--ob-edge); }
body.owner-page .owner-workspace .surface-heading { border-color: var(--ob-edge); }
body.owner-page .owner-workspace .owner-nav button { min-block-size: 44px; }
body.owner-page .owner-workspace .owner-nav button[aria-current="page"] {
  color: #f5efff;
  background: #322548;
  border-color: #6c548f;
  box-shadow: inset 3px 0 #b69afa;
}
body.owner-page .owner-workspace :is(.table-footer,.node-row,.preview-row,.matrix-hint) { border-color: var(--ob-edge); }
body.owner-page .owner-workspace :is(.quiet,.workspace-caption,.page-heading p,.preview-row small,.metric small) { color: #c9bddc; }
body.owner-page .owner-workspace .owner-quick-actions { margin-block: 18px; }
body.owner-page .owner-workspace .owner-metrics > .empty-state {
  grid-column: 1 / -1;
  padding: 30px 16px;
}

@media (max-width: 1200px) {
  body.owner-page .owner-workspace .overview-grid > * + * {
    border-inline-start: 0;
    border-block-start: 1px solid var(--ob-edge);
  }
  body.owner-page .owner-workspace .owner-metrics .metric:nth-child(odd) { border-inline-start: 0; }
  body.owner-page .owner-workspace .owner-metrics .metric:nth-child(n+3) { border-block-start: 1px solid var(--ob-edge); }
}
@media (max-width: 680px) {
  body.account-app .account-view :is(.security-grid>.password-panel,.wallet-order) {
    border-inline-start: 0;
    border-block-start: 1px solid var(--ob-edge);
    padding: 16px 0 0;
  }
  body.account-app .account-metrics { grid-template-columns: minmax(0, 1fr); }
  body.account-app .account-metrics > .account-metric { padding: 15px 0; }
  body.account-app .account-metrics > .account-metric + .account-metric {
    border-inline-start: 0;
    border-block-start: 1px solid var(--ob-edge);
  }
  body.owner-page .owner-workspace .page-heading { flex-wrap: wrap; }
  body.owner-page .owner-workspace .resource-card:nth-child(odd) { border-inline-start: 0; }
  body.owner-page .owner-workspace .resource-card:nth-child(n+3) { border-block-start: 1px solid var(--ob-edge); }
}

body.account-app {
  --account-width: min(1424px, calc(100% - clamp(20px, 4vw, 48px)));
}
body.account-app > :is(.site-header,.account-shell) {
  inline-size: var(--account-width);
  max-inline-size: none;
  margin-inline: auto;
}
@media (min-width: 901px) and (min-height: 420px) {
  html:has(body.account-app .account-shell:not([hidden])) { height: 100%; overflow: hidden; scrollbar-gutter: auto; }
  body.account-app:has(.account-shell:not([hidden])) { height: 100dvh; min-height: 0; overflow: hidden; }
  body.account-app .account-shell { flex: 1; grid-template-rows: minmax(0,1fr); }
  body.account-app > .site-header { position: relative; top: auto; }
  body.account-app .account-shell > .account-nav { height: 100%; overflow: auto; overscroll-behavior: contain; }
  body.account-app .account-shell .account-content { position: relative; height: 100%; overflow: hidden; }
  body.account-app .account-shell .account-scroll {
    position: relative;
    flex: 1;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
}
body.account-app .account-scroll:focus-visible { outline-color: var(--ob-violet); }
body.account-app .account-overview-card {
  --overview-inset: clamp(14px, 2.5vw, 30px);
  margin-block-start: 16px;
  padding-inline: var(--overview-inset);
  border: 1px solid #433554;
  border-radius: 18px;
  background: radial-gradient(ellipse at 100% 100%, #382950, transparent 58%), #1a1426;
}
body.account-app .account-overview-card .account-metrics {
  margin: 0;
  padding-block: clamp(16px, 2.2vw, 26px);
}
body.account-app .account-overview-card .account-next {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px clamp(16px, 3vw, 36px);
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 2.7vw, 32px) 0;
  border: 0;
  border-block-start: 1px solid #564366;
  border-radius: 0;
  background: transparent;
}
body.account-app .account-overview-card .account-next h2 { color: #faf5ff; }
body.account-app .account-overview-card .account-next p { color: #ded1ec; }
body.account-app .account-overview-card .account-next .account-access-term {
  inline-size: min(21vw, 14rem);
  padding: 6px 0 6px clamp(14px, 2.3vw, 28px);
  border: 0;
  border-inline-start: 1px solid #645078;
  border-radius: 0;
  background: transparent;
}
body.account-app .account-overview-card .account-access-term > span { color: #d7c5ea; }
body.account-app .account-overview-card .account-access-term strong { margin: 8px 0 4px; }
body.account-app .account-overview-card .account-access-term a { margin-block-start: 6px; padding: 0; border: 0; }
body.account-app .account-overview-card:has(#account-plan-state[data-state="expiring"]) .account-access-term a { display: none; }
body.account-app .account-overview-card .account-next-mark { inline-size: 164px; }
body.account-app .account-view .purchase-canvas .subscription-current {
  margin-block: 16px 0;
  padding: clamp(15px, 2vw, 24px);
  border: 0;
  border-block: 1px solid #594670;
  border-inline-start: 3px solid #9e80d0;
  border-radius: 0;
  background: radial-gradient(ellipse at 0 0,#7b5ba539,transparent 67%),#20182d;
}
body.account-app .account-view .purchase-canvas .wallet-purchase {
  align-items: stretch;
  padding-block: clamp(22px, 3vw, 32px);
}
body.account-app .purchase-canvas .wallet-plan-options fieldset + fieldset {
  margin-block-start: 20px;
}
body.account-app .purchase-canvas .wallet-order-line { border-color: #58456c; }

body .experience-shell.xp-status {
  --xp-foreground: #f5eeff;
  --xp-muted: #d0c2df;
}
body[data-page="status"] .xp-status :is(.xp-info-lead,.xp-status-panel,.xp-status-context) {
  color: var(--xp-foreground);
  border: 1px solid #524065;
  background: linear-gradient(135deg,#241936,#181323 68%);
}
body[data-page="status"] .xp-status :is(h1,h2) { color: #f9f3ff; }
body[data-page="status"] .xp-info-symbol { background: #332546; color: #dfcaff; border: 1px solid #80639f; }
body[data-page="status"] .xp-status :is(.xp-info-lead,.xp-status-context) p { color: #d0c2df; }
body[data-page="status"] .xp-status .xp-status-panel {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 18px 26px;
}
body[data-page="status"] .xp-status-heading { display: flex; align-items: center; gap: 14px; }
body[data-page="status"] .xp-status .xp-status-heading h2 { margin: 0; font-size: clamp(19px, 2.7vw, 29px); }
body[data-page="status"] .status-emblem {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  block-size: 44px;
  color: #dfcaff;
  border: 1px solid #80639f;
  border-radius: 12px;
  background: #332546;
}
body[data-page="status"] .xp-status .xp-status-result {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-row: 2;
  min-height: 2.8em;
  font-size: clamp(15px, 1.8vw, 18px);
  color: #e7dbf6;
}
body[data-page="status"] .xp-status-result::before {
  content: "";
  flex: 0 0 8px;
  block-size: 8px;
  border-radius: 50%;
  background: #c3a5fa;
  box-shadow: 0 0 9px currentColor;
}
body[data-page="status"] .xp-status-result[data-state="online"] { color: #d7efa9; }
body[data-page="status"] .xp-status-result[data-state="unavailable"] { color: #ffc1d0; }
body[data-page="status"] .xp-status-result:is([data-state="online"],[data-state="unavailable"])::before { background: currentColor; }
body[data-page="status"] #status-refresh { grid-area: 1 / 2; justify-self: end; }
body[data-page="status"] #status-refresh:disabled { opacity: .82; cursor: progress; }
body[data-page="status"] .xp-status-context > a { color: #dbbdff; }
@media (max-width: 680px) {
  body.account-app .account-overview-card { margin-block-start: 10px; }
  body.account-app .account-overview-card .account-next { grid-template-columns: minmax(0,1fr); }
  body.account-app .account-overview-card .account-next .account-access-term {
    inline-size: 100%;
    padding: 16px 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid #564366;
  }
  body[data-page="status"] .xp-status .xp-status-panel { grid-template-columns: minmax(0,1fr); }
  body[data-page="status"] #status-refresh { grid-area: 3 / 1; justify-self: start; }
}

/* A continuous first screen and fixed anchors across workspace tabs. */
html:has(body[data-page="home"]) {
  background: #100e18;
  scrollbar-color: #635577 #100e18;
}
body[data-page="home"] {
  display: flow-root;
  min-block-size: 100svh;
  margin: 0;
  background: radial-gradient(ellipse 1080px 820px at 94% 0, #261a39, transparent), #100e18;
}
body[data-page="home"] .vpn-hero { background: transparent; }
body[data-page="home"] .vpn-hero canvas {
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  mask-image: linear-gradient(transparent, #000 18%, #000 88%, transparent);
}
body[data-page="home"] .vpn-hero-grid > * { min-inline-size: 0; }
body[data-page="home"] .vpn-engraving { aspect-ratio: 672 / 402; }

body.account-app .account-heading {
  min-block-size: var(--account-header-size, 94px);
  block-size: var(--account-header-size, 94px);
}
body.account-app .account-heading h1 {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.15;
}
body.account-app .account-scroll { scrollbar-gutter: stable; }
body.account-app .money-history .wallet-history-heading {
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 0 0 18px;
}
body.account-app .money-history .wallet-history-heading h2 { margin: 0; }
body.account-app .money-history .wallet-history-section {
  padding: 0;
  margin-block: 20px 0;
  border: 0;
  background: transparent;
}
body.account-app .money-history .wallet-history-section h3 {
  margin: 0 0 10px;
  font-size: 14px;
}
body.account-app .money-history .wallet-rows {
  border: 1px solid var(--ob-edge);
  border-radius: 14px;
  background: #1b1527;
}
body.account-app .money-history .payment-record {
  padding: 13px 16px;
  grid-template-columns: 36px minmax(0, 1fr) minmax(0, auto);
}
body.account-app .money-history .payment-record-icon { inline-size: 36px; block-size: 36px; }
body.account-app .money-history .payment-record-amount { min-inline-size: 0; }
body.account-app .money-history .payment-review-status:empty { display: none; }
body.account-app .money-history .wallet-rows .empty-state { border: 0; margin: 0; }
body.owner-page .owner-content > *, body.owner-page .account-heading-actions { min-inline-size: 0; }
body.owner-page .owner-account-deletion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid #633d58;
  border-inline-start: 3px solid #d992b5;
  border-radius: 12px;
  background: #251929;
}
body.owner-page .owner-account-deletion > div { flex: 1 1 220px; min-inline-size: 0; }
body.owner-page .owner-account-deletion h3 { margin: 0 0 5px; font-size: 15px; }
body.owner-page .owner-account-deletion p { margin: 0; line-height: 1.5; }
body.owner-page .owner-account-deletion button { min-block-size: 44px; }
@media (max-width: 520px) {
  body[data-page="home"] .vpn-orbit-art { inline-size: 100%; margin-inline: 0; }
  body[data-page="home"] .vpn-engraving .engraving-sweep { display: none; }
  body.account-app { --account-header-size: 112px; }
  body.account-app .money-history .payment-record { padding: 11px 9px; gap: 8px; grid-template-columns: 30px minmax(0, 1fr) minmax(0, auto); }
  body.account-app .money-history .payment-record-icon { inline-size: 30px; block-size: 30px; }
  body.account-app .money-history .payment-record .money-state { font-size: 10px; text-wrap: balance; }
  body.owner-page .owner-account-deletion button { inline-size: 100%; }
}
@media (max-width: 900px) and (max-height: 540px) {
  body.account-app { --account-header-size: 76px; }
}

/* Keep the shared masthead in the same viewport coordinates on public, auth
   and account pages. Their document scrollbars intentionally differ; centering
   in the remaining document width would move every navigation item on entry.
   The side clearance also leaves room for the native form-page scrollbar. */
body .site-header,
body.auth-page .site-header,
body.account-app > .site-header,
body.owner-page .site-header {
  width: min(1280px, calc(100vw - 48px));
  max-width: none;
  margin-inline: max(24px, calc((100vw - 1280px) / 2)) 0;
}
@media (max-width: 520px) {
  body .site-header,
  body.auth-page .site-header,
  body.account-app > .site-header,
  body.owner-page .site-header {
    width: calc(100vw - 40px);
    margin-inline: 20px 0;
    padding-inline: 10px;
    column-gap: 8px;
  }
  body .site-header .header-action,
  body.auth-page .site-header .header-action {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 13px;
    flex: none;
  }
}

/* One account entrance: a spacious canvas that follows the desktop viewport.
   This is a minimum, so validation, zoom and mobile keyboards can add height. */
body.auth-page { display: flow-root; }
body.auth-page .auth-shell {
  width: min(1280px, calc(100vw - 48px));
  min-height: min(860px, calc(100svh - 144px));
  margin: 24px 0 24px max(24px, calc((100vw - 1280px) / 2));
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--ob-edge);
  border-radius: 22px;
  background: var(--ob-panel);
  box-shadow: 0 20px 64px #00000018;
}
body.auth-page .auth-shell > :is(.auth-context,.auth-card) {
  min-width: 0;
  min-height: 0;
  padding: clamp(28px, 2.9vw, 46px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.auth-page .auth-shell > .auth-context {
  justify-content: flex-start;
  border-radius: 22px 0 0 22px;
  background: radial-gradient(ellipse at 60% 58%, #8d68d91c, transparent 66%), #14101e;
}
body.auth-page .auth-context .auth-context-title {
  margin: 20px 0 18px;
  font: 620 clamp(36px, 3.5vw, 56px)/1.08 var(--display);
  letter-spacing: -.05em;
  color: var(--ob-text);
}
body.auth-page .auth-context-title em { font-style: normal; color: var(--ob-pale); }
body.auth-page .auth-manifesto { max-width: 42ch; margin: 0; font-size: 16px; line-height: 1.6; color: var(--ob-muted); }
body.auth-page .auth-shell .auth-orbit {
  width: clamp(200px, 27svh, 280px);
  flex: none;
  margin: auto;
}
body.auth-page .auth-shell .auth-orbit > .obsidian-mark { width: clamp(100px, 13svh, 140px); }
body.auth-page .auth-features { margin: auto 0 0; padding-top: 16px; font-size: 14px; line-height: 1.5; gap: 10px; }
body.auth-page .auth-shell > .auth-card {
  justify-content: center;
  border-inline-start: 1px solid #65517e66;
  border-radius: 0 22px 22px 0;
  background: linear-gradient(145deg, #1b1526, var(--ob-panel));
}
body.auth-page .auth-card > h1 {
  margin: 12px 0 12px;
  font: 620 clamp(28px, 2.8vw, 38px)/1.15 var(--display);
  letter-spacing: -.04em;
}
body.auth-page .auth-shell > .auth-card > p:not(.auth-privacy) { min-height: 0; margin: 0 0 20px; font-size: 16px; line-height: 1.5; }
body.auth-page .auth-card form { gap: 18px; }
body.auth-page .auth-card .field { gap: 7px; }
body.auth-page .auth-card label { font-size: 14px; line-height: 1.4; }
body.auth-page .auth-card input:not([type="checkbox"]) { height: 52px; }
body.auth-page .auth-card form > button[type="submit"] { min-height: 52px; height: auto; margin-top: 4px; font-size: 14px; }
body.auth-page .auth-card .auth-preference-row { min-height: 44px; margin-block: 0; }
body.auth-page .auth-card .auth-preference-row b { font-size: 14px; }
body.auth-page .auth-card .auth-preference-row small { font-size: 13px; line-height: 1.4; }
body.auth-page .auth-card .auth-secondary { gap: 10px; margin-top: 16px; }
body.auth-page .auth-card .auth-secondary .quiet-link { min-height: 44px; padding: 10px 12px; font-size: 14px; }
body.auth-page .auth-shell > .auth-card .auth-privacy { min-height: 0; margin: 16px 0 0; font-size: 14px; line-height: 1.5; }
body.auth-page .auth-card > .auth-privacy:first-of-type { margin: 0 0 18px; }
body.auth-page .auth-card .form-status { min-height: 20px !important; font-size: 14px !important; line-height: 1.45; }
body.auth-page .registration-note b { color: #c8dfb0; }
@media (min-width: 901px) and (max-height: 900px) {
  body.auth-page .auth-shell { min-height: calc(100svh - 128px); margin-block: 16px; }
  body.auth-page .auth-shell > :is(.auth-context,.auth-card) { padding: 24px; }
  body.auth-page .auth-context .auth-context-title { font-size: 40px; margin-block: 14px; }
  body.auth-page .auth-shell .auth-orbit { width: clamp(180px, 26svh, 210px); margin: auto; }
  body.auth-page .auth-features { gap: 8px; padding-top: 12px; }
  body.auth-page .auth-shell > .auth-card > p:not(.auth-privacy) { margin-bottom: 16px; }
  body.auth-page .auth-card form { gap: 12px; }
  body.auth-page .auth-card input:not([type="checkbox"]) { height: 48px; }
  body.auth-page .auth-card form > button[type="submit"] { min-height: 48px; margin-top: 0; }
  body.auth-page .auth-card .auth-secondary { margin-top: 8px; }
  body.auth-page .auth-card .auth-privacy { margin-top: 12px; }
}
@media (max-width: 900px) {
  body.auth-page .auth-shell {
    width: min(620px, calc(100vw - 40px));
    min-height: 0;
    margin: 20px auto;
    grid-template-columns: minmax(0, 1fr);
  }
  body.auth-page .auth-shell > .auth-context { display: none; }
  body.auth-page .auth-shell > .auth-card { border: 0; border-radius: 22px; }
}
@media (max-width: 520px) {
  body.auth-page .auth-shell > .auth-card { padding: 24px 18px; }
  body.auth-page .auth-card > h1 { font-size: 30px; }
  body.auth-page .auth-card .auth-secondary { display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* The same renderer and action treatment serve the home and pricing pages. */
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a.plan-select {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 13px 16px;
  font: 630 14px/1.4 var(--display);
  text-align: center;
  color: #1c1332 !important;
  background: linear-gradient(130deg, #c8b2ff, #ab8ff0) !important;
  border: 1px solid #c4acff;
  border-radius: 12px;
  clip-path: none;
  transform: none;
  translate: none;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a.plan-select::before { content: none; }
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a.plan-select::after { content: none; }
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a.plan-select > .ui-icon {
  flex: 0 0 18px;
  inline-size: 18px;
  block-size: 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  color: inherit;
  transform: none;
  translate: none;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a.plan-select:is(:hover,:focus-visible) {
  background: #e2d3ff !important;
  border-color: #e2d3ff;
}
body :is(.pricing-shell,.vpn-plans) .price-grid article.plan-card > a.plan-select:focus-visible {
  outline: 3px solid #e2d3ff;
  outline-offset: 4px;
}
/* Trial access has its own readable hierarchy; dates never share the status line. */
body.account-app .subscription-current #subscription-content .trial-status-card {
  display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:14px;
  width:100%;min-width:0;padding:18px;border:1px solid #ac8bfa42;border-radius:14px;
  background:linear-gradient(125deg,#ac8bfa13,transparent 74%);
}
body.account-app .trial-status-emblem {
  grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;
  border:1px solid #ac8bfa38;border-radius:12px;background:#ac8bfa12;color:var(--ob-accent);
}
body.account-app .subscription-current #subscription-content .trial-status-emblem .ui-icon { width:23px;height:23px; }
body.account-app .trial-status-heading { display:grid;gap:5px;min-width:0; }
body.account-app .trial-status-description { color:var(--ob-muted);font-size:12px;line-height:1.6; }
body.account-app .trial-status-dates { grid-column:2;display:grid;gap:4px;font-variant-numeric:tabular-nums; }
body.account-app .trial-status-dates>span { color:var(--ob-muted);font-size:11px; }
body.account-app .trial-status-dates time { font-size:14px;line-height:1.5;color:var(--ob-text);overflow-wrap:anywhere; }
body.account-app .trial-status-terms { grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;padding-top:2px; }
body.account-app .trial-status-terms>span { padding:6px 10px;border:1px solid var(--ob-line);border-radius:7px;color:var(--ob-muted);font-size:11px;line-height:1.4; }
@media(max-width:420px) {
  body.account-app .subscription-current #subscription-content .trial-status-card { padding:14px;gap:10px; }
}
