/* VPSbit design system — passport + ink.
   Обсидиановая тёмная тема: графитовый фон, светлый текст, циановый акцент, фиолетовый вторичный. */
:root {
  --bg: #0b0e14;
  --bg-elev: rgba(16, 20, 29, 0.85);
  --card: rgba(18, 23, 34, 0.72);
  --card-2: rgba(22, 28, 41, 0.72);
  --line: #232b3a;
  --line-2: #2e3849;
  --text: #e6eaf2;
  --muted: #98a2b8;
  --faint: #6b768c;
  --accent: #22d3ee;
  --accent-2: #7c8cff;
  --ink: #e6eaf2;
  --good: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --on-accent: #04121a;
  --grad-accent: linear-gradient(180deg, #10141d 0%, #0b0e14 42%, #121722 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 980px;
  --max: 1120px;
  --header: 60px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 0, 0, 1);
  --shadow-border: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-border-hover: 0 4px 16px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.08);
  --shadow-elev: 0 16px 40px rgba(0, 0, 0, 0.12);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --dur-fast: 140ms;
  --dur: 240ms;
  --dur-slow: 480ms;
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); overflow-x: clip; }
body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.47;
  text-rendering: optimizeLegibility;
}
/* ponytail: checkout links stay visible; HTTP mode 0 already 404s those paths in Caddy. */
img, svg { display: block; max-width: 100%; }
a, a:link, a:visited, a:hover, a:active, a:focus {
  color: inherit; text-decoration: none;
}
p a, li a, .article a, .lead a { color: var(--accent-2); text-decoration: none; }
h1, h2, h3, em, strong, summary { text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
code, .mono, .price, .spec-val {
  font-variant-numeric: tabular-nums;
}
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); font-weight: 700; letter-spacing: -0.025em; }
p, li, blockquote { text-wrap: pretty; }
p { color: var(--muted); margin: 0 0 1em; }
p.lead { font-size: 1.125rem; max-width: 62ch; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 1024px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .home-sec { padding: 88px 0; }
  .sec-head { margin-bottom: 40px; }
  .proof { padding: 40px 0; }
}
#main { min-width: 0; }
.section { padding: 72px 0; }
.section-sm { padding: 28px 0; }
.section-compact { padding: 48px 0; }
.home-sec { padding: 104px 0; }
.sec-head { text-align: center; max-width: 40rem; margin: 0 auto 32px; }
.sec-head h2 { margin-bottom: 10px; }
.sec-head .lead { margin-inline: auto; }
.section-alt {
  background: transparent;
}
.has-ornament > .wrap { position: relative; padding-top: 28px; }
.has-ornament > .wrap::before {
  content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: min(260px, 60%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.18) 25%, rgba(0, 0, 0, 0.18) 75%, transparent);
}
.has-ornament > .wrap::after {
  content: ""; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px; height: 6px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.section-alt.has-ornament > .wrap::after { box-shadow: 0 0 0 4px var(--bg-elev); }
.grad { color: var(--ink); }
.kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 14px; padding: 0; border-radius: 0;
  background: none; box-shadow: none;
}
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.site-header .wrap {
  height: 100%; display: flex; align-items: center; gap: 12px; min-width: 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -0.04em; font-size: 1.05rem;
  min-height: 40px; flex-shrink: 0; white-space: nowrap; color: var(--text);
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(230, 234, 242, 0.16);
  transition: box-shadow var(--dur) var(--ease);
}
.logo:hover .logo-mark {
  box-shadow: 0 0 0 1px rgba(230, 234, 242, 0.32);
}
img.logo-mark { outline: 0; }
.head-chip {
  flex-shrink: 0;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: lowercase; color: var(--accent-2);
  padding: 4px 8px; border-radius: 3px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  white-space: nowrap;
}
.nav { display: flex; gap: 4px; margin-inline-start: 8px; }
.nav a {
  position: relative;
  min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center;
  transition-property: background-color, color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a:active { transform: scale(0.96); }
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  border-radius: 0; opacity: 0;
  background: var(--accent);
  transform: scaleX(0.35); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav a:hover::after { opacity: 1; transform: scaleX(1); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .js-signout { display: none !important; }
.js-auth, .js-signout, .header-launch { flex-shrink: 0; white-space: nowrap; }
.header-actions .js-auth { min-width: 6.5em; }
.lang-wrap { position: relative; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 10px; border-radius: var(--radius-sm);
  background: transparent; border: 0; cursor: pointer; color: var(--text);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: var(--shadow-border);
  transition-property: background-color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.lang-chip:hover { background: rgba(255, 255, 255, 0.06); }
.lang-chip:active { transform: scale(0.96); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  width: min(280px, calc(100vw - 24px)); max-height: min(70vh, 440px); overflow: auto;
  padding: 8px; border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-border), var(--shadow-elev);
}
.lang-wrap.is-open .lang-menu { display: grid; gap: 2px; }
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 10px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition-property: background-color, color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.lang-opt:hover, .lang-opt.on { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang-opt:active { transform: scale(0.96); }
.lang-opt .iso { margin-inline-start: auto; font-size: 11px; font-weight: 700; color: var(--faint); }
.lang-drawer { display: grid; gap: 2px; margin: 12px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.flag {
  width: 20px; height: 14px; border-radius: 2px; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.19);
  background: #334155;
}
.flag-gb, .flag-en {
  background: #012169 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2030'%3E%3Cpath%20fill='%23012169'%20d='M0%200h60v30H0z'/%3E%3Cpath%20fill='none'%20stroke='%23fff'%20stroke-width='10'%20d='M0%200l60%2030M60%200L0%2030'/%3E%3Cpath%20fill='none'%20stroke='%23C8102E'%20stroke-width='6'%20d='M0%200l60%2030M60%200L0%2030'/%3E%3Cpath%20fill='none'%20stroke='%23fff'%20stroke-width='16'%20d='M30%200v30M0%2015h60'/%3E%3Cpath%20fill='none'%20stroke='%23C8102E'%20stroke-width='10'%20d='M30%200v30M0%2015h60'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-is {
  background-color: #02529c;
  background-image:
    linear-gradient(#fff, #fff), linear-gradient(#fff, #fff),
    linear-gradient(#dc1e35, #dc1e35), linear-gradient(#dc1e35, #dc1e35);
  background-size: 100% 6px, 6px 100%, 100% 3px, 3px 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.flag-br {
  background: #009c3b url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2042'%3E%3Crect%20width='60'%20height='42'%20fill='%23009c3b'/%3E%3Cpolygon%20points='30,4%2056,21%2030,38%204,21'%20fill='%23ffdf00'/%3E%3Ccircle%20cx='30'%20cy='21'%20r='8'%20fill='%230029a5'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-us {
  background: #3c3b6e url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2042'%3E%3Crect%20width='60'%20height='42'%20fill='%23fff'/%3E%3Cg%20fill='%23b22234'%3E%3Crect%20width='60'%20height='3.23'/%3E%3Crect%20y='6.46'%20width='60'%20height='3.23'/%3E%3Crect%20y='12.92'%20width='60'%20height='3.23'/%3E%3Crect%20y='19.38'%20width='60'%20height='3.23'/%3E%3Crect%20y='25.85'%20width='60'%20height='3.23'/%3E%3Crect%20y='32.31'%20width='60'%20height='3.23'/%3E%3Crect%20y='38.77'%20width='60'%20height='3.23'/%3E%3C/g%3E%3Crect%20width='26'%20height='22.6'%20fill='%233c3b6e'/%3E%3Cg%20fill='%23fff'%3E%3Ccircle%20cx='4'%20cy='4'%20r='1'/%3E%3Ccircle%20cx='10'%20cy='4'%20r='1'/%3E%3Ccircle%20cx='16'%20cy='4'%20r='1'/%3E%3Ccircle%20cx='22'%20cy='4'%20r='1'/%3E%3Ccircle%20cx='7'%20cy='8'%20r='1'/%3E%3Ccircle%20cx='13'%20cy='8'%20r='1'/%3E%3Ccircle%20cx='19'%20cy='8'%20r='1'/%3E%3Ccircle%20cx='4'%20cy='12'%20r='1'/%3E%3Ccircle%20cx='10'%20cy='12'%20r='1'/%3E%3Ccircle%20cx='16'%20cy='12'%20r='1'/%3E%3Ccircle%20cx='22'%20cy='12'%20r='1'/%3E%3Ccircle%20cx='7'%20cy='16'%20r='1'/%3E%3Ccircle%20cx='13'%20cy='16'%20r='1'/%3E%3Ccircle%20cx='19'%20cy='16'%20r='1'/%3E%3Ccircle%20cx='4'%20cy='20'%20r='1'/%3E%3Ccircle%20cx='10'%20cy='20'%20r='1'/%3E%3Ccircle%20cx='16'%20cy='20'%20r='1'/%3E%3Ccircle%20cx='22'%20cy='20'%20r='1'/%3E%3C/g%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-hk {
  background: #de2910 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23de2910'/%3E%3Cg%20fill='%23fff'%3E%3Cellipse%20cx='30'%20cy='12'%20rx='2.4'%20ry='7'/%3E%3Cellipse%20cx='30'%20cy='12'%20rx='2.4'%20ry='7'%20transform='rotate(72%2030%2020)'/%3E%3Cellipse%20cx='30'%20cy='12'%20rx='2.4'%20ry='7'%20transform='rotate(144%2030%2020)'/%3E%3Cellipse%20cx='30'%20cy='12'%20rx='2.4'%20ry='7'%20transform='rotate(216%2030%2020)'/%3E%3Cellipse%20cx='30'%20cy='12'%20rx='2.4'%20ry='7'%20transform='rotate(288%2030%2020)'/%3E%3C/g%3E%3Ccircle%20cx='30'%20cy='20'%20r='1.6'%20fill='%23de2910'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-jp {
  background: #fff url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23fff'/%3E%3Ccircle%20cx='30'%20cy='20'%20r='11'%20fill='%23bc002d'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-cn {
  background: #de2910 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23de2910'/%3E%3Cg%20fill='%23ffde00'%3E%3Cpath%20transform='translate(10%2010)'%20d='M0-6%201.35-1.86%205.71-1.85%202.19.71%203.53%204.85%200%202.3-3.53%204.85-2.19.71-5.71-1.85-1.35-1.86Z'/%3E%3Cpath%20transform='translate(20%204)%20scale(.33)'%20d='M0-6%201.35-1.86%205.71-1.85%202.19.71%203.53%204.85%200%202.3-3.53%204.85-2.19.71-5.71-1.85-1.35-1.86Z'/%3E%3Cpath%20transform='translate(24%208)%20scale(.33)'%20d='M0-6%201.35-1.86%205.71-1.85%202.19.71%203.53%204.85%200%202.3-3.53%204.85-2.19.71-5.71-1.85-1.35-1.86Z'/%3E%3Cpath%20transform='translate(24%2013)%20scale(.33)'%20d='M0-6%201.35-1.86%205.71-1.85%202.19.71%203.53%204.85%200%202.3-3.53%204.85-2.19.71-5.71-1.85-1.35-1.86Z'/%3E%3Cpath%20transform='translate(20%2017)%20scale(.33)'%20d='M0-6%201.35-1.86%205.71-1.85%202.19.71%203.53%204.85%200%202.3-3.53%204.85-2.19.71-5.71-1.85-1.35-1.86Z'/%3E%3C/g%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-sa {
  background: #006c35 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23006c35'/%3E%3Cpath%20d='M12%2016h36v2H12zm4%206h28v1.5H16zm20%204c0%203-4%205-8%205s-8-2-8-5h16z'%20fill='%23fff'/%3E%3Cpath%20d='M14%2030h32l-2%202H16z'%20fill='%23fff'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-ru { background: linear-gradient(#fff 0 33%, #0039a6 33% 66%, #d52b1e 66%); }
.flag-sg {
  background: #ef3340 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='20'%20fill='%23ef3340'/%3E%3Crect%20y='20'%20width='60'%20height='20'%20fill='%23fff'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='6'%20fill='%23fff'/%3E%3Ccircle%20cx='14.5'%20cy='10'%20r='5'%20fill='%23ef3340'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-ae { background: linear-gradient(#00732f 0 33%, #fff 33% 66%, #000 66%); background-image: linear-gradient(#00732f 0 33%, #fff 33% 66%, #000 66%), linear-gradient(#ff0000, #ff0000); background-size: 100% 100%, 28% 100%; background-position: 0 0, 0 0; background-repeat: no-repeat; }
.flag-za {
  background: #007749 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23007749'/%3E%3Cpolygon%20points='0,0%2022,20%200,40'%20fill='%23000'/%3E%3Cpolygon%20points='0,4%2018,20%200,36'%20fill='%23ffb81c'/%3E%3Crect%20y='14'%20width='60'%20height='12'%20fill='%23fff'/%3E%3Crect%20y='16.5'%20width='60'%20height='7'%20fill='%23de3831'/%3E%3Crect%20y='0'%20width='60'%20height='14'%20fill='%230024b7'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-kz {
  background: #00afca url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%2300afca'/%3E%3Ccircle%20cx='30'%20cy='18'%20r='7'%20fill='%23ffd200'/%3E%3Crect%20x='4'%20y='6'%20width='3'%20height='28'%20fill='%23ffd200'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-th { background: linear-gradient(#a51931 0 16%, #fff 16% 33%, #2d2a4a 33% 67%, #fff 67% 84%, #a51931 84%); }
.flag-fr { background: linear-gradient(90deg, #002395 0 33%, #fff 33% 66%, #ed2939 66%); }
.flag-de { background: linear-gradient(#000 0 33%, #dd0000 33% 66%, #ffce00 66%); }
.flag-lv { background: linear-gradient(#9e3039 0 40%, #fff 40% 60%, #9e3039 60%); }
.flag-mx {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%209%206'%3E%3Crect%20width='3'%20height='6'%20fill='%23006427'/%3E%3Crect%20x='3'%20width='3'%20height='6'%20fill='%23fff'/%3E%3Crect%20x='6'%20width='3'%20height='6'%20fill='%23ce1126'/%3E%3C/svg%3E%3C/svg%3E");
  background-size: cover;
}
.flag-tr {
  background: #e30a17 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23e30a17'/%3E%3Ccircle%20cx='24'%20cy='20'%20r='9'%20fill='%23fff'/%3E%3Ccircle%20cx='27'%20cy='20'%20r='7.2'%20fill='%23e30a17'/%3E%3Cpolygon%20points='36,20%2039.2,21.1%2038.1,17.8%2040.8,15.7%2037.2,15.7%2036,12.4%2034.8,15.7%2031.2,15.7%2033.9,17.8%2032.8,21.1'%20fill='%23fff'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-ir { background: linear-gradient(#239f40 0 33%, #fff 33% 66%, #da0000 66%); }
.flag-ua { background: linear-gradient(#005bbb 50%, #ffd500 50%); }
.flag-nl { background: linear-gradient(#ae1c28 0 33%, #fff 33% 66%, #21468b 66%); }
.flag-ro { background: linear-gradient(90deg, #002b7f 0 33%, #fcd116 33% 66%, #ce1126 66%); }
.flag-ch {
  background: #ff0000;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-size: 10px 3px, 3px 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.card-flag { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; min-width: 0; }
.card-flag h3 { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* — new location flags (2026-10 wave: 21 -> 40 locations) — */
.flag-md {
  background: #0046ae url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='20'%20height='40'%20fill='%230046ae'/%3E%3Crect%20x='20'%20width='20'%20height='40'%20fill='%23ffd200'/%3E%3Crect%20x='40'%20width='20'%20height='40'%20fill='%23cc092f'/%3E%3Cpath%20d='M26%2014h8v9c0%203-2.5%205-4%205s-4-2-4-5z'%20fill='%23a77b3b'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-bg { background: linear-gradient(#fff 0 33%, #00966e 33% 66%, #d62612 66%); }
.flag-rs {
  background: #c6363c url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='13.33'%20fill='%23c6363c'/%3E%3Crect%20y='13.33'%20width='60'%20height='13.33'%20fill='%230c4076'/%3E%3Crect%20y='26.66'%20width='60'%20height='13.34'%20fill='%23fff'/%3E%3Ccircle%20cx='15'%20cy='13.3'%20r='5.5'%20fill='%23c6363c'/%3E%3Ccircle%20cx='15'%20cy='13.3'%20r='4'%20fill='%23d9b382'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-cz {
  background: #d7141a url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='20'%20fill='%23fff'/%3E%3Crect%20y='20'%20width='60'%20height='20'%20fill='%23d7141a'/%3E%3Cpolygon%20points='0,0%2026,20%200,40'%20fill='%231145a4'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-pl { background: linear-gradient(#fff 0 50%, #dc143c 50%); }
.flag-se { background: linear-gradient(#006aa7 0 30%, #fecc00 30% 45%, #006aa7 45% 55%, #fecc00 55% 70%, #006aa7 70%); background-image: linear-gradient(90deg, #006aa7 0 30%, #fecc00 30% 42%, #006aa7 42% 58%, #fecc00 58% 70%, #006aa7 70%), linear-gradient(#006aa7, #006aa7); background-size: 100% 100%, 100% 100%; }
.flag-fi {
  background: #fff;
  background-image: linear-gradient(#002f6c, #002f6c), linear-gradient(#002f6c, #002f6c);
  background-size: 100% 6px, 6px 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.flag-no {
  background: #ba0c2f;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#00205b, #00205b), linear-gradient(#00205b, #00205b);
  background-size: 100% 8px, 8px 100%, 100% 4px, 4px 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.flag-lu { background: linear-gradient(#ef3340 0 33%, #fff 33% 66%, #509e2f 66%); }
.flag-cy {
  background: #fff url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23fff'/%3E%3Cpath%20d='M20%2018c3-6%209-9%2014-8%204%20.8%206%203%205%205-2%203-8%204-13%204-3%200-5%200-6-1z'%20fill='%23d57800'/%3E%3Cpath%20d='M26%2026l1.4%202h5.2l1.4-2z'%20fill='%234e5b31'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-pa {
  background: #fff url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='30'%20height='20'%20fill='%23fff'/%3E%3Crect%20x='30'%20width='30'%20height='20'%20fill='%23d21034'/%3E%3Crect%20y='20'%20width='30'%20height='20'%20fill='%23d21034'/%3E%3Crect%20x='30'%20y='20'%20width='30'%20height='20'%20fill='%23fff'/%3E%3Cpath%20d='M15%205v10M10%2010h10'%20stroke='%23005294'%20stroke-width='2.4'/%3E%3Ccircle%20cx='45'%20cy='30'%20r='5'%20fill='%23005294'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-cr { background: linear-gradient(#002b7f 0 17%, #fff 17% 33%, #ce1126 33% 67%, #fff 67% 83%, #002b7f 83%); }
.flag-ar {
  background: #74acdf url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='13.3'%20fill='%2374acdf'/%3E%3Crect%20y='13.3'%20width='60'%20height='13.3'%20fill='%23fff'/%3E%3Crect%20y='26.6'%20width='60'%20height='13.4'%20fill='%2374acdf'/%3E%3Ccircle%20cx='30'%20cy='20'%20r='4.4'%20fill='%23f6b40e'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-ge {
  background: #fff url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23fff'/%3E%3Cg%20fill='%23ff0000'%3E%3Crect%20x='26'%20width='8'%20height='40'/%3E%3Crect%20y='16'%20width='60'%20height='8'/%3E%3Cpath%20d='M11%204h4v4h4v4h-4v4h-4v-4H7V8h4z'/%3E%3Cpath%20d='M45%204h4v4h4v4h-4v4h-4v-4h-4V8h4z'/%3E%3Cpath%20d='M11%2024h4v4h4v4h-4v4h-4v-4H7v-4h4z'/%3E%3Cpath%20d='M45%2024h4v4h4v4h-4v4h-4v-4h-4v-4h4z'/%3E%3C/g%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-my {
  background: #cc0001 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23fff'/%3E%3Cg%20fill='%23cc0001'%3E%3Crect%20width='60'%20height='5.7'/%3E%3Crect%20y='11.4'%20width='60'%20height='5.7'/%3E%3Crect%20y='22.8'%20width='60'%20height='5.7'/%3E%3Crect%20y='34.2'%20width='60'%20height='5.8'/%3E%3C/g%3E%3Crect%20width='30'%20height='20'%20fill='%23010069'/%3E%3Ccircle%20cx='11'%20cy='10'%20r='6'%20fill='%23ffcc00'/%3E%3Ccircle%20cx='13'%20cy='10'%20r='5.2'%20fill='%23010069'/%3E%3Ccircle%20cx='18'%20cy='10'%20r='3'%20fill='%23ffcc00'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-tw {
  background: #fe0000 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Crect%20width='60'%20height='40'%20fill='%23fe0000'/%3E%3Crect%20width='30'%20height='20'%20fill='%23000095'/%3E%3Ccircle%20cx='15'%20cy='10'%20r='7.5'%20fill='%23fff'/%3E%3Ccircle%20cx='15'%20cy='10'%20r='5.5'%20fill='%23000095'/%3E%3Ccircle%20cx='15'%20cy='10'%20r='3'%20fill='%23fff'/%3E%3C/svg%3E%3C/svg%3E") center / cover no-repeat;
}
.flag-in { background: linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66%); background-image: linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66%), url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2040'%3E%3Ccircle%20cx='30'%20cy='20'%20r='4.6'%20fill='none'%20stroke='%23000080'%20stroke-width='1.6'/%3E%3C/svg%3E%3C/svg%3E"); background-size: 100% 100%, 100% 100%; background-repeat: no-repeat; }
.flag-ng { background: linear-gradient(90deg, #008751 0 33%, #fff 33% 66%, #008751 66%); }
html[lang="zh"] body, html[lang="ar"] body, html[lang="fa"] body { font-family: system-ui, sans-serif; }
[dir="rtl"] .drawer { right: auto; left: 0; transform: translateX(-100%); box-shadow: 24px 0 48px rgba(0, 0, 0, 0.18); }
[dir="rtl"] .drawer.is-open { transform: translateX(0); }
[dir="rtl"] .hero-grid { direction: rtl; }
.note-en { font-size: 13px; color: var(--faint); padding: 10px 12px; border-radius: 8px; background: var(--bg-elev); margin: 0 0 20px; }
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: var(--radius-sm); cursor: pointer; position: relative;
  /* column: the visibility wave (~4169) shows .burger as inline-flex; without
     an explicit direction its bars would sit side by side instead of stacked */
  flex-direction: column;
}
.burger span {
  display: block; height: 2px; width: 18px; background: var(--text); margin: 2.5px auto;
  transform-origin: center;
  transition-property: transform, opacity, filter;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease);
}
body.drawer-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-open .burger span:nth-child(2) {
  opacity: 0; transform: scale(0.25); filter: blur(4px);
}
body.drawer-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 80;
  height: 40px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--card); color: var(--text); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center;
  box-shadow: var(--shadow-border);
  transition-property: top;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
.skip:focus { top: 12px; outline: 2px solid var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition-property: transform, background-color, border-color, filter, box-shadow;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn-primary, a.btn-primary {
  background: var(--accent); color: #04121a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(34, 211, 238, 0.22);
}
.btn-primary:hover { background: #67e8f9; }
.btn-primary:focus-visible, .drawer a.drawer-deploy:focus-visible { outline-color: var(--text); }
.btn-ghost {
  background: var(--card); border-color: transparent; color: var(--text);
  box-shadow: var(--shadow-border);
}
.btn-ghost:hover { background: var(--card-2); box-shadow: var(--shadow-border-hover); }
/* Auth CTA: оба лейбла рендерит сервер внутри кнопки; auth-boot.js ставит
   html[data-auth-state] до первого кадра, CSS только переключает видимость.
   Спаны лежат в одной grid-ячейке: ширина кнопки постоянна в обоих состояниях,
   скрытый лейбл исчезает из accessibility-дерева. */
.js-auth { display: inline-grid; place-items: center; }
.js-auth > span { grid-area: 1 / 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.js-auth .auth-in { visibility: hidden; }
html[data-auth-state="in"] .js-auth .auth-in { visibility: visible; }
html[data-auth-state="in"] .js-auth .auth-out { visibility: hidden; }
.btn-lg { height: 52px; padding: 0 28px; border-radius: 12px; font-size: 17px; }
.card .invoice { border-radius: 8px; }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  background: var(--bg);
}
.hero::before { display: none; }
.hero::after { display: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  margin-bottom: 22px;
}
.hero-grid > * { min-width: 0; }
.hero-trust {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 28px;
}
.ht {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.ht .ico { color: var(--good); width: 15px; height: 15px; }
.hero-coins--strip { padding-top: 26px; border-top: 1px dashed var(--line); margin-top: 26px; }
.hero-spec {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
}
.spec-chip {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; min-width: 30px; padding: 0 6px; border-radius: 3px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit; text-decoration: none;
  animation: chip-in var(--dur) var(--ease-spring) both;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-spring);
}
.spec-chip::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; }
.spec-chip .flag { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.spec-chip .coin { width: 18px; height: 18px; }
.spec-chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2); }
.spec-chip:active { transform: scale(0.96); }
.spec-chip-more { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.spec-more-n { font-size: 11.5px; font-weight: 700; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.spec-div { width: 1px; height: 18px; background: var(--line-2); margin: 0 3px; }
@keyframes chip-in { from { opacity: 0; transform: translateY(5px); } }
@media (max-width: 640px) {
  .hero-spec { gap: 7px; }
  .spec-chip { height: 30px; min-width: 30px; padding: 0 6px; }
  .spec-div { height: 16px; margin: 0 3px; }
}
.hero-coins .flag-row + .pay-rail { margin-inline-start: 0; }
.hero-coins .pay-rail { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-coins .crypto-chip { display: none; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); font-weight: 700; letter-spacing: -0.025em; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.badge {
  font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 3px;
  background: var(--card-2); color: var(--text);
  box-shadow: var(--shadow-border);
}
.fact-rows {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px; margin: 8px 0 20px; min-width: 0; width: 100%;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.flag-row,
.coin-row {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  gap: 8px; min-height: 28px;
}
.fact-rows .flag-row,
.fact-rows .coin-row,
.fact-rows .pay-rail {
  padding: 0; gap: 8px;
  border-radius: 0; background: transparent; box-shadow: none;
}
.pay-rail {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.crypto-chip {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: lowercase; color: var(--accent-2);
  padding: 4px 8px; border-radius: 3px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  white-space: nowrap;
}
.flag-row + .coin-row,
.flag-row + .pay-rail { margin-inline-start: 16px; }
.fact-rows .flag-row + .coin-row,
.fact-rows .flag-row + .pay-rail { margin-inline-start: 0; }
.flag-mini {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.flag-mini .flag {
  width: 16px; height: 12px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.flag-mini .flag-ch { width: 12px; height: 12px; border-radius: 2px; }
.coin-pay {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
  margin-inline-end: 4px; white-space: nowrap;
}
.coin {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: inline-block;
  background-color: var(--c);
  background-image: var(--g);
  background-size: 62% 62%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.coin-btc { --c: #f7931a; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3E%3Cpath%20fill='white'%20d='M23.189%2013.02c.314-2.096-1.283-3.223-3.465-3.975l.708-2.84-1.728-.43-.69%202.765c-.454-.114-.92-.22-1.385-.326l.695-2.783L15.596%205l-.708%202.839c-.376-.086-.746-.17-1.104-.26l.002-.009-2.384-.595-.46%201.846s1.283.294%201.256.312c.7.175.826.638.805%201.006l-.806%203.235c.048.012.11.03.18.057l-.183-.045-1.13%204.532c-.086.212-.303.531-.793.41.018.025-1.256-.313-1.256-.313l-.858%201.978%202.25.561c.418.105.828.215%201.231.318l-.715%202.872%201.727.43.708-2.84c.472.127.93.245%201.378.357l-.706%202.828%201.728.43.715-2.866c2.948.558%205.164.333%206.097-2.333.752-2.146-.037-3.385-1.588-4.192%201.13-.26%201.98-1.003%202.207-2.538zm-3.95%205.538c-.533%202.147-4.148.986-5.32.695l.95-3.805c1.172.293%204.929.872%204.37%203.11zm.535-5.569c-.487%201.953-3.495.96-4.47.717l.86-3.45c.975.243%204.118.696%203.61%202.733z'/%3E%3C/svg%3E%3C/svg%3E"); background-size: 100% 100%; }
.coin-eth { --c: #627eea; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M8%201.5%203.5%208.2%208%2010.6l4.5-2.4zm0%2010.1L3.5%209.1%208%2014.5l4.5-5.4z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-usdt { --c: #26a17b; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M8.8%207.4v5.1H7.2V7.4H3.5V6h9v1.4zm-4.6-3h7.6v1.3H4.2z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-sol { --c: #9945ff; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M3.2%2010.8h8.4l-1.6%202.4H1.6zm0-4h8.4L10%209.2H1.6zm1.6-4h8.4l-1.6%202.4H1.6z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-ltc { --c: #345d9d; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M9.2%203%206.8%208.4H4.2l-.4%201.3h2.2L5%2013h7.2l.5-1.4H7.8l.8-2.1H11l.5-1.3H8.7L10.5%203z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-trx { --c: #ef0027; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M2.2%203.2%2013.8%206.4%208.7%208.2%206.4%2013z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-xrp { --c: #23292f; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M3.2%205.2%208%201.5l4.8%203.7L8%208.8%203.2%205.2zm0%205.6L8%2014.5l4.8-3.7L8%207.2%203.2%2010.8z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-xmr { --c: #ff6600; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M2%2012.5%204.2%203.5h2.1L8%209.2%209.7%203.5h2.1L14%2012.5h-2.1l-1.1-5.2-1.6%204.6H6.8L5.2%207.3%204.1%2012.5z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-bnb { --c: #f3ba2f; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M8%201.6%2010.1%203.7%208%205.8%205.9%203.7zm-4.4%204.4L5.7%208%203.6%2010.1%201.5%208zm8.8%200L14.5%208l-2.1%202.1L10.3%208zM8%206.1%2010.1%208.2%208%2010.3%205.9%208.2zm0%204.4%202.1%202.1L8%2014.4%205.9%2012.3z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-doge { --c: #c2a633; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M5%203.2h4.1c2.4%200%204.1%201.6%204.1%204.2S11.5%2011.6%209.1%2011.6H6.6V13H5zm1.6%201.5V10h2.4c1.6%200%202.6-1%202.6-2.6S10.6%204.7%209%204.7z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-dash { --c: #008de4; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M3%209.4h5.2L7.4%2012H2.2zm2.6-5.4h5.4L10.2%206.8H4.8zM8.8%204h5l-.8%202.8H8z'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-ada { --c: #0033ad; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Ccircle%20fill='white'%20cx='8'%20cy='8'%20r='2.2'/%3E%3Ccircle%20fill='white'%20cx='8'%20cy='3.2'%20r='1'/%3E%3Ccircle%20fill='white'%20cx='8'%20cy='12.8'%20r='1'/%3E%3Ccircle%20fill='white'%20cx='3.6'%20cy='5.4'%20r='1'/%3E%3Ccircle%20fill='white'%20cx='12.4'%20cy='5.4'%20r='1'/%3E%3Ccircle%20fill='white'%20cx='3.6'%20cy='10.6'%20r='1'/%3E%3Ccircle%20fill='white'%20cx='12.4'%20cy='10.6'%20r='1'/%3E%3C/svg%3E%3C/svg%3E"); }
.coin-gram { --c: #0098ea; --g: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='white'%20d='M2.4%207.2%2013.6%203.4%206.8%209.2%206.4%2013z'/%3E%3C/svg%3E%3C/svg%3E"); }
.pay-txid { word-break: break-all; font-size: 12px; }
.pay-tx-form { display: grid; gap: 8px; margin: 12px 0; }
.pay-confs { font-variant-numeric: tabular-nums; font-weight: 700; }
.fund-range { display: grid; gap: 8px; margin: 12px 0; }
.fund-range input[type="range"] { width: 100%; }
.fund-presets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}
.fund-board-bit {
  display: grid;
  gap: 16px;
}
@media (min-width: 840px) {
  .fund-board-bit {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr);
    align-items: start;
  }
}
.fund-hero .fund-now {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}
.fund-hero {
  /* corner halo lives on background (clipped by radius) so hint popovers can overflow */
  background:
    radial-gradient(160px 160px at calc(100% + 24px) -24px, rgba(34, 211, 238, 0.22), transparent 70%),
    var(--card);
}
.fund-math {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.fund-math > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}
.fund-math dt { color: var(--muted); margin: 0; }
.fund-math dd { margin: 0; font-weight: 700; }
.fund-math-bonus dd { color: var(--accent-2); }
.fund-math-after {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fund-math-after dd {
  color: var(--accent-2);
  font-size: 1.05rem;
}
.fund-pick-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.fund-pick-head h3 {
  margin: 0;
  text-wrap: balance;
}
.fund-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 14px 10px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.02));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.15);
  color: var(--text);
  cursor: pointer;
  transition-property: transform, background-color, box-shadow, color;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.fund-chip b {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.fund-chip-get {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.32);
  white-space: nowrap;
}
.fund-chip:hover {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.03));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28);
}
.fund-chip:active { transform: scale(0.96); }
.fund-chip.on {
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.10);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.45);
  transform: translateY(-1px);
}
.fund-chip.on:active { transform: translateY(-1px) scale(0.96); }
.fund-chip:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.55);
  outline-offset: 3px;
}
.fund-go { width: 100%; margin-top: 8px; }
.pay-coin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
@media (max-width: 380px) {
  .pay-coin-list {
    grid-template-columns: 1fr;
  }
}
.pay-coin-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  text-align: left;
  color: var(--text);
  background: var(--card);
  box-shadow: var(--shadow-border);
  cursor: pointer;
  transition-property: transform, box-shadow, background-color;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.pay-coin-card .coin { width: 28px; height: 28px; }
.pay-coin-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pay-coin-meta b { font-size: 1rem; letter-spacing: -0.01em; }
.pay-coin-card.on,
.pay-coin-card:hover {
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.45),
    var(--shadow-border);
}
.pay-coin-card:active { transform: scale(0.96); }
.pay-coin-picked {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.10);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.32);
}
.pay-pick-h1 {
  margin: 4px 0 6px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pay-wait-actions .btn { width: 100%; }
.pay-creating {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--bg) 78%, #000000 22%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: payCreatingIn var(--dur) var(--ease-out) both;
}
@keyframes payCreatingIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
html.nv-pay-creating,
html.nv-pay-creating body {
  overflow: hidden;
  touch-action: none;
}
.pay-board.is-creating,
.pay-board.is-creating .pay-side,
.pay-board.is-creating .pay-main {
  pointer-events: none;
}
.pay-main { position: relative; }
.pay-creating-card {
  width: min(100%, 400px);
  padding: 30px 24px 24px;
  border-radius: 8px;
  text-align: center;
  background: var(--card);
  box-shadow:
    var(--shadow-border),
    var(--shadow-elev);
  animation: payCreatingCardIn var(--dur) var(--ease-out) both;
}
@keyframes payCreatingCardIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.pay-creating-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pay-creating-card > .faint {
  margin: 0 auto;
  max-width: 32em;
  text-wrap: pretty;
  line-height: 1.45;
}
.pay-creating-spin {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-width: 3px;
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
  border-top-color: var(--accent);
  margin-right: auto;
}
.pay-creating-steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left;
}
.pay-creating-steps li {
  padding: 11px 14px 11px 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 260ms;
  transition-timing-function: var(--ease);
}
.pay-creating-steps li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  transition-property: background-color, box-shadow, transform;
  transition-duration: 260ms;
  transition-timing-function: var(--ease);
}
.pay-creating-steps li.on {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 42%, transparent);
}
.pay-creating-steps li.on::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent);
  transform: translateY(-50%) scale(1.05);
}
.pay-creating-steps li.done:not(.on) {
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
}
.pay-creating-steps li.done::before {
  background: var(--accent);
}
.inv-bonus td, .inv-credit td { color: var(--accent-2); }
.fund-custom {
  display: grid;
  gap: 10px;
  margin: 18px 0 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.fund-custom > span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.fund-usd {
  display: flex;
  align-items: center;
  gap: 0;
  height: 52px;
  min-height: 52px;
  padding: 0 16px 0 18px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.fund-usd:focus-within {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent),
    0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.fund-usd-prefix {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  background: none;
  box-shadow: none;
}
.fund-usd input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 8px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  appearance: textfield;
  -moz-appearance: textfield;
}
.fund-usd input:focus {
  outline: none;
  box-shadow: none !important;
}
.fund-usd input::-webkit-outer-spin-button,
.fund-usd input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}
.fund-usd-suffix {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.fund-now {
  margin: 4px 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 45%, #0e7490 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.fund-board { gap: 16px; }
.fund-how { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
/* "?" hint tooltips (panel SPA) */
.hint-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.hint-row-after { margin: 10px 0 2px; }
.hint-q {
  position: relative;
  display: inline-flex;
  vertical-align: baseline;
}
.hint-q summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--muted);
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}
.hint-q summary::-webkit-details-marker { display: none; }
.hint-q summary::before { content: none; }
.hint-q[open] summary {
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.hint-q .hint-q-lbl {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.hint-q[open] .hint-q-lbl { color: var(--accent-2); }
.hint-q-body {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  z-index: 60;
  width: max-content;
  min-width: min(240px, 78vw);
  max-width: min(320px, 86vw);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  background: var(--card);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-elev);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: start;
  white-space: normal;
}
.hint-q-title {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.hint-q-list {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 6px;
}
.hint-q-body p { margin: 0 0 6px; }
.hint-q-body p:last-child { margin: 0; }
.hint-q summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hint-q.hint-q-pill summary {
  width: auto;
  height: 22px;
  gap: 6px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
}
.hint-row h2,
.hint-row h3 { margin: 0; }
.hint-row-center { justify-content: center; }
.fund-hero .hint-row { margin: 0 0 10px; }
.support-lock { text-align: center; padding: 40px 24px 32px; }
.support-lock h2 { margin: 0 0 10px; }
.support-lock p { margin: 0 auto 22px; max-width: 38em; }
.support-lock .btn { min-width: min(100%, 16rem); }
.support-lock-mark {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.support-lock-mark::before {
  content: ""; width: 26px; height: 26px; background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M17%208h-1V6a4%204%200%2010-8%200v2H7a2%202%200%2000-2%202v10a2%202%200%20002%202h10a2%202%200%20002-2V10a2%202%200%2000-2-2zm-7-2a2%202%200%20114%200v2h-4zm3%2010a2%202%200%20110-4%202%202%200%20010%204z'/%3E%3C/svg%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M17%208h-1V6a4%204%200%2010-8%200v2H7a2%202%200%2000-2%202v10a2%202%200%20002%202h10a2%202%200%20002-2V10a2%202%200%2000-2-2zm-7-2a2%202%200%20114%200v2h-4zm3%2010a2%202%200%20110-4%202%202%200%20010%204z'/%3E%3C/svg%3E%3C/svg%3E") center / contain no-repeat;
}
.pay-track { display: grid; gap: 10px; margin-top: 8px; }
.loc-strip {
  display: flex; flex-wrap: wrap; gap: 8px;
  /* flex-start: stretch can inflate a chip on the last line when the +N
     expander label follows it (Chromium line cross-size quirk) */
  align-items: flex-start;
}
.loc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px 0 10px; border-radius: 3px;
  background: var(--card); color: var(--text);
  box-shadow: var(--shadow-border);
  transition-property: background-color, color, transform, box-shadow;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
  font-size: 13px; font-weight: 600;
}
.loc-chip:hover { background: rgba(255, 255, 255, 0.10); box-shadow: var(--shadow-border-hover); }
.loc-chip:active { transform: scale(0.96); }
.loc-chip .faint { font-weight: 500; }
.loc-chip.is-here {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
/* Explicit areas keep DOM order visible: head, note, cfg-bar, then the boards.
   Without them auto-placement pushed head/note/cfg into implicit rows BELOW
   the stacked boards (tables rendered above the tabs). */
.plan-board {
  position: relative; display: grid;
  grid-template-areas: "head" "note" "cfg" "board";
}
.plan-board > .plan-head { grid-area: head; }
.plan-board > .plan-note { grid-area: note; }
.plan-board > #cfg-bar { grid-area: cfg; }
.plan-board > .plans-vps, .plan-board > .plans-stor, .plan-board > .plans-ded { grid-area: board; min-width: 0; }
.plan-note { font-size: 12px; margin: 4px 2px 0; }
/* tabular numerals: prices never shift layout while toggling or updating */
.plan-pick .price, .summary-card .grand strong,
.summary-card .price, .term-best, .step-pill, .qty-val {
  font-variant-numeric: tabular-nums;
}

.plans-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 2px 0 10px;
}
.kind-switch.period-switch {
  grid-template-columns: 1fr 1fr; width: auto; height: 40px; padding: 3px;
  flex: 0 0 auto;
}
.kind-switch.period-switch label { font-size: 13px; }
#period-mo:checked ~ .plans-toolbar .period-switch label[for="period-mo"],
#period-yr:checked ~ .plans-toolbar .period-switch label[for="period-yr"] {
  background: var(--card-2); color: var(--text);
}
.plans-toolbar .plan-note { margin: 0; }
/* Clean crossfade: entering price/note fades in, leaving one disappears instantly. */
.plans-toolbar .plan-note {
  transition: opacity var(--dur-fast) var(--ease-spring);
}
#period-yr:checked ~ .plans-vps .pp-mo,
#period-yr:checked ~ .plans-stor .pp-mo,
#period-yr:checked ~ .plans-ded .pp-mo,
#period-yr:checked ~ .plan-note-mo { display: none; }
#period-mo:checked ~ .plans-vps .pp-yr,
#period-mo:checked ~ .plans-stor .pp-yr,
#period-mo:checked ~ .plans-ded .pp-yr,
#period-mo:checked ~ .plan-note-yr { display: none; }
@starting-style {
  #period-yr:checked ~ .plans-vps .pp-yr,
  #period-yr:checked ~ .plans-stor .pp-yr,
  #period-yr:checked ~ .plans-ded .pp-yr,
  #period-yr:checked ~ .plan-note-yr,
  #period-mo:checked ~ .plans-vps .pp-mo,
  #period-mo:checked ~ .plans-stor .pp-mo,
  #period-mo:checked ~ .plans-ded .pp-mo,
  #period-mo:checked ~ .plan-note-mo { opacity: 0; }
}
.plan-radio {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
/* Constant-height head: all three h2 share cell 1/1 (crossfade between them),
   the kind-switch owns column 2. */
.plan-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 4px 12px; margin-bottom: 16px;
}
.plan-head h2 {
  margin: 0; min-width: 0; line-height: 1.25;
}
.plan-head .kind-switch { grid-column: 2; grid-row: 1; }
.kind-switch {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  width: min(100%, 420px); height: 48px; padding: 4px; box-sizing: border-box;
  border-radius: 12px; background: var(--card);
  flex: 0 0 auto; align-self: center;
}
.kind-switch label {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 100%; min-height: 0; min-width: 0; padding: 0 8px; border-radius: 9px; cursor: pointer;
  font-size: 13px; font-weight: 650; line-height: 1; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition-property: background-color, color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.kind-switch label:hover { color: var(--text); }
.kind-switch label:active { transform: scale(0.96); }
#kind-vps:checked ~ .plan-head .kind-switch label[for="kind-vps"],
#kind-stor:checked ~ .plan-head .kind-switch label[for="kind-stor"],
#kind-ded:checked ~ .plan-head .kind-switch label[for="kind-ded"] {
  background: var(--card-2); color: var(--text);
}
/* Tabs: inactive h2 fade instead of display:none — opacity crossfade inside the
   shared cell, visibility flips late on hide (0s linear var(--dur)) so the
   element stays hideable but the head height never changes. */
.plan-head .plan-sub-vps, .plan-head .plan-sub-stor, .plan-head .plan-sub-ded {
  grid-area: 1 / 1; min-width: 0;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
#kind-vps:checked ~ .plan-head .plan-sub-vps,
#kind-stor:checked ~ .plan-head .plan-sub-stor,
#kind-ded:checked ~ .plan-head .plan-sub-ded {
  opacity: 1; visibility: visible;
  transition: opacity var(--dur) var(--ease), visibility 0s;
}
.badge.good { color: var(--good); box-shadow: 0 0 0 1px color-mix(in srgb, var(--good) 35%, transparent); }
.hero-art svg, .hero-art img { width: 100%; height: auto; min-height: 0; display: block; }
.price-art, .loc-art { margin: 1rem 0 0; max-width: 42rem; border-radius: 8px; overflow: hidden; }
a.price-art { display: block; transition: transform var(--dur-fast) var(--ease-spring); }
a.price-art:hover { transform: translateY(-2px); }
.price-art img, .loc-art img { width: 100%; height: auto; display: block; }

.proof {
  padding: 32px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0; padding: 0;
  border-radius: 0; background: transparent;
  box-shadow: none;
}
.proof-item {
  position: relative; text-align: center; padding: 8px 14px; min-width: 0;
}
.proof-item:not(:last-child)::after {
  content: ""; position: absolute; top: 18%; bottom: 18%;
  inset-inline-end: 0; width: 1px; background: var(--line);
}
.proof-item b {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-2);
}
.proof-item span {
  display: block; margin-top: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.card {
  background: var(--card);
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow-border);
  transition-property: box-shadow, transform;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
a.card:hover, .card.clickable:hover { box-shadow: var(--shadow-border-hover); transform: translateY(-2px); }
a.card:active, .card.clickable:active { transform: translateY(0) scale(0.96); }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14px; }

.plan-vs-lead { margin: 0 0 18px; max-width: 46em; }
.table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-border);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap table { width: 100%; }
.table-wrap th, .table-wrap td { white-space: nowrap; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th {
  color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  background: var(--bg-elev);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
td { color: var(--muted); font-variant-numeric: tabular-nums; }
td:first-child, th:first-child { color: var(--text); }
.table-wrap td:last-child { text-align: right; }
td:last-child, .panel-nav { font-variant-numeric: tabular-nums; }

.faq details {
  border-radius: 8px; background: var(--card);
  padding: 4px 16px; margin-bottom: 8px;
  box-shadow: var(--shadow-border);
}
.faq summary {
  cursor: pointer; padding: 12px 0; min-height: 40px;
  font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq summary::after {
  content: ""; width: 8px; height: 8px; margin-inline-start: 12px; flex: 0 0 auto;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform var(--dur-fast) var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); border-color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-body { color: var(--muted); padding-bottom: 14px; font-size: 14.5px; }


.trust-chips {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin: 20px 0 18px;
}
.trust-chip {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px; border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-border); color: inherit; text-decoration: none;
  min-height: 88px; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.trust-chip:hover { transform: translateY(-1px); color: inherit; }
.trust-chip b { font-size: 14px; color: var(--text); }
.trust-chip span { font-size: 13px; color: var(--muted); }
.trust-facts {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px;
}
.trust-fact {
  padding: 18px 20px; border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-border);
}
.trust-fact b { display: block; font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.trust-fact p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.trust-more {
  font-size: 13px; color: var(--accent-2); text-decoration: none;
  min-height: 40px; display: inline-flex; align-items: center;
}
.trust-more:hover { color: var(--text); }
.bound-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.bound-card {
  padding: 18px 20px; border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-border);

  width: 100%; box-sizing: border-box;}
.bound-card b { display: block; margin-bottom: 8px; }
.bound-card p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.bound-card.ok { box-shadow: var(--shadow-border), inset 3px 0 0 rgba(26, 127, 55, 0.55); }
.bound-card.no { box-shadow: var(--shadow-border), inset 3px 0 0 rgba(217, 45, 32, 0.45); }
@media (max-width: 900px) {
  .trust-chips { grid-template-columns: 1fr 1fr; }
  .trust-facts, .bound-grid { grid-template-columns: 1fr; }
}

.cta-band {
  border-radius: 8px;
  padding: 20px; background: var(--card);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  box-shadow: var(--shadow-border);
}
.cta-band h2 { margin: 0 0 8px; }
.cta-band .btn { border-radius: var(--radius-sm); }

.site-footer {
  border-top: 1px solid var(--line-2); padding: 18px 0 12px; margin-top: 4px;
  background: var(--bg-elev);
  box-shadow: 0 3px 0 -2px var(--line);
}
.site-footer .logo { font-size: 0.95rem; }
.site-footer .logo-mark { width: 22px; height: 22px; }
.site-footer .foot-grid > div > p {
  margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; max-width: 28ch;
}
h4 { text-wrap: balance; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px 18px; position: relative; }
.foot-grid h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 6px; }
.foot-grid a, .foot-sec a {
  display: flex; align-items: center; color: var(--muted); font-size: 13px;
  min-height: 28px; padding: 0; line-height: 1.25;
  transition-property: color;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
.foot-grid a:hover, .foot-sec a:hover { color: var(--text); }
.foot-more {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.foot-more > summary {
  list-style: none;
  cursor: pointer;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  min-height: 28px;
  display: flex;
  align-items: center;
}
.foot-more > summary::-webkit-details-marker { display: none; }
.foot-more > summary::after {
  content: "+";
  margin-inline-start: 6px;
  font-weight: 700;
  color: var(--muted);
}
.foot-more[open] > summary::after { content: "–"; }
.foot-more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-bottom: 4px;
}
.foot-more-grid a {
  min-height: 24px;
  font-size: 12px;
}
@media (min-width: 900px) {
  .foot-more[open] {
    position: relative;
  }
  .foot-more-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    min-width: min(520px, 70vw);
  }
}
.legal-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; color: var(--faint); font-size: 11px; letter-spacing: 0.02em; box-shadow: 0 -1px 0 var(--line); }
.cta-band .coin-row { display: flex; margin-top: 10px; }
.cta-band .pay-rail { display: flex; margin-top: 10px; }
.cta-band .pay-rail .coin-row { margin-top: 0; }
.coin-grid .choice { flex-direction: row; align-items: center; gap: 8px; }

.article {
  width: min(100%, 86ch);
  max-width: 86ch;
  overflow-wrap: break-word;
}
.wrap.section.article {
  padding-top: 28px;
  padding-bottom: 48px;
  /* .section's `padding: Npx 0` shorthand kills .wrap side padding at mobile —
     restore it: article text must never touch the screen edges */
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 1024px) {
  .wrap.section.article {
    padding-top: 32px;
    padding-bottom: 56px;
    padding-left: 32px;
    padding-right: 32px;
  }
}
.article .lead { margin-bottom: 0.75em; }
.article .article-meta { margin: 0 0 14px; }
.article .answer-first {
  margin: 16px 0 18px;
  padding: 14px 16px;
}
.article .src-fig {
  margin: 10px 0 18px;
}
@media (min-width: 1024px) {
  .article .src-fig img {
    max-height: 340px;
    object-fit: cover;
  }
}
pre {
  overflow-x: auto; max-width: 100%;
  padding: 12px; border-radius: 8px; background: var(--bg-elev);
  font-size: 13px; line-height: 1.45;
  white-space: pre-wrap; word-break: break-word;
}
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article-meta { color: var(--muted); font-size: .9rem; }
.answer-first {
  margin: 24px 0;
  padding: 18px 20px;
  border-inline-start: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(34, 211, 238, 0.05);
}
.answer-first p { margin: 6px 0 0; }
[dir="rtl"] .answer-first { border-radius: var(--radius) 0 0 var(--radius); }
.article-sources, .article-related { margin-top: 36px; }
.article-sources li + li, .article-related li + li { margin-top: 8px; }
.article-sources a, .article-related a { text-decoration: underline; text-underline-offset: 3px; }
.use-fig {
  margin: 20px 0; padding: 16px 18px; border-radius: 8px;
  background: var(--card); box-shadow: var(--shadow-border);
}
.use-fig figcaption { font-weight: 700; margin: 0 0 10px; color: var(--text); }
.use-steps { margin: 0; padding-inline-start: 1.25em; display: grid; gap: 8px; }
.use-steps li { color: var(--muted); }
.decide-list { margin: 18px 0; display: grid; gap: 8px; }
.decide-title { font-weight: 700; margin: 0 0 4px; }
.decide { border-radius: 8px; background: var(--card); padding: 0 14px; }
.decide summary {
  cursor: pointer; min-height: 44px; display: flex; align-items: center;
  font-weight: 600;
}
.decide-body { padding: 0 0 12px; color: var(--muted); }
.fact-table-wrap { overflow-x: auto; margin: 18px 0; }
.fact-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fact-table th, .fact-table td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); }
.fact-table th {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text);
}
.llm-index { display: none; }
.crumbs { font-size: 12px; color: var(--faint); margin-bottom: 16px; }
.crumbs a {
  min-height: 40px; display: inline-flex; align-items: center;
  transition-property: color;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
.crumbs a:hover { color: var(--accent-2); }

[hidden] { display: none !important; }
.good { color: var(--good); }

.wizard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 28px; align-items: start; }
.wizard > * { min-width: 0; }
.wizard h2 { font-size: 1.15rem; margin: 0 0 8px; }
.dply-steps { display: flex; flex-direction: column; gap: 18px; }
.dply-step {
  scroll-margin-top: calc(var(--header) + 16px);
  padding: 22px 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-border);
}
.dply-step {
  transition:
    opacity 200ms var(--ease-spring),
    translate 200ms var(--ease-spring),
    display 200ms allow-discrete;
}
.dply-step.step-hidden { display: none; opacity: 0; translate: 0 6px; }
@starting-style {
  .dply-step { opacity: 0; translate: 0 6px; }
}
.dply-step.animate-in { animation: dplyIn var(--dur-slow) var(--ease) both; }
@keyframes dplyIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.dply-step-head {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px;
}
.dply-step-head > div { flex: 1; min-width: 0; }
.dply-n {
  width: 28px; height: 28px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--bg-elev); color: var(--accent-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* Completed step: metallic-orange badge, white check springs in softly */
.dply-step.step-complete .dply-n {
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 45%, #0e7490 100%);
  color: var(--on-accent);
  box-shadow: 0 4px 12px -4px rgba(34, 211, 238, 0.5);
}
.dply-step.step-complete .dply-n .n { font-size: 0; }
.dply-step.step-complete .dply-n .n::after {
  content: ""; display: inline-block; width: 13px; height: 13px;
  background: var(--on-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M3.5%208.5l3.5%203.5%206.5-8'%20fill='none'%20stroke='black'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M3.5%208.5l3.5%203.5%206.5-8'%20fill='none'%20stroke='black'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .dply-step.step-complete .dply-n .n::after { animation: dply-check var(--dur) var(--ease-spring) both; }
}
@keyframes dply-check {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* In-progress (not yet complete) steps get a soft accent halo */
.dply-step:not(.step-complete) .dply-n {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px rgba(34, 211, 238, 0.35);
}
.step-pill {
  flex-shrink: 0; margin-inline-start: auto;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 2px; color: var(--accent-2);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line);
  max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.step-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
#kindGrid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 640px); gap: 10px; margin: 0 0 18px;
}
/* Deploy kind cards (scoped: generic .kind-card belongs to the kind-duo hub) */
#kindGrid .kind-card {
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted); font: inherit; cursor: pointer; text-align: start;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur-fast) var(--ease);
}
#kindGrid .kind-card:hover { transform: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
#kindGrid .kind-card:active { transform: scale(0.96); }
#kindGrid .kind-card.on {
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 10px 28px -14px rgba(34, 211, 238, 0.35);
}
#kindGrid .kind-card .ico { width: 22px; height: 22px; color: var(--faint); flex: 0 0 auto; transition: color var(--dur-fast) var(--ease); }
#kindGrid .kind-card.on .ico { color: var(--accent); }
#kindGrid .kind-card-txt { display: grid; gap: 2px; min-width: 0; }
#kindGrid .kind-card-txt b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
#kindGrid .kind-card-txt .faint { font-size: 12px; line-height: 1.35; }
@media (max-width: 560px) {
  #kindGrid { gap: 8px; align-items: stretch; }
  #kindGrid .kind-card { padding: 11px 12px; gap: 10px; }
  #kindGrid .kind-card .ico { width: 18px; height: 18px; }
  #kindGrid .kind-card-txt b { font-size: 14px; }
}
#locGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; margin: 8px 0 20px; align-items: stretch;
}
.term-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0 16px;
}
.choice {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  background: var(--card); border-radius: var(--radius);
  padding: 12px 14px; cursor: pointer; text-align: left; min-height: 44px; min-width: 0;
  overflow: hidden;
  box-shadow: var(--shadow-border); border: 0;
  transition-property: box-shadow, background-color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.choice b { color: var(--text); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.choice.on, .choice:hover, .plan-pick.on, .plan-pick:hover, .term-pick.on, .term-pick:hover {
  box-shadow: var(--shadow-border-hover);
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
}
.choice:active, .plan-pick:active, .term-pick:active { transform: scale(0.96); }
.choice-loc {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; text-align: center; padding: 12px 14px; min-height: 84px;
}
.choice-loc .flag { width: 30px; height: 20px; border-radius: 3px; margin: 0 0 3px; flex: 0 0 auto; }
.choice-loc b, .choice-loc .faint {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.choice-loc .faint { margin-inline-start: 0; }
#kindGrid .choice {
  flex-direction: row; align-items: center; justify-content: center;
  gap: 8px; height: 40px; min-height: 40px; white-space: nowrap;
  padding: 0 12px; box-shadow: none; background: transparent;
}
#kindGrid .choice.on, #kindGrid .choice:hover { box-shadow: none; }
#kindGrid .choice.on { background: var(--card-2); }
#kindGrid .choice:hover { background: rgba(255, 255, 255, 0.06); }
#kindGrid .choice.on:hover { background: var(--card-2); }
.choice .coin { margin-inline-end: 2px; }
.spec-line {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  width: 100%;
}
.spec-line .ico { margin-top: 3px; }
.plan-pick .spec-line {
  grid-template-columns: 16px auto minmax(0, 1fr);
  align-items: start;
}
.plan-pick .spec-line > span:nth-child(2) {
  color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.plan-pick .spec-line b {
  color: var(--text); font-weight: 600; text-align: left;
  font-variant-numeric: tabular-nums;
  min-width: 0; overflow-wrap: anywhere; word-break: break-word;
}
.plan-pick .spec-chip { padding-inline-start: 24px; font-size: 12px; line-height: 1.35; }
.plan-pick .plan-vs { font-size: 12px; line-height: 1.35; text-align: left; }

.plan-pick-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.plan-pick-meta { display: grid; gap: 6px; }
.plan-pick, .term-pick {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  background: var(--card); border-radius: 8px; padding: 14px 16px;
  cursor: pointer; text-align: left; border: 0; color: var(--muted); font: inherit;
  box-shadow: var(--shadow-border); min-width: 0; height: 100%;
  transition-property: box-shadow, background-color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.plan-pick .tier { font-size: 13px; font-weight: 600; color: var(--accent-2); }
.plan-pick .price, .summary-card .price { color: var(--text); }
.plan-pick .price { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; }
.plan-pick .price .price-unit { font-size: 12px; color: var(--muted); font-weight: 500; }
.term-pick b { color: var(--text); font-size: 1rem; }
.term-off { font-size: 12px; font-weight: 600; color: var(--accent-2); }
.term-best {
  position: absolute; top: 10px; inset-inline-end: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-accent); background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 45%, #0e7490 100%); box-shadow: 0 2px 10px rgba(34, 211, 238, 0.35); border-radius: 2px; padding: 3px 8px;
}
.plan-pick.is-paused {
  filter: grayscale(1);
  opacity: 0.78;
  cursor: not-allowed;
  box-shadow: var(--shadow-border);
}
.plan-pick.is-paused:hover,
.plan-pick.is-paused:active { transform: none; }
.plan-pause-plaque {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 14px 14px 16px;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(18, 22, 32, 0.92) 35%, rgba(18, 22, 32, 0.45) 100%);
  color: var(--text);
  pointer-events: none;
}
.plan-pause-plaque b {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.plan-pause-plaque span { font-size: 12.5px; line-height: 1.45; color: var(--text); }

.summary-card { position: sticky; top: calc(var(--header) + 12px); padding: 18px 16px 16px; overflow: hidden; }
.summary-card .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700;
  margin: 0; line-height: 1.2; letter-spacing: -0.02em;
  min-width: 0; max-width: 100%;
}
.summary-card .price span,
.summary-card .price small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.summary-card .btn-lg { width: 100%; }
.summary-card .btn-ghost { width: 100%; margin-top: 8px; }
.summary-card form { margin: 0; }
.summary-card .sum-signed { margin: 0 0 14px; line-height: 1.4; overflow-wrap: anywhere; }
.sum-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 14px;
}
.sum-head h3 { margin: 0; font-size: 1rem; }
.sum-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 2px; color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.32);
}
.sum-plan {
  padding: 12px 0 14px;
  border-bottom: 1px dashed var(--line);
}
.sum-plan.empty { text-align: center; padding: 18px 8px 16px; color: var(--muted); }
/* Brand glyph instead of a grey placeholder square: ink disc, orange ring,
   off-center highlight. Breathes gently (killed by the global reduce switch). */
.sum-plan.empty .ring {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%;
  border: 3px solid var(--accent);
  background: var(--bg-elev);
  box-shadow: 0 6px 16px -8px rgba(34, 211, 238, 0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .sum-plan.empty .ring { animation: sum-ring-pulse 2.4s ease-in-out infinite alternate; }
}
@keyframes sum-ring-pulse {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}
.sum-plan.empty h5 { margin: 0 0 6px; color: var(--text); font-size: 14px; }
.sum-plan.empty p { margin: 0; font-size: 13px; }
.sum-plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sum-plan-top h4 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.sum-plan-top .type {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  padding: 2px 6px; border-radius: 2px; color: var(--accent-2);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line);
}
.sum-plan-top .price {
  font-size: 1.15rem;
  color: var(--ink);
}
.sum-plan .sku {
  display: inline-block; margin: 8px 0 10px;
  font-size: 11px; color: var(--accent-2);
}
.sum-plan .specs { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.sum-plan .specs span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
}
.sum-plan .specs .ico { width: 12px; height: 12px; flex-basis: 12px; color: var(--accent); }
.sum-section {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px dashed rgba(148, 163, 184, 0.16);
  font-size: 13px;
}
.sum-section.empty .val { color: var(--faint); }
.sum-section .lbl { color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.sum-section .val { text-align: right; }
.sum-section .val b { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--text); }
.sum-section .val span { display: block; color: var(--faint); font-size: 12px; }
.sum-totals { display: grid; gap: 8px; padding: 12px 0 4px; }
/* Mini-pills above "Due now" (kind+plan / flag+city / term / image) */
.sum-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.sum-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 980px;
  background: var(--bg-elev); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.sum-chip .flag { width: 16px; height: 11px; }
.sum-chip .ico { width: 12px; height: 12px; color: var(--accent-2); flex: 0 0 12px; }
.sum-totals .line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.sum-totals .line b { color: var(--text); font-variant-numeric: tabular-nums; }
.sum-totals .save-line b { color: var(--accent-2); }
.sum-totals .grand {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-top: 4px; padding-top: 10px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.09);
}
.sum-totals .grand span { font-weight: 600; color: var(--text); }
.sum-totals .grand strong {
  font-size: 1.6rem; letter-spacing: -0.03em;
  color: var(--accent-2);
}
/* "Due now" amount: metallic-orange gradient text (solid fallback above) */
@supports (-webkit-background-clip: text) {
  .sum-totals .grand strong {
    background-image: linear-gradient(135deg, #67e8f9 0%, #22d3ee 45%, #0e7490 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.sum-totals .grand small { color: var(--faint); font-size: 12px; }
.grand-eff { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.sum-coins { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sum-coins-lbl {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 8px;
}
.sum-coins-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); min-width: 0; }
.sum-lines li > span { min-width: 0; overflow-wrap: anywhere; }
.sum-lines b { color: var(--text); font-variant-numeric: tabular-nums; flex-shrink: 0; }

.pay-modal { width: min(480px, calc(100% - 24px)); max-height: min(90vh, 760px); overflow-y: auto; }
.pay-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.15fr);
  gap: 16px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.pay-board > * { min-width: 0; }
.pay-side {
  position: sticky;
  top: calc(var(--header) + 12px);
  padding: 18px 18px 16px;
}
.pay-side h2 { font-size: 1.15rem; margin: 0 0 12px; }
.pay-main { padding: 18px 18px 16px; }
.inv-doc { display: grid; gap: 14px; }
.inv-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
}
.inv-badge {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 0 10px; border-radius: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-accent); background: color-mix(in srgb, #fbbf24 85%, #fff);
}
.inv-badge.is-wait {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 22%, var(--card));
}
.inv-badge.is-err {
  color: #fff;
  background: var(--err);
}
.inv-print { flex-shrink: 0; }
.inv-parties {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.inv-issuer b, .inv-bill b { display: block; margin: 0 0 4px; color: var(--text); }
.inv-issuer p, .inv-bill p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.inv-meta {
  display: grid; gap: 8px; margin: 0;
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09), 0 -1px 0 rgba(255, 255, 255, 0.09);
}
.inv-meta > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 8px; font-size: 13px; }
.inv-meta dt { margin: 0; color: var(--faint); font-weight: 600; }
.inv-meta dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.inv-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.inv-table th {
  text-align: left; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; padding: 0 0 8px;
}
.inv-table th:last-child, .inv-table td:last-child { text-align: right; }
.inv-table td {
  padding: 8px 0; color: var(--muted);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
  vertical-align: top;
}
.inv-table td.num { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-table tr.inv-disc td { color: var(--accent-2); }
.inv-table tr.inv-meta-row td {
  font-size: 12px; color: var(--faint); box-shadow: none; padding-top: 4px; padding-bottom: 2px;
}
.inv-totals { margin: 4px 0 0; }
.nv-shimmer {
  --sh-a: var(--bg-elev);
  --sh-b: var(--card-2);
  --sh-c: #1c2736;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--sh-a), var(--sh-b), var(--sh-c), var(--sh-a));
  background-size: 300% 300%;
  animation: nv-shimmer-flow 2.4s ease-in-out infinite;
}
.nv-shimmer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: nv-shimmer-sheen 1.6s linear infinite;
  pointer-events: none;
}
@keyframes nv-shimmer-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes nv-shimmer-sheen {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.inv-load {
  display: grid; gap: 12px; padding: 4px 0 8px; min-height: 220px;
}
.inv-skeleton {
  display: grid; gap: 14px; min-height: 220px;
}
.inv-sk-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.inv-sk-badge { height: 28px; width: 108px; border-radius: 8px; }
.inv-sk-btn { height: 36px; width: 88px; border-radius: 8px; }
.inv-sk-parties {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.inv-sk-block { height: 72px; border-radius: var(--radius-sm); }
.inv-sk-block.short { height: 56px; }
.inv-sk-meta { display: grid; gap: 8px; }
.inv-sk-line { height: 12px; border-radius: 999px; }
.inv-sk-line:nth-child(2) { width: 88%; }
.inv-sk-line:nth-child(3) { width: 62%; }
.inv-sk-table { height: 120px; border-radius: var(--radius-sm); }
.inv-sk-total { height: 44px; width: 72%; border-radius: 8px; }
.pay-skeleton {
  display: grid; gap: 14px; min-height: 240px;
}
.pay-sk-kicker { height: 14px; width: 72px; border-radius: 4px; }
.pay-sk-amt { height: 32px; width: 58%; border-radius: 8px; }
.pay-sk-sub { height: 14px; width: 42%; border-radius: 4px; }
.pay-sk-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pay-sk-chip { height: 44px; width: 88px; border-radius: 8px; }
.pay-sk-chip.wide { width: 112px; }
.pay-sk-scan {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
.pay-sk-qr {
  width: 168px; height: 168px; max-width: 100%;
  border-radius: var(--radius-sm);
}
.pay-sk-rows { display: grid; gap: 10px; padding-top: 6px; min-width: 0; }
.pay-sk-row { height: 44px; border-radius: 8px; }
.pay-sk-row.wide { width: 92%; }
.pay-sk-btn { height: 48px; width: 100%; border-radius: 8px; margin-top: 4px; }
.inv-load-label {
  position: relative; z-index: 1;
  font-size: 13px; font-weight: 600; color: var(--text);
  letter-spacing: 0.02em;
}
.inv-load-bars { display: grid; gap: 10px; }
.inv-load-bar {
  height: 12px; border-radius: 999px;
}
.inv-load-bar.lg { height: 18px; width: 55%; }
.inv-load-bar.md { width: 78%; }
.inv-load-bar.sm { width: 42%; }
.pay-load {
  display: grid; gap: 14px; min-height: 200px;
}
.pay-load-grid {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px; align-items: start;
}
@media (max-width: 640px) {
  .pay-load-grid { grid-template-columns: 1fr; justify-items: center; }
  .pay-load-qr {
    width: min(92vw, 340px); height: min(92vw, 340px);
    max-width: 100%; margin: 0 auto;
  }
  .pay-qr, .pay-qr-empty {
    width: min(92vw, 340px); max-width: 100%;
  }
  .pay-qr svg {
    width: min(92vw, 340px); max-width: 100%; height: auto; margin: 0 auto;
  }
  .pay-sk-qr, .pay-qr-skel {
    width: min(92vw, 340px); max-width: 100%;
    height: min(92vw, 340px); min-height: min(92vw, 340px);
    margin: 0 auto;
  }
}
.pay-load-qr {
  width: 148px; height: 148px; border-radius: 8px;
}
.pay-load-lines { display: grid; gap: 10px; padding-top: 8px; }
.pay-qr-skel {
  min-height: 148px;
  border-radius: var(--radius-sm);
}
.pay-scan.is-loading .pay-qr-skel {
  background: linear-gradient(120deg, var(--sh-a, #10141d), var(--sh-b, #161c29), var(--sh-c, #1c2736), var(--sh-a, #10141d));
  background-size: 300% 300%;
  animation: nv-shimmer-flow 2.4s ease-in-out infinite;
  outline: none;
}
.section-pay { padding-top: 12px; }
.hero-checkout { padding: 14px 0 6px; }
.checkout-flow {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.checkout-sep {
  flex: 0 0 28px;
  height: 1px;
  background: color-mix(in srgb, var(--muted) 28%, transparent);
}
.checkout-step {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 12px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.checkout-step.is-current {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 11%, var(--card));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent),
    var(--shadow-border);
}
.checkout-step.is-done {
  color: var(--text);
}
a.checkout-step.is-done:hover {
  color: var(--accent-2);
  background: var(--bg-elev);
}
a.checkout-step.is-done:active { transform: scale(0.96); }
.checkout-step.is-next { color: var(--faint); }
.checkout-head { display: grid; gap: 8px; }
.checkout-head h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0;
  text-wrap: balance;
}
.checkout-head .lead {
  margin: 0;
  max-width: 42rem;
  text-wrap: pretty;
}
.hero-pay { padding: 18px 0 4px; }
.hero-pay h1 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0; }
.hero-pay .lead { display: none; }
.nv-link {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 2px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition-property: color;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
.nv-link:hover { color: var(--accent-2); }
.inv-change { margin: 10px 0 0; }
.inv-pay {
  margin: 2px 0 4px;
  padding: 12px 0 4px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
}
.inv-pay .kicker { margin-bottom: 8px; }
.inv-pay-meta { margin-top: 0; }
.inv-pay-addr {
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.inv-pay-addr-row dd { grid-column: 2; }
.pay-amt {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 4px;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}
.pay-amt span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.pay-addr { word-break: break-all; font-size: 13px; }
.pay-coin-label {
  margin: 14px 0 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint);
}
.pay-coins { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 8px;
  background: var(--bg-elev); color: var(--text);
  box-shadow: var(--shadow-border); border: 0; cursor: pointer;
  font-size: 13px; font-weight: 600;
  transition-property: box-shadow, background-color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.pay-chip.on, .pay-chip:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), var(--shadow-border-hover);
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
}
.pay-chip.on { font-weight: 700; }
.pay-chip:active:not(:disabled) { transform: scale(0.96); }
.pay-scan {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  margin: 0 0 12px;
}
.pay-scan.is-pending { opacity: 1; }
.pay-qr-wrap {
  min-width: 0;
  min-height: 0;
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.pay-addr-wrap { min-height: 52px; }
.pay-qr-wrap, .pay-addr-wrap {
  transition: opacity var(--dur) var(--ease-spring);
}
.pay-qr-wrap.is-pending, .pay-addr-wrap.is-pending { opacity: 0.78; }
.pay-qr-stage {
  transition: opacity var(--dur) var(--ease-spring);
}
.pay-qr-stage.is-fade-out { opacity: 0; }
.pay-qr-stage.is-fade-in { opacity: 1; }
.pay-row-skel { padding: 10px 0; }
.pay-row-sk {
  height: 40px; width: 100%; max-width: 100%;
  border-radius: 8px;
}
.pay-qr {
  width: min(168px, 100%);
  padding: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  outline: none;
}
.pay-qr svg {
  width: 168px; max-width: 100%; height: auto; display: block;
  border-radius: var(--radius-sm);
}
.pay-qr-empty {
  width: min(168px, 100%);
  min-height: 148px;
  padding: 14px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: var(--bg-elev);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-border);
}
.pay-send { margin: 0; min-width: 0; width: 100%; }
.pay-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
}
.pay-row .faint {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; margin: 0;
}
.pay-row .mono { margin: 0; font-size: 13px; overflow-wrap: anywhere; color: var(--text); }
.pay-row .btn { width: auto; height: 40px; min-height: 40px; padding: 0 12px; min-width: 76px; }
.pay-empty {
  margin: 8px 0 0;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  box-shadow: var(--shadow-border);
}
.pay-empty .pay-addr { margin: 0; color: var(--faint); }
.pay-actions { margin-top: 16px; }
.pay-actions .btn { width: 100%; }
.coin-grid { margin-bottom: 16px; }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.final-inner .price { font-size: 1.2rem; font-weight: 700; }
.final-meta { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.final-plan { font-size: 12px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bound-card { max-width: 46em; }
.bound-card p { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--text); }

.wizard aside.card { position: sticky; top: calc(var(--header) + 12px); }
.invoice {
  border-radius: var(--radius-sm); padding: 16px; background: var(--bg-elev);
  box-shadow: var(--shadow-border);
}

.desktop-only { display: inline-flex; }

label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; margin: 0 0 12px; color: var(--text); }
input, select {
  width: 100%; height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 0; background: var(--bg-elev); color: var(--text);
  font-size: 16px;
  box-shadow: var(--shadow-border);
  transition-property: box-shadow;
  transition-duration: var(--dur-fast);
  user-select: text;
  -webkit-user-select: text;
}
textarea {
  width: 100%; min-height: 88px; padding: 10px 12px; border-radius: var(--radius-sm);
  border: 0; background: var(--bg-elev); color: var(--text);
  font-size: 16px; resize: vertical; line-height: 1.4;
  box-shadow: var(--shadow-border);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: var(--shadow-border), 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.drawer-bg, .modal-bg {
  position: fixed; inset: 0; background: rgba(10, 13, 15, 0.6); z-index: 50;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition-property: opacity, visibility;
  transition-duration: var(--dur), var(--dur);
  transition-timing-function: var(--ease);
}
/* Drawer layer sits above the sticky header (60) so the menu covers it; the
   shared dimmer above stays at 50 so .modal (52) keeps its own backdrop under it. */
.drawer-bg { z-index: 64; }
.drawer-bg.is-open, .modal-bg.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 100%);
  background: var(--card); z-index: 65;
  border-inline-start: 3px solid var(--accent);
  padding: calc(56px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) 16px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  transition-property: transform, visibility;
  transition-duration: var(--dur), var(--dur);
  transition-timing-function: var(--ease);
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.icon-x {
  position: absolute; top: calc(8px + env(safe-area-inset-top, 0px)); inset-inline-end: 8px; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer; border-radius: var(--radius-sm);
  color: var(--muted);
}
.icon-x::before, .icon-x::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px;
  background: currentColor; border-radius: 1px;
}
.icon-x::before { transform: rotate(45deg); }
.icon-x::after { transform: rotate(-45deg); }
.icon-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.drawer a {
  min-height: 44px; display: flex; align-items: center;
  padding: 0 12px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 500;
  box-shadow: 0 1px 0 var(--line);
  transition-property: background-color, color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.drawer a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.drawer a:active { transform: scale(0.96); }
.drawer a.drawer-deploy {
  color: var(--on-accent); justify-content: center; margin-bottom: 8px; flex-shrink: 0;
}
.drawer a.drawer-deploy:hover { color: var(--on-accent); background: #0e7490; box-shadow: none; }
.drawer-actions { margin-top: auto; display: grid; gap: 8px; }
body.ui-open { overflow: hidden; }

.modal {
  position: fixed; left: 50%; top: 50%;
  width: min(420px, calc(100% - 24px));
  background: var(--card); border-radius: 8px;
  padding: 20px; z-index: 52;
  box-shadow: var(--shadow-border), var(--shadow-elev);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, calc(-50% + 12px)) scale(0.98);
  transition-property: opacity, transform, visibility;
  transition-duration: var(--dur), var(--dur), var(--dur);
  transition-timing-function: var(--ease);
}
.modal.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.modal.is-open.is-closing {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 12px)) scale(0.98);
  transition-duration: 150ms, 150ms, 150ms;
}
.modal h2 { margin-top: 8px; }
.auth-tabs {
  display: flex; gap: 4px; background: var(--bg-elev); padding: 4px;
  border-radius: 8px;
}
.auth-tabs button {
  flex: 1; height: 40px; border: 0; border-radius: 8px; background: transparent;
  color: var(--muted); font-weight: 600; cursor: pointer;
  transition-property: background-color, color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.auth-tabs button.on { background: var(--card-2); color: var(--text); }
.auth-tabs button:active { transform: scale(0.96); }
.auth-mode { display: none; }
.auth-token-pane { display: flex; flex-direction: column; gap: 10px; }
.auth-token-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auth-token-actions .btn { width: 100%; }
.auth-token-hint { margin: -4px 0 0; font-size: 12px; }
.auth-token-continue { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.auth-email-details { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.auth-email-details summary {
  cursor: pointer; font-weight: 650; color: var(--muted); font-size: 14px; list-style: none;
}
.auth-email-details summary::-webkit-details-marker { display: none; }
.auth-email-details[open] summary { color: var(--text); margin-bottom: 12px; }
.auth-email-details .auth-tabs { margin-bottom: 12px; }
#authToken { font-family: var(--font-mono); letter-spacing: 0.04em; font-size: 14px; }
.auth-tos { margin-top: 4px; }
@media (max-width: 720px) {
  .kind-switch label .ico { display: none; }
  .kind-switch label { font-size: 12px; padding: 0 4px; }
  .auth-token-actions, .auth-token-continue { grid-template-columns: 1fr; }
}
.auth-token-out {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--card-2);
  word-break: break-all;
  font-size: 13px;
  line-height: 1.4;
}
.auth-err {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.30);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 12px;
}
.auth-pw-note { margin: -4px 0 12px; font-size: 13px; }
.auth-foot { margin-top: 12px; font-size: 12px; }
.pw-field {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.pw-field input {
  flex: 1;
  min-width: 0;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}
.pw-toggle {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 12px;
  height: 44px;
  border: 0;
  border-radius: 0;
  border-start-end-radius: var(--radius-sm);
  border-end-end-radius: var(--radius-sm);
  background: var(--card-2);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-border);
}
.pw-toggle:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 12%, var(--card-2)); }
.pw-toggle[aria-pressed="true"] { color: var(--accent-2); }
.modal .btn-lg { width: 100%; border-radius: 8px; }

.foot-sec summary {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--faint); font-weight: 700; cursor: default; list-style: none;
  min-height: 28px; display: flex; align-items: center; margin: 0 0 2px;
}
.foot-sec summary::-webkit-details-marker { display: none; }

.access-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.access-card .mono { font-size: 13px; }
.server-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.server-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
button[disabled] { opacity: 0.45; cursor: not-allowed; }
.server-meta { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.server-meta .flag { width: 22px; height: 15px; margin-top: 3px; flex-shrink: 0; }
.num { font-variant-numeric: tabular-nums; }

#panelApp {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#panelApp > .panel-nav { margin-bottom: 0; }
.panel-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.panel-stack > .card,
.panel-stack > .panel-wait,
.panel-stack > .grid-2 {
  margin: 0;
}
.panel-stack .card > .faint { margin: 0 0 12px; }
.panel-stack .card > .panel-card-head + .faint { margin-top: -4px; }
.panel-stats { gap: 16px; align-items: stretch; }
.panel-stats > .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.panel-email { margin: 0; word-break: break-word; }
.tok-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 2px 0 0;
}
.tok-row .tok-val {
  font-size: 13px; overflow-wrap: anywhere; color: var(--text);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 4px; padding: 6px 10px;
}
.tok-row .btn { width: auto; margin: 0; padding: 6px 12px; font-size: 13px; }
.tok-hint { margin: 0; font-size: 13px; }
.panel-stats-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.panel-stats-list li {
  display: flex; justify-content: space-between; gap: 12px;
  align-items: baseline; color: var(--muted); font-size: 14px;
}
.panel-stats-list b { color: var(--text); }
.panel-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 8px;
}
.panel-card-head h2,
.panel-card-head h3 { margin: 0; }
.panel-card-actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.server-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.server-command-status { min-height: 1.4em; margin: 10px 0 0; }
.confirm-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
.confirm-dialog::backdrop { background: rgba(1, 4, 10, .78); backdrop-filter: blur(4px); }
.confirm-dialog .card { margin: 0; }
.panel-wait {
  text-align: left;
  padding: 18px 20px;
}
.panel-wait-title {
  font-size: 1.05rem; font-weight: 600; margin: 0 0 6px;
}
.panel-wait-actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
  justify-content: flex-start;
}
.server-card {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  min-width: 0;
}
.server-card-top {
  display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; align-items: flex-start;
}
.server-actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.server-lock {
  font-size: 13.5px; color: var(--muted);
  padding: 12px 14px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  display: grid; gap: 10px;
}
.server-lock p { margin: 0; }
.status-pill {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  border-radius: 3px; font-size: 11px; font-weight: 600;
  vertical-align: middle; letter-spacing: .02em;
  background: rgba(0, 0, 0, 0.05); color: var(--faint);
}
.status-pill.status-active {
  background: color-mix(in srgb, var(--good) 18%, transparent);
  color: var(--good);
}
.status-pill.status-provisioning {
  background: color-mix(in srgb, var(--warn) 18%, transparent);
  color: var(--warn);
}
.status-pill.status-pending_payment {
  background: color-mix(in srgb, var(--err) 16%, transparent);
  color: var(--err);
}
.server-card.is-unpaid {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--err) 35%, transparent), var(--shadow-border);
}
.server-card.is-unpaid .status-pill.status-pending_payment {
  margin-left: 0;
  font-size: 12px;
}
.status-pill.status-payment_error,
.status-pill.status-failed,
.status-pill.status-cancelled {
  background: color-mix(in srgb, var(--err) 18%, transparent);
  color: var(--err);
}
.panel-nav {
  display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.panel-nav::-webkit-scrollbar { display: none; }
.panel-nav a {
  height: 40px; padding: 0 12px 0 10px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); white-space: nowrap;
  box-shadow: var(--shadow-border);
  transition-property: box-shadow, color, background-color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.panel-nav .ico { color: var(--faint); }
.panel-nav a:active { transform: scale(0.96); }
.panel-nav a.on { color: var(--text); background: color-mix(in srgb, var(--accent) 10%, var(--card)); box-shadow: var(--shadow-border-hover); }
.panel-body {
  min-width: 0;
  transition-property: opacity, transform;
  transition-duration: var(--dur), var(--dur);
  transition-timing-function: var(--ease-spring), var(--ease-spring);
}
.panel-body.is-out {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}
.panel-body.is-enter .panel-stack > .card,
.panel-body.is-enter .panel-stack > .panel-wait,
.panel-body.is-enter .panel-stack > .grid-2 {
  animation: panelChunkIn var(--dur-slow) var(--ease-spring) both;
}
.panel-body.is-enter .panel-stack > *:nth-child(1) { animation-delay: 0ms; }
.panel-body.is-enter .panel-stack > *:nth-child(2) { animation-delay: 80ms; }
.panel-body.is-enter .panel-stack > *:nth-child(3) { animation-delay: 160ms; }
.panel-body.is-enter .panel-stack > *:nth-child(4) { animation-delay: 240ms; }
@keyframes panelChunkIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nv-spin { to { transform: rotate(360deg); } }
.spin {
  display: inline-block; width: 1em; height: 1em;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: nv-spin .7s linear infinite;
  vertical-align: -0.15em; margin-right: .45em;
}
.btn.is-busy { pointer-events: none; opacity: .75; }
.pay-eta {
  margin: 12px 0 0; padding: 0; border-radius: 8px;
  background: var(--bg-elev); box-shadow: var(--shadow-border); text-align: left;
}
.pay-eta > summary {
  cursor: pointer; list-style: none;
  padding: 12px 14px; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.pay-eta > summary::-webkit-details-marker { display: none; }
.pay-eta > summary::after {
  content: "+"; font-weight: 700; color: var(--faint); font-size: 16px; line-height: 1;
}
.pay-eta[open] > summary::after { content: "\2212"; }
.pay-eta-body { padding: 0 14px 12px; }
.pay-eta-body p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; }
.pay-row-load {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px; color: var(--muted); font-size: 13px;
}
.pay-promo {
  margin: 12px 0 0; padding-top: 12px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.09);
}
.pay-promo label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--faint); }
.pay-promo-row { display: flex; gap: 8px; }
.pay-promo-row input {
  flex: 1; min-width: 0; min-height: 40px; padding: 0 12px;
  border-radius: 8px; border: 0; background: var(--bg-elev);
  box-shadow: var(--shadow-border); color: var(--text);
}
.pay-promo-row .btn { flex-shrink: 0; }
.sum-lines li.good-line span { color: var(--accent-2); }
.sum-lines li.good-line b { color: var(--accent-2); }
.sum-lines li.due-line { margin-top: 4px; padding-top: 8px; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.09); }
.sum-lines li.due-line b { font-size: 1.05rem; }
.pay-side .inv-change { margin-top: 12px; }
.pay-howto { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 13.5px; }
.pay-howto li { margin: 0 0 4px; }
.note-sla {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
  color: var(--text); font-size: 14.5px;
}
.bill-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.tix-list { display: grid; gap: 10px; margin-top: 12px; }
.tix-row {
  padding: 12px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.tix-row h3 { margin: 0 0 6px; font-size: 1rem; }
.tix-row p { margin: 0; word-break: break-word; }
.panel-form { display: grid; gap: 4px; max-width: 40rem; }
.panel-form label span { display: block; }
.bill-list { display: grid; gap: 10px; margin-top: 12px; }
.bill-card {
  display: grid; gap: 8px; padding: 14px 16px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  min-width: 0;
}
.bill-card-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.bill-card .bill-acts { margin-top: 4px; }
@media (max-width: 720px) {
  .panel-nav {
    display: grid; grid-template-columns: 1fr 1fr; overflow: visible;
    padding-bottom: 0;
  }
  .panel-nav a { justify-content: center; min-height: 44px; }
  .panel-stats { grid-template-columns: 1fr; }
  .bill-acts .btn { min-height: 44px; }
  #panelApp .table-wrap { margin-inline: -4px; }
}
.pay-wait-inline {
  margin-top: 16px;
  padding-top: 16px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 8px;
}
.addon-grid {
  display: grid; gap: 10px; margin-top: 8px;
  grid-template-columns: 1fr;
}
.addon-pick {
  display: grid; gap: 4px; text-align: left;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  background: var(--card); color: inherit; border: 0;
  box-shadow: var(--shadow-border);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.addon-pick .addon-top { align-items: start; gap: 10px; }
.addon-top b { line-height: 1.25; }
.addon-price { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; padding-top: 1px; }
.addon-pick .faint { line-height: 1.35; text-align: left; }
.addon-pick:hover { box-shadow: var(--shadow-border-hover); }
.addon-pick:active { transform: scale(0.99); }
.addon-pick.on {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), var(--shadow-border);
}
.addon-top {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start; gap: 10px;

}
.addon-top .ico { width: 16px; height: 16px; color: var(--accent-2); flex: 0 0 auto; }
.addon-top b { font-size: 0.98rem; }
.addon-price {
  font-size: 14px; font-weight: 600; color: var(--accent-2); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 720px) {
  .addon-grid { grid-template-columns: 1fr 1fr; }
}
.pay-wait-inline .pay-wait-title { margin: 0; }
.pay-wait-inline .pay-wait-actions {
  justify-content: flex-start;
  margin-top: 8px;
}
.pay-wait-side {
  margin-top: 14px;
  padding-top: 12px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 6px;
}
.pay-coins .pay-chip[disabled] {
  opacity: 0.55;
  cursor: default;
}
.pay-err { text-align: left; }
.pay-err-title {
  font-size: 1.2rem; font-weight: 700; margin: 8px 0 6px; color: var(--err);
}
.pay-err-actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.pay-wait-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px;
}
#payBox, #payOrder {
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out);
}
#payBox.is-soft-out, #payOrder.is-soft-out {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(3px);
  pointer-events: none;
}
#payBox.is-soft-in, #payOrder.is-soft-in {
  animation: nv-soft-in var(--dur-slow) var(--ease-out) both;
}
@keyframes nv-soft-in {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
canvas.nv-salute {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
}
.server-wait {
  width: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 8px; padding-top: 8px; box-shadow: 0 -1px 0 var(--line);
}

@media (prefers-reduced-motion: no-preference) {
  body[data-path=""] .hero .kicker,
  body[data-path="/"] .hero .kicker,
  body[data-path=""] .hero h1,
  body[data-path="/"] .hero h1,
  body[data-path=""] .hero .lead,
  body[data-path="/"] .hero .lead,
  body[data-path=""] .hero .fact-rows,
  body[data-path="/"] .hero .fact-rows,
  body[data-path=""] .hero .badges,
  body[data-path="/"] .hero .badges {
    animation: enter var(--dur-slow) var(--ease) both;
  }
  body[data-path=""] .hero h1,
  body[data-path="/"] .hero h1 { animation-delay: 120ms; }
  body[data-path=""] .hero .lead,
  body[data-path="/"] .hero .lead { animation-delay: 200ms; }
  body[data-path=""] .hero .fact-rows,
  body[data-path="/"] .hero .fact-rows { animation-delay: 280ms; }
  body[data-path=""] .hero .badges,
  body[data-path="/"] .hero .badges { animation-delay: 360ms; }
  body[data-path=""] .hero .wrap > .btn,
  body[data-path="/"] .hero .wrap > .btn,
  body[data-path=""] .hero .wrap > a.btn,
  body[data-path="/"] .hero .wrap > a.btn,
  body[data-path=""] .hero-grid > div:first-child > .btn,
  body[data-path="/"] .hero-grid > div:first-child > .btn,
  body[data-path=""] .hero-grid > div:first-child > a.btn,
  body[data-path="/"] .hero-grid > div:first-child > a.btn,
  body[data-path=""] .hero-ctas .btn,
  body[data-path="/"] .hero-ctas .btn {
    animation: enter var(--dur-slow) 140ms var(--ease) both;
  }
  body[data-path=""] .hero-art,
  body[data-path="/"] .hero-art {
    animation: hero-glow var(--dur-slow) var(--dur) var(--ease) both;
  }
}
@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-glow {
  from { opacity: 0; filter: saturate(0.6) brightness(0.85); transform: translateY(10px) scale(0.98); }
  to { opacity: 1; filter: none; transform: none; }
}

@media (max-width: 1023px) {
  .desktop-only { display: none !important; }
  .header-actions > .js-auth,
  .header-actions > .js-signout { display: none !important; }
  .header-launch {
    display: inline-flex; padding-inline: 12px;
    max-width: min(42vw, 11rem);
    overflow: hidden; text-overflow: ellipsis;
  }
  .burger { display: block; }
  /* kind-switch: stack the plan-board head through the tablet range (was <=640 only) */
  .plan-head { grid-template-columns: minmax(0, 1fr); }
  .plan-head .kind-switch { grid-column: 1; grid-row: 2; }
  .kind-switch { width: 100%; }
  .kind-switch label { white-space: nowrap; }
  .site-header {
    --header: 56px;
    backdrop-filter: none;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
  }
  :root { --header: 56px; }
  .hero { padding: 28px 0 20px; }
  .hero-art { width: 100%; }
  .hero-trust { gap: 10px 14px; margin-bottom: 16px; }
  .ht { font-size: 12px; }
  .hero .lead { font-size: 15px; margin-bottom: 16px; }
  .hero-ctas { margin-bottom: 18px; }
  .lang-chip > span:not(.flag) { display: none; }
  .lang-chip { padding: 0 8px; width: 40px; justify-content: center; }
  .pulse-kpis-sec { display: none; }
  .pulse-charts-sec { padding: 32px 0 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .why { padding: 16px 16px; column-gap: 12px; }
  .section-compact { padding: 36px 0; }
  .home-sec { padding: 38px 0; }
  .dc-flag { width: 50px; height: 36px; }
  .dc-flag .flag { width: 50px; height: 36px; }
  body[data-path="deploy/"] .hero .fact-rows { display: none; }
  body[data-path="deploy/"] .checkout-head .lead { display: none; }
  .section { padding: 28px 0; }
  .home-sec { padding: 38px 0; }
  body[data-path="deploy/"] .hero-checkout,
  body[data-path="pay/"] .hero-checkout { padding: 12px 0 4px; }
  body[data-path="deploy/"] .section,
  body[data-path="pay/"] .section { padding-top: 8px; }
  .wizard, .pay-board, .foot-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:not(:last-child)::after { display: none; }
  .proof-item { padding: 12px 8px; }
  .cta-band { padding: 20px; flex-direction: column; align-items: stretch; }
  .cta-band .btn { width: 100%; }
  .wizard aside.card, .summary-card, .pay-side { position: static; }
  .lang-menu {
    position: absolute; left: auto; right: 0; top: calc(100% + 8px); bottom: auto;
    width: min(280px, calc(100vw - 24px));
    max-height: min(60vh, 420px);
  }
  .foot-sec summary { cursor: pointer; }
  .modal {
    left: 0; right: 0; top: auto; bottom: 0;
    width: 100%; max-height: min(92vh, 720px); overflow-y: auto;
    border-radius: 8px 8px 0 0;
    padding-bottom: max(18px, env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }
  .modal.is-open { transform: translateY(0); }
  .modal.is-open.is-closing { transform: translateY(12px); opacity: 0; }
  .pay-modal { width: 100%; max-height: 92vh; overflow-y: auto; }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .header-launch { display: none !important; }
  .header-actions > .js-signout { display: none !important; }
  .header-actions { gap: 8px; }
  .site-header .wrap { gap: 8px; }
  .head-chip { font-size: 9px; padding: 3px 6px; }
  .lang-chip { width: 40px; padding: 0; justify-content: center; }
  .lang-chip span:not(.flag) { display: none; }
  .header-actions .js-auth { padding: 0 10px; font-size: 13px; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; }
  .hero h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .hero-ctas a.btn { width: 100%; }
  .checkout-flow { margin-bottom: 12px; }
  .checkout-sep { flex-basis: 16px; }
  .checkout-step { min-height: 36px; padding: 0 10px; }
  .grid-2, .plan-grid, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .term-grid { grid-template-columns: 1fr 1fr; }
  .step-grid, #osGrid { grid-template-columns: 1fr 1fr; }
  #kindGrid { width: 100%; }
  .dply-step { padding: 16px 14px 14px; border-radius: 8px; }
  .dply-step-head { margin-bottom: 12px; }
  .dply-step-head .faint { display: none; }
  .plan-pick {
    gap: 8px; padding: 14px; border-radius: 8px; height: auto;
  }
  .plan-pick-meta {
    display: flex; flex-wrap: wrap; gap: 8px 14px;
  }
  .plan-pick .spec-line {
    display: inline-flex; align-items: center; gap: 6px;
    grid-template-columns: unset; width: auto;
  }
  .plan-pick .spec-line > span:nth-child(2) { display: none; }
  .plan-pick .spec-chip { display: none; }
  .plan-pick .plan-vs { font-size: 11px; }
  .term-pick { min-height: 88px; padding: 12px; border-radius: 8px; }
  .dc-lab { display: none; }
  .dc-row { grid-template-columns: 16px 1fr; }
  .dc-val { text-align: start; }
  .dc-card { padding: 16px 14px 14px; gap: 8px; }
  .dc-tier { display: none; }
  .how-card { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 14px; }
  .how-card .how-n { margin: 0; grid-row: 1 / span 2; }
  .how-card h3, .how-card p { grid-column: 2; margin: 0; }
  .pulse-note { display: none; }
  .plans-toolbar { flex-direction: column; align-items: stretch; }
  .plans-toolbar .plan-note { text-align: center; }
  .loc-chip .faint { display: none; }
  .btn, .choice, .pay-chip { min-height: 44px; }
  .pay-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .pay-row .faint { grid-column: 1 / -1; }
  .pay-row .btn { height: 44px; }
  .pay-scan { grid-template-columns: 1fr; justify-items: stretch; }
  .pay-sk-scan { grid-template-columns: 1fr; justify-items: stretch; }
  .pay-sk-qr { width: min(92vw, 340px); max-width: 100%; height: min(92vw, 340px); margin: 0 auto; }
  .pay-qr svg { width: min(92vw, 340px); max-width: 100%; margin: 0 auto; }
  .inv-sk-parties { grid-template-columns: 1fr; }
  .pay-send { width: 100%; }
  .server-row { flex-direction: column; align-items: flex-start; }
  .access-actions { width: 100%; }
  .access-actions .btn { flex: 1; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .grid-2, .grid-3, .grid-4, .grid-5, .plan-grid, .term-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .step-grid, #osGrid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 379px) {
  .logo { font-size: 0.95rem; gap: 8px; }
  .header-actions .js-auth { display: none !important; }
  .grid-3, .grid-4, .grid-5, .term-grid, .step-grid, #osGrid { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .burger, .drawer, .drawer-bg { display: none !important; }
  .plan-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  body[data-path="deploy/"] .hero,
  body[data-path="pay/"] .hero { padding: 20px 0 12px; }
  body[data-path="deploy/"] .hero h1,
  body[data-path="pay/"] .hero h1 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.35em; }
  body[data-path="deploy/"] .hero .lead,
  body[data-path="pay/"] .hero .lead { font-size: 1rem; margin-bottom: 8px; }
  body[data-path="deploy/"] .section,
  body[data-path="pay/"] .section { padding-top: 16px; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .nav { gap: 0; margin-inline-start: 0; min-width: 0; }
  .nav a { padding: 0 8px; font-size: 13px; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .dc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
}


.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.how-card {
  padding: 16px;
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-border);
}
.how-card .how-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-bottom: 10px;
  border-radius: 2px; font-size: 12px; font-weight: 700;
  color: var(--on-accent); background: var(--good);
}
.how-card h3 { font-size: 1rem; margin: 0 0 6px; }
.how-card p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .how-grid { grid-template-columns: 1fr; }
}

.field-ico { position: relative; display: block; }
.field-ico input { padding-inline-end: 46px; }
.ico-btn {
  position: absolute; inset-inline-end: 2px; top: 50%; width: 44px; height: 44px;
  transform: translateY(-50%);
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  transition-property: color, background-color, transform;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.ico-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.ico-btn:active { transform: translateY(-50%) scale(0.96); }
.ico {
  width: 16px; height: 16px; display: inline-block; flex: 0 0 16px;
}
/* Mask + fill applies to mask-icon spans only; <img class="ico"> shows its own
   webp glyph — a background here painted a solid accent square over it. */
span.ico {
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
img.ico { object-fit: contain; }

/* data-URI icons (rebuilt 2026-10-04): cyan #22d3ee, single stroke style */
.ico-bill { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20x='3'%20y='1.5'%20width='10'%20height='13'%20rx='1.5'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.4'%20d='M5.5%205h5M5.5%208h5M5.5%2011h3'/%3E%3C/svg%3E"); }
.ico-bolt { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='%2322d3ee'%20d='M9%201L3.5%209H7l-1%206L12%207H8.5z'/%3E%3C/svg%3E"); }
.ico-box { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20stroke-linejoin='round'%20d='M2%205l6-3%206%203v6l-6%203-6-3z'/%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.4'%20d='M2%205l6%203%206-3M8%208v6'/%3E%3C/svg%3E"); }
.ico-cpu { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20x='4'%20y='4'%20width='8'%20height='8'%20rx='1.2'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Crect%20x='6.4'%20y='6.4'%20width='3.2'%20height='3.2'%20fill='%2322d3ee'/%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.3'%20d='M6%204V1.8M10%204V1.8M6%2014.2V12M10%2014.2V12M4%206H1.8M4%2010H1.8M14.2%206H12M14.2%2010H12'/%3E%3C/svg%3E"); }
.ico-disk { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20x='2.5'%20y='5.5'%20width='11'%20height='5'%20rx='1.2'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Ccircle%20cx='11'%20cy='8'%20r='1'%20fill='%2322d3ee'/%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.4'%20d='M4.5%2010.5l-1%202.5M11.5%2010.5l1%202.5'/%3E%3C/svg%3E"); }
.ico-eye { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20d='M1.5%208s2.5-4.5%206.5-4.5S14.5%208%2014.5%208%2012%2012.5%208%2012.5%201.5%208%201.5%208z'/%3E%3Ccircle%20cx='8'%20cy='8'%20r='2'%20fill='%2322d3ee'/%3E%3C/svg%3E"); }
.ico-guard { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20stroke-linejoin='round'%20d='M8%201.5l5%202v4.5c0%203-2%205.5-5%206.5-3-1-5-3.5-5-6.5V3.5z'/%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.5'%20d='M5.8%208l1.6%201.8L10.5%206.5'%20fill='none'/%3E%3C/svg%3E"); }
.ico-home { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20stroke-linejoin='round'%20d='M2%208L8%202l6%206M3.5%207v6.5h9V7'/%3E%3Crect%20x='6.8'%20y='9'%20width='2.4'%20height='4.5'%20fill='%2322d3ee'/%3E%3C/svg%3E"); }
.ico-ip { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20d='M2.5%208a5.5%205.5%200%200%201%2011%200'/%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20d='M13.5%208a5.5%205.5%200%200%201-11%200'/%3E%3Ccircle%20cx='8'%20cy='8'%20r='1.8'%20fill='%2322d3ee'/%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.4'%20d='M8%206.2v3.6'/%3E%3C/svg%3E"); }
.ico-net { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Ccircle%20cx='8'%20cy='8'%20r='6.2'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Ccircle%20cx='8'%20cy='8'%20r='2.2'%20fill='%2322d3ee'/%3E%3Ccircle%20cx='8'%20cy='1.8'%20r='1.4'%20fill='%2322d3ee'/%3E%3Ccircle%20cx='14.2'%20cy='8'%20r='1.4'%20fill='%2322d3ee'/%3E%3Ccircle%20cx='8'%20cy='14.2'%20r='1.4'%20fill='%2322d3ee'/%3E%3Ccircle%20cx='1.8'%20cy='8'%20r='1.4'%20fill='%2322d3ee'/%3E%3C/svg%3E"); }
.ico-plus { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.8'%20d='M8%202.5v11M2.5%208h11'/%3E%3C/svg%3E"); }
.ico-clock { --ico: url("data:image/svg+xml,%3Ccircle%20cx='8'%20cy='8'%20r='6.2'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.4'/%3E%3Cpath%20d='M8%204.4V8l2.6%201.6'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.4'%20stroke-linecap='round'/%3E"); }
.ico-planet { --ico: url("data:image/svg+xml,%3Ccircle%20cx='8'%20cy='8'%20r='6'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.4'/%3E%3Cpath%20d='M2%208h12M8%202c2.6%201.8%202.6%2010.2%200%2012M8%202C5.4%203.8%205.4%2012.2%208%2014'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.2'/%3E"); }
.ico-lock { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20x='3.6'%20y='7'%20width='8.8'%20height='6.4'%20rx='1.4'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.4'/%3E%3Cpath%20d='M5.4%207V5.2a2.6%202.6%200%200%201%205.2%200V7'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.4'/%3E%3C/svg%3E"); }
.ico-ssh { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M6.5%209.5L2.5%208l4-1.5%201.5-4%201.5%204%204%201.5-4%201.5-1.5%204z'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.2'%20stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ico-ram { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20x='2'%20y='4.5'%20width='12'%20height='6'%20rx='1'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.3'%20d='M4.5%2010.5v1.8M7%2010.5v1.8M9.5%2010.5v1.8M12%2010.5v1.8M4%206.5h2M6.5%206.5h2M9%206.5h2'/%3E%3C/svg%3E"); }
.ico-refresh { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20d='M13.5%208a5.5%205.5%200%201%201-2-4.2'/%3E%3Cpath%20fill='%2322d3ee'%20d='M14.5%201.5v3.5H11z'/%3E%3C/svg%3E"); }
.ico-server { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20x='2'%20y='2'%20width='12'%20height='5'%20rx='1'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Crect%20x='2'%20y='9'%20width='12'%20height='5'%20rx='1'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Ccircle%20cx='4.5'%20cy='4.5'%20r='0.9'%20fill='%2322d3ee'/%3E%3Ccircle%20cx='4.5'%20cy='11.5'%20r='0.9'%20fill='%2322d3ee'/%3E%3C/svg%3E"); }
.ico-ticket { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20x='2'%20y='4'%20width='12'%20height='8'%20rx='1.2'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Cpath%20stroke='%2322d3ee'%20stroke-width='1.4'%20d='M5.5%204v8'/%3E%3C/svg%3E"); }
.ico-user { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Ccircle%20cx='8'%20cy='5'%20r='2.8'%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'/%3E%3Cpath%20fill='none'%20stroke='%2322d3ee'%20stroke-width='1.6'%20d='M2.8%2014c0.8-2.8%202.8-4%205.2-4s4.4%201.2%205.2%204'/%3E%3C/svg%3E"); }


















.why-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px;
}
.why {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto;
  column-gap: 14px; row-gap: 4px;
  padding: 20px 22px; border-radius: 8px;
  background: var(--card); box-shadow: var(--shadow-border);
  min-width: 0;
}
.why-link { color: inherit; }
.why-link:hover { box-shadow: var(--shadow-border-hover); }
.why-icon {
  grid-row: span 2; width: 38px; height: 38px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; align-self: start;
}
.why-icon .ico { width: 16px; height: 16px; }
.why h3 { grid-column: 2; font-size: 15px; margin: 0; line-height: 1.3; overflow-wrap: anywhere; }
.why p { grid-column: 2; margin: 0; font-size: 12.5px; color: var(--faint); line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 1023px) {
  .why-grid, .how-grid { grid-template-columns: 1fr; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
.wi-1 { background: rgba(217, 45, 32, 0.08); color: var(--err); box-shadow: inset 0 0 0 1px rgba(217, 45, 32, 0.2); }
.wi-2 { background: rgba(126, 34, 206, 0.08); color: #7e22ce; box-shadow: inset 0 0 0 1px rgba(126, 34, 206, 0.2); }
.wi-3 { background: rgba(4, 120, 87, 0.08); color: #047857; box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.2); }
.wi-4 { background: rgba(0, 113, 227, 0.08); color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.22); }
.wi-5 { background: rgba(251, 191, 36, 0.08); color: #fbbf24; box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.2); }
.wi-6 { background: rgba(67, 56, 202, 0.08); color: #4338ca; box-shadow: inset 0 0 0 1px rgba(67, 56, 202, 0.2); }
.dc-flag {
  width: 56px; height: 40px; border-radius: 4px; overflow: hidden; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.dc-flag .flag { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }

/* Kind duo + datacenter cards */
.kind-duo, .kind-trio {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 8px;
}
.kind-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px; border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-border); color: inherit; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.kind-card:hover { transform: translateY(-2px); color: inherit; box-shadow: var(--shadow-border-hover); }
.kind-card-h { display: flex; align-items: center; gap: 12px; }
.kind-card-h b { display: block; font-size: 1.05rem; }
.kind-ico {
  width: 44px; height: 44px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 44px;
}
.kind-vps .kind-ico { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.kind-ded .kind-ico { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.kind-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.kind-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.kind-spec {
  display: grid; grid-template-columns: 16px 1fr; gap: 6px 8px; align-items: start;
  padding: 10px; border-radius: 4px;
  box-shadow: var(--shadow-border); background: rgba(0, 0, 0, 0.03);
}
.kind-spec .ico { margin-top: 2px; color: var(--accent-2); }
.kind-ded .kind-spec .ico { color: var(--good); }
.kind-spec .dc-lab { grid-column: 2; font-size: 10px; }
.kind-spec b { grid-column: 2; font-size: 13px; font-weight: 600; color: var(--text); }
.kind-card-f {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto;
}
.kind-from { font-size: 14px; color: var(--muted); }
.kind-from b { color: var(--text); font-size: 1.15rem; font-weight: 700; }
.kind-vps .kind-cta { color: var(--accent); font-weight: 600; font-size: 14px; }
.kind-ded .kind-cta { color: var(--good); font-weight: 600; font-size: 14px; }

.section-dc { background: none; }
.hero-loc { padding-bottom: 12px; }
.hero-loc + .section-dc { padding-top: 8px; }
.section-dc .dc-grid { margin-top: 0; }
.loc-table-wrap { margin-top: 16px; }
body[data-path="locations/"] .section h2 {
  margin: 0 0 12px;
}
body[data-path="locations/"] .section .lead {
  margin: 0;
  max-width: 46em;
}
.dc-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px;
}
.dc-card {
  --acc: #e6eaf2;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
  padding: 22px 22px 18px; border-radius: 8px;
  background: var(--card);
  box-shadow: inset 3px 0 0 var(--acc), inset 0 0 0 1px var(--line);
  color: inherit; text-decoration: none;
  min-height: 100%;
  transition: box-shadow var(--dur) var(--ease);
}
.dc-card[data-accent="is"] { --acc: var(--accent-2); }
.dc-card[data-accent="nl"] { --acc: #7c8cff; }
.dc-card[data-accent="ro"] { --acc: #fbbf24; }
.dc-card[data-accent="ch"] { --acc: var(--err); }
.dc-card[data-accent="br"] { --acc: #34d399; }
.dc-card[data-accent="us"] { --acc: #1d4ed8; }
.dc-card[data-accent="hk"] { --acc: #be185d; }
.dc-card[data-accent="cn"] { --acc: #fbbf24; }
.dc-card[data-accent="jp"] { --acc: var(--err); }
.dc-card:hover { color: inherit; box-shadow: inset 3px 0 0 var(--acc), inset 0 0 0 1px var(--line-2); }
.dc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 1; }
.dc-name, .dc-city, .dc-rows, .dc-foot { position: relative; z-index: 1; }
.dc-tier {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2); padding: 4px 8px; border-radius: 2px;
  background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
}
.dc-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.dc-blurb {
  margin: 0;
  font-size: 13px; line-height: 1.45; color: var(--muted);
}
.dc-city {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); margin-top: -4px;
}
.dc-code {
  font-size: 11px; font-weight: 700; color: var(--accent-2);
  padding: 2px 8px; border-radius: 2px;
  background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--line);
}
.dc-rows { display: grid; gap: 8px; margin-top: 4px; }
.dc-row {
  display: grid; grid-template-columns: 16px auto 1fr; gap: 8px; align-items: center;
}
.dc-row .ico { color: var(--accent-2); }
.dc-lab {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-2);
}
.dc-val { text-align: right; font-size: 12.5px; color: var(--text); font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.dc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12px;
}
.dc-ok {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--good); font-weight: 600;
}
.dc-ok::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--good);
}
.dc-sla { color: var(--faint); font-weight: 500; }

@media (max-width: 1279px) {
  .dc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .kind-duo, .kind-trio { grid-template-columns: 1fr; }
  .dc-grid { grid-template-columns: 1fr 1fr; }
  .inv-parties { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dc-grid { grid-template-columns: 1fr; }
  .kind-specs { grid-template-columns: 1fr; }
}

@media print {
  body { background: #fff !important; color: #111 !important; }
  .site-header, .site-footer, .hero-checkout, .pay-main,
  .no-print, .lang-wrap { display: none !important; }
  #main, .section-pay, .pay-board, .wrap {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .pay-board { grid-template-columns: 1fr !important; }
  .inv-doc.pay-side, .pay-side.inv-doc {
    position: static !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #111 !important;
    padding: 0 !important;
  }
  .inv-doc b, .inv-doc .mono, .inv-table td.num, .inv-totals b { color: #111 !important; }
  .inv-doc p, .inv-doc td, .inv-meta dt, .inv-meta dd { color: #333 !important; }
  .inv-badge {
    background: #eee !important; color: #111 !important;
    box-shadow: inset 0 0 0 1px #ccc;
  }
  .inv-table td, .inv-meta {
    box-shadow: 0 1px 0 #ddd !important;
  }
}

.src-fig {
  margin: 20px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
}
.src-fig img {
  display: block; width: 100%; height: auto; min-height: 200px;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.ico-mini {
  display: inline-block; width: 26px; height: 26px;
  vertical-align: -6px; margin-right: 8px;
}
.src-fig.prod-hero {
  max-width: 420px;
}
.src-fig.prod-hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  min-height: 0;
  max-height: 280px;
  background: var(--bg-elev);
}
.src-fig figcaption {
  padding: 12px 16px 14px; font-size: 13px; color: var(--muted); line-height: 1.45;
}
.src-fig .credit { color: var(--faint); }
.src-fig .credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.loc-strip { margin: 0 0 24px; }
.loc-facts { margin: 0 0 20px; }
.loc-facts .dc-blurb { margin: 0 0 12px; max-width: 52em; }
.article .loc-strip { margin-top: 4px; }
.loc-table-wrap td { white-space: normal; min-width: 9em; }
.loc-flagline {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 12px; color: var(--muted); line-height: 1.5;
}
.loc-flagline .flag { flex-shrink: 0; margin-top: 4px; }
.key-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.key-chip {
  font-size: 12px; color: var(--text);
  padding: 5px 10px; border-radius: 3px;
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.article-cta { margin-top: 36px; }
.article-offer { margin: 20px 0; }
.article-offer-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.article-offer-line .btn { flex: 0 0 auto; }
.article-offer-mid {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  justify-content: space-between;
  padding: 14px 16px; border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-border);
}
.article-offer-mid p { margin: 0; color: var(--muted); max-width: 46ch; }
.article-offer .price, .article-offer-line .price { color: var(--accent-2); }
.facts-ai {
  margin: 20px 0 24px; padding: 16px 18px; border-radius: 8px;
  background: var(--card); box-shadow: var(--shadow-border);
}
.facts-ai h2 { margin: 0 0 10px; font-size: 1.05rem; }
.facts-ai ul { margin: 0 0 12px; padding: 0; list-style: none; }
.facts-ai li { margin: 0 0 8px; color: var(--muted); line-height: 1.4; }
.facts-ai li b { color: var(--text); margin-right: 6px; }
.facts-advise { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 1180px) {
  .article {
    width: min(100%, 1000px);
    max-width: 1000px;
  }
  .facts-ai {
    padding: 18px 22px;
  }
}

.pulse-kpis-sec {
  padding: 28px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pulse-charts-sec { padding: 48px 0 56px; }
.pulse-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.pulse-head h2 { margin: 0; font-size: 1.15rem; }
.pulse-kpis {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
}
.pulse-note { margin: 10px 0 0; font-size: 13px; max-width: 52em; }
.pulse-kpi {
  padding: 10px 10px 8px; border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-border);
  min-width: 0;
}
.pulse-kpi b {
  display: block; font-size: 1.05rem; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.pulse-kpi span {
  display: block; font-size: 11px; color: var(--faint); line-height: 1.25; margin-top: 2px;
}
.pulse-charts {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px;
}
.pulse-panel {
  padding: 14px 16px 10px; border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-border);
}
.pulse-panel p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.pulse-bar {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; align-items: center;
  margin: 8px 0;
}
.pulse-bar span { font-size: 12px; color: var(--faint); }
.pulse-bar i {
  display: block; height: 7px; border-radius: 0; width: 0;
  background: var(--accent);
  transition: width 1.4s var(--ease);
}
.pulse-bar b { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.pulse-probe {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px;
}
.pulse-probe-out {
  font-variant-numeric: tabular-nums;
  min-width: 7.5em;
}
@media (max-width: 1100px) {
  .pulse-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pulse-charts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pulse-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.foot-badges { color: var(--muted, #9ca8be); font-size: 0.85rem; }
.cap-list { margin: 12px 0 0; padding-left: 1.1rem; }
.cap-list li { margin: 6px 0; }
.prod-compare-h { margin: 28px 0 12px; font-size: 1.15rem; }
.status-locs { list-style: none; padding: 0; }
.status-locs li { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.btn-sm { padding: 8px 12px; min-height: 44px; font-size: 0.85rem; }
@media (max-width: 640px) {
  .pay-qr svg { width: min(88vw, 320px) !important; height: auto; }
  .pay-addr-wrap button, .pay-scan [data-copy], button[data-copy] { min-height: 44px; min-width: 44px; }
}

/* Compact location cards (homepage) and +N flags chip */
.flag-mini {
  position: relative;
  min-height: 0; /* global a,button { min-height: 40px } turned circles into ovals */
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-spring);
}
.flag-mini::after {
  content: ""; position: absolute; inset: -6px; border-radius: inherit;
}
.flag-mini:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.30); }
.flag-more { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.flag-more-n {
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--accent-2); font-variant-numeric: tabular-nums;
}
/* Compact location lists (build.py _loc_expand): first ten items inline, the
   rest sit in .loc-more behind a +N chip. The hidden checkbox toggles them in
   place with display:contents, so the items flow as native children of the
   flex row / grid; no JS. The chip removes itself once expanded. */
.loc-expander {
  position: absolute; width: 1px; height: 1px;
  margin: 0; opacity: 0; pointer-events: none;
}
.loc-more { display: none; }
.loc-expander:checked ~ .loc-more { display: contents; }
.loc-expander:checked ~ .loc-more-btn { display: none; }
.loc-expander:focus-visible ~ .loc-more-btn {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.loc-more-btn {
  cursor: pointer;
  /* the global `label` rule (margin: 0 0 12px) shifts the chip off-center */
  margin: 0;
}
.loc-strip .loc-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 12px; border-radius: 3px;
  box-shadow: var(--shadow-border);
  font-size: 13px; font-weight: 700;
  color: var(--accent-2); font-variant-numeric: tabular-nums;
  transition-property: background-color, box-shadow;
  transition-duration: var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.loc-strip .loc-more-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-border-hover);
}
.dc-grid .loc-more-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 140px; border-radius: 8px;
  border: 1px dashed color-mix(in srgb, var(--faint) 45%, transparent);
  font-size: 15px; font-weight: 700;
  color: var(--accent-2); font-variant-numeric: tabular-nums;
  transition-property: border-color, color;
  transition-duration: var(--dur-fast), var(--dur-fast);
  transition-timing-function: var(--ease);
}
.dc-grid .loc-more-btn:hover { border-color: var(--accent); color: var(--accent); }
.dc-grid:has(.dc-card--mini) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dc-card--mini { gap: 6px; padding: 16px 16px 14px; border-radius: 8px; }
.dc-card--mini .dc-name { font-size: 1.02rem; text-wrap: balance; }
.dc-card--mini .dc-city { margin-top: 0; font-size: 12.5px; }
.dc-card--mini .dc-foot { padding-top: 8px; font-size: 11.5px; }
.dc-card--mini:active { transform: scale(0.96); }
@media (max-width: 1279px) {
  .dc-grid:has(.dc-card--mini) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .dc-grid:has(.dc-card--mini) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dc-grid:has(.dc-card--mini) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Deploy: product switcher (kind) — replaced by #kindGrid .kind-card cards (2026-10-05) */
.plan-pick .spec-chip {
  width: 100%; height: auto; min-height: 0; padding: 4px 9px; border-radius: 7px;
  justify-content: flex-start; text-align: left;
  font-size: 11px; line-height: 1.4;
  white-space: normal; overflow-wrap: anywhere;
}

/* Deploy: location cards - ONE 2-column rule for every touch width.
   Consolidates the old cascade (was: 2893 @640, 2956 @640-1023, this block,
   4683 @720). .on differs only by frame/background - identical min-height and
   padding in both states, selection never changes geometry. */
@media (max-width: 900px) {
  #locGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .choice-loc { min-height: 78px; padding: 10px; gap: 6px; border-radius: 8px; }
  .choice-loc .flag { width: 22px; height: 15px; }
  .choice-loc b { font-size: 0.86rem; line-height: 1.2; }
  .choice-loc .faint { font-size: 0.74rem; }
}

/* Ranking articles: score bars */
.score-cell { min-width: 88px; }
.score-bar {
  display: block; height: 5px; margin-top: 6px; border-radius: 0;
  background: rgba(0, 0, 0, 0.12); overflow: hidden;
}
.score-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }

/* Cross-document view transitions: opacity only — no translateY (causes short vertical jerk). */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: var(--dur-fast) ease-out both vt-page-out; }
  ::view-transition-new(root) { animation: var(--dur-fast) ease-out both vt-page-in; }
  @keyframes vt-page-out { to { opacity: 0; } }
  @keyframes vt-page-in { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Auth: ToS consent row */
.auth-tos {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.45; color: var(--muted);
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.auth-tos input[type="checkbox"] {
  appearance: none; margin: 2px 0 0; width: 20px; height: 20px; flex: 0 0 auto;
  display: grid; place-content: center; border-radius: 4px; cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color var(--dur-fast) var(--ease);
}
.auth-tos input[type="checkbox"]::before {
  content: ""; width: 11px; height: 11px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  background: #06080f; transform: scale(0);
  transition: transform var(--dur-fast) var(--ease-out);
}
.auth-tos input[type="checkbox"]:checked {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.auth-tos input[type="checkbox"]:checked::before { transform: scale(1); }
.auth-tos a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.auth-tos:has(input:focus-visible) { box-shadow: inset 0 0 0 1px var(--accent); }

/* Deploy: quantity stepper */
.qty-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 12px; padding: 10px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line);
}
.qty-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.qty-stepper { display: inline-flex; align-items: center; gap: 12px; }
.qty-btn { position: relative; }
.qty-btn::after { content: ""; position: absolute; inset: -5px; }
.qty-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 0; cursor: pointer;
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.qty-btn:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.qty-btn:active { transform: scale(0.94); }
.qty-val { font-size: 1.05rem; color: var(--text); min-width: 20px; text-align: center; }
.qty-hint { font-size: 12px; }
@media (max-width: 640px) { .qty-hint { display: none; } }

/* Deploy summary inline error: soft, friendly */
#sumErr {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.30);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 12px;
}

/* Article reading rhythm: generous section spacing, scannable emphasis */
.article { line-height: 1.68; }
.article h2 { font-size: 1.4rem; margin: 2.2em 0 0.65em; }
.article h3 { font-size: 1.12rem; margin: 1.8em 0 0.55em; color: var(--text); }
.article ul, .article ol { margin: 0.1em 0 1.2em; padding-inline-start: 1.35em; }
.article li { margin: 0 0 7px; line-height: 1.55; }
.article li > ul, .article li > ol { margin: 6px 0 2px; }
.article .table-wrap { margin: 0.9em 0 1.5em; }
.article .faq { margin: 1.4em 0 1.6em; }
.article p + ul, .article p + ol { margin-top: -0.15em; }
.article b, .article strong { color: var(--text); }

/* Tables on mobile: compact, wrap instead of scroll where possible */
@media (max-width: 640px) {
  .table-wrap { margin-inline: 0; }
  .table-wrap table { font-size: 12.5px; }
  .table-wrap th, .table-wrap td { white-space: normal; vertical-align: top; }
  .table-wrap th, .table-wrap td { padding: 7px 8px; }
  .table-wrap th { font-size: 10.5px; letter-spacing: 0.04em; }
  .table-wrap td:first-child, .table-wrap th:first-child { padding-inline-start: 10px; }
  .table-wrap td:last-child, .table-wrap th:last-child { padding-inline-end: 10px; }
}

/* Deploy: plan cards — spacious, detailed */
/* Billing-term pill: smooth oval segmented control, first element of step 1 */
.term-pill {
  display: flex; width: 100%; gap: 4px;
  padding: 4px; border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: var(--shadow-border);
  margin: 2px 0 14px;
}
.term-seg {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 1 1 0; min-width: 0; min-height: 52px;
  padding: 8px 20px; border: 0; border-radius: calc(var(--radius) - 4px);
  background: transparent; color: var(--muted); font: inherit; cursor: pointer;
  transition-property: background-color, color, transform, box-shadow;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur), var(--dur-fast);
  transition-timing-function: var(--ease), var(--ease), var(--ease-spring), var(--ease);
}
.term-seg b { font-size: 13px; font-weight: 600; line-height: 1.1; }
.term-seg:hover { color: var(--text); }
.term-seg:active { transform: scale(0.96); }
.term-seg.on { background: var(--card-2); color: var(--text); box-shadow: var(--shadow-border); transform: scale(1.02); }
.tp-mid { display: inline-flex; align-items: center; gap: 6px; }
.tp-hint { font-size: 11.5px; }
.tp-price { font-size: 14px; font-variant-numeric: tabular-nums; }
.tp-save { font-size: 10.5px; font-weight: 700; color: var(--accent-2); margin-inline-start: 2px; }
.tp-save.tp-list { color: var(--faint); font-weight: 600; }

/* Year segment: accent highlight */
.term-seg.best {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent);
}
.term-seg.best b { color: var(--accent-2); }
.term-seg.best .tp-price { color: var(--accent-2); }
.term-seg.best .tp-save { color: var(--accent-2); }
.term-seg.best.on {
  background: color-mix(in srgb, var(--accent) 16%, var(--card));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 48%, transparent);
}
/* Light pop on the yearly save badge when the year segment gets selected */
@media (prefers-reduced-motion: no-preference) {
  .term-seg.best.on .tp-save { animation: tp-save-pop var(--dur) var(--ease-spring); }
}
@keyframes tp-save-pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Migration push (shown only for the VPS kind): one quiet line above the plans */
/* Trust line under the summary total (.sum-totals grid gap handles spacing) */
.sum-trust { font-size: 11.5px; }

/* Slot-machine digit roll for changing prices */
.slot-price { display: inline-flex; white-space: pre; font-variant-numeric: tabular-nums; }
.slot-col { display: inline-block; overflow: hidden; height: 1.22em; }
.slot-reel { display: block; transform: translateY(0); transition: transform var(--dur-slow) var(--ease-out); }
.slot-reel > i { display: block; height: 1.22em; line-height: 1.22em; font-style: normal; }
.slot-reel.rolled { transform: translateY(-1.22em); }
/* Plan-card price: ink→accent gradient text. Fallback (no clip support): solid ink.
   The rolling .slot-reel is transformed, i.e. it paints on its own layer outside the
   parent's text clip - it carries the same clipped fill so digits stay visible
   during and after the roll. */
#planGrid .plan-pick .slot-price { color: var(--ink); }
@supports (-webkit-background-clip: text) {
  #planGrid .plan-pick .slot-price,
  #planGrid .plan-pick .slot-price .slot-reel {
    background-image: linear-gradient(100deg, #ffffff 20%, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
@media (max-width: 720px) {
  .term-pill { flex-direction: column; }
  .term-seg {
    flex-direction: row; justify-content: space-between;
    min-height: 44px; padding: 8px 16px; text-align: left;
  }
  /* full-width rows: the selected-segment scale would overflow the pill */
  .term-seg.on { transform: none; }
}
@media (min-width: 640px) {
  #planGrid .plan-pick { gap: 9px; padding: 18px 18px 16px; border-radius: var(--radius); }
#planGrid .plan-pick.pop {
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 40%, transparent), var(--shadow-border);
  background: linear-gradient(165deg, var(--card) 40%, color-mix(in srgb, var(--accent) 9%, var(--card)));
}
#planGrid .plan-pick .plan-pop {
  display: inline-flex; align-items: center; margin-inline-start: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent-2); padding: 3px 7px; border-radius: var(--radius-pill);
  vertical-align: middle;
}
#planGrid .plan-pick .price {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.1;
}
#planGrid .plan-pick .price-unit { font-size: 12px; color: var(--faint); font-weight: 500; }
#planGrid .plan-pick-top .tier { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }

  #planGrid .plan-pick .tier { font-size: 1.08rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
  #planGrid .plan-pick .price { font-size: 1.9rem; font-variant-numeric: tabular-nums; }
  #planGrid .plan-pick .price .price-unit { font-size: 12px; }
  #planGrid .plan-vs { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
  #planGrid .plan-pick-meta { gap: 9px; margin-top: 2px; }
  #planGrid .plan-pick .spec-line { display: flex; align-items: center; gap: 9px; font-size: 13px; }
  #planGrid .plan-pick .spec-line .ico { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }
  #planGrid .plan-pick .spec-line b { font-weight: 600; color: var(--text); }
  #planGrid .plan-pick .spec-chip {
    margin-top: auto; align-self: flex-start; padding: 4px 10px; border-radius: 3px;
    font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.35;
    background: rgba(0, 0, 0, 0.04); box-shadow: inset 0 0 0 1px var(--line);
  }
  #planGrid .plan-pick:hover { transform: translateY(-2px); }
  #planGrid .plan-pick.is-paused:hover { transform: none; }
}
@media (max-width: 640px) {
  #planGrid .plan-pick { gap: 8px; padding: 14px 12px; }
  #planGrid .plan-vs { font-size: 12px; line-height: 1.4; }
}

/* ==== Design system: motion + wizard polish ==== */
/* One-shot stagger of wizard cards at boot */
#checkout.is-enter .choice,
#checkout.is-enter .plan-pick,
#checkout.is-enter .term-pick,
#checkout.is-enter .addon-pick {
  animation: card-in var(--dur) var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes card-in { from { opacity: 0; transform: translateY(5px); } }

/* Summary: progress dots + qty chip + due bump */
.sum-dots { display: flex; gap: 6px; margin: 0 0 12px; }
.sum-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color var(--dur) var(--ease-out);
}
.sum-dot.on { background: var(--accent); }
.sum-qty {
  font-size: 0.8em; font-weight: 700; color: var(--accent-2);
  padding: 2px 7px; border-radius: 6px; margin-inline-start: 4px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-variant-numeric: tabular-nums;
}
@keyframes due-bump { 50% { transform: scale(1.06); } }
.grand strong.bump { display: inline-block; animation: due-bump var(--dur) var(--ease-out); }

/* Mobile sticky summary bar: centered compact pill */
.sum-bar {
  display: none;
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100vw - 24px));
  z-index: 40; padding: 12px 18px; border: 0; border-radius: 980px;
  background: var(--card-2); color: var(--text); font: inherit; font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
  cursor: pointer; text-align: center; font-variant-numeric: tabular-nums;
}
@media (max-width: 1023px) {
  .sum-bar { display: block; }
  .summary-card { padding-bottom: 72px; }
}

/* Mobile sticky CTA bar (money lines: storage / dedicated). Fixed to the
   viewport bottom like .sum-bar; hidden by default, so >=1024px never sees it.
   Rendered outside <main>, so page-bottom padding keeps it off the footer. */
.sticky-cta { display: none; }
@media (max-width: 1023px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom, 0px));
    z-index: 40; padding: 10px 16px; border-radius: 8px;
    background: var(--card-2); color: var(--text);
    box-shadow: var(--shadow-border), var(--shadow-elev);
    font-variant-numeric: tabular-nums;
  }
  body:has(> .sticky-cta) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta-plan { display: grid; line-height: 1.25; min-width: 0; }
  .sticky-cta-plan b { font-size: 14px; white-space: nowrap; }
  .sticky-cta-price { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .sticky-cta .btn { flex: 0 0 auto; }
}

/* Scroll reveal (JS-gated) */

/* Hover gaps closed */
.bound-card { transition: box-shadow var(--dur-fast) var(--ease); }
.bound-card:hover { box-shadow: var(--shadow-border-hover); }
.server-card { transition: box-shadow var(--dur-fast) var(--ease); }
.server-card:hover { box-shadow: var(--shadow-border-hover); }

/* Pay: friendly empty state */
.pay-noorder { text-align: center; padding: 40px 16px; }
.pay-noorder h2 { margin: 0 0 8px; }
.pay-noorder .btn { margin-top: 14px; }

/* ═══ VPSbit · Apple-minimal polish layer (2026-09-27) ═══
   Перекрывает разрозненные правила: крупная тихая типографика, воздух,
   тени вместо рамок, пилюли-кнопки, ноль декоративного шума. */

h1, h2, h3, h4 { text-wrap: balance; font-weight: 600; letter-spacing: -0.015em; }
p, li { text-wrap: pretty; }

/* header — Apple translucent */


/* promo-line вместо факт-палитки */
.topbar-facts { background: var(--bg-elev); }
.topbar-facts p { text-align: center; font-size: 14px; color: var(--muted); padding: 12px 0; margin: 0; }

/* hero — крупно и спокойно (base .hero block is the single source; v157) */
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { font-size: 21px; line-height: 1.4; color: var(--muted); max-width: 34em; }

/* kicker — циановый eyebrow, моно-префикс выпилен */
.kicker { font-family: var(--font-ui); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; color: var(--accent-2); margin-bottom: 12px; background: none; box-shadow: none; padding: 0; }
.kicker::before { content: none; }

/* spec-strip — компактные моно-пилюли в один поток */
.spec-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.spec-strip .spec-chip, .spec-chip { display: inline-flex; align-items: center; height: 28px; min-width: 0; padding: 0 10px; border-radius: 980px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text) !important; font-family: var(--font-mono); font-size: 12px; white-space: nowrap !important; background: var(--card) !important; box-shadow: inset 0 0 0 1px var(--line) !important; height: 28px !important; padding: 0 10px !important; border-radius: 980px !important; display: inline-flex !important; align-items: center !important; }
/* plan-pick chips are informational CPU names: they wrap inside the card
   instead of overflowing it (counter to the global pill hammer above). */
.plan-pick .spec-chip {
  display: block !important;
  width: 100% !important; height: auto !important; min-height: 0 !important;
  padding: 4px 9px !important; border-radius: 7px !important;
  white-space: normal !important; text-align: left !important;
  font-size: 11px !important; line-height: 1.4 !important;
}
.spec-strip .spec-chip:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.spec-strip .spec-div { display: none; }

/* buttons: final values live in the base .btn block (v157); contextual radii below */
.card .btn, .invoice .btn { border-radius: var(--radius-pill); }

/* карточки — белые, крупные радиусы, слоистая тень */
.dc-card, .kind-card, .server-card, .summary-card, .how-card, .dply-step, .pulse-panel, .inv-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  border: none;
}
.dc-card:hover { transform: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 14px 36px rgba(0, 0, 0, 0.08); }

/* таблицы — тихие, внутри белой карточки */
.table-wrap { border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.04); background: var(--card); }
.table-wrap th { font-family: var(--font-ui); text-transform: none; font-size: 12px; font-weight: 600; color: var(--muted); background: transparent; border-top: none; border-bottom: 1px solid var(--line); padding: 14px 16px; }
.table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: none; }

/* декор — выключен */
.has-ornament > .wrap::before, .has-ornament > .wrap::after { display: none; }
.section-alt { border: none; }

/* код и SKU — единственные моноширинные зоны */
code, pre, .dply-cmd { }

/* хедер — translucent белая */


/* ═══ VPSbit · product pages + footer + motion (2026-09-27, audit pass) ═══ */
html { scroll-behavior: smooth; }

/* product hero — заголовок по размеру страницы, не билборд */
.hero-product { padding: 72px 0 48px; }
.hero-product h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.12; }
.hero-product .price-pair { font-size: 17px; color: var(--text); margin: 14px 0 20px; }
.hero-product .price-pair b { font-weight: 600; }

/* home ledger — centered heading was superseded by the left-aligned hybrid copy (v157) */
#ledger .plan-board { text-align: left; }
#ledger .plan-head { align-items: center; gap: 16px; }

/* capabilities/durability — карточка, 2 колонки, тихие маркеры */
.cap-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  background: var(--card); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 40px;
  padding: 24px 28px;
}
.cap-list li { margin: 10px 0; padding-left: 22px; position: relative; color: var(--muted); font-size: 15.5px; }
.cap-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--accent); }
.cap-list li b { color: var(--text); font-weight: 600; }

/* таблицы — не расползаются */
.table-wrap { overflow-x: auto; }
.table-wrap td, .table-wrap th { overflow-wrap: break-word; vertical-align: top; }
.what-fits td { max-width: 46ch; }

/* topbar — разделители */
.topbar-facts p span + span::before { content: " · "; color: var(--faint); }

/* footer — колонки открыты, ссылки тихие */
.foot-sec summary { list-style: none; cursor: default; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.foot-sec summary::-webkit-details-marker { display: none; }
.foot-sec a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-sec a:hover { color: var(--accent-2); }

/* микро-движение: ссылки и навигация */
.nav a, .foot-sec a, .nv-link { transition: color var(--dur-fast) var(--ease); }
.btn { will-change: auto; }

/* what-fits: перенос длинных «почему» */
.what-fits td, .what-fits th { white-space: normal; }

/* ═══ Hybrid hero money pages (2026-09-27; consolidated v157 — ex-!important waves folded) ═══
   Brand lockup + commercial H1/CTA + plan ledger in one first viewport. Copy left, art right. */
.hero-hybrid {
  padding: 32px 0 36px;
  background: transparent;
  text-align: left;
}
.hero-hybrid > .wrap { max-width: var(--max); }
.hero-hybrid-copy {
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: none; margin: 0; text-align: left;
}
.hero-hybrid .kicker { margin-bottom: 8px; }
.hero-hybrid h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.05;
  margin: 0 0 12px; max-width: 14ch;
  text-wrap: balance;
}
.hero-hybrid .lead {
  font-size: 1.05rem;
  line-height: 1.4; color: var(--muted);
  max-width: 42ch; margin: 0 0 18px;
  text-wrap: pretty;
}
.hero-hybrid .hero-ctas {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: flex-start; align-items: center; margin: 0 0 18px;
}
.hero-hybrid .hero-trust {
  display: flex; flex-wrap: wrap; gap: 4px 0;
  justify-content: flex-start; align-items: center;
  margin: 0; padding: 0; font-size: 13px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hero-hybrid .hero-trust span + span::before {
  content: " · "; color: var(--faint);
}
.hero-hybrid .hero-trust b { color: var(--text); font-weight: 600; }
.hero-hybrid .price-pair,
.hero-hybrid .spec-price {
  font-size: 16px; color: var(--text); margin: 10px 0 18px;
  font-variant-numeric: tabular-nums;
}
.hero-hybrid .prod-ledger-h {
  margin: 36px 0 10px; text-align: left; width: 100%;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.hero-hybrid .plan-ledger-lead,
.hero-hybrid .plan-vs-lead { text-align: left; margin-inline: 0; max-width: none; }
.hero-hybrid .table-wrap,
.hero-hybrid #planGrid { text-align: left; }

/* stagger enter — hybrid copy only (ledger stays solid for SEO/scan) */
.hero-hybrid-copy .kicker,
.hero-hybrid-copy h1,
.hero-hybrid-copy .lead,
.hero-hybrid-copy .hero-ctas,
.hero-hybrid-copy .hero-trust {
  animation: enter var(--dur-slow) var(--ease-spring) both;
}
.hero-hybrid-copy .kicker { animation-delay: 50ms; }
.hero-hybrid-copy h1 { animation-delay: 100ms; }
.hero-hybrid-copy .lead { animation-delay: 180ms; }
.hero-hybrid-copy .hero-ctas { animation-delay: 260ms; }
.hero-hybrid-copy .hero-trust { animation-delay: 320ms; }

/* plan board inside hybrid hero */
.hero-hybrid .plan-board {
  margin-top: 4px; padding: 14px;
  border-radius: calc(var(--radius-sm) + 14px);
  background: rgba(18, 23, 34, 0.78);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.hero-hybrid .plan-board .table-wrap {
  border-radius: var(--radius-sm);
  background: var(--card);
}
.hero-hybrid .kind-switch,
.section-ledger .kind-switch {
  width: min(100%, 420px);
  height: 48px;
  padding: 4px; border-radius: 12px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hero-hybrid .kind-switch label,
.section-ledger .kind-switch label {
  min-height: 0; height: 100%; padding: 0 8px; border-radius: 9px;
  font-size: 13px;
  transition-property: background-color, color, transform, box-shadow;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast), var(--dur-fast);
}
#kind-vps:checked ~ .plan-head .kind-switch label[for="kind-vps"],
#kind-stor:checked ~ .plan-head .kind-switch label[for="kind-stor"],
#kind-ded:checked ~ .plan-head .kind-switch label[for="kind-ded"] {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-border);
}

.section-ledger { padding: 56px 0 72px; background: var(--bg); }
.section-ledger .table-wrap {
  border-radius: var(--radius);
  background: var(--card);
}

.cta-band {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--bg-elev);
  box-shadow: none;
  gap: 20px;
}
.cta-band .btn { border-radius: var(--radius-pill); }

.kind-switch label .ico {
  width: 14px; height: 14px; margin-inline-end: 6px;
  opacity: 0.7; color: currentColor;
  display: inline-block; vertical-align: -2px;
}

/* ═══ Shell polish (header / footer / logo) ═══ */
.logo {
  font-weight: 700; letter-spacing: -0.03em; font-size: 1.05rem;
  transition-property: opacity;
  transition-duration: var(--dur-fast);
}
.logo:hover { opacity: 0.72; }
.logo-mark {
  border-radius: 8px;
  outline: 0;
  box-shadow: none;
}
.logo:hover .logo-mark { box-shadow: none; }
.header-launch {
  min-height: 40px;
  border-radius: var(--radius-pill);
  transition-property: transform, background-color, box-shadow;
  transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast);
}
.burger {
  width: 40px; height: 40px; min-width: 40px;
  display: inline-flex; align-items: center; justify-content: center;
}
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  box-shadow: none;
}
.site-footer .logo { font-size: 1rem; }
.site-footer .logo-mark { width: 24px; height: 24px; border-radius: 7px; }
.foot-grid a, .foot-sec a { min-height: 36px; }
.foot-more-grid a { min-height: 32px; }

/* product hybrid copy wrap (crumbs align; copy margin handled by base) */
.hero-hybrid.hero-product .hero-hybrid-copy .crumbs {
  align-self: flex-start; margin-bottom: 8px;
}
.pricing-ledgers { text-align: left; }
.pricing-ledgers .prod-ledger-h { margin-top: 0; }

/* ═══ Brand wave: ink CTA + orange accent (2026-09-27) ═══
   (btn/kicker values folded into base blocks v157) */
.nav a:hover::after, .nav a[aria-current]::after { background: var(--accent); }
.hero h1 em, a.nv-link, .price-pair b, .spec-price b { color: var(--accent-2); }
.sum-dot.on { background: var(--accent) !important; }

/* denser hybrid: values folded into the .hero-hybrid base block (v157) */


.header-launch {
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  border-radius: 10px !important;
}
.cta-band {
  background: var(--card) !important;
  box-shadow: var(--shadow-border) !important;
  border-radius: var(--radius-lg) !important;
}
.table-wrap {
  box-shadow: var(--shadow-border) !important;
}
.table-wrap tr:hover td { background: rgba(34, 211, 238, 0.04); }
.cap-list li::before { background: var(--accent) !important; }

.drawer a.drawer-deploy {
  background: var(--accent) !important;
  color: #04121a !important;
  border-radius: 12px !important;
}

/* ═══ VPSCrypto-density layer (VPSbit ink/orange) ═══ */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(820px 480px at 82% -6%, rgba(34, 211, 238, 0.09), transparent 60%),
    radial-gradient(680px 460px at 2% 4%, rgba(0, 0, 0, 0.05), transparent 58%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(rgba(0, 0, 0, 0.045) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 0, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 0, #000, transparent 72%);
}

.status-strip {
  font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  border-bottom: 1px solid var(--line); background: var(--card);
}
.ss-in { display: flex; align-items: center; gap: 18px; height: 34px; }
.ss-live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.ss-live .dot, .kicker-pill .dot {
  position: relative; width: 7px; height: 7px; border-radius: 50%;
  background: var(--good); flex: none;
}
.ss-live .dot::after, .kicker-pill .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(26, 127, 55, 0.35);
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.2); opacity: 0.9; }
  70% { transform: scale(1); opacity: 0; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.ss-pay { margin-inline-start: auto; }
.ss-pay b { color: var(--accent-2); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: transparent !important; border-bottom: 0 !important;
  height: auto !important; padding: 12px 0 0;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.site-header .wrap { height: auto; }
.navpill {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: rgba(18, 23, 34, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 980px;
  padding: 8px 10px 8px 16px;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.14);
}
.navpill .nav { margin-inline-start: 4px; }
.navpill .nav a {
  padding: 8px 12px; border-radius: 980px; font-size: 14px;
}
.navpill .nav a::after { display: none; }
.navpill .nav a:hover { background: var(--bg-elev); color: var(--text); }
.navpill .header-actions { margin-inline-start: auto; }
.navpill .header-launch {
  border-radius: 980px !important; padding: 0 18px; height: 40px;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.45);
}
.navpill .btn-ghost { border-radius: 980px; height: 40px; box-shadow: none; background: transparent; }
.navpill .burger { border-radius: 50%; }

.kicker-pill {
  display: inline-flex !important; align-items: center; gap: 8px;
  font-family: var(--font-mono) !important; font-size: 12px !important;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2) !important;
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 6px 12px; border-radius: 980px; margin-bottom: 14px !important;
}

.textlink {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-sm);
  background: transparent; font: inherit;
  font-weight: 600; font-size: 14px; color: var(--muted);
  cursor: pointer;
  transition-property: color, background-color, transform; transition-duration: var(--dur-fast);
}
.textlink:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.textlink:active { transform: scale(0.96); }
.textlink:hover { color: var(--accent-2); transform: translateX(2px); }

/* Hero art rail — single source of truth (waves folded 2026-09-27 v157) */
.hero-art {
  position: relative; display: grid; place-items: center;
  min-height: 280px; border-radius: 8px; overflow: hidden; background: transparent;
}
.hero-art-card {
  width: min(100%, 320px); aspect-ratio: 1; border-radius: 28px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.22);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  overflow: hidden; position: relative;
}
.hero-art-card--void {
  width: min(100%, 560px); aspect-ratio: 16 / 9;
  background: transparent; border-color: transparent;
  justify-content: flex-end; padding: 16px; gap: 4px;
  box-shadow: none;
}
.hero-art .hero-art-still {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.pricetag {
  position: absolute; z-index: 3; top: 28px; left: 8%;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.16);
  border-radius: 14px; padding: 10px 15px; font-size: 12.5px; color: var(--muted);
  transform: rotate(-5deg); font-variant-numeric: tabular-nums;
}
.pricetag b { font-size: 22px; color: var(--text); letter-spacing: -0.02em; }
.pricetag i { font-style: normal; color: var(--faint); font-size: 12px; }

.statbar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden; margin: 0 0 28px;
}
.statbar .s {
  padding: 18px 14px; text-align: center; border-inline-start: 1px solid var(--line);
}
.statbar .s:first-child { border-inline-start: 0; }
.statbar .s b {
  font-size: 22px; color: var(--text); display: block; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; font-weight: 700;
}
.statbar .s span { font-size: 11.5px; color: var(--faint); font-family: var(--font-mono); }

.ticker {
  margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px;
  overflow: hidden; max-width: 520px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 22px; white-space: nowrap;
  animation: marq 40s linear infinite; will-change: transform;
}
.ticker .t-lbl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
}
.ticker .t-coin {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.ticker .t-coin .coin { width: 16px; height: 16px; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Home hero LOCATIONS rail: sits between statbar and the plan card. The base
   .flag-row is inline-flex with no margins, so the card's border ends up flush
   against the flag circles; block-flex + the statbar's own 28px bottom rhythm. */
.hero-hybrid > .wrap > .flag-row {
  display: flex;
  margin: 0 0 28px;
}
.hero-hybrid .plan-board {
  margin-top: 0 !important; padding: 0 !important;
  background: var(--card) !important; border: 1px solid var(--line);
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: visible;
}
.hero-hybrid .plan-head { padding: 16px 22px 8px; }
.hero-hybrid .plan-note { padding: 0 22px 10px; margin: 0; }

.prow-board { display: flex; flex-direction: column; }
.prow {
  display: grid;
  grid-template-columns: 1.1fr 2fr 1fr auto;
  align-items: center; gap: 14px;
  padding: 16px 22px; border-top: 1px solid var(--line);
  transition-property: background-color; transition-duration: 150ms;
}
.prow.head {
  border-top: 0; background: var(--card);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--faint); padding-top: 12px; padding-bottom: 12px;
}
.prow:not(.head):hover { background: rgba(34, 211, 238, 0.04); }
.prow .pn { font-weight: 700; font-size: 16px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.prow-pop {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25); padding: 2px 8px; border-radius: 980px;
}
.prow.pop {
  background: var(--card);
  border-top: 1px solid rgba(34, 211, 238, 0.25);
  border-bottom: 1px solid rgba(34, 211, 238, 0.25);
}
.prow.pop:hover { background: var(--card); }
.prow .specs { display: flex; flex-wrap: wrap; gap: 4px 0; }
.prow .v {
  display: inline-flex; align-items: center; gap: 5px;
  display: inline-flex; align-items: center; gap: 5px;
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
}
.prow .v + .v::before { content: ""; margin: 0 10px 0 0; }
.prow .v .ico { width: 14px; height: 14px; color: var(--accent); flex: 0 0 auto; opacity: 0.9; }
.prow .v b { color: var(--text); font-weight: 600; }
.prow .pp {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.15;
  font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.prow .pp-val { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.prow .pp small { font-size: 12px; color: var(--faint); font-weight: 500; margin: 0 0 0 2px; }
@supports (-webkit-background-clip: text) {
  .prow .pp-val {
    background-image: linear-gradient(100deg, #ffffff 15%, var(--accent-2) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.prow .pcta .btn { height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--radius-sm); }
.prow-board { border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-border); }
.prow { border-radius: 0; }

/* Uniform Deploy container in every prow: the popular row is highlighted by its
   background only, its button looks the same as everyone else's. */
.prow .pcta > a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border-radius: var(--radius-sm);
  background: var(--accent); color: #04121a;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.prow .pcta > a:hover { background: #67e8f9; color: #04121a; transform: translateY(-1px); }

.prow-more { padding: 12px 22px 18px; margin: 0; }

.cfg-bar {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end;
  padding: 16px 18px; margin: 0 0 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; z-index: 20;
}
.cfg-bar.cfg-open { z-index: 80; }
.cfg-lab {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 6px;
}
.cfg-loc { position: relative; display: flex; flex-direction: column; min-width: 0; flex: 1.2; }
.cfg-loc-native { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.cfg-loc-btn {
  display: flex; align-items: center; gap: 10px; width: 100%;
  height: 48px; padding: 0 12px 0 10px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--card);
  cursor: pointer; text-align: left; color: var(--text);
}
.cfg-loc-btn:hover { border-color: rgba(34, 211, 238, 0.35); }
.cfg-loc-btn .flag { width: 28px; height: 20px; border-radius: 3px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.cfg-loc-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.cfg-loc-meta b { font-size: 14px; font-weight: 700; line-height: 1.15; }
.cfg-loc-meta i { font-style: normal; font-size: 12px; color: var(--muted); }
.cfg-chev {
  width: 8px; height: 8px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); margin: 0 2px 4px; flex: 0 0 auto;
  transition: transform var(--dur-fast) ease;
}
.cfg-open .cfg-chev { transform: rotate(225deg); margin-bottom: 0; margin-top: 4px; }
.cfg-loc-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 320px; overflow: auto; z-index: 40;
  background: #10151f; border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
  padding: 6px;
}
.cfg-loc-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 10px; background: transparent;
  cursor: pointer; text-align: left; color: var(--text);
}
.cfg-loc-opt:hover { background: rgba(34, 211, 238, 0.06); }
.cfg-loc-opt.on { background: rgba(34, 211, 238, 0.1); }
.cfg-loc-opt .flag { width: 26px; height: 18px; border-radius: 3px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.cfg-prem {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--accent-2); background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22); padding: 2px 7px; border-radius: 980px;
  flex: 0 0 auto; margin-left: auto;
}
.cfg-prem.is-base {
  color: var(--muted); background: var(--card);
  border-color: rgba(0, 0, 0, 0.08);
}
.cfg-term-wrap { display: flex; flex-direction: column; }
.cfg-term { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border-radius: 12px; height: 48px; box-sizing: border-box; }
.cfg-term-btn {
  height: 100%; padding: 0 14px; border: 0; border-radius: 10px; background: transparent;
  font-size: 13px; font-weight: 650; color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.cfg-term-btn.on { background: rgba(34, 211, 238, 0.10); color: var(--text); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35); }
.cfg-save {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--accent-2); background: rgba(34, 211, 238, 0.10);
  padding: 2px 6px; border-radius: 980px;
}
.quick-deploys { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 100%; min-width: 0; }
/* config.js hides the whole strip when the page has no prow ledger to price
   from (display:flex above would otherwise defeat the hidden attribute) */
.quick-deploys[hidden] { display: none; }
.qdep-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.qdep {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px;
  border-radius: 980px; border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.10); color: var(--accent-2); font-size: 12px; font-weight: 700;
  text-decoration: none;
}
.qdep .flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.qdep:hover { background: rgba(34, 211, 238, 0.14); }
.cfg-hint {
  flex-basis: 100%; margin: 0; font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.cfg-hint-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15); flex: 0 0 auto;
}
.loc-prem {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--accent-2); margin-left: 4px;
}

.shead { margin-bottom: 28px; max-width: 720px; }
.shead .num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-2);
}
.shead h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0 0; }
.shead p { color: var(--muted); font-size: 1.05rem; margin-top: 12px; max-width: 52ch; }
.sec-pad { padding: 72px 0; }
.home-sec.sec-pad { padding: 72px 0; }

.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost:hover { transform: translateY(-1px); }
.dc-card:hover { transform: translateY(-3px); }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.hero-hybrid .reveal { opacity: 1; transform: none; } /* first paint visible for SEO */

.hero-coins--strip { opacity: 0.85; font-size: 13px; margin-top: 14px; padding-top: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  /* Home hero art becomes a faint backdrop: out of flow, behind the copy, no layout shift */
  .hero-grid:has(.garg-stage) { position: relative; }
  .hero-art:has(.garg-stage) {
    position: absolute; inset: 0; z-index: 0;
    display: flex; align-items: flex-end; justify-content: center;
    padding-top: 45%;
    min-height: 0; pointer-events: none;
  }
  .hero-art:has(.garg-stage) .garg-stage { opacity: 0.45; }
  .hero-art:has(.garg-stage) .pricetag,
  .hero-art:has(.garg-stage) .promo-chip { display: none; }
  .hero-hybrid-copy { position: relative; z-index: 1; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .statbar .s:nth-child(n+3) { border-top: 1px solid var(--line); }
  .statbar .s:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .statbar .s:nth-child(odd) { border-inline-start: 0; }
  .statbar .s:last-child { grid-column: 1 / -1; }
  .navpill { border-radius: 16px; padding: 8px 10px; }
  .ss-locs { display: none; }
}
@media (max-width: 900px) {
  .prow.head { display: none; }
  .prow {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "pn pp"
      "specs specs"
      "pcta pcta";
    row-gap: 12px; column-gap: 12px; padding: 14px 16px;
    align-items: baseline;
  }
  .prow .pn { grid-area: pn; align-items: baseline; min-width: 0; }
  .prow .pp { grid-area: pp; justify-self: end; align-items: flex-end; text-align: right; }
  .prow .pp-val { font-size: 1.5rem; }
  .prow .specs { grid-area: specs; gap: 6px; }
  .prow .specs .v {
    padding: 4px 10px; border: 1px solid var(--line);
    border-radius: 980px; background: var(--bg-elev); font-size: 12px;
  }
  .prow .specs .v + .v::before { content: none; }
  .prow .v.net { display: none; }
  .prow .pcta { grid-area: pcta; }
  .prow .pcta > a { width: 100%; }
}
@media (max-width: 720px) {
  .statbar { grid-template-columns: 1fr 1fr; }
  .statbar .s { border-inline-start: 0; border-top: 1px solid var(--line); }
  .statbar .s:nth-child(1), .statbar .s:nth-child(2) { border-top: 0; }
  .statbar .s:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .statbar .s:nth-child(5) { grid-column: 1 / -1; }
  .status-strip .ss-in { justify-content: center; gap: 10px; height: 30px; }
  .ss-pay { margin: 0; }
}

/* ═══ Null identity + VPSCrypto feature/how blocks ═══ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feat {
  background: var(--card);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-border);
  transition-property: transform, box-shadow;
  transition-duration: var(--dur), var(--dur);
  transition-timing-function: var(--ease);
}
.feat:hover { transform: translateY(-2px); box-shadow: var(--shadow-border-hover); }
.feat .ico {
  width: 22px; height: 22px; color: var(--accent);
  margin-bottom: 14px;
}
.feat img.ico { display: block; object-fit: contain; }
.feat h3 {
  font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -0.015em;
}
.feat p {
  margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.how-step {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-border);
}
.how-n {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.how-step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.how-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.how-cta { text-align: center; margin: 8px 0 0; }
@media (max-width: 900px) {
  .feat-grid, .how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feat-grid, .how-grid { grid-template-columns: 1fr; }
}


/* Section head — text-only (side figures removed 2026-09-27); .shead-split just widens the block */
.shead-split { max-width: none; }
.shead-split > div .num { display: inline-block; }
.hero-product .hero-grid,
.hero-loc .hero-grid,
#pricing-ledger .hero-grid {
  margin-bottom: 28px;
}
.hero-product .prod-ledger-h,
.hero-product .plan-ledger-lead,
.hero-product .plan-vs-lead,
#pricing-ledger .pricing-ledgers {
  margin-top: 8px;
}
.dc-art {
  margin: 0 0 10px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b0e14;
  border: 1px solid var(--line);
}
.dc-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dc-prem {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--on-accent); background: var(--accent-2); padding: 3px 7px; border-radius: 2px;
  white-space: nowrap;
}
.dc-top { flex-wrap: wrap; gap: 6px; }
.dc-card { padding: 22px 22px 18px; }
.article .src-fig {
  margin: 18px 0 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg, #0b0e14);
}
.article .src-fig img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  box-shadow: none;
}
.section.sec-pad, .home-sec.sec-pad, .section-dc.sec-pad { padding: 64px 0; }
.section { padding: 56px 0; }
.section-sm { padding: 40px 0; }
@media (max-width: 900px) {
  .shead-split { max-width: none; }
}
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .section.sec-pad, .home-sec.sec-pad, .section-dc.sec-pad { padding: 48px 0; }
  .section { padding: 40px 0; }
}


/* Deploy / checkout polish */
.hero-checkout--tight { padding: 20px 0 8px !important; }
.hero-checkout--tight .checkout-head { margin: 12px 0 0; }
.hero-checkout--tight .checkout-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.hero-checkout .summary-card,
.hero-checkout .card,
.wizard .summary-card {
  border-radius: var(--radius-lg) !important;
}
.dply-n { border-radius: 12px !important; }
.step-pill { border-radius: var(--radius-pill) !important; }
#kindGrid .choice-kind { border-radius: var(--radius) !important; }
.addon-pick { border-radius: var(--radius) !important; }
.plan-pick, .term-pick { border-radius: var(--radius) !important; }

/* Home Gargantua — static black hole */
.garg-stage {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
}
.garg-stage img {
  display: block; width: 100%; height: auto;
  outline: 0 !important;
  pointer-events: none;
  user-select: none;
}
.garg-body { z-index: 1; }
.hero-art:has(.garg-stage) { min-height: 0; }
.hero-art:has(.garg-stage) .pricetag { top: 10%; left: 0; z-index: 3; }

@media (max-width: 720px) {
  .wizard { grid-template-columns: 1fr; }
  .term-pill { flex-wrap: wrap; height: auto; }
  .term-seg { min-height: 48px; padding: 10px 12px; }
  .prow .v.net { display: none; }
}

/* CSP-safe replacements for former inline styles (style-src 'self') */
.rack-line{display:flex;flex-wrap:wrap;gap:1rem;align-items:stretch}
.rack{border:1px solid var(--line,#232b3a);border-radius:10px;padding:.75rem;min-width:230px;flex:1 1 230px}
.rack-head{display:flex;justify-content:space-between;gap:.5rem;align-items:baseline;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;margin-bottom:.5rem}
.rack-units{display:flex;flex-direction:column;gap:3px}
.rack-unit{display:flex;align-items:center;gap:.5rem;border:1px solid var(--line,#232b3a);border-radius:5px;padding:.25rem .5rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem}
.rack-led{width:7px;height:7px;border-radius:50%;background:#2f9e6e;flex:0 0 auto}
.rack-led--dim{background:#a7b0ab}
.rack .faint{margin:.4rem 0 0;font-size:.72rem}
.ri-0{--i:0}.ri-1{--i:1}.ri-2{--i:2}.ri-3{--i:3}.ri-4{--i:4}.ri-5{--i:5}.ri-6{--i:6}.ri-7{--i:7}
.tr-hl{background:rgba(34, 211, 238, 0.10)}

/* Location picker: custom dropdown + popular tiles (2026-09-27 v2) */
.loc-picker { display: grid; gap: 14px; max-width: 680px; }
#locGrid .loc-picker { grid-column: 1 / -1; width: 100%; max-width: none; }
@media (max-width: 720px) {
  #locGrid .loc-picker { grid-column: 1 / -1; }
}
.loc-dd { position: relative; }
.loc-dd-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--text);
  font: inherit; cursor: pointer; text-align: left;
}
.loc-dd-btn:hover { border-color: var(--faint); }
.loc-dd-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.loc-dd-btn .flag { width: 26px; height: 17px; }
.loc-dd-btn b { font-size: .95rem; }
/* Fixed button skeleton (2026-09-28): flag/name/city/badge slots keep their
   geometry in the placeholder state too - selection changes visibility only. */
.loc-dd-btn .loc-dd-ph { color: var(--faint); font-weight: 400; }
.loc-dd-btn .dd-flag-slot {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 17px;
}
.loc-dd-btn .dd-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-dd-btn .dd-city { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-dd-btn .dd-badge { flex: 0 0 auto; min-width: 3.4em; margin-left: 0; text-align: right; }
.loc-dd-btn .dd-badge.dd-hide { visibility: hidden; }
.loc-dd-caret {
  margin-left: auto; flex: 0 0 auto;
  width: 8px; height: 8px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-fast) var(--ease);
}
.loc-dd.open .loc-dd-caret { transform: rotate(-135deg) translateY(-2px); }
.loc-dd-panel {
  position: absolute; z-index: 30;
  top: calc(100% + 6px); left: 0;
  width: 100%;
  max-height: 320px; overflow-y: auto;
  background: #10151f;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
  padding: 6px;
  display: grid; gap: 2px;
}
.loc-dd-panel[hidden] { display: none; }
.loc-dd-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; cursor: pointer;
}
.loc-dd-opt:hover, .loc-dd-opt:focus-visible { background: var(--bg-elev); outline: none; }
.loc-dd-opt.sel { background: rgba(34, 211, 238, 0.12); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35); }
.loc-dd-opt .flag { width: 24px; height: 16px; }
.lo-name { display: grid; min-width: 0; }
.lo-name b { font-size: .9rem; }
.lo-name .faint { font-size: .74rem; }
.loc-dd-opt .loc-prem { margin-left: auto; }
.loc-pop-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.loc-pop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 8px; }
/* Mobile (<=720px): the country picker goes full width. The open panel is
   anchored right under the button (absolute, not a fixed bottom sheet), so it
   never jumps far below the tap point. z-index 65 clears the sticky header
   (60) and modal shells (50-52); it ties with the nav drawer (65) - the
   drawer renders earlier in the DOM, so the picker would paint above it only
   if both were open at once. */
@media (max-width: 720px) {
  .loc-pop-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
  .loc-dd-panel {
    z-index: 65;
    width: 100%;
    max-height: min(45vh, 380px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }
  .loc-dd-opt { padding: 11px 12px; }
}

/* Step 5: server access */
.srv-access { display: grid; gap: 12px; max-width: 640px; }
.field-row { display: grid; gap: 6px; }
.fr-label { font-weight: 600; font-size: .92rem; }
.fr-hint { font-size: .78rem; }
#srvLabel, .ssh-box textarea {
  font: inherit;
  font-family: var(--font-mono);
  padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--text);
  width: 100%;
}
#srvLabel:focus-visible, .ssh-box textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ssh-hint { margin: 10px 2px 0; font-size: 12px; line-height: 1.5; }
.ssh-box { display: grid; gap: 10px; border-top: 1px dashed var(--line); padding-top: 14px; }
.ssh-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* Skip / download actions: quiet ghost chips next to the primary Generate button */
.ssh-row .textlink {
  border: 1px solid var(--line); border-radius: 980px; padding: 6px 12px;
}
.ssh-row .textlink:hover { transform: none; }
.ssh-note { margin: 0; font-size: 12.5px; }
.ssh-priv { background: var(--bg-elev); font-size: .72rem; }

/* Home hero promo stickers */
.promo-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  padding: 7px 12px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  white-space: nowrap;
  pointer-events: none;
}
.promo-chip--kyc { top: 4%; right: 2%; transform: rotate(3deg); }
.promo-chip--xmr { bottom: 14%; right: -2%; transform: rotate(-2deg); }
.promo-chip--fast { bottom: 2%; left: 4%; transform: rotate(-4deg); }

/* ═══ UX wave 2 (2026-09-27): compact footer, bigger hero art, compact tables, motion ═══ */

/* --- Footer: one screen-fit density --- */
.site-footer { padding: 26px 0 14px !important; }
.foot-grid { grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); gap: 6px 16px; }
.foot-grid a, .foot-sec a { min-height: 24px; font-size: 12.5px; }
.foot-sec summary { min-height: 24px; }
.foot-more-grid a { min-height: 22px; font-size: 12px; }
.site-footer .foot-grid > div > p { font-size: 12px; margin-top: 4px; }
.legal-row { margin-top: 10px; padding-top: 10px; }

/* --- Footer mobile (<=720px): accordion sections, flat foot-more, tidy legal row.
   Sections start collapsed - app.js drops the `open` attribute on phones (CSS
   cannot collapse an open <details>). Desktop footer is untouched. --- */
@media (max-width: 720px) {
  .foot-grid { gap: 4px 0; }
  .foot-sec { border-top: 1px solid var(--line); }
  .foot-sec summary { min-height: 44px; margin: 0; }
  .foot-sec > summary::after {
    content: ""; flex: 0 0 auto; margin-inline-start: auto; margin-inline-end: 2px;
    width: 7px; height: 7px;
    border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--dur-fast) var(--ease);
  }
  .foot-sec[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
  /* nested foot-more: flat continuation of the section list, no second frame */
  .foot-more { margin: 0; padding: 0; border-top: 0; }
  .foot-more > summary { min-height: 40px; font-size: 11px; }
  .foot-more-grid a { min-height: 40px; }
  .legal-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* --- Tables: compact, fit desktop, scroll on mobile --- */
table { font-size: 13px; }
th, td { padding: 8px 10px; }
.table-wrap table { font-size: 12.5px; }
.table-wrap th, .table-wrap td { padding: 7px 9px; }
.table-wrap th { white-space: nowrap; }
.table-wrap td { white-space: normal; vertical-align: top; max-width: 34ch; }
.table-wrap td:last-child, .table-wrap th:last-child { padding-right: 12px; }
@media (max-width: 720px) {
  .table-wrap { margin-inline: -6px; padding-inline: 6px; border-radius: 10px; }
  .table-wrap table { font-size: 12px; }
  .table-wrap th, .table-wrap td { padding: 6px 8px; }
}

/* --- Motion (CSP-safe classes only; black hole stays static by owner decision) --- */
.promo-chip { animation: chip-in var(--dur) var(--ease-spring) both; }
.promo-chip--xmr { animation-delay: 90ms; }
.promo-chip--fast { animation-delay: 180ms; }
.pricetag { animation: chip-in var(--dur) var(--ease-spring) both; }
.plan-pick, .feat, .choice, .addon-pick, .card, .loc-info, .rack {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.plan-pick:not(.is-paused):hover, .feat:hover, .choice:hover, .addon-pick:hover, .rack:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.35);
}
.sum-dot { transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.sum-dot.on { transform: scale(1.12); }
table tbody tr { transition: background var(--dur-fast) var(--ease); }
.textlink { transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }

/* ═══ Responsive & motion pass (2026-09-27 v157): hero cascade fix, tap targets, unified motion ═══ */

/* --- Hero art rail: faint full-bleed backdrop on phones (decoration, not
       content) — same pattern as the home hero backdrop above --- */
@media (max-width: 720px) {
  .hero-product .hero-grid,
  .hero-loc .hero-grid,
  #pricing-ledger .hero-grid { position: relative; }
  .hero-product .hero-art,
  .hero-loc .hero-art,
  #pricing-ledger .hero-art {
    position: absolute; inset: 0; z-index: 0;
    display: flex; align-items: center; justify-content: center;
    min-height: 0; opacity: 0.15; pointer-events: none;
  }
  .hero-product .hero-art .pricetag,
  .hero-product .hero-art .promo-chip,
  .hero-loc .hero-art .pricetag,
  .hero-loc .hero-art .promo-chip,
  #pricing-ledger .hero-art .pricetag,
  #pricing-ledger .hero-art .promo-chip { display: none; }
  .hero-product .hero-hybrid-copy,
  .hero-loc .hero-hybrid-copy,
  #pricing-ledger .hero-hybrid-copy { position: relative; z-index: 1; }
  /* Article covers stay visible on phones: compact crop with a soft fade at
     the bottom edge instead of a hard cut */
  .article .src-fig img {
    display: block; width: 100%; height: auto;
    max-height: 240px; object-fit: cover;
    border-radius: var(--radius);
    -webkit-mask-image: linear-gradient(#000 80%, transparent 100%);
    mask-image: linear-gradient(#000 80%, transparent 100%);
  }
  .garg-stage { width: min(100%, 380px); }
  .hero-hybrid { padding: 28px 0 24px; }
  .hero-hybrid h1 { max-width: none; }
}

/* --- Tap targets >= 44px on touch layouts (footer link rows: 40px) --- */
@media (max-width: 1023px) {
  .burger { width: 44px; height: 44px; min-width: 44px; }
  .lang-chip { width: 44px; height: 44px; }
  .foot-grid a, .foot-sec a, .foot-more-grid a { min-height: 40px; display: flex; align-items: center; }
  .textlink { min-height: 44px; }
}

/* --- Motion tokens (Г): one scale, one global reduce switch --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-name: none !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ═══ Table warmth restore ═══
   v157 (app.css:3854) flattened the ledger headers to plain text. These rules
   sit AFTER that wave, so plain source order - no !important - re-richens th. */
.table-wrap th {
  background: var(--bg-elev);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
}
@media (max-width: 640px) {
  /* keep the compact phone size the 640 wave set before this restore */
  .table-wrap th { font-size: 10.5px; }
}

/* ═══ Burger contrast ═══
   Header wave (app.css:4163) makes .site-header transparent; the navpill is
   white but the burger must survive any backdrop. White chip + hairline ring,
   ink strokes - later in source than both base (.burger, :293) and the wave. */
.burger {
  background: rgba(18, 23, 34, 0.92);
  box-shadow: inset 0 0 0 1px var(--line-2);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 10px;
}
.burger span { background: var(--text); }

/* --- Footer mobile: single column, calm rows (final cascade wins) --- */
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; gap: 4px 0; }
  .site-footer .foot-grid > div > p { margin-bottom: 14px; }
  .foot-sec { border-top: 1px solid var(--line); padding: 6px 0 10px; }
  .foot-sec summary { min-height: 36px; font-size: 11px; }
  .foot-grid a, .foot-sec a { min-height: 34px; display: flex; align-items: center; }
  .foot-more-grid a { min-height: 26px; }
  .foot-more { border-top: 1px dashed var(--line); padding-top: 4px; }
  .legal-row { padding-top: 12px; }
  .site-footer { padding-bottom: 74px; } /* clearance for the sticky CTA bar */
}

/* ═══ Section reveal on moneyPath pages ═══
   app.js adds .rv to main>section (hero skipped) at runtime only - static
   markup never carries .rv, so a failed/absent JS load cannot hide content
   (no js-on guard needed). rv-in lands via the same IntersectionObserver
   that handles .reveal; reduced-motion never adds .rv at all. */
.rv { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ═══ Locations hub tighten ═══
   Scoped to body[data-path="locations/"]: .loc-table-wrap also wraps tables
   on non-hub pages (build.py in-page ledgers), those stay untouched. */
body[data-path="locations/"] .section { padding: 36px 0; }
@media (max-width: 640px) {
  body[data-path="locations/"] .loc-table-wrap { font-size: 12px; }
  body[data-path="locations/"] .loc-table-wrap .table-wrap th,
  body[data-path="locations/"] .loc-table-wrap .table-wrap td { padding: 8px 10px; }
}

/* ═══ Footer: single column through the tablet range (721-1023px) ═══
   The UX-wave-2 footer globals (~4917) out-cascade the older 641-1023 media
   block (~3055), so tablets kept a 5-column foot-grid whose column headings
   collided with the brand cell. This block sits last in source, so it wins;
   <=720px stays governed by the tidy block (~5066) which it mirrors. */
@media (min-width: 721px) and (max-width: 1023px) {
  .foot-grid { grid-template-columns: 1fr; gap: 4px 0; }
  .site-footer .foot-grid > div > p { margin-bottom: 14px; }
  .foot-sec { border-top: 1px solid var(--line); padding: 6px 0 10px; }
  .foot-sec summary { min-height: 36px; font-size: 11px; }
  .foot-grid a, .foot-sec a { min-height: 34px; display: flex; align-items: center; }
  .foot-more-grid a { min-height: 26px; }
  .foot-more { border-top: 1px dashed var(--line); padding-top: 4px; }
  .legal-row { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; }
  .site-footer { padding-bottom: 74px; }
  /* Note: the `.site-footer { padding: 26px 0 14px !important }` shorthand at
     ~4918 outranks the line above, so it is belt-and-suspenders only; the real
     sticky-cta clearance comes from body:has(> .sticky-cta) padding (~3903). */
}

/* ═══ Drawer extras: status line + language switcher clone ═══
   Markup lives in base.html before .drawer-actions. The cloned .lang-wrap keeps
   the header chip/menu mechanics (app.js binds every [data-lang-open]), but the
   sheet flows in-column instead of floating over the drawer. Higher specificity
   here also undoes the <=1023px icon-only chip (~2940, ~5021). */
.drawer-status {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 13px; font-weight: 500;
  box-shadow: 0 1px 0 var(--line);
}
.drawer-status .dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.drawer-status a { display: inline; min-height: 0; padding: 0; background: none; box-shadow: none; color: var(--accent-2); font-weight: 650; }
.drawer-status a:hover { color: var(--accent); background: none; box-shadow: none; }
.drawer-lang { display: grid; gap: 2px; padding-top: 4px; }
.drawer-lang .lang-wrap { position: static; }
.drawer-lang .lang-chip { width: 100%; height: auto; min-height: 44px; justify-content: flex-start; padding: 0 12px; }
.drawer-lang .lang-chip > span:not(.flag) { display: inline; }
.drawer-lang .lang-menu { position: static; width: 100%; max-height: none; padding: 4px 0 0; background: transparent; box-shadow: none; }
.drawer-lang .lang-menu a { box-shadow: none; }

/* --- Country picker: nothing may exceed the viewport --- */
@media (max-width: 720px) {
  .loc-pop-grid, #locGrid { grid-template-columns: repeat(auto-fill, minmax(min(128px, 100%), 1fr)); }
  .choice-loc, .loc-dd-opt, .loc-picker { min-width: 0; max-width: 100%; }
  .loc-dd-opt .lo-name { min-width: 0; overflow: hidden; }
  .loc-dd-btn .dd-city { display: none; }
}

/* --- Unified motion for board/kind switches (pure CSS radio tabs) --- */
/* Boards stay stacked in the "board" grid area; inactive ones fade out with a
   delayed visibility flip, so the card height is constant and the page below
   never jumps. No JS, no display toggling. */
.plan-board .plans-vps, .plan-board .plans-stor, .plan-board .plans-ded {
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
#kind-vps:checked ~ .plans-vps,
#kind-stor:checked ~ .plans-stor,
#kind-ded:checked ~ .plans-ded {
  opacity: 1; visibility: visible;
  transition: opacity var(--dur) var(--ease), visibility 0s;
}
/* Row stagger: rows of the shown board fade in top-down (--i is baked per row
   by build.py plan_prows()); disappearing rows get 0ms delay. */
.plan-board .prow-board .prow:not(.head) {
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: 0ms;
}
#kind-vps:checked ~ .plans-vps .prow:not(.head),
#kind-stor:checked ~ .plans-stor .prow:not(.head),
#kind-ded:checked ~ .plans-ded .prow:not(.head) {
  opacity: 1; transform: none;
}
/* Stagger by DOM position (head is child 1) — CSP-clean, no inline --i. */
#kind-vps:checked ~ .plans-vps .prow:nth-child(3),
#kind-stor:checked ~ .plans-stor .prow:nth-child(3),
#kind-ded:checked ~ .plans-ded .prow:nth-child(3) { transition-delay: 35ms; }
#kind-vps:checked ~ .plans-vps .prow:nth-child(4),
#kind-stor:checked ~ .plans-stor .prow:nth-child(4),
#kind-ded:checked ~ .plans-ded .prow:nth-child(4) { transition-delay: 70ms; }
#kind-vps:checked ~ .plans-vps .prow:nth-child(5),
#kind-stor:checked ~ .plans-stor .prow:nth-child(5),
#kind-ded:checked ~ .plans-ded .prow:nth-child(5) { transition-delay: 105ms; }
#kind-vps:checked ~ .plans-vps .prow:nth-child(6),
#kind-stor:checked ~ .plans-stor .prow:nth-child(6),
#kind-ded:checked ~ .plans-ded .prow:nth-child(6) { transition-delay: 140ms; }
#kind-vps:checked ~ .plans-vps .prow:nth-child(7),
#kind-stor:checked ~ .plans-stor .prow:nth-child(7),
#kind-ded:checked ~ .plans-ded .prow:nth-child(7) { transition-delay: 175ms; }
@media (prefers-reduced-motion: reduce) {
  .plan-board .plans-vps, .plan-board .plans-stor, .plan-board .plans-ded,
  .plan-head .plan-sub-vps, .plan-head .plan-sub-stor, .plan-head .plan-sub-ded,
  .plan-board .prow-board .prow:not(.head) {
    transition: none; transition-delay: 0ms;
  }
  .plan-board .prow-board .prow:not(.head) { transform: none; }
}

/* --- Hero single column on narrow screens (final cascade; pills stay one-line) --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ═══ Hero backdrop: calm natural layers (2026-09-29) ═══
   Pure CSS, painted UNDER the content (.hero > .wrap keeps z-index 1 from ~357;
   the gargantua art and its chip/pricetag stacking are untouched). Cyan and violet
   washes over graphite, matched to the Obsidian palette.
   display:block is required: `.hero::before/::after { display: none }` (~355)
   has equal specificity and would otherwise win. */
.hero-hybrid::before {
  content: ""; display: block; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(34, 211, 238, 0.14), transparent 62%),
    radial-gradient(760px 380px at 88% -6%, rgba(124, 140, 255, 0.12), transparent 60%),
    radial-gradient(640px 420px at 55% 112%, rgba(14, 116, 144, 0.14), transparent 64%),
    linear-gradient(180deg, rgba(16, 20, 29, 0.50), rgba(11, 14, 20, 0) 46%);
}
.hero-hybrid::after {
  content: ""; display: block; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* --- nvRollValue (app.js): the price cell doubles as a one-line odometer ---
   The leaving span is absolute (never affects layout); the entering span is in
   flow, so the cell width always matches the fresh value. No spans, no change. */
.pp-val { display: inline-block; position: relative; overflow: hidden; }
.pp-val .nv-roll-out { position: absolute; inset: 0; pointer-events: none; }

/* --- Collapsed long tables (app.js clamps >8-row tables; see tables v3) --- */
.table-wrap.tbl-clamped { overflow-y: hidden; }
.table-wrap.tbl-clamped:not(.tbl-open) {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 56px), transparent 100%);
}
.tbl-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; min-width: 40px; padding: 0 18px; margin-top: 10px;
  border: 0; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--card); color: var(--accent-2);
  font-family: var(--font-ui); font-size: 13px; font-weight: 650;
  box-shadow: var(--shadow-border);
  transition: background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.tbl-toggle:hover { background: var(--card-2); box-shadow: var(--shadow-border-hover); }

/* ═══ tables v3: final word ═══
   Scoped to .table-wrap tables (inner th/td). .fact-table and .inv-table are
   not inside .table-wrap and stay untouched; #panelApp gets an explicit opt-out
   below. Later waves (incl. the !important wrap shadow at ~4226) lose to this
   layer by order; !important only where nothing else would win. */
.table-wrap table { font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { padding: 12px 16px; }
.table-wrap td { font-size: 14px; }
.table-wrap th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); background: none; border-bottom: 1px solid var(--line-2);
}
.table-wrap tr:hover td { background: rgba(34, 211, 238, 0.04); }
.table-wrap td:last-child, .table-wrap th:last-child { padding-right: 16px; }
@media (max-width: 640px) {
  .table-wrap td { font-size: 13px; }
  .table-wrap th, .table-wrap td { padding: 9px 10px; }
  .table-wrap td:last-child, .table-wrap th:last-child { padding-right: 10px; }
}
/* #panelApp keeps its pre-v3 dense skin — the panel is out of scope here */
#panelApp .table-wrap table { font-variant-numeric: auto; }
#panelApp .table-wrap th {
  font-size: 12px; text-transform: none; letter-spacing: 0.1em;
  background: transparent; border-bottom: 1px solid var(--line);
}
#panelApp .table-wrap td { font-size: 12.5px; }
#panelApp .table-wrap th, #panelApp .table-wrap td { padding: 7px 9px; }
#panelApp .table-wrap td:last-child, #panelApp .table-wrap th:last-child { padding-right: 12px; }
#panelApp .table-wrap tbody tr:nth-child(even) td { background: transparent; }

/* --- Status strip: breathe off the very top, paint above the sticky navpill --- */
.status-strip { position: relative; z-index: 70; padding-top: env(safe-area-inset-top, 0px); }
@media (max-width: 720px) {
  .status-strip { padding-top: calc(env(safe-area-inset-top, 0px) + 3px); }
}

/* --- Price roll: solid ink while a roll is in flight. The WebKit
   background-clip:text gradient does not repaint onto transformed child
   spans, so without this the digits blink out mid-roll. --- */
.pp-val.nv-rolling,
.prow .pp-val.nv-rolling {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--ink) !important;
}
.status-strip { padding-top: calc(env(safe-area-inset-top, 0px) + 3px); }

/* --- Spec strip: layout moved out of inline styles (CSP style-src 'self') --- */
.spec-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.spec-strip .spec-chip { white-space: nowrap; }

/* --- Footer contrast: --faint on --bg-elev is ~3.9:1, below AA for 11px --- */
.site-footer .legal-row, .site-footer .foot-grid h4 { color: var(--muted); }

/* --- Status strip: never let "Pay with crypto · ∅ KYC" wrap to a 2nd line --- */
.status-strip { overflow: hidden; }
.status-strip .ss-in { white-space: nowrap; }
.status-strip .ss-live, .status-strip .ss-pay { white-space: nowrap; }
@media (max-width: 480px) {
  .status-strip .ss-in { gap: 8px; height: 28px; font-size: 11px; }
}

/* web3 wallet sign-in + pay-in */
.auth-wallet[hidden] { display: none !important; }
.auth-wallet { display: grid; gap: 8px; margin: 12px 0 0; }
.auth-wallet-list { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-wallet-opt { min-width: 44px; min-height: 44px; padding: 0 12px; justify-content: center; font-weight: 700; }
.auth-wallet-opt:active { transform: scale(0.97); }
.auth-wallet-opt[disabled] { opacity: .6; pointer-events: none; }
.auth-wallet-ico { width: 24px; height: 24px; border-radius: 5px; object-fit: contain; display: block; }

/* checkout: "pay with wallet" area */
.pay-wallet { display: grid; gap: 8px; margin: 12px 0 0; }
.pay-wallet[hidden] { display: none !important; }
.pay-wallet-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-wallet-btn { min-height: 46px; display: inline-flex; align-items: center;
  gap: 8px; justify-content: center; font-weight: 700; }
.pay-wallet-btn img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.pay-wallet-btn:active { transform: scale(0.97); }
.pay-wallet-btn[disabled] { opacity: .6; pointer-events: none; }
.pay-wallet-err { color: var(--danger, #f87171); font-size: 13px; margin: 6px 0 0; }
.pay-wallet-note { font-size: 12.5px; color: var(--faint); margin: 0; }
.auth-wallet-or { margin: 12px 0 0; text-align: center; }
/* phones: wallet buttons stack full-width for a comfortable thumb target */
@media (max-width: 720px) {
  .pay-wallet-list { display: grid; }
  .pay-wallet-btn { width: 100%; }
}

/* wallet-payable CTA next to the pick heading + the /pay/wallet/ step */
.pay-pick-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; }
.pay-wallet-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent, #8b5cf6) 45%, transparent);
  background: color-mix(in srgb, var(--accent, #8b5cf6) 12%, transparent);
  color: inherit; font-weight: 700; font-size: 13px; text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
  white-space: nowrap;
}
.pay-wallet-cta:hover { border-color: var(--accent, #8b5cf6); transform: translateY(-1px); }
.pay-wallet-cta:active { transform: scale(0.98); }
.pay-wallet-logos { display: inline-flex; }
.pay-wallet-logos img {
  width: 22px; height: 22px; border-radius: 50%; object-fit: contain;
  background: #fff; padding: 2px; box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.pay-wallet-logos img + img { margin-left: -7px; }
.pay-wp-coins { margin: 10px 0 0; }
.pay-wp-list { display: grid; gap: 8px; margin: 14px 0 0; }
.pay-wp-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 56px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: transparent; color: inherit; font: inherit; font-weight: 700;
  cursor: pointer; text-align: left;
  transition: border-color 160ms ease, background 160ms ease;
}
.pay-wp-btn:hover { border-color: var(--accent, #8b5cf6); background: color-mix(in srgb, var(--accent, #8b5cf6) 8%, transparent); }
.pay-wp-btn img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: #fff; padding: 2px; box-sizing: border-box; }
.pay-wp-btn .pay-coin-go { margin-left: auto; }
.pay-wp-btn.is-busy { opacity: .75; pointer-events: none; }
.pay-wp-btn[disabled] { pointer-events: none; }
.pay-wp-note { margin: 12px 0 0; }
.pay-wp-back { margin: 8px 0 0; }
@media (max-width: 720px) {
  .pay-wallet-cta { width: 100%; justify-content: center; }
}

/* calm reveal of the coin pick after the skeleton, no layout shift */
@media (prefers-reduced-motion: no-preference) {
  .pay-pick-h1, .pay-amt, .pay-coin-list, .pay-wp-list, .pay-wallet-cta {
    animation: nv-soft-in 260ms ease-out both;
  }
  .pay-coin-list .pay-coin-card { animation: nv-soft-in 300ms ease-out both; }
  .pay-coin-list .pay-coin-card:nth-child(2) { animation-delay: 40ms; }
  .pay-coin-list .pay-coin-card:nth-child(3) { animation-delay: 80ms; }
  .pay-coin-list .pay-coin-card:nth-child(4) { animation-delay: 120ms; }
  .pay-coin-list .pay-coin-card:nth-child(5) { animation-delay: 160ms; }
  .pay-coin-list .pay-coin-card:nth-child(n + 6) { animation-delay: 200ms; }
}

/* ═══ Ambient background (2026-10-04): canvas geometry + slow gradient tint ═══ */
html { background: var(--bg); }
body { background: transparent; }
.bg-ambient {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.bg-ambient .bg-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.bg-ambient::before,
.bg-ambient::after {
  content: ""; position: absolute; inset: -25%;
  background:
    radial-gradient(55% 45% at 15% 10%, rgba(34, 211, 238, 0.14), transparent 62%),
    radial-gradient(50% 42% at 88% 22%, rgba(124, 140, 255, 0.13), transparent 64%);
  animation: bg-tint 26s ease-in-out infinite alternate;
}
.bg-ambient::after {
  background:
    radial-gradient(48% 40% at 72% 88%, rgba(34, 211, 238, 0.11), transparent 60%),
    radial-gradient(42% 38% at 8% 78%, rgba(124, 140, 255, 0.10), transparent 60%);
  animation: bg-tint 26s ease-in-out infinite alternate-reverse;
}
@keyframes bg-tint { from { opacity: 0.3; } to { opacity: 1; } }
/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), transform 0.7s cubic-bezier(0.2, 0, 0, 1); }
.reveal.in { opacity: 1; transform: none; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  .bg-ambient::before, .bg-ambient::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   UI pass 2026-10-04: видимая тёмная тема. Все правила ниже переопределяют
   исходные за счёт порядка в файле (та же специфичность, позднее каскад).
   ========================================================================== */

/* Токен --shadow-border остался от светлой темы: чёрное кольцо rgba(0,0,0,.06)
   на #0b0e14/#121722 невидимо — фактическое разделение поверхностей 1.08:1
   (< 3:1 WCAG 1.4.11). Светлое кольцо по образцу .flag-mini/.coin; hover —
   чуть ярче и глубже, чтобы состояние читалось. Одно изменение чинит все
   карточки: FAQ, .trust-chip, .prow-board, .article-offer, .btn-ghost. */
:root {
  --shadow-border: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.07);
  --shadow-border-hover: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
  --faint: #7d8aa3; /* 4.23:1 → 5.55:1 на #0b0e14 (AA-порог 4.5:1) */
}

/* Мобильная липкая панель итога заказа: была card-2 на bg (контраст 1.13:1)
   с единственной чёрной тенью — пилюля «Due now $X» невидима на самом дне
   воронки. Акцентная заливка как у .btn-primary: текст 10.5:1 (AAA). */
.sum-bar {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 12px 30px -12px rgba(0, 0, 0, 0.7);
  transition-property: transform, background-color, box-shadow;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
.sum-bar:hover { background: #67e8f9; }
/* центрация translateX(-50%) обязана сохраниться в нажатии */
.sum-bar:active { transform: translateX(-50%) scale(0.96); }

/* Оффер-блок статьи — главный мост «статья → чекаут»: акцентный вес по образцу
   .answer-first, чтобы конверсионный блок не выглядел слабее соседнего текста. */
.article-offer-mid {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.07), var(--card));
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.30);
}

/* Переключатель VPS/Dedicated на план-бордах (/ , /vps/ , /dedicated/):
   трек rgba(0,0,0,.05) невидим, активный таб сливался с бордой (--card на --card).
   Активное состояние — как у .cfg-term-btn.on: заливка + внутренний ринг. */
.hero-hybrid .kind-switch,
.section-ledger .kind-switch {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
#kind-vps:checked ~ .plan-head .kind-switch label[for="kind-vps"],
#kind-stor:checked ~ .plan-head .kind-switch label[for="kind-stor"],
#kind-ded:checked ~ .plan-head .kind-switch label[for="kind-ded"] {
  background: rgba(34, 211, 238, 0.10);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35);
}

/* Обязательный минимум: цены в hero-блоках и стат-плитках не прыгают по ширине.
   (.btn/:active scale(0.96), h1/h2 balance, p pretty, :focus-visible,
   .card:hover translateY(-2px) уже есть выше по файлу — не дублируем.) */
.price-pair b, .spec-price b, .s > b { font-variant-numeric: tabular-nums; }

/* Токен-модалка: строка-предупреждение на всю ширину и «Continue» во всю ширину,
   пара «Copy / Download .txt» — в верхнем ряду сетки .auth-token-continue. */
.auth-token-continue { grid-template-columns: 1fr 1fr; }
.auth-token-continue #authContinue { grid-column: 1 / -1; }
.auth-browser-warn { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.45; }

/* ===== VPSbit 2.0: контраст/иерархия на тёмной теме (WCAG). ==================
   Пункты, уже закрытые выше по файлу и НЕ дублируемые здесь:
   1) .sum-bar — accent-заливка var(--accent), текст var(--on-accent) #04121a,
      тень 0 12px 30px -12px rgba(0,0,0,.7) (~5393); контраст текста 10.5:1 AAA
      (проверено: #04121a на #22d3ee = 10.50, на hover #67e8f9 = 13.09).
   3) .btn:active scale(0.96) — строка 382; transition-property уже точечный
      (transform, background-color, border-color, filter, box-shadow) — строка 379.
   4) tabular-nums: .price-pair b, .spec-price b — 5431; .statbar .s b — 4292.
   5) h1/h2 text-wrap: balance — 70; p/li/blockquote pretty — 72.
   6) :focus-visible outline accent для a, button, input, select, textarea,
      summary — строка 63, 3px/offset 3px (суперсет запрошенных 2px/2px).
   8) .table-wrap scroll-x: overflow-x auto + -webkit-overflow-scrolling — 1241;
      обычный .dc-grid уже 1fr с ≤640px — строка 3245. */

/* 2. --faint #6b768c → #7d8aa3. Замер: 4.23:1 на #0b0e14 (ниже AA 4.5:1) →
   5.55:1 (AA pass), на приподнятой #121722 — 5.15:1. Переопределяем токен
   в конце файла: позднее :root перевешивает объявление из шапки (строка 12),
   все 53 потребителя var(--faint) — .faint, .dc-sla, .statbar .s span,
   .pay-wallet-note и др. — светлеют разом. */
:root { --faint: #7d8aa3; }

/* 7. Усиленная тень ховера карточек: токен --shadow-border-hover (строка 31)
   несёт rgba(0,0,0,.10) — на #0b0e14 она не читается. Кладём глубокую тёмную
   тень вторым слоем, сохраняя 1px-кольцо токена; сам подъём translateY(-2px)
   уже в строке 1235 (a.card / .card.clickable). */
a.card:hover, .card.clickable:hover {
  box-shadow: var(--shadow-border-hover), 0 12px 32px -12px rgba(0, 0, 0, 0.65);
}

/* 8. Мобильные правки ≤480px. */
@media (max-width: 480px) {
  /* padding секций 18px: было 28px (.section, media ~2854) / 36–48px
     (.section-compact, .home-sec). data-path-оверрайды pay//deploy/
     (специфичность 0,2,1 против наших 0,1,0) сохраняются. */
  .section, .home-sec, .section-compact, .section-sm { padding: 18px 0; }

  /* сетка локаций в 1 колонку: mini-вариант держал 2 колонки до конца (3507) */
  .dc-grid:has(.dc-card--mini) { grid-template-columns: 1fr; }

  /* hit-area ≥40px: .inv-sk-btn был 36px (1923), .spec-chip 30px (427/446).
     Пол .btn = 44px по базе (375); пол 44px страхует варианты с уменьшенной
     высотой (например .tok-row .btn, 2458 — перекрыт явно ниже). */
  .inv-sk-btn { height: 40px; }
  .spec-chip { height: 40px; min-width: 40px; }
  .btn { min-height: 44px; }
  .tok-row .btn { min-height: 44px; padding-block: 6px; }
}

/* ═══ Visual polish pass (2026-10-04, make-interfaces-feel-better) ═══ */
/* image outlines: consistent depth on dark (pure white, never tinted) */
.src-fig img, .prod-hero img, .hero-art img, .hero-art-still,
.dc-card img, .article-fig img, figure img {
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}
/* headings: balance; body: pretty */
h1, h2, h3 { text-wrap: balance; }
/* cards: consistent hover lift + deeper shadow (shadows over borders) */
.card, .dc-card, .plan-row { transition: transform var(--dur-fast, 0.15s) cubic-bezier(0.2, 0, 0, 1), box-shadow var(--dur-fast, 0.15s) cubic-bezier(0.2, 0, 0, 1); }
.card:hover, .dc-card:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 18px 42px -18px rgba(0, 0, 0, 0.6); }
/* buttons: press scale */
.btn:active { transform: scale(0.96); }
/* staggered grid children on reveal */
.reveal.in .card:nth-child(2) { transition-delay: 60ms; }
.reveal.in .card:nth-child(3) { transition-delay: 120ms; }
.reveal.in .card:nth-child(4) { transition-delay: 180ms; }
/* minimum hit areas */
a, button { min-height: 40px; }

/* checkout step headings: individual icons (2026-10-04) */
.dply-step-head h2 .ico {
  width: 18px; height: 18px; display: inline-block; vertical-align: -3px;
  margin-inline-end: 8px; opacity: 0.9;
}

/* ═══ Footer accordion (2026-10-05): collapsed categories, tap to expand ═══ */
.foot-sec { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.foot-sec > summary {
  list-style: none;
  cursor: pointer;
  min-height: 40px; /* hit area */
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  transition: color var(--dur-fast, 0.15s) var(--ease, ease);
}
.foot-sec > summary::-webkit-details-marker { display: none; }
.foot-sec > summary::after {
  content: "+";
  font-size: 15px; font-weight: 700; line-height: 1;
  color: var(--accent);
  transition: transform var(--dur-fast, 0.15s) var(--ease, ease);
}
.foot-sec[open] > summary { color: var(--text); }
.foot-sec[open] > summary::after { content: "3"; transform: none; }
.foot-sec > summary:hover { color: var(--text); }
.foot-sec > a:first-of-type { margin-top: 6px; }
.site-footer .foot-grid { align-items: start; }


/* ═══ Narrow phones (≤360px): stack what assumed ≥390 (2026-10-05) ═══ */
@media (max-width: 720px) {
  .wrap { padding-inline: 12px; }
  #cfg-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
  .cfg-loc { width: 100%; flex: none; }
  .quick-deploys { flex: 1 1 auto; width: 100%; }
  .cfg-term-wrap { width: 100%; }
  .cfg-term { width: 100%; }
  .cfg-loc-meta b, .cfg-loc-meta i { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cfg-loc-btn .cfg-prem { flex: 0 0 auto; }
  .prow {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "pn"
      "pp"
      "specs"
      "pcta";
  }
  .prow .pp { justify-self: start; align-items: flex-start; text-align: left; }
  .plan-pick { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: 1fr 1fr; }
}

/* Deploy step-5: key actions row — aligned dark text buttons */
.ssh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ═══ Orphan rows: last odd card spans the full row (tablet audit) ═══ */
@media (max-width: 1023px) {
  .plan-grid .plan-pick:last-child:nth-child(odd),
  #locGrid .loc-card:last-child:nth-child(odd),
  .step-grid .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
  .flag-mini { width: 24px; height: 24px; }
  .flag-mini .flag { width: 14px; height: 10px; }
  .loc-strip, .home-locs { gap: 6px; }
}

/* Step head: subtitle lines up with the title, not the badge */
.dply-step-head { align-items: flex-start; }
.dply-step-head .faint { margin: 4px 0 0; }
