/* Hallmark · macrostructure: Narrative Workflow · nav: N9 · footer: Ft1 · hero: H7
   · theme: Frosted Aurora Glass (paper oklch(14% 0.024 245), accent oklch(68% 0.175 142), fonts Bricolage Grotesque 700/800 + IBM Plex Sans 400/500/600)
   · knobs: stages=4, glass-tint=emerald-aurora, specular-rim=top-left-1px, card-blur=18px
   · pre-emit: P5 H5 E5 S5 R5 V5
   · contrast: pass (40-41) · slop: pass (42-45) · mobile: pass (34,49,50-57) */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-v1-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-v1-latin-800.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-v19-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-v19-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-v19-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-v19-latin-500.woff2') format('woff2');
}

:root {
  --gx-font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gx-font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gx-font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gx-color-paper: oklch(14% 0.024 245);
  --gx-color-paper-2: oklch(19% 0.028 245);
  --gx-color-paper-3: oklch(24% 0.032 245);
  --gx-color-paper-glass: oklch(20% 0.030 245 / 0.65);
  --gx-color-paper-glass-hover: oklch(25% 0.035 245 / 0.78);
  --gx-color-rule: oklch(34% 0.024 245 / 0.6);
  --gx-color-rule-light: oklch(80% 0.030 245 / 0.16);
  --gx-color-rule-rim: oklch(92% 0.020 245 / 0.38);
  --gx-color-neutral: oklch(72% 0.016 240);
  --gx-color-muted: oklch(56% 0.018 240);
  --gx-color-ink: oklch(98% 0.008 240);
  --gx-color-ink-soft: oklch(90% 0.012 240);
  --gx-color-accent: oklch(68% 0.175 142);
  --gx-color-accent-ink: oklch(14% 0.040 142);
  --gx-color-accent-hover: oklch(74% 0.185 142);
  --gx-color-accent-orange: oklch(70% 0.180 48);
  --gx-color-focus: oklch(78% 0.160 142);

  --gx-space-3xs: 0.125rem;
  --gx-space-2xs: 0.25rem;
  --gx-space-xs: 0.5rem;
  --gx-space-sm: 0.75rem;
  --gx-space-md: 1rem;
  --gx-space-lg: 1.5rem;
  --gx-space-xl: 2.5rem;
  --gx-space-2xl: 4rem;
  --gx-space-3xl: 6rem;
  --gx-space-4xl: 9rem;

  --gx-radius-sm: 6px;
  --gx-radius-md: 12px;
  --gx-radius-lg: 16px;
  --gx-radius-pill: 9999px;

  --gx-z-base: 1;
  --gx-z-raised: 10;
  --gx-z-dropdown: 100;
  --gx-z-sticky: 200;
  --gx-z-sticky-nav: 300;

  --gx-dur-micro: 120ms;
  --gx-dur-short: 220ms;
  --gx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gx-header-height: 68px;
}

@media (max-width: 1023px) {
  :root {
    --gx-header-height: 58px;
  }
}

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

html, body {
  overflow-x: clip;
  background-color: var(--gx-color-paper);
  color: var(--gx-color-ink-soft);
  font-family: var(--gx-font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 65% 50% at 10% 12%, oklch(42% 0.16 152 / 0.26), transparent 65%),
    radial-gradient(ellipse 55% 45% at 90% 20%, oklch(38% 0.16 260 / 0.28), transparent 65%),
    radial-gradient(ellipse 60% 45% at 20% 60%, oklch(36% 0.14 225 / 0.22), transparent 70%),
    radial-gradient(ellipse 65% 55% at 85% 82%, oklch(40% 0.15 145 / 0.24), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 42%, oklch(35% 0.12 50 / 0.12), transparent 65%);
  background-attachment: fixed;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--gx-font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--gx-color-ink);
  line-height: 1.15;
  overflow-wrap: anywhere;
  min-width: 0;
}

h1 {
  font-size: clamp(1.85rem, 4vw + 0.5rem, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw + 0.3rem, 1.95rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.gx-tabular {
  font-variant-numeric: tabular-nums;
}

.gx-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gx-space-md);
}

@media (min-width: 768px) {
  .gx-container {
    padding-inline: var(--gx-space-lg);
  }
}

.gx-section {
  padding-block: var(--gx-space-2xl);
}

.gx-section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--gx-space-2xs);
  margin-bottom: var(--gx-space-xl);
}

.gx-section-lead {
  font-size: 1rem;
  color: var(--gx-color-neutral);
  max-width: 65ch;
  margin-top: var(--gx-space-2xs);
}

/* Frosted Glass Cards and Panels */
.gx-card,
.gx-glass-panel {
  position: relative;
  background: var(--gx-color-paper-glass);
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  border-radius: var(--gx-radius-md);
  box-shadow:
    0 12px 36px -4px oklch(8% 0.02 245 / 0.55),
    inset 0 1px 0 0 oklch(96% 0.01 245 / 0.22);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  padding: var(--gx-space-lg);
  transition: transform var(--gx-dur-short) var(--gx-ease-out),
              background var(--gx-dur-short) var(--gx-ease-out),
              border-color var(--gx-dur-short) var(--gx-ease-out),
              box-shadow var(--gx-dur-short) var(--gx-ease-out);
}

@supports not (backdrop-filter: blur(1px)) {
  .gx-card,
  .gx-glass-panel {
    background: var(--gx-color-paper-2);
  }
}

.gx-card:hover {
  background: var(--gx-color-paper-glass-hover);
  border-top-color: oklch(96% 0.02 245 / 0.5);
  border-left-color: oklch(96% 0.02 245 / 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 16px 44px -4px oklch(8% 0.02 245 / 0.65),
    inset 0 1px 0 0 oklch(98% 0.01 245 / 0.32);
}

.gx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gx-space-xs);
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--gx-radius-pill);
  min-height: 38px;
  transition: transform var(--gx-dur-micro) var(--gx-ease-out),
              background-color var(--gx-dur-micro) var(--gx-ease-out),
              color var(--gx-dur-micro) var(--gx-ease-out),
              border-color var(--gx-dur-micro) var(--gx-ease-out);
}

.gx-btn:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

.gx-btn:active {
  transform: scale(0.98);
}

.gx-btn:disabled,
.gx-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.gx-btn-primary {
  background: var(--gx-color-accent);
  color: var(--gx-color-accent-ink);
  border: 1px solid transparent;
}

.gx-btn-primary:hover {
  background: var(--gx-color-accent-hover);
  color: var(--gx-color-accent-ink);
}

.gx-btn-glass {
  background: oklch(24% 0.028 245 / 0.7);
  color: var(--gx-color-ink);
  border: 1px solid var(--gx-color-rule-light);
  border-top-color: var(--gx-color-rule-rim);
  border-left-color: var(--gx-color-rule-rim);
}

.gx-btn-glass:hover {
  background: oklch(28% 0.032 245 / 0.85);
  border-color: var(--gx-color-accent);
  color: var(--gx-color-ink);
}

.gx-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gx-space-2xs);
  padding: 0.25rem 0.65rem;
  background: oklch(24% 0.035 142 / 0.6);
  border: 1px solid oklch(68% 0.175 142 / 0.4);
  border-radius: var(--gx-radius-pill);
  color: var(--gx-color-accent);
  font-family: var(--gx-font-mono);
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
}

.gx-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gx-color-accent);
}

/* ==================== HEADER (data-tpl="header") ==================== */
header[data-tpl="header"] {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: var(--gx-header-height);
  z-index: var(--gx-z-sticky-nav);
  background: oklch(17% 0.024 245 / 0.98);
  border-bottom: 1px solid var(--gx-color-rule);
}

.gx-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gx-space-xs);
  min-height: var(--gx-header-height);
  padding-block: 4px;
}

.gx-brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.gx-brand-link:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

.gx-brand-logo {
  width: 92px;
  height: auto;
  aspect-ratio: 600 / 398;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .gx-brand-logo {
    width: 124px;
  }
}

.gx-nav {
  display: none;
}

.gx-nav-list {
  display: flex;
  align-items: center;
  gap: var(--gx-space-md);
  list-style: none;
}

.gx-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gx-color-ink-soft);
  white-space: nowrap;
  line-height: 1;
  padding: 0.35rem 0.25rem;
  transition: color var(--gx-dur-micro) var(--gx-ease-out);
}

.gx-nav-link:hover {
  color: var(--gx-color-accent);
}

.gx-nav-link:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

.gx-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gx-header-actions .gx-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  min-height: 32px;
  line-height: 1;
}

.gx-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--gx-radius-sm);
  background: var(--gx-color-paper-2);
  border: 1px solid var(--gx-color-rule-light);
  color: var(--gx-color-ink);
  transition: background-color var(--gx-dur-micro) var(--gx-ease-out),
              border-color var(--gx-dur-micro) var(--gx-ease-out);
}

.gx-menu-toggle:hover {
  background: var(--gx-color-paper-3);
  border-color: var(--gx-color-accent);
}

.gx-menu-toggle:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

.gx-menu-icon {
  width: 18px;
  height: 18px;
}

/* Mobile Nav Drawer (solid fallback, no backdrop-filter) */
@media (max-width: 1023px) {
  .gx-nav.gx-is-open {
    display: block;
    position: fixed;
    top: var(--gx-header-height);
    left: 0;
    right: 0;
    background: oklch(17% 0.024 245 / 0.98);
    border-bottom: 1px solid var(--gx-color-rule);
    padding: var(--gx-space-md) var(--gx-space-lg);
    z-index: var(--gx-z-dropdown);
  }

  .gx-nav.gx-is-open .gx-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gx-space-xs);
  }

  .gx-nav.gx-is-open .gx-nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid oklch(28% 0.02 245 / 0.4);
  }
}

@media (min-width: 1024px) {
  .gx-nav {
    display: block;
  }
  .gx-menu-toggle {
    display: none;
  }
  .gx-header-actions {
    gap: var(--gx-space-xs);
  }
  .gx-header-actions .gx-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
    min-height: 36px;
  }
}

/* ==================== HOME TEMPLATE (data-tpl="home") ==================== */
main[data-tpl="home"] {
  display: block;
}

/* Hero H7 */
.gx-home-hero {
  padding-block-start: var(--gx-space-2xl);
  padding-block-end: calc(var(--gx-space-2xl) * 1.35);
  position: relative;
}

.gx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .gx-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.gx-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gx-space-md);
}

.gx-hero-title {
  margin-top: var(--gx-space-2xs);
}

.gx-hero-summary {
  font-size: 1.1rem;
  color: var(--gx-color-neutral);
  max-width: 60ch;
  line-height: 1.6;
}

.gx-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gx-space-sm);
  margin-top: var(--gx-space-xs);
}

.gx-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gx-space-xs);
  font-family: var(--gx-font-mono);
  font-size: 0.78rem;
  color: var(--gx-color-muted);
  margin-top: var(--gx-space-xs);
}

.gx-hero-metrics-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gx-color-rule);
}

.gx-hero-clipped-frame {
  position: relative;
  border-radius: var(--gx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  background: var(--gx-color-paper-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 18px 42px -6px oklch(8% 0.02 245 / 0.6),
    inset 0 1px 0 0 oklch(96% 0.01 245 / 0.22);
}

.gx-hero-clipped-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Trust Strip */
.gx-trust-strip {
  padding-block: var(--gx-space-lg);
  border-block: 1px solid var(--gx-color-rule);
  background: oklch(18% 0.024 245 / 0.65);
}

.gx-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gx-space-md);
}

@media (min-width: 768px) {
  .gx-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gx-trust-item {
  display: flex;
  align-items: center;
  gap: var(--gx-space-xs);
}

.gx-trust-icon {
  width: 20px;
  height: 20px;
  color: var(--gx-color-accent);
  flex-shrink: 0;
}

.gx-trust-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gx-color-ink-soft);
  line-height: 1.3;
}

/* Free Credit Spotlight */
.gx-promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-lg);
}

@media (min-width: 768px) {
  .gx-promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gx-promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gx-space-md);
}

.gx-promo-banner-wrap {
  border-radius: var(--gx-radius-sm);
  overflow: hidden;
  border: 1px solid var(--gx-color-rule);
}

.gx-promo-banner-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 717;
  object-fit: contain;
}

.gx-promo-icon-wrap {
  width: 100%;
  aspect-ratio: 1500 / 717;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(22% 0.028 245 / 0.5);
  border-radius: var(--gx-radius-sm);
  border: 1px solid var(--gx-color-rule);
}

.gx-promo-icon {
  width: 48px;
  height: 48px;
  color: var(--gx-color-accent);
}

.gx-promo-title {
  font-size: 1.15rem;
  margin-bottom: var(--gx-space-2xs);
}

.gx-promo-desc {
  font-size: 0.9rem;
  color: var(--gx-color-neutral);
  line-height: 1.5;
}

/* Get Started 4 Cards */
.gx-steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-md);
}

@media (min-width: 600px) {
  .gx-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gx-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gx-step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gx-space-sm);
}

.gx-step-num {
  font-family: var(--gx-font-mono);
  font-size: 0.85rem;
  color: var(--gx-color-accent);
}

.gx-step-title {
  font-size: 1.15rem;
}

.gx-step-desc {
  font-size: 0.875rem;
  color: var(--gx-color-neutral);
  line-height: 1.5;
}

.gx-step-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gx-color-accent);
  margin-top: var(--gx-space-xs);
}

.gx-step-link:hover {
  text-decoration: underline;
}

.gx-step-link:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

/* Products */
.gx-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-lg);
}

@media (min-width: 768px) {
  .gx-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gx-product-card {
  display: flex;
  flex-direction: column;
  gap: var(--gx-space-md);
}

.gx-product-art {
  border-radius: var(--gx-radius-sm);
  overflow: hidden;
  border: 1px solid var(--gx-color-rule);
  background: var(--gx-color-paper-2);
}

.gx-product-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.gx-product-title {
  font-size: 1.25rem;
}

.gx-product-desc {
  font-size: 0.9rem;
  color: var(--gx-color-neutral);
}

/* Studios */
.gx-studio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gx-space-md);
}

@media (min-width: 600px) {
  .gx-studio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .gx-studio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.gx-studio-card {
  padding: var(--gx-space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gx-color-paper-glass);
  border-radius: var(--gx-radius-md);
  border: 1px solid var(--gx-color-rule-light);
  border-top-color: var(--gx-color-rule-rim);
  border-left-color: var(--gx-color-rule-rim);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 8px 24px -4px oklch(8% 0.02 245 / 0.4);
}

.gx-studio-card img {
  width: 100%;
  max-width: 120px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* VIP 9 Tiers */
.gx-vip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gx-space-sm);
}

@media (min-width: 768px) {
  .gx-vip-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

.gx-vip-card {
  padding: var(--gx-space-sm) var(--gx-space-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: var(--gx-space-xs);
  background: var(--gx-color-paper-glass);
  border-radius: var(--gx-radius-sm);
  border: 1px solid var(--gx-color-rule-light);
  border-top-color: var(--gx-color-rule-rim);
  border-left-color: var(--gx-color-rule-rim);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 8px 20px -4px oklch(8% 0.02 245 / 0.4);
}

.gx-vip-img-wrap {
  width: 100%;
  max-width: 72px;
  aspect-ratio: 300 / 250;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gx-vip-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 250;
  object-fit: contain;
}

.gx-vip-name {
  font-family: var(--gx-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gx-color-ink);
  line-height: 1.1;
}

/* Banking */
.gx-banking-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--gx-space-md);
}

.gx-pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--gx-space-md);
}

.gx-pay-item {
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  padding: 8px;
  background: var(--gx-color-paper-glass);
  border: 1px solid var(--gx-color-rule-light);
  border-top-color: var(--gx-color-rule-rim);
  border-left-color: var(--gx-color-rule-rim);
  border-radius: var(--gx-radius-md);
  box-shadow: 0 8px 24px -4px oklch(8% 0.02 245 / 0.45);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gx-pay-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gx-banking-limits {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gx-color-ink);
}

/* Editor & Sources Box */
.gx-meta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gx-space-sm);
  padding: var(--gx-space-md);
  background: var(--gx-color-paper-glass);
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  border-radius: var(--gx-radius-md);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 12px 32px -4px oklch(8% 0.02 245 / 0.5),
    inset 0 1px 0 0 oklch(96% 0.01 245 / 0.22);
  font-size: 0.85rem;
  color: var(--gx-color-neutral);
}

.gx-meta-item strong {
  color: var(--gx-color-ink);
}

/* ==================== SUB TEMPLATE (data-tpl="sub") ==================== */
main[data-tpl="sub"] {
  display: block;
}

.gx-sub-hero {
  padding-block-start: var(--gx-space-xl);
  padding-block-end: var(--gx-space-xl);
  border-bottom: 1px solid var(--gx-color-rule);
}

.gx-breadcrumb-slot {
  font-size: 0.85rem;
  color: var(--gx-color-neutral);
  margin-bottom: var(--gx-space-sm);
}

.gx-sub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .gx-sub-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  }
}

.gx-sub-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gx-space-sm);
}

.gx-sub-summary {
  font-size: 1.1rem;
  color: var(--gx-color-neutral);
  max-width: 65ch;
  line-height: 1.6;
}

.gx-sub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gx-space-xs);
  margin-top: var(--gx-space-2xs);
}

.gx-trust-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gx-space-xs);
  font-size: 0.825rem;
  color: var(--gx-color-muted);
  margin-top: var(--gx-space-2xs);
}

.gx-sub-hero-media {
  width: 100%;
  max-width: 520px;
}

.gx-sub-figure-frame {
  position: relative;
  width: 100%;
  border-radius: var(--gx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  background: var(--gx-color-paper-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 16px 36px -6px oklch(8% 0.02 245 / 0.55),
    inset 0 1px 0 0 oklch(96% 0.01 245 / 0.22);
}

.gx-sub-figure-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Sub 2-Column Layout */
.gx-sub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-xl);
  padding-block: var(--gx-space-2xl);
}

@media (min-width: 992px) {
  .gx-sub-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

.gx-sub-sidebar {
  display: block;
}

.gx-toc {
  position: sticky;
  top: calc(var(--gx-header-height) + var(--gx-space-md));
  background: var(--gx-color-paper-glass);
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  border-radius: var(--gx-radius-md);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 12px 32px -4px oklch(8% 0.02 245 / 0.5),
    inset 0 1px 0 0 oklch(96% 0.01 245 / 0.22);
  padding: var(--gx-space-md);
}

.gx-toc-title {
  font-family: var(--gx-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gx-color-accent);
  margin-bottom: var(--gx-space-xs);
}

.gx-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--gx-space-2xs);
}

.gx-toc-link {
  font-size: 0.875rem;
  color: var(--gx-color-neutral);
  transition: color var(--gx-dur-micro) var(--gx-ease-out);
}

.gx-toc-link:hover {
  color: var(--gx-color-accent);
}

.gx-toc-link:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

/* Article Styles scoped under [data-content] */
[data-content] {
  max-width: 65ch;
}

[data-content] h2 {
  margin-block-start: var(--gx-space-xl);
  margin-block-end: var(--gx-space-sm);
}

[data-content] h3 {
  margin-block-start: var(--gx-space-lg);
  margin-block-end: var(--gx-space-xs);
}

[data-content] p {
  margin-bottom: var(--gx-space-md);
  color: var(--gx-color-ink-soft);
  line-height: 1.65;
}

[data-content] ul,
[data-content] ol {
  margin-bottom: var(--gx-space-md);
  padding-left: var(--gx-space-lg);
  color: var(--gx-color-ink-soft);
}

[data-content] li {
  margin-bottom: var(--gx-space-2xs);
}

[data-content] strong {
  color: var(--gx-color-ink);
  font-weight: 600;
}

[data-content] a {
  color: var(--gx-color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-content] a:hover {
  color: var(--gx-color-accent-hover);
}

[data-content] a:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

.gx-table-scroll {
  width: 100%;
  overflow-x: auto;
  margin-block: var(--gx-space-lg);
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  border-radius: var(--gx-radius-md);
  background: var(--gx-color-paper-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.gx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.gx-table th,
.gx-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--gx-color-rule);
}

.gx-table th {
  font-family: var(--gx-font-mono);
  font-weight: 600;
  color: var(--gx-color-ink);
  background: oklch(24% 0.026 245 / 0.5);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gx-table tr:last-child td {
  border-bottom: none;
}

figure.pic {
  margin-block: var(--gx-space-lg);
  border-radius: var(--gx-radius-md);
  overflow: hidden;
  border: 1px solid var(--gx-color-rule-light);
  background: var(--gx-color-paper-2);
}

figure.pic img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

figcaption.cap {
  padding: var(--gx-space-xs) var(--gx-space-md);
  font-size: 0.8rem;
  color: var(--gx-color-muted);
  background: var(--gx-color-paper-3);
  border-top: 1px solid var(--gx-color-rule);
}

/* Skeleton Styles */
.gx-skeleton-section {
  margin-bottom: var(--gx-space-xl);
}

.gx-skeleton-card {
  display: flex;
  flex-direction: column;
  gap: var(--gx-space-sm);
  padding: var(--gx-space-md);
  background: var(--gx-color-paper-glass);
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  border-radius: var(--gx-radius-md);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 12px 32px -4px oklch(8% 0.02 245 / 0.5),
    inset 0 1px 0 0 oklch(96% 0.01 245 / 0.22);
}

.gx-skeleton-bar {
  display: block;
  height: 12px;
  background: oklch(30% 0.015 245 / 0.4);
  border-radius: var(--gx-radius-sm);
}

.gx-skeleton-bar-long {
  width: 90%;
}

.gx-skeleton-bar-mid {
  width: 72%;
}

.gx-skeleton-bar-short {
  width: 48%;
}

.gx-skeleton-muted-text {
  font-family: var(--gx-font-mono);
  font-size: 0.75rem;
  color: var(--gx-color-muted);
  margin-top: var(--gx-space-2xs);
}

/* Related Cards */
.gx-related-wrap {
  padding-block: var(--gx-space-xl);
  border-top: 1px solid var(--gx-color-rule);
}

.gx-related-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-md);
  margin-top: var(--gx-space-md);
}

@media (min-width: 768px) {
  .gx-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gx-related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gx-space-sm);
}

.gx-related-title {
  font-size: 1.1rem;
}

.gx-related-desc {
  font-size: 0.875rem;
  color: var(--gx-color-neutral);
  line-height: 1.5;
}

.gx-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gx-color-accent);
}

.gx-arrow-link:hover {
  color: var(--gx-color-accent-hover);
  text-decoration: underline;
}

.gx-arrow-link:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

/* Sub CTA Band */
.gx-sub-cta-band {
  padding-block: var(--gx-space-xl);
}

.gx-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--gx-space-md);
  background: radial-gradient(circle at 50% 0%, oklch(34% 0.08 142 / 0.35), transparent 70%),
              var(--gx-color-paper-glass);
  border: 1px solid var(--gx-color-rule-light);
  border-top: 1px solid var(--gx-color-rule-rim);
  border-left: 1px solid var(--gx-color-rule-rim);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 16px 40px -4px oklch(8% 0.02 245 / 0.6),
    inset 0 1px 0 0 oklch(96% 0.01 245 / 0.25);
}

.gx-cta-title-text {
  font-family: var(--gx-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gx-color-ink);
}

.gx-cta-lead {
  font-size: 0.95rem;
  color: var(--gx-color-neutral);
  max-width: 50ch;
}

/* ==================== FOOTER (data-tpl="footer") ==================== */
footer[data-tpl="footer"] {
  background: oklch(14% 0.020 245);
  border-top: 1px solid var(--gx-color-rule);
  padding-block-start: var(--gx-space-2xl);
  padding-block-end: var(--gx-space-xl);
}

.gx-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gx-space-xl);
  margin-bottom: var(--gx-space-xl);
}

@media (min-width: 768px) {
  .gx-footer-top {
    grid-template-columns: 1.2fr 2fr;
  }
}

.gx-footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gx-space-sm);
}

.gx-footer-brand-logo {
  width: 110px;
  height: auto;
  aspect-ratio: 600 / 398;
  object-fit: contain;
}

.gx-footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gx-space-md);
}

.gx-footer-col-title {
  font-family: var(--gx-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gx-color-accent);
  margin-bottom: var(--gx-space-xs);
}

.gx-footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--gx-space-2xs);
}

.gx-footer-link {
  font-size: 0.85rem;
  color: var(--gx-color-neutral);
  transition: color var(--gx-dur-micro) var(--gx-ease-out);
}

.gx-footer-link:hover {
  color: var(--gx-color-accent);
}

.gx-footer-link:focus-visible {
  outline: 2px solid var(--gx-color-focus);
  outline-offset: 2px;
}

.gx-footer-responsible-line {
  font-size: 0.825rem;
  color: var(--gx-color-muted);
  max-width: 48ch;
  line-height: 1.5;
}

.gx-footer-responsible-link {
  color: var(--gx-color-accent);
  text-decoration: underline;
}

.gx-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--gx-space-md);
  padding-top: var(--gx-space-lg);
  border-top: 1px solid var(--gx-color-rule);
}

@media (min-width: 600px) {
  .gx-footer-bottom {
    flex-direction: row;
  }
}

.gx-footer-trust-badge {
  display: flex;
  align-items: center;
  gap: var(--gx-space-xs);
}

.gx-footer-pagcor-img {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.gx-footer-copyright {
  font-family: var(--gx-font-mono);
  font-size: 0.78rem;
  color: var(--gx-color-muted);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
  
/* r3 patch: visible glass */

:root {
  --gx-r3-bg-base: oklch(14% 0.024 245);
  --gx-r3-orb-emerald: oklch(58% 0.19 155 / 0.42);
  --gx-r3-orb-teal: oklch(60% 0.16 195 / 0.40);
  --gx-r3-orb-orange: oklch(62% 0.19 52 / 0.34);
  --gx-r3-orb-blue: oklch(44% 0.18 255 / 0.44);
  --gx-r3-orb-deep: oklch(32% 0.15 235 / 0.46);
  --gx-r3-glass-bg: linear-gradient(
    180deg,
    oklch(98% 0.015 245 / 0.22) 0%,
    oklch(94% 0.020 245 / 0.14) 30%,
    oklch(92% 0.020 245 / 0.10) 100%
  );
  --gx-r3-glass-bg-hover: linear-gradient(
    180deg,
    oklch(98% 0.015 245 / 0.26) 0%,
    oklch(94% 0.020 245 / 0.18) 30%,
    oklch(92% 0.020 245 / 0.13) 100%
  );
  --gx-r3-glass-bg-dense: linear-gradient(
    180deg,
    oklch(98% 0.015 245 / 0.24) 0%,
    oklch(94% 0.020 245 / 0.18) 30%,
    oklch(90% 0.020 245 / 0.14) 100%
  );
  --gx-r3-glass-rim: oklch(98% 0.015 245 / 0.42);
  --gx-r3-glass-rim-hover: oklch(98% 0.015 245 / 0.55);
  --gx-r3-glass-border: oklch(92% 0.020 245 / 0.18);
  --gx-r3-glass-shadow-1: oklch(8% 0.025 245 / 0.30);
  --gx-r3-glass-shadow-2: oklch(6% 0.020 245 / 0.50);
  --gx-r3-glass-shadow-hover-1: oklch(8% 0.025 245 / 0.35);
  --gx-r3-glass-shadow-hover-2: oklch(6% 0.020 245 / 0.58);
  --gx-r3-glass-inset: oklch(98% 0.015 245 / 0.32);
  --gx-r3-glass-inset-hover: oklch(98% 0.015 245 / 0.42);
  --gx-r3-glass-fallback: oklch(20% 0.028 245);
  --gx-r3-header-bg: oklch(14% 0.025 245 / 0.94);
  --gx-r3-text-bright: oklch(98% 0.005 245);
  --gx-r3-text-body: oklch(92% 0.012 245);
  --gx-r3-text-muted: oklch(82% 0.018 245);
}

/* Static aurora wash and orbs colour field */
body {
  background-color: var(--gx-r3-bg-base);
  background-image:
    radial-gradient(circle 55rem at 14% 10%, var(--gx-r3-orb-emerald), transparent 60%),
    radial-gradient(circle 60rem at 86% 24%, var(--gx-r3-orb-teal), transparent 60%),
    radial-gradient(circle 46rem at 22% 48%, var(--gx-r3-orb-orange), transparent 52%),
    radial-gradient(circle 65rem at 52% 70%, var(--gx-r3-orb-blue), transparent 64%),
    radial-gradient(circle 55rem at 82% 92%, var(--gx-r3-orb-deep), transparent 60%);
  background-attachment: fixed;
}

main[data-tpl],
.gx-section {
  background-color: transparent;
}

/* Frosted glass panels and cards */
.gx-glass-panel,
.gx-card,
.gx-promo-card,
.gx-step-card,
.gx-product-card,
.gx-studio-card,
.gx-vip-card,
.gx-banking-wrap,
.gx-meta-box,
.gx-toc,
.gx-skeleton-card,
.gx-related-card,
.gx-cta-card,
.gx-sub-cta-band,
.gx-hero-clipped-frame,
.gx-sub-figure-frame {
  position: relative;
  background: var(--gx-r3-glass-bg);
  border: 1px solid var(--gx-r3-glass-border);
  border-top: 1px solid var(--gx-r3-glass-rim);
  box-shadow:
    0 6px 20px -2px var(--gx-r3-glass-shadow-1),
    0 20px 48px -8px var(--gx-r3-glass-shadow-2),
    inset 0 1px 0 0 var(--gx-r3-glass-inset);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--gx-r3-text-body);
}

.gx-btn-glass {
  background: var(--gx-r3-glass-bg);
  border: 1px solid var(--gx-r3-glass-border);
  border-top: 1px solid var(--gx-r3-glass-rim);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 4px 14px -2px var(--gx-r3-glass-shadow-1),
    0 12px 28px -4px var(--gx-r3-glass-shadow-2),
    inset 0 1px 0 0 var(--gx-r3-glass-inset);
}

/* Interactive card hover */
.gx-card:hover,
.gx-promo-card:hover,
.gx-step-card:hover,
.gx-product-card:hover,
.gx-studio-card:hover,
.gx-vip-card:hover,
.gx-related-card:hover {
  background: var(--gx-r3-glass-bg-hover);
  border-top-color: var(--gx-r3-glass-rim-hover);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px -2px var(--gx-r3-glass-shadow-hover-1),
    0 24px 54px -6px var(--gx-r3-glass-shadow-hover-2),
    inset 0 1px 0 0 var(--gx-r3-glass-inset-hover);
}

.gx-btn-glass:hover {
  background: var(--gx-r3-glass-bg-hover);
  border-top-color: var(--gx-r3-glass-rim-hover);
  box-shadow:
    0 6px 18px -2px var(--gx-r3-glass-shadow-hover-1),
    0 16px 36px -4px var(--gx-r3-glass-shadow-hover-2),
    inset 0 1px 0 0 var(--gx-r3-glass-inset-hover);
}

/* Dense fill behind text intensive cards */
.gx-meta-box,
.gx-toc,
.gx-banking-wrap {
  background: var(--gx-r3-glass-bg-dense);
}

/* Text contrast protection (exceeds 4.5:1) */
.gx-promo-title,
.gx-step-title,
.gx-product-title,
.gx-related-title,
.gx-vip-name,
.gx-toc-title,
.gx-cta-title-text {
  color: var(--gx-r3-text-bright);
}

.gx-promo-desc,
.gx-step-desc,
.gx-product-desc,
.gx-related-desc,
.gx-cta-lead,
.gx-sub-summary {
  color: var(--gx-r3-text-body);
}

/* Header and mobile menu: solid translucent fill without backdrop-filter */
header,
.gx-header-row {
  background: var(--gx-r3-header-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.gx-nav,
.gx-nav-list {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 768px) {
  .gx-nav,
  .gx-nav-list {
    background: var(--gx-r3-header-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .gx-glass-panel,
  .gx-card,
  .gx-promo-card,
  .gx-step-card,
  .gx-product-card,
  .gx-studio-card,
  .gx-vip-card,
  .gx-banking-wrap,
  .gx-meta-box,
  .gx-toc,
  .gx-skeleton-card,
  .gx-related-card,
  .gx-cta-card,
  .gx-sub-cta-band,
  .gx-hero-clipped-frame,
  .gx-sub-figure-frame,
  .gx-btn-glass {
    background: var(--gx-r3-glass-fallback);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .gx-card,
  .gx-promo-card,
  .gx-step-card,
  .gx-product-card,
  .gx-studio-card,
  .gx-vip-card,
  .gx-related-card,
  .gx-btn-glass {
    transition: none;
    transform: none;
  }

  .gx-card:hover,
  .gx-promo-card:hover,
  .gx-step-card:hover,
  .gx-product-card:hover,
  .gx-studio-card:hover,
  .gx-vip-card:hover,
  .gx-related-card:hover,
  .gx-btn-glass:hover {
    transform: none;
  }
}

/* r4 patch: header single fill */
header {
  background: var(--gx-r3-header-bg);
}
header .gx-header-row {
  background: transparent;
}

/* r5 patch: full-page field + skeleton */
body {
  position: relative;
  isolation: isolate;
  background-image: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--gx-r3-bg-base);
  background-image:
    radial-gradient(circle 55rem at 14% 10%, var(--gx-r3-orb-emerald), transparent 60%),
    radial-gradient(circle 60rem at 86% 24%, var(--gx-r3-orb-teal), transparent 60%),
    radial-gradient(circle 46rem at 22% 48%, var(--gx-r3-orb-orange), transparent 52%),
    radial-gradient(circle 65rem at 52% 70%, var(--gx-r3-orb-blue), transparent 64%),
    radial-gradient(circle 55rem at 82% 92%, var(--gx-r3-orb-deep), transparent 60%);
}

.gx-skeleton-card .gx-skeleton-bar,
.gx-skeleton-bar {
  background: oklch(76% 0.012 245 / 0.35);
}

@media (max-width: 900px) {
  .gx-toc {
    margin-bottom: 28px;
  }
}

/* r6 patch: home content slot alignment */
main[data-tpl="home"] .gx-section[data-content] {
  max-width: none;
  width: 100%;
}

/* Centered readable column maintains visual symmetry with centered home blocks */
main[data-tpl="home"] .gx-section[data-content] .gx-container > * {
  max-width: 720px;
  margin-inline: auto;
}

/* build additions (structure phase) */
.gx-nav-link[aria-current="page"] { color: var(--gx-color-accent); }
.gx-breadcrumb-slot a { color: var(--gx-color-neutral); text-decoration: none; }
.gx-breadcrumb-slot a:hover { color: var(--gx-color-accent); }
.gx-breadcrumb-slot .gx-crumb-sep { margin-inline: 0.4em; }
.gx-sub-hero-grid--solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .gx-sub-hero-grid--solo { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 992px) { .gx-sub-layout--solo { grid-template-columns: minmax(0, 1fr); } }
.gx-sub-main--wide { max-width: none; }
.gx-post-card-media { margin-bottom: var(--gx-space-sm); border-radius: var(--gx-radius-md); overflow: hidden; }
.gx-post-card-media img { width: 100%; height: auto; display: block; }
[data-content] .gx-arrow-link { text-decoration: none; color: inherit; }
[data-content] h2.gx-related-title { margin-block: 0 var(--gx-space-2xs); font-size: 1.25rem; }
[data-content] .gx-related-desc { margin-bottom: var(--gx-space-sm); }
.gx-post-card-media { aspect-ratio: 2 / 1; display: flex; align-items: center; justify-content: center; background: var(--gx-color-paper-glass); }
.gx-post-card-media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }

