/* =========================================================================
   flex std. — Apple-leaning studio site
   Light surfaces, generous type, aquamarine as the single accent.
   ========================================================================= */

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --surface-tint: #f0fcf8;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.18);
  --aqua: #7fffd4;
  --aqua-bright: #adffe6;
  --aqua-soft: #e9fff8;
  --aqua-tint: #f3fffb;
  --aqua-strong: #14c9a2;
  --aqua-deep: #007d67;
  --dark: #0a0b0c;
  --on-dark: #f5f5f7;
  --on-dark-muted: #a1a1a6;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.07);
  --font-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: Bahnschrift, "SF Pro Display", "Helvetica Neue", "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: Consolas, "SFMono-Regular", Menlo, "Liberation Mono", monospace;
  --gutter: clamp(22px, 4vw, 56px);
  --max: 1480px;
  --header-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--aqua);
  color: #042f26;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
}

summary {
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.break-mobile {
  display: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua-strong);
  box-shadow: 0 0 0 3px rgba(127, 255, 212, 0.22);
}

/* =========================================================================
   Buttons + inline links
   ========================================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.button > span,
.button > .icon {
  transition: transform 0.3s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover > span {
  transform: translate(2px, -2px);
}

.button--small {
  min-height: 38px;
  padding: 0 17px;
  font-size: 13px;
}

.button--aqua {
  background: var(--aqua);
  border-color: var(--aqua);
  color: #04352b;
}

.button--aqua:hover {
  background: var(--aqua-bright);
  border-color: var(--aqua-bright);
}

.button--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button--dark:hover {
  background: #343437;
  border-color: #343437;
}

.button--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button--block {
  width: 100%;
  justify-content: space-between;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.link-arrow span {
  color: var(--aqua-deep);
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--aqua-deep);
}

.link-arrow:hover span {
  transform: translateX(3px);
}

/* =========================================================================
   Header
   ========================================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(251, 251, 253, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 251, 253, 0.94);
  border-color: var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  justify-self: start;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-dot {
  color: var(--aqua-strong);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--aqua-strong);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-item.is-open > .nav-link {
  color: var(--ink);
}

.nav-link.is-active::after,
.nav-item.is-open > .nav-link::after {
  opacity: 1;
}

.nav-flyout {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav-item.is-open .nav-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-flyout-inner {
  width: min(620px, calc(100vw - 40px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
}

.nav-flyout-inner--small {
  width: min(370px, calc(100vw - 40px));
}

.nav-flyout-inner--wide {
  width: min(620px, calc(100vw - 40px));
}

.nav-flyout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.nav-flyout-eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.nav-flyout-top .mono {
  color: var(--aqua-deep);
  font-size: 11px;
}

.nav-flyout-inner--small .nav-flyout-eyebrow {
  margin: 3px 4px 12px;
}

.flyout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.flyout-link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 11px;
  border-radius: 13px;
  transition: background 0.25s ease;
}

.flyout-link:hover,
.flyout-link:focus-visible {
  background: var(--surface-soft);
}

.flyout-index {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--aqua-deep);
  font-size: 10.5px;
}

.flyout-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.flyout-copy strong {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.flyout-copy small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.flyout-contact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 15px;
  border-radius: 15px;
  background: var(--surface-soft);
  transition: background 0.25s ease;
}

.flyout-contact:hover {
  background: var(--aqua-soft);
}

.flyout-contact-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.flyout-contact-main strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.flyout-contact-main small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.flyout-contact-arrow {
  margin-left: auto;
  color: var(--aqua-deep);
  font-size: 17px;
  transition: transform 0.3s var(--ease);
}

.flyout-contact:hover .flyout-contact-arrow {
  transform: translate(2px, -2px);
}

.flyout-mail {
  display: inline-block;
  margin: 12px 4px 0;
  color: var(--aqua-deep);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(0, 125, 103, 0.3);
}

.flyout-channel-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flyout-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border-radius: 13px;
  transition: background 0.25s ease;
}

.flyout-channel:hover {
  background: var(--surface-soft);
}

.flyout-channel span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flyout-channel strong {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
}

.flyout-channel small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.flyout-channel > span:last-child {
  color: var(--aqua-deep);
  font-size: 15px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
}

.language {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.language-toggle .icon {
  width: 15px;
  height: 15px;
}

.language-toggle:hover,
.language.is-open .language-toggle {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.language-caret {
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  transition: transform 0.25s var(--ease);
}

.language.is-open .language-caret {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  width: 254px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.language.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.language-menu-title {
  margin: 5px 10px 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-menu button:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.language-menu button[aria-checked="true"] {
  background: var(--aqua-soft);
  color: var(--ink);
}

.language-check {
  color: var(--aqua-deep);
  font-size: 12px;
  opacity: 0;
}

.language-menu button[aria-checked="true"] .language-check {
  opacity: 1;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
}

.menu-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 14px;
}

.menu-toggle-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--bg);
  color: var(--ink);
}

.mobile-menu::backdrop {
  background: var(--bg);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-height: 100dvh;
  padding: 20px var(--gutter) 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-head .mono {
  color: var(--muted);
  font-size: 12px;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
}

.menu-close span {
  font-size: 24px;
  line-height: 0.7;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: clamp(28px, 6vh, 50px);
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(25px, 6.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.mobile-nav a span {
  color: var(--aqua-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 38px;
}

.mobile-mail {
  width: fit-content;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mobile-socials {
  display: flex;
  gap: 20px;
}

.mobile-socials a {
  color: var(--aqua-deep);
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 125, 103, 0.3);
}

.mobile-menu-foot .mono {
  color: var(--muted);
  font-size: 12px;
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--bg);
}

.hero-aurora {
  position: absolute;
  top: -36%;
  left: 50%;
  width: min(1450px, 150vw);
  height: min(900px, 90vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(127, 255, 212, 0.72), rgba(127, 255, 212, 0.22) 52%, transparent 76%),
    radial-gradient(45% 55% at 65% 35%, rgba(255, 255, 255, 0.85), transparent 80%);
  filter: blur(34px);
  pointer-events: none;
  animation: aurora-breathe 14s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.hero-content {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.hero-title {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(76px, 16.5vw, 236px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.82;
  white-space: nowrap;
}

.hero-dot {
  display: inline-block;
  width: 0.125em;
  height: 0.125em;
  margin-left: 0.025em;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: inset 0 0 0 0.014em rgba(0, 60, 48, 0.25);
  vertical-align: 0.02em;
}

.hero-tagline {
  margin-top: clamp(24px, 3vw, 34px);
  color: var(--ink);
  font-size: clamp(23px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-feature {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  margin-top: clamp(38px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: #0a1a15;
  box-shadow: 0 32px 80px rgba(8, 52, 42, 0.16);
}

.hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(127, 255, 212, 0.08), transparent 44%);
  pointer-events: none;
}

.hero-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hero-feature:hover img {
  transform: scale(1.018);
}

.hero-feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 14, 11, 0.33) 0, transparent 34%, rgba(3, 14, 11, 0.6) 100%),
    linear-gradient(90deg, rgba(3, 14, 11, 0.32) 0, transparent 54%);
}

.hero-feature-top,
.hero-feature-bottom {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 34px);
  z-index: 2;
  display: flex;
}

.hero-feature-top {
  top: clamp(18px, 2.6vw, 30px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-feature-top .mono {
  font-size: 11.5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(8, 31, 25, 0.26);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-feature-bottom {
  bottom: clamp(20px, 3vw, 34px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.hero-feature-title {
  max-width: 14em;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.hero-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hero-feature-link span {
  color: var(--aqua);
  transition: transform 0.3s var(--ease);
}

.hero-feature:hover .hero-feature-link span {
  transform: translate(3px, -3px);
}

.hero-feature:hover .hero-feature-link {
  color: var(--aqua-bright);
  border-color: var(--aqua-bright);
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-foot .mono {
  font-size: 11.5px;
}

.hero-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.hero-disciplines a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.25s ease;
}

.hero-disciplines a:hover {
  color: var(--aqua-deep);
}

.hero-socials {
  display: flex;
  gap: 18px;
}

.hero-socials a {
  color: var(--ink);
  font-size: 13px;
  transition: color 0.25s ease;
}

.hero-socials a span {
  color: var(--aqua-deep);
}

.hero-socials a:hover {
  color: var(--aqua-deep);
}

/* =========================================================================
   Section scaffolding
   ========================================================================= */

.section {
  padding-block: clamp(88px, 10vw, 148px);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head--center {
  align-items: center;
  margin-bottom: clamp(44px, 6vw, 76px);
  text-align: center;
}

.section-head--center .section-title {
  max-width: 1000px;
}

.section-head--center .section-desc {
  max-width: 680px;
}

.section-title {
  max-width: 980px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.section-desc {
  max-width: 670px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.accent {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 70%, var(--aqua) 70%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.04em;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .product-card[data-reveal].is-in:hover {
  transform: translateY(-4px);
}

/* =========================================================================
   About
   ========================================================================= */

.about {
  background: var(--surface);
}

.about > .container > .eyebrow {
  margin-bottom: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
  gap: clamp(36px, 7vw, 100px);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.about-copy .lead {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.about-copy .link-arrow {
  margin-top: 4px;
}

.about-panel {
  margin-top: clamp(46px, 6vw, 76px);
  padding: clamp(24px, 3.2vw, 42px);
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats > div {
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stats dd {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(50px, 5.5vw, 82px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.stats dd span {
  color: var(--aqua-strong);
  font-family: var(--font-sans);
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: top;
}

.workplaces {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(28px, 3.2vw, 42px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.workplaces li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.workplaces li:first-child {
  padding-left: 0;
  border-left: 0;
}

.workplaces li .mono {
  color: var(--aqua-deep);
  font-size: 11.5px;
}

.workplaces strong {
  margin-top: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.workplaces small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* =========================================================================
   Departments
   ========================================================================= */

.departments {
  background: var(--surface-soft);
}

.dept-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dept {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease);
}

.dept:hover {
  border-color: rgba(0, 125, 103, 0.28);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.055);
}

.dept[open] {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.075);
}

.dept-summary {
  display: grid;
  grid-template-columns: 62px minmax(0, 1.1fr) minmax(150px, 1fr) 40px;
  align-items: center;
  gap: 22px;
  min-height: 106px;
  padding: 20px 26px;
}

.dept-summary:focus-visible {
  outline-offset: -4px;
}

.dept-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  transition: transform 0.4s var(--ease);
}

.dept:hover .dept-icon {
  transform: scale(1.04);
}

.dept-icon .icon {
  width: 29px;
  height: 29px;
}

.dept-icon--image {
  background: linear-gradient(135deg, #ffe7dd, #ffb092);
  color: #8f2f10;
}

.dept-icon--software {
  background: linear-gradient(135deg, #e7eeff, #a4bfff);
  color: #1d3b9c;
}

.dept-icon--hardware {
  background: linear-gradient(135deg, #efffcf, #c9f36d);
  color: #3f5900;
}

.dept-icon--music {
  background: linear-gradient(135deg, #ffe5f0, #ffabc9);
  color: #8b1d49;
}

.dept-icon--lab {
  background: linear-gradient(135deg, #f0e9ff, #c9b5ff);
  color: #3c2470;
}

.dept-icon--network {
  background: linear-gradient(135deg, #dbfff5, #7fffd4);
  color: #005c4b;
}

.dept-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dept-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.dept-brand {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.65em;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.dept-en {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.dept-tags {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

.dept-toggle {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.dept-toggle i {
  position: absolute;
  width: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.dept-toggle i:last-child {
  transform: rotate(90deg);
}

.dept:hover .dept-toggle {
  border-color: var(--ink);
  background: var(--ink);
}

.dept:hover .dept-toggle i {
  background: #fff;
}

.dept[open] .dept-summary {
  border-bottom: 1px solid var(--line);
}

.dept[open] .dept-toggle {
  border-color: var(--aqua-strong);
  background: var(--aqua);
}

.dept[open] .dept-toggle i {
  background: #04352b;
}

.dept[open] .dept-toggle i:last-child {
  transform: rotate(90deg) scaleX(0);
}

.dept-panel {
  overflow: hidden;
}

.dept-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(160px, 0.56fr) minmax(180px, 0.54fr);
  gap: clamp(24px, 4vw, 64px);
  padding: 26px 26px 32px 110px;
  animation: panel-in 0.45s var(--ease) both;
}

.dept-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dept-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.dept-services {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.dept-services li::before {
  content: "—";
  margin-right: 7px;
  color: var(--aqua-strong);
}

.dept-col--meta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.dept-col--meta .link-arrow {
  margin-top: 14px;
}

/* =========================================================================
   Products
   ========================================================================= */

.products {
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
  scroll-margin-top: calc(var(--header-h) + 30px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.product-card--wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.58fr);
  align-items: stretch;
}

.product-card--wide .product-visual {
  aspect-ratio: auto;
  min-height: 360px;
}

.product-card--wide .product-visual svg {
  width: 100%;
  height: 100%;
}

.product-card--wide .product-body {
  justify-content: center;
  padding: clamp(28px, 3.4vw, 48px);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.product-visual {
  overflow: hidden;
  aspect-ratio: 800 / 520;
  background: var(--dark);
}

.product-visual svg {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-visual svg {
  transform: scale(1.018);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 38px);
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.product-body h3 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.product-body > p {
  max-width: 42em;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 24px;
}

.product-specs li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.product-body .link-arrow {
  margin-top: auto;
  font-size: 13.5px;
}

/* =========================================================================
   Server configurator
   ========================================================================= */

.server {
  position: relative;
  background:
    radial-gradient(52% 34% at 50% 0, rgba(127, 255, 212, 0.34), transparent 72%),
    var(--surface-tint);
}

.facilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto clamp(38px, 4.5vw, 58px);
}

.facilities li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.facilities .mono {
  color: var(--aqua-deep);
  font-size: 12px;
}

.facilities strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.facilities small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Live server preview */
.server-preview {
  --load: 0.25;
  --ring-r: clamp(108px, 14vw, 174px);
  position: relative;
  isolation: isolate;
  min-height: 500px;
  margin-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 70% at 50% 48%, rgba(11, 48, 38, 0.7), transparent 75%),
    #06110f;
  color: var(--on-dark);
  box-shadow: 0 32px 80px rgba(2, 43, 33, 0.18);
}

.preview-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.preview-aurora {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 0;
  width: min(780px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(127, 255, 212, 0.22), rgba(48, 128, 255, 0.08) 38%, transparent 68%);
  filter: blur(18px);
  opacity: calc(0.35 + var(--load) * 0.65);
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease, background 0.5s ease;
}

.preview-top {
  position: absolute;
  top: 22px;
  right: 28px;
  left: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(245, 245, 247, 0.45);
}

.preview-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 245, 247, 0.72);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.preview-live i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(127, 255, 212, 0.12);
  animation: pulse 2.4s ease-out infinite;
}

.preview-top > .mono {
  max-width: 58%;
  overflow: hidden;
  color: rgba(245, 245, 247, 0.38);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.preview-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 390px;
  margin-top: 46px;
}

.preview-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: calc(var(--ring-r) * 1.28);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 255, 212, 0.16), transparent 66%);
  filter: blur(18px);
  transform: translate(-50%, -50%);
  animation: preview-core 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 0;
  height: 0;
}

.core-ring span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 3px;
  height: 12px;
  margin: -6px 0 0 -1.5px;
  border-radius: 3px;
  background: rgba(245, 245, 247, 0.13);
  transform: rotate(calc(var(--i) * 11.25deg)) translateY(calc(-1 * var(--ring-r)));
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s var(--ease);
}

.core-ring span.is-on {
  height: 17px;
  background: linear-gradient(180deg, #f5ffff, var(--aqua) 44%, #3ca4ff);
  box-shadow: 0 0 9px rgba(127, 255, 212, 0.7);
}

.preview-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: calc(var(--ring-r) * 2 + 96px);
  aspect-ratio: 1;
  border: 1px solid rgba(127, 255, 212, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.preview-orbit--one {
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(18deg);
}

.preview-orbit--two {
  width: calc(var(--ring-r) * 2 + 28px);
  border-color: rgba(127, 255, 212, 0.11);
  transform: translate(-50%, -50%) rotateX(72deg) rotateZ(-36deg);
}

.preview-node {
  position: relative;
  z-index: 2;
  width: clamp(104px, 10vw, 136px);
  height: clamp(158px, 16vw, 210px);
  transform: perspective(760px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.45s var(--ease);
}

.preview-node:hover {
  transform: perspective(760px) rotateY(-3deg) rotateX(0deg) translateY(-3px);
}

.node-glow {
  position: absolute;
  right: 12%;
  bottom: -18px;
  left: 12%;
  z-index: -1;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(127, 255, 212, 0.62), transparent 70%);
  filter: blur(18px);
  opacity: calc(0.35 + var(--load) * 0.65);
  transition: opacity 0.45s ease, background 0.45s ease;
}

.node-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(127, 255, 212, 0.25);
  border-radius: 18px;
  background:
    radial-gradient(110% 70% at 25% 0, rgba(127, 255, 212, 0.09), transparent 50%),
    linear-gradient(145deg, #10251f, #030806 68%);
  box-shadow:
    0 35px 60px rgba(0, 0, 0, 0.52),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.node-face::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(127, 255, 212, 0.11);
  border-radius: 11px;
  pointer-events: none;
}

.node-face::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(127, 255, 212, 0.24), transparent);
}

.node-screw {
  position: absolute;
  top: 15px;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 245, 247, 0.24);
}

.node-screw--tl {
  left: 16px;
}

.node-screw--tr {
  right: 16px;
}

.node-brand {
  position: absolute;
  top: 28px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.node-brand span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.node-slots {
  position: absolute;
  top: 83px;
  right: 16px;
  left: 16px;
  display: grid;
  gap: 5px;
}

.node-slots i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(127, 255, 212, 0.2);
}

.node-slots i:nth-child(2) {
  width: 82%;
  opacity: 0.7;
}

.node-slots i:nth-child(4) {
  width: 64%;
  opacity: 0.55;
}

.node-ports {
  position: absolute;
  bottom: 30px;
  left: 16px;
  display: flex;
  gap: 5px;
}

.node-ports i {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(127, 255, 212, 0.48);
  border-radius: 50%;
}

.node-ports i:first-child {
  background: var(--aqua);
  border-color: var(--aqua);
  box-shadow: 0 0 8px rgba(127, 255, 212, 0.8);
}

.node-code {
  position: absolute;
  right: 13px;
  bottom: 11px;
  color: rgba(245, 245, 247, 0.32);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.node-reflection {
  position: absolute;
  right: 8%;
  bottom: -34px;
  left: 8%;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(127, 255, 212, 0.24), transparent 70%);
  filter: blur(12px);
}

.preview-shock {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(127, 255, 212, 0.65);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4);
}

.preview-bottom {
  position: absolute;
  right: 28px;
  bottom: 20px;
  left: 28px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.preview-caption {
  max-width: 30em;
  color: rgba(245, 245, 247, 0.55);
  font-size: 12.5px;
  line-height: 1.6;
}

.preview-caption span {
  display: block;
  margin-top: 3px;
  color: rgba(245, 245, 247, 0.28);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 19px;
}

.preview-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preview-stats span {
  color: rgba(245, 245, 247, 0.28);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.preview-stats strong {
  color: rgba(245, 245, 247, 0.85);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
}

.server-preview.has-gpu .preview-aurora {
  background:
    radial-gradient(circle, rgba(127, 255, 212, 0.22), rgba(75, 150, 255, 0.18) 40%, transparent 68%);
}

.server-preview.has-gpu .node-face {
  border-color: rgba(103, 177, 255, 0.36);
}

.server-preview.has-gpu .node-glow {
  background: radial-gradient(ellipse, rgba(103, 177, 255, 0.58), transparent 70%);
}

.server-preview.is-surging .preview-shock {
  animation: preview-shock 0.9s var(--ease) both;
}

.server-preview.is-surging .preview-node {
  animation: node-surge 0.8s var(--ease) both;
}

.server-preview.is-surging .preview-aurora {
  animation: preview-flash 0.9s ease both;
}

.configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(350px, 0.6fr);
  align-items: start;
  gap: clamp(18px, 2.4vw, 30px);
}

.config-panel {
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(4, 71, 57, 0.06);
}

.config-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.config-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.config-title span {
  color: var(--line-strong);
}

.config-code {
  margin: 0;
  color: var(--aqua-deep);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  padding: 18px 0 2px;
}

.preset-label {
  align-self: center;
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
}

.preset {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.preset strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.preset span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
}

.preset:hover {
  border-color: var(--line-strong);
}

.preset[aria-pressed="true"] {
  border-color: var(--aqua-strong);
  background: var(--aqua-soft);
}

.preset[aria-pressed="true"] span {
  color: var(--aqua-deep);
}

.config-group {
  min-inline-size: 0;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.config-group legend {
  display: flex;
  align-items: baseline;
  width: 100%;
  padding: 0;
  color: var(--ink);
}

.config-legend {
  display: flex;
  align-items: baseline;
  width: 100%;
  color: var(--ink);
}

.config-no {
  display: inline-block;
  min-width: 30px;
  margin-right: 4px;
  color: var(--aqua-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.config-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.config-en {
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.config-unit {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.config-value-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 15px 0;
}

.config-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.config-value output {
  font: inherit;
}

.config-value > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.stepper {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.stepper button + button {
  border-left: 1px solid var(--line);
}

.stepper button:hover {
  background: var(--aqua);
  color: #04352b;
}

.stepper button:disabled {
  color: rgba(29, 29, 31, 0.2);
  cursor: not-allowed;
}

.stepper button:disabled:hover {
  background: transparent;
  color: rgba(29, 29, 31, 0.2);
}

.range {
  display: block;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
}

.range:focus-visible {
  outline: 1px dashed var(--aqua-deep);
  outline-offset: 6px;
}

.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--aqua-strong) 0 var(--p, 20%), #e5e5ea var(--p, 20%) 100%);
}

.range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.25),
    0 0 0 0.5px rgba(0, 0, 0, 0.08);
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.2s ease;
}

.range:hover::-webkit-slider-thumb,
.range:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 0 4px rgba(127, 255, 212, 0.34);
}

.range::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #e5e5ea;
}

.range::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--aqua-strong);
}

.range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.25),
    0 0 0 0.5px rgba(0, 0, 0, 0.08);
}

.range-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Non-linear memory control */
.memory-control {
  position: relative;
  margin-top: 4px;
  padding: 14px 12px 36px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}

.memory-control:focus-visible {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 2px;
  border-radius: 12px;
}

.memory-track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: #e5e5ea;
}

.memory-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--aqua-strong));
}

.memory-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.25),
    0 0 0 0.5px rgba(0, 0, 0, 0.08);
  transform: translate(-50%, -50%);
  transition: box-shadow 0.2s ease, scale 0.2s var(--ease);
}

.memory-control:hover .memory-thumb,
.memory-control.is-dragging .memory-thumb {
  box-shadow:
    0 2px 9px rgba(0, 0, 0, 0.3),
    0 0 0 4px rgba(127, 255, 212, 0.34);
}

.memory-control.is-dragging .memory-thumb {
  scale: 1.04;
}

.memory-ticks {
  position: absolute;
  inset: -7px 0;
  pointer-events: none;
}

.memory-ticks span {
  position: absolute;
  top: 4px;
  width: 1px;
  height: 12px;
  background: #cfcfd4;
  transform: translateX(-50%);
}

.memory-ticks span.is-common {
  top: 2px;
  height: 16px;
  background: #b7b7be;
}

.memory-ticks span.is-active {
  background: var(--aqua-deep);
}

.memory-labels {
  position: relative;
  height: 20px;
  margin-top: 10px;
}

.memory-labels span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
  white-space: nowrap;
}

.memory-labels span.is-common {
  color: var(--ink-soft);
}

.memory-labels span.is-active {
  color: var(--aqua-deep);
  font-weight: 700;
}

.memory-labels span[data-edge="start"] {
  transform: none;
}

.memory-labels span[data-edge="end"] {
  transform: translateX(-100%);
}

.memory-hint {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.memory-hint .mono {
  color: var(--aqua-deep);
  font-size: 11.5px;
}

.hdd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
}

.hdd-copy {
  max-width: 460px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.switch-track {
  position: relative;
  display: block;
  width: 46px;
  height: 27px;
  border-radius: 999px;
  background: #dcdce0;
  transition: background 0.25s ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--ease);
}

.switch input:checked + .switch-track {
  background: var(--aqua-strong);
}

.switch input:checked + .switch-track::after {
  transform: translateX(19px);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 3px;
}

.switch-label {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.hdd-controls {
  transition: opacity 0.25s ease;
}

.hdd-group.is-off .hdd-controls {
  opacity: 0.32;
}

.tag-badge {
  margin-left: 10px;
  padding: 2px 8px;
  border: 1px solid rgba(0, 125, 103, 0.35);
  border-radius: 999px;
  color: var(--aqua-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.gpu-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 15px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.gpu-card:hover {
  border-color: rgba(0, 125, 103, 0.45);
  background: var(--aqua-tint);
}

.gpu-card.is-selected {
  border-color: var(--aqua-strong);
  background: var(--aqua-soft);
}

.gpu-card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gpu-card-title {
  font-size: 14px;
  line-height: 1.5;
}

.gpu-card-desc {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.gpu-state {
  margin-top: 2px;
  color: var(--aqua-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.gpu-card-cta {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.gpu-card:hover .gpu-card-cta {
  border-color: rgba(0, 125, 103, 0.45);
  color: var(--aqua-deep);
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.os-option {
  position: relative;
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.os-option:hover {
  border-color: var(--line-strong);
}

.os-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.os-option > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.os-option strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.os-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.os-option:has(input:checked) {
  border-color: var(--aqua-strong);
  background: var(--aqua-soft);
}

.os-option:has(input:focus-visible) {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 2px;
}

.os-recommend-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.inline-link {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 125, 103, 0.32);
  background: none;
  color: var(--aqua-deep);
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.inline-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.os-recommend-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 22px;
}

.os-recommend-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.os-recommend-points .mono {
  flex: 0 0 auto;
  color: var(--aqua-deep);
  font-size: 10.5px;
}

.os-recommend-dialog .modal-head h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  letter-spacing: -0.045em;
}

@media (max-width: 520px) {
  .os-recommend-dialog .modal-head h2 {
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .os-recommend-dialog .modal-desc {
    font-size: 13px;
  }
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.region-option {
  position: relative;
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.region-option:hover {
  border-color: var(--line-strong);
}

.region-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.region-option > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.region-option strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.region-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.region-option em {
  margin-top: 3px;
  color: var(--aqua-deep);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
}

.region-option:has(input:checked) {
  border-color: var(--aqua-strong);
  background: var(--aqua-soft);
}

.region-option:has(input:focus-visible) {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 2px;
}

.config-footnote {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.config-footnote--warn {
  color: #9a4f00;
}

.config-footnote a {
  color: var(--aqua-deep);
  border-bottom: 1px solid rgba(0, 125, 103, 0.35);
}

.config-summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: clamp(22px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.08);
}

.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.summary-live {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--aqua-strong);
  vertical-align: 1px;
  animation: pulse 2.6s ease-out infinite;
}

.billing {
  display: flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.billing button {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  transition: background 0.25s ease, color 0.25s ease;
}

.billing button.is-active {
  background: var(--ink);
  color: #fff;
}

.billing button em {
  margin-left: 3px;
  color: var(--aqua-deep);
  font-style: normal;
  font-size: 11px;
}

.billing button.is-active em {
  color: var(--aqua);
}

.summary-heading {
  padding: 17px 0 3px;
}

.summary-heading .mono {
  color: var(--muted);
  font-size: 12px;
}

.summary-code {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: break-word;
}

.core-map {
  margin: 14px 0 15px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.core-map-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11.5px;
}

.leds {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 4px;
}

.leds span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: #e5e5ea;
}

.leds span.is-on {
  background: var(--aqua-strong);
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.summary-lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.summary-lines li > span {
  min-width: 0;
}

.summary-lines li b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.summary-lines li.is-gpu > span,
.summary-lines li.is-hdd > span,
.summary-lines li.is-perf > span,
.summary-lines li.is-assistant > span {
  color: var(--aqua-deep);
}

.summary-total {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.summary-total .mono {
  color: var(--muted);
  font-size: 12px;
}

.summary-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.summary-price > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.summary-billing-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.config-summary .button--block {
  min-height: 48px;
  margin-top: 16px;
  font-size: 13.5px;
}

.summary-copy {
  display: block;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  transition: color 0.25s ease;
}

.summary-copy:hover {
  color: var(--ink);
}

.summary-included {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-included li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.summary-fine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.server-footnote {
  margin-top: 30px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
}

.server-footnote a {
  color: var(--aqua-deep);
  border-bottom: 1px solid rgba(0, 125, 103, 0.32);
}

/* =========================================================================
   Wallpaper library
   ========================================================================= */

.wallpapers {
  background: var(--surface);
}

.wp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.wp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wp-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.wp-filter span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.wp-filter:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.wp-filter.is-active {
  border-color: var(--aqua);
  background: var(--aqua);
  color: #04352b;
}

.wp-filter.is-active span {
  color: rgba(4, 53, 43, 0.62);
}

.wp-count {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.wp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
}

.wallpaper-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

.wallpaper-card:focus-visible {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 4px;
  border-radius: 20px;
}

.wallpaper-card[hidden] {
  display: none;
}

.wp-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: var(--surface-soft);
}

.wp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.wallpaper-card:hover .wp-media img {
  transform: scale(1.035);
}

.wp-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(10, 30, 24, 0.32);
  color: #fff;
  font-size: 11.5px;
  opacity: 0;
  transform: translateY(5px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.wp-open span {
  color: var(--aqua);
}

.wallpaper-card:hover .wp-open,
.wallpaper-card:focus-visible .wp-open {
  opacity: 1;
  transform: none;
}

.wp-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 9px;
  color: var(--muted);
}

.wp-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.wp-title {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.wp-cat {
  margin-left: auto;
  font-size: 12.5px;
}

.modal.wallpaper-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-width: 1180px;
}

.wallpaper-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.wallpaper-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wallpaper-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: clamp(14px, 2vw, 26px);
  overflow: hidden;
  background: #07110f;
}

.wallpaper-preview img {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 84px);
  object-fit: contain;
}

.wallpaper-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 44px);
}

.wallpaper-panel .eyebrow {
  margin-bottom: 16px;
  font-size: 11.5px;
}

.wallpaper-cat {
  margin-bottom: 9px;
  color: var(--aqua-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.wallpaper-panel h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.wallpaper-desc {
  max-width: 26em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.wallpaper-download {
  align-self: flex-start;
  margin-top: 26px;
}

.wallpaper-download .icon {
  width: 17px;
  height: 17px;
}

/* =========================================================================
   Channels
   ========================================================================= */

.channels {
  background: var(--surface-soft);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: #090a0b;
  color: var(--on-dark);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.channel-card::before {
  content: "";
  position: absolute;
  right: -24%;
  bottom: -42%;
  z-index: -1;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.8;
  filter: blur(6px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}

.channel-card--bili::before {
  background: radial-gradient(circle, rgba(255, 86, 154, 0.38) 0, rgba(51, 135, 255, 0.24) 44%, transparent 70%);
}

.channel-card--douyin::before {
  background: radial-gradient(circle, rgba(127, 255, 212, 0.32) 0, rgba(255, 60, 92, 0.22) 44%, transparent 70%);
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.16);
}

.channel-card:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.channel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.channel-top .mono {
  color: rgba(245, 245, 247, 0.56);
  font-size: 12px;
}

.channel-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.channel-card:hover .channel-arrow {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.channel-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 28px;
}

.channel-name {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.channel-card--douyin .channel-name {
  font-family: var(--font-sans);
  letter-spacing: -0.06em;
}

.channel-desc {
  max-width: 27em;
  color: rgba(245, 245, 247, 0.58);
  font-size: 15px;
  line-height: 1.6;
}

.channel-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 245, 247, 0.72);
  font-size: 13px;
}

.channel-play {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: var(--aqua);
}

.channel-play .icon {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.channel-url {
  margin-left: auto;
  color: rgba(245, 245, 247, 0.36);
  font-size: 12px;
}

.douyin-id {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 7px 8px 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.douyin-id > .mono {
  color: rgba(245, 245, 247, 0.4);
  font-size: 11.5px;
}

.douyin-id strong {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.douyin-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.85);
  font-size: 12px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.douyin-copy .icon {
  width: 13px;
  height: 13px;
}

.douyin-copy:hover {
  border-color: var(--aqua);
  background: var(--aqua);
  color: #04352b;
}

.channel-foot--douyin {
  justify-content: space-between;
}

.channel-search {
  color: rgba(245, 245, 247, 0.75);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.25s ease;
}

.channel-search:hover {
  color: var(--aqua);
}

/* =========================================================================
   Method
   ========================================================================= */

.method {
  background: var(--surface);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-grid li {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.method-no {
  color: var(--aqua-deep);
  font-size: 12px;
}

.method-en {
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.method-grid h3 {
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(40px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.method-grid li > p:last-child {
  max-width: 22em;
  margin-top: auto;
  padding-top: 26px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.method-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(50% 120% at 88% 100%, rgba(255, 255, 255, 0.65), transparent 70%),
    linear-gradient(135deg, var(--aqua-soft), var(--aqua));
  color: var(--ink);
}

.method-banner p {
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.method-banner .button {
  flex: 0 0 auto;
}

/* =========================================================================
   Partners
   ========================================================================= */

.partners {
  background: var(--surface-soft);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.partner-card {
  --brand: var(--aqua-deep);
  --brand-soft: rgba(127, 255, 212, 0.09);
  --brand-border: rgba(0, 125, 103, 0.32);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 178px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.4s var(--ease), transform 0.3s var(--ease);
}

.partner-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--brand);
  opacity: 0.9;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.partner-card--intel {
  --brand: #0a6cbd;
  --brand-soft: rgba(10, 108, 189, 0.065);
  --brand-border: rgba(10, 108, 189, 0.36);
}

.partner-card--amd {
  --brand: #d94a2b;
  --brand-soft: rgba(217, 74, 43, 0.07);
  --brand-border: rgba(217, 74, 43, 0.36);
}

.partner-card--cloudflare {
  --brand: #dd8b43;
  --brand-soft: rgba(248, 184, 120, 0.16);
  --brand-border: rgba(221, 139, 67, 0.4);
}

.partner-card--sugon {
  --brand: #b01d23;
  --brand-soft: rgba(176, 29, 35, 0.06);
  --brand-border: rgba(176, 29, 35, 0.34);
}

.partner-card--bt {
  --brand: #1c9b52;
  --brand-soft: rgba(28, 155, 82, 0.065);
  --brand-border: rgba(28, 155, 82, 0.34);
}

.partner-card--okx {
  --brand: #000000;
  --brand-soft: rgba(0, 0, 0, 0.045);
  --brand-border: rgba(0, 0, 0, 0.3);
}

.partner-card--xiangyi {
  --brand: #6f9b52;
  --brand-soft: rgba(111, 155, 82, 0.08);
  --brand-border: rgba(111, 155, 82, 0.38);
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 0;
  padding: 20px 26px;
}

.partner-card--xiangyi .partner-logo {
  min-height: 0;
  flex: none;
}

.partner-card--xiangyi .partner-meta {
  flex: 1;
  align-items: baseline;
  gap: 12px;
}

.partner-card--xiangyi .partner-logo img {
  max-width: 56px;
  max-height: 56px;
  border-radius: 13px;
}

.partner-card--okx.is-static {
  pointer-events: none;
  cursor: default;
}

a.partner-card:hover,
a.partner-card:focus-visible {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  box-shadow: 0 16px 42px -20px var(--brand);
  transform: translateY(-2px);
}

a.partner-card:hover::after,
a.partner-card:focus-visible::after {
  transform: scaleX(1);
}

.partner-logo {
  display: flex;
  align-items: center;
  min-height: 70px;
}

.partner-logo img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

a.partner-card:hover .partner-logo img,
a.partner-card:focus-visible .partner-logo img {
  opacity: 1;
}

a.partner-card--intel:hover .partner-logo img,
a.partner-card--intel:focus-visible .partner-logo img {
  filter: brightness(0) saturate(100%) invert(29%) sepia(92%) saturate(1895%) hue-rotate(191deg) brightness(93%) contrast(101%);
}

a.partner-card--amd:hover .partner-logo img,
a.partner-card--amd:focus-visible .partner-logo img {
  filter: brightness(0) saturate(100%) invert(41%) sepia(66%) saturate(2277%) hue-rotate(347deg) brightness(96%) contrast(93%);
}

a.partner-card--cloudflare:hover .partner-logo img,
a.partner-card--cloudflare:focus-visible .partner-logo img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(43%) saturate(1456%) hue-rotate(346deg) brightness(103%) contrast(93%);
}

a.partner-card--sugon:hover .partner-logo img,
a.partner-card--sugon:focus-visible .partner-logo img {
  filter: grayscale(0) saturate(1.05);
}

a.partner-card--bt:hover .partner-logo img,
a.partner-card--bt:focus-visible .partner-logo img {
  filter: grayscale(0) saturate(1.05);
}

a.partner-card--xiangyi:hover .partner-logo img,
a.partner-card--xiangyi:focus-visible .partner-logo img {
  filter: grayscale(0) saturate(1.05);
}

a.partner-card--okx[href]:hover .partner-logo img,
a.partner-card--okx[href]:focus-visible .partner-logo img {
  filter: brightness(0) saturate(100%);
  opacity: 1;
}

.partner-logo--tight img {
  max-width: 135px;
  max-height: 54px;
}

.partner-logo--icon img {
  max-width: 130px;
  max-height: 54px;
}

.partner-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.partner-meta strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.partner-meta small {
  color: var(--muted);
  font-size: 12px;
}

.partner-arrow {
  margin-left: auto;
  color: var(--aqua-deep);
  font-size: 15px;
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

a.partner-card:hover .partner-arrow,
a.partner-card:focus-visible .partner-arrow {
  color: var(--brand);
  transform: translate(2px, -2px);
}

.partner-static {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.partners-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
}

/* =========================================================================
   Contact
   ========================================================================= */

.contact {
  background: var(--surface);
  padding-block: clamp(56px, 7vw, 96px);
}

.contact-panel {
  padding: clamp(32px, 6vw, 76px);
  border-radius: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(55% 120% at 100% 100%, rgba(255, 255, 255, 0.72), transparent 70%),
    linear-gradient(135deg, var(--aqua-soft), var(--aqua));
  color: var(--ink);
}

.contact-panel .eyebrow {
  color: rgba(4, 53, 43, 0.62);
}

.contact-title {
  max-width: 1000px;
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.contact-copy {
  max-width: 32em;
  margin-top: 18px;
  color: rgba(4, 53, 43, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

.contact-mail {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.15;
  transition: opacity 0.25s ease;
}

.contact-mail span {
  color: var(--aqua-deep);
  font-family: var(--font-sans);
  font-size: 0.7em;
}

.contact-mail:hover {
  opacity: 0.62;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-panel .button--ghost {
  border-color: rgba(4, 53, 43, 0.35);
}

.contact-panel .button--ghost:hover {
  border-color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 40px;
  margin-top: clamp(40px, 5vw, 58px);
  padding-top: 28px;
  border-top: 1px solid rgba(4, 53, 43, 0.18);
}

.contact-grid dt {
  color: rgba(4, 53, 43, 0.58);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-grid dd {
  margin-top: 6px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
}

.contact-grid dd a {
  border-bottom: 1px solid rgba(4, 53, 43, 0.28);
  transition: border-color 0.25s ease;
}

.contact-grid dd a:hover {
  border-color: var(--ink);
}

.contact-grid .mono {
  color: rgba(4, 53, 43, 0.55);
  font-size: 11.5px;
}

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  background: var(--surface-soft);
  color: var(--ink);
  padding: 48px 0 26px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.25fr);
  gap: clamp(36px, 7vw, 100px);
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: inline-block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-brand span {
  color: var(--aqua-strong);
}

.footer-brand-block > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-nav .mono {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--aqua-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom .mono {
  margin: 0;
  color: inherit;
  font-size: 12px;
}

.footer-top-link {
  color: var(--ink);
  transition: color 0.25s ease;
}

.footer-top-link:hover {
  color: var(--aqua-deep);
}

/* =========================================================================
   Modals
   ========================================================================= */

.modal {
  width: min(960px, calc(100vw - 32px));
  max-width: 960px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.modal[open] {
  animation: modal-in 0.4s var(--ease) both;
}

.modal::backdrop {
  background: rgba(9, 24, 20, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: backdrop-in 0.3s ease both;
}

.modal-shell {
  max-height: calc(100dvh - 32px);
  padding: clamp(24px, 3.6vw, 42px);
  overflow: auto;
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.modal-head .eyebrow {
  margin-bottom: 16px;
}

.modal-head h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.modal-close:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.modal-desc {
  max-width: 56em;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.gpu-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-width: 1080px;
}

.gpu-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gpu-option {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.gpu-option:hover {
  border-color: var(--line-strong);
}

.gpu-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gpu-option-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
  padding: 19px;
}

.gpu-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gpu-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gpu-tag {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  white-space: nowrap;
}

.gpu-tag--recommend {
  border-color: var(--aqua-strong);
  background: var(--aqua);
  color: #04352b;
}

.gpu-full {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.gpu-spec {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.gpu-note {
  flex: 1;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.gpu-price {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gpu-price small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.gpu-option:has(input:checked) {
  border-color: var(--aqua-strong);
  background: var(--aqua-soft);
  box-shadow: inset 0 0 0 1px var(--aqua-strong);
}

.gpu-option:has(input:focus-visible) {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 3px;
}

.gpu-term {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.modal-actions--start {
  justify-content: flex-start;
}

.quote-dialog {
  width: min(780px, calc(100vw - 32px));
  max-width: 780px;
}

.quote-output {
  max-height: 42vh;
  margin: 0;
  padding: 20px;
  overflow: auto;
  border-radius: 16px;
  background: #071411;
  color: rgba(245, 245, 247, 0.92);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.modal-fine {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2000;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1200px) {
  .primary-nav {
    gap: 22px;
  }

  .dept-summary {
    grid-template-columns: 58px minmax(0, 1.1fr) minmax(138px, 1fr) 38px;
    gap: 18px;
    padding-inline: 22px;
  }

  .dept-panel-grid {
    padding-left: 98px;
  }

  .configurator {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  }
}

@media (max-width: 1020px) {
  .primary-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-title {
    font-size: clamp(74px, 17vw, 220px);
  }

  .configurator {
    grid-template-columns: 1fr;
  }

  .config-summary {
    position: static;
    width: 100%;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy {
    max-width: 640px;
  }

  .stats > div {
    padding: 0 18px;
  }

  .workplaces {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

  .workplaces li:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }

  .dept-tags {
    display: none;
  }

  .dept-summary {
    grid-template-columns: 58px minmax(0, 1fr) 38px;
    min-height: 96px;
  }

  .dept-panel-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(160px, 0.55fr);
    padding-left: 98px;
  }

  .dept-col--meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .dept-col--meta .dept-label {
    display: none;
  }

  .dept-col--meta p {
    margin: 0;
  }

  .dept-col--meta .link-arrow {
    margin-top: 0;
    white-space: nowrap;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin-inline: auto;
  }

  .product-card--wide {
    grid-template-columns: 1fr;
  }

  .product-card--wide .product-visual {
    aspect-ratio: 900 / 520;
    min-height: 0;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channel-card {
    min-height: 360px;
  }

  .facilities {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .facilities li {
    padding: 14px 16px;
  }

  .gpu-options {
    grid-template-columns: 1fr;
  }

  .method-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-banner .button {
    align-self: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .wallpaper-shell {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  .wallpaper-preview {
    min-height: 0;
    max-height: 56vh;
  }

  .wallpaper-preview img {
    max-height: 52vh;
  }

  .wp-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 60px;
    --gutter: 20px;
  }

  .section {
    padding-block: 76px;
  }

  .section-head {
    gap: 13px;
  }

  .section-head--center {
    margin-bottom: 38px;
  }

  .section-title {
    font-size: clamp(32px, 8.8vw, 46px);
    letter-spacing: -0.045em;
  }

  .break-mobile {
    display: inline;
  }

  .section-desc {
    font-size: 15px;
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 11.5px;
  }

  .header-actions .button {
    display: none;
  }

  .hero-aurora {
    top: -20%;
    width: 120vw;
    height: 75vw;
  }

  .hero-inner {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .hero-kicker {
    font-size: 11.5px;
  }

  .hero-title {
    margin-top: 12px;
    font-size: clamp(62px, 21vw, 150px);
    letter-spacing: -0.08em;
  }

  .hero-tagline {
    margin-top: 22px;
    font-size: 23px;
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 23px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-feature {
    margin-top: 32px;
    border-radius: 26px;
  }

  .hero-feature {
    aspect-ratio: 4 / 3;
  }

  .hero-feature-top {
    right: 16px;
    left: 16px;
  }

  .hero-feature-top .mono {
    display: none;
  }

  .chip {
    min-height: 28px;
    font-size: 11px;
  }

  .hero-feature-bottom {
    right: 16px;
    bottom: 16px;
    left: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-feature-title {
    font-size: 28px;
  }

  .hero-feature-link {
    font-size: 13px;
  }

  .hero-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
  }

  .hero-foot .mono {
    order: 3;
    font-size: 11px;
  }

  .hero-disciplines {
    gap: 6px 16px;
  }

  .hero-disciplines a {
    font-size: 13px;
  }

  .hero-socials {
    gap: 16px;
  }

  .about > .container > .eyebrow {
    margin-bottom: 22px;
  }

  .about-copy {
    gap: 15px;
    font-size: 15px;
  }

  .about-copy .lead {
    font-size: 17px;
  }

  .about-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .stats > div {
    padding: 0 16px;
  }

  .stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stats > div:nth-child(2) {
    border-left: 1px solid var(--line);
  }

  .stats > div:nth-child(4) {
    padding-left: 16px;
  }

  .stats dd {
    margin-top: 13px;
    font-size: 48px;
  }

  .workplaces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
    margin-top: 26px;
    padding-top: 20px;
  }

  .workplaces li {
    padding: 0 16px;
  }

  .workplaces li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .workplaces li:nth-child(4) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .workplaces strong {
    font-size: 14px;
  }

  .dept-summary {
    grid-template-columns: 50px minmax(0, 1fr) 34px;
    gap: 14px;
    min-height: 84px;
    padding: 14px 16px;
  }

  .dept-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .dept-icon .icon {
    width: 24px;
    height: 24px;
  }

  .dept-name {
    font-size: 21px;
    gap: 6px;
  }

  .dept-en {
    font-size: 10.5px;
  }

  .dept-toggle {
    width: 34px;
    height: 34px;
  }

  .dept-panel-grid {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 22px 20px 26px;
  }

  .dept-label {
    font-size: 11px;
  }

  .dept-desc,
  .dept-services,
  .dept-col--meta p {
    font-size: 14px;
  }

  .dept-col--meta {
    display: block;
    padding-top: 17px;
  }

  .dept-col--meta .dept-label {
    display: block;
  }

  .dept-col--meta .link-arrow {
    margin-top: 12px;
  }

  .product-body {
    padding: 22px;
  }

  .product-meta {
    font-size: 11px;
  }

  .product-body h3 {
    font-size: 27px;
  }

  .product-body > p {
    font-size: 14px;
  }

  .facilities {
    margin-bottom: 30px;
  }

  .config-panel {
    padding: 17px;
    border-radius: 24px;
  }

  .config-head {
    gap: 8px;
  }

  .config-title {
    font-size: 10.5px;
  }

  .config-code {
    font-size: 10.5px;
  }

  .preset-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .preset {
    flex: none;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
  }

  .preset strong {
    font-size: 13px;
  }

  .preset span {
    font-size: 11.5px;
    text-align: right;
    white-space: nowrap;
  }

  .preset-label {
    width: 100%;
    margin: 2px 0 0;
  }

  .config-group {
    padding: 21px 0;
  }

  .config-no {
    min-width: 26px;
  }

  .config-name {
    font-size: 14px;
  }

  .config-en {
    margin-left: 7px;
    font-size: 10px;
  }

  .config-unit {
    max-width: 44%;
    text-align: right;
    font-size: 11px;
    line-height: 1.35;
  }

  .config-value {
    font-size: 40px;
  }

  .stepper button {
    width: 40px;
    height: 40px;
  }

  .range-meta {
    font-size: 10.5px;
  }

  .memory-control {
    padding-inline: 7px;
  }

  .memory-labels span {
    font-size: 11px;
  }

  .memory-hint {
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
  }

  .hdd-head {
    flex-direction: column;
    gap: 14px;
  }

  .switch {
    align-self: flex-start;
  }

  .gpu-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px;
  }

  .gpu-card-cta {
    align-self: stretch;
    text-align: center;
  }

  .os-grid {
    grid-template-columns: 1fr;
  }

  .region-grid {
    grid-template-columns: 1fr;
  }

  .config-summary {
    padding: 20px;
    border-radius: 24px;
  }

  .summary-price {
    font-size: 48px;
  }

  .summary-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .billing {
    width: 100%;
  }

  .billing button {
    flex: 1;
    text-align: center;
  }

  .wp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wp-toolbar {
    margin-bottom: 16px;
  }

  .wp-filter {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .wp-media {
    border-radius: 16px;
  }

  .wp-open {
    opacity: 1;
    transform: none;
    right: 7px;
    bottom: 7px;
    padding: 6px 8px;
    font-size: 10.5px;
  }

  .wp-meta {
    flex-wrap: wrap;
    gap: 5px 8px;
    padding-top: 8px;
  }

  .wp-num {
    font-size: 10.5px;
  }

  .wp-title {
    font-size: 13.5px;
  }

  .wp-cat {
    width: 100%;
    margin-left: 0;
    font-size: 11.5px;
  }

  .wallpaper-panel {
    padding: 24px 20px;
  }

  .wallpaper-pill {
    margin-top: 20px;
  }

  .channel-card {
    min-height: 340px;
    padding: 22px;
    border-radius: 26px;
  }

  .channel-name {
    font-size: clamp(50px, 14vw, 68px);
  }

  .channel-desc {
    font-size: 14px;
  }

  .douyin-id {
    flex-wrap: wrap;
    width: 100%;
    border-radius: 18px;
  }

  .douyin-id strong {
    flex: 1;
    min-width: 120px;
    font-size: 13px;
  }

  .channel-foot {
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 12px;
  }

  .channel-url {
    font-size: 10.5px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-grid li {
    min-height: 0;
    padding: 22px;
  }

  .method-en {
    margin-top: 24px;
  }

  .method-grid li > p:last-child {
    margin-top: 0;
    padding-top: 16px;
  }

  .method-banner {
    padding: 24px;
    border-radius: 24px;
  }

  .method-banner p {
    font-size: 25px;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 152px;
    padding: 20px;
  }

  .contact-panel {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .contact-title {
    font-size: clamp(35px, 9vw, 48px);
  }

  .contact-mail {
    font-size: clamp(22px, 6.4vw, 32px);
    gap: 7px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
  }

  .footer-top {
    padding-bottom: 30px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .footer-nav > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom .mono:nth-child(2) {
    display: none;
  }

  .footer-top-link {
    margin-top: 4px;
  }

  .modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .modal-shell {
    max-height: calc(100dvh - 20px);
    padding: 20px;
    border-radius: 24px;
  }

  .modal-head {
    gap: 14px;
  }

  .modal-head h2 {
    font-size: 31px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .modal-desc {
    margin: 18px 0 20px;
    font-size: 13px;
  }

  .gpu-option-inner {
    padding: 16px;
  }

  .gpu-name {
    font-size: 26px;
  }

  .modal-actions {
    justify-content: stretch;
  }

  .modal-actions .button {
    flex: 1 1 auto;
    padding-inline: 12px;
    font-size: 12.5px;
  }

  .quote-output {
    max-height: 36vh;
    padding: 15px;
    font-size: 12px;
  }

  .wallpaper-preview {
    max-height: 48vh;
  }

  .wallpaper-preview img {
    max-height: 44vh;
  }

  .wallpaper-panel h2 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 22vw;
  }

  .hero-feature-title {
    font-size: 25px;
  }

  .hero-feature-bottom {
    gap: 6px;
  }

  .stats > div {
    padding: 0 12px;
  }

  .stats dd {
    font-size: 44px;
  }

  .workplaces {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .workplaces li,
  .workplaces li:nth-child(4) {
    padding: 0;
    border-left: 0;
  }

  .config-title span {
    display: none;
  }

  .config-panel {
    padding: 15px;
  }

  .config-en {
    display: none;
  }

  .config-unit {
    max-width: 40%;
    font-size: 10px;
  }

  .config-value {
    font-size: 37px;
  }

  .preset {
    flex: none;
    min-width: 0;
  }

  .preset span {
    font-size: 11.5px;
    white-space: nowrap;
  }

  .memory-labels span {
    font-size: 10.5px;
  }

  .summary-lines li {
    font-size: 12.5px;
  }

  .summary-price {
    font-size: 46px;
  }

  .channel-name {
    font-size: 50px;
  }

  .channel-top .mono {
    font-size: 10.5px;
  }

  .channel-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .douyin-id {
    gap: 8px;
    padding: 8px 10px;
  }

  .douyin-copy {
    margin-left: auto;
  }

  .contact-mail {
    font-size: 22px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-nav > div:last-child {
    grid-column: auto;
  }

  .footer-bottom .mono {
    font-size: 10.5px;
  }
}

/* =========================================================================
   Homepage flex cloud teaser
   ========================================================================= */

.cloud-teaser {
  position: relative;
  display: block;
  aspect-ratio: 2.15 / 1;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background: #04110f;
  color: #fff;
  box-shadow: 0 32px 84px rgba(6, 42, 70, 0.2);
}

.cloud-teaser-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cloud-teaser-art svg {
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease);
}

.cloud-teaser:hover .cloud-teaser-art svg {
  transform: scale(1.018);
}

.cloud-teaser-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 12, 19, 0.82) 0, rgba(3, 12, 19, 0.38) 43%, transparent 70%),
    linear-gradient(0deg, rgba(3, 12, 19, 0.72) 0, transparent 55%);
  pointer-events: none;
}

.cloud-teaser-content {
  position: absolute;
  bottom: clamp(26px, 4vw, 48px);
  left: clamp(24px, 4vw, 52px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  max-width: 570px;
}

.cloud-teaser .chip {
  background: rgba(5, 22, 37, 0.5);
}

.cloud-teaser-title {
  color: #fff;
  font-size: clamp(30px, 3.7vw, 52px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.cloud-teaser-meta {
  color: rgba(226, 240, 255, 0.54);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-transform: uppercase;
}

.cloud-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cloud-teaser-link span {
  color: #7fb9ff;
  transition: transform 0.3s var(--ease);
}

.cloud-teaser:hover .cloud-teaser-link {
  color: #a8d6ff;
  border-color: #a8d6ff;
}

.cloud-teaser:hover .cloud-teaser-link span {
  transform: translate(3px, -3px);
}

.cloud-teaser + .server-footnote {
  margin-top: 22px;
}

/* =========================================================================
   Standalone flex cloud configurator
   ========================================================================= */

.configurator-page {
  background: var(--bg);
}

.configurator-page main {
  padding-top: var(--header-h);
}

.configurator-page .site-header .header-inner {
  grid-template-columns: auto 1fr auto;
}

.wp-header-context,
.page-header-context {
  justify-self: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.config-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(26px, 3.5vw, 42px);
  background:
    radial-gradient(52% 70% at 80% 0, rgba(127, 255, 212, 0.23), transparent 70%),
    var(--bg);
}

.config-page-hero .eyebrow {
  margin-bottom: 15px;
}

.config-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: end;
  gap: clamp(28px, 6vw, 90px);
}

.config-page-title {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.config-page-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  padding-bottom: 6px;
}

.config-page-intro > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.config-page-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.config-page-facilities li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.config-page-body {
  padding-bottom: clamp(62px, 8vw, 108px);
  background:
    radial-gradient(50% 38% at 50% 0, rgba(127, 255, 212, 0.16), transparent 75%),
    var(--surface-tint);
}

.configurator-page .configurator--page {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(370px, 0.68fr);
  align-items: start;
  gap: clamp(18px, 2.4vw, 28px);
}

.config-rail {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.live-card {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(5, 50, 42, 0.075);
}

.live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-card .preview-live {
  color: var(--muted);
}

.live-card .preview-live i {
  background: #b9f8e8;
  box-shadow: 0 0 0 4px rgba(185, 248, 232, 0.12);
}

.live-code {
  max-width: 63%;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.live-core-map {
  margin: 11px 0 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.live-core-map .core-map-head {
  margin-bottom: 7px;
  font-size: 10px;
}

.live-core-map .leds {
  gap: 3px;
}

.live-card .leds span.is-on {
  background: #c4faec;
  box-shadow: 0 0 7px rgba(191, 255, 243, 0.48);
}

.orb-stage {
  --intensity: 0.2;
  --jitter: 0.14px;
  position: relative;
  isolation: isolate;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 11px auto 9px;
  overflow: hidden;
  border: 1px solid rgba(196, 255, 244, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 46%, rgba(127, 255, 212, 0.16), transparent 62%),
    #061310;
  box-shadow:
    0 20px 48px rgba(2, 22, 18, 0.22),
    inset 0 0 54px rgba(127, 255, 212, 0.08);
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.orb-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 255, 247, 0.4), rgba(127, 255, 212, 0.1) 46%, transparent 70%);
  filter: blur(20px);
  opacity: calc(0.28 + var(--intensity) * 0.68);
  transform: translate(-50%, -50%);
  transition: opacity 0.45s ease;
  will-change: opacity;
}

.orb-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.orb-svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(198, 255, 244, 0.22));
  animation: engine-idle 0.22s linear infinite;
  will-change: transform;
}

.orb-seg {
  stroke: rgba(202, 255, 246, 0.14);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke 0.38s ease;
}

.orb-seg--cpu {
  stroke-width: 9;
}

.orb-seg--ram {
  stroke-width: 5;
}

.orb-seg--disk {
  stroke-width: 3.5;
}

.orb-seg--cpu.is-on {
  stroke: #b9f8e8;
}

.orb-seg--ram.is-on {
  stroke: #d7fff4;
}

.orb-seg--disk.is-on {
  stroke: #f0fffb;
}

.orb-track {
  fill: none;
  stroke: rgba(204, 255, 246, 0.1);
  stroke-width: 1;
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgba(206, 255, 246, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 29%, rgba(20, 76, 65, 0.72), rgba(2, 17, 14, 0.94) 60%, #020b09),
    #020b09;
  box-shadow:
    0 0 36px rgba(174, 255, 237, 0.28),
    inset 0 0 24px rgba(127, 255, 212, 0.12);
  color: #fff;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: box-shadow 0.45s ease;
}

.orb-core::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(221, 255, 248, 0.14);
  border-radius: 50%;
}

.orb-core-kicker {
  margin-bottom: 3px;
  color: rgba(225, 255, 249, 0.66);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: center;
}

.orb-core strong {
  color: #fbfffe;
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.orb-core-unit {
  margin-top: 2px;
  color: rgba(208, 255, 245, 0.56);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orb-stage.is-max .orb-core {
  box-shadow:
    0 0 52px rgba(191, 255, 240, 0.42),
    inset 0 0 28px rgba(127, 255, 212, 0.16);
}

.orb-stage.gpu-wx {
  border-color: rgba(59, 118, 255, 0.16);
  box-shadow:
    0 0 40px rgba(31, 88, 224, 0.24),
    inset 0 0 54px rgba(16, 66, 180, 0.14);
  animation: gpu-aura-wx 4.6s ease-in-out infinite alternate;
}

.orb-stage.gpu-rx {
  border-color: rgba(255, 92, 98, 0.14);
  box-shadow:
    0 0 40px rgba(220, 30, 45, 0.24),
    inset 0 0 54px rgba(160, 10, 28, 0.14);
  animation: gpu-aura-rx 4.2s ease-in-out infinite alternate;
}

.orb-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 15px;
  margin: 0 0 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.orb-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.legend-dot--cpu {
  background: #b9f8e8;
}

.legend-dot--ram {
  background: #d7fff4;
}

.legend-dot--disk {
  background: #f0fffb;
}

.live-card .preview-stats {
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.live-card .preview-stats span {
  color: var(--muted);
  font-size: 8px;
}

.live-card .preview-stats strong {
  color: var(--ink);
  font-size: 10px;
}

.orb-shock {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(207, 255, 246, 0.7);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4);
}

.orb-stage.is-surging .orb-shock {
  animation: orb-shock 0.9s var(--ease) both;
}

.gpu-fluid {
  --fluid-base: rgba(25, 65, 180, 0.12);
  --fluid-a: #4c84ff;
  --fluid-b: #06174f;
  --fluid-c: #b9d4ff;
  --fluid-glow: rgba(31, 86, 224, 0.4);
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 9px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--fluid-base);
  opacity: 0;
  pointer-events: none;
  -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, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity 0.55s ease;
  will-change: opacity;
}

.gpu-fluid.is-on {
  opacity: 1;
}

.gpu-fluid.is-wx {
  --fluid-base: rgba(8, 35, 140, 0.055);
  --fluid-a: #225dff;
  --fluid-b: #020a38;
  --fluid-c: #7ea9ff;
  --fluid-glow: rgba(15, 65, 230, 0.46);
}

.gpu-fluid.is-rx {
  --fluid-base: rgba(145, 5, 24, 0.055);
  --fluid-a: #ff4350;
  --fluid-b: #4d000b;
  --fluid-c: #ff9a8a;
  --fluid-glow: rgba(219, 24, 42, 0.44);
}

.gpu-fluid::before,
.gpu-fluid::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 215%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, filter;
}

.gpu-fluid::before {
  background:
    conic-gradient(
      from 0deg,
      transparent 0 12%,
      var(--fluid-b) 16%,
      var(--fluid-a) 20%,
      transparent 27% 49%,
      var(--fluid-c) 54%,
      var(--fluid-a) 58%,
      transparent 64% 100%
    );
  filter: blur(8px) saturate(1.35);
  mix-blend-mode: screen;
  animation: fluid-spin 6.2s linear infinite, fluid-hue 6s ease-in-out infinite alternate;
}

.gpu-fluid::after {
  width: 178%;
  background:
    conic-gradient(
      from 180deg,
      transparent 0 22%,
      var(--fluid-c) 27%,
      var(--fluid-a) 31%,
      transparent 37% 100%
    );
  filter: blur(11px) saturate(1.2);
  mix-blend-mode: screen;
  opacity: 0.62;
  animation: fluid-spin-reverse 8.5s linear infinite;
}

.gpu-fluid.is-entering {
  animation: fluid-arrive 1.35s var(--ease);
}

.config-summary--rail {
  width: 100%;
  position: static;
  padding: 17px 18px;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(5, 50, 42, 0.06);
}

.config-summary--rail .summary-top {
  padding-bottom: 11px;
}

.config-summary--rail .summary-total {
  margin-top: 12px;
  padding-top: 12px;
}

.config-summary--rail .summary-price {
  margin-top: 4px;
  font-size: clamp(38px, 3.4vw, 48px);
}

.config-summary--rail .button--block {
  min-height: 44px;
  margin-top: 12px;
  font-size: 13px;
}

.config-summary--rail .summary-copy {
  padding: 8px 0;
}

.summary-details {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.summary-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.summary-details summary::-webkit-details-marker {
  display: none;
}

.summary-details summary:hover {
  color: var(--ink);
}

.summary-details-caret {
  display: inline-block;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.summary-details[open] .summary-details-caret {
  transform: rotate(180deg);
}

.summary-details .summary-lines {
  padding-top: 9px;
}

.summary-details .summary-included {
  padding: 9px 0 0;
  border-bottom: 0;
}

.config-summary--rail .summary-fine {
  margin-top: 8px;
  font-size: 10.5px;
}

.config-page-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.config-page-note a {
  color: var(--aqua-deep);
  border-bottom: 1px solid rgba(0, 125, 103, 0.3);
}

.configurator-page .wp-page-footer {
  background: var(--surface-soft);
}

@media (max-width: 1020px) {
  .configurator-page .configurator--page {
    grid-template-columns: 1fr;
  }

  .config-rail {
    position: static;
  }

  .live-card {
    max-width: 560px;
    margin-inline: auto;
  }

  .config-summary--rail {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .cloud-teaser {
    aspect-ratio: 4 / 3;
    border-radius: 26px;
  }

  .cloud-teaser-shade {
    background:
      linear-gradient(0deg, rgba(3, 12, 19, 0.85) 0, rgba(3, 12, 19, 0.25) 62%, transparent 82%),
      linear-gradient(90deg, rgba(3, 12, 19, 0.42), transparent 70%);
  }

  .cloud-teaser-content {
    right: 18px;
    bottom: 20px;
    left: 18px;
    max-width: none;
  }

  .cloud-teaser-title {
    font-size: clamp(27px, 7.8vw, 38px);
  }

  .cloud-teaser-meta {
    font-size: 9px;
    line-height: 1.45;
  }

  .configurator-page .site-header .header-inner {
    grid-template-columns: 1fr auto;
  }

  .page-header-context {
    display: none;
  }

  .config-page-hero {
    padding-top: 35px;
  }

  .config-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .config-page-title {
    font-size: clamp(36px, 10vw, 52px);
  }

  .config-page-intro > p {
    font-size: 14px;
  }

  .config-page-body {
    padding-bottom: 64px;
  }

  .live-card {
    padding: 14px;
    border-radius: 24px;
  }

  .orb-stage {
    width: min(100%, 320px);
    border-radius: 24px;
  }

  .gpu-fluid {
    border-radius: 24px;
  }

  .config-summary--rail {
    padding: 16px;
    border-radius: 22px;
  }

  .live-card,
  .config-summary--rail {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .orb-stage {
    width: min(100%, 272px);
    border-radius: 22px;
  }

  .gpu-fluid {
    border-radius: 22px;
  }

  .orb-core strong {
    font-size: 25px;
  }

  .cloud-teaser-meta {
    display: none;
  }

  .cloud-teaser .chip {
    font-size: 10px;
  }

  .config-page-facilities li {
    font-size: 9.5px;
  }
}

@keyframes engine-idle {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  18% {
    transform: translate3d(calc(var(--jitter) * -0.55), calc(var(--jitter) * 0.32), 0);
  }
  37% {
    transform: translate3d(calc(var(--jitter) * 0.4), calc(var(--jitter) * -0.28), 0);
  }
  56% {
    transform: translate3d(calc(var(--jitter) * -0.3), calc(var(--jitter) * 0.5), 0);
  }
  78% {
    transform: translate3d(calc(var(--jitter) * 0.5), calc(var(--jitter) * 0.18), 0);
  }
}

@keyframes orb-shock {
  0% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.38);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}

@keyframes fluid-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes fluid-spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes fluid-hue {
  0% {
    filter: blur(8px) saturate(1.28) hue-rotate(0deg);
  }
  100% {
    filter: blur(8px) saturate(1.45) hue-rotate(9deg);
  }
}

@keyframes fluid-arrive {
  0% {
    opacity: 0;
    transform: scale(0.985);
  }
  32% {
    opacity: 1;
    transform: scale(1.008);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gpu-aura-wx {
  from {
    box-shadow:
      0 0 32px rgba(31, 88, 224, 0.17),
      inset 0 0 48px rgba(16, 66, 180, 0.1);
  }
  to {
    box-shadow:
      0 0 54px rgba(31, 88, 224, 0.32),
      inset 0 0 58px rgba(16, 66, 180, 0.18);
  }
}

@keyframes gpu-aura-rx {
  from {
    box-shadow:
      0 0 32px rgba(220, 30, 45, 0.17),
      inset 0 0 48px rgba(160, 10, 28, 0.1);
  }
  to {
    box-shadow:
      0 0 54px rgba(220, 30, 45, 0.32),
      inset 0 0 58px rgba(160, 10, 28, 0.18);
  }
}

/* =========================================================================
   Configurator themes: FlexOS warm paper / performance dark
   ========================================================================= */

body.configurator-page,
body.configurator-page .config-page-hero,
body.configurator-page .config-page-body,
body.configurator-page .config-panel,
body.configurator-page .live-card,
body.configurator-page .config-summary,
body.configurator-page .site-header,
body.configurator-page .wp-page-footer {
  transition: background-color 0.38s ease, border-color 0.38s ease, color 0.38s ease;
}

body.configurator-page.os-flexos {
  --bg: #fffdf3;
  --surface: #fffefa;
  --surface-soft: #fff9e9;
  --surface-tint: #fffdf4;
  background: var(--bg);
}

body.configurator-page.os-flexos .config-page-hero {
  background:
    radial-gradient(52% 70% at 80% 0, rgba(255, 224, 100, 0.24), transparent 70%),
    var(--bg);
}

body.configurator-page.os-flexos .config-page-body {
  background:
    radial-gradient(50% 38% at 50% 0, rgba(255, 229, 121, 0.15), transparent 75%),
    var(--surface-tint);
}

body.configurator-page.os-flexos .site-header {
  background: rgba(255, 253, 243, 0.86);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.configurator-page.os-flexos .wp-page-footer {
  background: var(--surface-soft);
}

body.configurator-page.perf-on {
  --bg: #0b0806;
  --surface: #15100c;
  --surface-soft: #1b1510;
  --surface-tint: #080604;
  --ink: #f7efe3;
  --ink-soft: #d7c8b6;
  --muted: #a39381;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --aqua: #ff5a36;
  --aqua-bright: #ff7a55;
  --aqua-soft: rgba(255, 90, 54, 0.13);
  --aqua-tint: rgba(255, 90, 54, 0.07);
  --aqua-strong: #ff5a36;
  --aqua-deep: #ff7a55;
  --perf-accent: #ff5a36;
  background: var(--bg);
  color: var(--ink);
}

body.configurator-page.perf-on .config-page-hero {
  background:
    radial-gradient(52% 70% at 80% 0, rgba(255, 90, 54, 0.15), transparent 70%),
    var(--bg);
}

body.configurator-page.perf-on .config-page-body {
  background:
    radial-gradient(50% 38% at 50% 0, rgba(255, 90, 54, 0.08), transparent 75%),
    var(--surface-tint);
}

body.configurator-page.perf-on .site-header {
  background: rgba(11, 8, 6, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.configurator-page.perf-on .site-header .brand,
body.configurator-page.perf-on .page-header-context,
body.configurator-page.perf-on .button--ghost {
  color: var(--ink);
}

body.configurator-page.perf-on .button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

body.configurator-page.perf-on .button--ghost:hover {
  border-color: var(--aqua);
  background: rgba(255, 90, 54, 0.1);
}

body.configurator-page.perf-on .config-page-title,
body.configurator-page.perf-on .config-title,
body.configurator-page.perf-on .config-name,
body.configurator-page.perf-on .config-value,
body.configurator-page.perf-on .summary-price,
body.configurator-page.perf-on .summary-code {
  color: var(--perf-accent);
}

body.configurator-page.perf-on .config-title span {
  color: rgba(255, 255, 255, 0.34);
}

body.configurator-page.perf-on .config-page-facilities li {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink-soft);
}

body.configurator-page.perf-on .stepper {
  background: rgba(255, 255, 255, 0.035);
}

body.configurator-page.perf-on .stepper button:disabled,
body.configurator-page.perf-on .stepper button:disabled:hover {
  color: rgba(255, 255, 255, 0.18);
}

body.configurator-page.perf-on .gpu-card-cta {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

body.configurator-page.perf-on .gpu-card:hover {
  border-color: var(--aqua);
}

body.configurator-page.perf-on .tag-badge {
  border-color: rgba(255, 90, 54, 0.42);
}

body.configurator-page.perf-on .range::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--aqua-strong) 0 var(--p, 20%),
    rgba(255, 255, 255, 0.14) var(--p, 20%) 100%
  );
}

body.configurator-page.perf-on .range::-moz-range-track {
  background: rgba(255, 255, 255, 0.14);
}

body.configurator-page.perf-on .range::-moz-range-progress {
  background: var(--aqua-strong);
}

body.configurator-page.perf-on .range:hover::-webkit-slider-thumb,
body.configurator-page.perf-on .range:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 90, 54, 0.32);
}

body.configurator-page.perf-on .memory-track {
  background: rgba(255, 255, 255, 0.14);
}

body.configurator-page.perf-on .memory-ticks span {
  background: rgba(255, 255, 255, 0.17);
}

body.configurator-page.perf-on .memory-ticks span.is-common {
  background: rgba(255, 255, 255, 0.3);
}

body.configurator-page.perf-on .memory-control:hover .memory-thumb,
body.configurator-page.perf-on .memory-control.is-dragging .memory-thumb {
  box-shadow:
    0 2px 9px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 90, 54, 0.32);
}

body.configurator-page.perf-on .switch-track {
  background: rgba(255, 255, 255, 0.17);
}

body.configurator-page.perf-on .billing button.is-active {
  background: var(--perf-accent);
  color: #1a0b06;
}

body.configurator-page.perf-on .billing button.is-active em {
  color: rgba(26, 11, 6, 0.68);
}

body.configurator-page.perf-on .leds span {
  background: rgba(255, 255, 255, 0.13);
}

body.configurator-page.perf-on .live-card .leds span.is-on {
  background: #d6fff4;
  box-shadow: 0 0 9px rgba(191, 255, 243, 0.6);
}

body.configurator-page.perf-on .summary-lines li.is-gpu > span,
body.configurator-page.perf-on .summary-lines li.is-hdd > span,
body.configurator-page.perf-on .summary-lines li.is-perf > span,
body.configurator-page.perf-on .summary-lines li.is-assistant > span {
  color: var(--perf-accent);
}

body.configurator-page.perf-on .inline-link {
  border-bottom-color: rgba(255, 90, 54, 0.35);
}

body.configurator-page.perf-on .button--aqua {
  color: #1a0b06;
}

body.configurator-page.perf-on .config-page-note a {
  color: var(--perf-accent);
  border-bottom-color: rgba(255, 90, 54, 0.35);
}

body.configurator-page.perf-on .wp-page-footer {
  background: var(--surface-soft);
  color: var(--muted);
}

body.configurator-page.perf-on .wp-page-footer-links a {
  color: var(--ink-soft);
}

body.configurator-page.perf-on .config-footnote--warn {
  color: #ffb080;
}

/* =========================================================================
   Wallpaper page
   ========================================================================= */

.wallpapers-page {
  background: var(--bg);
}

.wallpapers-page main {
  padding-top: var(--header-h);
}

.wallpapers-page .site-header .header-inner {
  grid-template-columns: auto 1fr auto;
}

.wp-header-context {
  justify-self: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.wallpapers-page .wallpapers {
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.wallpapers-page .section-head {
  margin-bottom: clamp(34px, 4.5vw, 56px);
}

.wallpapers-page .section-desc {
  max-width: 620px;
}

.wp-page-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}

.wp-page-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wp-page-footer p {
  font-size: 12px;
  line-height: 1.6;
}

.wp-page-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.wp-page-footer a {
  color: var(--ink-soft);
  font-size: 12.5px;
  transition: color 0.25s ease;
}

.wp-page-footer a:hover {
  color: var(--aqua-deep);
}

@media (max-width: 900px) {
  .server-preview {
    min-height: 460px;
  }

  .preview-stage {
    min-height: 350px;
  }

  .preview-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .preview-caption {
    max-width: none;
  }

  .preview-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .header-actions {
    gap: 6px;
  }

  .language-toggle {
    padding: 0 10px;
  }

  .server-preview {
    --ring-r: clamp(88px, 25vw, 120px);
    min-height: 402px;
    margin-bottom: 24px;
    border-radius: 26px;
  }

  .preview-top {
    top: 16px;
    right: 18px;
    left: 18px;
  }

  .preview-top > .mono {
    display: none;
  }

  .preview-stage {
    min-height: 280px;
    margin-top: 35px;
  }

  .preview-node {
    width: 92px;
    height: 144px;
  }

  .node-brand {
    top: 20px;
    left: 12px;
    font-size: 13px;
  }

  .node-slots {
    top: 64px;
    right: 12px;
    left: 12px;
    gap: 4px;
  }

  .node-ports {
    bottom: 22px;
    left: 12px;
  }

  .node-code {
    right: 10px;
    bottom: 9px;
    font-size: 7px;
  }

  .preview-bottom {
    right: 18px;
    bottom: 15px;
    left: 18px;
    gap: 11px;
  }

  .preview-caption {
    display: none;
  }

  .preview-stats {
    gap: 12px 20px;
  }

  .preview-stats strong {
    font-size: 11px;
  }

  .wallpapers-page .site-header .header-inner {
    grid-template-columns: 1fr auto;
  }

  .wp-header-context {
    display: none;
  }

  .wallpapers-page .wallpapers {
    padding-top: 38px;
  }

  .wp-page-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .server-preview {
    min-height: 382px;
  }

  .preview-stage {
    min-height: 258px;
    margin-top: 28px;
  }

  .preview-stats {
    gap: 10px 16px;
  }

  .preview-stats li {
    flex: 0 0 calc(33.333% - 12px);
  }

  .preview-stats li:nth-child(4),
  .preview-stats li:nth-child(5) {
    flex-basis: calc(50% - 8px);
  }

  .language-toggle {
    padding: 0 9px;
    font-size: 12px;
  }

  .language-menu {
    right: -2px;
  }
}

@keyframes preview-shock {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.4);
  }
}

@keyframes node-surge {
  0%,
  100% {
    transform: perspective(760px) rotateY(-8deg) rotateX(2deg) translateY(0);
  }
  32% {
    transform: perspective(760px) rotateY(-8deg) rotateX(2deg) translateY(-6px);
  }
}

@keyframes preview-flash {
  0%,
  100% {
    filter: blur(18px);
    opacity: calc(0.35 + var(--load) * 0.65);
  }
  38% {
    filter: blur(9px);
    opacity: 1;
  }
}

@keyframes preview-core {
  from {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.94);
  }
  to {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

/* =========================================================================
   Motion preferences
   ========================================================================= */

/* =========================================================================
   Homepage tech layer
   ========================================================================= */

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(127, 255, 212, 0.08), #14c9a2 55%, #7fffd4);
  box-shadow: 0 0 14px rgba(20, 201, 162, 0.32);
  pointer-events: none;
  will-change: transform;
}

.hero-tech {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  bottom: -18%;
  left: 50%;
  width: 130%;
  height: 68%;
  background-image:
    linear-gradient(rgba(0, 125, 103, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 125, 103, 0.1) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(transparent 0, #000 46%, transparent 100%);
  opacity: 0.55;
  transform: translateX(-50%) perspective(620px) rotateX(62deg);
  transform-origin: 50% 100%;
}

.hero-grid::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 201, 162, 0.35), transparent);
}

.hero-radar {
  position: absolute;
  top: 53%;
  left: 50%;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 125, 103, 0.1);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 127px, rgba(0, 125, 103, 0.065) 128px 129px),
    conic-gradient(from 18deg, transparent 0 76%, rgba(127, 255, 212, 0.16) 89%, rgba(127, 255, 212, 0.03) 96%, transparent 100%);
  mask-image: radial-gradient(circle, transparent 0 38%, #000 39% 100%);
  opacity: 0.64;
  transform: translate(-50%, -50%);
  animation: radar-spin 26s linear infinite;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.hero-scan {
  position: absolute;
  top: 18%;
  right: 3%;
  left: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 201, 162, 0.35), transparent);
  filter: drop-shadow(0 0 7px rgba(20, 201, 162, 0.2));
  opacity: 0;
  animation: hero-scan 9s ease-in-out infinite;
}

.hero-hud {
  position: absolute;
  z-index: 2;
  color: rgba(0, 60, 48, 0.46);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-hud--tl {
  top: 94px;
  left: clamp(20px, 3.2vw, 48px);
  padding-left: 10px;
  border-left: 1px solid rgba(0, 125, 103, 0.26);
}

.hero-hud--tr {
  top: 94px;
  right: clamp(20px, 3.2vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-right: 10px;
  border-right: 1px solid rgba(0, 125, 103, 0.26);
}

.hero-hud--tr i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua-strong);
  box-shadow: 0 0 0 3px rgba(20, 201, 162, 0.1);
  animation: pulse 2.6s ease-out infinite;
}

.hero-hud--bl {
  top: 52%;
  left: clamp(20px, 3.2vw, 48px);
  padding-left: 10px;
  border-left: 1px solid rgba(0, 125, 103, 0.16);
}

.hero-hud--br {
  top: 52%;
  right: clamp(20px, 3.2vw, 48px);
  padding-right: 10px;
  border-right: 1px solid rgba(0, 125, 103, 0.16);
}

/* System telemetry band between hero and about */
.system-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(127, 255, 212, 0.13);
  border-bottom: 1px solid rgba(127, 255, 212, 0.13);
  background:
    radial-gradient(58% 140% at 50% 0, rgba(20, 201, 162, 0.14), transparent 70%),
    linear-gradient(rgba(127, 255, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 255, 212, 0.035) 1px, transparent 1px),
    #06120f;
  background-size: auto, 42px 42px, 42px 42px, auto;
  color: #f4fffb;
}

.system-band .container {
  position: relative;
  z-index: 1;
}

.system-band-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
}

.system-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-height: 88px;
  padding: 16px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.system-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.system-key {
  color: rgba(218, 255, 247, 0.44);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.system-value {
  color: #f6fffd;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.system-value small {
  margin-left: 2px;
  color: rgba(218, 255, 247, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.status-led {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(127, 255, 212, 0.1);
  animation: pulse 2.6s ease-out infinite;
  vertical-align: 1px;
}

.system-band-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(127, 255, 212, 0.07), transparent);
  transform: translateX(-140%) skewX(-16deg);
  animation: band-scan 8s linear infinite;
  pointer-events: none;
}

/* Fixed section index */
.section-rail {
  position: fixed;
  top: 50%;
  right: 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 14px 34px rgba(20, 80, 66, 0.08);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.rail-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
}

.rail-link span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.22);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.rail-link::after {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  right: 22px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.rail-link:hover span,
.rail-link:focus-visible span {
  background: var(--aqua-deep);
}

.rail-link:hover::after,
.rail-link:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.rail-link.is-active span {
  width: 7px;
  height: 7px;
  background: var(--aqua-strong);
  box-shadow: 0 0 0 4px rgba(20, 201, 162, 0.12);
}

.rail-link:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

/* Product visual grids and scan */
.product-visual {
  position: relative;
  isolation: isolate;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(127, 255, 212, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 255, 212, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(transparent 0, #000 18%, #000 82%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
}

.product-visual::after {
  content: "";
  position: absolute;
  top: -24%;
  right: 0;
  left: 0;
  z-index: 2;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(127, 255, 212, 0.13), transparent);
  mix-blend-mode: screen;
  animation: product-scan 7.5s linear infinite;
  pointer-events: none;
}

.product-card:hover .product-visual::after {
  animation-duration: 3.4s;
}

.product-card:hover {
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(20, 201, 162, 0.2);
}

/* Slightly technical about panel */
.about-panel {
  background-color: var(--surface-soft);
  background-image:
    linear-gradient(rgba(0, 125, 103, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 125, 103, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
}

/* Server teaser grid and scan */
.cloud-teaser-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.cloud-teaser-scan::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 255, 212, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 255, 212, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  opacity: 0.65;
}

.cloud-teaser-scan::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -32%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(127, 255, 212, 0.08), transparent);
  transform: skewX(-16deg);
  animation: teaser-scan 8s linear infinite;
}

/* Stats get their live number via data-stat; no extra layout. */
.stats dd[data-stat] {
  font-variant-numeric: tabular-nums;
}

@keyframes radar-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes hero-scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  14% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.45;
  }
  100% {
    opacity: 0;
    transform: translateY(58vh);
  }
}

@keyframes band-scan {
  0% {
    transform: translateX(-140%) skewX(-16deg);
  }
  100% {
    transform: translateX(700%) skewX(-16deg);
  }
}

@keyframes product-scan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(560%);
  }
}

@keyframes teaser-scan {
  0% {
    left: -32%;
  }
  100% {
    left: 112%;
  }
}

@media (max-width: 1439px) {
  .section-rail {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero-hud {
    display: none;
  }
}

@media (max-width: 900px) {
  .system-band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
  }

  .system-item {
    min-height: 78px;
    padding: 14px 18px;
  }

  .system-item:nth-child(4) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .system-item:nth-child(5) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 700px) {
  .hero-radar {
    width: 86vw;
    opacity: 0.42;
  }

  .hero-grid {
    bottom: -12%;
    height: 58%;
    background-size: 42px 42px;
    opacity: 0.4;
  }

  .hero-mesh {
    opacity: 0.6;
  }

  .system-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-item--status {
    grid-column: span 2;
    border-top: 0;
    border-left: 0;
  }

  .system-item {
    min-height: 72px;
    padding: 13px 16px;
  }

  .system-item:nth-child(2) {
    border-top: 0;
    border-left: 0;
  }

  .system-item:nth-child(3) {
    border-top: 0;
  }

  .system-item:nth-child(4) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .system-item:nth-child(5) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .system-value {
    font-size: 22px;
  }

  .product-visual::before {
    opacity: 0.5;
    background-size: 28px 28px;
  }

  .product-visual::after {
    opacity: 0.65;
  }

  .about-panel {
    background-size: 30px 30px;
  }
}

@media (max-width: 520px) {
  .system-item {
    min-height: 68px;
    padding: 12px 14px;
  }

  .system-key {
    font-size: 8px;
  }

  .system-value {
    font-size: 20px;
  }

  .system-band-scan {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-aurora {
    animation: none;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 201, 162, 0.35);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(20, 201, 162, 0);
  }
}

@keyframes aurora-breathe {
  from {
    opacity: 0.78;
    transform: translateX(-50%) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
