:root {
  --bg: #06111f;
  --bg-deep: #040b16;
  --bg-soft: #0d1a2d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(154, 186, 255, 0.16);
  --line-strong: rgba(154, 186, 255, 0.28);
  --text: #eef5ff;
  --text-soft: rgba(238, 245, 255, 0.76);
  --text-faint: rgba(238, 245, 255, 0.56);
  --blue: #78b8ff;
  --cyan: #78ebff;
  --gold: #d9b780;
  --max-width: 1320px;
  --hero-width: 1400px;
  --radius-xl: 34px;
  --radius-lg: 22px;
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  background:
    radial-gradient(circle at 10% 0%, rgba(120, 184, 255, 0.22), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(93, 224, 197, 0.14), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(217, 183, 128, 0.08), transparent 24%),
    linear-gradient(180deg, #06111f 0%, #081426 44%, #040b16 100%);
}

body.body-modal-open {
  overflow: hidden;
}

html[lang^="zh"] body {
  font-family: "Noto Sans SC", "Segoe UI", sans-serif;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", "Segoe UI", sans-serif;
}

html[lang="ko"] body {
  font-family: "Noto Sans KR", "Segoe UI", sans-serif;
}

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 46%, transparent 88%);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 184, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(120, 235, 255, 0.08), transparent 28%);
}

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

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

main,
section[id] {
  scroll-margin-top: 120px;
}

.page-shell {
  min-height: 100vh;
  padding-bottom: 28px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: min(calc(100% - 32px), var(--hero-width));
  margin: 0 auto;
  padding: 18px 22px 18px 24px;
  border: 1px solid rgba(154, 186, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(14, 27, 47, 0.84), rgba(7, 16, 30, 0.74));
  backdrop-filter: blur(26px);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(120, 184, 255, 0.08), transparent 22%, transparent 78%, rgba(120, 235, 255, 0.08)),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.05), transparent 36%);
  opacity: 0.95;
}

.topbar.is-mobile-hidden {
  transform: translateY(calc(-100% - 20px));
  opacity: 0.01;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-tag {
  color: var(--text-faint);
  font-size: 0.8rem;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--text-soft);
  font-size: 0.93rem;
  position: relative;
  z-index: 1;
}

.topnav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(120, 235, 255, 0.82), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.topnav a:hover {
  color: var(--text);
  background: transparent;
  transform: translateY(-1px);
}

.topnav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-menu-extra {
  display: none !important;
}

.lang-select {
  min-width: 132px;
  min-height: 48px;
  padding: 0 38px 0 16px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(238, 245, 255, 0.76) 50%),
    linear-gradient(135deg, rgba(238, 245, 255, 0.76) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 18px,
    calc(100% - 16px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.js-enhanced .lang-select.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-picker {
  position: relative;
}

.portal-hero {
  padding-top: 64px;
}

.portal-shell-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.portal-panel,
.portal-card,
.portal-detail-card {
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.86), rgba(7, 16, 30, 0.78));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.portal-panel,
.portal-detail-card {
  padding: 32px;
  overflow: hidden;
}

.portal-panel-head {
  margin-bottom: 26px;
}

.workspace-shell-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.workspace-shell-panel .portal-panel-head {
  padding: 0;
  margin-bottom: 20px;
}

.portal-panel-head h2,
.portal-detail-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
}

.portal-panel-head p,
.portal-detail-card p,
.portal-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.portal-form {
  display: grid;
  gap: 16px;
}

.portal-form label {
  display: grid;
  gap: 8px;
}

.portal-form span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.portal-form input,
.portal-form select,
.portal-license-output textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 16px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.04);
}

.portal-form select {
  padding-right: 16px;
}

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

.portal-license-output textarea {
  min-height: 180px;
  padding: 16px;
  resize: vertical;
}

.portal-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-inline-actions.portal-activation-actions .button {
  flex: 1 1 220px;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}

.account-modal.is-hidden {
  display: none !important;
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.72);
  backdrop-filter: blur(10px);
}

.account-modal-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 19, 34, 0.98), rgba(5, 12, 22, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.account-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.account-modal-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.18rem, 1.5vw, 1.5rem);
}

.account-modal-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.account-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.6rem;
  cursor: pointer;
}

.portal-form-note {
  margin: -2px 0 0;
  color: var(--text-faint);
  font-size: 0.88rem;
  line-height: 1.7;
}

.portal-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.portal-card {
  padding: 28px 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr) minmax(190px, 0.66fr);
  gap: 28px;
  align-items: start;
  min-height: 100%;
  border-color: rgba(154, 186, 255, 0.15);
}

.portal-card > * {
  min-width: 0;
}

.portal-card-intro {
  display: grid;
  gap: 14px;
}

.portal-card-head {
  margin-bottom: 0;
}

.portal-card-head h3 {
  margin: 6px 0 0;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.08;
}

.portal-card-intro > p {
  margin: 0;
  min-height: 0;
}

.portal-plan-picker {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  align-content: start;
}

.portal-plan-label {
  color: var(--text-faint);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-plan-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
}

.portal-plan-option {
  width: 100%;
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 8px;
  min-height: 84px;
  padding: 14px 16px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 16px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.portal-plan-option span {
  font-size: 0.84rem;
  line-height: 1.35;
}

.portal-plan-option strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.15;
  text-align: left;
}

.portal-plan-option:hover,
.portal-plan-option.is-active {
  transform: translateY(-1px);
  border-color: rgba(120, 184, 255, 0.36);
  background: rgba(120, 184, 255, 0.1);
  color: var(--text);
}

.portal-price {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(154, 186, 255, 0.12);
  font-size: clamp(1.28rem, 1.8vw, 1.72rem);
  font-weight: 700;
  min-height: 1.6em;
  display: flex;
  align-items: flex-end;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.portal-card .portal-inline-actions {
  margin-top: 0;
}

.portal-card .portal-inline-actions .button {
  width: 100%;
  justify-content: center;
}

.portal-card-cta {
  min-height: 100%;
  display: grid;
  align-content: end;
  gap: 22px;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(154, 186, 255, 0.12);
}

.portal-order-list {
  display: grid;
  gap: 14px;
}

.portal-order-item {
  width: 100%;
  border: 1px solid rgba(154, 186, 255, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.portal-order-item:hover,
.portal-order-item.is-selected {
  transform: translateY(-1px);
  border-color: rgba(120, 184, 255, 0.38);
  background: rgba(120, 184, 255, 0.08);
}

.portal-order-item strong,
.portal-order-item span {
  display: block;
}

.portal-order-item span {
  margin-top: 6px;
  color: var(--text-faint);
  font-size: 0.92rem;
}

.portal-download-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
}

.portal-download-meta {
  display: grid;
  gap: 12px;
}

.portal-download-hash {
  overflow-wrap: anywhere;
}

.portal-activation-card {
  margin-top: 20px;
}

.portal-fulfillment-card {
  display: grid;
  gap: 24px;
}

.portal-fulfillment-section {
  display: grid;
  gap: 18px;
}

.portal-fulfillment-card .portal-activation-card,
.portal-fulfillment-card .portal-download-card {
  margin-top: 0;
}

.portal-fulfillment-divider {
  height: 1px;
  background: rgba(154, 186, 255, 0.12);
}

.portal-license-output {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.portal-license-output.is-empty {
  display: none;
}

.portal-license-output-meta {
  display: grid;
  gap: 8px;
}

.portal-license-key {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 20px;
  color: var(--text);
  font: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: rgba(255, 255, 255, 0.04);
}

.portal-empty {
  color: var(--text-faint);
}

.button-disabled,
.button[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.admin-shell.is-hidden {
  display: none;
}

.portal-admin-products {
  display: grid;
  gap: 16px;
}

.portal-admin-product {
  padding: 20px;
  border: 1px solid rgba(154, 186, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.portal-admin-product h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.auth-stage {
  display: grid;
  gap: 30px;
}

.auth-stage-compact {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding-top: 72px;
  min-height: calc(100vh - 170px);
  align-content: center;
}

.auth-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.auth-grid-single {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: start;
}

.auth-grid-login-only {
  grid-template-columns: 1fr;
}

.auth-aside {
  display: grid;
  gap: 24px;
}

.auth-panel-stack {
  max-width: 760px;
}

.auth-panel-center {
  width: min(100%, 760px);
  margin: 0 auto;
}

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

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

.workspace-stat {
  padding: 24px 22px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.76), rgba(7, 16, 30, 0.72));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.workspace-stat span {
  display: block;
  color: var(--text-faint);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.workspace-stat strong {
  display: block;
  margin-top: 0;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.auth-flow-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-flow-list li {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(154, 186, 255, 0.12);
}

.auth-flow-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.auth-flow-list strong {
  font-size: 1rem;
}

.auth-flow-list span {
  color: var(--text-soft);
  line-height: 1.72;
}

.notice-banner {
  padding: 14px 18px;
  border: 1px solid rgba(154, 186, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.notice-banner[data-tone="success"] {
  border-color: rgba(120, 235, 255, 0.22);
  background: rgba(120, 235, 255, 0.08);
  color: var(--text);
}

.notice-banner[data-tone="error"] {
  border-color: rgba(255, 120, 120, 0.2);
  background: rgba(255, 120, 120, 0.08);
  color: #ffd3d3;
}

.notice-banner.is-hidden {
  display: none;
}

.auth-card-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(154, 186, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.auth-mode-chip {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.auth-mode-chip.is-active {
  color: #05101d;
  background: linear-gradient(135deg, rgba(120, 235, 255, 0.96), rgba(120, 184, 255, 0.96));
}

.auth-form-panel.is-hidden {
  display: none;
}

.auth-switch-copy {
  margin: 4px 0 0;
  color: var(--text-faint);
  font-size: 0.92rem;
}

.auth-inline-link {
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-inline-link:hover {
  text-decoration: underline;
}

.workspace-shell {
  display: grid;
  gap: 28px;
}

.workspace-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 32px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.82), rgba(7, 16, 30, 0.72));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.workspace-banner h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.workspace-banner p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.78;
}

.workspace-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
}

.workspace-main,
.workspace-side {
  display: grid;
  gap: 24px;
}

.workspace-side {
  position: sticky;
  top: 108px;
  align-content: start;
}

.workspace-side-panel {
  min-height: 0;
  width: 100%;
}

.workspace-grid-storefront {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
}

.portal-order-detail {
  display: grid;
  gap: 22px;
}

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

.workspace-flow-step,
.workspace-focus-card,
.payment-qr-card,
.payment-summary-card {
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.86), rgba(7, 16, 30, 0.78));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.workspace-flow-step {
  padding: 24px;
}

.workspace-flow-step h3,
.workspace-focus-card h3,
.payment-modal-dialog h2,
.payment-summary-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.16rem, 1.5vw, 1.45rem);
}

.workspace-flow-step p,
.workspace-focus-card p,
.payment-monitor-copy,
.payment-qr-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.workspace-focus-stack {
  display: grid;
  gap: 18px;
}

.workspace-focus-card {
  padding: 24px;
}

.workspace-focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.workspace-focus-head strong,
.payment-summary-row strong,
.payment-countdown-block strong {
  font-size: 1.02rem;
}

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

.workspace-focus-metric,
.payment-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(154, 186, 255, 0.12);
}

.workspace-focus-metric:first-child,
.payment-summary-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.workspace-focus-metric span,
.payment-summary-row span,
.payment-countdown-block span {
  color: var(--text-faint);
  font-size: 0.88rem;
}

.workspace-focus-metric strong,
.payment-summary-row strong {
  text-align: right;
  min-width: max-content;
  justify-self: end;
}

.payment-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(154, 186, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.payment-status-chip[data-status="awaiting_payment"] {
  border-color: rgba(120, 184, 255, 0.28);
  background: rgba(120, 184, 255, 0.14);
}

.payment-status-chip[data-status="paid"] {
  border-color: rgba(120, 235, 255, 0.28);
  background: rgba(120, 235, 255, 0.14);
}

.payment-status-chip[data-status="expired"] {
  border-color: rgba(255, 120, 120, 0.24);
  background: rgba(255, 120, 120, 0.12);
}

.workspace-focus-empty {
  display: grid;
  gap: 14px;
  padding: 8px 0;
}

.workspace-focus-empty .section-kicker {
  margin-bottom: 4px;
}

.workspace-focus-address {
  display: grid;
  gap: 10px;
}

.workspace-focus-address code,
.payment-summary-row-address code,
.portal-order-detail code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.workspace-focus-hint {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.payment-modal.is-hidden {
  display: none;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.72);
  backdrop-filter: blur(10px);
}

.payment-modal-dialog {
  position: relative;
  width: min(100%, 1040px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 19, 34, 0.98), rgba(5, 12, 22, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.payment-modal-head,
.payment-modal-status-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.payment-modal-head p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.72;
  max-width: 640px;
}

.payment-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 14px;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
}

.payment-modal-status-bar {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
}

.payment-countdown-block {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.payment-countdown-block strong {
  font-size: 1.5rem;
}

.payment-modal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
}

.payment-qr-card,
.payment-summary-card {
  padding: 24px;
}

.payment-qr-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.payment-qr-frame {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.payment-qr-frame svg,
.payment-qr-frame img {
  display: block;
  width: min(100%, 240px);
  height: auto;
}

.payment-qr-placeholder {
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 22px;
  color: var(--text-faint);
  border: 1px dashed rgba(154, 186, 255, 0.2);
}

.payment-summary-row-strong strong,
.payment-summary-row-strong span {
  font-size: 1rem;
}

.payment-summary-row-address {
  align-items: stretch;
  flex-direction: column;
}

.payment-monitor-copy {
  margin-top: 18px;
}

.portal-order-detail code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
}

.portal-license-output {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.portal-license-output p {
  margin: 0;
  color: var(--text-soft);
}

.admin-order-list {
  display: grid;
  gap: 14px;
}

.admin-order-table {
  display: grid;
  gap: 10px;
}

.admin-order-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.25fr 1fr 0.8fr 0.8fr;
  padding: 14px 0;
  border-top: 1px solid rgba(154, 186, 255, 0.12);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.admin-order-head {
  padding-top: 0;
  border-top: 0;
  color: var(--text-faint);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 1380px) {
  .portal-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 22px;
  }

  .portal-card-cta {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    align-items: end;
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(154, 186, 255, 0.12);
  }

  .portal-card .portal-inline-actions {
    justify-content: flex-end;
  }

  .portal-card .portal-inline-actions .button {
    width: 100%;
  }
}

@media (max-width: 1080px) {
  .portal-shell-grid,
  .portal-card-grid,
  .portal-form-grid,
  .workspace-flow,
  .workspace-focus-grid,
  .payment-modal-grid {
    grid-template-columns: 1fr;
  }

  .auth-grid,
  .workspace-grid,
  .workspace-stat-grid {
    grid-template-columns: 1fr;
  }

  .workspace-side {
    position: static;
  }

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

  .payment-modal {
    padding: 14px;
  }

  .payment-modal-dialog {
    padding: 22px;
  }

  .payment-modal-head,
  .payment-modal-status-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-countdown-block {
    justify-items: start;
  }

  .auth-stage-compact {
    min-height: auto;
  }

  .portal-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .portal-panel,
  .portal-card,
  .portal-detail-card {
    padding: 22px;
    border-radius: 22px;
  }

  .portal-order-item {
    flex-direction: column;
    gap: 10px;
  }

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

  .portal-card {
    padding: 24px 22px;
  }

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

  .admin-order-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.lang-picker-toggle {
  min-width: 132px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.lang-picker-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 235, 255, 0.22);
}

.lang-picker-toggle:focus-visible {
  outline: 2px solid rgba(120, 235, 255, 0.42);
  outline-offset: 2px;
}

.lang-picker-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-picker-caret {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 1.8px solid rgba(238, 245, 255, 0.82);
  border-bottom: 1.8px solid rgba(238, 245, 255, 0.82);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.lang-picker.is-open .lang-picker-caret {
  transform: rotate(225deg) translateY(-1px);
}

.lang-picker-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 164px;
  max-height: min(520px, calc(100vh - 120px));
  display: grid;
  gap: 2px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(14, 27, 47, 0.98), rgba(7, 16, 30, 0.98));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.lang-picker-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lang-picker-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.lang-picker.is-open .lang-picker-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-picker-option {
  min-height: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  color: var(--text-soft);
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.lang-picker-option:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-picker-option.is-selected {
  color: #05101d;
  background: linear-gradient(135deg, rgba(120, 235, 255, 0.96), rgba(120, 184, 255, 0.96));
}

.header-cta {
  min-height: 48px;
  padding-left: 20px;
  padding-right: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: #04101c;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  box-shadow: 0 16px 34px rgba(120, 235, 255, 0.18);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border-color: rgba(154, 186, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.section,
.research-band,
.footer {
  width: min(calc(100% - 32px), var(--hero-width));
  margin: 0 auto;
}

.section {
  padding-top: 116px;
}

.hero-stage {
  width: min(calc(100% - 32px), var(--hero-width));
  padding-top: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 4.6vw, 66px);
  align-items: center;
  min-height: min(72vh, 790px);
}

.hero-content {
  max-width: 600px;
}

.hero-content p {
  max-width: 520px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(120, 235, 255, 0.22);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(120, 235, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}

html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-family: inherit;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 24px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(1.68rem, 2.7vw, 2.72rem);
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.24rem, 1.8vw, 1.62rem);
  line-height: 1.14;
}

.hero-lead,
.section-head p,
.story-copy p,
.story-stat p,
.research-meta p,
.milestone-step p,
.edition-line p,
.faq-line p,
.cta-band p,
.footer p {
  color: var(--text-soft);
  line-height: 1.78;
}

.hero-lead {
  margin: 20px 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  min-height: 0;
  justify-self: end;
}

.hero-shot,
.feature-shot {
  position: relative;
  width: min(100%, 940px);
  margin-left: auto;
  height: auto;
  /* border-radius: 26px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38); */
}

.hero-shot {
  transform: perspective(1600px) rotateY(-10deg) rotateX(2deg);
  transform-origin: center left;
}

.story-row.story-row-reverse .feature-shot {
  transform: rotate(-1.4deg);
}

.story-row:not(.story-row-reverse) .feature-shot {
  transform: rotate(1deg);
}

.shot-caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #05101d;
  background: rgba(245, 250, 255, 0.94);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.stat-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}

.stat-rail article,
.story-row,
.research-band,
.milestone-step,
.edition-line,
.faq-line,
.cta-band,
.footer {
  border-top: 1px solid var(--line);
}

.stat-rail article {
  padding-top: 22px;
}

.stat-rail strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-rail span,
.milestone-step p,
.edition-line p,
.faq-line p {
  display: block;
  margin-top: 10px;
}

.section-head {
  max-width: 900px;
}

.section-head h2 {
  margin-top: 20px;
}

.section-head p {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 0.98rem;
}

.story-stack {
  display: grid;
  gap: 76px;
  margin-top: 42px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
  padding-top: 38px;
}

.story-row.story-row-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.story-copy {
  max-width: 560px;
}

.story-copy h3,
.edition-line h3,
.faq-line h3 {
  margin-top: 14px;
}

.story-copy p {
  margin: 18px 0 0;
}

.story-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.story-points li {
  position: relative;
  margin-top: 14px;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.7;
}

.story-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

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

.story-stat {
  padding: 22px 20px 0;
  border-top: 1px solid var(--line-strong);
}

.story-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 800;
}

.story-stat p {
  margin: 10px 0 0;
}

.research-band {
  margin-top: 112px;
  padding-top: 34px;
}

.research-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: start;
}

.research-number {
  max-width: 100%;
  font-size: clamp(3.2rem, 6.6vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.92;
  background: linear-gradient(135deg, #ffffff 0%, #bbdeff 44%, #d9b780 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow-wrap: anywhere;
}

.research-meta p {
  max-width: 760px;
  margin: 18px 0 0;
}

.milestone-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.milestone-step {
  padding-top: 24px;
}

.milestone-step strong {
  display: block;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.editions-plain,
.faq-plain {
  display: grid;
  gap: 32px;
  margin-top: 42px;
}

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

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

.edition-line,
.faq-line {
  padding-top: 24px;
}

.edition-line {
  display: flex;
  flex-direction: column;
}

.edition-line ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.72;
}

.edition-line li {
  margin-top: 8px;
}

.edition-line .button,
.cta-band .button {
  margin-top: 22px;
}

.edition-line .button {
  margin-top: auto;
  align-self: flex-start;
}

.button-disabled,
.button-disabled:hover {
  color: var(--text-faint);
  border-color: rgba(154, 186, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  transform: none;
  cursor: default;
  pointer-events: none;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 34px;
  align-items: center;
  padding-top: 32px;
}

.cta-band p {
  margin: 18px 0 0;
}

.cta-band .button + .button {
  margin-left: 12px;
}

.overview-stage {
  padding-bottom: 10px;
}

.overview-proof {
  margin-top: 24px;
}

.overview-section-grid,
.overview-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.overview-card,
.overview-summary-card,
.overview-step-card {
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.92), rgba(6, 14, 27, 0.88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.overview-card,
.overview-summary-card {
  padding: 32px;
}

.overview-card h3,
.overview-summary-card h2,
.overview-step-card h3 {
  margin: 16px 0 0;
}

.overview-rich-copy {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.overview-rich-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.82;
}

.overview-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.overview-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(120, 184, 255, 0.24);
  border-radius: 999px;
  background: rgba(120, 184, 255, 0.08);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.overview-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.overview-step-card {
  padding: 28px;
}

.overview-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(120, 235, 255, 0.24);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.overview-step-card p {
  margin: 16px 0 0;
  color: var(--text-soft);
  line-height: 1.82;
}

.overview-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.overview-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.8;
}

.overview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.overview-list[data-tone="caution"] li::before {
  background: linear-gradient(135deg, #ffb38e, #ff6b6b);
}

.overview-list[data-tone="good"] li::before {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.overview-summary-card {
  max-width: 960px;
  margin: 0 auto;
}

.footer {
  padding: 44px 0 34px;
  margin-top: 110px;
  color: var(--text-faint);
}

.footer p {
  margin: 8px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-quickbar {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  gap: 8px;
  width: min(calc(100% - 20px), 560px);
  padding: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 22px;
  background: rgba(9, 16, 30, 0.94);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.mobile-quickbar a {
  flex: 0 0 auto;
  min-height: 42px;
  min-width: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-quickbar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

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

@media (max-width: 1080px) {
  .overview-section-grid,
  .overview-fit-grid,
  .overview-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .overview-card,
  .overview-summary-card,
  .overview-step-card {
    padding: 24px;
    border-radius: 24px;
  }

  .overview-chip {
    width: 100%;
    justify-content: flex-start;
  }
}

html[lang="ar"] .hero-content,
html[lang="ar"] .section-head,
html[lang="ar"] .story-copy,
html[lang="ar"] .story-stat,
html[lang="ar"] .research-meta,
html[lang="ar"] .milestone-step,
html[lang="ar"] .edition-line,
html[lang="ar"] .faq-line,
html[lang="ar"] .cta-band > div:first-child,
html[lang="ar"] .footer,
html[lang="ar"] .stat-rail article,
html[lang="ar"] .portal-panel,
html[lang="ar"] .portal-detail-card,
html[lang="ar"] .portal-card,
html[lang="ar"] .workspace-banner,
html[lang="ar"] .workspace-stat,
html[lang="ar"] .workspace-flow-step,
html[lang="ar"] .workspace-focus-card,
html[lang="ar"] .payment-qr-card,
html[lang="ar"] .payment-summary-card,
html[lang="ar"] .notice-banner,
html[lang="ar"] .auth-switch-copy,
html[lang="ar"] .portal-form label,
html[lang="ar"] .workspace-focus-address,
html[lang="ar"] .workspace-focus-empty {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .story-points li {
  padding-left: 0;
  padding-right: 18px;
}

html[lang="ar"] .story-points li::before {
  left: auto;
  right: 0;
}

html[lang="ar"] .edition-line ul {
  padding-left: 0;
  padding-right: 18px;
}

html[lang="ar"] code,
html[lang="ar"] input[type="email"],
html[lang="ar"] input[type="password"],
html[lang="ar"] input[type="url"],
html[lang="ar"] input[name="machine_code"] {
  direction: ltr;
}

@media (max-width: 1180px) {
  .hero-grid,
  .story-row,
  .story-row.story-row-reverse,
  .research-head,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-shot,
  .feature-shot {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
  }

  .hero-shot {
    transform: none;
  }

  .story-row.story-row-reverse .feature-shot,
  .story-row:not(.story-row-reverse) .feature-shot {
    transform: none;
  }

  .story-copy,
  .section-head,
  .research-meta {
    max-width: none;
  }

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

@media (max-width: 920px) {
  .topbar {
    flex-wrap: wrap;
    border-radius: 30px;
  }

  .topnav {
    display: none;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    padding-top: 84px;
  }

  .hero-stage {
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(2.6rem, 10.8vw, 4.2rem);
  }

  .editions-plain,
  .faq-plain,
  .story-stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-bottom: 108px;
  }

  .topbar,
  .section,
  .research-band,
  .footer {
    width: min(calc(100% - 20px), var(--hero-width));
  }

  .topbar {
    top: 10px;
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
  }

  .topbar.is-mobile-hidden {
    transform: translateY(calc(-100% - 12px));
  }

  .brand {
    min-width: 0;
    width: auto;
    order: 1;
  }

  .topnav {
    display: none;
  }

  .header-tools {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 36px);
    gap: 10px;
    align-items: center;
    justify-content: end;
    justify-self: end;
  }

  .mobile-menu-toggle {
    width: 36px;
    min-width: 36px;
    min-height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--text);
    background: transparent;
    box-shadow: none;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .topbar.is-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .topbar.is-menu-open .topnav {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    z-index: 55;
    width: min(172px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(154, 186, 255, 0.12);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(14, 27, 47, 0.98), rgba(7, 16, 30, 0.98));
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  }

  .topbar.is-menu-open .topnav a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 14px;
    background: transparent;
    font-size: 0.86rem;
  }

  .topbar.is-menu-open .topnav .mobile-menu-extra {
    display: inline-flex !important;
    color: var(--cyan);
    background: rgba(120, 235, 255, 0.07);
  }

  .topbar.is-menu-open .topnav a:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: none;
  }

  .lang-select {
    width: 36px;
    min-width: 36px;
    color: transparent;
  }

  .lang-picker,
  .lang-picker-toggle {
    width: 36px;
    min-width: 36px;
  }

  .lang-picker-toggle {
    position: relative;
    justify-content: center;
    padding: 0;
    min-height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .lang-picker-toggle::before {
    content: "";
    width: 22px;
    height: 22px;
    border: 2px solid rgba(238, 245, 255, 0.92);
    border-radius: 999px;
    background:
      linear-gradient(90deg, transparent calc(50% - 1px), rgba(238, 245, 255, 0.92) calc(50% - 1px), rgba(238, 245, 255, 0.92) calc(50% + 1px), transparent calc(50% + 1px)),
      linear-gradient(0deg, transparent calc(50% - 1px), rgba(238, 245, 255, 0.92) calc(50% - 1px), rgba(238, 245, 255, 0.92) calc(50% + 1px), transparent calc(50% + 1px));
  }

  .lang-picker-toggle::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 10px;
    border-top: 2px solid rgba(238, 245, 255, 0.92);
    border-bottom: 2px solid rgba(238, 245, 255, 0.92);
    border-radius: 50%;
  }

  .lang-picker-label,
  .lang-picker-caret {
    display: none;
  }

  .lang-picker-menu {
    left: auto;
    right: 0;
    min-width: 150px;
    max-width: calc(100vw - 28px);
  }

  .header-cta {
    width: auto;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar .header-tools > .button-secondary {
    display: none;
  }

  .topbar .header-tools > .button-secondary::before {
    display: none;
  }

  .topbar .header-tools > .button-secondary::after {
    display: none;
  }

  .topbar .header-cta {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    width: min(calc(100% - 20px), var(--hero-width));
    padding-top: 42px;
  }

  .hero-grid {
    gap: 26px;
    min-height: 0;
  }

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

  .proof-row span {
    width: auto;
  }

  .stat-rail,
  .milestone-rail {
    grid-template-columns: 1fr;
  }

  .story-stack {
    gap: 62px;
  }

  .story-row {
    gap: 28px;
    padding-top: 28px;
  }

  .shot-caption {
    left: 12px;
    bottom: 12px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .cta-band .button + .button {
    margin-left: 0;
  }

  .hero-actions,
  .cta-band {
    gap: 12px;
  }

  .mobile-quickbar {
    display: none;
  }
}

.workspace-grid-storefront {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.workspace-focus-stack {
  display: grid;
  gap: 18px;
}

.workspace-focus-card,
.payment-qr-card,
.payment-summary-card {
  padding: 24px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.86), rgba(7, 16, 30, 0.78));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.workspace-focus-card h3,
.payment-modal-dialog h2,
.payment-summary-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.16rem, 1.5vw, 1.45rem);
}

.workspace-focus-card p,
.payment-monitor-copy,
.payment-qr-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.workspace-focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.workspace-focus-head strong,
.payment-summary-row strong,
.payment-countdown-block strong {
  font-size: 1.02rem;
}

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

.workspace-focus-metric,
.payment-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(154, 186, 255, 0.12);
}

.workspace-focus-metric:first-child,
.payment-summary-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.workspace-focus-metric span,
.payment-summary-row span,
.payment-countdown-block span {
  color: var(--text-faint);
  font-size: 0.88rem;
}

.workspace-focus-metric strong,
.payment-summary-row strong {
  text-align: right;
  min-width: max-content;
  justify-self: end;
}

.workspace-focus-empty {
  display: grid;
  gap: 14px;
  padding: 8px 0;
}

.workspace-focus-empty .section-kicker {
  margin-bottom: 4px;
}

.workspace-focus-address {
  display: grid;
  gap: 10px;
}

.workspace-focus-address code,
.payment-summary-row-address code,
.portal-order-detail code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.workspace-focus-hint {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.payment-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(154, 186, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-status-chip[data-status="awaiting_payment"] {
  border-color: rgba(120, 184, 255, 0.28);
  background: rgba(120, 184, 255, 0.14);
}

.payment-status-chip[data-status="paid"] {
  border-color: rgba(120, 235, 255, 0.28);
  background: rgba(120, 235, 255, 0.14);
}

.payment-status-chip[data-status="expired"] {
  border-color: rgba(255, 120, 120, 0.24);
  background: rgba(255, 120, 120, 0.12);
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.payment-modal.is-hidden {
  display: none !important;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.72);
  backdrop-filter: blur(10px);
}

.payment-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 19, 34, 0.98), rgba(5, 12, 22, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.payment-modal-head,
.payment-modal-status-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.payment-modal-head p {
  margin: 10px 0 0;
  max-width: 640px;
  color: var(--text-soft);
  line-height: 1.72;
}

.payment-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.6rem;
  cursor: pointer;
}

.payment-modal-status-bar {
  margin: 24px 0;
  padding: 16px 18px;
  align-items: center;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-countdown-block {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.payment-countdown-block strong {
  font-size: 1.5rem;
}

.payment-modal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
}

.payment-qr-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.payment-qr-frame {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 18px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-qr-frame svg,
.payment-qr-frame img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.payment-qr-placeholder {
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  border: 1px dashed rgba(154, 186, 255, 0.2);
  border-radius: 22px;
  color: var(--text-faint);
}

.payment-summary-row-strong strong,
.payment-summary-row-strong span {
  font-size: 1rem;
}

.payment-summary-row-address {
  flex-direction: column;
  align-items: stretch;
}

.workspace-focus-grid > .workspace-focus-metric:nth-child(-n + 2) {
  border-top: 0;
  padding-top: 0;
}

.payment-monitor-copy {
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .workspace-grid-storefront,
  .workspace-focus-grid,
  .payment-modal-grid {
    grid-template-columns: 1fr;
  }

  .payment-modal {
    padding: 14px;
  }

  .payment-modal-dialog {
    padding: 22px;
  }

  .payment-modal-head,
  .payment-modal-status-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-countdown-block {
    justify-items: start;
  }

  .workspace-focus-grid > .workspace-focus-metric:nth-child(n + 2) {
    border-top: 1px solid rgba(154, 186, 255, 0.12);
    padding-top: 14px;
  }

  .workspace-focus-grid > .workspace-focus-metric:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

.workspace-grid-storefront {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.workspace-focus-stack {
  display: grid;
  gap: 18px;
}

.workspace-focus-card,
.payment-qr-card,
.payment-summary-card {
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.86), rgba(7, 16, 30, 0.78));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.workspace-focus-card,
.payment-qr-card,
.payment-summary-card {
  padding: 24px;
}

.workspace-focus-card h3,
.payment-modal-dialog h2,
.payment-summary-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.16rem, 1.5vw, 1.45rem);
}

.workspace-focus-card p,
.payment-monitor-copy,
.payment-qr-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.workspace-focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.workspace-focus-head strong,
.payment-summary-row strong,
.payment-countdown-block strong {
  font-size: 1.02rem;
}

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

.workspace-focus-metric,
.payment-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(154, 186, 255, 0.12);
}

.workspace-focus-metric:first-child,
.payment-summary-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.workspace-focus-metric span,
.payment-summary-row span,
.payment-countdown-block span {
  color: var(--text-faint);
  font-size: 0.88rem;
}

.workspace-focus-metric strong,
.payment-summary-row strong {
  text-align: right;
  min-width: max-content;
  justify-self: end;
}

.workspace-focus-empty {
  display: grid;
  gap: 14px;
  padding: 8px 0;
}

.workspace-focus-empty .section-kicker {
  margin-bottom: 4px;
}

.workspace-focus-address {
  display: grid;
  gap: 10px;
}

.workspace-focus-address code,
.payment-summary-row-address code,
.portal-order-detail code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.workspace-focus-hint {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.payment-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(154, 186, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-status-chip[data-status="awaiting_payment"] {
  border-color: rgba(120, 184, 255, 0.28);
  background: rgba(120, 184, 255, 0.14);
}

.payment-status-chip[data-status="paid"] {
  border-color: rgba(120, 235, 255, 0.28);
  background: rgba(120, 235, 255, 0.14);
}

.payment-status-chip[data-status="expired"] {
  border-color: rgba(255, 120, 120, 0.24);
  background: rgba(255, 120, 120, 0.12);
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.payment-modal.is-hidden {
  display: none !important;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.72);
  backdrop-filter: blur(10px);
}

.payment-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 19, 34, 0.98), rgba(5, 12, 22, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.payment-modal-head,
.payment-modal-status-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.payment-modal-head p {
  margin: 10px 0 0;
  max-width: 640px;
  color: var(--text-soft);
  line-height: 1.72;
}

.payment-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.6rem;
  cursor: pointer;
}

.payment-modal-status-bar {
  margin: 24px 0;
  padding: 16px 18px;
  align-items: center;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-countdown-block {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.payment-countdown-block strong {
  font-size: 1.5rem;
}

.payment-modal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
}

.payment-qr-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.payment-qr-frame {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 18px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-qr-frame svg,
.payment-qr-frame img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.payment-qr-placeholder {
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  border: 1px dashed rgba(154, 186, 255, 0.2);
  border-radius: 22px;
  color: var(--text-faint);
}

.payment-summary-row-strong strong,
.payment-summary-row-strong span {
  font-size: 1rem;
}

.payment-summary-row-address {
  flex-direction: column;
  align-items: stretch;
}

.payment-monitor-copy {
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .workspace-grid-storefront,
  .workspace-focus-grid,
  .payment-modal-grid {
    grid-template-columns: 1fr;
  }

  .payment-modal {
    padding: 14px;
  }

  .payment-modal-dialog {
    padding: 22px;
  }

  .payment-modal-head,
  .payment-modal-status-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-countdown-block {
    justify-items: start;
  }
}

.customer-workspace-page .workspace-shell {
  gap: 24px;
}

.customer-workspace-page .workspace-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 28px;
  padding: 38px 40px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(120, 235, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(10, 22, 38, 0.96), rgba(7, 16, 30, 0.88) 58%, rgba(6, 26, 38, 0.9));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.customer-workspace-page .workspace-banner::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 184, 255, 0.22), transparent 72%);
  pointer-events: none;
}

.customer-workspace-page .workspace-banner-copy,
.customer-workspace-page .workspace-banner-side {
  position: relative;
  z-index: 1;
}

.customer-workspace-page .workspace-banner-copy {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.customer-workspace-page .workspace-banner-copy .section-kicker {
  justify-self: start;
}

.customer-workspace-page .workspace-banner h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4.2vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.customer-workspace-page .workspace-banner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.customer-workspace-page .workspace-banner-side {
  display: grid;
  justify-items: end;
}

.customer-workspace-page .workspace-hero-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.customer-workspace-page .workspace-stat-grid {
  gap: 16px;
}

.customer-workspace-page .workspace-stat {
  min-height: 118px;
  padding: 24px 24px 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(11, 24, 40, 0.88), rgba(7, 15, 28, 0.8)),
    radial-gradient(circle at top, rgba(120, 184, 255, 0.06), transparent 48%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.customer-workspace-page .workspace-stat strong {
  font-size: clamp(1.7rem, 2vw, 2rem);
}

.customer-workspace-page .workspace-flow {
  gap: 16px;
}

.customer-workspace-page .workspace-flow-step {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.customer-workspace-page .workspace-flow-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(120, 184, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.customer-workspace-page .workspace-flow-step > * {
  position: relative;
  z-index: 1;
}

.customer-workspace-page .workspace-flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(154, 186, 255, 0.18);
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(120, 235, 255, 0.08);
}

.customer-workspace-page .workspace-section-card {
  padding: 28px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(11, 24, 40, 0.82), rgba(6, 14, 26, 0.76));
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.18);
}

.customer-workspace-page .workspace-section-card .portal-panel-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(154, 186, 255, 0.1);
}

.customer-workspace-page .workspace-section-card .portal-panel-head h2 {
  margin-bottom: 10px;
}

.customer-workspace-page .workspace-grid-storefront {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 24px;
}

.customer-workspace-page .workspace-main,
.customer-workspace-page .workspace-side {
  gap: 24px;
}

.customer-workspace-page .portal-card-grid {
  gap: 18px;
}

.customer-workspace-page .portal-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(10, 20, 35, 0.92), rgba(7, 15, 28, 0.86));
  box-shadow: none;
}

.customer-workspace-page .portal-card-main {
  display: grid;
  gap: 18px;
}

.customer-workspace-page .portal-card-head {
  display: grid;
  gap: 12px;
}

.customer-workspace-page .portal-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-workspace-page .portal-inline-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(154, 186, 255, 0.16);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.customer-workspace-page .portal-card-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.75vw, 1.78rem);
}

.customer-workspace-page .portal-card-intro > p {
  max-width: 680px;
}

.customer-workspace-page .portal-plan-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-workspace-page .portal-plan-picker {
  align-self: start;
}

.customer-workspace-page .portal-plan-option {
  min-height: 78px;
  padding: 14px 15px;
}

.customer-workspace-page .portal-card-side {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  align-content: stretch;
  align-self: stretch;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(120, 184, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(23, 36, 58, 0.94), rgba(14, 24, 42, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.14);
}

.customer-workspace-page .portal-card-side-head {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(154, 186, 255, 0.1);
}

.customer-workspace-page .portal-price-block {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: center;
  padding: 0;
}

.customer-workspace-page .portal-price-label {
  color: var(--text-faint);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-workspace-page .portal-price-plan {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.customer-workspace-page .portal-price {
  margin: 0;
  padding-top: 0;
  border-top: 0;
  display: grid;
  gap: 4px;
  align-content: start;
}

.customer-workspace-page .portal-price-value {
  font-size: clamp(2.2rem, 2.5vw, 2.8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.customer-workspace-page .portal-price-token {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.customer-workspace-page .portal-card-side-actions {
  padding-top: 12px;
  border-top: 1px solid rgba(154, 186, 255, 0.1);
}

.customer-workspace-page .portal-card-side-actions .button {
  min-height: 54px;
  border-radius: 18px;
}

.customer-workspace-page .portal-card .portal-inline-actions,
.customer-workspace-page .workspace-focus-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.customer-workspace-page .portal-card .portal-inline-actions .button,
.customer-workspace-page .workspace-focus-actions .button,
.customer-workspace-page .portal-inline-actions.portal-activation-actions .button {
  flex: 1 1 180px;
}

.customer-workspace-page .portal-order-list {
  gap: 14px;
}

.customer-workspace-page .portal-order-item {
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.customer-workspace-page .portal-order-main,
.customer-workspace-page .portal-order-side {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.customer-workspace-page .portal-order-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}

.customer-workspace-page .portal-order-no,
.customer-workspace-page .workspace-focus-order-no {
  display: inline-flex;
  align-items: center;
  color: var(--text-faint);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.customer-workspace-page .portal-order-side {
  justify-items: end;
}

.customer-workspace-page .portal-order-side strong {
  font-size: 1.05rem;
}

.customer-workspace-page .portal-order-side span {
  margin-top: 0;
}

.customer-workspace-page .payment-status-chip {
  letter-spacing: 0.06em;
}

.customer-workspace-page .portal-order-item .payment-status-chip {
  display: inline-grid;
  place-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  padding-top: 1px;
}

.customer-workspace-page .portal-order-detail,
.customer-workspace-page .workspace-focus-stack {
  gap: 18px;
}

.customer-workspace-page .workspace-focus-card,
.customer-workspace-page .portal-detail-card {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(10, 20, 35, 0.92), rgba(7, 15, 28, 0.86));
  box-shadow: none;
}

.customer-workspace-page .workspace-focus-card-primary {
  border-color: rgba(120, 184, 255, 0.22);
}

.customer-workspace-page .workspace-focus-head {
  align-items: center;
  margin-bottom: 16px;
}

.customer-workspace-page .workspace-focus-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 20px;
  align-items: start;
}

.customer-workspace-page .workspace-focus-hero h3 {
  margin: 0 0 10px;
}

.customer-workspace-page .workspace-focus-price-block {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.customer-workspace-page .workspace-focus-price-block span {
  color: var(--text-faint);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-workspace-page .workspace-focus-price-block strong {
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
  line-height: 1.05;
}

.customer-workspace-page .workspace-focus-grid {
  margin: 20px 0;
  gap: 12px;
}

.customer-workspace-page .workspace-focus-metric {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(154, 186, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.customer-workspace-page .workspace-focus-metric:first-child {
  padding-top: 16px;
  border-top: 1px solid rgba(154, 186, 255, 0.12);
}

.customer-workspace-page .workspace-focus-metric strong {
  justify-self: start;
  min-width: 0;
  text-align: left;
}

.customer-workspace-page .workspace-focus-address {
  gap: 12px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(154, 186, 255, 0.1);
}

.customer-workspace-page .workspace-focus-hint {
  margin-top: 16px;
}

.customer-workspace-page .portal-fulfillment-card {
  gap: 22px;
}

.customer-workspace-page .portal-fulfillment-section {
  gap: 16px;
}

.customer-workspace-page .portal-fulfillment-section h3 {
  margin: 0;
}

.customer-workspace-page .portal-inline-actions.portal-activation-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .customer-workspace-page .workspace-banner {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .customer-workspace-page .workspace-banner-side {
    justify-items: start;
  }

  .customer-workspace-page .workspace-grid-storefront {
    grid-template-columns: 1fr;
  }

  .customer-workspace-page .workspace-side {
    position: static;
  }
}

@media (max-width: 1024px) {
  .customer-workspace-page .workspace-flow,
  .customer-workspace-page .workspace-stat-grid,
  .customer-workspace-page .workspace-focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .customer-workspace-page .portal-card {
    grid-template-columns: 1fr;
  }

  .customer-workspace-page .portal-card-side,
  .customer-workspace-page .workspace-focus-hero {
    grid-template-columns: 1fr;
  }

  .customer-workspace-page .portal-order-item {
    flex-direction: column;
  }

  .customer-workspace-page .portal-order-side {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .customer-workspace-page .workspace-banner,
  .customer-workspace-page .workspace-section-card,
  .customer-workspace-page .workspace-flow-step,
  .customer-workspace-page .workspace-stat,
  .customer-workspace-page .portal-card,
  .customer-workspace-page .workspace-focus-card,
  .customer-workspace-page .portal-detail-card {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .customer-workspace-page .workspace-flow,
  .customer-workspace-page .workspace-focus-grid,
  .customer-workspace-page .portal-plan-options,
  .customer-workspace-page .portal-inline-actions.portal-activation-actions {
    grid-template-columns: 1fr;
  }

  .customer-workspace-page .workspace-shell {
    gap: 18px;
  }

  .customer-workspace-page .workspace-banner {
    gap: 16px;
    padding: 20px 18px 18px;
    border-radius: 28px;
  }

  .customer-workspace-page .workspace-banner::after {
    width: 200px;
    height: 200px;
    right: -72px;
    top: -92px;
  }

  .customer-workspace-page .workspace-banner-copy {
    gap: 10px;
  }

  .customer-workspace-page .workspace-banner h1 {
    font-size: clamp(2.35rem, 11.2vw, 3rem);
  }

  .customer-workspace-page .workspace-banner-side {
    width: 100%;
    justify-items: stretch;
    padding-top: 14px;
    border-top: 1px solid rgba(154, 186, 255, 0.1);
  }

  .customer-workspace-page .workspace-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .customer-workspace-page .workspace-hero-actions .button {
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .customer-workspace-page .workspace-hero-actions #logout-button {
    grid-column: 1 / -1;
  }

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

  .customer-workspace-page .workspace-stat {
    min-height: 104px;
    padding: 16px 16px 15px;
    border-radius: 22px;
    align-content: space-between;
    gap: 16px;
  }

  .customer-workspace-page .workspace-stat span {
    font-size: 0.76rem;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  .customer-workspace-page .workspace-stat strong {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .customer-workspace-page .workspace-hero-actions,
  .customer-workspace-page .portal-card .portal-inline-actions,
  .customer-workspace-page .workspace-focus-actions {
    width: 100%;
  }

  .customer-workspace-page .portal-card .portal-inline-actions .button,
  .customer-workspace-page .workspace-focus-actions .button,
  .customer-workspace-page .portal-inline-actions.portal-activation-actions .button {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 360px) {
  .customer-workspace-page .workspace-banner h1 {
    font-size: clamp(2.05rem, 12.5vw, 2.55rem);
  }

  .customer-workspace-page .workspace-hero-actions {
    grid-template-columns: 1fr;
  }

  .customer-workspace-page .workspace-hero-actions #logout-button {
    grid-column: auto;
  }
}

.article-page .article-stage {
  padding-top: clamp(52px, 7vw, 92px);
}

.article-hero-card,
.article-layout,
.article-body,
.article-section-card,
.article-closing-card {
  position: relative;
}

.article-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  width: min(calc(100% - 32px), var(--hero-width));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(154, 186, 255, 0.16);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 12% 10%, rgba(120, 235, 255, 0.16), transparent 30%),
    radial-gradient(circle at 94% 18%, rgba(120, 184, 255, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(13, 28, 51, 0.92), rgba(4, 11, 22, 0.88));
  box-shadow: var(--shadow-lg);
}

.article-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(120, 184, 255, 0.14), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px);
  opacity: 0.6;
}

.article-hero-copy,
.article-hero-visual {
  position: relative;
  z-index: 1;
}

.article-hero-copy h1 {
  max-width: 820px;
  margin: 16px 0 18px;
  font-size: clamp(2.7rem, 6.1vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

html[lang^="zh"] .article-hero-copy h1,
html[lang="ja"] .article-hero-copy h1,
html[lang="ko"] .article-hero-copy h1 {
  letter-spacing: -0.045em;
}

.article-hero-copy .hero-lead {
  max-width: 760px;
}

.article-hero-visual {
  padding: 10px;
  border: 1px solid rgba(120, 184, 255, 0.18);
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.article-hero-visual img {
  width: 100%;
  border-radius: 22px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.article-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(120, 184, 255, 0.2);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 700;
}

.article-content-section {
  padding-top: clamp(34px, 6vw, 72px);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 900px);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  width: min(calc(100% - 32px), 1220px);
  margin: 0 auto;
}

.article-toc {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 31, 55, 0.78), rgba(7, 16, 30, 0.7));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.article-toc span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-toc div {
  display: grid;
  gap: 10px;
}

.article-toc a {
  color: var(--text-faint);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.article-toc a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-lede,
.article-section-card,
.article-closing-card {
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 184, 255, 0.1), transparent 26%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.article-lede {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.82;
}

.article-lede p,
.article-section-card p,
.article-closing-card p {
  margin: 0;
}

.article-section-list {
  display: grid;
  gap: 18px;
}

.article-section-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.4vw, 36px);
  scroll-margin-top: 128px;
}

.article-section-index {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.article-section-card h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

html[lang^="zh"] .article-section-card h2,
html[lang="ja"] .article-section-card h2,
html[lang="ko"] .article-section-card h2 {
  letter-spacing: -0.02em;
}

.article-section-card p,
.article-closing-card p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.82;
}

.article-check-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.article-check-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(120, 184, 255, 0.14);
  border-radius: 16px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.55;
}

.article-check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(120, 235, 255, 0.48);
}

.article-closing-card {
  display: grid;
  gap: 15px;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 10% 10%, rgba(120, 235, 255, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(18, 38, 70, 0.88), rgba(6, 13, 25, 0.88));
}

.article-site-link {
  justify-self: start;
  margin-top: 4px;
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .article-hero-card,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: relative;
    top: auto;
  }

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

@media (max-width: 720px) {
  .article-page .article-stage {
    padding-top: 34px;
  }

  .article-hero-card {
    padding: 22px;
    border-radius: 28px;
  }

  .article-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .article-hero-visual {
    padding: 6px;
    border-radius: 22px;
  }

  .article-hero-visual img {
    border-radius: 16px;
  }

  .article-meta span {
    font-size: 0.78rem;
  }

  .article-toc,
  .article-lede,
  .article-section-card,
  .article-closing-card {
    border-radius: 22px;
  }

  .article-toc div {
    grid-template-columns: 1fr;
  }

  .article-section-card {
    padding: 22px;
  }
}

.article-page .article-stage {
  padding-top: clamp(46px, 6vw, 78px);
}

.article-page .article-hero-card {
  grid-template-columns: 1fr;
  width: min(calc(100% - 32px), 1120px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-page .article-hero-card::before {
  display: none;
}

.article-page .article-hero-copy {
  max-width: 920px;
  order: 2;
}

.article-page .article-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.12;
}

.article-page .article-hero-copy .hero-lead {
  max-width: 860px;
}

.article-page .article-hero-visual {
  order: 1;
  width: 100%;
  margin: 0 0 clamp(24px, 4vw, 38px);
  padding: 0;
  overflow: hidden;
  border-color: rgba(120, 184, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.article-page .article-hero-visual img {
  border-radius: 0;
}

.article-page .article-content-section {
  padding-top: clamp(28px, 5vw, 58px);
}

.article-page .article-layout {
  grid-template-columns: minmax(190px, 230px) minmax(0, 860px);
  gap: clamp(24px, 4vw, 48px);
  width: min(calc(100% - 32px), 1120px);
}

.article-page .article-toc {
  padding: 4px 0 4px 18px;
  border: 0;
  border-left: 1px solid rgba(154, 186, 255, 0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-page .article-toc a {
  font-size: 0.88rem;
}

.updates-page .article-toc div {
  gap: 12px;
}

.updates-page .update-timeline-item {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 12px 12px 12px 16px;
  border: 1px solid rgba(154, 186, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--text-faint);
  transform: none;
}

.updates-page .update-timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(154, 186, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(120, 184, 255, 0.06);
}

.updates-page .update-timeline-item:hover,
.updates-page .update-timeline-item.active {
  color: var(--text);
  border-color: rgba(120, 235, 255, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 235, 255, 0.12), transparent 48%),
    rgba(120, 184, 255, 0.08);
  transform: translateX(2px);
}

.updates-page .update-timeline-item.active::before {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(120, 235, 255, 0.55);
}

.updates-page .update-timeline-date {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.updates-page .update-timeline-item strong {
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
}

.updates-page .update-timeline-item em {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-style: normal;
}

.article-page .article-body {
  display: block;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(154, 186, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 184, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.026));
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.26);
}

.article-page .article-lede,
.article-page .article-section-card,
.article-page .article-closing-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-page .article-lede {
  padding: 0 0 clamp(26px, 4vw, 38px);
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(154, 186, 255, 0.13);
}

.article-page .article-section-list {
  display: block;
}

.article-page .article-section-card {
  gap: 14px;
  padding: clamp(28px, 4vw, 42px) 0;
  border-bottom: 1px solid rgba(154, 186, 255, 0.13);
}

.article-page .article-section-card:last-child {
  border-bottom: 0;
}

.article-page .article-section-card h2 {
  font-size: clamp(1.16rem, 1.58vw, 1.48rem);
  line-height: 1.34;
}

.article-page .article-section-card p,
.article-page .article-closing-card p {
  max-width: 72ch;
}

.article-page .article-check-list {
  gap: 8px;
  margin-top: 14px;
}

.article-page .article-check-list li {
  border-color: rgba(120, 184, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
}

.article-page .article-closing-card {
  padding: clamp(30px, 4vw, 44px) 0 0;
  border-top: 1px solid rgba(154, 186, 255, 0.13);
}

@media (max-width: 1060px) {
  .article-page .article-layout {
    grid-template-columns: 1fr;
  }

  .article-page .article-toc {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(154, 186, 255, 0.16);
  }

  .updates-page .update-timeline-item {
    padding-left: 34px;
  }

  .updates-page .update-timeline-item::before {
    left: 14px;
  }
}

@media (max-width: 720px) {
  .article-page .article-hero-copy h1 {
    font-size: clamp(1.78rem, 7.6vw, 2.35rem);
  }

  .article-page .article-hero-visual {
    border-radius: 18px;
  }

  .article-page .article-body {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .article-page .article-section-card {
    padding: 30px 0;
  }

  .article-page .article-check-list li {
    padding-right: 12px;
  }
}

.updates-page .updates-list {
  display: block;
}

.update-entry {
  scroll-margin-top: 128px;
}

.update-entry-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.update-date,
.update-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.update-date {
  color: var(--cyan);
  border: 1px solid rgba(120, 235, 255, 0.24);
  background: rgba(120, 235, 255, 0.08);
}

.update-label {
  color: var(--text-soft);
  border: 1px solid rgba(154, 186, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.update-entry h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.4vw, 2.28rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

html[lang^="zh"] .update-entry h2,
html[lang="ja"] .update-entry h2,
html[lang="ko"] .update-entry h2 {
  letter-spacing: -0.018em;
}

.update-summary {
  display: grid;
  gap: 14px;
  padding-bottom: clamp(26px, 4vw, 38px);
  border-bottom: 1px solid rgba(154, 186, 255, 0.13);
}

.update-summary p,
.update-detail-block p,
.update-recap p {
  max-width: 74ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.82;
}

.update-detail-block {
  display: grid;
  gap: 12px;
  padding: clamp(26px, 4vw, 38px) 0;
  border-bottom: 1px solid rgba(154, 186, 255, 0.13);
}

.update-detail-block h3,
.update-recap h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.update-recap {
  display: grid;
  gap: 14px;
  padding-top: clamp(28px, 4vw, 40px);
}

.update-recap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-recap-list li {
  position: relative;
  padding: 11px 12px 11px 34px;
  border: 1px solid rgba(120, 184, 255, 0.1);
  border-radius: 14px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.028);
  line-height: 1.48;
}

.update-recap-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 16px rgba(120, 235, 255, 0.45);
}

.deployment-page .article-hero-card {
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 42px);
  width: min(calc(100% - 32px), 1120px);
}

.deployment-page .article-hero-visual {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.deployment-page .article-hero-copy {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.deployment-page .article-hero-copy h1 {
  max-width: 760px;
}

.deployment-list li {
  overflow-wrap: anywhere;
}

.deployment-code-group {
  display: grid;
  gap: 14px;
  margin: 4px 0 6px;
}

.deployment-code-card {
  display: grid;
  gap: 8px;
}

.deployment-code-label {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deployment-code {
  max-width: 100%;
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid rgba(120, 184, 255, 0.14);
  border-radius: 16px;
  color: #dbeafe;
  background:
    linear-gradient(180deg, rgba(3, 10, 20, 0.9), rgba(4, 13, 26, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.72;
  white-space: pre;
}

.deployment-code code {
  font: inherit;
}

@media (max-width: 720px) {
  .update-entry h2 {
    font-size: clamp(1.32rem, 6.2vw, 1.78rem);
  }

  .update-recap-list {
    grid-template-columns: 1fr;
  }

  .deployment-code {
    padding: 14px;
    font-size: 0.78rem;
  }
}
