/* VoltKeys storefront. Voltage forge: near-black, amber/gold, metal + glass.
   Strict CSP: no inline styles; dynamic values arrive as custom properties.
   Pattern: every animated element's BASE style is its final static state, the
   keyframes only describe the way in. Disabling animation is therefore safe. */
:root {
  color-scheme: dark;
  --ink: #07080a;
  --coal: #0a0b0e;
  --panel: #0f1217;
  --steel: #181c23;
  --steel-2: #232935;
  --line: #2a303b;
  --line-soft: rgba(255, 255, 255, .08);
  --amber: #f5a623;
  --gold: #ffc24d;
  --warm: #ffd389;
  --deep: #8b5312;
  --paper: #f6f2ea;
  --muted: #a9b0bd;
  --glow: rgba(245, 166, 35, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: ui-sans-serif, "SF Pro Display", "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
  background: var(--ink);
  color: var(--paper);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 6rem }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(900px 520px at 50% -80px, rgba(245, 166, 35, .13), transparent 70%),
    radial-gradient(700px 500px at 100% 30%, rgba(245, 166, 35, .05), transparent 70%),
    linear-gradient(var(--ink), var(--coal));
  background-attachment: fixed;
}
.site-body { display: flex; flex-direction: column; min-height: 100vh }
.site-body > main { flex: 1 0 auto }
.site-body > .site-footer { flex-shrink: 0 }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(#000, transparent 85%);
  mask-image: linear-gradient(#000, transparent 85%);
}
/* a fine fixed grain over the page: breaks the 8-bit steps of the large dark gradients above (banding) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../media/grain.png") 0 0 / 128px 128px;
}
a { color: inherit; text-decoration: none }
button, input, select { font: inherit }
img { display: block; max-width: 100%; height: auto }
p { line-height: 1.65 }
h1, h2, h3, p { margin-top: 0 }
h1, h2, h3 { text-wrap: balance }
h1, h2, h3, .plan-note { overflow-wrap: anywhere }  /* 200% text size: a long word wraps instead of spilling (WCAG 1.4.4) */
h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.032em;
  font-weight: 800;
  margin-bottom: 1.4rem;
  color: var(--paper);
  background: linear-gradient(175deg, #fff 8%, #ffe3ae 52%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.15; margin-bottom: .8rem; font-weight: 750 }
h3 { font-size: 1.12rem; line-height: 1.35; letter-spacing: -.01em; font-weight: 700 }
a, button, input, select { touch-action: manipulation }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, main:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
  border-radius: 6px;
}
main:focus-visible { outline: none }
.shell { width: min(1360px, calc(100% - 80px)); margin-inline: auto }
.ico { width: 1.05em; height: 1.05em; flex-shrink: 0; vertical-align: -.14em }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  background: var(--amber); color: var(--ink); font-weight: 700;
  padding: 12px 20px; border-radius: 8px; transform: translateY(-200%);
}
.skip-link:focus { transform: none }

/* ---------- glass + effects shared ---------- */
.glass {
  position: relative;
  background: linear-gradient(155deg, rgba(34, 40, 52, .72), rgba(14, 17, 22, .86));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
/* cursor glow: a ring that lights up near the pointer + faint inner halo */
[data-glow]::before, [data-glow]::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
}
[data-glow]::before {
  padding: 1px;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), var(--amber), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
[data-glow]::after { background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(245, 166, 35, .12), transparent 70%) }
[data-glow].is-lit::before, [data-glow].is-lit::after { opacity: 1 }

/* charging underline */
.link-charge { position: relative; background: linear-gradient(90deg, var(--amber), #fff3d0) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease), color .2s }
.link-charge:hover, .link-charge:focus-visible { background-size: 100% 2px; color: var(--warm) }
.link-charge::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 8px;
  height: 12px;
  opacity: 0;
  background: #fff3d0;
  clip-path: polygon(60% 0, 10% 58%, 48% 58%, 34% 100%, 92% 38%, 54% 38%);
  transition: left .45s var(--ease), opacity .45s;
  pointer-events: none;
}
.link-charge:hover::after, .link-charge:focus-visible::after { left: calc(100% - 8px); opacity: 1 }

/* ---------- page enter ---------- */
.bolt-wipe {
  position: fixed; top: 0; bottom: 0; left: -40vw; width: 36vw; z-index: 90;
  pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 0 30%, rgba(245, 166, 35, .0) 30%, rgba(245, 166, 35, .22) 62%, rgba(255, 243, 208, .5) 78%, transparent 79%);
  transform: skewX(-16deg);
  animation: bolt-wipe .85s var(--ease) both;
}
@keyframes bolt-wipe {
  0% { opacity: 1; transform: translateX(0) skewX(-16deg) }
  100% { opacity: 0; transform: translateX(190vw) skewX(-16deg) }
}
/* transform only: the hero heading is the LCP element and must never start at opacity 0 */
@keyframes rise { from { transform: translateY(16px) } }
@keyframes rise-fade { from { opacity: 0; transform: translateY(16px) } }

/* ---------- top bar + header ---------- */
.topbar { background: rgba(7, 8, 10, .8); border-bottom: 1px solid var(--line-soft) }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 6px }
.preview-notice { margin: 0; font-size: .78rem; line-height: 1.5; color: var(--warm); display: flex; align-items: center; gap: 9px }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); flex-shrink: 0; animation: live 2.8s ease-in-out infinite }
@keyframes live { 50% { opacity: .35 } }
.topbar { position: relative; z-index: 50 }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.lang-menu { position: relative; flex-shrink: 0; margin-left: auto }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--paper); font-size: .78rem; font-weight: 600; letter-spacing: .04em; user-select: none; transition: border-color .2s, background .2s }
.lang-menu summary::-webkit-details-marker { display: none }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: rgba(245, 166, 35, .55); background: rgba(245, 166, 35, .1) }
.lang-menu summary:focus-visible, .lang-list a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px }
.lang-caret { width: 10px; height: 10px; color: var(--muted); transition: transform .2s }
.lang-menu[open] .lang-caret { transform: rotate(180deg) }
.flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); flex-shrink: 0; display: block }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; margin: 0; padding: 6px; list-style: none; min-width: 11.5rem; background: #0d0f13; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(245, 166, 35, .06) }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: .88rem; color: var(--warm); transition: background .15s, color .15s }
.lang-list a:hover { background: rgba(255, 255, 255, .06); color: var(--paper) }
.lang-list a[aria-current] { color: var(--paper); background: rgba(245, 166, 35, .12) }
.lang-check { width: 12px; height: 12px; margin-left: auto; color: var(--amber) }
@media (prefers-reduced-motion: reduce) { .lang-caret, .lang-menu summary { transition: none } }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(10, 11, 14, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line-soft) }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px }
.brand { flex-shrink: 0; display: block }
.brand img { width: 150px; height: auto; filter: drop-shadow(0 0 14px rgba(245, 166, 35, .22)) }
.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; flex-wrap: wrap }
.primary-nav a { font-size: .94rem; font-weight: 550; padding-block: 10px; color: #d9dde5 }
.primary-nav a[aria-current] { color: var(--warm); background-size: 100% 2px }
.support-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .88rem; font-weight: 600; white-space: nowrap; transition: border-color .2s, box-shadow .2s, color .2s }
.account-link { display: inline-grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: #d9dde5; transition: border-color .2s, color .2s, box-shadow .2s }
.account-link:hover, .account-link[aria-current] { border-color: var(--amber); color: var(--warm) }
.account-link:hover { box-shadow: 0 0 18px -6px var(--amber) }
.account-link:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px }
.account-ico { width: 18px; height: 18px; vertical-align: 0 }
.account-link .header-avatar { display: block; width: 28px; height: 28px; max-width: 28px; max-height: 28px; border-radius: 50%; object-fit: cover; box-shadow: none }
.support-link:hover { border-color: var(--amber); box-shadow: 0 0 22px -6px var(--amber); color: var(--warm) }

/* ---------- buttons + zap ---------- */
.button {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  font-size: .94rem; font-weight: 700; line-height: 1.3; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s, border-color .2s, background .2s;
}
.button-sm { min-height: 40px; padding: 9px 16px; font-size: .86rem }
.button-primary { background: linear-gradient(180deg, #ffc65a, var(--amber) 55%, #d98a0f); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(245, 166, 35, .75), inset 0 1px 0 rgba(255, 255, 255, .5) }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(245, 166, 35, .9), inset 0 1px 0 rgba(255, 255, 255, .55); color: var(--ink) }
.button-primary:active { transform: translateY(0) }
.button-secondary { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03); color: var(--paper) }
.button-secondary:hover { border-color: var(--amber); color: var(--warm); background: rgba(245, 166, 35, .07) }
.button-disabled { background: var(--steel); border-color: var(--line); color: var(--muted); cursor: not-allowed }
.zap { position: absolute; left: var(--zx, 50%); top: var(--zy, 50%); width: 0; height: 0; pointer-events: none; z-index: 1 }
.zap::before { content: ""; position: absolute; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; border: 2px solid #fff3d0; background: radial-gradient(circle, rgba(255, 243, 208, .7), rgba(245, 166, 35, .0) 65%); animation: zap-ring .55s ease-out forwards }
.zap svg { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; color: #fff; animation: zap-bolt .5s ease-out forwards }
@keyframes zap-ring { from { transform: scale(.1); opacity: .95 } to { transform: scale(1); opacity: 0 } }
@keyframes zap-bolt { 0% { transform: scale(.4) rotate(-12deg); opacity: 1 } 60% { opacity: 1 } 100% { transform: scale(1.5) rotate(8deg); opacity: 0 } }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 20px; min-height: 660px; padding-block: 48px 40px }
.hero-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; overflow: hidden; pointer-events: none; z-index: 0; --px: 0; --py: 0 }
.hero-floor {
  position: absolute; left: -10%; right: -10%; bottom: -20%; height: 70%;
  background: repeating-linear-gradient(0deg, rgba(245, 166, 35, .22) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(245, 166, 35, .16) 0 1px, transparent 1px 64px);
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%);
  opacity: .5; animation: floor 14s linear infinite;
}
@keyframes floor { from { background-position: 0 0, 0 0 } to { background-position: 0 48px, 0 0 } }
.bokeh { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(245, 166, 35, .35), rgba(245, 166, 35, 0) 68%); animation: bokeh 12s ease-in-out infinite alternate }
.bokeh.b1 { width: 260px; height: 260px; left: 6%; top: 14%; animation-duration: 13s }
.bokeh.b2 { width: 180px; height: 180px; left: 46%; top: 58%; animation-duration: 10s; animation-delay: -4s }
.bokeh.b3 { width: 320px; height: 320px; right: 4%; top: 6%; animation-duration: 15s; animation-delay: -7s }
.bokeh.b4 { width: 120px; height: 120px; right: 30%; bottom: 8%; animation-duration: 9s; animation-delay: -2s }
@keyframes bokeh { from { transform: translate3d(0, 0, 0) scale(1); opacity: .55 } to { transform: translate3d(26px, -34px, 0) scale(1.15); opacity: .95 } }
.hero-copy { position: relative; z-index: 1 }
.hero-copy > * { animation: rise .8s var(--ease) backwards }
.hero-copy > :nth-child(n+2) { animation-name: rise-fade }
.hero-copy > :nth-child(2) { animation-delay: .1s } .hero-copy > :nth-child(3) { animation-delay: .2s } .hero-copy > :nth-child(4) { animation-delay: .3s }
.hero-copy h1 { max-width: 12.5ch }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 58ch; line-height: 1.75; margin-bottom: 30px }
.hero-copy .lead { max-width: 44ch }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.hero-stats { display: flex; gap: 6px 0; list-style: none; margin: 28px 0 0; padding: 0; flex-wrap: wrap; align-items: baseline }
.hero-stats li { display: inline-flex; align-items: baseline; gap: 8px }
.hero-stats li + li::before { content: "\00b7"; margin: 0 14px; color: var(--muted) }
.hero-stats b { font-size: 2rem; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--warm); font-variant-numeric: tabular-nums; display: inline-block; min-width: var(--digits, 2) ch }
.hero-stats span { font-size: .9rem; color: var(--muted) }
.hero-stats b { font-size: 1.5rem }
.hero-art { position: relative; z-index: 1; min-width: 0; --px: 0; --py: 0 }
.scene { display: block; width: 100%; height: auto; overflow: visible; transform: translate3d(calc(var(--px) * 8px), calc(var(--py) * 6px), 0); transition: transform .5s var(--ease) }
.scene * { transform-box: fill-box; transform-origin: center }
.ring-a { animation: spin 70s linear infinite }
.ring-b { stroke-dasharray: 1 5 }
.orbit { transform-box: view-box; transform-origin: 320px 280px; animation: spin 24s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }
.trace { stroke: var(--amber); stroke-opacity: .55; stroke-width: 2; animation: trace 1.6s .2s ease-out backwards }
@keyframes trace { from { stroke-dasharray: 1; stroke-dashoffset: 1 } to { stroke-dasharray: 1; stroke-dashoffset: 0 } }
.pulse { stroke: #fff3d0; stroke-width: 3; stroke-dasharray: .06 1; stroke-dashoffset: 1; opacity: 0; animation: pulse 5s 2.2s linear infinite }
.pulse.p2 { animation-delay: 3.6s; animation-duration: 6s } .pulse.p3 { animation-delay: 4.8s; animation-duration: 5.5s }
@keyframes pulse { 0% { stroke-dashoffset: .06; opacity: 1 } 70% { stroke-dashoffset: -.94; opacity: 1 } 71%, 100% { stroke-dashoffset: -.94; opacity: 0 } }
.s-plate { animation: rise-fade 1s .1s var(--ease) backwards }
.vk-part { fill: url(#vk-gold); fill-opacity: 1; stroke: var(--warm); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: vk-draw 2.4s .5s cubic-bezier(.6, 0, .2, 1) backwards }
.vk-part:nth-of-type(2) { animation-delay: .8s }
@keyframes vk-draw { 0% { stroke-dashoffset: 1; fill-opacity: 0 } 62% { stroke-dashoffset: 0; fill-opacity: 0 } 100% { stroke-dashoffset: 0; fill-opacity: 1 } }
.vk-bolt { fill: #0d0f13; stroke: #fff3d0; stroke-width: 1.4; stroke-linejoin: round; animation: vk-bolt 3.2s 1.9s ease-out backwards }
@keyframes vk-bolt { from { opacity: 0 } 40% { opacity: 1 } }
.logo { cursor: pointer }
.vk-halo { opacity: .55; animation: halo 5s 3s ease-in-out infinite alternate }
@keyframes halo { from { opacity: .35 } to { opacity: .8 } }
.fl { opacity: 0; animation: flicker 9s 4s infinite }
.fl-b { animation-delay: 8.5s; animation-duration: 11s }
@keyframes flicker { 0%, 100% { opacity: 0 } 1% { opacity: .85 } 2.5% { opacity: 0 } 4% { opacity: .55 } 6.5% { opacity: 0 } }
.s-particles circle { opacity: .75; animation: drift 7s ease-in-out infinite }
.s-particles circle:nth-child(2n) { animation-duration: 9s; animation-delay: -3s }
.s-particles circle:nth-child(3n) { animation-duration: 11s; animation-delay: -6s; opacity: .5 }
.s-particles circle:nth-child(5n) { animation-duration: 8s; animation-delay: -1s }
@keyframes drift { 50% { transform: translateY(-26px); opacity: .15 } }
.hero-mascot { position: absolute; right: 2%; bottom: -2%; width: 118px; z-index: 2; cursor: pointer }
.hero-mascot .mascot { width: 100% }

/* ---------- mascot ---------- */
.mascot { display: block; height: auto; overflow: visible; --ex: 0; --ey: 0 }
.mascot * { transform-box: fill-box }
.m-bob { animation: bob 3.6s ease-in-out infinite }
@keyframes bob { 50% { transform: translateY(-5px) } }
.m-shadow { animation: shadow 3.6s ease-in-out infinite; transform-origin: center }
@keyframes shadow { 50% { transform: scale(.88); opacity: .7 } }
.m-eye { transform-origin: 50% 50%; animation: blink 5.5s infinite }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1) } 96% { transform: scaleY(.08) } }
.m-pupil { transform: translate(calc(var(--ex) * 3.4px), calc(var(--ey) * 3.6px)); transition: transform .12s linear }
.m-tail { transform-origin: 8% 18%; animation: tail 2.4s ease-in-out infinite alternate }
@keyframes tail { from { transform: rotate(-7deg) } to { transform: rotate(8deg) } }
.m-arm { transform-origin: 92% 50% }
.is-waving .m-arm { animation: wave .55s ease-in-out 5 alternate }
@keyframes wave { from { transform: rotate(-8deg) } to { transform: rotate(-52deg) } }

/* ---------- section headings, rail, grid ---------- */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px }
.section-heading p { color: var(--muted); max-width: 65ch; margin-bottom: 0 }
.text-link { color: var(--warm); font-size: .95rem; font-weight: 600; line-height: 1.7; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; background: linear-gradient(90deg, var(--amber), #fff3d0) 0 100% / 100% 1px no-repeat }
.text-link:hover, .text-link:focus-visible { background-size: 100% 2px }
.section-heading > .text-link { flex-shrink: 0 }
.catalog-section { padding-bottom: 20px }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 20px }
.product-card {
  min-width: 0; border-radius: 14px; overflow: hidden;
  background: linear-gradient(170deg, #161a21, #0d1015);
  transform: perspective(900px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translateY(var(--lift, 0px));
  transition: transform .2s ease-out, border-color .3s, box-shadow .3s;
}
.product-card:hover { --lift: -5px; border-color: rgba(245, 166, 35, .35); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .95), 0 0 36px -16px var(--glow) }
.product-card:focus-within { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 0 34px -12px var(--glow) }
.product-media { position: relative; overflow: hidden }
.product-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 60%) }
.product-card.is-lit .product-media::after { opacity: 1 }
.product-art { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(100deg, var(--steel) 30%, var(--steel-2) 50%, var(--steel) 70%) 0 0 / 220% 100%; animation: shimmer 1.6s linear 3 }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease) }
.product-card:hover .product-art img { transform: scale(1.06) }
.product-art-logo { background: radial-gradient(ellipse at center, #2a3342, var(--steel)) }
.product-art-logo img { object-fit: contain; padding: 30px }
.vendor-chip { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 650; letter-spacing: .04em; color: var(--warm); background: rgba(7, 8, 10, .78); border: 1px solid rgba(245, 166, 35, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px) }
.detail-copy > .vendor .vendor-chip { position: static; display: inline-block; padding: 0; font-size: .8rem; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none }
.price-tag { position: absolute; right: 0; top: 14px; z-index: 1; display: flex; align-items: baseline; gap: 6px; padding: 6px 12px 6px 14px; color: var(--ink); background: linear-gradient(180deg, #ffd389, var(--amber)); border-radius: 999px 0 0 999px; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .8); line-height: 1.2 }
.price-tag small { font-size: .7rem; font-weight: 700; opacity: .8 }
.price-tag strong { font-size: .95rem; font-weight: 800 }
.product-card-body { padding: 16px 18px 18px }
.product-card h3 { margin-bottom: 14px; min-height: 2.7em }
.card-main-link::after { content: ""; position: absolute; inset: 0; z-index: 1 }
.card-main-link:focus-visible { outline: none }
.card-bottom { border-top: 1px solid var(--line-soft); padding-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 9px }
.card-price { margin: 0; font-size: .8rem; color: var(--muted) }
.card-link { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 650; color: var(--warm); padding-block: 4px }
.card-link .ico { transition: transform .3s var(--ease) }
.product-card:hover .card-link .ico, .card-link:hover .ico { transform: translateX(5px) }
.snapshot { color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; margin-block: 24px }
.snapshot time { margin-left: 8px }
@keyframes shimmer { to { background-position: -220% 0 } }
.skeleton { display: block; border-radius: 8px; background: linear-gradient(100deg, var(--steel) 30%, var(--steel-2) 50%, var(--steel) 70%) 0 0 / 220% 100%; animation: shimmer 1.6s linear infinite }

/* ---------- hardware art animation (shared) ---------- */
.hardware-art svg { width: 100%; height: auto; display: block; overflow: visible }

/* ---------- catalog ---------- */
.page-heading { padding-block: 52px 16px; position: relative }
.page-heading h1 { font-size: clamp(2.6rem, 5vw, 4.2rem) }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; padding: 8px 0 0; margin-bottom: 26px }
.filters > div { display: flex; flex-direction: column; gap: 9px; flex: 1; min-width: 0 }
.filters > .search-field { flex: 2 }
.filters label { font-size: .84rem; color: var(--muted); font-weight: 600; letter-spacing: .02em }
.input-wrap, .select-wrap { position: relative; display: block }
.input-ico { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--amber); pointer-events: none }
input, select { min-height: 48px; width: 100%; padding: 11px 14px; background: rgba(5, 6, 8, .75); border: 1px solid #3a4250; border-radius: 10px; color: var(--paper); transition: border-color .2s, box-shadow .2s }
input[type="search"] { padding-left: 42px }
input:hover, select:hover { border-color: #5a6372 }
input:focus, select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 166, 35, .18) }
input::placeholder { color: var(--muted) }
select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer }
.select-wrap::after { content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); pointer-events: none }
.clear-link { padding-block: 15px; font-size: .86rem; color: var(--muted); white-space: nowrap }
.availability-note { position: relative; padding-left: 18px; color: var(--warm); font-size: .88rem; line-height: 1.6; margin-block: 20px 26px }
.availability-note::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber) }
.empty-state { grid-column: 1 / -1; width: 100%; padding: 48px 24px 56px; text-align: center; border: 1px dashed rgba(245, 166, 35, .3); border-radius: 18px; color: var(--muted); background: radial-gradient(ellipse at 50% 0, rgba(245, 166, 35, .08), transparent 70%); display: flex; flex-direction: column; align-items: center; gap: 6px }
.empty-state h2 { font-size: 1.35rem; color: var(--paper); margin: 14px 0 12px }
.empty-mascot { width: 140px }
.mascot-lg { width: 100% }
.empty-mini { display: flex; justify-content: center; padding: 20px 0 }
.mascot-sm { width: 96px }

/* ---------- product detail ---------- */
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-block: 30px; color: var(--muted); font-size: .9rem; font-weight: 600 }
.product-detail { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: start; padding-bottom: 48px }
.detail-art { position: sticky; top: 110px; overflow: hidden; border-radius: 12px }
.detail-art img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px }
.detail-art-logo img { object-fit: contain; padding: 60px; background: radial-gradient(ellipse at center, #2a3342, var(--steel)) }
.corner { position: absolute; width: 22px; height: 22px; z-index: 3; border: 2px solid var(--amber); pointer-events: none }
.c-tl { left: 4px; top: 4px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px }
.c-br { right: 4px; bottom: 4px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px }
.detail-copy { min-width: 0 }
.detail-copy h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin-bottom: 20px }
.detail-copy > .vendor { margin-bottom: 16px }
.plans { margin-block: 28px }
.plans h2 { font-size: 1.4rem }
.table-scroll { overflow-x: auto }
.table-scroll:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px }
table { border-collapse: collapse; width: 100%; text-align: left }
th, td { padding: 15px 10px; border-bottom: 1px solid var(--line-soft) }
thead th { font-size: .78rem; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .08em }
tbody th { font-weight: 550 }
tbody tr { transition: background .2s }
tbody tr:hover { background: rgba(245, 166, 35, .06) }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0 }
td, thead th:last-child { text-align: right }
td { color: var(--warm); font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums }
.row-bolt { color: var(--amber); margin-right: 8px }
.plan-note { font-size: .83rem; color: var(--muted); margin: 14px 0 0 }

/* ---------- placeholder pages (account/error) ---------- */
.placeholder-page { min-height: 520px; display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 60px; padding-block: 70px }
.placeholder-page h1 { font-size: clamp(2.4rem, 5vw, 4.2rem) }
.placeholder-page .lead { max-width: 54ch }
.placeholder-page-account { grid-template-columns: auto 1fr; gap: 36px }
.account-symbol { width: 72px; height: 84px; position: relative }
.account-symbol::before { content: ""; position: absolute; top: 4px; left: 21px; width: 30px; height: 30px; border: 2px solid var(--amber); border-radius: 50% }
.account-symbol span { position: absolute; bottom: 4px; left: 6px; width: 60px; height: 32px; border: 2px solid var(--amber); border-radius: 30px 30px 6px 6px }
/* Signed in: the Discord avatar is a centred circle with the amber ring around it. */
.account-avatar { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; justify-self: center; box-shadow: 0 0 0 3px var(--amber), 0 0 60px -20px var(--glow) }
.account-avatar::before { display: none }
.account-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50% }
/* No usable avatar: the same circle with the default silhouette, centred. */
.account-avatar-empty::before { display: block; top: 22px; left: 50%; width: 40px; height: 40px; margin-left: -20px }
.account-avatar-empty span { bottom: 14px; left: 50%; width: 76px; height: 40px; margin-left: -38px }
.account-orders { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft) }
.account-orders h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 14px }
.error-code { font-size: 6rem; letter-spacing: -.07em; font-weight: 800; background: linear-gradient(180deg, #ffe3ae, var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, transparent, rgba(245, 166, 35, .05)); position: relative }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--amber) 50%, transparent); opacity: .5 }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 40px; align-items: start; padding-block: 44px 52px }
.footer-brand-col { display: flex; align-items: flex-start; gap: 16px }
.footer-brand img { border-radius: 12px; box-shadow: 0 0 24px -6px var(--glow) }
.footer-brand-col p { font-size: .84rem; color: var(--muted); max-width: 54ch; margin: 0 }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px }
.footer-nav a { font-size: .9rem; color: #d3d8e0; padding-block: 6px }
.footer-tools { display: flex; align-items: center; gap: 12px; justify-content: flex-end }
.motion-toggle { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--amber); cursor: pointer; transition: border-color .2s }
.js .motion-toggle { display: inline-flex }
.motion-toggle:hover { border-color: var(--amber) }
.toggle-track { width: 32px; height: 18px; border-radius: 999px; background: var(--steel-2); position: relative; transition: background .25s }
.toggle-knob { position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background .25s }
.motion-toggle[aria-pressed="true"] .toggle-track { background: rgba(245, 166, 35, .45) }
.motion-toggle[aria-pressed="true"] .toggle-knob { transform: translateX(14px); background: var(--warm) }

/* ---------- reveal ---------- */
.reveal-pending { opacity: 0; translate: 0 26px }
.reveal-pending.is-revealed { opacity: 1; translate: none; transition: opacity .7s var(--ease) var(--rd, 0s), translate .7s var(--ease) var(--rd, 0s) }

/* ---------- surge easter egg ---------- */
.surge { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 50% 30%, rgba(245, 166, 35, .22), transparent 70%) }
.surge svg { width: 100%; height: 100% }
.surge path { fill: none; stroke: #fff3d0; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round }
.is-surge .surge { animation: surge 1.5s ease-out both }
.is-surge .surge path { animation: surge-draw .5s ease-out backwards }
.is-surge .surge path:nth-child(2) { animation-delay: .15s } .is-surge .surge path:nth-child(3) { animation-delay: .3s }
.is-surge .brand img, .is-surge .footer-brand img { animation: surge-logo 1.5s ease-out }
@keyframes surge { 0% { opacity: 0 } 18% { opacity: 1 } 100% { opacity: 0 } }
@keyframes surge-draw { from { opacity: 0 } }
@keyframes surge-logo { 25% { filter: drop-shadow(0 0 22px #ffd389) brightness(1.4) } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px) }
  .header-inner { gap: 20px }
  .primary-nav { gap: 18px }
  .brand img { width: 130px }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .hero { min-height: 560px }
  .product-detail { gap: 32px }
  .filters { flex-wrap: wrap }
  .filters > div { flex: 1 1 200px }
  .filters > .search-field { flex: 2 1 280px }
  .footer-inner { grid-template-columns: 1fr 1fr }
  .footer-tools { grid-column: 1 / -1; justify-content: flex-start }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px) }
  html { scroll-padding-top: 1rem }
  .topbar-inner { gap: 10px; padding-block: 6px }
  .preview-notice { font-size: .72rem }
  .lang-list { min-width: 12rem }
  .site-header { position: static }
  .header-inner { flex-wrap: wrap; gap: 6px 16px; padding-block: 12px 4px; min-height: 0 }
  .brand img { width: 128px }
  .support-link { margin-left: auto; padding: 8px 13px }
  .primary-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 4px }
  .primary-nav a { font-size: .86rem }
  .hero { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-block: 36px 24px }
  .hero-copy h1 { max-width: 14ch; font-size: clamp(2.7rem, 11vw, 4.2rem) }
  .hero-art { width: min(100%, 440px); margin: 8px auto 0 }
  .hero-mascot { width: 92px; right: -2% }
  .hero-stats b { font-size: 1.35rem }
  .lead { font-size: 1rem }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
  .product-card-body { padding: 13px 14px 14px }
  .product-card h3 { font-size: .96rem; margin-bottom: 10px }
  .card-bottom { padding-top: 10px }
  .card-link { font-size: .8rem }
  .product-art-logo img { padding: 22px }
  .vendor-chip { left: 8px; bottom: 8px; font-size: .66rem; padding: 3px 9px }
  .price-tag { top: 10px; padding: 4px 9px 4px 11px }
  .price-tag strong { font-size: .84rem }
  .hardware-art { max-width: 200px }
  .page-heading { padding-top: 36px }
  .filters { gap: 16px 12px }
  .filters > div, .filters > .search-field { flex-basis: 100% }
  .clear-link { margin-left: 6px; white-space: normal }
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 28px }
  .detail-art { position: static }
  .detail-art-logo img { padding: 44px }
  .placeholder-page { grid-template-columns: 1fr; gap: 32px; min-height: 480px; padding-block: 45px }
  .account-symbol { width: 144px; height: 160px }
  .account-symbol::before { top: 26px; left: 50px; width: 42px; height: 42px }
  .account-symbol span { bottom: 25px; left: 27px; width: 88px; height: 45px }
  .account-avatar { width: 112px; height: 112px; justify-self: start }
  .account-avatar-empty::before { top: 18px; left: 50%; width: 36px; height: 36px }
  .account-avatar-empty span { bottom: 12px; left: 50%; width: 66px; height: 34px; margin-left: -33px }
  .account-orders { margin-top: 32px; padding-top: 24px }
  .error-code { font-size: 5rem }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 34px 40px }
  .footer-tools { justify-content: space-between }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr }
  .primary-nav { flex-wrap: wrap; justify-content: flex-start; gap: 4px 16px }
  .actions .button { width: 100% }
  .filters .clear-link { margin-left: 0 }
}
@media (min-width: 761px) and (max-width: 1100px) { .hero { grid-template-columns: 1fr 1fr } .hero-copy h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem) } }

/* ---------- touch: no hover-only effects ---------- */
@media (hover: none) {
  [data-glow]::before, [data-glow]::after, .product-media::after { display: none }
  .product-card { transform: none }
}

/* ---------- pausing + motion off ---------- */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important }
html[data-tab="hidden"] *, html[data-tab="hidden"] *::before, html[data-tab="hidden"] *::after { animation-play-state: paused !important }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
html[data-motion="off"] .bolt-wipe, html[data-motion="off"] .zap { display: none }
html[data-motion="off"] .product-card { transform: none }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
  .bolt-wipe, .zap, .surge { display: none }
  .product-card { transform: none }
  .reveal-pending { opacity: 1; translate: none }
  .motion-toggle { display: none !important }
}

/* Fixed public information navigation; no customer data. */
.footer-info{display:flex;flex-wrap:wrap;gap:.65rem 1.4rem;padding:0 0 1.5rem;font-size:.85rem}
.footer-info a{color:var(--muted);text-decoration:none}
.footer-info a:hover{color:var(--amber)}
.footer-info a:focus-visible{outline:2px solid var(--amber);outline-offset:5px;border-radius:3px}


/* ---------- home: popular games, steps, hardware teaser, trust strip ---------- */
.home-section { margin-block: 64px 0 }
.home-section .section-heading { margin-bottom: 22px }
.home-section .section-heading p { margin: 6px 0 0; color: var(--muted); max-width: 60ch }
.home-games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px }
.home-game, .home-game article { height: 100% }
.home-game a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--panel); color: var(--paper); text-decoration: none; transition: border-color .25s, transform .3s var(--ease) }
.home-game a:hover { border-color: rgba(245, 166, 35, .5); transform: translateY(-3px) }
.home-game a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px }
.home-game-art { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel) }
.home-game-art img { display: block; width: 100%; height: 100%; object-fit: cover }
.home-game-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 18px 18px }
.home-game-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.5em; margin-bottom: 4px; font-weight: 700; font-size: 1.02rem; line-height: 1.25 }
.home-game-meta { color: var(--muted); font-size: .84rem; line-height: 1.4 }
.home-game-meta strong { color: var(--gold); font-size: .95rem }
.home-game-meta b { color: var(--paper) }
.home-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px }
.home-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start }
.home-steps .step-ico { grid-row: 1 / 3; filter: drop-shadow(0 0 10px rgba(245, 166, 35, .3)) }
.home-steps h3 { margin: 0 0 4px; font-size: 1.1rem }
.home-steps p { margin: 0; color: var(--muted); font-size: .93rem; max-width: 38ch }
.home-hw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.home-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-block: 64px 70px; padding: 24px 0 0; border-top: 1px solid var(--line-soft) }
.home-trust h2, .home-trust h3 { margin: 0 0 10px; font-size: 1.15rem }
.home-trust p { margin: 10px 0 0; color: var(--muted); font-size: .9rem; max-width: 56ch }
.home-trust-pay { flex: 1 1 420px }
.home-trust-pay p { margin-top: 16px }
.pay-coins { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 28px }
.pay-coin { display: flex; flex-direction: column; align-items: center; gap: 8px }
.pay-coin img { display: block; width: 32px; height: 32px }
.pay-coin-name { font-size: .78rem; font-weight: 700; letter-spacing: .02em; line-height: 1 }
.home-trust-help p { margin: 0 0 14px }
@media (max-width: 1100px) {
  .home-games { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .home-hw { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 760px) {
  .home-section { margin-top: 44px }
  .bokeh.b3 { display: none }
  .home-games, .home-hw { gap: 14px }
  .home-game-body { padding: 12px 14px 14px }
  .pay-coins { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px 6px; max-width: 420px }
  .home-steps { grid-template-columns: 1fr; gap: 20px }
  .home-game-name { font-size: .92rem }
  .home-trust { margin-block: 44px 48px }
}

/* ---------- mobile sweep (360-430 px): two-row header grid, 44 px tap targets, stacked plan rows ---------- */
@media (max-width: 760px) {
  .topbar-inner { padding-block: 4px }
  .lang-menu summary { min-height: 40px; padding-inline: 12px }
  .lang-list a { min-height: 44px; padding-block: 4px }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; column-gap: 8px; row-gap: 0; align-items: center; padding-block: 8px 2px }
  .brand { grid-column: 1; grid-row: 1; display: flex; align-items: center; min-height: 44px }
  .header-inner .cart-link { grid-column: 2; grid-row: 1; width: 44px; height: 44px }
  .header-inner .account-link { grid-column: 3; grid-row: 1; width: 44px; height: 44px }
  .primary-nav { grid-column: 1; grid-row: 2; order: 0; width: auto; min-width: 0; margin-left: 0; flex-wrap: wrap; justify-content: flex-start; gap: 0 16px }
  .primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; background-position: 0 calc(100% - 8px) }
  .support-link { grid-column: 2 / 4; grid-row: 2; justify-self: end; margin-left: 0; min-height: 40px; padding-block: 0; white-space: nowrap }
  .footer-nav { gap: 0 22px }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0 }
  .footer-info { gap: 0 20px; padding-bottom: 1rem }
  .footer-info a { display: inline-flex; align-items: center; min-height: 44px }
  .text-link { min-height: 44px; background-position: 0 calc(100% - 9px) }
  .back-link { min-height: 44px; margin-block: 10px }
  .pnl-link { display: inline-flex; align-items: center; min-height: 44px }
  .hardware-table td.plan-buy .button, .plan-buy .button { min-height: 44px }
  .hardware-support-prep summary { display: flex; align-items: center; min-height: 44px; padding-block: 0 }
}
@media (max-width: 650px) {
  /* Plans table: one block per plan (duration + price, stock, then the buy buttons side by side). */
  .plans .table-scroll table, .plans .table-scroll tbody { display: block }
  .plans .table-scroll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
  .plans .table-scroll tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line-soft) }
  .plans .table-scroll tbody tr:last-child { border-bottom: 0 }
  .plans .table-scroll tbody th, .plans .table-scroll tbody td { display: block; padding: 0; border: 0; text-align: left; white-space: normal }
  .plans .table-scroll tbody td:nth-child(2) { text-align: right; font-size: 1.1rem }
  .plans .table-scroll tbody td:nth-child(3) { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; font-weight: 500; line-height: 1.35 }
  .plans .table-scroll tbody td.plan-buy { grid-column: 1 / -1; position: static; display: flex; gap: 8px; width: auto; margin-top: 8px }
  .plans .table-scroll td.plan-buy .button { flex: 1 1 0; min-width: 0; min-height: 44px; width: 100% }
  .plans .table-scroll td.plan-buy .plan-cart { flex: 1 1 0; margin: 0; min-width: 0 }
  .plans .table-scroll td.plan-buy .plan-cart .button { min-width: 0 }
}
/* The count on the cart page title sits inside the gradient h1: give it a solid colour again. */
.cart h1 span { color: var(--warm); -webkit-text-fill-color: currentColor }
