:root {
  color-scheme: light;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e0f2fe;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #dc2626;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.dark {
  color-scheme: dark;
  --background: #020617;
  --surface: #0f172a;
  --surface-2: #0b1120;
  --surface-3: #111827;
  --primary: #38bdf8;
  --primary-hover: #60a5fa;
  --primary-soft: rgba(56, 189, 248, 0.12);
  --border: #1e293b;
  --border-strong: #334155;
  --text-main: #e5e7eb;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --success: #22c55e;
  --warning: #fbbf24;
  --error: #f87171;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 9%, transparent), transparent 34rem),
    var(--background);
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1320px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: min(232px, 28vw);
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.theme-logo {
  position: relative;
  display: inline-grid;
  align-items: center;
  width: min(232px, 28vw);
  height: 46px;
}

.theme-logo .brand-logo {
  grid-area: 1 / 1;
  width: 100%;
  max-width: none;
}

.brand-logo-dark {
  opacity: 0;
}

.dark .brand-logo-light {
  opacity: 0;
}

.dark .brand-logo-dark {
  opacity: 1;
}

.site-footer .brand-logo {
  width: min(300px, 70vw);
  height: 52px;
}

.site-footer .theme-logo {
  width: min(300px, 70vw);
  height: 52px;
}

.dark .primary-button,
.dark .tab.active {
  color: #020617;
}

.main-nav,
.header-actions,
.hero-actions,
.tabs,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
}

.main-nav a {
  padding: 10px 9px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text-main);
}

.primary-button,
.ghost-button,
.icon-button,
.tab {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.primary-button:hover,
.ghost-button:hover,
.icon-button:hover,
.tab:hover,
.text-link:hover,
.card-link:hover {
  transform: translateY(-1px);
}

.primary-button {
  padding: 12px 18px;
  background: var(--primary);
  color: #ffffff;
}

.primary-button:hover {
  background: var(--primary-hover);
}

.ghost-button {
  padding: 12px 18px;
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text-main);
}

.ghost-button:hover {
  background: var(--surface-2);
}

.compact {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 14px;
}

.full {
  width: 100%;
}

.icon-button {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-color: var(--border);
  background: var(--surface);
}

.sun-icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow:
    0 -9px 0 -6px var(--primary),
    0 9px 0 -6px var(--primary),
    9px 0 0 -6px var(--primary),
    -9px 0 0 -6px var(--primary);
}

.hero,
.page-hero,
.section,
.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 72px 0 56px;
}

.page-hero {
  min-height: 520px;
}

.compact-hero {
  min-height: 360px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
}

.compact-hero > div:first-child {
  max-width: 840px;
}

.eyebrow,
.badge,
.muted-label {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy,
.section-copy,
.section-heading p,
.trust-panel p,
.contact-section p,
.site-footer p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.trust-row div,
.product-shot,
.terminal-panel,
.server-stack,
.service-card,
.feature-grid article,
.pricing-card,
.trust-panel,
.faq-list details,
.contact-form,
.comparison-grid article,
.notice-panel,
.status-summary,
.status-list article,
.client-gate article,
.process-grid article,
.code-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.trust-row div {
  padding: 16px;
}

.trust-row dt {
  font-weight: 800;
}

.trust-row dd {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.product-shot {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window-top strong {
  margin-left: auto;
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.deploy-card,
.timeline,
.metric-grid {
  margin: 18px;
}

.deploy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.muted-label {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.active {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
}

.status-pill.maintenance {
  background: color-mix(in srgb, var(--warning) 16%, transparent);
  color: var(--warning);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.timeline-item span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
}

.timeline-item.done span {
  border-color: var(--success);
  background: var(--success);
}

.timeline-item p {
  margin: 0;
}

.terminal-panel,
.code-card {
  padding: 22px;
  background: #020617;
  color: #dbeafe;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
}

.terminal-panel p,
.code-card p {
  margin: 0;
}

.terminal-panel span {
  color: #38bdf8;
}

.server-stack {
  display: grid;
  gap: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.server-stack div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.server-stack span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-weight: 800;
}

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

.metric-grid div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.metric-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin-top: 6px;
}

.section {
  padding: 88px 0;
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1200px) / 2));
  background: var(--surface-2);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link,
.card-link {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
}

.card-link {
  margin-top: 22px;
}

.service-grid,
.pricing-grid,
.feature-grid,
.comparison-grid,
.process-grid,
.client-gate {
  display: grid;
  gap: 20px;
}

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

.service-grid.three,
.pricing-grid,
.feature-grid,
.process-grid,
.client-gate {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  display: none;
}

.pricing-grid.active {
  display: grid;
}

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

.service-card,
.pricing-card,
.feature-grid article,
.comparison-grid article,
.process-grid article,
.client-gate article {
  padding: 26px;
}

.highlighted,
.preferred {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  box-shadow: var(--shadow);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--primary-soft), transparent),
    var(--surface-2);
  border: 1px solid var(--border);
}

body[data-page="hub"] {
  background:
    radial-gradient(circle at 78% 8%, rgba(56, 189, 248, 0.18), transparent 24rem),
    radial-gradient(circle at 16% 38%, rgba(245, 158, 11, 0.07), transparent 22rem),
    linear-gradient(180deg, #05070a 0%, #080c12 46%, #edf2f7 46.1%, #f8fafc 100%);
  color: #f8fafc;
}

.hub-header {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(5, 7, 10, 0.74);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
}

.hub-header .main-nav a,
.hub-header .ghost-button {
  color: rgba(248, 250, 252, 0.78);
}

.hub-header .brand-logo {
  width: min(248px, 32vw);
  height: 44px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.12));
}

.hub-header .ghost-button,
.hub-header .icon-button,
.hub-header .menu-button {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100vh - 126px));
  overflow: hidden;
  width: min(1440px, calc(100% - 32px));
  margin: 18px auto 0;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: #05070a;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.46);
  grid-template-columns: minmax(0, 1fr);
}

.showcase-hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.76) 32%, rgba(5, 7, 10, 0.2) 70%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.38), rgba(5, 7, 10, 0.82));
  content: "";
}

.showcase-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.showcase-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.showcase-hero-shade {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 32%;
  background: linear-gradient(180deg, transparent, #05070a);
}

.showcase-hero-content {
  position: relative;
  z-index: 4;
  width: min(840px, 100%);
  min-width: 0;
  max-width: 840px;
  padding: min(9vh, 82px) 6vw 44px;
}

.showcase-hero-content .eyebrow,
.showcase-intro .eyebrow,
.showcase-card .eyebrow,
.stack-section .eyebrow,
.domain-showcase .eyebrow {
  color: #7dd3fc;
}

.showcase-hero-content h1 {
  max-width: 980px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.9;
  text-wrap: balance;
}

.showcase-hero-content > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
}

.showcase-hero .primary-button {
  box-shadow: 0 0 34px rgba(56, 189, 248, 0.24);
}

.showcase-hero .ghost-button {
  border-color: rgba(226, 232, 240, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.showcase-hero-console {
  position: absolute;
  right: clamp(18px, 5vw, 74px);
  bottom: clamp(18px, 5vw, 62px);
  z-index: 5;
  width: min(430px, calc(100% - 36px));
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.74)),
    rgba(2, 6, 23, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.console-top span {
  color: rgba(203, 213, 225, 0.74);
}

.console-top strong {
  color: #38bdf8;
}

.console-grid {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0;
  padding: 4px 16px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.console-grid span,
.console-grid strong {
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.console-grid span,
.showcase-card-index,
.domain-row span,
.stack-steps span {
  color: rgba(125, 211, 252, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.console-grid strong {
  color: #f8fafc;
  font-weight: 700;
}

.showcase-marquee {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  border-block: 1px solid rgba(148, 163, 184, 0.18);
  background: #05070a;
  color: #f8fafc;
}

.showcase-marquee div {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 24px 0;
  animation: showcase-marquee 32s linear infinite;
}

.showcase-marquee span {
  font-size: clamp(28px, 5vw, 76px);
  font-weight: 900;
  line-height: 0.9;
  white-space: nowrap;
}

.showcase-marquee span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 250, 252, 0.72);
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  border-inline: 1px solid rgba(148, 163, 184, 0.16);
  color: #f8fafc;
}

.showcase-metrics article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.92)),
    #05070a;
}

.showcase-metrics article:last-child {
  border-right: 0;
}

.showcase-metrics span {
  display: block;
  margin-bottom: 36px;
  color: #7dd3fc;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
}

.showcase-metrics strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
}

.showcase-metrics p {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.6;
}

@keyframes showcase-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.showcase-intro {
  color: #f8fafc;
}

.showcase-intro .section-heading {
  padding: 92px 0 54px;
}

.showcase-intro h2 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.96;
}

.showcase-intro .section-heading p {
  max-width: 520px;
  color: rgba(226, 232, 240, 0.72);
}

.showcase-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 110px;
}

.showcase-card {
  position: relative;
  display: flex;
  min-height: 430px;
  grid-column: span 3;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.92)),
    #0f172a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  isolation: isolate;
}

.showcase-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.88)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.16) 68%),
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.showcase-card > * {
  position: relative;
  z-index: 2;
}

.showcase-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.02);
  transition:
    opacity 240ms ease,
    transform 480ms cubic-bezier(0.19, 1, 0.22, 1);
}

.showcase-card.feature {
  grid-column: span 4;
  min-height: 520px;
  background:
    radial-gradient(circle at 78% 22%, rgba(56, 189, 248, 0.24), transparent 18rem),
    linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.9));
}

.showcase-card.tall {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-card h3 {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.92;
}

.showcase-card:not(.feature) h3 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.showcase-card p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(226, 232, 240, 0.74);
  font-size: 17px;
  line-height: 1.68;
}

.showcase-card-index {
  font-family: "JetBrains Mono", monospace;
}

.showcase-card .card-link {
  color: #7dd3fc;
}

.showcase-card:hover {
  border-color: rgba(125, 211, 252, 0.38);
  transform: translateY(-2px);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.showcase-card:hover .showcase-card-media {
  opacity: 0.72;
  transform: scale(1.055);
}

.code-card-lite {
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.92));
}

.code-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.code-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.86), rgba(125, 211, 252, 0.06));
}

.code-lines span:nth-child(2) {
  width: 72%;
}

.code-lines span:nth-child(3) {
  width: 52%;
}

.code-lines span:nth-child(4) {
  width: 84%;
}

.code-lines span:nth-child(5) {
  width: 46%;
}

.stack-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  width: 100%;
  padding: 116px max(16px, calc((100% - 1200px) / 2));
  background: #f8fafc;
  color: #0f172a;
}

.stack-sticky {
  position: sticky;
  top: 116px;
  align-self: start;
}

.stack-sticky h2 {
  max-width: 560px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.98;
}

.stack-sticky p:not(.eyebrow) {
  max-width: 520px;
  color: #475569;
  font-size: 18px;
  line-height: 1.72;
}

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

.stack-steps article {
  min-height: 280px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.86)),
    #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}

.stack-steps h3 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
}

.stack-steps p {
  max-width: 520px;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}

.domain-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0;
  color: #0f172a;
}

.domain-showcase h2 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.98;
}

body[data-page="hub"] .site-footer {
  color: #0f172a;
}

body[data-page="hub"] .site-footer .brand-logo {
  background: transparent;
  filter: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.showcase-hero[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-marquee div {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.domain-map {
  display: grid;
  gap: 12px;
}

.domain-row {
  display: grid;
  grid-template-columns: 130px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.domain-row.primary {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  background: color-mix(in srgb, var(--primary-soft) 58%, var(--surface));
}

.domain-row.muted {
  background: var(--surface-2);
}

.domain-row strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
}

.domain-row p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-hero {
  min-height: 520px;
}

.project-detail-hero {
  align-self: stretch;
  display: flex;
  width: min(1200px, calc(100% - 32px));
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  margin: 56px auto 0;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 74%, var(--surface)), var(--surface)),
    var(--surface);
  box-shadow: var(--shadow);
}

.project-detail-hero h1,
.project-detail-hero h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
}

.project-detail-hero p {
  max-width: 560px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.project-index-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.project-index-panel .hub-project-card {
  min-height: 240px;
}

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

.detail-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.detail-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.detail-grid p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 48px;
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 72px 0 48px;
}

.product-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.98;
}

.product-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.72;
}

.product-console,
.worksheet-preview,
.flow-board,
.car-pipeline,
.game-stack {
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--border));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 86%, transparent)),
    var(--surface);
  box-shadow: var(--shadow);
}

.product-console,
.worksheet-preview {
  padding: 26px;
}

.product-console span,
.worksheet-preview span,
.product-grid article span,
.offer-split article .eyebrow {
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-console strong,
.worksheet-preview strong {
  display: block;
  margin: 18px 0 12px;
  font-size: 30px;
  line-height: 1.08;
}

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

.mini-flow span {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-secondary);
  text-align: center;
  text-transform: none;
}

.flow-board,
.car-pipeline,
.game-stack {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.flow-board div,
.car-pipeline div,
.game-stack div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.flow-board span,
.car-pipeline span,
.game-stack span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-board strong,
.car-pipeline strong,
.game-stack strong {
  text-align: right;
}

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

.product-grid article,
.offer-split article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.product-grid h3,
.offer-split h2 {
  margin: 14px 0 12px;
}

.product-grid p,
.offer-split p:not(.eyebrow) {
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.demo-lab {
  padding-top: 42px;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.demo-form,
.demo-preview,
.demo-actions {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

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

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.demo-form label:has(textarea) {
  grid-column: 1 / -1;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-primary);
  font: inherit;
}

.demo-form input,
.demo-form select {
  min-height: 46px;
  padding: 0 12px;
}

.demo-form textarea {
  padding: 12px;
  resize: vertical;
}

.demo-preview span:first-child {
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-preview h3 {
  margin: 16px 0 14px;
  font-size: 30px;
}

.demo-preview p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.demo-result {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary-soft) 60%, var(--surface));
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.55;
}

.demo-actions {
  display: grid;
  gap: 10px;
}

.demo-actions button {
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-primary);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
  transition: 160ms ease;
}

.demo-actions button:hover,
.demo-actions button.active {
  border-color: color-mix(in srgb, var(--primary) 58%, var(--border));
  background: color-mix(in srgb, var(--primary-soft) 68%, var(--surface));
  color: var(--primary);
}

.demo-submit {
  width: 100%;
  margin-top: 14px;
}

.node-icon::before,
.vps-icon::before {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--primary);
  font-weight: 900;
}

.node-icon::before {
  content: "{}";
}

.vps-icon::before {
  content: "VM";
}

.service-card p:not(.badge),
.feature-grid p,
.pricing-card p:not(.plan-name):not(.price),
.comparison-grid p,
.process-grid p,
.client-gate p,
.faq-list p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.danger-grid article {
  border-color: color-mix(in srgb, var(--error) 18%, var(--border));
}

.tabs {
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.wide-tabs {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 680px;
}

.tab {
  min-height: 38px;
  padding: 8px 14px;
  background: transparent;
  color: var(--text-secondary);
}

.tab.active {
  background: var(--primary);
  color: #ffffff;
}

.plan-name {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
}

.plan-desc {
  min-height: 54px;
}

.price {
  margin: 22px 0;
  font-size: 32px;
  font-weight: 800;
}

.price span {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
}

.pricing-card .feature-list {
  min-height: 150px;
  margin-bottom: 24px;
}

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

.pricing-card.planned {
  border-style: dashed;
}

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

.package-columns article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

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

.package-list li {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.package-list strong {
  color: var(--text-main);
}

.package-list span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 36px;
}

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

.check-grid a,
.check-grid span {
  padding: 14px 14px 14px 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-secondary);
  font-weight: 800;
}

.check-grid a::before,
.check-grid span::before {
  margin-left: -24px;
  padding-right: 10px;
  color: var(--success);
  content: "✓";
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.two-column,
.contact-section,
.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.docs-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.docs-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 800;
}

.docs-sidebar a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.docs-content {
  display: grid;
  gap: 28px;
}

.docs-content article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.notice-panel {
  max-width: 900px;
  padding: 26px;
}

.notice-panel p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

.table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.comparison-stack {
  display: grid;
  gap: 30px;
}

.comparison-stack > div,
.docs-content,
.contact-section > *,
.two-column > *,
.trust-panel > * {
  min-width: 0;
}

.comparison-stack h3 {
  margin-bottom: 14px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  color: var(--text-main);
  font-size: 14px;
}

td {
  color: var(--text-secondary);
}

.status-summary {
  padding: 24px;
  box-shadow: var(--shadow);
}

.status-summary p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.status-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--success) 14%, transparent);
}

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

.status-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.status-list h3,
.status-list p {
  margin: 0;
}

.status-list p {
  margin-top: 6px;
  color: var(--text-secondary);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 800;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-main);
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--success);
  font-weight: 800;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-methods a {
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  padding: 38px 0 48px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 12px 0 0;
  max-width: 520px;
  font-size: 14px;
}

.footer-column {
  display: grid;
  gap: 12px;
  min-width: 150px;
}

.footer-column strong {
  color: var(--text-main);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  flex-wrap: wrap;
  justify-content: start;
  align-items: start;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav.open {
    display: grid;
  }

  .header-actions {
    order: 3;
  }

  .hero,
  .page-hero,
  .contact-section,
  .two-column,
  .trust-panel,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .docs-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .service-grid.three,
  .pricing-grid,
  .feature-grid,
  .comparison-grid,
  .process-grid,
  .client-gate,
  .package-grid,
  .package-columns {
    grid-template-columns: 1fr;
  }

  .wide-tabs {
    justify-content: flex-start;
  }

  .pricing-card .feature-list,
  .plan-desc {
    min-height: 0;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .hub-hero,
  .hub-band-inner,
  .product-hero,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .hub-hero {
    min-height: auto;
    padding-top: 58px;
  }

  .showcase-hero {
    min-height: 760px;
    padding-top: 0;
  }

  .showcase-hero-content {
    padding-top: 76px;
  }

  .showcase-hero-console {
    right: 24px;
    bottom: 24px;
  }

  .showcase-board,
  .stack-section,
  .domain-showcase,
  .showcase-metrics {
    grid-template-columns: 1fr;
  }

  .showcase-metrics article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }

  .showcase-card,
  .showcase-card.feature,
  .showcase-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .stack-sticky {
    position: static;
  }

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

  .detail-grid,
  .product-grid,
  .offer-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-project-card.featured {
    grid-column: span 2;
  }

  .domain-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .page-hero,
  .section,
  .site-footer {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    gap: 10px;
  }

  .brand-logo {
    width: min(210px, 58vw);
    height: 40px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 76px;
    width: 100%;
  }

  .header-actions .ghost-button,
  .header-actions .primary-button {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hub-header .primary-button.compact {
    display: none;
  }

  .main-nav.open,
  .docs-sidebar,
  .form-grid,
  .trust-row,
  .metric-grid,
  .check-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    gap: 34px;
    padding-top: 48px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .site-footer,
  .status-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    display: flex;
  }

  .section,
  .muted-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .trust-panel,
  .contact-form,
  .service-card,
  .pricing-card,
  .feature-grid article {
    padding: 22px;
  }

  .hub-hero,
  .hub-strip,
  .hub-section,
  .showcase-board,
  .domain-showcase,
  .showcase-metrics {
    width: min(100% - 24px, 1200px);
  }

  .showcase-hero {
    width: min(100% - 24px, 1200px);
    min-height: 720px;
    margin-top: 12px;
  }

  .showcase-hero-content {
    width: 100%;
    max-width: 100%;
    padding: 56px 18px 260px;
  }

  .showcase-hero-content h1,
  .hub-hero-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-wrap: auto;
    font-size: clamp(25px, 7.6vw, 30px);
    line-height: 1.02;
  }

  .showcase-hero-content > p:not(.eyebrow),
  .hub-hero-copy > p:not(.eyebrow) {
    width: min(100%, 300px);
    max-width: 300px;
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: 15px;
    line-height: 1.65;
  }

  .showcase-hero-console {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .console-grid {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .showcase-marquee div {
    padding: 18px 0;
  }

  .showcase-intro .section-heading {
    padding: 64px 0 36px;
  }

  .showcase-intro h2,
  .stack-sticky h2,
  .domain-showcase h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .showcase-board {
    padding-bottom: 66px;
  }

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

  .showcase-card-media {
    opacity: 0.46;
  }

  .showcase-card h3,
  .showcase-card:not(.feature) h3 {
    font-size: 34px;
    line-height: 1;
  }

  .stack-section,
  .domain-showcase {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .hub-network,
  .hub-strip,
  .hub-project-grid,
  .detail-grid,
  .product-grid,
  .offer-split,
  .demo-form,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .hub-node,
  .hub-node.core,
  .hub-node.accent-blue,
  .hub-node.accent-green,
  .hub-node.accent-amber,
  .hub-node.accent-rose,
  .hub-project-card.featured {
    grid-column: auto;
  }

  .hub-project-card {
    min-height: 0;
  }

  .project-hero,
  .project-detail-hero,
  .product-hero,
  .detail-grid article,
  .product-grid article,
  .offer-split article {
    min-height: 0;
  }

  .product-hero h1 {
    font-size: 42px;
  }

  .mini-flow {
    grid-template-columns: 1fr;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
  }

.hub-band {
  padding-top: 64px;
  padding-bottom: 64px;
}
}

.admin-token-panel label,
.admin-action-panel label,
.admin-node-control label {
  display: grid;
  gap: 8px;
}

.admin-token-panel input,
.admin-action-panel input,
.admin-action-panel select,
.admin-node-control input,
.admin-node-control select {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  min-height: 46px;
  padding: 0 14px;
}

.admin-dashboard {
  padding-top: 24px;
}

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

.admin-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  min-height: 260px;
  min-width: 0;
  padding: 18px;
}

.admin-panel-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-panel-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-panel-head strong {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  padding: 5px 9px;
}

.admin-panel-head strong[data-state="ok"] {
  border-color: rgba(34, 197, 94, 0.35);
  color: #15803d;
}

.admin-panel-head strong[data-state="locked"] {
  border-color: rgba(245, 158, 11, 0.4);
  color: #b45309;
}

.admin-panel pre {
  background: var(--code-bg);
  border-radius: 8px;
  color: var(--code-text);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  max-height: 360px;
  max-width: 100%;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 14px;
  white-space: pre-wrap;
}

.admin-node-panel {
  grid-column: 1 / -1;
}

.admin-node-control {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) minmax(110px, 160px);
  margin-bottom: 14px;
}

.admin-node-control input,
.admin-node-control select {
  min-width: 0;
  width: 100%;
}

.admin-node-control label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-node-control .demo-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.admin-action-panel {
  display: grid;
  gap: 12px;
}

.admin-action-panel input,
.admin-action-panel select {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.admin-action-panel label span,
.admin-advanced summary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-check {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-check input {
  min-height: 18px;
  width: 18px;
}

.admin-advanced {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.admin-advanced summary {
  cursor: pointer;
}

.admin-advanced label {
  margin-top: 12px;
}

.admin-action-buttons {
  flex-wrap: wrap;
}

.compact-list {
  margin-bottom: 0;
}

.legal-status-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

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

.legal-status-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.legal-status-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.legal-status-grid strong {
  color: var(--text);
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.legal-status-grid p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 760px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    min-height: 0;
  }

  .admin-node-control {
    grid-template-columns: 1fr;
  }

  .legal-status-grid {
    grid-template-columns: 1fr;
  }
}

/* Final AAA hub polish */
.product-theater .theater-card:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 430px;
}

.product-theater .theater-card:nth-child(4) img {
  max-height: 520px;
}

.launch-console h2,
.matrix-heading h2 {
  font-size: clamp(38px, 4.8vw, 74px);
  line-height: 0.98;
}

.launch-grid article {
  min-height: 190px;
}

@media (max-width: 980px) {
  .product-theater .theater-card:nth-child(4) {
    grid-column: auto;
  }
}

.studio-proof,
.launch-console,
.project-matrix {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

.studio-proof {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 1fr;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.16);
}

.studio-proof article {
  min-height: 250px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent),
    #07101d;
  color: #f8fafc;
}

.studio-proof span,
.launch-grid span,
.matrix-grid span {
  color: #7dd3fc;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-proof strong {
  display: block;
  margin: 34px 0 18px;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.85;
}

.studio-proof p {
  max-width: 430px;
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.72;
}

.launch-console {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: clamp(82px, 10vw, 140px) 0 18px;
  color: #08111f;
}

.launch-console > div:first-child {
  padding: clamp(30px, 5vw, 64px);
  border-radius: 8px;
  background: #f8fafc;
}

.launch-console h2,
.matrix-heading h2 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5.6vw, 86px);
  line-height: 0.94;
  text-wrap: balance;
}

.launch-console p:not(.eyebrow),
.matrix-heading p:not(.eyebrow) {
  max-width: 700px;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

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

.launch-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
}

.launch-grid strong,
.matrix-grid strong {
  display: block;
  margin: 18px 0 10px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1;
}

.launch-grid p,
.matrix-grid p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.project-matrix {
  padding: clamp(70px, 9vw, 128px) 0;
  color: #08111f;
}

.matrix-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

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

.matrix-grid a {
  position: relative;
  min-height: 240px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(14, 165, 255, 0.08), transparent 54%),
    #ffffff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.matrix-grid a::after {
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(14, 165, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.matrix-grid a:hover {
  border-color: rgba(14, 165, 255, 0.36);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  transform: translateY(-4px);
}

@media (max-width: 980px) {
  .studio-proof,
  .launch-console,
  .matrix-heading {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .studio-proof,
  .launch-console,
  .project-matrix {
    width: min(100% - 20px, 1440px);
    max-width: calc(100vw - 20px);
  }

  .studio-proof,
  .launch-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .studio-proof article,
  .launch-grid article,
  .matrix-grid a {
    min-height: 180px;
  }

  .launch-console h2,
  .matrix-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
  }
}
/* Sedona Projects AAA hub redesign */
body[data-page="hub"] {
  background:
    linear-gradient(180deg, #05070a 0%, #080c12 52%, #eef3f8 52.1%, #f8fafc 100%);
}

.studio-hero,
.studio-strip,
.studio-manifesto,
.product-theater,
.systems-section,
.studio-domain {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

.studio-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 5vw, 86px);
  min-height: min(820px, calc(100vh - 120px));
  margin-top: 18px;
  padding: clamp(42px, 7vw, 96px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: #05070a;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
}

.studio-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.8) 42%, rgba(5, 7, 10, 0.35)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.12), #05070a 96%);
  content: "";
}

.studio-hero-bg,
.studio-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.studio-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  opacity: 0.88;
  transform: scale(1.04);
}

.studio-hero-grid {
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 68%, transparent);
}

.studio-hero-copy {
  align-self: center;
  max-width: 820px;
}

.studio-hero-copy .eyebrow {
  color: #67e8f9;
}

.studio-hero-copy h1 {
  max-width: 980px;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(56px, 8vw, 118px);
  font-weight: 900;
  line-height: 0.86;
  text-wrap: balance;
}

.studio-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(226, 232, 240, 0.84);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.72;
}

.studio-hero .primary-button {
  background: #f8fafc;
  color: #05070a;
  box-shadow: 0 18px 50px rgba(125, 211, 252, 0.18);
}

.studio-hero .ghost-button {
  border-color: rgba(226, 232, 240, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.studio-command {
  align-self: center;
  justify-self: end;
  width: min(460px, 100%);
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.76)),
    rgba(2, 6, 23, 0.86);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(22px);
}

.command-head,
.command-list div,
.studio-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.command-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(226, 232, 240, 0.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.command-head strong {
  color: #67e8f9;
  text-transform: uppercase;
}

.command-orbit {
  position: relative;
  height: 286px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}

.command-orbit::before,
.command-orbit::after {
  position: absolute;
  inset: 42px;
  border: 1px dashed rgba(125, 211, 252, 0.28);
  border-radius: 50%;
  content: "";
}

.command-orbit::after {
  inset: 82px;
  border-style: solid;
  opacity: 0.54;
}

.orbit-node {
  position: absolute;
  display: grid;
  min-width: 58px;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.86);
  color: #dff6ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.16);
}

.orbit-node.core {
  top: 50%;
  left: 50%;
  min-width: 76px;
  min-height: 52px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #0ea5ff, #123da8);
}

.node-a { top: 28px; left: 50%; transform: translateX(-50%); }
.node-b { top: 110px; right: 30px; }
.node-c { bottom: 34px; left: 52px; }
.node-d { right: 64px; bottom: 46px; }

.command-list {
  display: grid;
  gap: 10px;
}

.command-list div {
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.command-list span,
.studio-strip span,
.theater-card > div > span,
.systems-rail span {
  color: #7dd3fc;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-list strong {
  color: #f8fafc;
  font-size: 13px;
}

.studio-statusbar {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.58);
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(18px);
}

.studio-statusbar span {
  position: relative;
  padding-left: 14px;
}

.studio-statusbar span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  content: "";
  transform: translateY(-50%);
}

.studio-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  border-left: 1px solid rgba(148, 163, 184, 0.14);
  background: #05070a;
}

.studio-strip a {
  display: grid;
  min-height: 190px;
  align-content: end;
  gap: 10px;
  padding: 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  color: #f8fafc;
  transition: background 180ms ease, transform 180ms ease;
}

.studio-strip a:hover {
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

.studio-strip strong {
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
}

.studio-strip p {
  margin: 0;
  color: rgba(226, 232, 240, 0.68);
}

.studio-manifesto {
  padding: clamp(78px, 9vw, 132px) 0;
  color: #f8fafc;
}

.studio-manifesto h2 {
  max-width: 1080px;
  margin: 0 0 24px;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.92;
  text-wrap: balance;
}

.studio-manifesto p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 20px;
  line-height: 1.8;
}

.product-theater {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.08);
}

.theater-card {
  position: relative;
  display: grid;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
}

.theater-card.hero-card {
  grid-row: span 2;
  min-height: 760px;
}

.theater-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.theater-card > div:last-child {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.theater-card h3 {
  margin: 10px 0 12px;
  color: #08111f;
  font-size: clamp(28px, 3vw, 52px);
  line-height: 1;
  text-wrap: balance;
}

.theater-card p {
  max-width: 620px;
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.dark-card {
  align-content: space-between;
  padding: 24px;
  background: #07101d;
}

.dark-card > div:last-child {
  position: static;
  margin-top: 24px;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
}

.dark-card h3,
.dark-card p {
  color: #f8fafc;
}

.dark-card p {
  color: rgba(226, 232, 240, 0.72);
}

.mini-terminal {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent),
    rgba(2, 6, 23, 0.8);
  color: #dff6ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.systems-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(82px, 10vw, 150px) 0;
  color: #08111f;
}

.systems-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.systems-copy h2,
.studio-domain h2 {
  margin: 0 0 20px;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.95;
  text-wrap: balance;
}

.systems-copy p:not(.eyebrow) {
  color: #475569;
  font-size: 18px;
  line-height: 1.76;
}

.systems-rail {
  display: grid;
  gap: 14px;
}

.systems-rail article {
  display: grid;
  grid-template-columns: 88px minmax(0, 0.54fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
}

.systems-rail h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1;
}

.systems-rail p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.studio-domain {
  margin-bottom: 70px;
  color: #08111f;
}

@media (max-width: 980px) {
  .studio-hero,
  .product-theater,
  .systems-section {
    grid-template-columns: 1fr;
  }

  .studio-command {
    justify-self: stretch;
  }

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

  .studio-statusbar {
    position: static;
    display: grid;
    margin-top: 28px;
  }

  .theater-card.hero-card {
    min-height: 560px;
  }

  .systems-copy {
    position: static;
  }

  .systems-rail article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] {
    overflow-x: hidden;
  }

  .studio-hero,
  .product-theater {
    width: min(100% - 20px, 1440px);
    max-width: calc(100vw - 20px);
  }

  .studio-hero {
    min-height: auto;
    padding: 30px 22px;
    overflow: hidden;
  }

  .studio-hero-copy,
  .studio-command,
  .command-list div,
  .theater-card,
  .systems-rail article {
    min-width: 0;
  }

  .studio-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(36px, 10.6vw, 46px);
    line-height: 0.96;
    text-wrap: auto;
    overflow-wrap: break-word;
  }

  .studio-hero-copy > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 16px;
  }

  .studio-command {
    width: 100%;
    max-width: 100%;
    padding: 14px;
  }

  .command-orbit {
    height: 220px;
  }

  .orbit-node {
    min-width: 52px;
    font-size: 11px;
  }

  .node-b {
    right: 8px;
  }

  .node-c {
    left: 22px;
  }

  .node-d {
    right: 18px;
  }

  .command-list div {
    align-items: start;
  }

  .command-list strong {
    max-width: 54%;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .studio-strip,
  .studio-statusbar {
    grid-template-columns: 1fr;
  }

  .studio-strip a {
    min-height: 132px;
  }

  .theater-card,
  .theater-card.hero-card {
    min-height: 520px;
  }

  .theater-card > div:last-child {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 16px;
  }
}

.studio-hero[data-reveal] {
  opacity: 1;
  transform: none;
}

.studio-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.9), rgba(5, 7, 10, 0.68) 42%, rgba(5, 7, 10, 0.28)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.04), #05070a 97%);
}

.studio-hero-copy h1 {
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(52px, 6.8vw, 96px);
  letter-spacing: 0;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.42);
}

.studio-hero-copy > p:not(.eyebrow) {
  color: rgba(248, 250, 252, 0.9);
}

.studio-command {
  background:
    linear-gradient(180deg, rgba(13, 24, 43, 0.92), rgba(2, 6, 23, 0.84)),
    rgba(2, 6, 23, 0.9);
}

.studio-command,
.studio-statusbar {
  color: #f8fafc;
}

@media (max-width: 640px) {
  body[data-page="hub"] main,
  body[data-page="hub"] .studio-hero,
  body[data-page="hub"] .studio-hero-copy,
  body[data-page="hub"] .studio-command {
    max-width: calc(100vw - 20px) !important;
  }

  body[data-page="hub"] .studio-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .studio-hero-copy h1 {
    max-width: calc(100vw - 64px) !important;
    font-size: clamp(32px, 9.2vw, 38px) !important;
    line-height: 1.02 !important;
    text-wrap: auto !important;
    overflow-wrap: anywhere !important;
  }

  .studio-hero-copy > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 16px;
  }

  .studio-command {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .command-list strong {
    max-width: 50%;
    overflow-wrap: anywhere;
  }

  .command-orbit {
    overflow: hidden !important;
  }

  .node-b,
  .node-d {
    display: none;
  }

  .command-list div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .command-list strong {
    max-width: 100%;
    text-align: left;
  }
}

/* AAA ecosystem expansion */
.studio-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.66) 42%, rgba(5, 7, 10, 0.22)),
    linear-gradient(180deg, rgba(5, 7, 10, 0), #05070a 98%),
    url("assets/showcase/sedona-command-center-v2.png");
  background-size: cover;
  background-position: center;
}

.product-theater {
  position: relative;
}

.product-theater::before {
  content: "";
  position: absolute;
  inset: -80px 0 auto;
  height: 260px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 180, 255, 0.16), rgba(5, 7, 10, 0));
}

.theater-card {
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.22);
}

.theater-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 42px 110px rgba(2, 6, 23, 0.28);
}

.ecosystem-wall {
  width: min(100% - 36px, 1440px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  color: #f8fafc;
}

.ecosystem-visual {
  position: relative;
  min-height: clamp(520px, 48vw, 740px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: #05070a;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.46);
}

.ecosystem-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.02), rgba(5, 7, 10, 0.42) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(5, 7, 10, 0.12));
  pointer-events: none;
}

.ecosystem-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.04);
}

.ecosystem-card {
  position: absolute;
  z-index: 2;
  width: min(280px, 48%);
  padding: 18px;
  border: 1px solid rgba(186, 230, 253, 0.28);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.ecosystem-card span,
.capability-grid span,
.finale-board span {
  display: block;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ecosystem-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.05;
}

.ecosystem-card-a {
  left: 26px;
  bottom: 30px;
}

.ecosystem-card-b {
  top: 34px;
  right: 30px;
}

.ecosystem-copy h2,
.studio-finale h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(42px, 5.5vw, 86px);
  line-height: 0.94;
  text-wrap: balance;
}

.ecosystem-copy > p:not(.eyebrow),
.studio-finale p {
  color: rgba(226, 232, 240, 0.78);
  font-size: 18px;
  line-height: 1.74;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.capability-grid article,
.finale-board article {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.54);
}

.capability-grid strong,
.finale-board strong {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
}

.capability-grid p,
.finale-board p {
  margin: 12px 0 0;
  color: rgba(226, 232, 240, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.project-matrix {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.92)),
    #f8fafc;
}

.matrix-grid a {
  position: relative;
  overflow: hidden;
}

.matrix-grid a::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 66%);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.matrix-grid a:hover::after {
  opacity: 1;
  transform: scale(1.22);
}

.studio-finale {
  position: relative;
  isolation: isolate;
  width: min(100% - 36px, 1440px);
  margin: clamp(54px, 7vw, 104px) auto 84px;
  padding: clamp(34px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.74) 52%, rgba(2, 6, 23, 0.42)),
    url("assets/showcase/sedona-ecosystem-map-v2.png");
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  box-shadow: 0 48px 130px rgba(2, 6, 23, 0.36);
}

.studio-finale::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.13), rgba(2, 6, 23, 0.14)),
    radial-gradient(circle at 78% 22%, rgba(251, 191, 36, 0.16), transparent 34%);
}

.finale-copy {
  max-width: 760px;
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.finale-actions .btn {
  min-height: 48px;
}

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

.finale-board article {
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(18px);
}

@media (max-width: 980px) {
  .ecosystem-wall,
  .studio-finale {
    grid-template-columns: 1fr;
  }

  .ecosystem-visual {
    min-height: 500px;
  }

  .studio-finale {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .ecosystem-wall,
  .studio-finale {
    width: min(100% - 20px, 1440px);
  }

  .ecosystem-visual {
    min-height: 430px;
  }

  .ecosystem-card {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
  }

  .ecosystem-card-a {
    bottom: 16px;
  }

  .ecosystem-card-b {
    top: 16px;
  }

  .capability-grid,
  .finale-board {
    grid-template-columns: 1fr;
  }

  .ecosystem-copy h2,
  .studio-finale h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
  }

  .studio-finale {
    padding: 24px;
  }
}

/* Landing master rebuild */
.legacy-landing,
template.legacy-landing {
  display: none;
}

.landing-master {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #05070a 0%, #070d15 52%, #eef3f8 52.1%, #f8fafc 100%);
}

.master-hero,
.master-rails,
.master-proofline,
.master-intro,
.master-products,
.master-demos,
.master-process,
.master-system,
.master-access {
  width: min(100% - 36px, 1480px);
  margin-inline: auto;
}

.master-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: clamp(24px, 4vw, 72px);
  min-height: min(820px, calc(100vh - 96px));
  margin-top: 18px;
  padding: clamp(34px, 6vw, 92px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: #05070a;
  color: #f8fafc;
  box-shadow: 0 44px 150px rgba(0, 0, 0, 0.52);
}

.master-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.74) 44%, rgba(5, 7, 10, 0.26)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.04), #05070a 96%),
    url("assets/showcase/sedona-command-center-v2.png");
  background-size: cover;
  background-position: center;
}

.master-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.master-hero-copy {
  align-self: end;
  max-width: 980px;
}

.master-hero h1 {
  margin: 0 0 24px;
  max-width: 1040px;
  color: #ffffff;
  font-size: clamp(54px, 7.2vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.master-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(226, 232, 240, 0.86);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.62;
}

.master-console {
  align-self: end;
  padding: 18px;
  border: 1px solid rgba(186, 230, 253, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.66);
  color: #f8fafc;
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
}

.console-top,
.surface-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #7dd3fc;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.console-top strong,
.surface-topline strong {
  color: #22c55e;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.console-metrics article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.console-metrics span,
.master-rails span,
.product-stack span,
.demo-grid span,
.system-list span {
  display: block;
  color: #38bdf8;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-metrics strong {
  display: block;
  margin: 14px 0 6px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.9;
}

.console-metrics p {
  margin: 0;
  color: rgba(226, 232, 240, 0.62);
  font-size: 12px;
}

.console-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: rgba(226, 232, 240, 0.82);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.console-flow i {
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.95));
}

.master-rails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  background: #05070a;
}

.master-rails a {
  min-height: 210px;
  padding: 28px;
  display: grid;
  align-content: end;
  gap: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  color: #f8fafc;
}

.master-rails strong {
  font-size: clamp(26px, 3vw, 48px);
  line-height: 0.96;
}

.master-rails p {
  margin: 0;
  color: rgba(226, 232, 240, 0.68);
  line-height: 1.55;
}

.master-proofline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0 0 8px 8px;
  background: rgba(148, 163, 184, 0.18);
}

.master-proofline article {
  min-height: 178px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(2, 6, 23, 0)),
    #07101d;
  color: #f8fafc;
}

.master-proofline span,
.process-steps span {
  display: block;
  color: #38bdf8;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.master-proofline strong {
  display: block;
  margin: 22px 0 10px;
  font-size: clamp(30px, 3vw, 54px);
  line-height: 0.92;
}

.master-proofline p {
  margin: 0;
  color: rgba(226, 232, 240, 0.66);
  line-height: 1.58;
}

.master-intro {
  padding: clamp(76px, 8vw, 128px) 0;
  color: #f8fafc;
}

.master-intro h2,
.product-feature h2,
.demo-copy h2,
.system-copy h2,
.master-access h2 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.master-intro h2 {
  max-width: 1160px;
}

.master-intro p:not(.eyebrow),
.product-feature p,
.system-copy > p,
.master-access p {
  max-width: 820px;
  color: rgba(226, 232, 240, 0.72);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.78;
}

.master-products {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 38px 110px rgba(15, 23, 42, 0.1);
}

.product-feature {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 8px;
  background: #07101d;
  color: #f8fafc;
}

.product-feature img,
.system-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.88) 72%);
}

.product-feature > div {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
}

.product-stack,
.demo-grid,
.system-list {
  display: grid;
  gap: 14px;
}

.product-stack a,
.demo-grid a,
.system-list article,
.process-steps article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(14, 165, 233, 0.08), transparent 58%),
    #ffffff;
  color: #08111f;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06);
}

.product-stack a,
.demo-grid a,
.process-steps article {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-stack a:hover,
.demo-grid a:hover {
  border-color: rgba(14, 165, 233, 0.38);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.13);
  transform: translateY(-4px);
}

.product-stack strong,
.demo-grid strong,
.system-list strong {
  display: block;
  margin: 18px 0 10px;
  color: #08111f;
  font-size: clamp(25px, 2.5vw, 42px);
  line-height: 0.98;
}

.product-stack p,
.demo-grid p,
.system-list p {
  margin: 0;
  color: #475569;
  line-height: 1.62;
}

.master-demos {
  padding: clamp(76px, 9vw, 132px) 0 clamp(34px, 5vw, 72px);
  color: #08111f;
}

.demo-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

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

.demo-grid a {
  min-height: 260px;
}

.master-process {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(34px, 5vw, 78px) 0 clamp(84px, 9vw, 138px);
  color: #08111f;
}

.master-process h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(40px, 5vw, 82px);
  line-height: 0.95;
  text-wrap: balance;
}

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

.process-steps article {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.82)),
    #07101d;
  color: #f8fafc;
}

.process-steps strong {
  display: block;
  margin: 20px 0 10px;
  color: #ffffff;
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 0.98;
}

.process-steps p {
  margin: 0;
  color: rgba(226, 232, 240, 0.68);
  line-height: 1.62;
}

.master-system {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
  padding: clamp(72px, 8vw, 128px) 0;
  color: #f8fafc;
}

.system-visual {
  min-height: clamp(480px, 44vw, 720px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: #05070a;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.42);
}

.system-copy h2 {
  color: #ffffff;
}

.system-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.system-list article {
  background: rgba(15, 23, 42, 0.62);
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.system-list strong {
  color: #ffffff;
  font-size: clamp(22px, 2vw, 32px);
}

.system-list p {
  color: rgba(226, 232, 240, 0.68);
}

.master-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 88px;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(186, 230, 253, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.76)),
    url("assets/showcase/sedona-ecosystem-map-v2.png");
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  box-shadow: 0 44px 120px rgba(15, 23, 42, 0.24);
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.control-surface {
  display: grid;
  gap: 18px;
  min-height: 260px;
}

.surface-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 112px;
}

.surface-pipeline i {
  display: block;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.34), rgba(14, 165, 233, 0.04));
}

.surface-pipeline i:nth-child(1) { height: 46px; }
.surface-pipeline i:nth-child(2) { height: 86px; }
.surface-pipeline i:nth-child(3) { height: 62px; }
.surface-pipeline i:nth-child(4) { height: 106px; }

.surface-stack {
  display: grid;
  gap: 8px;
}

.surface-stack span {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .master-hero,
  .master-products,
  .master-process,
  .master-system,
  .master-access,
  .demo-copy {
    grid-template-columns: 1fr;
  }

  .master-console {
    align-self: auto;
  }

  .master-rails,
  .master-proofline,
  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-feature {
    min-height: 560px;
  }

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

@media (max-width: 640px) {
  .master-hero,
  .master-rails,
  .master-proofline,
  .master-intro,
  .master-products,
  .master-demos,
  .master-process,
  .master-system,
  .master-access {
    width: min(100% - 20px, 1480px);
  }

  .master-hero {
    min-height: auto;
    padding: 26px 22px;
  }

  .master-hero h1,
  .master-intro h2,
  .product-feature h2,
  .demo-copy h2,
  .system-copy h2,
  .master-access h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .console-metrics,
  .master-rails,
  .master-proofline,
  .demo-grid,
  .process-steps,
  .system-list {
    grid-template-columns: 1fr;
  }

  .console-flow {
    grid-template-columns: 1fr;
  }

  .console-flow i {
    display: none;
  }

  .master-rails a {
    min-height: 150px;
  }

  .master-products {
    padding: 10px;
  }

  .product-feature {
    min-height: 520px;
  }

  .product-feature > div {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .master-access {
    padding: 24px;
  }
}

/* M2 landing stabilization: theme + rhythm */
:root {
  --landing-bg-top: #f8fafc;
  --landing-bg-mid: #eef3f8;
  --landing-bg-bottom: #ffffff;
  --landing-panel: #ffffff;
  --landing-panel-2: #f1f5f9;
  --landing-ink: #08111f;
  --landing-muted: #475569;
  --landing-soft: #e2e8f0;
  --landing-dark-panel: #07101d;
  --landing-dark-ink: #f8fafc;
  --landing-dark-muted: rgba(226, 232, 240, 0.7);
}

.dark {
  --landing-bg-top: #05070a;
  --landing-bg-mid: #07101d;
  --landing-bg-bottom: #0b1120;
  --landing-panel: #0f172a;
  --landing-panel-2: #111827;
  --landing-ink: #f8fafc;
  --landing-muted: #cbd5e1;
  --landing-soft: #1e293b;
  --landing-dark-panel: #05070a;
  --landing-dark-ink: #f8fafc;
  --landing-dark-muted: rgba(226, 232, 240, 0.72);
}

body[data-page="hub"] {
  background:
    radial-gradient(circle at 78% 8%, color-mix(in srgb, var(--primary) 15%, transparent), transparent 24rem),
    linear-gradient(180deg, var(--landing-bg-top), var(--landing-bg-mid) 54%, var(--landing-bg-bottom));
  color: var(--landing-ink);
}

.hub-header {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-color: color-mix(in srgb, var(--border) 72%, transparent);
}

.hub-header .main-nav a,
.hub-header .ghost-button {
  color: var(--text-secondary);
}

.hub-header .ghost-button,
.hub-header .icon-button,
.hub-header .menu-button {
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  border-color: var(--border);
}

.dark .hub-header {
  background: rgba(5, 7, 10, 0.78);
}

.dark .hub-header .main-nav a,
.dark .hub-header .ghost-button {
  color: rgba(248, 250, 252, 0.78);
}

.icon-button {
  position: relative;
}

.icon-button[aria-pressed="true"] .sun-icon {
  border-color: #fbbf24;
  background: #fbbf24;
  box-shadow:
    0 0 0 4px rgba(251, 191, 36, 0.15),
    inset -6px -4px 0 0 #0f172a;
}

.landing-master {
  background:
    linear-gradient(180deg, var(--landing-bg-top) 0%, var(--landing-bg-mid) 48%, var(--landing-bg-bottom) 100%);
}

.master-hero {
  min-height: min(760px, calc(100vh - 110px));
  border-color: color-mix(in srgb, var(--landing-soft) 62%, transparent);
}

.master-hero h1 {
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 0.92;
}

.master-console,
.master-proofline article,
.master-rails,
.master-rails a,
.process-steps article,
.system-list article {
  background-color: var(--landing-dark-panel);
  color: var(--landing-dark-ink);
}

.master-rails p,
.master-proofline p,
.process-steps p,
.system-list p,
.master-console p {
  color: var(--landing-dark-muted);
}

.master-intro {
  color: var(--landing-ink);
}

.master-intro p:not(.eyebrow) {
  color: var(--landing-muted);
}

.master-products,
.product-stack a,
.demo-grid a,
.system-list article {
  border-color: var(--landing-soft);
}

.master-products,
.product-stack a,
.demo-grid a {
  background: var(--landing-panel);
  color: var(--landing-ink);
}

.product-stack strong,
.demo-grid strong,
.master-process h2 {
  color: var(--landing-ink);
}

.product-stack p,
.demo-grid p {
  color: var(--landing-muted);
}

.master-demos,
.master-process {
  color: var(--landing-ink);
}

.master-demos {
  padding-top: clamp(62px, 7vw, 104px);
}

.master-system {
  color: var(--landing-dark-ink);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--landing-dark-panel) 8%, transparent));
}

.master-access {
  margin-bottom: 64px;
}

@media (max-width: 1080px) {
  .master-hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .header-actions .ghost-button.compact {
    display: none;
  }

  .brand-logo {
    width: min(210px, 54vw);
  }

  .master-hero h1 {
    font-size: clamp(34px, 9.6vw, 44px);
  }

  .master-console {
    padding: 14px;
  }

  .master-intro {
    padding: 52px 0;
  }
}

/* M1 design pass: premium landing rhythm */
:root {
  --m1-page: #f6f8fb;
  --m1-ink: #07111f;
  --m1-muted: #526173;
  --m1-line: rgba(15, 23, 42, 0.12);
  --m1-panel: rgba(255, 255, 255, 0.86);
  --m1-panel-solid: #ffffff;
  --m1-dark: #05070a;
  --m1-dark-2: #08111f;
  --m1-cyan: #0ea5e9;
  --m1-cyan-soft: rgba(14, 165, 233, 0.14);
  --m1-amber: #f59e0b;
}

.dark {
  --m1-page: #05070a;
  --m1-ink: #f8fafc;
  --m1-muted: #aebccd;
  --m1-line: rgba(148, 163, 184, 0.18);
  --m1-panel: rgba(15, 23, 42, 0.78);
  --m1-panel-solid: #0f172a;
}

body[data-page="hub"] {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--m1-page) 92%, #05070a), var(--m1-page));
}

.hub-header {
  width: min(1440px, calc(100% - 32px));
  min-height: 70px;
  padding: 10px 14px;
  border-color: var(--m1-line);
  background: color-mix(in srgb, var(--m1-panel-solid) 74%, transparent);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.dark .hub-header {
  background: rgba(5, 7, 10, 0.78);
}

.main-nav a {
  min-height: 40px;
  padding: 10px 12px;
}

.landing-master {
  background:
    linear-gradient(180deg, var(--m1-page) 0%, color-mix(in srgb, var(--m1-page) 82%, #eaf6ff) 58%, var(--m1-page) 100%);
}

.landing-master [data-reveal] {
  opacity: 1;
  transform: none;
}

.dark .landing-master {
  background:
    linear-gradient(180deg, #05070a 0%, #07101d 58%, #05070a 100%);
}

.master-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  min-height: min(700px, calc(100vh - 104px));
  padding: clamp(42px, 6vw, 88px);
  border-color: rgba(186, 230, 253, 0.22);
}

.master-hero-media {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.72) 46%, rgba(5, 7, 10, 0.2)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.04), rgba(5, 7, 10, 0.92)),
    url("assets/showcase/sedona-command-center-v2.png");
  background-size: cover;
  background-position: center;
}

.master-hero-copy {
  align-self: center;
}

.master-hero h1 {
  max-width: 980px;
  font-size: clamp(46px, 5.8vw, 86px);
  line-height: 0.94;
}

.master-hero-copy > p:not(.eyebrow) {
  max-width: 780px;
  font-size: clamp(18px, 1.45vw, 23px);
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions .primary-button,
.hero-actions .ghost-button {
  min-height: 52px;
  padding-inline: 22px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 860px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid rgba(186, 230, 253, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.48);
  color: rgba(248, 250, 252, 0.82);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.master-console {
  align-self: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.72)),
    rgba(2, 6, 23, 0.74);
}

.console-metrics {
  grid-template-columns: 1fr;
}

.console-metrics article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.console-metrics strong {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
}

.console-metrics article p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.console-products {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.console-products span {
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.master-rails,
.master-proofline {
  margin-top: 14px;
  border-radius: 8px;
}

.master-rails {
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--m1-line);
  background: var(--m1-line);
}

.master-rails a {
  min-height: 176px;
  border: 0;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.08), rgba(2, 6, 23, 0)),
    var(--m1-dark-2);
}

.master-rails a:hover,
.master-proofline article:hover {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.16), rgba(2, 6, 23, 0.04)),
    var(--m1-dark-2);
}

.master-proofline {
  border-radius: 8px;
}

.master-proofline article {
  min-height: 150px;
}

.master-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding: clamp(52px, 6vw, 84px) 0;
}

.master-intro h2 {
  max-width: 1080px;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1;
}

.master-intro p:not(.eyebrow) {
  max-width: 620px;
}

.master-products {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 14px;
  padding: 14px;
  border-color: var(--m1-line);
  background: color-mix(in srgb, var(--m1-panel-solid) 72%, transparent);
}

.master-demos {
  padding: clamp(54px, 6vw, 92px) 0 clamp(28px, 4vw, 54px);
}

.demo-copy h2 {
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1;
}

.product-feature {
  min-height: 600px;
}

.product-feature h2 {
  max-width: 780px;
  font-size: clamp(38px, 4.8vw, 78px);
}

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

.product-stack a,
.demo-grid a,
.process-steps article {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  border-color: var(--m1-line);
  background:
    linear-gradient(145deg, var(--m1-cyan-soft), transparent 58%),
    var(--m1-panel-solid);
}

.dark .product-stack a,
.dark .demo-grid a {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 58%),
    var(--m1-panel-solid);
}

.product-stack a::after,
.demo-grid a::after,
.process-steps article::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
}

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

.demo-grid a {
  min-height: 230px;
}

.master-process {
  padding: clamp(38px, 5vw, 72px) 0 clamp(58px, 7vw, 96px);
}

.master-process h2 {
  font-size: clamp(36px, 4.2vw, 66px);
  line-height: 1;
}

.process-steps article {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.14), rgba(2, 6, 23, 0)),
    var(--m1-dark-2);
}

.master-system {
  padding: clamp(52px, 6vw, 92px) 0;
}

.system-copy h2 {
  font-size: clamp(36px, 4.4vw, 70px);
  line-height: 1;
}

.system-visual {
  min-height: clamp(420px, 36vw, 620px);
}

.master-access {
  margin-top: 12px;
  margin-bottom: 64px;
}

.master-access h2 {
  font-size: clamp(36px, 4.4vw, 70px);
  line-height: 1;
}

@media (max-width: 1080px) {
  .master-intro {
    grid-template-columns: 1fr;
  }

  .master-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .master-console {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .hub-header {
    width: min(100% - 20px, 1440px);
  }

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

  .master-hero {
    padding: 24px 18px;
  }

  .master-hero h1 {
    font-size: clamp(34px, 9.8vw, 44px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .hero-proof span {
    width: 100%;
  }

  .console-metrics article {
    grid-template-columns: 1fr;
  }

  .master-rails,
  .master-proofline,
  .demo-grid,
  .process-steps,
  .system-list {
    grid-template-columns: 1fr;
  }

  .master-rails a,
  .master-proofline article,
  .demo-grid a,
  .process-steps article {
    min-height: 140px;
  }

  .product-feature {
    min-height: 460px;
  }
}

/* M1 compact pass: keep the landing dense, useful, and screenshot-ready. */
body[data-page="hub"] .landing-master {
  gap: clamp(16px, 2vw, 28px);
}

body[data-page="hub"] .master-hero {
  min-height: min(680px, calc(100vh - 112px));
  padding: clamp(28px, 4vw, 58px);
}

body[data-page="hub"] .master-hero h1 {
  max-width: 820px;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 0.94;
}

body[data-page="hub"] .master-hero > div:first-child > p {
  max-width: 680px;
  font-size: clamp(17px, 1.25vw, 21px);
}

body[data-page="hub"] .hero-proof {
  margin-top: 26px;
}

body[data-page="hub"] .master-console {
  padding: clamp(20px, 2.4vw, 32px);
}

body[data-page="hub"] .console-metrics {
  gap: 8px;
  margin-top: 18px;
}

body[data-page="hub"] .console-metrics article {
  min-height: 88px;
  padding: 14px;
}

body[data-page="hub"] .console-products {
  margin-top: 12px;
}

body[data-page="hub"] .master-rails a,
body[data-page="hub"] .master-proofline article {
  min-height: 132px;
  padding: 22px;
}

body[data-page="hub"] .master-rails strong,
body[data-page="hub"] .master-proofline strong {
  font-size: clamp(18px, 1.6vw, 24px);
}

body[data-page="hub"] .master-intro {
  min-height: 0;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.55fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding: clamp(44px, 5vw, 72px) clamp(18px, 3vw, 42px);
  border: 1px solid var(--m1-line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 250, 252, 0.94));
}

.dark body[data-page="hub"] .master-intro,
.dark .master-intro {
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.12), transparent 44%),
    var(--m1-dark-2);
}

body[data-page="hub"] .intro-copy {
  max-width: 860px;
}

body[data-page="hub"] .master-intro h2,
body[data-page="hub"] .demo-copy h2,
body[data-page="hub"] .system-copy h2,
body[data-page="hub"] .master-process h2,
body[data-page="hub"] .master-access h2 {
  max-width: 820px;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1;
}

body[data-page="hub"] .master-intro p:not(.eyebrow),
body[data-page="hub"] .demo-copy p,
body[data-page="hub"] .system-copy > p,
body[data-page="hub"] .master-process > p,
body[data-page="hub"] .master-access p {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.62;
}

body[data-page="hub"] .intro-points {
  display: grid;
  gap: 10px;
}

body[data-page="hub"] .intro-points article {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--m1-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.dark body[data-page="hub"] .intro-points article,
.dark .intro-points article {
  background: rgba(15, 23, 42, 0.84);
}

body[data-page="hub"] .intro-points span {
  color: var(--m1-cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

body[data-page="hub"] .intro-points strong {
  color: var(--m1-ink);
  font-size: clamp(19px, 1.7vw, 26px);
  letter-spacing: 0;
}

.dark body[data-page="hub"] .intro-points strong,
.dark .intro-points strong {
  color: #f8fbff;
}

body[data-page="hub"] .intro-points p {
  margin: 0;
  color: var(--m1-muted);
  font-size: 14px;
  line-height: 1.55;
}

body[data-page="hub"] .master-products {
  min-height: 0;
  grid-template-columns: minmax(0, 0.96fr) minmax(330px, 0.58fr);
}

body[data-page="hub"] .product-feature {
  min-height: clamp(500px, 42vw, 640px);
  padding: clamp(24px, 3vw, 42px);
}

body[data-page="hub"] .product-feature h2 {
  max-width: 720px;
  font-size: clamp(34px, 4.6vw, 70px);
  line-height: 0.98;
}

body[data-page="hub"] .product-stack {
  gap: 12px;
}

body[data-page="hub"] .product-stack a {
  min-height: 128px;
  padding: 18px;
}

body[data-page="hub"] .master-demos,
body[data-page="hub"] .master-process,
body[data-page="hub"] .master-system {
  padding: clamp(38px, 5vw, 72px) 0;
}

body[data-page="hub"] .demo-copy {
  align-items: end;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.36fr);
  gap: clamp(20px, 4vw, 56px);
  margin-bottom: 22px;
}

body[data-page="hub"] .demo-grid {
  gap: 12px;
}

body[data-page="hub"] .demo-grid a {
  min-height: 178px;
  padding: 20px;
}

body[data-page="hub"] .process-steps {
  gap: 12px;
  margin-top: 22px;
}

body[data-page="hub"] .process-steps article {
  min-height: 142px;
  padding: 20px;
}

body[data-page="hub"] .master-system {
  align-items: center;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.58fr);
}

body[data-page="hub"] .system-visual {
  min-height: clamp(320px, 30vw, 480px);
}

body[data-page="hub"] .system-list {
  gap: 12px;
  margin-top: 20px;
}

body[data-page="hub"] .system-list article {
  min-height: 128px;
  padding: 18px;
}

body[data-page="hub"] .master-access {
  min-height: 0;
  margin: 8px 0 48px;
  padding: clamp(30px, 4vw, 56px);
}

@media (max-width: 1080px) {
  body[data-page="hub"] .master-hero,
  body[data-page="hub"] .master-products,
  body[data-page="hub"] .master-system,
  body[data-page="hub"] .demo-copy,
  body[data-page="hub"] .master-intro {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .master-hero {
    min-height: auto;
  }

  body[data-page="hub"] .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] .master-hero {
    padding: 22px 16px;
  }

  body[data-page="hub"] .master-console {
    display: none;
  }

  body[data-page="hub"] .master-hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  body[data-page="hub"] .master-rails a,
  body[data-page="hub"] .master-proofline article,
  body[data-page="hub"] .demo-grid a,
  body[data-page="hub"] .process-steps article,
  body[data-page="hub"] .system-list article {
    min-height: 118px;
  }

  body[data-page="hub"] .demo-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .product-feature {
    min-height: 420px;
  }

  body[data-page="hub"] .master-intro {
    padding: 24px 16px;
  }
}

/* Mid-desktop correction: no CTA overlap, no premature hamburger. */
body[data-page="hub"] .hero-actions {
  margin-bottom: 0;
}

body[data-page="hub"] .hero-proof {
  position: static;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 24px;
  padding: 12px;
}

body[data-page="hub"] .hero-proof span {
  padding: 0 8px;
}

@media (min-width: 921px) and (max-width: 1040px) {
  body[data-page="hub"] .site-header {
    flex-wrap: nowrap;
  }

  body[data-page="hub"] .menu-button {
    display: none;
  }

  body[data-page="hub"] .main-nav {
    display: flex;
    order: initial;
    width: auto;
  }

  body[data-page="hub"] .header-actions {
    order: initial;
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] .hero-proof {
    grid-template-columns: 1fr;
  }
}

body[data-page="hub"] .master-hero-copy .hero-proof {
  position: static;
  inset: auto;
  margin-top: 24px;
  max-width: 760px;
}

body[data-page="hub"] .master-hero-copy .hero-actions {
  margin-bottom: 0;
}

/* AAA polish: smarter command-center depth and calmer hierarchy. */
body[data-page="hub"] .master-hero {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 90px rgba(0, 0, 0, 0.34);
}

body[data-page="hub"] .master-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -32% 20%;
  height: 46%;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 50%, rgba(14, 165, 233, 0.28), transparent 28%),
    radial-gradient(circle at 78% 55%, rgba(59, 130, 246, 0.18), transparent 26%);
  filter: blur(34px);
  opacity: 0.72;
}

body[data-page="hub"] .master-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
}

body[data-page="hub"] .master-hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.85);
}

body[data-page="hub"] .master-hero h1 {
  text-wrap: balance;
}

body[data-page="hub"] .master-hero-copy > p:not(.eyebrow) {
  text-wrap: pretty;
}

body[data-page="hub"] .hero-actions {
  gap: 12px;
}

body[data-page="hub"] .hero-actions .primary-button {
  background:
    linear-gradient(135deg, #22d3ee, #2563eb 72%);
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body[data-page="hub"] .hero-actions .ghost-button {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-page="hub"] .master-hero-copy .hero-proof {
  gap: 1px;
  overflow: hidden;
  border-color: rgba(125, 211, 252, 0.2);
  background: rgba(2, 6, 23, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 44px rgba(0, 0, 0, 0.24);
}

body[data-page="hub"] .master-hero-copy .hero-proof span {
  display: flex;
  align-items: center;
  min-height: 46px;
  background: rgba(15, 23, 42, 0.58);
}

body[data-page="hub"] .master-console {
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-page="hub"] .console-metrics article {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(15, 23, 42, 0.9));
}

body[data-page="hub"] .console-flow {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.36), transparent 24%),
    radial-gradient(circle at center, rgba(30, 64, 175, 0.28), transparent 54%),
    rgba(8, 17, 31, 0.86);
}

body[data-page="hub"] .console-flow::before,
body[data-page="hub"] .console-flow::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 50%;
}

body[data-page="hub"] .console-flow::before {
  width: 70%;
  height: 38%;
}

body[data-page="hub"] .console-flow::after {
  width: 92%;
  height: 58%;
  border-style: dashed;
  opacity: 0.72;
}

body[data-page="hub"] .console-flow .orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.9);
  color: #e0f2fe;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="hub"] .console-flow .node-hub {
  inset: 50% auto auto 50%;
  min-width: 76px;
  min-height: 54px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #ffffff;
  box-shadow: 0 0 42px rgba(14, 165, 233, 0.58);
}

body[data-page="hub"] .console-flow .node-ai {
  left: 13%;
  bottom: 25%;
}

body[data-page="hub"] .console-flow .node-ssl {
  right: 8%;
  top: 38%;
}

body[data-page="hub"] .console-flow .node-vps {
  right: 16%;
  bottom: 20%;
}

body[data-page="hub"] .console-flow .orbit-ring {
  display: none;
}

body[data-page="hub"] .console-products span {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  font-family: inherit;
}

body[data-page="hub"] .console-products b {
  color: #67e8f9;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

body[data-page="hub"] .console-products em {
  color: rgba(226, 232, 240, 0.78);
  font-style: normal;
  font-weight: 800;
}

body[data-page="hub"] .work-index {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.22);
}

body[data-page="hub"] .work-map article {
  transition: transform 0.24s ease, background 0.24s ease;
}

body[data-page="hub"] .work-map article:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.2), transparent 62%),
    #0b1628;
}

@media (max-width: 640px) {
  body[data-page="hub"] .master-hero-copy .hero-proof span {
    min-height: 42px;
  }
}

/* Animated depth layer: the page should feel like a living system, not a poster. */
body[data-page="hub"] .hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body[data-page="hub"] .scene-line {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.36), transparent);
  opacity: 0.52;
  transform: rotate(-11deg);
  animation: sedona-scan 8s linear infinite;
}

body[data-page="hub"] .scene-line.line-one {
  top: 28%;
}

body[data-page="hub"] .scene-line.line-two {
  top: 62%;
  animation-delay: -3.4s;
  opacity: 0.3;
}

body[data-page="hub"] .scene-panel {
  position: absolute;
  display: grid;
  gap: 8px;
  width: 170px;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.42);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  animation: sedona-float 7s ease-in-out infinite;
}

body[data-page="hub"] .scene-panel i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.6), rgba(37, 99, 235, 0.08));
}

body[data-page="hub"] .scene-panel.panel-one {
  top: 18%;
  right: 34%;
}

body[data-page="hub"] .scene-panel.panel-two {
  right: 5%;
  bottom: 14%;
  width: 135px;
  animation-delay: -2.4s;
}

body[data-page="hub"] .scene-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4);
  animation: sedona-pulse 2.8s ease-out infinite;
}

body[data-page="hub"] .scene-pulse.pulse-one {
  top: 36%;
  right: 22%;
}

body[data-page="hub"] .scene-pulse.pulse-two {
  right: 42%;
  bottom: 25%;
  animation-delay: -1.2s;
}

body[data-page="hub"] .orbit-satellite {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.9);
  transform-origin: -72px -28px;
  animation: sedona-orbit 9s linear infinite;
}

body[data-page="hub"] .orbit-satellite.satellite-two {
  width: 7px;
  height: 7px;
  background: #60a5fa;
  transform-origin: 86px 34px;
  animation-duration: 13s;
  animation-direction: reverse;
}

body[data-page="hub"] .console-flow .node-hub {
  animation: sedona-hub-breathe 3.6s ease-in-out infinite;
}

body[data-page="hub"] .master-rails a,
body[data-page="hub"] .master-proofline article,
body[data-page="hub"] .work-map article,
body[data-page="hub"] .product-stack a,
body[data-page="hub"] .demo-grid a {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

body[data-page="hub"] .master-rails a:hover,
body[data-page="hub"] .master-proofline article:hover,
body[data-page="hub"] .work-map article:hover,
body[data-page="hub"] .product-stack a:hover,
body[data-page="hub"] .demo-grid a:hover {
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: 0 18px 50px rgba(2, 132, 199, 0.14);
}

@keyframes sedona-scan {
  0% {
    transform: translate3d(-12%, -30px, 0) rotate(-11deg);
  }
  100% {
    transform: translate3d(12%, 30px, 0) rotate(-11deg);
  }
}

@keyframes sedona-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes sedona-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.42);
    opacity: 0.95;
  }
  80%,
  100% {
    box-shadow: 0 0 0 34px rgba(34, 211, 238, 0);
    opacity: 0.2;
  }
}

@keyframes sedona-orbit {
  from {
    transform: rotate(0deg) translateX(72px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(72px) rotate(-360deg);
  }
}

@keyframes sedona-hub-breathe {
  0%,
  100% {
    box-shadow: 0 0 38px rgba(14, 165, 233, 0.44);
  }
  50% {
    box-shadow: 0 0 64px rgba(34, 211, 238, 0.74);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="hub"] .scene-line,
  body[data-page="hub"] .scene-panel,
  body[data-page="hub"] .scene-pulse,
  body[data-page="hub"] .orbit-satellite,
  body[data-page="hub"] .console-flow .node-hub {
    animation: none;
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] .scene-panel,
  body[data-page="hub"] .scene-pulse,
  body[data-page="hub"] .scene-line.line-two {
    display: none;
  }
}

/* Theme repair + extra WOW layer. Keep dark cinematic, make light mode genuinely work. */
html:not(.dark) body[data-page="hub"] {
  background: #f5f8fc;
  color: #07111f;
}

html:not(.dark) body[data-page="hub"] .landing-master {
  background:
    radial-gradient(circle at 74% 4%, rgba(14, 165, 233, 0.2), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eaf6ff 52%, #f8fbff 100%);
}

html:not(.dark) body[data-page="hub"] .hub-header {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) body[data-page="hub"] .hub-header .main-nav a,
html:not(.dark) body[data-page="hub"] .hub-header .ghost-button {
  color: #172033;
}

html:not(.dark) body[data-page="hub"] .master-hero {
  background: #f8fbff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 28px 90px rgba(15, 23, 42, 0.12);
}

html:not(.dark) body[data-page="hub"] .master-hero-media {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0.7) 44%, rgba(248, 251, 255, 0.18)),
    linear-gradient(180deg, rgba(248, 251, 255, 0.04), rgba(248, 251, 255, 0.9)),
    url("assets/showcase/sedona-command-center-v2.png");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

html:not(.dark) body[data-page="hub"] .master-hero h1,
html:not(.dark) body[data-page="hub"] .work-index h2,
html:not(.dark) body[data-page="hub"] .master-intro h2,
html:not(.dark) body[data-page="hub"] .master-intro p:not(.eyebrow) {
  color: #07111f;
}

html:not(.dark) body[data-page="hub"] .master-hero-copy > p:not(.eyebrow),
html:not(.dark) body[data-page="hub"] .work-index p {
  color: #475569;
}

html:not(.dark) body[data-page="hub"] .hero-actions .ghost-button {
  background: rgba(255, 255, 255, 0.7);
  color: #07111f;
  border-color: rgba(15, 23, 42, 0.12);
}

html:not(.dark) body[data-page="hub"] .master-console,
html:not(.dark) body[data-page="hub"] .work-index,
html:not(.dark) body[data-page="hub"] .master-intro {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 52%),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

html:not(.dark) body[data-page="hub"] .console-metrics article,
html:not(.dark) body[data-page="hub"] .console-products span,
html:not(.dark) body[data-page="hub"] .master-hero-copy .hero-proof span,
html:not(.dark) body[data-page="hub"] .intro-points article,
html:not(.dark) body[data-page="hub"] .work-map article {
  background: rgba(255, 255, 255, 0.74);
  color: #07111f;
}

html:not(.dark) body[data-page="hub"] .console-metrics strong,
html:not(.dark) body[data-page="hub"] .console-products em,
html:not(.dark) body[data-page="hub"] .intro-points strong,
html:not(.dark) body[data-page="hub"] .work-map strong {
  color: #07111f;
}

html:not(.dark) body[data-page="hub"] .console-flow {
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.28), transparent 24%),
    radial-gradient(circle at center, rgba(59, 130, 246, 0.16), transparent 54%),
    rgba(255, 255, 255, 0.65);
}

html:not(.dark) body[data-page="hub"] .console-flow .orbit-node {
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
}

html:not(.dark) body[data-page="hub"] .console-flow .node-hub {
  color: #ffffff;
}

html:not(.dark) body[data-page="hub"] .master-hero-copy .hero-proof {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(14, 165, 233, 0.2);
}

body[data-page="hub"] .scene-aurora {
  position: absolute;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.28;
  mix-blend-mode: screen;
  animation: sedona-aurora 13s ease-in-out infinite;
}

body[data-page="hub"] .scene-aurora.aurora-one {
  right: -20%;
  top: -26%;
  background: conic-gradient(from 180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.7), rgba(37, 99, 235, 0.35), rgba(34, 211, 238, 0));
}

body[data-page="hub"] .scene-aurora.aurora-two {
  left: 20%;
  bottom: -40%;
  width: 42vw;
  height: 42vw;
  background: conic-gradient(from 20deg, rgba(59, 130, 246, 0), rgba(14, 165, 233, 0.48), rgba(99, 102, 241, 0.28), rgba(59, 130, 246, 0));
  animation-delay: -5s;
}

body[data-page="hub"] .scene-particle {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.86);
  opacity: 0.68;
  animation: sedona-drift 10s linear infinite;
}

body[data-page="hub"] .particle-one {
  left: 18%;
  top: 20%;
}

body[data-page="hub"] .particle-two {
  left: 54%;
  top: 18%;
  animation-delay: -2.5s;
}

body[data-page="hub"] .particle-three {
  right: 20%;
  bottom: 28%;
  animation-delay: -5.2s;
}

body[data-page="hub"] .particle-four {
  left: 38%;
  bottom: 18%;
  animation-delay: -7.4s;
}

body[data-page="hub"] .scene-panel {
  animation: sedona-float 7s ease-in-out infinite, sedona-panel-glow 4s ease-in-out infinite;
}

body[data-page="hub"] .master-console {
  animation: sedona-console-float 7.5s ease-in-out infinite;
}

body[data-page="hub"] .console-flow::after {
  animation: sedona-ring-spin 18s linear infinite;
}

body[data-page="hub"] .hero-actions .primary-button {
  position: relative;
  overflow: hidden;
}

body[data-page="hub"] .hero-actions .primary-button::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -40%;
  width: 34%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: sedona-button-sheen 4.8s ease-in-out infinite;
}

@keyframes sedona-aurora {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(-4%, 5%, 0) rotate(22deg) scale(1.08);
  }
}

@keyframes sedona-drift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.12;
  }
  20%,
  70% {
    opacity: 0.76;
  }
  100% {
    transform: translate3d(34px, -76px, 0);
    opacity: 0;
  }
}

@keyframes sedona-panel-glow {
  0%,
  100% {
    border-color: rgba(125, 211, 252, 0.14);
  }
  50% {
    border-color: rgba(34, 211, 238, 0.38);
  }
}

@keyframes sedona-console-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes sedona-ring-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes sedona-button-sheen {
  0%,
  55% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  70% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(520%) rotate(18deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="hub"] .scene-aurora,
  body[data-page="hub"] .scene-particle,
  body[data-page="hub"] .master-console,
  body[data-page="hub"] .console-flow::after,
  body[data-page="hub"] .hero-actions .primary-button::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] .scene-aurora,
  body[data-page="hub"] .scene-particle {
    display: none;
  }
}

/* Portfolio pages: Sedona Studio / Forge showcase. */
.portfolio-page {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
  width: min(100% - 32px, 1440px);
  margin: 18px auto 80px;
}

.portfolio-hero,
.portfolio-band,
.portfolio-teaser {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 8%, rgba(14, 165, 233, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(8, 17, 31, 0.96), rgba(2, 6, 23, 0.92));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.35fr);
  gap: clamp(26px, 5vw, 82px);
  align-items: end;
  min-height: min(620px, calc(100vh - 120px));
  padding: clamp(46px, 7vw, 108px);
}

.portfolio-hero::before,
.portfolio-band::before,
.portfolio-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent);
}

.portfolio-hero > *,
.portfolio-band > *,
.portfolio-teaser > * {
  position: relative;
  z-index: 1;
}

.portfolio-hero h1,
.portfolio-heading h2,
.portfolio-teaser h2 {
  color: #fff;
  font-size: clamp(46px, 6.6vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.portfolio-hero p,
.portfolio-heading p,
.portfolio-teaser p {
  max-width: 760px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.66;
}

.portfolio-ledger {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(16px);
}

.portfolio-ledger span,
.portfolio-body > span,
.portfolio-mini span {
  color: #22d3ee;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-ledger strong {
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.portfolio-ledger a,
.portfolio-body a {
  color: #67e8f9;
  font-weight: 900;
}

.portfolio-band {
  display: grid;
  gap: 24px;
  padding: clamp(34px, 5vw, 76px);
}

.portfolio-heading {
  display: grid;
  gap: 14px;
}

.portfolio-heading h2,
.portfolio-teaser h2 {
  font-size: clamp(34px, 4.8vw, 78px);
}

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

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

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

.portfolio-card,
.portfolio-mini,
.portfolio-teaser-grid a {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1), transparent 58%),
    rgba(15, 23, 42, 0.78);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-card::after,
.portfolio-mini::after,
.portfolio-teaser-grid a::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.26), transparent 34%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.portfolio-card:hover,
.portfolio-mini:hover,
.portfolio-teaser-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 24px 70px rgba(2, 132, 199, 0.16);
}

.portfolio-card:hover::after,
.portfolio-mini:hover::after,
.portfolio-teaser-grid a:hover::after {
  opacity: 1;
}

.portfolio-card.large {
  grid-column: span 2;
}

.portfolio-card img,
.portfolio-shot {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: #07111f;
}

.portfolio-card.large img,
.portfolio-card.large .portfolio-shot {
  height: 360px;
}

.portfolio-shot {
  display: grid;
  place-items: end start;
  padding: 24px;
}

.portfolio-shot span {
  color: #fff;
  font-size: clamp(30px, 4vw, 66px);
  font-weight: 900;
  line-height: 0.95;
}

.studio-gradient {
  background:
    radial-gradient(circle at 74% 18%, rgba(34, 211, 238, 0.46), transparent 30%),
    linear-gradient(145deg, #030712, #0f172a 52%, #082f49);
}

.workorder-gradient {
  background:
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.36), transparent 28%),
    linear-gradient(145deg, #07111f, #113025);
}

.chronicles-gradient {
  background:
    radial-gradient(circle at 76% 16%, rgba(245, 158, 11, 0.34), transparent 28%),
    linear-gradient(145deg, #09090b, #1f2937);
}

.forge-gradient {
  background:
    radial-gradient(circle at 76% 12%, rgba(168, 85, 247, 0.34), transparent 28%),
    linear-gradient(145deg, #05070a, #172554);
}

.portfolio-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.portfolio-body h3,
.portfolio-mini strong,
.portfolio-teaser-grid strong {
  color: #fff;
  font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.02;
}

.portfolio-body p,
.portfolio-mini p,
.portfolio-teaser-grid p {
  color: rgba(226, 232, 240, 0.74);
  font-size: 15px;
  line-height: 1.58;
}

.portfolio-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-body li {
  color: rgba(226, 232, 240, 0.78);
  font-size: 14px;
}

.portfolio-body li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: #22c55e;
}

.portfolio-mini {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 22px;
}

.portfolio-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px);
}

.portfolio-teaser-copy {
  display: grid;
  gap: 16px;
}

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

.portfolio-teaser-grid a {
  display: grid;
  gap: 12px;
  min-height: 184px;
  padding: 22px;
}

html:not(.dark) .portfolio-hero,
html:not(.dark) .portfolio-band,
html:not(.dark) .portfolio-teaser {
  background:
    radial-gradient(circle at 78% 8%, rgba(14, 165, 233, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92));
}

html:not(.dark) .portfolio-hero h1,
html:not(.dark) .portfolio-heading h2,
html:not(.dark) .portfolio-teaser h2,
html:not(.dark) .portfolio-body h3,
html:not(.dark) .portfolio-mini strong,
html:not(.dark) .portfolio-teaser-grid strong,
html:not(.dark) .portfolio-ledger strong {
  color: #07111f;
}

html:not(.dark) .portfolio-hero p,
html:not(.dark) .portfolio-heading p,
html:not(.dark) .portfolio-teaser p,
html:not(.dark) .portfolio-body p,
html:not(.dark) .portfolio-mini p,
html:not(.dark) .portfolio-teaser-grid p,
html:not(.dark) .portfolio-body li {
  color: #475569;
}

html:not(.dark) .portfolio-card,
html:not(.dark) .portfolio-mini,
html:not(.dark) .portfolio-teaser-grid a,
html:not(.dark) .portfolio-ledger {
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .portfolio-hero,
  .portfolio-teaser {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .portfolio-page {
    width: min(100% - 20px, 1440px);
  }

  .portfolio-hero,
  .portfolio-band,
  .portfolio-teaser {
    padding: 24px 16px;
  }

  .portfolio-grid,
  .portfolio-grid.four,
  .portfolio-grid.compact,
  .portfolio-teaser-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card.large {
    grid-column: span 1;
  }

  .portfolio-card img,
  .portfolio-shot,
  .portfolio-card.large img,
  .portfolio-card.large .portfolio-shot {
    height: 220px;
  }
}

/* AAA hero restore: return the original command-center first impression. */
html.dark body[data-page="hub"],
body[data-page="hub"] {
  background: #05070a;
}

body[data-page="hub"] .landing-master {
  background:
    radial-gradient(circle at 72% 8%, rgba(14, 165, 233, 0.14), transparent 30%),
    linear-gradient(180deg, #05070a 0%, #07101d 52%, #05070a 100%);
}

body[data-page="hub"] .hub-header {
  width: min(1320px, calc(100% - 32px));
  background: rgba(5, 7, 10, 0.82);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: none;
}

body[data-page="hub"] .hub-header .main-nav a,
body[data-page="hub"] .hub-header .ghost-button {
  color: rgba(248, 250, 252, 0.86);
}

body[data-page="hub"] .master-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 98px));
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.48fr);
  align-items: center;
  padding: clamp(58px, 6vw, 96px) clamp(42px, 7vw, 96px) clamp(86px, 8vw, 112px);
  border-color: rgba(148, 163, 184, 0.18);
  background: #05070a;
  overflow: hidden;
}

body[data-page="hub"] .master-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.2));
}

body[data-page="hub"] .master-hero-media {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.98), rgba(5, 7, 10, 0.76) 44%, rgba(5, 7, 10, 0.18)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.92)),
    url("assets/showcase/sedona-command-center-v2.png");
  background-size: cover;
  background-position: center;
  opacity: 0.94;
}

body[data-page="hub"] .master-hero-copy,
body[data-page="hub"] .master-console {
  position: relative;
  z-index: 1;
}

body[data-page="hub"] .master-hero .eyebrow {
  color: #22d3ee;
  font-size: 13px;
}

body[data-page="hub"] .master-hero h1 {
  max-width: 710px;
  color: #ffffff;
  font-size: clamp(62px, 7.4vw, 116px);
  line-height: 0.91;
  letter-spacing: 0;
}

body[data-page="hub"] .master-hero > div:first-child > p,
body[data-page="hub"] .master-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(248, 250, 252, 0.88);
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.6;
}

body[data-page="hub"] .hero-actions .primary-button,
body[data-page="hub"] .hero-actions .ghost-button {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
}

body[data-page="hub"] .hero-actions .ghost-button {
  border-color: rgba(248, 250, 252, 0.28);
  background: rgba(5, 7, 10, 0.52);
  color: #ffffff;
}

body[data-page="hub"] .hero-proof {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(18px);
}

body[data-page="hub"] .hero-proof span {
  width: auto;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: rgba(248, 250, 252, 0.88);
  font-size: 13px;
}

body[data-page="hub"] .hero-proof span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.7);
}

body[data-page="hub"] .master-console {
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.86)),
    rgba(2, 6, 23, 0.82);
}

body[data-page="hub"] .console-top strong {
  color: #67e8f9;
  text-transform: uppercase;
}

body[data-page="hub"] .console-metrics {
  gap: 10px;
}

body[data-page="hub"] .console-metrics article {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border-radius: 8px;
}

body[data-page="hub"] .console-metrics article p {
  display: none;
}

body[data-page="hub"] .console-metrics strong {
  color: #ffffff;
  font-size: clamp(18px, 1.5vw, 22px);
  text-align: right;
}

body[data-page="hub"] .console-flow {
  min-height: 250px;
  margin: 18px 0;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.26), rgba(15, 23, 42, 0.86) 56%);
}

body[data-page="hub"] .console-products {
  gap: 10px;
}

body[data-page="hub"] .console-products span {
  border-color: rgba(148, 163, 184, 0.18);
}

body[data-page="hub"] .master-rails {
  margin-top: 0;
}

body[data-page="hub"] .master-rails a {
  min-height: 190px;
}

@media (max-width: 1080px) {
  body[data-page="hub"] .master-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] .hub-header {
    width: min(100% - 20px, 1320px);
  }

  body[data-page="hub"] .master-hero {
    min-height: auto;
    padding: 32px 18px 28px;
  }

  body[data-page="hub"] .master-hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 14vw, 58px);
  }

  body[data-page="hub"] .hero-proof {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  body[data-page="hub"] .master-console {
    display: none;
  }
}

/* Template-lab inspired pass: Aegis console structure + Sedona body-of-work map. */
body[data-page="hub"] .master-hero {
  min-height: min(760px, calc(100vh - 96px));
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.43fr);
  gap: clamp(24px, 4vw, 70px);
  padding: clamp(46px, 5.6vw, 78px) clamp(34px, 6vw, 82px) clamp(74px, 6vw, 94px);
}

body[data-page="hub"] .master-hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 6.4vw, 96px);
  line-height: 0.92;
}

body[data-page="hub"] .master-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(17px, 1.32vw, 22px);
}

body[data-page="hub"] .hero-actions {
  margin-bottom: 56px;
}

body[data-page="hub"] .hero-proof {
  bottom: 16px;
}

body[data-page="hub"] .master-console {
  max-width: 460px;
  justify-self: end;
}

body[data-page="hub"] .console-flow {
  min-height: 210px;
}

body[data-page="hub"] .master-rails {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="hub"] .work-index {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(44px, 6vw, 86px) clamp(20px, 4vw, 56px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.1), transparent 42%),
    #05070a;
}

body[data-page="hub"] .work-index h2 {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(38px, 4.5vw, 72px);
  line-height: 0.98;
}

body[data-page="hub"] .work-index p {
  max-width: 620px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(16px, 1.15vw, 19px);
}

body[data-page="hub"] .work-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.18);
}

body[data-page="hub"] .work-map article {
  min-height: 172px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 58%),
    #08111f;
}

body[data-page="hub"] .work-map a {
  display: grid;
  min-height: 172px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 58%),
    #08111f;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body[data-page="hub"] .work-map a:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.2), transparent 58%),
    #0b1728;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.28);
}

body[data-page="hub"] .work-map span {
  color: #22d3ee;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-page="hub"] .work-map strong {
  display: block;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
}

body[data-page="hub"] .work-map p {
  margin: 12px 0 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.blog-page {
  min-height: 100vh;
  padding: 116px clamp(18px, 4vw, 56px) 70px;
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.16), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(45, 212, 191, 0.14), transparent 30rem),
    linear-gradient(180deg, #05070a 0%, #08111f 52%, #05070a 100%);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  max-width: 1480px;
  margin: 0 auto 44px;
}

.blog-hero-copy,
.blog-featured,
.blog-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 54%),
    rgba(8, 17, 31, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.blog-hero-copy {
  min-height: 520px;
  padding: clamp(30px, 5vw, 70px);
}

.blog-hero-copy h1 {
  max-width: 920px;
  margin: 18px 0 22px;
  color: #ffffff;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.9;
}

.blog-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(226, 232, 240, 0.76);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.65;
}

.blog-cms-pill {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0 4px;
  padding: 8px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.52);
}

.blog-cms-pill span,
.blog-cms-pill a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-cms-pill span {
  color: #67e8f9;
  background: rgba(14, 165, 233, 0.12);
}

.blog-cms-pill a {
  color: #020617;
  background: #e0f2fe;
}

.blog-featured {
  display: grid;
  align-content: end;
  min-height: 520px;
  padding: clamp(24px, 3vw, 42px);
}

.blog-featured::before,
.blog-card-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 88px);
  opacity: 0.58;
  pointer-events: none;
}

.blog-featured > span,
.blog-meta span:first-child {
  color: #22d3ee;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-featured h2 {
  margin: 16px 0;
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 0.98;
}

.blog-featured p,
.blog-card p {
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.62;
}

.blog-grid-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0;
}

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

.blog-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  min-height: 420px;
}

.blog-card img,
.blog-card-art {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.blog-card-art {
  position: relative;
  display: grid;
  place-items: end start;
  padding: 24px;
}

.blog-card-art span {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
  line-height: 0.95;
}

.agent-gradient {
  background:
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.65), transparent 32%),
    radial-gradient(circle at 75% 72%, rgba(45, 212, 191, 0.45), transparent 34%),
    linear-gradient(145deg, #07111f, #123147);
}

.hosting-gradient {
  background:
    radial-gradient(circle at 72% 20%, rgba(56, 189, 248, 0.46), transparent 30%),
    linear-gradient(135deg, #05121d, #16324a 52%, #082f49);
}

.blog-card-body {
  padding: clamp(22px, 3vw, 38px);
}

.blog-meta,
.tag-row,
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-meta {
  margin-bottom: 18px;
}

.blog-meta span {
  color: rgba(226, 232, 240, 0.58);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
}

.blog-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.02;
}

.tag-row {
  margin: 22px 0 16px;
}

.tag-row span {
  padding: 7px 10px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
}

.share-row {
  margin-top: 20px;
}

.share-row a,
.share-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.66);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.share-row a:hover,
.share-row button:hover {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.6);
  background: rgba(14, 165, 233, 0.18);
}

.tools-page {
  min-height: 100vh;
  padding: 118px 0 70px;
  background:
    radial-gradient(circle at 18% 6%, rgba(34, 211, 238, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 22%, rgba(14, 165, 233, 0.12), transparent 34rem),
    linear-gradient(180deg, #05070a 0%, #08111f 48%, #05070a 100%);
}

.tools-hero {
  display: grid;
  justify-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 42px;
  text-align: center;
}

.tools-hero h1 {
  width: min(100%, 1100px);
  margin: 10px 0 16px;
  color: #ffffff;
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 0.92;
  text-align: center;
  text-wrap: balance;
}

.tools-hero > p:not(.eyebrow) {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(203, 213, 225, 0.78);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.58;
}

.tools-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.tools-tabs button {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: #e2e8f0;
  background: #162132;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tools-tabs button.active {
  color: #031016;
  background: #10c8df;
  border-color: #10c8df;
}

.tools-token-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 18px;
  overflow: hidden;
  margin: 22px 0 18px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: clamp(22px, 3.5vw, 42px);
  background:
    radial-gradient(circle at 14% 22%, rgba(34, 211, 238, 0.18), transparent 30%),
    radial-gradient(circle at 88% 50%, rgba(168, 85, 247, 0.14), transparent 34%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.tools-token-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.52;
  background: linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.13) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: card-sheen 7s ease-in-out infinite;
}

.tools-token-copy,
.tools-token-lanes {
  position: relative;
  z-index: 1;
}

.tools-token-copy h2 {
  margin: 10px 0;
  color: #ffffff;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.tools-token-copy p:not(.eyebrow) {
  max-width: 700px;
  color: #cbd5e1;
  line-height: 1.64;
}

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

.tools-token-lanes article {
  min-height: 210px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 12px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 56%),
    rgba(2, 6, 23, 0.55);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 360ms ease;
}

.tools-token-lanes article:hover {
  transform: translateY(-8px);
  border-color: rgba(103, 232, 249, 0.35);
  box-shadow: 0 24px 70px rgba(14, 165, 233, 0.14);
}

.tools-token-lanes span {
  color: #67e8f9;
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.tools-token-lanes strong {
  margin: 16px 0 10px;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.02;
}

.tools-token-lanes p {
  margin: 0;
  color: #b6c7da;
  font-size: 14px;
  line-height: 1.52;
}

.tools-command {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: end;
  width: min(1040px, 100%);
  margin: 34px auto 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(7, 13, 24, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.tools-command > * {
  min-width: 0;
}

.tools-command label {
  display: grid;
  gap: 8px;
  text-align: left;
  color: rgba(203, 213, 225, 0.82);
  font-weight: 900;
}

.tools-command input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: #e2e8f0;
  background: #050a13;
  outline: none;
}

.tools-command input:focus {
  border-color: rgba(34, 211, 238, 0.56);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.tools-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px;
  justify-content: center;
}

.tools-stats span,
.tool-card-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: rgba(226, 232, 240, 0.86);
  background: rgba(15, 23, 42, 0.64);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.tools-stats strong {
  margin-right: 5px;
  color: #ffffff;
}

.tools-access-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1040px, 100%);
  margin: 20px auto 0;
}

.tools-access-strip a {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 186px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 8px;
  color: inherit;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(8, 14, 28, 0.74));
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tools-access-strip a::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 54px;
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 62%);
}

.tools-access-strip a:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(18, 31, 52, 0.94), rgba(9, 17, 32, 0.82));
}

.tools-access-strip span {
  width: max-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(2, 6, 23, 0.42);
  font: 950 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.tools-access-strip strong {
  color: #f8fafc;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.12;
}

.tools-access-strip p {
  margin: 0;
  color: rgba(203, 213, 225, 0.72);
  font-size: 14px;
  line-height: 1.58;
}

.tools-access-strip em {
  margin-top: auto;
  color: #bdefff;
  font-style: normal;
  font-weight: 950;
}

.tools-access-strip.compact {
  width: min(1560px, calc(100% - 32px));
  margin: 18px auto 24px;
}

.tools-access-strip.compact a {
  min-height: 152px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1560px;
  margin: 0 auto;
}

.tool-card,
.tool-runner-panel {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.08), transparent 58%),
    #151e2d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.tool-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 568px;
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tool-card:hover,
.tool-card.active {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.36);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.16), transparent 58%),
    #172235;
}

.tool-thumb {
  position: relative;
  display: grid;
  min-height: 156px;
  align-content: end;
  gap: 6px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--thumb-from) 84%, #020617), color-mix(in srgb, var(--thumb-to) 70%, #020617)),
    #0f172a;
  isolation: isolate;
}

.tool-thumb::before {
  content: "";
  position: absolute;
  inset: -40% -18% auto auto;
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 62%);
  z-index: -1;
}

.tool-thumb-grid {
  position: absolute;
  inset: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  opacity: 0.26;
}

.tool-thumb-grid span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.tool-thumb-kicker {
  position: relative;
  width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(2, 6, 23, 0.24);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tool-thumb strong {
  position: relative;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.95;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.tool-thumb small {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.tool-card-head,
.tool-runner-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.tool-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  color: #14d8f2;
  background: rgba(8, 84, 106, 0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  font-weight: 900;
}

.tool-card h2,
.tool-runner-heading h2 {
  margin: 4px 0 8px;
  color: #f8fafc;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.08;
}

.tool-card-head strong {
  color: #e2e8f0;
  font-size: 14px;
}

.tool-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-card-meta span.free {
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.2);
  border-color: rgba(34, 197, 94, 0.32);
}

.tool-card-meta span.pro {
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.24), rgba(168, 85, 247, 0.22));
  border-color: rgba(250, 204, 21, 0.34);
}

.runner-meta {
  margin-top: 12px;
}

.tool-card p,
.tool-help span,
.tool-runner-heading p {
  color: rgba(203, 213, 225, 0.72);
  font-size: 16px;
  line-height: 1.58;
}

.tool-help {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.tool-help strong {
  color: #cbd5e1;
}

.tool-card > button,
.tool-inline > button,
.tool-actions button,
.speed-tool > button {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: #021118;
  background: #10c8df;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.tool-card > button {
  width: 100%;
  margin-top: 6px;
}

.tool-card > button span {
  margin-left: 16px;
}

.tool-runner-panel {
  max-width: 1560px;
  margin: 26px auto 0;
  padding: clamp(22px, 3vw, 34px);
}

.tool-workspace,
.tool-inline,
.diff-workspace {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

.tool-workspace .tool-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-actions button {
  min-width: 120px;
  padding: 0 18px;
}

.tool-workspace textarea,
.diff-workspace textarea,
.tool-inline input,
.tool-inline select,
.tool-inline label select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: #e2e8f0;
  background: #070d18;
  font: inherit;
}

.tool-workspace textarea,
.diff-workspace textarea {
  min-height: 220px;
  padding: 18px;
  resize: vertical;
}

.tool-inline {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
}

.tool-inline input,
.tool-inline select,
.tool-inline label select {
  min-height: 56px;
  padding: 0 16px;
}

.tool-inline label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 800;
}

.file-drop {
  min-height: 56px;
  justify-content: center;
  padding: 14px 18px;
  border: 1px dashed rgba(34, 211, 238, 0.36);
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.08);
}

.file-drop input {
  max-width: 260px;
}

.tool-workspace pre,
.tool-inline pre,
.tool-runner-panel pre {
  overflow: auto;
  min-height: 180px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: #a7f3d0;
  background: #070d18;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.tool-workspace pre {
  grid-column: 1 / -1;
}

.ai-preview-tool {
  align-items: stretch;
}

.ai-preview-tool .plan-hero,
.ai-preview-tool .pro-form-grid,
.ai-preview-tool .tool-actions {
  grid-column: 1 / -1;
}

.ai-preview-hero {
  overflow: hidden;
  border-color: rgba(34, 211, 238, 0.26);
  background:
    radial-gradient(circle at 86% 18%, rgba(34, 211, 238, 0.18), transparent 26%),
    radial-gradient(circle at 18% 84%, rgba(168, 85, 247, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.82));
}

.ai-preview-panel {
  display: grid;
  gap: 16px;
  min-height: 220px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.14), transparent 46%),
    linear-gradient(315deg, rgba(168, 85, 247, 0.12), transparent 52%),
    rgba(15, 23, 42, 0.78);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.34);
}

.ai-preview-head {
  display: grid;
  gap: 12px;
}

.ai-preview-head span {
  width: max-content;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  color: #67e8f9;
  background: rgba(8, 47, 73, 0.42);
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.ai-preview-head strong {
  color: #f8fafc;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.16;
  letter-spacing: 0;
}

.ai-preview-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-preview-panel li {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.36);
  line-height: 1.5;
}

.tool-inline pre,
.config-tool pre {
  grid-column: 1 / -1;
}

.pro-worker-panel {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.pro-worker-hero,
.pro-worker-grid article,
.pro-job-builder,
.pro-job-status {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.16), transparent 50%),
    linear-gradient(315deg, rgba(168, 85, 247, 0.13), transparent 52%),
    rgba(8, 14, 28, 0.84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.pro-worker-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
}

.pro-worker-hero h3 {
  margin: 8px 0 10px;
  color: #f8fafc;
  font-size: clamp(28px, 4vw, 58px);
  letter-spacing: 0;
  line-height: 0.95;
}

.pro-worker-hero p,
.pro-worker-grid p {
  margin: 0;
  color: #a8b3c7;
  line-height: 1.7;
}

.pro-worker-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pro-worker-engine-note {
  margin-top: 12px !important;
  max-width: 760px;
  border-left: 3px solid #22d3ee;
  padding-left: 12px;
  color: #bdefff !important;
  font-size: 14px;
}

.pro-worker-badges span,
.pro-job-pipeline span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  color: #bdefff;
  background: rgba(2, 6, 23, 0.5);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.pro-token-meter {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.34), transparent 52%),
    rgba(2, 6, 23, 0.66);
}

.pro-token-meter.ready {
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.12), 0 20px 60px rgba(20, 184, 166, 0.16);
}

.pro-token-meter span,
.pro-token-meter small,
.pro-token-meter em {
  color: #93a4bb;
  font-weight: 900;
  text-transform: uppercase;
}

.pro-token-meter em {
  color: #2dd4bf;
  font-size: 12px;
  font-style: normal;
}

.pro-token-meter strong {
  color: #67e8f9;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.9;
}

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

.pro-worker-grid article,
.pro-job-builder,
.pro-job-status {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.pro-worker-grid h4,
.pro-job-builder h4 {
  margin: 0;
  color: #e5f7ff;
  font-size: 20px;
}

.pro-worker-grid label,
.pro-form-grid label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 900;
}

.pro-worker-grid input,
.pro-form-grid input,
.pro-job-builder textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.7);
  font: inherit;
}

.pro-job-builder textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.pro-file-picker {
  display: grid;
  gap: 10px;
  min-height: 104px;
  align-content: center;
  border: 1px dashed rgba(34, 211, 238, 0.32);
  border-radius: 8px;
  padding: 16px;
  color: #dff7ff;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), transparent 55%),
    rgba(2, 6, 23, 0.52);
  font-weight: 950;
}

.pro-file-picker.drag-active {
  border-color: rgba(34, 211, 238, 0.78);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(45, 212, 191, 0.12) 62%),
    rgba(2, 6, 23, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12), 0 22px 60px rgba(8, 47, 73, 0.32);
}

.pro-file-picker strong {
  color: #ffffff;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.1;
}

.pro-file-picker small {
  max-width: 720px;
  color: #9fb4ca;
  font-weight: 750;
  line-height: 1.45;
}

.pro-file-picker input {
  width: 100%;
  color: #93a4bb;
}

.pro-selected-file-list {
  display: grid;
  gap: 8px;
}

.pro-selected-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  color: #a8b3c7;
  background: rgba(20, 184, 166, 0.1);
}

.pro-selected-file strong {
  color: #ecfeff;
}

.wallet-event-list {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.wallet-event-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  padding: 9px 10px;
  color: #a8b3c7;
  background: rgba(2, 6, 23, 0.38);
  font-size: 12px;
}

.wallet-event-list strong {
  color: #67e8f9;
}

.pro-actions,
.token-pack-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pro-actions button,
.token-pack-list button,
.subscription-choice,
.pro-job-builder > button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  color: #021118;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.token-pack-list button,
.subscription-choice {
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 12px 14px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.token-pack-list button strong,
.subscription-choice strong {
  color: #67e8f9;
}

.token-pack-list small,
.subscription-choice small,
.pro-job-status small {
  color: #93a4bb;
  font-size: 12px;
  font-weight: 850;
}

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

.pro-job-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pro-job-pipeline span {
  border-radius: 8px;
  opacity: 0.78;
}

.pro-job-pipeline span.done {
  border-color: rgba(45, 212, 191, 0.42);
  color: #dffdf8;
  background: rgba(20, 184, 166, 0.14);
  opacity: 1;
}

.pro-job-pipeline b {
  color: #22d3ee;
  font-family: "JetBrains Mono", monospace;
}

.pro-job-status {
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: stretch;
}

.pro-job-status > div {
  display: grid;
  align-content: center;
  gap: 12px;
  color: #cbd5e1;
}

.pro-job-status strong {
  color: #f8fafc;
  font-size: 28px;
}

.pro-job-status progress {
  width: 100%;
  height: 14px;
  accent-color: #22d3ee;
}

.pro-job-status button {
  min-height: 44px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 8px;
  color: #dff7ff;
  background: rgba(15, 23, 42, 0.86);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.pro-status-output {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.pro-artifact-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(45, 212, 191, 0.26);
  border-radius: 8px;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.2), transparent 42%),
    rgba(2, 6, 23, 0.56);
}

.pro-artifact-card strong {
  color: #f8fafc;
  font-size: 24px;
}

.pro-artifact-card p,
.pro-result-summary {
  margin: 0;
  color: #a8b3c7;
  line-height: 1.6;
}

.pro-artifact-card a {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  color: #021118;
  background: linear-gradient(135deg, #22d3ee, #2dd4bf);
  font-weight: 950;
  text-decoration: none;
}

.blueprint-tool {
  grid-template-columns: 1fr;
}

.blueprint-hero,
.blueprint-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(34, 211, 238, 0.16), transparent 36%),
    rgba(2, 6, 23, 0.54);
}

.blueprint-hero {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  align-items: center;
}

.blueprint-hero h3 {
  margin: 6px 0 8px;
  color: #f8fafc;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.blueprint-hero p,
.blueprint-steps p {
  margin: 0;
  color: #a8b3c7;
  line-height: 1.62;
}

.blueprint-status {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
}

.blueprint-status strong {
  color: #67e8f9;
  font-size: 22px;
}

.blueprint-status span,
.blueprint-panel-head span,
.blueprint-steps span {
  color: #93a4bb;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.blueprint-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blueprint-panel-head strong {
  color: #f8fafc;
}

.blueprint-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.blueprint-steps article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.58);
}

.blueprint-steps strong {
  color: #e5f7ff;
}

.blueprint-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blueprint-feature-row span {
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  padding: 8px 10px;
  color: #bdefff;
  background: rgba(2, 6, 23, 0.46);
  font-size: 12px;
  font-weight: 900;
}

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

.plan-hero,
.plan-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.16), transparent 38%),
    rgba(2, 6, 23, 0.54);
}

.plan-hero {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  align-items: center;
}

.plan-hero h3 {
  margin: 6px 0 8px;
  color: #f8fafc;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.plan-hero p,
.plan-summary,
.plan-steps p {
  margin: 0;
  color: #a8b3c7;
  line-height: 1.62;
}

.plan-status {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  text-align: center;
}

.plan-status strong {
  color: #67e8f9;
  font-size: 22px;
}

.plan-status span,
.plan-panel-head span,
.plan-steps span {
  color: #93a4bb;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-panel-head strong {
  color: #f8fafc;
  font-size: clamp(24px, 3vw, 38px);
}

.plan-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.plan-steps article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.58);
}

.plan-steps strong {
  color: #e5f7ff;
}

.plan-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-feature-row span {
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  padding: 8px 10px;
  color: #bdefff;
  background: rgba(2, 6, 23, 0.46);
  font-size: 12px;
  font-weight: 900;
}

.plan-feature-row.action-row span {
  border-color: rgba(45, 212, 191, 0.28);
  color: #dffdf8;
  background: rgba(20, 184, 166, 0.14);
}

.toggle-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-stack label {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.42);
}

.diff-workspace {
  grid-template-columns: 1fr 1fr;
}

.diff-output {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}

.diff-output p {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.64);
}

.diff-output p.changed {
  background: rgba(251, 191, 36, 0.12);
}

.diff-output p.added {
  background: rgba(45, 212, 191, 0.12);
}

.diff-output p.removed {
  background: rgba(248, 113, 113, 0.12);
}

.diff-output span,
.diff-output em {
  color: rgba(203, 213, 225, 0.62);
  font-style: normal;
}

.speed-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.speed-results span {
  display: grid;
  place-items: center;
  min-height: 112px;
  border-radius: 8px;
  background: #070d18;
}

.speed-results strong {
  color: #14d8f2;
  font-size: clamp(26px, 3vw, 38px);
}

.speed-results em {
  color: rgba(203, 213, 225, 0.66);
  font-style: normal;
}

.vectorizer-tool {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.vectorizer-controls,
.vectorizer-preview,
.vectorizer-subscription {
  display: grid;
  gap: 14px;
}

.vectorizer-controls {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.5fr) minmax(160px, 0.5fr) auto;
  align-items: end;
}

.vectorizer-controls label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 900;
}

.vectorizer-controls input[type="range"] {
  width: 100%;
  accent-color: #10c8df;
}

.vectorizer-controls button {
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #021118;
  background: #10c8df;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.vectorizer-controls button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

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

.vectorizer-preview > div {
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.08), transparent 58%),
    #070d18;
}

.vectorizer-preview span,
.vectorizer-subscription span {
  display: block;
  margin-bottom: 12px;
  color: #22d3ee;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.vectorizer-preview img,
.svg-preview svg {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
}

.svg-preview {
  overflow: auto;
}

.vectorizer-preview p {
  color: rgba(203, 213, 225, 0.68);
}

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

.vectorizer-subscription article {
  padding: 20px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.08);
}

.vectorizer-subscription strong {
  display: block;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 36px);
}

.vectorizer-subscription p {
  color: rgba(203, 213, 225, 0.72);
}

html:not(.dark) .tools-page {
  background:
    radial-gradient(circle at 18% 6%, rgba(14, 165, 233, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 22%, rgba(45, 212, 191, 0.12), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #f8fbff 100%);
}

html:not(.dark) .tools-hero h1,
html:not(.dark) .tool-card h2,
html:not(.dark) .tool-runner-heading h2 {
  color: #07111f;
}

html:not(.dark) .tools-hero > p:not(.eyebrow),
html:not(.dark) .tool-card p,
html:not(.dark) .tool-help span,
html:not(.dark) .tool-runner-heading p {
  color: #475569;
}

html:not(.dark) .tools-tabs button,
html:not(.dark) .tools-command,
html:not(.dark) .tool-card,
html:not(.dark) .tool-runner-panel {
  color: #0f172a;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1), transparent 58%),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .tools-command label {
  color: #334155;
}

html:not(.dark) .tools-command input,
html:not(.dark) .tools-stats span,
html:not(.dark) .tool-card-meta span {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .tools-token-showcase {
  background:
    radial-gradient(circle at 14% 22%, rgba(14, 165, 233, 0.16), transparent 30%),
    radial-gradient(circle at 88% 50%, rgba(124, 58, 237, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

html:not(.dark) .tools-token-copy h2,
html:not(.dark) .tools-token-lanes strong {
  color: #0f172a;
}

html:not(.dark) .tools-token-copy p:not(.eyebrow),
html:not(.dark) .tools-token-lanes p {
  color: #475569;
}

html:not(.dark) .tools-token-lanes article {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1), transparent 56%),
    rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .tools-access-strip a {
  color: #0f172a;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .tools-access-strip strong {
  color: #07111f;
}

html:not(.dark) .tools-access-strip p {
  color: #475569;
}

html:not(.dark) .tools-access-strip span,
html:not(.dark) .tools-access-strip em {
  color: #0369a1;
}

html:not(.dark) .tools-stats strong {
  color: #07111f;
}

html:not(.dark) .tool-card-meta span.free {
  color: #14532d;
  background: rgba(187, 247, 208, 0.68);
  border-color: rgba(22, 163, 74, 0.24);
}

html:not(.dark) .tool-card-meta span.pro {
  color: #713f12;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.88), rgba(233, 213, 255, 0.78));
  border-color: rgba(202, 138, 4, 0.22);
}

html:not(.dark) .tools-tabs button.active,
html:not(.dark) .tool-card > button,
html:not(.dark) .tool-inline > button,
html:not(.dark) .tool-actions button,
html:not(.dark) .speed-tool > button {
  color: #021118;
  background: #10c8df;
}

html:not(.dark) .tool-workspace textarea,
html:not(.dark) .diff-workspace textarea,
html:not(.dark) .tool-inline input,
html:not(.dark) .tool-inline select,
html:not(.dark) .tool-inline label select,
html:not(.dark) .tool-workspace pre,
html:not(.dark) .tool-inline pre,
html:not(.dark) .tool-runner-panel pre,
html:not(.dark) .speed-results span,
html:not(.dark) .diff-output p,
html:not(.dark) .vectorizer-preview > div,
html:not(.dark) .vectorizer-subscription article {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .ai-preview-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(14, 165, 233, 0.18), transparent 26%),
    radial-gradient(circle at 18% 84%, rgba(124, 58, 237, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.9));
}

html:not(.dark) .ai-preview-panel {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.1), transparent 46%),
    linear-gradient(315deg, rgba(124, 58, 237, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

html:not(.dark) .ai-preview-head strong {
  color: #0f172a;
}

html:not(.dark) .ai-preview-panel li {
  color: #334155;
  background: rgba(248, 250, 252, 0.74);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .vectorizer-subscription strong {
  color: #07111f;
}

html:not(.dark) .pro-worker-hero,
html:not(.dark) .pro-worker-grid article,
html:not(.dark) .pro-job-builder,
html:not(.dark) .pro-job-status,
html:not(.dark) .blueprint-hero,
html:not(.dark) .blueprint-panel {
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent 52%),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .pro-worker-hero h3,
html:not(.dark) .pro-worker-grid h4,
html:not(.dark) .pro-job-builder h4,
html:not(.dark) .pro-job-status strong,
html:not(.dark) .blueprint-hero h3,
html:not(.dark) .blueprint-panel-head strong,
html:not(.dark) .blueprint-steps strong,
html:not(.dark) .blueprint-status strong {
  color: #07111f;
}

html:not(.dark) .pro-worker-hero p,
html:not(.dark) .pro-worker-grid p,
html:not(.dark) .pro-worker-grid label,
html:not(.dark) .pro-form-grid label,
html:not(.dark) .pro-result-summary,
html:not(.dark) .pro-artifact-card p,
html:not(.dark) .pro-worker-engine-note,
html:not(.dark) .blueprint-hero p,
html:not(.dark) .blueprint-steps p,
html:not(.dark) .wallet-event-list span,
html:not(.dark) .token-pack-list small,
html:not(.dark) .subscription-choice small,
html:not(.dark) .pro-job-status small {
  color: #475569;
}

html:not(.dark) .pro-token-meter,
html:not(.dark) .pro-worker-grid input,
html:not(.dark) .pro-form-grid input,
html:not(.dark) .pro-job-builder textarea,
html:not(.dark) .token-pack-list button,
html:not(.dark) .subscription-choice,
html:not(.dark) .pro-file-picker,
html:not(.dark) .pro-selected-file,
html:not(.dark) .pro-artifact-card,
html:not(.dark) .wallet-event-list span,
html:not(.dark) .pro-worker-badges span,
html:not(.dark) .pro-job-pipeline span,
html:not(.dark) .blueprint-status,
html:not(.dark) .blueprint-steps article,
html:not(.dark) .blueprint-feature-row span,
html:not(.dark) .plan-status,
html:not(.dark) .plan-steps article,
html:not(.dark) .plan-feature-row span {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .pro-token-meter strong,
html:not(.dark) .token-pack-list button strong,
html:not(.dark) .subscription-choice strong,
html:not(.dark) .pro-file-picker strong,
html:not(.dark) .pro-selected-file strong,
html:not(.dark) .pro-artifact-card strong,
html:not(.dark) .wallet-event-list strong,
html:not(.dark) .pro-job-pipeline b,
html:not(.dark) .plan-status strong,
html:not(.dark) .plan-panel-head strong {
  color: #0369a1;
}

html:not(.dark) .pro-file-picker small {
  color: #475569;
}

html:not(.dark) .pro-file-picker.drag-active {
  border-color: rgba(14, 165, 233, 0.5);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(20, 184, 166, 0.08)), rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), 0 18px 45px rgba(15, 23, 42, 0.14);
}

html:not(.dark) .pro-job-pipeline span.done {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(13, 148, 136, 0.22);
}

@media (max-width: 1120px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-command {
    grid-template-columns: 1fr;
  }

  .tools-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .tools-access-strip {
    grid-template-columns: 1fr;
  }

  .tool-workspace,
  .diff-workspace {
    grid-template-columns: 1fr;
  }

  .pro-worker-hero,
  .pro-worker-grid,
  .pro-form-grid,
  .pro-job-status,
  .plan-hero,
  .plan-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tools-page {
    padding: 96px 14px 46px;
  }

  .tools-grid,
  .tool-inline,
  .speed-results,
  .vectorizer-controls,
  .vectorizer-preview,
  .vectorizer-subscription,
  .pro-actions,
  .token-pack-list {
    grid-template-columns: 1fr;
  }

  .tools-hero h1,
  .tools-hero > p:not(.eyebrow) {
    text-align: center;
  }

  .tools-command {
    width: 100%;
  }

  .tools-stats span {
    width: 100%;
  }

  .tool-card {
    min-height: auto;
    padding: 22px;
  }

  .tool-thumb {
    min-height: 134px;
  }

  .tool-card-head,
  .tool-runner-heading {
    gap: 14px;
  }

  .tool-icon {
    width: 56px;
    height: 56px;
    font-size: 13px;
  }

  .tools-tabs button {
    flex: 1 1 136px;
  }

  .diff-output p {
    grid-template-columns: 36px 1fr;
  }

  .diff-output em {
    grid-column: 2;
  }
}

html:not(.dark) .blog-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, 0.16), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(45, 212, 191, 0.12), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 52%, #f8fbff 100%);
}

html:not(.dark) .blog-hero-copy,
html:not(.dark) .blog-featured,
html:not(.dark) .blog-card {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 54%),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
}

html:not(.dark) .blog-hero-copy h1,
html:not(.dark) .blog-featured h2,
html:not(.dark) .blog-card h3 {
  color: #07111f;
}

html:not(.dark) .blog-hero-copy > p:not(.eyebrow),
html:not(.dark) .blog-featured p,
html:not(.dark) .blog-card p {
  color: #475569;
}

html:not(.dark) .blog-cms-pill,
html:not(.dark) .share-row a,
html:not(.dark) .share-row button {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.12);
}

html:not(.dark) .tag-row span {
  color: #075985;
  border-color: rgba(14, 165, 233, 0.22);
}

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

  .blog-hero-copy,
  .blog-featured {
    min-height: auto;
  }

  .blog-card img,
  .blog-card-art {
    min-height: 320px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .blog-page {
    padding: 96px 14px 46px;
  }

  .blog-hero-copy,
  .blog-featured,
  .blog-card-body {
    padding: 22px;
  }

  .blog-card img,
  .blog-card-art {
    min-height: 240px;
  }

  .share-row a,
  .share-row button {
    flex: 1 1 88px;
  }
}

body[data-page="hub"] .master-intro {
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.08), transparent 42%),
    #08111f;
}

body[data-page="hub"] .master-intro h2,
body[data-page="hub"] .master-intro p:not(.eyebrow) {
  color: #ffffff;
}

body[data-page="hub"] .intro-points article {
  background: rgba(15, 23, 42, 0.86);
}

body[data-page="hub"] .intro-points strong {
  color: #ffffff;
}

.doc-logo {
  width: min(520px, 100%);
  max-height: 240px;
  object-fit: contain;
  justify-self: end;
  filter: drop-shadow(0 24px 48px rgba(14, 165, 233, 0.28));
}

.rental-card img {
  object-position: center;
}

body[data-page="game-servers"] {
  background:
    radial-gradient(circle at 16% 8%, rgba(14, 165, 233, 0.22), transparent 34rem),
    radial-gradient(circle at 84% 14%, rgba(250, 204, 21, 0.13), transparent 30rem),
    linear-gradient(180deg, #050812 0%, #09111f 42%, #050812 100%);
  color: #e5edf7;
}

.games-page {
  padding: 108px clamp(18px, 4vw, 72px) 64px;
}

.games-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.games-hero-copy h1 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(56px, 8vw, 126px);
  line-height: 0.9;
  letter-spacing: 0;
}

.games-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: #aebdd1;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.games-hero-panel,
.game-card,
.game-mini,
.games-benefits article,
.games-package-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.games-hero-panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.games-hero-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.games-hero-panel::after,
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(2, 6, 23, 0.92));
  pointer-events: none;
}

.games-hero-panel > div {
  position: relative;
  z-index: 1;
  padding: 30px;
}

.games-hero-panel span,
.game-card span,
.game-mini span,
.games-benefits span,
.games-package-grid span {
  color: #38bdf8;
  font: 700 12px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

.games-hero-panel strong {
  display: block;
  margin: 10px 0;
  color: #ffffff;
  font-size: 28px;
}

.games-hero-panel p,
.game-card p,
.game-mini p,
.games-benefits p,
.games-package-grid p {
  color: #aebdd1;
  line-height: 1.6;
}

.games-benefits,
.games-grid,
.games-package-grid {
  display: grid;
  gap: 18px;
}

.games-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 34px 0 72px;
}

.games-benefits article,
.games-package-grid article {
  padding: 24px;
}

.games-benefits strong,
.games-package-grid h3 {
  display: block;
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 22px;
}

.games-catalog,
.games-packages {
  margin-top: 76px;
}

.games-grid.featured {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.game-card {
  min-height: 540px;
  display: flex;
  align-items: flex-end;
}

.game-card.hero-game {
  min-height: 620px;
}

.game-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease, opacity 450ms ease;
}

.game-card:hover img {
  transform: scale(1.04);
}

.game-card > div {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.game-card h3 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.02;
}

.game-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #06111f;
  background: #38bdf8;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
}

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

.game-mini img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.game-mini > div {
  padding: 20px;
}

.game-mini strong {
  display: block;
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: 22px;
}

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

.linuxgsm-section {
  margin-top: 76px;
}

.linuxgsm-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.18), transparent 52%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.94));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.linuxgsm-panel > div:first-child span {
  color: #38bdf8;
  font: 700 12px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.linuxgsm-panel strong {
  display: block;
  margin: 14px 0;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.05;
}

.linuxgsm-panel p {
  color: #aebdd1;
  line-height: 1.65;
}

.linuxgsm-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
}

.linuxgsm-tags span {
  display: inline-flex;
  padding: 11px 13px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.rentable-game-stack {
  display: grid;
  gap: 28px;
}

.rentable-game-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(320px, 0.72fr) minmax(360px, 0.9fr);
  gap: clamp(18px, 2.2vw, 30px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.32);
}

.rentable-game-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.76);
}

.rentable-game-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 600ms ease, opacity 600ms ease;
}

.rentable-game-card:hover .rentable-game-media img {
  transform: scale(1.045);
}

.rentable-game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(2, 6, 23, 0.92)),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.24), transparent 38%);
  pointer-events: none;
}

.rentable-game-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.rentable-game-overlay strong {
  color: #ffffff;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1;
}

.rentable-game-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(8px, 1vw, 16px);
}

.rentable-game-copy > span,
.rentable-game-overlay span,
.game-plan-card > span {
  color: #38bdf8;
  font: 800 11px/1.2 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.rentable-game-copy h3 {
  margin: 14px 0 12px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.98;
}

.rentable-game-copy p {
  margin: 0;
  color: #b6c7da;
  font-size: 16px;
  line-height: 1.7;
}

.game-chip-row,
.game-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.game-chip-row {
  margin-top: 18px;
}

.game-chip-row span {
  display: inline-flex;
  padding: 9px 11px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(8, 47, 73, 0.44);
  font-size: 12px;
  font-weight: 800;
}

.game-highlight-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.game-highlight-list li {
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
}

.game-highlight-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

.game-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.game-plan-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.game-plan-card[data-featured="true"] {
  border-color: rgba(56, 189, 248, 0.42);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(2, 6, 23, 0.7));
}

.game-plan-card h4 {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.05;
}

.game-plan-card strong {
  color: #e0f2fe;
  font-size: 14px;
  line-height: 1.3;
}

.game-plan-card p {
  flex: 1;
  margin: 12px 0 18px;
  color: #9fb2c8;
  font-size: 13px;
  line-height: 1.55;
}

.game-plan-card a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 999px;
  color: #06111f;
  background: #38bdf8;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-plan-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(56, 189, 248, 0.32);
}

.game-ops-showcase {
  position: relative;
  width: min(1500px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
  margin: 28px auto;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 18px;
  padding: clamp(24px, 4.4vw, 58px);
  background:
    radial-gradient(circle at 20% 14%, rgba(34, 211, 238, 0.2), transparent 32%),
    radial-gradient(circle at 88% 76%, rgba(168, 85, 247, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.98));
  box-shadow: 0 38px 130px rgba(0, 0, 0, 0.36);
}

.game-ops-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.16), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px);
  animation: sedona-scan 8s linear infinite;
}

.game-ops-visual,
.game-ops-copy {
  position: relative;
  z-index: 1;
}

.game-ops-visual {
  min-height: clamp(360px, 36vw, 540px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.game-ops-visual img {
  width: 112%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(-5%, -5%, 0);
  opacity: 0.86;
  animation: game-visual-pan 13s ease-in-out infinite;
}

.game-ops-radar {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 58%),
    conic-gradient(from 0deg, rgba(34, 211, 238, 0.5), transparent 26%, transparent);
  animation: sedona-spin 7s linear infinite;
}

.game-ops-radar span {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.85);
}

.game-ops-radar span:nth-child(1) { left: 24%; top: 38%; }
.game-ops-radar span:nth-child(2) { right: 20%; top: 24%; }
.game-ops-radar span:nth-child(3) { right: 30%; bottom: 22%; }

.game-ops-copy h2 {
  max-width: 760px;
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.game-ops-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #cbd5e1;
  line-height: 1.66;
}

.game-ops-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.game-ops-metrics article {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.1), transparent 58%),
    rgba(15, 23, 42, 0.78);
}

.game-ops-metrics article::after,
.game-plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62% 100%);
  transform: translateX(-110%);
  transition: opacity 220ms ease, transform 560ms ease;
}

.game-ops-metrics article:hover::after,
.game-plan-card:hover::after {
  opacity: 1;
  transform: translateX(110%);
}

.game-ops-metrics span {
  color: #67e8f9;
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.game-ops-metrics strong {
  display: block;
  margin: 14px 0 8px;
  color: #ffffff;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.05;
}

.game-ops-metrics p {
  margin: 0;
  color: #b6c7da;
  line-height: 1.5;
}

.rentable-game-card {
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease, box-shadow 420ms ease;
}

.rentable-game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(103, 232, 249, 0.34);
  box-shadow: 0 30px 110px rgba(14, 165, 233, 0.16);
}

.rentable-game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 18%, rgba(34, 211, 238, 0.22), transparent 28%),
    linear-gradient(180deg, transparent 24%, rgba(2, 6, 23, 0.82));
}

.rentable-game-media img {
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.rentable-game-card:hover .rentable-game-media img {
  transform: scale(1.08);
  filter: saturate(1.16) contrast(1.04);
}

.game-plan-card {
  position: relative;
  overflow: hidden;
}

.game-plan-card em {
  position: relative;
  z-index: 1;
  width: max-content;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  padding: 7px 9px;
  color: #67e8f9;
  background: rgba(8, 47, 73, 0.42);
  font: 900 10px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-style: normal;
}

.game-plan-card > * {
  position: relative;
  z-index: 1;
}

@keyframes game-visual-pan {
  0%, 100% {
    transform: translate3d(-5%, -5%, 0) scale(1);
  }
  50% {
    transform: translate3d(-10%, -7%, 0) scale(1.06);
  }
}

.specialist-games .rentable-game-card {
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
}

@media (max-width: 1080px) {
  .games-hero,
  .games-grid.featured,
  .compact-games,
  .games-package-grid,
  .linuxgsm-panel,
  .game-ops-showcase,
  .rentable-game-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .games-page {
    padding: 96px 14px 46px;
  }

  .games-hero {
    min-height: auto;
  }

  .games-hero-panel,
  .game-card,
  .game-card.hero-game {
    min-height: 420px;
  }

  .games-benefits {
    grid-template-columns: 1fr;
  }

  .rentable-game-media,
  .rentable-game-media img {
    min-height: 260px;
  }

  .rentable-game-overlay {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .game-ops-metrics {
    grid-template-columns: 1fr;
  }
}

.portal-page {
  min-height: 100vh;
  padding: 112px clamp(18px, 4vw, 72px) 72px;
  color: #e5edf7;
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, 0.22), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(34, 197, 94, 0.13), transparent 28rem),
    linear-gradient(180deg, #05070a 0%, #08111f 46%, #05070a 100%);
}

.portal-hero {
  width: min(1500px, 100%);
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.portal-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(54px, 7.6vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
}

.portal-hero p:not(.eyebrow),
.portal-roadmap .portfolio-heading p {
  max-width: 760px;
  color: #aebdd1;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.6;
}

.portal-api-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 18px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  padding: 0 14px;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  font: 800 12px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portal-api-pill[data-state="live"] {
  border-color: rgba(34, 197, 94, 0.42);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

.portal-api-pill[data-state="fallback"] {
  border-color: rgba(250, 204, 21, 0.42);
  color: #fef3c7;
  background: rgba(250, 204, 21, 0.1);
}

.portal-login-card,
.portal-shell,
.portal-panel,
.portal-service-card,
.portal-roadmap {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.88));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
}

.portal-login-card {
  padding: 26px;
}

.portal-login-card > span,
.portal-panel-head span,
.portal-service-card span,
.portal-sidebar strong,
.portal-invoice span,
.portal-timeline span {
  color: #38bdf8;
  font: 800 12px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portal-login-card h2 {
  margin: 12px 0 18px;
  color: #ffffff;
  font-size: 32px;
}

.portal-login-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.portal-login-card label span {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.portal-login-card input,
.portal-login-card select,
.portal-login-card textarea {
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #e5edf7;
  background: rgba(2, 6, 23, 0.7);
  font: inherit;
}

.portal-login-card textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.portal-form-status {
  margin: 12px 0 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.portal-form-status[data-state="success"] {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
}

.portal-form-status[data-state="error"] {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
}

.portal-login-card button:disabled,
.portal-action-row button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.portal-shell {
  width: min(1500px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
}

.portal-sidebar {
  padding: 22px;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.38);
}

.portal-sidebar strong {
  display: block;
  margin-bottom: 18px;
}

.portal-sidebar a {
  display: block;
  margin: 8px 0;
  padding: 12px;
  border-radius: 8px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.portal-dashboard {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.portal-summary,
.portal-service-grid,
.portal-flow,
.portal-timeline {
  display: grid;
  gap: 14px;
}

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

.portal-summary article,
.portal-flow article,
.portal-timeline article {
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.66);
}

.portal-summary span,
.portal-flow span {
  color: #67e8f9;
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.portal-summary strong,
.portal-timeline strong {
  display: block;
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: 22px;
}

.portal-summary p,
.portal-panel p,
.portal-service-card p,
.portal-flow p,
.portal-timeline p {
  color: #aebdd1;
  line-height: 1.6;
}

.portal-panel {
  padding: 22px;
}

.portal-panel.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 20px;
}

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

.portal-panel-head strong {
  color: #22c55e;
  font-size: 13px;
}

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

.portal-service-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.portal-service-card[data-state="ready"] {
  border-color: rgba(34, 197, 94, 0.34);
}

.portal-service-card[data-state="gated"] {
  border-color: rgba(245, 158, 11, 0.34);
}

.portal-service-card h3 {
  margin: 12px 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.05;
}

.portal-service-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.portal-service-card dl div {
  display: grid;
  gap: 5px;
}

.portal-service-card dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-service-card dd {
  margin: 0;
  color: #dbeafe;
  overflow-wrap: anywhere;
}

.portal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-action-row button {
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.portal-invoice {
  padding: 22px;
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.62);
}

.portal-invoice strong {
  display: block;
  margin: 10px 0;
  color: #ffffff;
  font-size: 42px;
}

.portal-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.portal-tools-pro {
  position: relative;
  overflow: hidden;
}

.portal-tools-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(168, 85, 247, 0.14), transparent 22rem);
}

.portal-tools-pro > * {
  position: relative;
  z-index: 1;
}

.portal-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.portal-tools-grid article {
  min-height: 150px;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(2, 6, 23, 0.5);
}

.portal-tools-grid span,
.portal-tools-detail li {
  color: #67e8f9;
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portal-tools-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
}

.portal-tools-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding-top: 18px;
}

.portal-tools-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-tools-detail li {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 10px 12px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.05);
  text-transform: none;
  line-height: 1.25;
}

.portal-roadmap {
  width: min(1500px, 100%);
  margin: 32px auto 0;
  padding: clamp(24px, 4vw, 48px);
}

.portal-timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

html:not(.dark) .portal-page {
  color: #0f172a;
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, 0.13), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(34, 197, 94, 0.09), transparent 28rem),
    #f7fbff;
}

html:not(.dark) .portal-login-card,
html:not(.dark) .portal-shell,
html:not(.dark) .portal-panel,
html:not(.dark) .portal-service-card,
html:not(.dark) .portal-roadmap {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.12);
}

html:not(.dark) .portal-hero h1,
html:not(.dark) .portal-login-card h2,
html:not(.dark) .portal-summary strong,
html:not(.dark) .portal-service-card h3,
html:not(.dark) .portal-timeline strong,
html:not(.dark) .portal-invoice strong,
html:not(.dark) .portal-tools-grid strong {
  color: #07111f;
}

html:not(.dark) .portal-hero p:not(.eyebrow),
html:not(.dark) .portal-panel p,
html:not(.dark) .portal-service-card p,
html:not(.dark) .portal-summary p,
html:not(.dark) .portal-flow p,
html:not(.dark) .portal-timeline p,
html:not(.dark) .portal-tools-detail p {
  color: #475569;
}

html:not(.dark) .portal-api-pill {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
}

html:not(.dark) .portal-api-pill[data-state="live"] {
  color: #166534;
  background: rgba(34, 197, 94, 0.1);
}

html:not(.dark) .portal-api-pill[data-state="fallback"] {
  color: #92400e;
  background: rgba(250, 204, 21, 0.16);
}

html:not(.dark) .portal-login-card input,
html:not(.dark) .portal-login-card select,
html:not(.dark) .portal-login-card textarea,
html:not(.dark) .portal-summary article,
html:not(.dark) .portal-flow article,
html:not(.dark) .portal-timeline article,
html:not(.dark) .portal-invoice,
html:not(.dark) .portal-tools-grid article {
  color: #0f172a;
  background: rgba(248, 250, 252, 0.86);
}

html:not(.dark) .portal-tools-detail li {
  color: #0f172a;
  background: rgba(14, 165, 233, 0.08);
}

html:not(.dark) .portal-form-status {
  color: #075985;
  background: rgba(14, 165, 233, 0.1);
}

html:not(.dark) .portal-form-status[data-state="success"] {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
}

html:not(.dark) .portal-form-status[data-state="error"] {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.1);
}

@media (max-width: 1120px) {
  .portal-hero,
  .portal-shell,
  .portal-panel.split,
  .portal-service-grid,
  .portal-flow,
  .portal-timeline,
  .portal-tools-grid,
  .portal-tools-detail {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

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

@media (max-width: 640px) {
  .portal-page {
    padding: 96px 14px 46px;
  }

  .portal-hero {
    min-height: auto;
  }

  .portal-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

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

@media (max-width: 920px) {
  body[data-page="hub"] .master-hero,
  body[data-page="hub"] .work-index {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .master-console {
    justify-self: start;
  }

  body[data-page="hub"] .master-rails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] .master-hero {
    min-height: auto;
    padding: 32px 18px;
  }

  body[data-page="hub"] .master-hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  body[data-page="hub"] .hero-actions {
    margin-bottom: 0;
  }

  body[data-page="hub"] .hero-proof {
    position: static;
  }

  body[data-page="hub"] .work-index {
    padding: 28px 16px;
  }

  body[data-page="hub"] .work-map,
  body[data-page="hub"] .master-rails {
    grid-template-columns: 1fr;
  }

  .doc-logo {
    justify-self: start;
    max-height: 180px;
  }
}

/* AAA landing pass: final hub composition layer */
body[data-page="hub"] .landing-master {
  position: relative;
  overflow: hidden;
  padding-top: clamp(104px, 10vw, 142px);
  background:
    linear-gradient(135deg, rgba(2, 132, 199, 0.16), transparent 28%),
    linear-gradient(42deg, transparent 55%, rgba(132, 204, 22, 0.13)),
    #02050a;
}

body[data-page="hub"] .landing-master::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

body[data-page="hub"] .master-hero {
  isolation: isolate;
  min-height: clamp(640px, 74vh, 780px);
  align-items: center;
  gap: clamp(28px, 4vw, 68px);
  border-radius: 18px;
  border-color: rgba(125, 211, 252, 0.24);
  background:
    linear-gradient(115deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.44) 52%, rgba(2, 6, 23, 0.86)),
    url("assets/showcase/sedona-command-center-v2.png") center / cover no-repeat;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body[data-page="hub"] .master-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.94) 0%, rgba(3, 7, 18, 0.62) 48%, rgba(3, 7, 18, 0.2) 100%),
    linear-gradient(135deg, transparent 44%, rgba(34, 197, 94, 0.18) 62%, transparent 82%),
    linear-gradient(28deg, transparent 58%, rgba(249, 115, 22, 0.14) 72%, transparent 92%);
}

body[data-page="hub"] .master-hero::after {
  opacity: 0.46;
  background:
    linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.32), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 9px);
  animation: sedona-scan 7s linear infinite;
}

body[data-page="hub"] .master-hero-media {
  position: absolute;
  inset: auto 34px 34px auto;
  width: min(38vw, 560px);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.82)),
    url("assets/showcase/hosting-control-room.png") center / cover no-repeat;
  box-shadow: 0 26px 84px rgba(0, 0, 0, 0.42);
  transform: perspective(1100px) rotateX(4deg) rotateY(-9deg);
  opacity: 0.82;
  animation: hero-panel-float 8s ease-in-out infinite;
}

body[data-page="hub"] .master-hero-copy {
  max-width: 680px;
}

body[data-page="hub"] .master-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 5.2vw, 84px);
  line-height: 0.98;
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

body[data-page="hub"] .master-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(17px, 1.18vw, 21px);
  line-height: 1.62;
  color: #d8e7f5;
}

body[data-page="hub"] .hero-proof span,
body[data-page="hub"] .master-rails a,
body[data-page="hub"] .identity-rail a,
body[data-page="hub"] .ecosystem-cards a,
body[data-page="hub"] .work-index,
body[data-page="hub"] .work-map a,
body[data-page="hub"] .portfolio-teaser,
body[data-page="hub"] .portfolio-teaser-grid a {
  backdrop-filter: blur(22px);
}

body[data-page="hub"] .identity-rail {
  width: min(1500px, calc(100% - 32px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="hub"] .identity-rail a {
  position: relative;
  min-height: 176px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.92));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

body[data-page="hub"] .identity-rail a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.18), transparent 40%, rgba(244, 114, 182, 0.13));
  opacity: 0;
  transition: opacity 260ms ease;
}

body[data-page="hub"] .identity-rail a:hover::before {
  opacity: 1;
}

body[data-page="hub"] .identity-rail img {
  position: absolute;
  inset: 16px 14px auto;
  width: calc(100% - 28px);
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(14, 165, 233, 0.2));
}

body[data-page="hub"] .identity-rail span,
body[data-page="hub"] .identity-rail strong {
  position: relative;
  z-index: 1;
}

body[data-page="hub"] .identity-rail span {
  color: #67e8f9;
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

body[data-page="hub"] .identity-rail strong {
  margin-top: 8px;
  color: #ffffff;
  font-size: 18px;
}

body[data-page="hub"] .ecosystem-showcase {
  width: min(1500px, calc(100% - 32px));
  margin: 78px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

body[data-page="hub"] .ecosystem-copy {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4.4vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.84)),
    url("assets/showcase/runtime-platform.png") center / cover no-repeat;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.36);
}

body[data-page="hub"] .ecosystem-copy h2 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.95;
  text-wrap: balance;
}

body[data-page="hub"] .ecosystem-copy p:not(.eyebrow) {
  max-width: 650px;
  color: #d5e3f3;
  font-size: 18px;
  line-height: 1.64;
}

body[data-page="hub"] .ecosystem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

body[data-page="hub"] .ecosystem-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="hub"] .ecosystem-cards a {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.3);
}

body[data-page="hub"] .ecosystem-cards a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(2, 6, 23, 0.9) 86%);
}

body[data-page="hub"] .ecosystem-cards img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 420ms ease, opacity 420ms ease;
}

body[data-page="hub"] .ecosystem-cards a:hover img {
  transform: scale(1.05);
  opacity: 0.88;
}

body[data-page="hub"] .ecosystem-cards span,
body[data-page="hub"] .ecosystem-cards strong,
body[data-page="hub"] .ecosystem-cards p {
  position: relative;
  z-index: 1;
}

body[data-page="hub"] .ecosystem-cards span {
  color: #67e8f9;
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

body[data-page="hub"] .ecosystem-cards strong {
  margin: 10px 0;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
}

body[data-page="hub"] .ecosystem-cards p {
  margin: 0;
  color: #d6e4f2;
  line-height: 1.55;
}

body[data-page="hub"] .portfolio-teaser-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="hub"] .portfolio-teaser-grid a {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

body[data-page="hub"] .portfolio-teaser-grid img {
  width: 100%;
  height: 108px;
  margin-bottom: 18px;
  object-fit: contain;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.16), transparent),
    rgba(2, 6, 23, 0.5);
}

@keyframes sedona-scan {
  0% {
    transform: translateX(-34%);
  }
  100% {
    transform: translateX(34%);
  }
}

body[data-page="hub"] [data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-page="hub"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-page="hub"] .command-layer-showcase {
  position: relative;
  width: min(1500px, calc(100% - 32px));
  margin: 78px auto 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 54px);
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.2), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(168, 85, 247, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.96));
  box-shadow: 0 36px 130px rgba(0, 0, 0, 0.36);
}

body[data-page="hub"] .command-layer-showcase::before,
body[data-page="hub"] .command-layer-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body[data-page="hub"] .command-layer-showcase::before {
  inset: -1px;
  opacity: 0.52;
  background:
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.2), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 84px);
  animation: command-grid-drift 12s linear infinite;
}

body[data-page="hub"] .command-layer-showcase::after {
  inset: auto 8% -46% 8%;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 64%);
  filter: blur(16px);
}

body[data-page="hub"] .command-layer-head,
body[data-page="hub"] .command-layer-grid {
  position: relative;
  z-index: 1;
}

body[data-page="hub"] .command-layer-head {
  max-width: 920px;
  margin-bottom: 28px;
}

body[data-page="hub"] .command-layer-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 4.6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

body[data-page="hub"] .command-layer-head p:not(.eyebrow) {
  max-width: 760px;
  color: #cfe0ef;
  font-size: 18px;
  line-height: 1.65;
}

body[data-page="hub"] .command-layer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
  align-items: stretch;
}

body[data-page="hub"] .command-layer-card {
  position: relative;
  min-height: clamp(420px, 42vw, 620px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.74);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
  transform: translateY(18px);
  animation: command-card-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}

body[data-page="hub"] .command-layer-card:nth-child(2) {
  margin-top: 42px;
}

body[data-page="hub"] .command-layer-card:nth-child(3) {
  margin-top: 86px;
}

body[data-page="hub"] .command-layer-card img {
  position: absolute;
  inset: 0;
  width: 112%;
  height: 112%;
  object-fit: cover;
  opacity: 0.78;
  transform: translate3d(-4%, -4%, 0) scale(1);
  transition: transform 850ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms ease, filter 420ms ease;
}

body[data-page="hub"] .command-layer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.04) 0%, rgba(2, 6, 23, 0.3) 42%, rgba(2, 6, 23, 0.94) 100%),
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.12), transparent 38%);
}

body[data-page="hub"] .command-layer-card:hover img {
  opacity: 0.94;
  filter: saturate(1.18) contrast(1.04);
  transform: translate3d(-8%, -7%, 0) scale(1.1);
}

body[data-page="hub"] .command-layer-card:hover {
  border-color: rgba(103, 232, 249, 0.42);
  box-shadow: 0 34px 120px rgba(14, 165, 233, 0.22);
}

body[data-page="hub"] .motion-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.55;
  background: linear-gradient(112deg, transparent 0 36%, rgba(255, 255, 255, 0.24) 48%, transparent 60% 100%);
  transform: translateX(-118%);
  animation: card-sheen 5.8s ease-in-out infinite;
  animation-delay: var(--delay);
}

body[data-page="hub"] .command-layer-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.78) 24%, rgba(2, 6, 23, 0.94));
}

body[data-page="hub"] .command-layer-body > span {
  width: max-content;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  color: #67e8f9;
  background: rgba(8, 47, 73, 0.48);
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

body[data-page="hub"] .command-layer-body strong {
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.02;
  text-wrap: balance;
}

body[data-page="hub"] .command-layer-body p {
  max-width: 540px;
  margin: 0;
  color: #d7e5f4;
  line-height: 1.58;
}

body[data-page="hub"] .command-layer-body div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

body[data-page="hub"] .command-layer-body em {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 8px 10px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.72);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
}

body[data-page="hub"] .decision-rail {
  width: min(1500px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: stretch;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(circle at 8% 12%, rgba(34, 211, 238, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.94));
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.3);
}

body[data-page="hub"] .decision-rail-head h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(30px, 3.3vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

body[data-page="hub"] .decision-rail-head p:not(.eyebrow) {
  color: #cbd5e1;
  line-height: 1.64;
}

body[data-page="hub"] .decision-rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="hub"] .decision-rail-grid a {
  position: relative;
  min-height: 270px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 14px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 58%),
    rgba(2, 6, 23, 0.58);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease, box-shadow 420ms ease;
}

body[data-page="hub"] .decision-rail-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62% 100%);
  transform: translateX(-110%);
  transition: opacity 220ms ease, transform 560ms ease;
}

body[data-page="hub"] .decision-rail-grid a:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(103, 232, 249, 0.34);
  box-shadow: 0 26px 86px rgba(14, 165, 233, 0.16);
}

body[data-page="hub"] .decision-rail-grid a:hover::before {
  opacity: 1;
  transform: translateX(110%);
}

body[data-page="hub"] .decision-rail-grid span,
body[data-page="hub"] .decision-rail-grid strong,
body[data-page="hub"] .decision-rail-grid p,
body[data-page="hub"] .decision-rail-grid em {
  position: relative;
  z-index: 1;
}

body[data-page="hub"] .decision-rail-grid span {
  color: #67e8f9;
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

body[data-page="hub"] .decision-rail-grid strong {
  margin: 16px 0 10px;
  color: #ffffff;
  font-size: clamp(19px, 1.5vw, 25px);
  line-height: 1.08;
}

body[data-page="hub"] .decision-rail-grid p {
  margin: 0 0 18px;
  color: #b6c7da;
  font-size: 14px;
  line-height: 1.5;
}

body[data-page="hub"] .decision-rail-grid em {
  width: max-content;
  border-radius: 999px;
  padding: 10px 12px;
  color: #021118;
  background: #22d3ee;
  font-style: normal;
  font-weight: 950;
}

body[data-page="hub"] .master-rails a,
body[data-page="hub"] .identity-rail a,
body[data-page="hub"] .ecosystem-cards a,
body[data-page="hub"] .landing-game-grid a,
body[data-page="hub"] .portfolio-teaser-grid a,
body[data-page="hub"] .work-map a {
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms ease,
    box-shadow 420ms ease,
    background 320ms ease;
}

body[data-page="hub"] .master-rails a:hover,
body[data-page="hub"] .identity-rail a:hover,
body[data-page="hub"] .ecosystem-cards a:hover,
body[data-page="hub"] .landing-game-grid a:hover,
body[data-page="hub"] .portfolio-teaser-grid a:hover,
body[data-page="hub"] .work-map a:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(103, 232, 249, 0.34);
  box-shadow: 0 26px 86px rgba(14, 165, 233, 0.16);
}

@keyframes hero-panel-float {
  0%, 100% {
    transform: perspective(1100px) rotateX(4deg) rotateY(-9deg) translate3d(0, 0, 0);
  }
  50% {
    transform: perspective(1100px) rotateX(2deg) rotateY(-5deg) translate3d(-8px, -12px, 0);
  }
}

@keyframes command-grid-drift {
  0% {
    transform: translateX(-8%);
  }
  100% {
    transform: translateX(8%);
  }
}

@keyframes command-card-rise {
  to {
    transform: translateY(0);
  }
}

@keyframes card-sheen {
  0%, 42% {
    transform: translateX(-118%);
  }
  72%, 100% {
    transform: translateX(118%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="hub"] [data-reveal],
  body[data-page="hub"] .master-hero-media,
  body[data-page="hub"] .command-layer-card,
  body[data-page="hub"] .motion-sheen {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  body[data-page="hub"] .command-layer-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .command-layer-card,
  body[data-page="hub"] .command-layer-card:nth-child(2),
  body[data-page="hub"] .command-layer-card:nth-child(3) {
    min-height: 420px;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  body[data-page="hub"] .command-layer-showcase {
    width: min(100% - 18px, 1500px);
    border-radius: 16px;
    padding: 18px;
  }

  body[data-page="hub"] .command-layer-head h2 {
    font-size: clamp(32px, 12vw, 48px);
  }

  body[data-page="hub"] .command-layer-card,
  body[data-page="hub"] .command-layer-card:nth-child(2),
  body[data-page="hub"] .command-layer-card:nth-child(3) {
    min-height: 460px;
  }

  body[data-page="hub"] .command-layer-card img {
    width: 128%;
    height: 108%;
  }

  body[data-page="hub"] .command-layer-body {
    padding: 20px;
  }
}

html:not(.dark) body[data-page="hub"] .landing-master {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent 34%),
    linear-gradient(40deg, transparent 55%, rgba(132, 204, 22, 0.12)),
    #f7fbff;
}

html:not(.dark) body[data-page="hub"] .master-hero {
  border-color: rgba(14, 116, 144, 0.2);
  background:
    linear-gradient(115deg, rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.55) 50%, rgba(219, 234, 254, 0.75)),
    url("assets/showcase/sedona-command-center-v2.png") center / cover no-repeat;
}

html:not(.dark) body[data-page="hub"] .master-hero::before {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.72) 50%, rgba(248, 250, 252, 0.32) 100%),
    linear-gradient(135deg, transparent 44%, rgba(20, 184, 166, 0.14) 62%, transparent 82%),
    linear-gradient(28deg, transparent 58%, rgba(245, 158, 11, 0.14) 72%, transparent 92%);
}

html:not(.dark) body[data-page="hub"] .master-hero h1,
html:not(.dark) body[data-page="hub"] .ecosystem-copy h2,
html:not(.dark) body[data-page="hub"] .identity-rail strong,
html:not(.dark) body[data-page="hub"] .ecosystem-cards strong {
  color: #07111f;
  text-shadow: none;
}

html:not(.dark) body[data-page="hub"] .master-hero-copy > p:not(.eyebrow),
html:not(.dark) body[data-page="hub"] .ecosystem-copy p:not(.eyebrow),
html:not(.dark) body[data-page="hub"] .ecosystem-cards p {
  color: #334155;
}

html:not(.dark) body[data-page="hub"] .identity-rail a,
html:not(.dark) body[data-page="hub"] .ecosystem-cards a {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 64px rgba(15, 23, 42, 0.12);
}

html:not(.dark) body[data-page="hub"] .ecosystem-cards a::after {
  background: linear-gradient(180deg, transparent 16%, rgba(255, 255, 255, 0.88) 82%);
}

html:not(.dark) body[data-page="hub"] .ecosystem-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.82)),
    url("assets/showcase/runtime-platform.png") center / cover no-repeat;
}

@media (max-width: 1180px) {
  body[data-page="hub"] .identity-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="hub"] .ecosystem-showcase,
  body[data-page="hub"] .portfolio-teaser-grid {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="hub"] .ecosystem-copy {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  body[data-page="hub"] .master-hero {
    min-height: auto;
  }

  body[data-page="hub"] .master-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 24px;
    transform: none;
  }

  body[data-page="hub"] .identity-rail,
  body[data-page="hub"] .ecosystem-showcase,
  body[data-page="hub"] .ecosystem-cards,
  body[data-page="hub"] .portfolio-teaser-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .identity-rail a {
    min-height: 150px;
  }
}

/* Landing audit pass: controlled professional scale */
body[data-page="hub"] .master-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  min-height: clamp(600px, 70vh, 740px);
  padding: clamp(38px, 4.8vw, 64px) clamp(30px, 5vw, 72px) clamp(52px, 5vw, 72px);
}

body[data-page="hub"] .master-hero-copy {
  max-width: 620px;
}

body[data-page="hub"] .master-hero h1 {
  max-width: 640px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

body[data-page="hub"] .master-hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  font-size: clamp(17px, 1.12vw, 20px);
}

body[data-page="hub"] .master-console {
  width: min(100%, 380px);
  max-height: 560px;
  padding: 14px;
  overflow: hidden;
}

body[data-page="hub"] .console-metrics {
  gap: 10px;
}

body[data-page="hub"] .console-metrics article {
  min-height: 66px;
  padding: 12px 14px;
}

body[data-page="hub"] .console-metrics strong {
  font-size: clamp(18px, 1.6vw, 24px);
}

body[data-page="hub"] .console-metrics p,
body[data-page="hub"] .console-products {
  display: none;
}

body[data-page="hub"] .console-flow {
  min-height: 158px;
  margin: 14px 0 0;
}

body[data-page="hub"] .master-rails a,
body[data-page="hub"] .identity-rail a {
  border-radius: 10px;
}

body[data-page="hub"] .ecosystem-showcase {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  margin-top: 56px;
}

body[data-page="hub"] .ecosystem-copy {
  min-height: 500px;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: 12px;
}

body[data-page="hub"] .ecosystem-copy h2 {
  max-width: 560px;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.04;
}

body[data-page="hub"] .ecosystem-copy p:not(.eyebrow) {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.58;
}

body[data-page="hub"] .ecosystem-cards {
  gap: 14px;
}

body[data-page="hub"] .ecosystem-cards a {
  min-height: 240px;
  padding: 18px;
  border-radius: 10px;
}

body[data-page="hub"] .ecosystem-cards strong {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.04;
}

body[data-page="hub"] .ecosystem-cards p {
  font-size: 14px;
  line-height: 1.48;
}

body[data-page="hub"] .work-index {
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(18px, 3vw, 38px);
  padding: clamp(34px, 4.4vw, 62px) clamp(18px, 3vw, 42px);
}

body[data-page="hub"] .work-index h2 {
  max-width: 520px;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.04;
}

body[data-page="hub"] .work-index p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.58;
}

body[data-page="hub"] .work-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="hub"] .work-map a,
body[data-page="hub"] .work-map article {
  min-height: 138px;
  padding: 18px;
  border-radius: 10px;
}

body[data-page="hub"] .work-map strong {
  margin-top: 12px;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.05;
}

body[data-page="hub"] .work-map p {
  font-size: 13px;
  line-height: 1.45;
}

body[data-page="hub"] .portfolio-teaser {
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(34px, 4.6vw, 64px);
}

body[data-page="hub"] .portfolio-teaser h2 {
  max-width: 560px;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.04;
}

body[data-page="hub"] .portfolio-teaser p {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.58;
}

body[data-page="hub"] .portfolio-teaser-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="hub"] .portfolio-teaser-grid a {
  min-height: 244px;
  padding: 16px;
  border-radius: 10px;
}

body[data-page="hub"] .portfolio-teaser-grid img {
  height: 92px;
  margin-bottom: 12px;
}

body[data-page="hub"] .portfolio-teaser-grid strong {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.08;
}

body[data-page="hub"] .portfolio-teaser-grid p {
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  body[data-page="hub"] .master-hero,
  body[data-page="hub"] .ecosystem-showcase,
  body[data-page="hub"] .work-index,
  body[data-page="hub"] .portfolio-teaser {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .master-console {
    width: min(100%, 520px);
    max-height: none;
  }

  body[data-page="hub"] .console-products {
    display: grid;
  }

  body[data-page="hub"] .work-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body[data-page="hub"] .landing-master {
    padding-top: 86px;
  }

  body[data-page="hub"] .master-hero {
    padding: 28px 18px 34px;
    border-radius: 12px;
  }

  body[data-page="hub"] .master-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1;
  }

  body[data-page="hub"] .master-console {
    display: none;
  }

  body[data-page="hub"] .work-map,
  body[data-page="hub"] .portfolio-teaser-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .ecosystem-copy,
  body[data-page="hub"] .ecosystem-cards a,
  body[data-page="hub"] .work-index,
  body[data-page="hub"] .portfolio-teaser {
    border-radius: 12px;
  }
}

/* Landing audit pass 2: tighter editorial hierarchy */
body[data-page="hub"] .master-hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 4.55vw, 60px);
  line-height: 1;
}

body[data-page="hub"] .ecosystem-copy h2,
body[data-page="hub"] .portfolio-teaser h2 {
  font-size: clamp(32px, 3.05vw, 46px);
  line-height: 1.08;
}

body[data-page="hub"] .work-index h2 {
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.08;
}

body[data-page="hub"] .portfolio-teaser {
  min-height: auto;
}

body[data-page="hub"] .portfolio-teaser-grid a {
  min-height: 230px;
}

body[data-page="hub"] .portfolio-teaser-grid p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-page="hub"] .work-map p,
body[data-page="hub"] .ecosystem-cards p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 720px) {
  body[data-page="hub"] .master-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  body[data-page="hub"] .ecosystem-copy h2,
  body[data-page="hub"] .portfolio-teaser h2 {
    font-size: clamp(30px, 9vw, 40px);
  }
}

/* Game hosting visibility pass */
body[data-page="hub"] .landing-game-hosting {
  width: min(1500px, calc(100% - 32px));
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(34px, 4.6vw, 64px);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.94));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.32);
}

body[data-page="hub"] .landing-game-grid,
.portfolio-game-catalog {
  display: grid;
  gap: 14px;
}

body[data-page="hub"] .landing-game-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.portfolio-game-catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="hub"] .landing-game-grid a,
.portfolio-game-catalog a {
  display: flex;
  min-height: 252px;
  flex-direction: column;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.94));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

body[data-page="hub"] .landing-game-grid img,
.portfolio-game-catalog img {
  width: 100%;
  height: 108px;
  flex: 0 0 108px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.72);
}

body[data-page="hub"] .landing-game-grid span,
.portfolio-game-catalog span {
  margin-top: 14px;
  color: #38bdf8;
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

body[data-page="hub"] .landing-game-grid strong,
.portfolio-game-catalog strong {
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.08;
}

body[data-page="hub"] .landing-game-grid p,
.portfolio-game-catalog p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #aebdd1;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portfolio-game-catalog {
  margin-top: 22px;
}

body[data-page="game-servers"] .compact-games {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

body[data-page="game-servers"] .game-mini {
  display: flex;
  min-height: 360px;
  flex-direction: column;
}

body[data-page="game-servers"] .game-mini img {
  display: block;
  width: 100%;
  height: 168px;
  flex: 0 0 168px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.16), transparent),
    rgba(2, 6, 23, 0.74);
}

body[data-page="game-servers"] .game-mini > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

@media (max-width: 1100px) {
  body[data-page="hub"] .landing-game-hosting {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .landing-game-grid,
  .portfolio-game-catalog,
  body[data-page="game-servers"] .compact-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="hub"] .landing-game-hosting {
    padding: 24px 16px;
  }

  body[data-page="hub"] .landing-game-grid,
  .portfolio-game-catalog,
  body[data-page="game-servers"] .compact-games {
    grid-template-columns: 1fr;
  }
}

.seo-tool-fallback {
  min-height: 100vh;
  padding: 120px 24px 72px;
  color: #e5eefb;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.18), transparent 34%),
    linear-gradient(145deg, #020617, #05070a);
}

.seo-tool-fallback section {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.78);
}

.seo-tool-fallback h1 {
  margin: 12px 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

.seo-tool-fallback p {
  max-width: 760px;
  color: #b6c7da;
  font-size: 18px;
  line-height: 1.65;
}

/* Final visual QA clamp: prevent oversized editorial headlines */
.portfolio-hero h1,
.blog-hero-copy h1,
.portal-hero h1,
.games-hero-copy h1,
.hero h1,
.product-hero h1,
.project-detail-hero h1,
.project-detail-hero h2 {
  max-width: 920px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
}

body[data-page="hub"] .landing-game-hosting h2,
.blog-featured h2 {
  max-width: 760px;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.12;
}

.construction-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 22%, rgba(16, 185, 255, 0.22), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(70, 255, 139, 0.16), transparent 30%),
    rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(18px);
}

.construction-modal-panel {
  width: min(560px, 100%);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(10, 18, 32, 0.96), rgba(17, 31, 54, 0.92));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f8fbff;
}

.construction-modal-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.14);
  color: #67e8f9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.construction-modal h2 {
  margin: 18px 0 10px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.construction-modal p {
  margin: 0;
  max-width: 48ch;
  color: rgba(226, 232, 240, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.construction-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.construction-modal .btn {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.72);
  font-weight: 900;
  cursor: pointer;
}

.construction-modal .btn.primary {
  border-color: transparent;
  color: #021118;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.24);
}

.construction-modal .btn.ghost {
  color: #dbeafe;
}

html:not(.dark) .construction-modal {
  background:
    radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.2), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(34, 197, 94, 0.14), transparent 30%),
    rgba(241, 245, 249, 0.72);
}

html:not(.dark) .construction-modal-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  color: #07111f;
}

html:not(.dark) .construction-modal p {
  color: rgba(15, 23, 42, 0.72);
}

html:not(.dark) .construction-modal .btn.ghost {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
}

.agent-maker-intro,
.agent-maker-proof {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.agent-maker-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: clamp(22px, 4vw, 62px);
  align-items: end;
  padding: clamp(56px, 7vw, 110px) 0 clamp(26px, 4vw, 54px);
}

.agent-maker-intro h1 {
  max-width: 1020px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.agent-maker-intro p:not(.eyebrow),
.agent-maker-signal p,
.agent-maker-proof p {
  color: var(--text-secondary);
  line-height: 1.68;
}

.agent-maker-intro > div > p:not(.eyebrow) {
  max-width: 820px;
  font-size: clamp(17px, 1.35vw, 21px);
}

.agent-maker-signal,
.agent-maker-proof article {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.12), transparent 58%),
    var(--surface);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.16);
}

.agent-maker-signal {
  padding: 26px;
}

.agent-maker-signal span,
.agent-maker-proof span {
  color: var(--primary);
  font: 900 12px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.agent-maker-signal strong {
  display: block;
  margin: 18px 0 12px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
}

.agent-maker-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.agent-maker-proof article {
  min-height: 210px;
  padding: 22px;
}

.agent-maker-proof strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

@media (max-width: 1080px) {
  .agent-maker-intro,
  .agent-maker-proof {
    grid-template-columns: 1fr;
  }
}

/* Action layer: give the landing page a clearer pulse and next step. */
body[data-page="hub"] .landing-master {
  position: relative;
}

.floating-action-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  display: grid;
  gap: 8px;
  width: 190px;
  padding: 12px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.72)),
    rgba(2, 6, 23, 0.74);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.floating-action-dock[data-visible="false"] {
  display: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
}

.floating-action-dock span {
  color: #67e8f9;
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.floating-action-dock a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.66);
  font-size: 13px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.floating-action-dock a::after {
  content: "->";
  color: #22d3ee;
}

.floating-action-dock a:hover {
  transform: translateX(-3px);
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(14, 165, 233, 0.16);
}

.action-strip,
.conversion-panel {
  width: min(1440px, calc(100% - 32px));
  margin: 16px auto 0;
}

.action-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.action-strip-head,
.action-grid a,
.conversion-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1), transparent 56%),
    rgba(15, 23, 42, 0.74);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

.action-strip-head {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: clamp(24px, 3vw, 38px);
}

.action-strip-head h2,
.conversion-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.action-grid a {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 24px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.action-grid a::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 68%);
  animation: sedona-pulse 3.6s ease-in-out infinite;
}

.action-grid a:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.46);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.18), transparent 56%),
    rgba(15, 23, 42, 0.86);
}

.action-grid span,
.action-grid em {
  color: #67e8f9;
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-style: normal;
}

.action-grid strong {
  color: #ffffff;
  font-size: clamp(20px, 1.7vw, 30px);
  line-height: 1.08;
}

.action-grid p,
.conversion-panel p {
  margin: 0;
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.64;
}

.action-grid em {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.58);
}

.conversion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
  margin-bottom: 64px;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 88% 28%, rgba(34, 211, 238, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.92));
}

.conversion-panel h2 {
  max-width: 880px;
  margin-bottom: 14px;
}

.conversion-panel p:not(.eyebrow) {
  max-width: 760px;
}

.conversion-actions {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.conversion-actions .primary-button,
.conversion-actions .ghost-button {
  justify-content: center;
  min-height: 52px;
}

@keyframes sedona-pulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.52;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

html:not(.dark) .action-strip-head,
html:not(.dark) .action-grid a,
html:not(.dark) .conversion-panel {
  border-color: rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

html:not(.dark) .action-strip-head h2,
html:not(.dark) .action-grid strong,
html:not(.dark) .conversion-panel h2 {
  color: #0f172a;
}

html:not(.dark) .action-grid p,
html:not(.dark) .conversion-panel p {
  color: #475569;
}

/* P0 tools: audit and hosting conversion layer */
.audit-command-bar {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(240px, 0.46fr);
  gap: 14px;
  align-items: stretch;
}

.audit-command-bar label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audit-command-bar label span,
.audit-mode-pill span {
  color: #38bdf8;
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.audit-mode-pill {
  display: flex;
  min-height: 62px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 10px;
  background: radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.2), transparent 48%), rgba(2, 6, 23, 0.72);
}

.audit-mode-pill strong {
  color: #ffffff;
  font-size: 15px;
}

.tool-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #06111f;
  background: #a7f3d0;
  font-weight: 900;
  text-decoration: none;
}

.audit-result-panel,
.infra-result-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent 48%), linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.94));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.audit-result-panel {
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
}

.audit-result-panel.audit-empty {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.audit-result-panel.audit-empty strong,
.infra-result-head strong {
  display: block;
  margin: 8px 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.02;
}

.audit-result-panel.audit-empty p,
.infra-result-head p {
  max-width: 720px;
  margin: 0;
  color: #aebdd1;
  line-height: 1.6;
}

.audit-score-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 22%, rgba(56, 189, 248, 0.28), transparent 48%), rgba(2, 6, 23, 0.72);
  text-align: center;
}

.audit-result-panel[data-score="good"] .audit-score-card {
  background: radial-gradient(circle at 50% 22%, rgba(34, 197, 94, 0.32), transparent 50%), rgba(2, 6, 23, 0.72);
}

.audit-result-panel[data-score="warn"] .audit-score-card {
  background: radial-gradient(circle at 50% 22%, rgba(250, 204, 21, 0.28), transparent 50%), rgba(2, 6, 23, 0.72);
}

.audit-result-panel[data-score="bad"] .audit-score-card {
  background: radial-gradient(circle at 50% 22%, rgba(248, 113, 113, 0.28), transparent 50%), rgba(2, 6, 23, 0.72);
}

.audit-score-card span,
.audit-result-head span,
.audit-priority-list > span,
.infra-result-head span {
  color: #38bdf8;
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.audit-score-card strong {
  margin: 12px 0 4px;
  color: #ffffff;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.9;
}

.audit-score-card p {
  margin: 0;
  color: #dbeafe;
  font-weight: 800;
}

.audit-score-card em {
  margin-top: 14px;
  color: #aebdd1;
  font-style: normal;
}

.audit-result-body {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
}

.audit-result-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.audit-result-head h3 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.02;
}

.audit-result-head a {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 12px 15px;
  border-radius: 999px;
  color: #06111f;
  background: #38bdf8;
  font-weight: 900;
}

.audit-check-grid,
.port-policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.audit-check-grid article,
.port-policy-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.56);
}

.audit-check-grid span,
.port-policy-grid span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.audit-check-grid strong,
.port-policy-grid strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
  color: #ffffff;
  font-size: 18px;
}

.audit-priority-list {
  display: grid;
  gap: 9px;
}

.audit-priority-list p {
  display: grid;
  grid-template-columns: 44px minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.55);
}

.audit-priority-list b {
  color: #38bdf8;
  font-family: "JetBrains Mono", monospace;
}

.audit-priority-list em {
  color: #aebdd1;
  font-style: normal;
  line-height: 1.45;
}

.audit-signal-row,
.recipe-feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audit-signal-row span,
.recipe-feature-grid span {
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(8, 47, 73, 0.42);
  font-size: 12px;
  font-weight: 900;
}

.infra-result-panel {
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  align-items: center;
}

.port-policy-grid article[data-conflict="true"] {
  border-color: rgba(250, 204, 21, 0.38);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.12), rgba(2, 6, 23, 0.62));
}

.port-policy-grid p {
  margin: 8px 0 0;
  color: #aebdd1;
  font: 700 12px/1.3 "JetBrains Mono", monospace;
}

html:not(.dark) .audit-result-panel,
html:not(.dark) .infra-result-panel,
html:not(.dark) .audit-mode-pill,
html:not(.dark) .audit-score-card,
html:not(.dark) .audit-check-grid article,
html:not(.dark) .port-policy-grid article,
html:not(.dark) .audit-priority-list p {
  background: rgba(255, 255, 255, 0.86);
}

html:not(.dark) .audit-mode-pill strong,
html:not(.dark) .audit-result-panel.audit-empty strong,
html:not(.dark) .infra-result-head strong,
html:not(.dark) .audit-score-card strong,
html:not(.dark) .audit-result-head h3,
html:not(.dark) .audit-check-grid strong,
html:not(.dark) .port-policy-grid strong {
  color: #07111f;
}

html:not(.dark) .audit-result-panel.audit-empty p,
html:not(.dark) .infra-result-head p,
html:not(.dark) .audit-score-card em,
html:not(.dark) .audit-priority-list em {
  color: #475569;
}

@media (max-width: 980px) {
  .audit-command-bar,
  .audit-result-panel,
  .audit-result-panel.audit-empty,
  .infra-result-panel {
    grid-template-columns: 1fr;
  }

  .audit-check-grid,
  .port-policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .audit-result-head {
    flex-direction: column;
  }

  .audit-check-grid,
  .port-policy-grid {
    grid-template-columns: 1fr;
  }

  .audit-priority-list p {
    grid-template-columns: 34px 1fr;
  }

  .audit-priority-list em {
    grid-column: 2;
  }
}

@media (max-width: 1180px) {
  .floating-action-dock {
    display: none;
  }

  .action-strip,
  .conversion-panel {
    grid-template-columns: 1fr;
  }

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

  .conversion-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .action-strip,
  .conversion-panel {
    width: min(100% - 24px, 1440px);
  }

  .action-grid,
  .conversion-actions {
    grid-template-columns: 1fr;
  }

  .action-strip-head,
  .action-grid a {
    min-height: 210px;
    padding: 22px;
  }

  .conversion-panel {
    margin-bottom: 42px;
    padding: 22px;
  }
}

/* P0 trust and tools platform polish */
body[data-page="hub"] .launch-cockpit {
  width: min(1500px, calc(100% - 32px));
  margin: 78px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

body[data-page="hub"] .launch-cockpit-copy,
body[data-page="hub"] .launch-pillars a,
body[data-page="hub"] .trust-metrics article,
.tool-lanes article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.94)),
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.2), transparent 38%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

body[data-page="hub"] .launch-cockpit-copy {
  min-height: 320px;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

body[data-page="hub"] .launch-cockpit-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.24;
  pointer-events: none;
}

body[data-page="hub"] .launch-cockpit-copy > * {
  position: relative;
  z-index: 1;
}

body[data-page="hub"] .launch-cockpit-copy h2 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

body[data-page="hub"] .launch-cockpit-copy p:not(.eyebrow) {
  max-width: 820px;
  color: #c8d8ea;
  font-size: 17px;
  line-height: 1.68;
}

body[data-page="hub"] .launch-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="hub"] .launch-pillars a {
  min-height: 390px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body[data-page="hub"] .launch-pillars a::before,
.tool-lanes article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(34, 211, 238, 0.18), transparent 45%),
    linear-gradient(24deg, transparent 52%, rgba(244, 114, 182, 0.14));
  opacity: 0.8;
  pointer-events: none;
}

body[data-page="hub"] .launch-pillars a:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: 0 34px 110px rgba(8, 47, 73, 0.42);
}

body[data-page="hub"] .launch-pillars span,
body[data-page="hub"] .launch-pillars strong,
body[data-page="hub"] .launch-pillars p,
.tool-lanes span,
.tool-lanes h2,
.tool-lanes p {
  position: relative;
  z-index: 1;
}

body[data-page="hub"] .launch-pillars span,
.tool-lanes span {
  width: max-content;
  padding: 8px 10px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(8, 47, 73, 0.36);
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

body[data-page="hub"] .launch-pillars strong {
  max-width: 280px;
  margin: 18px 0 12px;
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.04;
}

body[data-page="hub"] .launch-pillars p {
  margin: 0;
  color: #aec1d5;
  font-size: 14px;
  line-height: 1.58;
}

body[data-page="hub"] .trust-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="hub"] .trust-metrics article {
  min-height: 168px;
  padding: 22px;
}

body[data-page="hub"] .trust-metrics strong {
  display: block;
  color: #ffffff;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 0.9;
}

body[data-page="hub"] .trust-metrics span {
  display: block;
  margin-top: 14px;
  color: #67e8f9;
  font: 800 12px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

body[data-page="hub"] .trust-metrics p {
  margin: 10px 0 0;
  color: #a9bbce;
  font-size: 14px;
  line-height: 1.55;
}

.tool-lanes {
  width: min(1500px, calc(100% - 32px));
  margin: 18px auto 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-lanes article {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tool-lanes h2 {
  max-width: 360px;
  margin: 18px 0 12px;
  color: #ffffff;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.04;
  letter-spacing: 0;
}

.tool-lanes p {
  margin: 0;
  color: #b3c5d8;
  font-size: 15px;
  line-height: 1.62;
}

html:not(.dark) body[data-page="hub"] .launch-cockpit-copy,
html:not(.dark) body[data-page="hub"] .launch-pillars a,
html:not(.dark) body[data-page="hub"] .trust-metrics article,
html:not(.dark) .tool-lanes article {
  border-color: rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.88)),
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.15), transparent 42%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

html:not(.dark) body[data-page="hub"] .launch-cockpit-copy h2,
html:not(.dark) body[data-page="hub"] .launch-pillars strong,
html:not(.dark) body[data-page="hub"] .trust-metrics strong,
html:not(.dark) .tool-lanes h2 {
  color: #0f172a;
}

html:not(.dark) body[data-page="hub"] .launch-cockpit-copy p:not(.eyebrow),
html:not(.dark) body[data-page="hub"] .launch-pillars p,
html:not(.dark) body[data-page="hub"] .trust-metrics p,
html:not(.dark) .tool-lanes p {
  color: #475569;
}

html:not(.dark) body[data-page="hub"] .decision-rail {
  background:
    radial-gradient(circle at 8% 12%, rgba(14, 165, 233, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.84));
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

html:not(.dark) body[data-page="hub"] .decision-rail-head h2,
html:not(.dark) body[data-page="hub"] .decision-rail-grid strong {
  color: #0f172a;
}

html:not(.dark) body[data-page="hub"] .decision-rail-head p:not(.eyebrow),
html:not(.dark) body[data-page="hub"] .decision-rail-grid p {
  color: #475569;
}

html:not(.dark) body[data-page="hub"] .decision-rail-grid a {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1), transparent 58%),
    rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.1);
}

@media (max-width: 1100px) {
  body[data-page="hub"] .launch-cockpit,
  body[data-page="hub"] .decision-rail,
  body[data-page="hub"] .launch-pillars,
  body[data-page="hub"] .trust-metrics,
  .tool-lanes {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .decision-rail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="hub"] .launch-pillars a,
  .tool-lanes article {
    min-height: 230px;
  }
}

@media (max-width: 720px) {
  body[data-page="hub"] .launch-cockpit,
  body[data-page="hub"] .decision-rail,
  .tool-lanes {
    width: min(100% - 24px, 1500px);
  }

  body[data-page="hub"] .launch-cockpit-copy,
  body[data-page="hub"] .decision-rail,
  body[data-page="hub"] .decision-rail-grid a,
  body[data-page="hub"] .launch-pillars a,
  body[data-page="hub"] .trust-metrics article,
  .tool-lanes article {
    border-radius: 12px;
    padding: 20px;
  }

  body[data-page="hub"] .decision-rail-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="hub"] .launch-cockpit-copy h2 {
    font-size: clamp(31px, 9vw, 42px);
  }
}

/* Tool detail pages and 3D category carousel */
.tool-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tool-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.tool-card-actions a,
.tool-card-actions button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
}

.tool-card-actions a {
  color: #dbeafe;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
}

.tool-card-actions button {
  border: 0;
  color: #021118;
  background: #10c8df;
  cursor: pointer;
}

.tool-carousel-section,
.tool-detail-page {
  width: min(1560px, calc(100% - 32px));
  margin: 0 auto;
}

.tool-carousel-heading {
  max-width: 980px;
  margin: 0 auto 20px;
  text-align: center;
  display: grid;
  justify-items: center;
}

.tool-carousel-heading h2 {
  width: 100%;
  margin: 8px 0 10px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  text-align: center;
}

.tool-carousel-heading p:not(.eyebrow) {
  max-width: 820px;
  margin: 0 auto;
  color: #b6c7da;
  line-height: 1.62;
}

.tool-carousel-viewport {
  position: relative;
  height: clamp(500px, 58vh, 610px);
  min-height: 500px;
  overscroll-behavior: contain;
  touch-action: none;
  overflow: hidden;
  cursor: grab;
  perspective: 1400px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.34), rgba(2, 6, 23, 0.78));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.32);
}

.tool-carousel-viewport:active {
  cursor: grabbing;
}

.tool-carousel-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.tool-carousel-stage .tool-card {
  position: absolute;
  width: min(330px, 76vw);
  min-height: 392px;
  height: 392px;
  max-height: none;
  left: 50%;
  top: 50%;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--card-opacity, 0.72);
  z-index: calc(var(--card-depth, 1));
  transform:
    translate3d(calc(-50% + var(--card-x, 0px)), -50%, var(--card-z, 0px))
    rotateY(var(--card-rotate, 0deg))
    scale(var(--card-scale, 0.82));
  transform-origin: center;
  transition: transform 320ms ease, opacity 320ms ease, filter 320ms ease, border-color 220ms ease;
  filter: saturate(0.9) brightness(0.86) blur(var(--card-blur, 0px));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.74)),
    rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(24px);
}

.tool-carousel-stage .tool-thumb {
  min-height: 104px;
  padding: 12px;
}

.tool-carousel-stage .tool-thumb strong {
  font-size: clamp(24px, 2.5vw, 34px);
}

.tool-carousel-stage .tool-icon {
  width: 46px;
  height: 46px;
  font-size: 14px;
}

.tool-carousel-stage .tool-card-head {
  gap: 12px;
  align-items: center;
}

.tool-carousel-stage .tool-card h2 {
  margin: 0 0 6px;
  font-size: clamp(17px, 1.35vw, 21px);
}

.tool-carousel-stage .tool-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12.5px;
  line-height: 1.42;
}

.tool-carousel-stage .tool-help {
  display: none;
}

.tool-carousel-stage .tool-card-actions {
  display: none;
  margin-top: auto;
  position: sticky;
  bottom: 0;
}

.tool-carousel-stage .tool-card.active .tool-card-actions {
  display: grid;
}

.tool-carousel-stage .tool-card:not(.active) {
  filter: saturate(0.68) brightness(0.72) blur(var(--card-blur, 1px));
}

.tool-carousel-stage .tool-card.active {
  z-index: 20;
  width: min(370px, 84vw);
  min-height: 464px;
  height: 464px;
  pointer-events: auto;
  filter: saturate(1.15) brightness(1);
  border-color: rgba(34, 211, 238, 0.5);
  transform:
    translate3d(calc(-50% + var(--card-x, 0px)), -50%, var(--card-z, 90px))
    rotateY(var(--card-rotate, 0deg))
    scale(var(--card-scale, 1));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(34, 211, 238, 0.18) inset;
}

.tool-carousel-stage .tool-card.active p {
  -webkit-line-clamp: 2;
  font-size: 13px;
}

.tool-carousel-stage .tool-card.active .tool-thumb {
  min-height: 120px;
}

.tool-carousel-stage .tool-card.active .tool-icon {
  width: 56px;
  height: 56px;
}

.tool-carousel-stage .tool-card.active .tool-card-actions {
  position: relative;
  z-index: 4;
}


.tool-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 18px 0 30px;
}

.tool-carousel-controls button,
.tool-carousel-controls span {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  font-weight: 900;
}

.tool-carousel-controls button {
  cursor: pointer;
}

.tool-carousel-empty {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  text-align: center;
  background: rgba(15, 23, 42, 0.7);
}

.tool-detail-page {
  padding-bottom: 80px;
}

.tool-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
  margin-top: 26px;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 28%, rgba(34, 211, 238, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.76)),
    url("assets/showcase/runtime-platform.png") center / cover no-repeat;
  box-shadow: 0 44px 140px rgba(0, 0, 0, 0.42);
}

.tool-detail-copy h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  color: #ffffff;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.tool-detail-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: #d3e1f0;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.66;
}

.tool-detail-promise {
  padding-left: 18px;
  border-left: 3px solid rgba(34, 211, 238, 0.72);
}

.tool-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.tool-detail-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 950;
}

.tool-detail-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.tool-detail-visual .tool-thumb {
  width: min(430px, 100%);
  min-height: 300px;
  border-radius: 18px;
  transform: perspective(1000px) rotateX(7deg) rotateY(-11deg);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.38);
}

.tool-detail-visual .tool-thumb strong {
  font-size: clamp(54px, 7vw, 96px);
}

.tool-orbit {
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 50%;
  animation: sedona-spin 18s linear infinite;
}

.tool-orbit span {
  position: absolute;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(2, 6, 23, 0.72);
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.tool-orbit span:nth-child(1) { left: 4%; top: 18%; }
.tool-orbit span:nth-child(2) { right: -2%; top: 48%; }
.tool-orbit span:nth-child(3) { left: 28%; bottom: -4%; }

.tool-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.tool-detail-grid article,
.tool-workflow-section,
.tool-feature-band,
.tool-commercial-panel,
.related-tools {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.08), transparent 58%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}

.tool-detail-grid article {
  min-height: 310px;
  padding: 26px;
}

.tool-detail-grid article > span {
  color: #67e8f9;
  font: 900 12px/1 "JetBrains Mono", monospace;
}

.tool-detail-grid h2,
.tool-workflow-section h2 {
  margin: 16px 0 12px;
  color: #ffffff;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.06;
  letter-spacing: 0;
}

.tool-detail-grid p,
.tool-detail-grid li,
.tool-workflow-section p,
.tool-workflow-section li {
  color: #b6c7da;
  line-height: 1.66;
}

.tool-detail-grid ul {
  margin: 0;
  padding-left: 18px;
}

.tool-workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  margin-top: 22px;
  padding: clamp(26px, 4vw, 52px);
}

.tool-workflow-section ol {
  margin: 0;
  padding-left: 22px;
}

.tool-workflow-section li + li {
  margin-top: 14px;
}

.tool-feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), transparent 58%),
    rgba(15, 23, 42, 0.82);
}

.tool-feature-band article {
  min-height: 142px;
  padding: 24px;
  background: rgba(2, 6, 23, 0.28);
}

.tool-feature-band span {
  color: #67e8f9;
  font: 900 12px/1 "JetBrains Mono", monospace;
}

.tool-feature-band strong {
  display: block;
  margin-top: 18px;
  color: #f8fafc;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.18;
}

.tool-output-section,
.tool-policy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  margin-top: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), transparent 52%),
    rgba(2, 6, 23, 0.7);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

.tool-output-section h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.tool-output-section p,
.tool-policy-band p {
  color: #b6c7da;
  line-height: 1.66;
}

.tool-output-card {
  display: grid;
  gap: 10px;
  align-content: center;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.78);
}

.tool-output-card > span,
.tool-policy-band article > span {
  width: max-content;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  color: #67e8f9;
  background: rgba(8, 47, 73, 0.42);
  font: 900 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.tool-output-card p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 54px;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(2, 6, 23, 0.42);
}

.tool-output-card strong,
.tool-policy-band strong {
  color: #f8fafc;
  font-weight: 950;
}

.tool-output-card em {
  color: #b6c7da;
  font-style: normal;
  line-height: 1.45;
}

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

.tool-policy-band article {
  display: grid;
  gap: 12px;
}

.tool-commercial-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(26px, 4vw, 52px);
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.94));
}

.tool-commercial-panel h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.tool-commercial-panel p:not(.eyebrow) {
  max-width: 820px;
  color: #b6c7da;
  line-height: 1.68;
}

.tool-commercial-stack {
  display: grid;
  gap: 10px;
}

.tool-commercial-stack span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  font-weight: 900;
}

.tool-commercial-stack span::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.74);
}

.detail-runner {
  margin-top: 22px;
}

.related-tools {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 44px);
}

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

.related-tools-grid .tool-card {
  min-height: 500px;
  padding: 22px;
}

@keyframes sedona-spin {
  to { transform: rotate(360deg); }
}

html:not(.dark) .tool-carousel-heading h2,
html:not(.dark) .tool-detail-copy h1,
html:not(.dark) .tool-detail-grid h2,
html:not(.dark) .tool-workflow-section h2,
html:not(.dark) .tool-output-section h2 {
  color: #0f172a;
}

html:not(.dark) .tool-detail-copy > p:not(.eyebrow),
html:not(.dark) .tool-carousel-heading p:not(.eyebrow),
html:not(.dark) .tool-detail-grid p,
html:not(.dark) .tool-detail-grid li,
html:not(.dark) .tool-workflow-section p,
html:not(.dark) .tool-workflow-section li,
html:not(.dark) .tool-output-section p,
html:not(.dark) .tool-policy-band p,
html:not(.dark) .tool-output-card em,
html:not(.dark) .tool-commercial-panel p:not(.eyebrow) {
  color: #475569;
}

html:not(.dark) .tool-commercial-panel h2,
html:not(.dark) .tool-output-card strong,
html:not(.dark) .tool-policy-band strong,
html:not(.dark) .tool-feature-band strong {
  color: #0f172a;
}

html:not(.dark) .tool-feature-band article {
  background: rgba(255, 255, 255, 0.48);
}

html:not(.dark) .tool-commercial-stack span {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
}

html:not(.dark) .tool-carousel-viewport,
html:not(.dark) .tool-detail-hero,
html:not(.dark) .tool-detail-grid article,
html:not(.dark) .tool-workflow-section,
html:not(.dark) .tool-output-section,
html:not(.dark) .tool-policy-band,
html:not(.dark) .related-tools {
  border-color: rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.84)),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 38%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

html:not(.dark) .tool-output-card,
html:not(.dark) .tool-output-card p {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
  .tool-detail-hero,
  .tool-detail-grid,
  .tool-workflow-section,
  .tool-feature-band,
  .tool-commercial-panel,
  .tool-output-section,
  .tool-policy-band,
  .related-tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-detail-hero {
    min-height: auto;
  }

  .tool-carousel-stage .tool-card {
    width: min(290px, 74vw);
    min-height: 360px;
    height: 360px;
    max-height: 360px;
    left: 50%;
    top: 50%;
  }

}

@media (max-width: 720px) {
  .tool-carousel-section,
  .tool-detail-page {
    width: min(100% - 24px, 1560px);
  }

  .tools-token-showcase,
  .tools-token-lanes {
    grid-template-columns: 1fr;
  }

  .tools-token-lanes article {
    min-height: 170px;
  }

  .tool-carousel-viewport {
    min-height: 500px;
    height: 520px;
  }

  .tool-carousel-stage .tool-card {
    width: min(250px, 76vw);
    min-height: 340px;
    height: 340px;
    max-height: 340px;
    left: 50%;
    top: 50%;
  }

  .tool-carousel-stage .tool-card.active {
    width: min(300px, 84vw);
    min-height: 430px;
    height: 430px;
    left: 50%;
    top: 50%;
  }

  .tool-detail-hero {
    padding: 22px;
    border-radius: 14px;
  }

  .tool-detail-copy h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .tool-output-card p {
    grid-template-columns: 1fr;
  }

  .tool-detail-visual {
    min-height: 360px;
  }

  .tool-feature-band article {
    min-height: 112px;
  }

  .tool-commercial-panel {
    padding: 22px;
  }

  .tool-orbit {
    inset: 24px;
  }
}

/* Site-wide audit pass: professional hero scale */
.portfolio-hero,
.blog-hero-copy,
.portal-hero,
.games-hero {
  min-height: auto;
}

.portfolio-hero h1,
.blog-hero-copy h1,
.portal-hero h1,
.games-hero-copy h1,
.hero h1,
.product-hero h1,
.project-detail-hero h1,
.project-detail-hero h2,
.service-hero h1,
.split-hero h1,
.demo-hero h1,
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.portfolio-heading h2,
.portfolio-teaser h2,
.blog-featured h2,
.section-heading h2,
body[data-page="hub"] .landing-game-hosting h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

body[data-page="hub"] .landing-game-hosting {
  grid-template-columns: 1fr;
}

body[data-page="hub"] .landing-game-hosting .portfolio-teaser-copy {
  max-width: 900px;
}

.blog-hero-copy {
  min-height: 420px;
}

.games-hero {
  min-height: 520px;
}

.portal-hero {
  min-height: 460px;
}

@media (max-width: 1100px) {
  body[data-page="hub"] .landing-game-hosting {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .portfolio-hero h1,
  .blog-hero-copy h1,
  .portal-hero h1,
  .games-hero-copy h1,
  .hero h1,
  .product-hero h1,
  .project-detail-hero h1,
  .project-detail-hero h2,
  .service-hero h1,
  .split-hero h1,
  .demo-hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.04;
  }
}

/* Final visual QA clamp: this block intentionally wins over older hero layers. */
.portfolio-hero h1,
.blog-hero-copy h1,
.portal-hero h1,
.games-hero-copy h1,
.hero h1,
.product-hero h1,
.project-detail-hero h1,
.project-detail-hero h2 {
  max-width: 920px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

body[data-page="hub"] .landing-game-hosting {
  grid-template-columns: 1fr;
}

body[data-page="hub"] .landing-game-hosting .portfolio-teaser-copy {
  max-width: 900px;
}

body[data-page="hub"] .landing-game-hosting h2,
.blog-featured h2 {
  max-width: 760px;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.12;
}
