:root {
  --bg-primary: #1a1a20;
  --bg-secondary: #222228;
  --bg-card: #2a2a31;
  --bg-card-hover: #333340;
  --bg-deep: #161619;
  --gold: #d4a853;
  --gold-light: #e8c778;
  --gold-dark: #b8923e;
  --red: #dc2626;
  --red-light: #ef4444;
  --green: #22c55e;
  --green-light: #4ade80;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: #3a3a44;
  --border-light: #52525e;
  --gold-tint: rgba(212, 168, 83, 0.1);
  --gold-line: rgba(212, 168, 83, 0.3);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-medium: 0 2px 4px rgba(0, 0, 0, 0.5), 0 16px 48px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 0 0 1px rgba(212, 168, 83, 0.18), 0 12px 40px rgba(212, 168, 83, 0.18);
  --shadow-gold-strong: 0 0 0 1px rgba(212, 168, 83, 0.32), 0 18px 60px rgba(212, 168, 83, 0.28);
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 56px;
  --space-2xl: 96px;
  --max-width: 1280px;
  --header-height: 82px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-primary);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text-primary);
  background:
    linear-gradient(rgba(212, 168, 83, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse 80% 52% at 50% -20%, rgba(212, 168, 83, 0.2), transparent 62%),
    radial-gradient(ellipse 58% 42% at 100% 24%, rgba(220, 38, 38, 0.12), transparent 62%),
    var(--bg-primary);
  background-size: 60px 60px, 60px 60px, 100% 900px, 100% 820px, 100% 100%;
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  transform: translateY(-140%);
  transition: transform 180ms var(--ease-smooth);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.section-large {
  padding: var(--space-2xl) 0;
}

.section-medium {
  padding: var(--space-xl) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(26, 26, 32, 0.9);
  border-bottom: 1px solid rgba(58, 58, 68, 0.82);
  backdrop-filter: blur(20px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  content: "EA";
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 9px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(212, 168, 83, 0.16);
  margin-right: 12px;
}

.brand-empire,
.brand-automate {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.brand-empire::after {
  content: "\00a0";
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 36px);
  flex: 1 1 auto;
}

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms var(--ease-smooth);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.active {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth);
}

.btn span {
  min-width: 0;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-smooth);
}

.btn-primary {
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-strong);
}

.btn-secondary {
  color: var(--text-primary);
  background: transparent;
  border-color: var(--border-light);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn:hover svg,
.btn:focus-visible svg,
.text-link:hover svg,
.text-link:focus-visible svg {
  transform: translateX(3px);
}

:focus-visible {
  outline: 3px solid rgba(212, 168, 83, 0.7);
  outline-offset: 4px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms var(--ease-smooth), opacity 180ms var(--ease-smooth);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(58, 58, 68, 0.64);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 168, 83, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.075) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 92% 74% at 52% 28%, black, transparent);
}

.hero.section-large {
  padding: 88px 0 64px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.hero-copy {
  max-width: 940px;
}

.hero-support {
  max-width: 780px;
}

.hero-mockup-shell {
  display: grid;
  justify-self: center;
  gap: 14px;
  width: min(1240px, 100%);
  margin: 12px auto 0;
}

.hub-mockup-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 10px;
}

.hub-mockup-heading p {
  margin: 0 0 5px;
  color: var(--gold-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hub-mockup-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--text-primary);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

@media (max-width: 680px) {
  .hero-mockup-shell {
    gap: 12px;
    margin-top: 4px;
  }

  .hub-mockup-heading {
    align-items: flex-start;
    padding: 0 2px;
  }

  .hub-mockup-heading h2 {
    max-width: 260px;
    font-size: 18px;
    line-height: 1.2;
  }

  .hub-mode-toggle--preview {
    flex: 0 0 auto;
    min-height: 36px;
  }

  .hub-mode-toggle--preview button {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 10px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-sm);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.hero-copy .eyebrow {
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-copy .eyebrow::before,
.trust-chips span::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  content: "";
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.85);
  animation: live-dot-pulse 2s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

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

h1 {
  max-width: 720px;
  margin-bottom: var(--space-md);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span,
.section-heading h2 span,
.custom-accent {
  color: var(--gold);
  font-style: italic;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

.hero-points li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(212, 168, 83, 0.72);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  color: var(--text-secondary);
  background: rgba(42, 42, 49, 0.76);
  border: 1px solid rgba(82, 82, 94, 0.7);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
}

.hub-mockup {
  position: relative;
  min-width: 0;
  padding: 8px;
}

.mockup-glow {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 50%, rgba(212, 168, 83, 0.18), transparent 65%);
  filter: blur(40px);
}

.mockup-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(135deg, rgba(212, 168, 83, 0.45), rgba(255, 255, 255, 0.1) 35%, rgba(212, 168, 83, 0.18) 60%, rgba(255, 255, 255, 0.05)) border-box;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 168, 83, 0.1);
  backdrop-filter: blur(40px) saturate(140%);
}

.mockup-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(70% 50% at 30% 0%, rgba(212, 168, 83, 0.1), transparent 65%),
    radial-gradient(60% 60% at 100% 100%, rgba(212, 168, 83, 0.05), transparent 70%),
    linear-gradient(180deg, rgba(34, 34, 40, 0.72), rgba(26, 26, 32, 0.9));
}

.mockup-topbar {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mockup-topbar p {
  margin: 0 0 2px;
  color: var(--text-primary);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.05;
}

.mockup-topbar span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}

.mockup-search {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(250, 250, 250, 0.58);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(212, 168, 83, 0.24);
  border-radius: 999px;
  font-size: 12px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding-top: 18px;
}

.mockup-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 21px;
  min-height: 340px;
  padding: 22px 0;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.mockup-rail span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(250, 250, 250, 0.45);
  border-radius: 50%;
}

.mockup-rail span.active {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212, 168, 83, 0.62);
}

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

.stat-card,
.workflow-card,
.activity-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}

.stat-card {
  min-width: 0;
  min-height: 78px;
  padding: 15px 16px;
}

.stat-card strong {
  display: block;
  color: var(--text-primary);
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: rgba(250, 250, 250, 0.68);
  font-size: 12px;
  line-height: 1.2;
}

.mockup-lists {
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  gap: 18px;
}

.workflow-card,
.activity-card {
  min-height: 218px;
  padding: 22px;
}

.workflow-card:hover,
.activity-card:hover,
.stat-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(212, 168, 83, 0.28);
  transform: translateY(-1px);
}

.workflow-card h2,
.activity-card h2 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 800;
}

.workflow-row {
  display: grid;
  align-items: center;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 11px;
  min-height: 36px;
}

.workflow-row p {
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-row small {
  color: rgba(250, 250, 250, 0.58);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.1);
}

.status-dot.pending,
.status-dot.review {
  background: var(--gold-light);
}

.status-dot.complete {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.activity-card ul {
  display: grid;
  gap: 17px;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  list-style: none;
}

.activity-card li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
}

.activity-card li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  border: 2px solid var(--gold);
  border-radius: 4px;
}

.trust-strip {
  padding: 34px 0;
  background: rgba(34, 34, 40, 0.82);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip h2 {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip p {
  margin: 0;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.buyer-badges {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.buyer-badges span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 900px;
}

.section-heading h1,
.section-heading h2,
.modules-copy h2,
.results h2,
.cta-panel h2 {
  max-width: none;
  margin-bottom: var(--space-md);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.modules-copy p,
.results p,
.cta-panel p {
  color: var(--text-secondary);
  font-size: 18px;
}

.feature-card,
.module-card,
.pricing-card,
.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth);
}

.feature-card:hover,
.module-card:hover,
.pricing-card:hover,
.outcome-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 83, 0.55);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.feature-card {
  min-height: 244px;
  padding: 28px 22px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--gold);
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.module-card h3,
.pricing-card h3,
.outcome-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.16;
}

.feature-card p,
.module-card p,
.pricing-card p,
.outcome-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.modules {
  background: linear-gradient(180deg, rgba(26, 26, 32, 0), rgba(34, 34, 40, 0.52), rgba(26, 26, 32, 0));
}

.modules-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: 56px;
}

.modules-copy {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.modules-copy p {
  max-width: 440px;
  margin-bottom: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.3s var(--ease-smooth);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-light);
}

.text-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-smooth);
}

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

.module-card {
  min-height: 244px;
  padding: 26px 24px 22px;
}

.module-card small {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.results {
  background: rgba(26, 26, 32, 0.66);
}

.results-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.65fr);
  gap: 76px;
}

.results h2 {
  max-width: 720px;
}

.result-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.result-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-secondary);
  font-size: 18px;
}

.result-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(212, 168, 83, 0.1);
}

.outcome-card {
  position: relative;
  min-height: 430px;
  padding: 36px;
  overflow: hidden;
  background:
    radial-gradient(70% 50% at 30% 0%, rgba(212, 168, 83, 0.09), transparent 65%),
    var(--bg-card);
}

.quote-mark {
  margin-bottom: 34px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 0.72;
}

.outcome-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 29px;
}

.outcome-card p:not(.quote-mark) {
  font-size: 17px;
}

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

.outcome-metrics span {
  min-height: 90px;
  padding: 14px;
  color: var(--text-secondary);
  background: rgba(22, 22, 25, 0.72);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
}

.outcome-metrics strong {
  display: block;
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1;
}

.pricing {
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 492px;
  padding: 32px;
}

.pricing-card.featured {
  border-color: rgba(212, 168, 83, 0.78);
  box-shadow: var(--shadow-gold);
}

.ribbon {
  position: absolute;
  top: 0;
  left: 28px;
  padding: 8px 13px;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 0 0 8px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.pricing-card.featured h3 {
  margin-top: 22px;
}

.price {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 32px;
  color: var(--text-secondary);
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
}

.pricing-card li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  max-width: 780px;
  margin: 28px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.final-cta {
  padding: 42px 0 var(--space-2xl);
}

.cta-panel {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 38px;
  min-height: 174px;
  padding: 40px 46px;
  background:
    radial-gradient(70% 90% at 0% 50%, rgba(212, 168, 83, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(42, 42, 49, 0.96), rgba(34, 34, 40, 0.96));
  border: 1px solid rgba(212, 168, 83, 0.38);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 18px;
  font-size: 28px;
  font-weight: 800;
}

.cta-panel h2 {
  max-width: 780px;
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 38px);
}

.cta-panel p {
  margin-bottom: 0;
}

.site-footer {
  padding: 72px 0 34px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(120px, 0.62fr));
  gap: 34px;
}

.footer-brand p {
  max-width: 310px;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links h2 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s var(--ease-smooth);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 62px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.build-process {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(212, 168, 83, 0.08), transparent 70%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-intro {
  max-width: 820px;
  margin-bottom: var(--space-xl);
}

.process-intro h2,
.anti-position h2,
.hub-preview-panel h2,
.marquee-heading h2 {
  margin-bottom: var(--space-md);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.process-intro p:not(.eyebrow),
.hub-preview-panel p {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

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

.process-step {
  position: relative;
  min-height: 278px;
  padding: 26px 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.process-step::before {
  position: absolute;
  inset: -1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.4), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.process-step:hover {
  border-color: rgba(212, 168, 83, 0.42);
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(212, 168, 83, 0.1), transparent 70%),
    var(--bg-card-hover);
  transform: translateY(-3px);
}

.process-step:hover::before {
  opacity: 0.18;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.process-step h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.process-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.62;
}

.integrations-marquee {
  padding: var(--space-xl) 0 var(--space-2xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212, 168, 83, 0.06), transparent 70%),
    var(--bg-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-heading {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.marquee-heading p {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.marquee-heading h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee-scroll 54s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
}

.marquee-tile {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(140%);
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth);
}

.marquee-tile:hover {
  border-color: rgba(212, 168, 83, 0.4);
  background: rgba(212, 168, 83, 0.04);
  transform: translateY(-2px);
}

.marquee-tile span:last-child {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
}

.brand-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand-tile img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

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

.anti-position {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-primary));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.anti-position::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(212, 168, 83, 0.06), transparent 60%);
}

.anti-position .container {
  position: relative;
  z-index: 1;
}

.anti-position__title {
  margin: 0 auto var(--space-md);
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
  text-align: center;
}

.anti-position__title span,
.anti-position__statement span {
  color: var(--gold);
  font-style: italic;
}

.anti-position__list {
  max-width: 760px;
  padding: 0;
  margin: 0 auto var(--space-lg);
  list-style: none;
  text-align: center;
}

.anti-position__item {
  margin: 10px 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.anti-position__item .strike {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.6);
  text-decoration-thickness: 2px;
}

.anti-position__statement {
  max-width: 800px;
  padding-top: var(--space-lg);
  margin: 0 auto;
  border-top: 1px solid rgba(212, 168, 83, 0.22);
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.45;
  text-align: center;
}

.hub-preview-cta {
  padding: 54px 0 var(--space-2xl);
}

.hub-preview-panel {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 38px;
  min-height: 190px;
  padding: 42px 46px;
  background:
    radial-gradient(70% 90% at 0% 50%, rgba(212, 168, 83, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(42, 42, 49, 0.96), rgba(34, 34, 40, 0.96));
  border: 1px solid rgba(212, 168, 83, 0.38);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.hub-preview-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.hub-preview-panel p {
  margin-bottom: 0;
}

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

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

  .mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 49;
    display: grid;
    gap: 2px;
    padding: 20px 24px 28px;
    background: rgba(26, 26, 32, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a:not(.btn) {
    padding: 14px 0;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid rgba(58, 58, 68, 0.7);
  }

  .mobile-menu a.active {
    color: var(--gold);
  }

  .mobile-menu .btn {
    width: 100%;
    margin-top: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .modules-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .modules-copy {
    position: static;
  }

  .modules-copy p {
    max-width: 720px;
  }

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

  .pricing-card {
    min-height: 0;
  }

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

  .process-step {
    min-height: 220px;
  }

  .hub-preview-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .header-shell {
    width: 100%;
    padding: 0 20px;
  }

  .section-large {
    padding: 76px 0;
  }

  .section-medium {
    padding: 64px 0;
  }

  .hero.section-large {
    padding: 70px 0 52px;
  }

  .brand {
    font-size: 18px;
  }

  .brand::before {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.05;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .btn,
  .final-cta .btn {
    width: 100%;
  }

  .hub-mockup {
    max-width: 100%;
    padding: 0;
  }

  .mockup-shell {
    padding: 12px;
  }

  .mockup-topbar {
    grid-template-columns: 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-rail {
    display: none;
  }

  .stat-grid,
  .mockup-lists,
  .module-card-grid,
  .outcome-metrics {
    grid-template-columns: 1fr;
  }

  .workflow-row {
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .workflow-row small {
    grid-column: 2;
  }

  .buyer-badges {
    grid-template-columns: 1fr;
  }

  .buyer-badges span {
    min-height: 44px;
    padding: 12px;
    background: rgba(42, 42, 49, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }

  .feature-card,
  .module-card {
    min-height: 0;
  }

  .outcome-card {
    min-height: 0;
    padding: 28px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px;
  }

  .hub-preview-panel {
    gap: 22px;
    padding: 30px;
  }

  .cta-icon {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    font-size: 22px;
  }

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

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-shell {
    padding: 0 16px;
  }

  .brand {
    font-size: 16px;
  }

  .brand::before {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: 38px;
  }

  .section-heading h2,
  .modules-copy h2,
  .results h2,
  .process-intro h2,
  .anti-position h2,
  .hub-preview-panel h2 {
    font-size: 34px;
  }

  .trust-chips span,
  .btn {
    width: 100%;
  }

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

  .process-step {
    min-height: 0;
  }

  .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  }

  .anti-position li {
    font-size: 16px;
  }

  .stat-card {
    min-height: 72px;
  }

  .workflow-card,
  .activity-card {
    padding: 18px;
  }

  .pricing-card {
    padding: 28px 22px;
  }
}

/* AI Operations Hub page */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(58, 58, 68, 0.64);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(212, 168, 83, 0.2), transparent 68%),
    linear-gradient(rgba(212, 168, 83, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  mask-image: radial-gradient(ellipse 92% 74% at 52% 28%, black, transparent);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.page-hero-inner .eyebrow,
.hub-examples .eyebrow {
  justify-content: center;
}

.page-hero-inner h1 {
  margin-right: auto;
  margin-left: auto;
}

.page-hero-inner h1 span,
.hub-section-intro h2 span,
.custom-build-panel h2 span,
.plugin-card h3 span,
.best-fit h2 span {
  color: var(--gold);
  font-style: italic;
}

.page-hero-inner p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
}

.page-hero-inner .hero-actions,
.center-actions {
  justify-content: center;
}

.hub-examples {
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: linear-gradient(180deg, rgba(26, 26, 32, 0), rgba(34, 34, 40, 0.36), rgba(26, 26, 32, 0));
}

.hub-examples--lead {
  padding-top: clamp(44px, 7vw, 78px);
}

.hub-examples--lead .section-heading {
  margin-bottom: 30px;
}

.hub-showcase-wrap {
  position: relative;
  display: grid;
  gap: 24px;
  isolation: isolate;
}

.industry-carousel {
  display: grid;
  gap: 24px;
}

.carousel-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.carousel-tab {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--text-secondary);
  background: rgba(42, 42, 49, 0.68);
  border: 1px solid rgba(82, 82, 94, 0.62);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.24s var(--ease-smooth), border-color 0.24s var(--ease-smooth), background 0.24s var(--ease-smooth), transform 0.24s var(--ease-smooth);
}

.carousel-tab:hover,
.carousel-tab:focus-visible,
.carousel-tab.active {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.09);
  border-color: rgba(212, 168, 83, 0.44);
  box-shadow: 0 10px 28px rgba(212, 168, 83, 0.08);
  transform: translateY(-1px);
}

.hub-stage {
  min-height: 650px;
}

#hubCarousel {
  transition: opacity 0.18s var(--ease-smooth), transform 0.18s var(--ease-smooth);
}

#hubCarousel.is-changing {
  opacity: 0.3;
  transform: translateY(4px);
}

.hub-showcase-stage {
  position: relative;
  min-height: 0;
  margin-top: 36px;
  overflow: hidden;
}

.hub-showcase-carousel {
  position: relative;
  min-height: 760px;
  perspective: 1600px;
}

.hub-showcase-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1220px, calc(100% - 96px));
  transform-origin: 50% 52%;
  transition:
    opacity 0.42s var(--ease-smooth),
    filter 0.42s var(--ease-smooth),
    transform 0.42s var(--ease-smooth);
  will-change: transform, opacity, filter;
}

.hub-showcase-slide:not(.is-active) {
  cursor: pointer;
}

.hub-showcase-slide.is-active {
  position: relative;
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) scale(1);
}

.hub-showcase-slide.is-prev {
  z-index: 3;
  opacity: 0.48;
  filter: blur(1.2px) saturate(0.85);
  transform: translateX(calc(-50% - 390px)) translateY(28px) scale(0.84) rotateY(5deg);
}

.hub-showcase-slide.is-next {
  z-index: 3;
  opacity: 0.48;
  filter: blur(1.2px) saturate(0.85);
  transform: translateX(calc(-50% + 390px)) translateY(28px) scale(0.84) rotateY(-5deg);
}

.hub-showcase-slide.is-far-prev {
  z-index: 1;
  opacity: 0.18;
  filter: blur(2.2px) saturate(0.75);
  transform: translateX(calc(-50% - 660px)) translateY(58px) scale(0.72) rotateY(8deg);
}

.hub-showcase-slide.is-far-next {
  z-index: 1;
  opacity: 0.18;
  filter: blur(2.2px) saturate(0.75);
  transform: translateX(calc(-50% + 660px)) translateY(58px) scale(0.72) rotateY(-8deg);
}

.hub-showcase-slide.is-hidden {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.66);
}

.hub-carousel-arrow {
  position: absolute;
  top: 380px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.24);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 0.22s var(--ease-smooth), border-color 0.22s var(--ease-smooth), background 0.22s var(--ease-smooth);
}

.hub-carousel-arrow:hover,
.hub-carousel-arrow:focus-visible {
  background: rgba(212, 168, 83, 0.11);
  border-color: rgba(212, 168, 83, 0.46);
  transform: translateY(-1px);
}

.hub-carousel-arrow span {
  display: block;
  margin-top: -2px;
  font-size: 32px;
  line-height: 1;
}

.hub-carousel-arrow--prev {
  left: max(10px, calc(50% - 670px));
}

.hub-carousel-arrow--next {
  right: max(10px, calc(50% - 670px));
}

.hub-carousel-dots {
  position: relative;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  pointer-events: none;
}

.hub-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(250, 250, 250, 0.28);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  pointer-events: auto;
  transition: width 0.22s var(--ease-smooth), background 0.22s var(--ease-smooth);
}

.hub-carousel-dots button.active {
  width: 24px;
  background: var(--gold);
}

.hub-portal-window {
  display: flex;
  flex-direction: column;
  height: 760px;
  max-width: 1220px;
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)) padding-box,
    linear-gradient(135deg, rgba(232, 199, 120, 0.86), rgba(255, 255, 255, 0.24) 34%, rgba(212, 168, 83, 0.48) 64%, rgba(34, 197, 94, 0.24) 100%) border-box;
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 34px 100px rgba(0, 0, 0, 0.58),
    0 14px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(212, 168, 83, 0.32),
    0 0 0 8px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(30px) saturate(135%);
}

.hub-portal-window::before {
  background:
    radial-gradient(72% 62% at 16% 0%, rgba(212, 168, 83, 0.12), transparent 66%),
    radial-gradient(60% 58% at 100% 100%, rgba(34, 197, 94, 0.055), transparent 72%),
    linear-gradient(180deg, rgba(34, 34, 40, 0.8), rgba(26, 26, 32, 0.92));
}

.hub-portal-window::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(232, 199, 120, 0.18);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32);
}

.hub-portal-window .hub-app-chrome {
  flex: 0 0 auto;
  min-height: 56px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(14, 14, 18, 0.78);
  border-bottom: 1px solid rgba(232, 199, 120, 0.16);
}

.hub-portal-window .hub-app-title {
  color: rgba(250, 250, 250, 0.58);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
}

.hub-portal-body {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 0;
  background:
    radial-gradient(70% 76% at 88% 12%, rgba(212, 168, 83, 0.08), transparent 62%),
    rgba(26, 26, 32, 0.62);
}

.hub-portal-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 48%),
    rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(18px);
}

.hub-portal-sidebar .hub-side-label {
  margin-bottom: 8px;
}

.hub-portal-sidebar .hub-side-item {
  min-height: 38px;
  color: rgba(250, 250, 250, 0.76);
  background: rgba(255, 255, 255, 0.018);
}

.hub-portal-sidebar .hub-side-item.active {
  color: #ffffff;
  background: rgba(212, 168, 83, 0.16);
  border-color: rgba(212, 168, 83, 0.34);
  box-shadow: inset 3px 0 0 rgba(232, 199, 120, 0.9), inset 0 0 0 1px rgba(212, 168, 83, 0.12);
}

.hub-portal-sidebar .hub-side-item em {
  min-width: 0;
  padding: 2px 7px;
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.22);
  font-size: 9px;
}

.hub-portal-sidebar .hub-side-item em.live {
  color: #14532d;
  background: #dff4e6;
  border-color: #b9e3c4;
}

.hub-portal-sidebar .hub-sidebar-user {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.portal-nav {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
}

.portal-nav::-webkit-scrollbar {
  display: none;
}

.portal-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: rgba(250, 250, 250, 0.76);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.portal-nav span.active {
  color: var(--text-primary);
  background: rgba(212, 168, 83, 0.19);
  border-color: rgba(212, 168, 83, 0.38);
  box-shadow: inset 0 -2px 0 rgba(232, 199, 120, 0.9);
}

.hub-portal-main {
  display: grid;
  flex: 1 1 auto;
  gap: 13px;
  align-content: start;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
  background: rgba(26, 26, 32, 0.24);
}

.portal-topbar,
.portal-hero,
.portal-admin-hero,
.portal-panel,
.portal-document,
.portal-chat {
  background: rgba(255, 255, 255, 0.042);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.portal-admin-hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 104px;
  padding: 16px 18px;
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(212, 168, 83, 0.13), transparent 64%),
    rgba(255, 255, 255, 0.04);
}

.portal-admin-hero span {
  color: rgba(232, 199, 120, 0.72);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.portal-admin-hero h2 {
  max-width: 620px;
  margin: 6px 0 5px;
  color: rgba(250, 250, 250, 0.96);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(23px, 2.35vw, 31px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.portal-admin-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(250, 250, 250, 0.6);
  font-size: 13px;
  line-height: 1.35;
}

.portal-admin-hero .hub-simple-status {
  align-self: center;
  justify-self: end;
}

.portal-topbar {
  min-height: 48px;
  padding: 10px 14px;
}

.hub-portal-window .hub-simple-breadcrumb {
  color: rgba(250, 250, 250, 0.6);
  font-size: 12px;
}

.hub-portal-window .hub-simple-breadcrumb span::after {
  content: ">";
  margin: 0 8px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.hub-portal-window .hub-simple-breadcrumb span.current::after {
  content: "";
  margin: 0;
}

.hub-portal-window .hub-simple-breadcrumb strong,
.hub-portal-window .hub-simple-user {
  color: rgba(250, 250, 250, 0.94);
}

.portal-hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 22px;
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(212, 168, 83, 0.13), transparent 64%),
    rgba(255, 255, 255, 0.04);
}

.portal-hero--compact {
  min-height: 142px;
}

.portal-hero--admin {
  align-items: center;
  min-height: 104px;
  padding: 16px 18px;
}

.portal-hero--admin h2 {
  max-width: 620px;
  margin: 6px 0 6px;
  font-size: clamp(24px, 2.7vw, 31px);
  line-height: 1.08;
}

.portal-hero--admin p {
  max-width: 620px;
  margin: 0;
  font-size: 13px;
  line-height: 1.42;
}

.portal-hero--admin .hub-simple-status {
  align-self: center;
  justify-self: end;
}

.portal-hero span,
.portal-panel .hub-panel-head span,
.portal-chat .hub-panel-head span {
  color: rgba(232, 199, 120, 0.72);
}

.portal-hero h2 {
  max-width: 690px;
  margin: 8px 0 8px;
  color: rgba(250, 250, 250, 0.96);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.05;
}

.portal-hero p,
.portal-panel small,
.portal-document p,
.portal-document li,
.portal-chat p {
  color: rgba(250, 250, 250, 0.6);
}

.hub-portal-window .hub-simple-status {
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.24);
}

.hub-portal-window .hub-panel-head strong,
.hub-portal-window .hub-automation-card strong,
.hub-portal-window .hub-run-row strong,
.portal-file-list strong,
.portal-step-list strong,
.portal-admin-list strong,
.portal-action-list strong,
.portal-access-summary strong,
.portal-access-list strong,
.portal-document h3,
.portal-document h4,
.portal-review-list strong,
.portal-approval-flow strong {
  color: rgba(250, 250, 250, 0.94);
}

.hub-portal-window .hub-automation-card,
.hub-portal-window .hub-run-row,
.portal-file-list > div,
.portal-step-list > div,
.portal-admin-list > div,
.portal-action-list > div,
.portal-access-summary > div,
.portal-access-list > div,
.portal-review-list > div,
.portal-approval-flow > div,
.portal-output {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.hub-portal-window .hub-automation-card {
  min-height: 78px;
  padding: 12px;
}

.hub-portal-window .hub-automation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-portal-window .hub-automation-card > span,
.portal-step-list > div > span,
.portal-approval-flow > div > span {
  color: var(--gold-light);
}

.hub-portal-window .hub-automation-card small {
  color: rgba(250, 250, 250, 0.56);
}

.portal-dashboard-lower {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 13px;
  min-height: 0;
}

.portal-action-list {
  display: grid;
  gap: 8px;
}

.portal-action-list > div {
  display: grid;
  align-items: start;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.portal-action-list > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
}

.portal-action-list small,
.portal-access-summary small {
  display: block;
  margin-top: 4px;
  color: rgba(250, 250, 250, 0.54);
  font-size: 11px;
  line-height: 1.35;
}

.portal-current-run-log .hub-run-row {
  min-height: 54px;
  padding: 9px 10px;
}

.hub-portal-window .hub-automation-card em,
.portal-output > em,
.portal-review-list em {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.28);
}

.portal-two-col,
.portal-assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 13px;
}

.portal-file-list,
.portal-step-list,
.portal-admin-list,
.portal-review-list,
.portal-approval-flow,
.portal-chat-thread {
  display: grid;
  gap: 8px;
}

.portal-file-list > div,
.portal-step-list > div,
.portal-admin-list > div,
.portal-review-list > div,
.portal-approval-flow > div {
  display: grid;
  align-items: start;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
}

.portal-file-list em,
.portal-review-list em {
  align-self: start;
  padding: 4px 7px;
  border: 1px solid rgba(212, 168, 83, 0.28);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.portal-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
}

.portal-output > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.portal-output > div > div {
  min-width: 0;
}

.portal-output strong,
.portal-output small {
  display: block;
}

.portal-output small {
  margin-top: 2px;
  color: rgba(250, 250, 250, 0.56);
}

.portal-output > em {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(212, 168, 83, 0.28);
  border-radius: 8px;
  font-size: 12px;
  font-style: italic;
  font-weight: 800;
}

.portal-automation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.95fr);
  gap: 13px;
  min-height: 0;
}

.portal-input-panel,
.portal-instruction-panel,
.portal-template-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.portal-template-panel {
  position: relative;
  min-height: 224px;
}

.portal-drop-zone {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 12px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.16);
  border: 1px dashed rgba(232, 199, 120, 0.36);
  border-radius: 12px;
}

.portal-drop-zone > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.portal-drop-zone strong,
.portal-context-list strong {
  color: rgba(250, 250, 250, 0.94);
}

.portal-drop-zone small {
  max-width: 380px;
  color: rgba(250, 250, 250, 0.56);
  font-size: 12px;
  line-height: 1.45;
}

.portal-file-list--compact > div {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 9px;
}

.portal-file-list--compact small {
  grid-column: 1;
}

.portal-instruction-box {
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 10px;
}

.portal-instruction-box p {
  margin: 0;
  color: rgba(250, 250, 250, 0.68);
  font-size: 12.5px;
  line-height: 1.55;
}

.portal-context-list {
  display: grid;
  gap: 8px;
}

.portal-context-list > div {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
}

.portal-context-list > div > span {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}

.portal-context-list small {
  grid-column: 2;
  color: rgba(250, 250, 250, 0.52);
  font-size: 11.5px;
  line-height: 1.35;
}

.portal-template-dropdown {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 8px;
}

.portal-template-dropdown button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  width: 100%;
  gap: 12px;
  padding: 9px 38px 9px 12px;
  color: rgba(250, 250, 250, 0.92);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(212, 168, 83, 0.34);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.18);
  cursor: default;
}

.portal-template-dropdown button::after {
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  background: transparent;
  border-right: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  transform: translateY(-65%) rotate(45deg);
}

.portal-template-dropdown button span {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-template-dropdown button em {
  color: var(--green-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.portal-template-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(42, 42, 49, 0.96), rgba(20, 20, 26, 0.96)),
    rgba(12, 12, 16, 0.94);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.portal-template-menu > div {
  position: relative;
  min-height: 31px;
  padding: 7px 30px 7px 11px;
  color: rgba(250, 250, 250, 0.66);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 11.5px;
  font-weight: 700;
}

.portal-template-menu > div:last-child {
  border-bottom: 0;
}

.portal-template-menu > div.active {
  color: rgba(250, 250, 250, 0.94);
  background: rgba(212, 168, 83, 0.11);
  box-shadow: inset 3px 0 0 rgba(34, 197, 94, 0.72);
}

.portal-template-menu > div.active::after {
  position: absolute;
  right: 11px;
  content: "✓";
  color: var(--green-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
}

.portal-template-dropdown--excel .portal-template-menu {
  position: static;
}

.portal-excel-preview {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.portal-excel-preview > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 9px;
  color: rgba(250, 250, 250, 0.62);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
}

.portal-excel-preview strong {
  color: rgba(232, 199, 120, 0.78);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.portal-excel-preview span {
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
}

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

.portal-metric-grid > div {
  min-height: 80px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.portal-metric-grid strong {
  display: block;
  color: var(--gold-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 23px;
  line-height: 1.1;
}

.portal-admin-list > div {
  grid-template-columns: 30px minmax(0, 1fr);
}

.portal-admin-list > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 900;
}

.portal-access-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.portal-access-summary > div {
  min-height: 92px;
  padding: 10px;
}

.portal-access-summary strong,
.portal-access-summary span {
  display: block;
}

.portal-access-summary span {
  margin: 8px 0 2px;
  color: var(--gold-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.portal-access-list {
  display: grid;
  gap: 7px;
}

.portal-access-list > div {
  display: grid;
  align-items: center;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 44px;
  padding: 8px 9px;
}

.portal-access-list > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 900;
}

.portal-access-list em {
  padding: 4px 7px;
  color: rgba(250, 250, 250, 0.72);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.portal-assistant-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.portal-document,
.portal-chat {
  padding: 16px;
}

.portal-doc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-doc-toolbar strong,
.portal-doc-toolbar span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
}

.portal-doc-toolbar span {
  color: rgba(250, 250, 250, 0.48);
}

.portal-document h3,
.portal-document h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.portal-document p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
}

.portal-document ul {
  padding-left: 18px;
  margin: 0;
}

.assistant-msg,
.user-msg {
  padding: 10px;
  border-radius: 10px;
}

.assistant-msg {
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.16);
}

.user-msg {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.14);
}

.assistant-msg strong,
.user-msg strong {
  color: rgba(250, 250, 250, 0.9);
  font-size: 12px;
}

.assistant-msg p,
.user-msg p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.portal-chat-input {
  margin-top: 10px;
  padding: 11px 12px;
  color: rgba(250, 250, 250, 0.42);
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 12px;
}

.portal-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 12px 14px;
  background:
    radial-gradient(74% 120% at 4% 0%, rgba(212, 168, 83, 0.11), transparent 64%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
}

.portal-page-intro span {
  color: rgba(232, 199, 120, 0.72);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.portal-page-intro h2 {
  margin: 4px 0 0;
  color: rgba(250, 250, 250, 0.96);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.12;
}

.portal-assistant-workflow {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 230px;
  gap: 12px;
  min-height: 0;
}

.portal-workflow-steps,
.portal-chat--compact {
  padding: 14px;
}

.portal-step-rail {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.portal-step-rail > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
}

.portal-step-rail > div.active {
  background: rgba(212, 168, 83, 0.1);
  border-color: rgba(212, 168, 83, 0.28);
}

.portal-step-rail > div.done span,
.portal-step-rail > div.active span {
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}

.portal-step-rail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(250, 250, 250, 0.56);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 900;
}

.portal-step-rail strong {
  color: rgba(250, 250, 250, 0.9);
  font-size: 12px;
  line-height: 1.22;
}

.portal-step-rail small {
  grid-column: 2;
  color: rgba(250, 250, 250, 0.5);
  font-size: 10.5px;
  line-height: 1.3;
}

.portal-document--editor {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.portal-document--editor h3 {
  font-size: 17px;
}

.portal-document--editor p {
  color: rgba(250, 250, 250, 0.68);
  font-size: 12.4px;
  line-height: 1.52;
}

.portal-annotation-hotspot {
  position: relative;
  display: inline-flex;
  z-index: 8;
  vertical-align: baseline;
}

.anno-risk--active {
  color: #ffe1e1;
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.58);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08), 0 0 18px rgba(239, 68, 68, 0.18);
}

.portal-annotation-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 236px;
  padding: 11px 12px;
  background:
    linear-gradient(180deg, rgba(53, 32, 34, 0.96), rgba(30, 24, 27, 0.96)),
    rgba(26, 26, 32, 0.96);
  border: 1px solid rgba(239, 68, 68, 0.32);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 1;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.portal-annotation-popover::after {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  content: "";
  background: rgba(44, 28, 31, 0.98);
  border-right: 1px solid rgba(239, 68, 68, 0.28);
  border-bottom: 1px solid rgba(239, 68, 68, 0.28);
  transform: translateX(-50%) rotate(45deg);
}

.portal-annotation-popover strong,
.portal-annotation-popover small,
.portal-annotation-popover em {
  display: block;
}

.portal-annotation-popover strong {
  color: #ffb4b4;
  font-size: 12px;
}

.portal-annotation-popover small {
  margin-top: 5px;
  color: rgba(250, 250, 250, 0.68);
  font-size: 10.5px;
  line-height: 1.4;
}

.portal-annotation-popover em {
  margin-top: 8px;
  color: rgba(255, 180, 180, 0.72);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.portal-suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.portal-suggestion-row span {
  padding: 5px 7px;
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.portal-chat--compact .portal-chat-thread {
  gap: 7px;
}

.portal-chat--compact .assistant-msg,
.portal-chat--compact .user-msg {
  padding: 9px;
}

.portal-chat--compact .assistant-msg p,
.portal-chat--compact .user-msg p {
  font-size: 11px;
}

.portal-section-note {
  margin: 8px 0 12px;
  color: rgba(250, 250, 250, 0.56);
  font-size: 12px;
  line-height: 1.45;
}

.portal-review-column {
  position: relative;
}

.portal-review-column--pending {
  border-color: rgba(212, 168, 83, 0.22);
  background:
    linear-gradient(180deg, rgba(212, 168, 83, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.portal-review-column--approved {
  border-color: rgba(34, 197, 94, 0.2);
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.portal-review-list--approved em {
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.22);
}

.hub-demo {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow-medium);
}

.hub-demo-chrome {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  background: rgba(22, 22, 25, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-demo-lights {
  display: flex;
  gap: 7px;
}

.hub-demo-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hub-demo-lights span:nth-child(1) {
  background: #ff5f57;
}

.hub-demo-lights span:nth-child(2) {
  background: #febc2e;
}

.hub-demo-lights span:nth-child(3) {
  background: #28c840;
}

.hub-demo-chrome strong {
  overflow: hidden;
  color: rgba(250, 250, 250, 0.74);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-demo-chrome em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.hub-demo-chrome em::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.8);
}

.hub-demo-body {
  min-height: 596px;
  padding: 24px;
}

.hub-demo h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.08;
}

.hub-demo p {
  margin: 0;
}

.hub-panel-label,
.hub-demo-integrations > span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hub-demo-integrations {
  margin-top: 24px;
}

.hub-demo-integrations > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-brand-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.hub-brand-tile img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.accounting-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1.35fr) minmax(220px, 0.72fr);
  gap: 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(212, 168, 83, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(24, 24, 29, 0.94), rgba(35, 35, 42, 0.96));
}

.accounting-sidebar,
.ledger-panel,
.approval-panel,
.accounting-metrics div,
.signal-card,
.milestone-board,
.notes-panel,
.project-stack,
.risk-matrix,
.campaign-calendar,
.channel-panel,
.creative-approval,
.property-card,
.maintenance-flow {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
}

.accounting-sidebar {
  padding: 24px;
}

.accounting-sidebar > span,
.war-room-brief > span,
.control-map > span,
.studio-header > span,
.portfolio-header > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
}

.accounting-main {
  display: grid;
  gap: 18px;
}

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

.accounting-metrics div {
  min-height: 112px;
  padding: 18px;
}

.accounting-metrics strong {
  display: block;
  color: var(--text-primary);
  font-size: 34px;
  line-height: 1;
}

.accounting-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 13px;
}

.ledger-panel,
.approval-panel {
  padding: 20px;
}

.ledger-row {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  min-height: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ledger-row strong,
.project-row strong,
.campaign-card strong,
.property-card strong {
  color: var(--text-primary);
  font-size: 14px;
}

.ledger-row span,
.project-row span,
.campaign-card span,
.property-card span,
.risk-row span,
.signal-card span {
  color: var(--text-secondary);
  font-size: 13px;
}

.ledger-row em,
.project-row em,
.campaign-card em,
.property-card em,
.risk-row em {
  justify-self: end;
  padding: 5px 8px;
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.approval-panel {
  align-self: stretch;
}

.approval-ticket {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.45;
}

.approval-ticket span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(212, 168, 83, 0.1);
}

.consulting-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(320px, 1.1fr) minmax(260px, 0.82fr);
  grid-template-rows: auto 1fr;
  gap: 18px;
  background:
    radial-gradient(circle at 85% 12%, rgba(110, 231, 183, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(23, 23, 31, 0.96), rgba(37, 37, 45, 0.96));
}

.war-room-brief,
.control-map,
.studio-header,
.portfolio-header {
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
}

.war-room-brief {
  grid-row: 1 / 3;
}

.war-room-brief p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.signal-stack {
  display: grid;
  gap: 12px;
}

.signal-card {
  padding: 18px;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.3;
}

.milestone-board,
.notes-panel {
  padding: 20px;
}

.milestone-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  color: var(--text-secondary);
  font-size: 14px;
}

.milestone-step span,
.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
}

.milestone-step.complete {
  color: var(--text-primary);
}

.milestone-step.complete span,
.flow-step.active span {
  color: #0a0a0b;
  background: var(--gold);
}

.notes-panel p {
  padding: 13px 0;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.engineering-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1fr) minmax(260px, 0.82fr);
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(24, 27, 30, 0.96), rgba(36, 36, 43, 0.96));
  background-size: 34px 34px, 34px 34px, 100% 100%;
}

.control-map {
  display: flex;
  flex-direction: column;
}

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

.site-grid i {
  display: block;
  aspect-ratio: 1;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 8px;
}

.site-grid i:nth-child(3),
.site-grid i:nth-child(5),
.site-grid i:nth-child(8) {
  background: rgba(220, 38, 38, 0.09);
  border-color: rgba(220, 38, 38, 0.24);
}

.project-stack,
.risk-matrix {
  padding: 20px;
}

.project-row,
.risk-row {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  min-height: 82px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-row span,
.risk-row strong {
  grid-column: 1;
}

.project-row em,
.risk-row em {
  grid-row: 1 / 3;
  grid-column: 2;
}

.project-row.red em {
  color: #fecaca;
  background: rgba(220, 38, 38, 0.16);
  border-color: rgba(220, 38, 38, 0.3);
}

.project-row.green em {
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.26);
}

.risk-row strong {
  color: var(--text-primary);
  font-size: 14px;
}

.marketing-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.8fr) minmax(340px, 1fr) minmax(260px, 0.82fr);
  grid-template-rows: auto auto;
  gap: 18px;
  background:
    radial-gradient(circle at 85% 18%, rgba(59, 130, 246, 0.12), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(236, 72, 153, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(24, 24, 32, 0.96), rgba(38, 35, 45, 0.96));
}

.studio-header {
  grid-row: 1 / 3;
}

.campaign-calendar,
.channel-panel,
.creative-approval {
  padding: 20px;
}

.campaign-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  min-height: 72px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.campaign-card span {
  grid-column: 1;
}

.campaign-card em {
  grid-row: 1 / 3;
  grid-column: 2;
}

.channel-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 13px 0 18px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.channel-row strong {
  color: var(--green-light);
}

.channel-row.down strong {
  color: #fca5a5;
}

.channel-row i {
  position: absolute;
  bottom: 8px;
  left: 0;
  height: 4px;
  max-width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green));
  border-radius: 999px;
}

.channel-row.down i {
  background: linear-gradient(90deg, var(--gold), var(--red-light));
}

.creative-approval {
  color: var(--text-secondary);
}

.creative-approval strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 18px;
}

.realestate-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.12fr) minmax(250px, 0.76fr);
  gap: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 197, 94, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(23, 26, 26, 0.96), rgba(35, 36, 42, 0.96));
}

.portfolio-header {
  display: flex;
  flex-direction: column;
}

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

.property-card {
  display: grid;
  align-content: space-between;
  min-height: 152px;
  padding: 18px;
}

.property-card em {
  justify-self: start;
}

.maintenance-flow {
  padding: 20px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.flow-step.active {
  color: var(--text-primary);
}

.custom-build {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(212, 168, 83, 0.1), transparent 70%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.custom-build-panel {
  position: relative;
  max-width: 900px;
  padding: 48px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow-medium);
}

.custom-build-panel::before {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  content: "";
  background: radial-gradient(circle, rgba(212, 168, 83, 0.18), transparent 65%);
}

.custom-build-panel h2,
.hub-section-intro h2,
.best-fit h2 {
  max-width: 820px;
  margin-bottom: var(--space-md);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
}

.prose,
.prose-lede,
.hub-section-intro p:not(.eyebrow) {
  max-width: 780px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.72;
}

.prose p {
  margin-bottom: 14px;
}

.prose strong {
  color: var(--gold-light);
}

.hub-section-intro {
  max-width: 860px;
  margin-bottom: var(--space-xl);
}

.hub-section-intro p:not(.eyebrow) {
  margin-bottom: 0;
}

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

.plugin-card {
  min-height: 238px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.plugin-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 83, 0.45);
  transform: translateY(-3px);
}

.plugin-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.plugin-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.18;
}

.plugin-card p,
.scope-note {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.scope-note {
  max-width: 760px;
  margin: var(--space-xl) auto 0;
  padding: 20px 24px;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 12px;
  text-align: center;
}

.what-it-is,
.best-fit {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.is-grid > div,
.fit-grid > div {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
}

.is-grid h3 {
  margin-bottom: 18px;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
}

.is-grid > div:nth-child(2) h3 {
  color: var(--gold);
}

.dont-list,
.governance-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dont-list li,
.governance-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.dont-list li::before,
.governance-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
}

.dont-list li::before {
  background: var(--red-light);
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.11);
}

.governance-list li::before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212, 168, 83, 0.1);
}

.fit-grid .governance-list {
  margin-top: var(--space-md);
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.compare-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  background: var(--bg-card);
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  color: var(--gold);
  background: rgba(22, 22, 25, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.compare-table td {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.compare-table td:first-child {
  color: var(--text-primary);
  font-weight: 800;
}

.compare-row-ea {
  background: rgba(34, 197, 94, 0.16);
}

.compare-row-ea td {
  color: #d8ffe6;
  background:
    linear-gradient(180deg, rgba(74, 222, 128, 0.18), rgba(34, 197, 94, 0.1)),
    rgba(34, 197, 94, 0.14);
  border-top: 1px solid rgba(74, 222, 128, 0.46);
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.compare-row-ea td:first-child {
  color: var(--green-light);
}

.compare-row-ea td:last-child {
  color: rgba(216, 255, 230, 0.78);
}

.trust-callout {
  max-width: 980px;
  padding: 34px;
  margin: 0 auto var(--space-lg);
  background:
    radial-gradient(70% 120% at 0% 50%, rgba(212, 168, 83, 0.16), transparent 60%),
    var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.32);
  border-radius: var(--radius-md);
}

.trust-callout p {
  margin: 0;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.18;
}

.trust-callout span {
  display: block;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.governance-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

/* Pricing page */
.section-v5 {
  padding: var(--space-2xl) 0;
}

.heading-display {
  margin-bottom: var(--space-md);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.08;
}

.pricing-page .pricing-tiers {
  background:
    radial-gradient(ellipse 68% 40% at 50% 0%, rgba(212, 168, 83, 0.08), transparent 70%),
    var(--bg-primary);
}

.pricing-page .pricing-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 630px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.pricing-tier:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 83, 0.42);
  transform: translateY(-3px);
}

.pricing-tier--featured {
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(212, 168, 83, 0.13), transparent 72%),
    var(--bg-card);
  border-color: rgba(212, 168, 83, 0.62);
  box-shadow: var(--shadow-gold);
}

.pricing-tier--featured::before {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 6px 12px;
  content: "Popular";
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 0 0 9px 9px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tier-name {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.12;
}

.tier-best-for {
  min-height: 92px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 6px;
}

.tier-price__from,
.tier-price__per {
  color: var(--text-muted);
  font-size: 13px;
}

.tier-price__amount {
  color: var(--gold);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(42px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1;
}

.tier-includes {
  display: grid;
  gap: 10px;
  flex: 1;
  padding: 22px 0 0;
  margin: 22px 0 26px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.tier-includes li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.tier-includes li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 11px;
  height: 6px;
  content: "";
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.tier-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.tier-cta--soft {
  color: var(--gold);
  background: transparent;
  border-color: rgba(212, 168, 83, 0.3);
}

.tier-cta:hover,
.tier-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-strong);
}

.pricing-page .scope-note {
  max-width: 780px;
  margin: var(--space-lg) auto 0;
  color: var(--text-muted);
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

.pricing-detail {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.card-v5 {
  min-height: 220px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.card-v5:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.card-v5__title {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.card-v5__desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.68;
}

.pricing-faq-inner {
  max-width: 820px;
}

.faq-v5 {
  margin-top: var(--space-lg);
}

.faq-v5-item {
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.faq-v5-item.open {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 83, 0.4);
}

.faq-v5-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 18px 22px;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
}

.faq-v5-q::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s var(--ease-smooth);
}

.faq-v5-item.open .faq-v5-q::after {
  transform: rotate(45deg);
}

.faq-v5-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}

.faq-v5-a__inner {
  padding: 16px 22px 22px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-v5-item.open .faq-v5-a {
  max-height: 620px;
}

.cta-band {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(212, 168, 83, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid rgba(212, 168, 83, 0.22);
  border-bottom: 1px solid rgba(212, 168, 83, 0.22);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: var(--space-sm);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.cta-buttons {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-v5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 800;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.btn-v5--primary {
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.btn-v5--ghost {
  color: var(--text-primary);
  background: transparent;
  border-color: var(--border-light);
}

.btn-v5:hover,
.btn-v5:focus-visible {
  transform: translateY(-2px);
}

.btn-v5--primary:hover,
.btn-v5--primary:focus-visible {
  box-shadow: var(--shadow-gold-strong);
}

.btn-v5--ghost:hover,
.btn-v5--ghost:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* Shared AI Operations Hub mockup */
.unified-hub-demo {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hub-app-frame {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(135deg, rgba(212, 168, 83, 0.45), rgba(255, 255, 255, 0.1) 35%, rgba(212, 168, 83, 0.18) 60%, rgba(255, 255, 255, 0.05)) border-box;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -18px 70px rgba(0, 0, 0, 0.18),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 168, 83, 0.1);
  backdrop-filter: blur(40px) saturate(140%);
}

.hub-app-frame::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(70% 55% at 18% 0%, rgba(212, 168, 83, 0.12), transparent 68%),
    radial-gradient(65% 55% at 100% 100%, rgba(212, 168, 83, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(34, 34, 40, 0.65), rgba(26, 26, 32, 0.85));
}

.hub-app-chrome {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 52px;
  padding: 0 16px;
  background: rgba(14, 14, 18, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hub-app-lights {
  display: flex;
  gap: 7px;
}

.hub-app-lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hub-app-lights span:nth-child(1) {
  background: #ff5f57;
}

.hub-app-lights span:nth-child(2) {
  background: #febc2e;
}

.hub-app-lights span:nth-child(3) {
  background: #28c840;
}

.hub-app-title {
  overflow: hidden;
  color: rgba(250, 250, 250, 0.55);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 0 10px;
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.24);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 800;
}

.hub-live-pill span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.74);
  animation: hub-live-pulse 2.8s ease-in-out infinite;
}

.hub-app-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 460px;
}

.hub-app-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 14px;
  background: rgba(0, 0, 0, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.hub-side-label {
  margin: 3px 0 10px;
  color: rgba(250, 250, 250, 0.4);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hub-agent-label {
  margin-top: 18px;
}

.hub-side-item,
.hub-agent-row {
  display: grid;
  align-items: center;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 32px;
  padding: 7px 10px;
  margin-bottom: 2px;
  color: rgba(250, 250, 250, 0.66);
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
}

.hub-side-item.active {
  color: var(--text-primary);
  background: rgba(212, 168, 83, 0.1);
  border-color: rgba(212, 168, 83, 0.18);
  box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.16);
}

.hub-side-item span {
  color: rgba(232, 199, 120, 0.85);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

.hub-side-item strong,
.hub-agent-row {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-side-item em {
  min-width: 22px;
  padding: 2px 6px;
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.22);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.hub-side-item em.green {
  color: #6ee586;
  background: rgba(40, 200, 64, 0.18);
  border-color: rgba(40, 200, 64, 0.28);
}

.hub-side-item em.live {
  color: rgba(250, 250, 250, 0.62);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
}

.hub-side-item.muted {
  opacity: 0.52;
}

.hub-agent-row {
  grid-template-columns: 16px minmax(0, 1fr);
  color: rgba(250, 250, 250, 0.68);
}

.hub-agent-row span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #28c840;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(40, 200, 64, 0.46);
}

.hub-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-sidebar-user > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 900;
}

.hub-sidebar-user strong,
.hub-sidebar-user small {
  display: block;
}

.hub-sidebar-user strong {
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.2;
}

.hub-sidebar-user small {
  color: rgba(250, 250, 250, 0.45);
  font-size: 10px;
  line-height: 1.25;
}

.hub-app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 18px;
  padding: 20px 22px 22px;
}

.hub-connected-strip,
.hub-command-bar,
.hub-activity-feed {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hub-connected-strip {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 66px;
  padding: 14px 16px;
}

.hub-connected-strip > span,
.hub-feed-header span {
  color: rgba(250, 250, 250, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hub-connected-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.hub-sync-pill {
  justify-self: end;
  padding: 6px 8px;
  color: rgba(250, 250, 250, 0.48);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.hub-logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.24s var(--ease-smooth), border-color 0.24s var(--ease-smooth), background 0.24s var(--ease-smooth);
}

.hub-logo-tile:hover {
  background: rgba(212, 168, 83, 0.065);
  border-color: rgba(212, 168, 83, 0.34);
  transform: translateY(-2px) scale(1.04);
}

.hub-logo-tile img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.hub-command-bar {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 10px;
}

.hub-command-prompt {
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hub-command-text {
  overflow: hidden;
  color: rgba(250, 250, 250, 0.68);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-command-caret {
  display: inline-block;
  width: 1.5px;
  height: 15px;
  margin-left: 5px;
  vertical-align: -3px;
  background: var(--gold);
  animation: hub-caret-blink 1.05s steps(1) infinite;
}

.hub-command-verbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.hub-command-verbs span {
  padding: 4px 8px;
  color: rgba(250, 250, 250, 0.78);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  animation: hub-verb-glow 7s ease-in-out infinite;
}

.hub-command-verbs span:nth-child(2) {
  animation-delay: 0.55s;
}

.hub-command-verbs span:nth-child(3) {
  animation-delay: 1.1s;
}

.hub-command-verbs span:nth-child(4) {
  animation-delay: 1.65s;
}

.hub-mockup .hub-command-bar {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.hub-mockup .hub-command-verbs {
  grid-column: auto;
  justify-content: flex-end;
}

.hub-activity-feed {
  overflow: hidden;
}

.hub-feed-header,
.hub-foot-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
}

.hub-feed-header time,
.hub-foot-strip > span {
  color: rgba(250, 250, 250, 0.48);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
}

.hub-feed-row {
  display: grid;
  align-items: start;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.06);
  transition: background 0.22s var(--ease-smooth), border-color 0.22s var(--ease-smooth), transform 0.22s var(--ease-smooth);
}

.hub-feed-row:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 168, 83, 0.2);
  transform: translateY(-1px);
}

.hub-feed-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
}

.hub-feed-dot.gold {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04), 0 0 12px rgba(212, 168, 83, 0.45);
}

.hub-feed-dot.blue {
  background: #60a5fa;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04), 0 0 12px rgba(96, 165, 250, 0.42);
}

.hub-feed-dot.green {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04), 0 0 12px rgba(34, 197, 94, 0.42);
}

.hub-feed-dot.purple {
  background: #a78bfa;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04), 0 0 12px rgba(167, 139, 250, 0.42);
}

.hub-feed-dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04), 0 0 12px rgba(245, 158, 11, 0.42);
}

.hub-feed-row strong {
  display: block;
  color: rgba(250, 250, 250, 0.9);
  font-size: 13.5px;
  line-height: 1.28;
  white-space: normal;
}

.hub-feed-row strong em {
  color: var(--gold-light);
  font-style: normal;
}

.hub-feed-row small {
  display: block;
  margin-top: 4px;
  color: rgba(250, 250, 250, 0.52);
  font-size: 12px;
  line-height: 1.25;
  white-space: normal;
}

.anno-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  margin: 0 2px;
  color: rgba(250, 250, 250, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.45;
  text-transform: uppercase;
  vertical-align: baseline;
}

.anno-cert {
  color: #92400e;
  background: rgba(242, 169, 59, 0.12);
  border-color: rgba(242, 169, 59, 0.35);
}

.anno-asm {
  color: #c4a8ff;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

.anno-tbc {
  color: #93b9ff;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.anno-risk {
  color: #ff9b9b;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.anno-note {
  color: #7dd3e4;
  background: rgba(8, 145, 178, 0.1);
  border-color: rgba(8, 145, 178, 0.3);
}

.hub-action-pill {
  justify-self: end;
  padding: 5px 8px;
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.hub-action-pill.ghost {
  color: rgba(250, 250, 250, 0.7);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.09);
}

.hub-action-pill.success {
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.24);
}

.hub-foot-strip {
  min-height: 46px;
  padding-top: 14px;
  margin-top: auto;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  box-shadow: none;
  flex-wrap: wrap;
}

.hub-agent-stack {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.hub-agent-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -5px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 900;
}

.hub-agent-stack span:first-child {
  margin-left: 0;
}

.hub-agent-stack strong {
  margin-left: 8px;
  color: rgba(250, 250, 250, 0.58);
  font-size: 11.5px;
  font-weight: 700;
  white-space: normal;
}

.hub-home-main {
  gap: 14px;
}

.hub-home-head,
.hub-home-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hub-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 16px 18px;
}

.hub-home-head strong,
.hub-panel-head strong {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.2;
}

.hub-home-head small {
  display: block;
  max-width: 560px;
  margin-top: 5px;
  color: rgba(250, 250, 250, 0.54);
  font-size: 12.5px;
  line-height: 1.45;
}

.hub-home-kicker,
.hub-panel-head span,
.hub-home-head time {
  color: rgba(250, 250, 250, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hub-home-head time {
  flex: 0 0 auto;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
}

.hub-home-grid,
.hub-home-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 14px;
  min-width: 0;
}

.hub-home-panel {
  min-width: 0;
  padding: 14px;
}

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

.hub-panel-head strong {
  text-align: right;
}

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

.hub-module-card,
.hub-priority-item,
.hub-agent-mini {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  transition: transform 0.22s var(--ease-smooth), border-color 0.22s var(--ease-smooth), background 0.22s var(--ease-smooth);
}

.hub-module-card {
  min-height: 92px;
  padding: 12px;
}

.hub-module-card:hover,
.hub-priority-item:hover,
.hub-agent-mini:hover {
  background: rgba(255, 255, 255, 0.048);
  border-color: rgba(212, 168, 83, 0.22);
  transform: translateY(-1px);
}

.hub-module-card div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.hub-module-card strong {
  color: rgba(250, 250, 250, 0.9);
  font-size: 13px;
  line-height: 1.22;
}

.hub-module-card em {
  flex: 0 0 auto;
  padding: 3px 6px;
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.hub-module-card:nth-child(5) em,
.hub-module-card:nth-child(6) em {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.1);
  border-color: rgba(212, 168, 83, 0.22);
}

.hub-module-card small {
  display: block;
  color: rgba(250, 250, 250, 0.5);
  font-size: 11.5px;
  line-height: 1.35;
}

.hub-priority-list {
  display: grid;
  gap: 8px;
}

.hub-priority-item {
  display: grid;
  align-items: start;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
}

.hub-priority-item .hub-feed-dot {
  margin-top: 6px;
}

.hub-priority-item strong {
  display: block;
  color: rgba(250, 250, 250, 0.9);
  font-size: 12.5px;
  line-height: 1.28;
}

.hub-priority-item strong em {
  color: var(--gold-light);
  font-style: normal;
}

.hub-priority-item small {
  display: block;
  margin-top: 4px;
  color: rgba(250, 250, 250, 0.5);
  font-size: 11.5px;
  line-height: 1.3;
}

.hub-workflow-card p {
  margin: 12px 0 0;
  color: rgba(250, 250, 250, 0.56);
  font-size: 12.5px;
  line-height: 1.5;
}

.hub-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hub-workflow-step {
  position: relative;
  min-width: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 9px;
}

.hub-workflow-step > span {
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: 10px;
  background: rgba(250, 250, 250, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.035);
}

.hub-workflow-step.done > span,
.hub-workflow-step.active > span {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08), 0 0 14px rgba(34, 197, 94, 0.34);
}

.hub-workflow-step.active {
  border-color: rgba(212, 168, 83, 0.26);
  box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.08);
}

.hub-workflow-step.active > span {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1), 0 0 14px rgba(212, 168, 83, 0.38);
}

.hub-workflow-step strong,
.hub-workflow-step small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-workflow-step strong {
  color: rgba(250, 250, 250, 0.86);
  font-size: 12px;
  line-height: 1.2;
}

.hub-workflow-step small {
  margin-top: 4px;
  color: rgba(250, 250, 250, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
}

.hub-agent-panel {
  display: grid;
  align-content: start;
  gap: 8px;
}

.hub-agent-mini {
  display: grid;
  align-items: center;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px 10px;
}

.hub-agent-mini > span {
  width: 7px;
  height: 7px;
  background: #28c840;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(40, 200, 64, 0.42);
}

.hub-agent-mini strong {
  overflow: hidden;
  color: rgba(250, 250, 250, 0.82);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-agent-mini small {
  color: rgba(250, 250, 250, 0.46);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  white-space: nowrap;
}

.hub-simple-main {
  gap: 16px;
}

.hub-simple-topbar,
.hub-simple-hero,
.hub-simple-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hub-simple-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 12px 14px;
}

.hub-simple-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  color: rgba(250, 250, 250, 0.48);
  font-size: 12px;
}

.hub-simple-breadcrumb span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-simple-breadcrumb span::after {
  content: ">";
  margin-left: 8px;
  color: rgba(212, 168, 83, 0.7);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.hub-simple-breadcrumb strong {
  overflow: hidden;
  color: rgba(250, 250, 250, 0.86);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-simple-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: rgba(250, 250, 250, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.hub-simple-user span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 900;
}

.hub-simple-hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(212, 168, 83, 0.12), transparent 66%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.024);
}

.hub-simple-hero span,
.hub-panel-head span {
  color: rgba(250, 250, 250, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hub-simple-hero h2 {
  max-width: 600px;
  margin: 8px 0 8px;
  color: var(--text-primary);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.hub-simple-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(250, 250, 250, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.hub-simple-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  padding: 8px 10px;
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.09);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.hub-simple-status span {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.44);
}

.hub-simple-panel {
  padding: 16px;
}

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

.hub-automation-card,
.hub-run-row,
.hub-admin-list > div {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  transition: transform 0.22s var(--ease-smooth), border-color 0.22s var(--ease-smooth), background 0.22s var(--ease-smooth);
}

.hub-automation-card:hover,
.hub-run-row:hover,
.hub-admin-list > div:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 168, 83, 0.2);
  transform: translateY(-1px);
}

.hub-automation-card {
  display: grid;
  align-items: start;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 94px;
  padding: 14px;
}

.hub-automation-card > span {
  color: var(--gold-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
}

.hub-automation-card strong,
.hub-run-row strong,
.hub-admin-list strong {
  display: block;
  color: rgba(250, 250, 250, 0.9);
  font-size: 13px;
  line-height: 1.25;
}

.hub-automation-card small,
.hub-run-row small,
.hub-admin-list small {
  display: block;
  margin-top: 5px;
  color: rgba(250, 250, 250, 0.52);
  font-size: 11.5px;
  line-height: 1.4;
}

.hub-automation-card em {
  padding: 4px 7px;
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.hub-simple-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 14px;
  min-width: 0;
}

.hub-run-list,
.hub-admin-list {
  display: grid;
  gap: 8px;
}

.hub-run-row {
  display: grid;
  align-items: start;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
}

.hub-run-row .hub-feed-dot {
  margin-top: 6px;
}

.hub-run-row time {
  color: rgba(250, 250, 250, 0.42);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.hub-admin-list > div {
  min-height: 62px;
  padding: 11px 12px;
}

.hub-app-frame--wide .hub-app-body {
  min-height: 626px;
}

.hub-app-frame--wide .hub-app-main {
  gap: 18px;
  padding: 20px 22px 22px;
}

@keyframes hub-live-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes hub-caret-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes hub-verb-glow {
  0%,
  58%,
  100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: rgba(250, 250, 250, 0.72);
  }

  12% {
    border-color: rgba(212, 168, 83, 0.52);
    box-shadow: 0 0 16px rgba(212, 168, 83, 0.16);
    color: var(--gold-light);
  }
}

/* Trust page */
.trust-page .page-hero-inner {
  max-width: 940px;
}

.trust-posture {
  background:
    radial-gradient(ellipse 64% 40% at 50% 0%, rgba(34, 197, 94, 0.07), transparent 70%),
    var(--bg-primary);
}

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

.trust-posture-card {
  min-width: 0;
  min-height: 260px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.trust-posture-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(34, 197, 94, 0.34);
  transform: translateY(-3px);
}

.trust-posture-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--green-light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.trust-posture-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.18;
}

.trust-posture-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.trust-band {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-copy {
  max-width: 980px;
}

.trust-copy p:not(.eyebrow) {
  max-width: 780px;
  margin: var(--space-md) 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.72;
}

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

.trust-split > div {
  min-width: 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
}

.trust-split h2 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
}

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

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

.approval-grid li {
  min-height: 66px;
  padding: 16px 18px 16px 34px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--red);
  border-radius: 10px;
}

.approval-grid li::before {
  top: 23px;
  left: 16px;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-smooth), transform 0.55s var(--ease-smooth);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .accounting-layout,
  .consulting-layout,
  .engineering-layout,
  .marketing-layout,
  .realestate-layout {
    grid-template-columns: 1fr;
  }

  .war-room-brief,
  .studio-header {
    grid-row: auto;
  }

  .plugin-grid,
  .governance-wide,
  .pricing-page .pricing-grid,
  .detail-grid,
  .trust-posture-grid,
  .approval-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-app-body {
    grid-template-columns: minmax(150px, 188px) minmax(0, 1fr);
  }

  .hub-stage {
    min-height: 0;
  }
}

@media (max-width: 880px) {
  .carousel-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .carousel-tab {
    flex: 0 0 auto;
  }

  .hub-app-body,
  .hub-app-frame--wide .hub-app-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hub-app-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .hub-mockup .hub-app-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
    padding: 14px;
  }

  .hub-mockup .hub-side-label,
  .hub-mockup .hub-sidebar-user {
    grid-column: 1 / -1;
  }

  .hub-mockup .hub-agent-label {
    margin-top: 8px;
  }

  .hub-mockup .hub-sidebar-user {
    margin-top: 8px;
  }
}

@media (max-width: 820px) {
  .page-hero-inner {
    text-align: left;
  }

  .page-hero-inner .eyebrow,
  .hub-examples .eyebrow {
    justify-content: flex-start;
  }

  .page-hero-inner h1,
  .page-hero-inner p:not(.eyebrow) {
    margin-left: 0;
  }

  .page-hero-inner .hero-actions,
  .center-actions,
  .carousel-tabs {
    justify-content: flex-start;
  }

  .carousel-tabs {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .carousel-tab {
    width: auto;
    flex: 0 0 auto;
    text-align: left;
  }

  .hub-demo-chrome {
    grid-template-columns: auto 1fr;
  }

  .hub-demo-chrome em {
    grid-column: 1 / -1;
    padding-bottom: 10px;
  }

  .hub-demo-body {
    min-height: 0;
    padding: 16px;
  }

  .hub-command-bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hub-command-verbs {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .accounting-metrics,
  .property-grid,
  .is-grid,
  .fit-grid,
  .plugin-grid,
  .governance-wide,
  .pricing-page .pricing-grid,
  .detail-grid,
  .trust-split,
  .trust-posture-grid,
  .approval-grid {
    grid-template-columns: 1fr;
  }

  .ledger-row,
  .project-row,
  .risk-row,
  .campaign-card,
  .hub-feed-row {
    grid-template-columns: 1fr;
  }

  .ledger-row em,
  .project-row em,
  .risk-row em,
  .campaign-card em {
    grid-row: auto;
    grid-column: auto;
    justify-self: start;
  }

  .hub-feed-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .hub-feed-row .hub-action-pill {
    grid-column: 2;
    justify-self: start;
  }

  .hub-home-grid,
  .hub-home-lower,
  .hub-simple-lower {
    grid-template-columns: 1fr;
  }

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

  .custom-build-panel,
  .is-grid > div,
  .fit-grid > div,
  .trust-split > div {
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .page-hero-inner h1,
  .hub-section-intro h2,
  .custom-build-panel h2,
  .best-fit h2 {
    font-size: 34px;
  }

  .hub-demo h3 {
    font-size: 30px;
  }

  .hub-demo-chrome {
    padding: 12px;
  }

  .hub-demo-chrome strong {
    font-size: 11px;
  }

  .hub-demo-integrations > div {
    gap: 7px;
  }

  .hub-brand-tile {
    width: 34px;
    height: 34px;
  }

  .hub-brand-tile img {
    width: 19px;
    height: 19px;
  }

  .hub-app-chrome {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }

  .hub-live-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hub-app-main,
  .hub-app-frame--wide .hub-app-main {
    gap: 12px;
    padding: 12px;
  }

  .hub-mockup .hub-app-sidebar {
    grid-template-columns: 1fr;
  }

  .hub-connected-strip {
    grid-template-columns: 1fr;
  }

  .hub-sync-pill {
    justify-self: start;
  }

  .hub-logo-tile {
    width: 34px;
    height: 34px;
  }

  .hub-logo-tile img {
    width: 19px;
    height: 19px;
  }

  .hub-feed-header,
  .hub-foot-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .hub-home-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-home-head time {
    align-self: flex-start;
  }

  .hub-module-grid {
    grid-template-columns: 1fr;
  }

  .hub-simple-topbar,
  .hub-simple-hero {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .hub-simple-topbar {
    flex-direction: column;
  }

  .hub-automation-grid {
    grid-template-columns: 1fr;
  }

  .hub-automation-card,
  .hub-run-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .hub-automation-card em,
  .hub-run-row time {
    grid-column: 2;
    justify-self: start;
  }

  .hub-priority-item {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .hub-priority-item .hub-action-pill {
    grid-column: 2;
    justify-self: start;
  }

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

  .hub-agent-mini {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .hub-agent-mini small {
    grid-column: 2;
  }

  .hub-agent-stack {
    justify-content: flex-start;
  }

  .hub-feed-row strong,
  .hub-feed-row small,
  .hub-agent-stack strong {
    white-space: normal;
  }

  .trust-callout {
    padding: 26px;
  }

  .pricing-page .page-hero-inner h1 span {
    display: block;
  }

  .trust-page .page-hero-inner h1 span {
    display: block;
    max-width: 340px;
  }

  .pricing-tier {
    min-height: 0;
    padding: 28px 22px;
  }

  .tier-best-for {
    min-height: 0;
  }

  .cta-buttons,
  .btn-v5,
  .tier-cta {
    width: 100%;
  }
}

/* Homepage mockup: intentionally plain, portal-like and usable */
.hub-mockup {
  width: min(1380px, calc(100vw - 32px));
  justify-self: center;
  margin-inline: auto;
}

.hub-mockup .mockup-glow {
  inset: -10% -6%;
  opacity: 0.7;
  background:
    radial-gradient(60% 46% at 52% 48%, rgba(212, 168, 83, 0.18), transparent 68%),
    radial-gradient(36% 32% at 82% 24%, rgba(34, 197, 94, 0.08), transparent 72%);
  filter: blur(34px);
}

.hub-mockup .hub-app-frame {
  max-width: 1380px;
  color: #243042;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)) padding-box,
    linear-gradient(135deg, rgba(232, 199, 120, 0.62), rgba(255, 255, 255, 0.28) 38%, rgba(34, 197, 94, 0.18) 100%) border-box;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(130%);
}

.hub-mockup .hub-app-frame::before {
  display: none;
}

.hub-mockup .hub-app-chrome {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 0 20px;
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid rgba(228, 222, 210, 0.72);
  backdrop-filter: blur(18px);
}

.hub-mockup .hub-app-lights {
  display: none;
}

.hub-mockup .hub-app-title {
  color: #253044;
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
}

.hub-mockup .hub-live-pill {
  min-height: 28px;
  padding: 0 12px;
  color: #166534;
  background: #e8f7ee;
  border-color: #b9e3c4;
  font-size: 10.5px;
  text-transform: none;
}

.hub-mockup .hub-live-pill span {
  background: #22c55e;
  box-shadow: none;
  animation: none;
}

.hub-mockup .hub-app-body {
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 590px;
  background:
    radial-gradient(70% 76% at 88% 12%, rgba(212, 168, 83, 0.1), transparent 62%),
    rgba(246, 242, 234, 0.8);
}

.hub-mockup .hub-app-sidebar {
  padding: 22px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 44%),
    rgba(31, 48, 76, 0.88);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hub-mockup .hub-side-label {
  margin: 2px 0 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  letter-spacing: 1.2px;
}

.hub-mockup .hub-agent-label {
  margin-top: 16px;
}

.hub-mockup .hub-side-item {
  min-height: 38px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  font-size: 12.5px;
}

.hub-mockup .hub-side-item.active {
  color: #ffffff;
  background: rgba(212, 168, 83, 0.2);
  border-color: rgba(212, 168, 83, 0.34);
  box-shadow: inset 3px 0 0 rgba(232, 199, 120, 0.88);
}

.hub-mockup .hub-side-item span {
  color: #e8c778;
  font-size: 11px;
}

.hub-mockup .hub-side-item em {
  min-width: 0;
  padding: 2px 7px;
  color: #14532d;
  background: #dff4e6;
  border-color: #b9e3c4;
  font-size: 9px;
}

.hub-mockup .hub-side-item em.live {
  color: #14532d;
  background: #dff4e6;
  border-color: #b9e3c4;
}

.hub-mockup .hub-app-sidebar .hub-side-item em {
  display: none;
}

.hub-mockup .hub-sidebar-user {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.hub-mockup .hub-sidebar-user strong {
  color: #ffffff;
}

.hub-mockup .hub-sidebar-user small {
  color: rgba(255, 255, 255, 0.56);
}

.hub-mockup .hub-app-main {
  gap: 16px;
  padding: 24px;
  background: rgba(246, 242, 234, 0.58);
}

.hub-mockup .hub-simple-topbar,
.hub-mockup .hub-simple-hero,
.hub-mockup .hub-simple-panel {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(225, 219, 207, 0.76);
  border-radius: 10px;
  box-shadow:
    0 10px 26px rgba(36, 48, 66, 0.075),
    0 1px 2px rgba(36, 48, 66, 0.06);
  backdrop-filter: blur(14px);
}

.hub-mockup .hub-simple-topbar {
  min-height: 56px;
  padding: 12px 16px;
}

.hub-mockup .hub-simple-breadcrumb {
  color: #6b7280;
  font-size: 12px;
}

.hub-mockup .hub-simple-breadcrumb span::after {
  color: #b8923e;
}

.hub-mockup .hub-simple-breadcrumb strong,
.hub-mockup .hub-simple-user {
  color: #253044;
}

.hub-mockup .hub-simple-user span,
.hub-mockup .hub-sidebar-user > span {
  background: #d4a853;
}

.hub-mockup .hub-simple-hero {
  padding: 28px;
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(212, 168, 83, 0.12), transparent 64%),
    rgba(255, 250, 240, 0.82);
}

.hub-mockup .hub-simple-hero span,
.hub-mockup .hub-panel-head span {
  color: #7a6a4c;
  font-size: 9.5px;
  letter-spacing: 1.2px;
}

.hub-mockup .hub-simple-hero h2 {
  color: #202938;
  max-width: 660px;
  font-size: clamp(26px, 3.1vw, 38px);
}

.hub-mockup .hub-simple-hero p {
  max-width: 640px;
  color: #5f6673;
  font-size: 14.5px;
}

.hub-mockup .hub-simple-status {
  color: #166534;
  background: #e8f7ee;
  border-color: #b9e3c4;
  box-shadow: none;
}

.hub-mockup .hub-panel-head strong {
  color: #253044;
}

.hub-mockup .hub-automation-grid {
  gap: 12px;
}

.hub-mockup .hub-automation-card,
.hub-mockup .hub-run-row,
.hub-mockup .hub-admin-list > div {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(229, 223, 210, 0.82);
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hub-mockup .hub-automation-card:hover,
.hub-mockup .hub-run-row:hover,
.hub-mockup .hub-admin-list > div:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(212, 168, 83, 0.48);
  box-shadow: 0 8px 18px rgba(36, 48, 66, 0.075);
  transform: translateY(-1px);
}

.hub-mockup .hub-automation-card > span {
  color: #b8923e;
}

.hub-mockup .hub-automation-card strong,
.hub-mockup .hub-run-row strong,
.hub-mockup .hub-admin-list strong {
  color: #253044;
}

.hub-mockup .hub-automation-card small,
.hub-mockup .hub-run-row small,
.hub-mockup .hub-admin-list small {
  color: #6b7280;
}

.hub-mockup .hub-automation-card em {
  color: #253044;
  background: rgba(232, 199, 120, 0.72);
  border-color: rgba(184, 146, 62, 0.28);
}

.hub-mockup .hub-run-row time {
  color: #8a8172;
}

.hub-mockup .hub-feed-dot {
  box-shadow: none;
}

@media (min-width: 681px) {
  .hub-mockup .hub-app-body {
    grid-template-columns: 238px minmax(0, 1fr);
  }

  .hub-mockup .hub-app-sidebar {
    display: flex;
    flex-direction: column;
  }

  .hub-mockup .hub-side-label,
  .hub-mockup .hub-sidebar-user {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .hub-mockup .hub-app-body {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .hub-mockup .hub-app-sidebar {
    padding: 18px 12px;
  }

  .hub-mockup .hub-app-main {
    padding: 18px;
  }

  .hub-mockup .hub-simple-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .hub-mockup .hub-simple-hero h2 {
    font-size: clamp(24px, 4.4vw, 30px);
  }

  .hub-mockup .hub-simple-status {
    justify-self: start;
  }

  .hub-mockup .hub-automation-grid,
  .hub-mockup .hub-simple-lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hub-mockup .hub-app-body {
    grid-template-columns: 1fr;
  }

  .hub-mockup .hub-app-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  }
}

/* Homepage mockup colour alignment: Empire dark theme + macOS frame */
.hub-mockup .hub-app-frame {
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)) padding-box,
    linear-gradient(135deg, rgba(232, 199, 120, 0.86), rgba(255, 255, 255, 0.24) 34%, rgba(212, 168, 83, 0.48) 64%, rgba(34, 197, 94, 0.24) 100%) border-box;
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 34px 100px rgba(0, 0, 0, 0.58),
    0 14px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(212, 168, 83, 0.32),
    0 0 0 8px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(30px) saturate(135%);
}

.hub-mockup .hub-app-frame::before {
  display: block;
  background:
    radial-gradient(72% 62% at 16% 0%, rgba(212, 168, 83, 0.12), transparent 66%),
    radial-gradient(60% 58% at 100% 100%, rgba(34, 197, 94, 0.055), transparent 72%),
    linear-gradient(180deg, rgba(34, 34, 40, 0.8), rgba(26, 26, 32, 0.92));
}

.hub-mockup .hub-app-frame::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(232, 199, 120, 0.18);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32);
}

.hub-mockup .hub-app-chrome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 58px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(14, 14, 18, 0.78);
  border-bottom: 1px solid rgba(232, 199, 120, 0.16);
}

.hub-mockup .hub-app-lights {
  display: flex;
}

.hub-mockup .hub-app-title {
  color: rgba(250, 250, 250, 0.58);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

.hub-mockup .hub-live-pill {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.08);
  border-color: rgba(212, 168, 83, 0.24);
}

.hub-mockup .hub-live-pill span {
  background: var(--green);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.65);
  animation: hub-live-pulse 2.8s ease-in-out infinite;
}

.hub-mockup .hub-app-body {
  background:
    radial-gradient(70% 76% at 88% 12%, rgba(212, 168, 83, 0.08), transparent 62%),
    rgba(26, 26, 32, 0.62);
}

.hub-mockup .hub-app-sidebar {
  background: rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-mockup .hub-app-main {
  background: rgba(26, 26, 32, 0.24);
}

.hub-mockup .hub-simple-topbar,
.hub-mockup .hub-simple-hero,
.hub-mockup .hub-simple-panel {
  background: rgba(255, 255, 255, 0.042);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.hub-mockup .hub-simple-hero {
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(212, 168, 83, 0.13), transparent 64%),
    rgba(255, 255, 255, 0.04);
}

.hub-mockup .hub-simple-breadcrumb,
.hub-mockup .hub-simple-hero p,
.hub-mockup .hub-automation-card small,
.hub-mockup .hub-run-row small,
.hub-mockup .hub-admin-list small {
  color: rgba(250, 250, 250, 0.6);
}

.hub-mockup .hub-simple-breadcrumb strong,
.hub-mockup .hub-simple-user,
.hub-mockup .hub-simple-hero h2,
.hub-mockup .hub-panel-head strong,
.hub-mockup .hub-automation-card strong,
.hub-mockup .hub-run-row strong,
.hub-mockup .hub-admin-list strong {
  color: rgba(250, 250, 250, 0.94);
}

.hub-mockup .hub-simple-hero span,
.hub-mockup .hub-panel-head span {
  color: rgba(232, 199, 120, 0.72);
}

.hub-mockup .hub-automation-card,
.hub-mockup .hub-run-row,
.hub-mockup .hub-admin-list > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-mockup .hub-automation-card:hover,
.hub-mockup .hub-run-row:hover,
.hub-mockup .hub-admin-list > div:hover {
  background: rgba(255, 255, 255, 0.062);
  border-color: rgba(212, 168, 83, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hub-mockup .hub-simple-status {
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.24);
}

.hub-mockup .hub-automation-card em {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.28);
}

.hub-mockup .hub-run-row time {
  color: rgba(250, 250, 250, 0.44);
}

@media (max-width: 1180px) {
  .hub-showcase-slide {
    width: min(1080px, calc(100% - 78px));
  }

  .hub-showcase-slide.is-prev {
    transform: translateX(calc(-50% - 320px)) translateY(28px) scale(0.84) rotateY(5deg);
  }

  .hub-showcase-slide.is-next {
    transform: translateX(calc(-50% + 320px)) translateY(28px) scale(0.84) rotateY(-5deg);
  }

  .hub-showcase-slide.is-far-prev {
    transform: translateX(calc(-50% - 540px)) translateY(58px) scale(0.72) rotateY(8deg);
  }

  .hub-showcase-slide.is-far-next {
    transform: translateX(calc(-50% + 540px)) translateY(58px) scale(0.72) rotateY(-8deg);
  }
}

@media (max-width: 820px) {
  .hub-showcase-stage {
    min-height: 0;
  }

  .hub-showcase-carousel {
    min-height: 0;
  }

  .hub-showcase-slide {
    width: calc(100% - 44px);
  }

  .hub-showcase-slide.is-prev,
  .hub-showcase-slide.is-next,
  .hub-showcase-slide.is-far-prev,
  .hub-showcase-slide.is-far-next {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.92);
  }

  .hub-carousel-arrow {
    top: 380px;
  }

  .hub-carousel-arrow--prev {
    left: -4px;
  }

  .hub-carousel-arrow--next {
    right: -4px;
  }

  .hub-portal-body {
    grid-template-columns: 1fr;
  }

  .hub-portal-sidebar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 11px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scrollbar-width: none;
  }

  .hub-portal-sidebar::-webkit-scrollbar {
    display: none;
  }

  .hub-portal-sidebar .hub-side-label,
  .hub-portal-sidebar .hub-sidebar-user {
    display: none;
  }

  .hub-portal-sidebar .hub-side-item {
    display: inline-flex;
    grid-template-columns: none;
    flex: 0 0 auto;
    min-height: 34px;
    margin: 0;
    padding: 7px 10px;
  }

  .hub-portal-sidebar .hub-side-item span {
    display: none;
  }

  .hub-portal-sidebar .hub-side-item strong {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .portal-hero,
  .portal-admin-hero {
    grid-template-columns: 1fr;
  }

  .portal-admin-hero .hub-simple-status {
    justify-self: start;
  }

  .portal-admin-hero {
    align-items: start;
    align-content: start;
    min-height: 158px;
  }

  .portal-automation-layout,
  .portal-two-col,
  .portal-review-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.86fr);
  }

  .portal-assistant-workflow {
    grid-template-columns: 124px minmax(0, 1fr) 150px;
    gap: 8px;
  }

  .portal-workflow-steps,
  .portal-chat--compact,
  .portal-document--editor {
    padding: 10px;
  }

  .portal-step-rail {
    gap: 6px;
  }

  .portal-step-rail > div {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 6px;
    padding: 7px;
  }

  .portal-step-rail span {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .portal-step-rail strong,
  .portal-chat--compact .assistant-msg strong,
  .portal-chat--compact .user-msg strong {
    font-size: 10.5px;
  }

  .portal-step-rail small,
  .portal-chat--compact .assistant-msg p,
  .portal-chat--compact .user-msg p {
    font-size: 9.5px;
  }

  .portal-document--editor p {
    font-size: 11px;
  }

  .portal-page-intro h2 {
    font-size: 19px;
  }

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

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

  .hub-portal-window .hub-automation-card {
    min-height: 78px;
    padding: 10px;
  }
}

@media (max-width: 560px) {
  .hub-showcase-stage {
    min-height: 0;
  }

  .hub-showcase-carousel {
    min-height: 0;
  }

  .hub-showcase-slide {
    width: calc(100% - 22px);
  }

  .hub-portal-main {
    padding: 12px;
  }

  .portal-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-hero,
  .portal-admin-hero {
    padding: 18px;
  }

  .portal-hero h2,
  .portal-admin-hero h2 {
    font-size: 26px;
  }

  .portal-file-list > div,
  .portal-review-list > div,
  .portal-output,
  .portal-context-list > div {
    grid-template-columns: 1fr;
  }

  .portal-annotation-popover {
    left: 50%;
    bottom: 28px;
    width: 210px;
    transform: translateX(-50%);
  }

  .portal-automation-layout,
  .portal-two-col,
  .portal-review-layout,
  .portal-assistant-workflow {
    grid-template-columns: 1fr;
  }

  .hub-portal-window .hub-automation-grid {
    grid-template-columns: 1fr;
  }

  .portal-output {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Homepage preview now shares the same product window language as the AI Hub page. */
.hub-mockup .hub-portal-window {
  width: 100%;
  max-width: 1220px;
  height: 760px;
  margin-inline: auto;
}

.hub-mockup .hub-portal-body {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 0;
}

.hub-mockup .hub-portal-main {
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
}

.hub-mockup .portal-hero {
  min-height: 142px;
  padding: 22px;
}

/* More landscape-oriented hero mockup */
.hub-mockup .hub-app-body {
  min-height: 500px;
}

.hub-mockup .hub-app-main {
  gap: 13px;
  padding: 18px;
}

.hub-mockup .hub-simple-topbar {
  min-height: 48px;
  padding: 10px 14px;
}

.hub-mockup .hub-simple-hero {
  padding: 22px;
}

.hub-mockup .hub-simple-panel {
  padding: 14px;
}

.hub-mockup .hub-automation-card {
  min-height: 78px;
  padding: 12px;
}

.hub-mockup .hub-run-row,
.hub-mockup .hub-admin-list > div {
  min-height: 54px;
  padding: 9px 10px;
}

@media (min-width: 1040px) {
  .hub-mockup .hub-simple-main:not(.hub-portal-main) {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    align-content: start;
  }

  .hub-mockup .hub-simple-main:not(.hub-portal-main) .hub-simple-topbar,
  .hub-mockup .hub-simple-main:not(.hub-portal-main) .hub-simple-lower {
    grid-column: 1 / -1;
  }

  .hub-mockup .hub-simple-hero:not(.portal-hero) {
    min-height: 252px;
  }
}

@media (max-width: 920px) {
  .hub-mockup .hub-app-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hub-mockup .hub-app-sidebar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 11px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scrollbar-width: none;
  }

  .hub-mockup .hub-app-sidebar::-webkit-scrollbar {
    display: none;
  }

  .hub-mockup .hub-side-label,
  .hub-mockup .hub-sidebar-user {
    display: none;
  }

  .hub-mockup .hub-side-item {
    display: inline-flex;
    grid-template-columns: none;
    flex: 0 0 auto;
    min-height: 34px;
    margin: 0;
    padding: 7px 10px;
  }

  .hub-mockup .hub-side-item strong {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .hub-mockup .hub-side-item span {
    display: none;
  }
}

.hub-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 28px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(212, 168, 83, 0.22);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hub-mode-toggle button {
  min-height: 21px;
  padding: 3px 9px;
  color: rgba(250, 250, 250, 0.56);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1;
  transition: color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.hub-mode-toggle button.active {
  color: #17130c;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  box-shadow: 0 4px 12px rgba(184, 146, 62, 0.24);
}

.hub-mode-toggle--preview {
  min-height: 34px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.hub-mode-toggle--preview button {
  min-height: 26px;
  padding: 5px 12px;
  font-size: 10.5px;
}

.hub-app-frame.hub-app-frame--light,
.hub-mockup .hub-app-frame.hub-app-frame--light,
.hub-portal-window.hub-app-frame--light {
  color: #201b14;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 252, 246, 0.32)) padding-box,
    linear-gradient(135deg, rgba(212, 168, 83, 0.58), rgba(255, 255, 255, 0.84) 34%, rgba(212, 168, 83, 0.28) 66%, rgba(34, 197, 94, 0.16) 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -18px 70px rgba(184, 146, 62, 0.06),
    0 28px 80px rgba(12, 10, 7, 0.26),
    0 10px 28px rgba(12, 10, 7, 0.14),
    0 0 0 1px rgba(212, 168, 83, 0.22);
}

.hub-app-frame.hub-app-frame--light::before,
.hub-mockup .hub-app-frame.hub-app-frame--light::before,
.hub-portal-window.hub-app-frame--light::before {
  background:
    radial-gradient(72% 62% at 12% 0%, rgba(232, 199, 120, 0.2), transparent 66%),
    radial-gradient(64% 58% at 100% 100%, rgba(34, 197, 94, 0.08), transparent 72%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(241, 233, 218, 0.88));
}

.hub-app-frame.hub-app-frame--light::after,
.hub-mockup .hub-app-frame.hub-app-frame--light::after,
.hub-portal-window.hub-app-frame--light::after {
  border-color: rgba(184, 146, 62, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(138, 102, 38, 0.14);
}

.hub-app-frame.hub-app-frame--light .hub-app-chrome,
.hub-mockup .hub-app-frame.hub-app-frame--light .hub-app-chrome,
.hub-portal-window.hub-app-frame--light .hub-app-chrome {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(250, 246, 237, 0.52)),
    rgba(241, 233, 218, 0.82);
  border-bottom-color: rgba(184, 146, 62, 0.24);
}

.hub-app-frame.hub-app-frame--light .hub-app-title,
.hub-mockup .hub-app-frame.hub-app-frame--light .hub-app-title,
.hub-portal-window.hub-app-frame--light .hub-app-title {
  color: rgba(42, 35, 24, 0.62);
}

.hub-app-frame.hub-app-frame--light .hub-mode-toggle {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(184, 146, 62, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 6px 16px rgba(138, 102, 38, 0.08);
}

.hub-app-frame.hub-app-frame--light .hub-mode-toggle button {
  color: rgba(42, 35, 24, 0.54);
}

.hub-app-frame.hub-app-frame--light .hub-mode-toggle button.active {
  color: #17130c;
}

.hub-app-frame.hub-app-frame--light .hub-app-body,
.hub-app-frame.hub-app-frame--light.hub-portal-window .hub-portal-body {
  background:
    radial-gradient(72% 80% at 88% 12%, rgba(212, 168, 83, 0.12), transparent 64%),
    rgba(246, 241, 231, 0.7);
}

.hub-app-frame.hub-app-frame--light .hub-app-sidebar,
.hub-app-frame.hub-app-frame--light .hub-portal-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 52%),
    rgba(232, 222, 204, 0.76);
  border-right-color: rgba(138, 102, 38, 0.14);
}

.hub-app-frame.hub-app-frame--light .hub-app-main,
.hub-app-frame.hub-app-frame--light .hub-portal-main {
  background: rgba(247, 241, 230, 0.5);
}

.hub-app-frame.hub-app-frame--light .hub-simple-topbar,
.hub-app-frame.hub-app-frame--light .portal-topbar,
.hub-app-frame.hub-app-frame--light .hub-simple-hero,
.hub-app-frame.hub-app-frame--light .portal-hero,
.hub-app-frame.hub-app-frame--light .portal-admin-hero,
.hub-app-frame.hub-app-frame--light .hub-simple-panel,
.hub-app-frame.hub-app-frame--light .portal-panel,
.hub-app-frame.hub-app-frame--light .portal-page-intro,
.hub-app-frame.hub-app-frame--light .portal-document,
.hub-app-frame.hub-app-frame--light .portal-chat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 250, 240, 0.42)),
    rgba(255, 252, 246, 0.5);
  border-color: rgba(138, 102, 38, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(88, 70, 35, 0.08);
}

.hub-app-frame.hub-app-frame--light .hub-simple-hero,
.hub-app-frame.hub-app-frame--light .portal-hero,
.hub-app-frame.hub-app-frame--light .portal-admin-hero,
.hub-app-frame.hub-app-frame--light .portal-page-intro {
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(212, 168, 83, 0.18), transparent 64%),
    rgba(255, 252, 246, 0.56);
}

.hub-app-frame.hub-app-frame--light .hub-side-label {
  color: rgba(42, 35, 24, 0.45);
}

.hub-app-frame.hub-app-frame--light .hub-side-item {
  color: rgba(42, 35, 24, 0.72);
  background: rgba(255, 255, 255, 0.2);
}

.hub-app-frame.hub-app-frame--light .hub-side-item.active {
  color: #201b14;
  background: rgba(212, 168, 83, 0.2);
  border-color: rgba(184, 146, 62, 0.34);
  box-shadow: inset 3px 0 0 rgba(184, 146, 62, 0.92), inset 0 0 0 1px rgba(212, 168, 83, 0.16);
}

.hub-app-frame.hub-app-frame--light .hub-side-item span {
  color: rgba(161, 119, 34, 0.9);
}

.hub-app-frame.hub-app-frame--light .hub-side-item em.live {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.hub-app-frame.hub-app-frame--light .hub-sidebar-user {
  border-top-color: rgba(138, 102, 38, 0.12);
}

.hub-app-frame.hub-app-frame--light .hub-sidebar-user strong,
.hub-app-frame.hub-app-frame--light .hub-simple-breadcrumb strong,
.hub-app-frame.hub-app-frame--light .hub-simple-user,
.hub-app-frame.hub-app-frame--light .hub-simple-hero h2,
.hub-app-frame.hub-app-frame--light .portal-hero h2,
.hub-app-frame.hub-app-frame--light .portal-admin-hero h2,
.hub-app-frame.hub-app-frame--light .portal-page-intro h2,
.hub-app-frame.hub-app-frame--light .hub-panel-head strong,
.hub-app-frame.hub-app-frame--light .hub-automation-card strong,
.hub-app-frame.hub-app-frame--light .hub-run-row strong,
.hub-app-frame.hub-app-frame--light .hub-admin-list strong,
.hub-app-frame.hub-app-frame--light .portal-step-rail strong,
.hub-app-frame.hub-app-frame--light .portal-action-list strong,
.hub-app-frame.hub-app-frame--light .portal-file-list strong,
.hub-app-frame.hub-app-frame--light .portal-access-summary strong,
.hub-app-frame.hub-app-frame--light .portal-access-list strong,
.hub-app-frame.hub-app-frame--light .portal-review-list strong,
.hub-app-frame.hub-app-frame--light .portal-metric-grid small,
.hub-app-frame.hub-app-frame--light .portal-document h3,
.hub-app-frame.hub-app-frame--light .portal-document h4,
.hub-app-frame.hub-app-frame--light .portal-doc-toolbar strong,
.hub-app-frame.hub-app-frame--light .assistant-msg strong,
.hub-app-frame.hub-app-frame--light .user-msg strong {
  color: #201b14;
}

.hub-app-frame.hub-app-frame--light .hub-sidebar-user small,
.hub-app-frame.hub-app-frame--light .hub-simple-breadcrumb,
.hub-app-frame.hub-app-frame--light .hub-simple-hero p,
.hub-app-frame.hub-app-frame--light .portal-hero p,
.hub-app-frame.hub-app-frame--light .portal-admin-hero p,
.hub-app-frame.hub-app-frame--light .hub-automation-card small,
.hub-app-frame.hub-app-frame--light .hub-run-row small,
.hub-app-frame.hub-app-frame--light .hub-admin-list small,
.hub-app-frame.hub-app-frame--light .hub-run-row time,
.hub-app-frame.hub-app-frame--light .portal-step-rail small,
.hub-app-frame.hub-app-frame--light .portal-panel small,
.hub-app-frame.hub-app-frame--light .portal-action-list small,
.hub-app-frame.hub-app-frame--light .portal-file-list small,
.hub-app-frame.hub-app-frame--light .portal-section-note,
.hub-app-frame.hub-app-frame--light .portal-document p,
.hub-app-frame.hub-app-frame--light .portal-chat p,
.hub-app-frame.hub-app-frame--light .portal-doc-toolbar span,
.hub-app-frame.hub-app-frame--light .portal-output small,
.hub-app-frame.hub-app-frame--light .portal-excel-preview span {
  color: rgba(42, 35, 24, 0.58);
}

.hub-app-frame.hub-app-frame--light .hub-simple-hero span,
.hub-app-frame.hub-app-frame--light .portal-hero span,
.hub-app-frame.hub-app-frame--light .portal-admin-hero span,
.hub-app-frame.hub-app-frame--light .portal-page-intro span,
.hub-app-frame.hub-app-frame--light .hub-panel-head span,
.hub-app-frame.hub-app-frame--light .portal-excel-preview strong {
  color: rgba(161, 119, 34, 0.78);
}

.hub-app-frame.hub-app-frame--light .hub-automation-card,
.hub-app-frame.hub-app-frame--light .hub-run-row,
.hub-app-frame.hub-app-frame--light .hub-admin-list > div,
.hub-app-frame.hub-app-frame--light .portal-action-list > div,
.hub-app-frame.hub-app-frame--light .portal-file-list > div,
.hub-app-frame.hub-app-frame--light .portal-metric-grid > div,
.hub-app-frame.hub-app-frame--light .portal-access-summary > div,
.hub-app-frame.hub-app-frame--light .portal-access-list > div,
.hub-app-frame.hub-app-frame--light .portal-review-list > div,
.hub-app-frame.hub-app-frame--light .portal-excel-preview > div,
.hub-app-frame.hub-app-frame--light .portal-output,
.hub-app-frame.hub-app-frame--light .portal-step-rail > div {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(138, 102, 38, 0.12);
}

.hub-app-frame.hub-app-frame--light .hub-automation-card:hover,
.hub-app-frame.hub-app-frame--light .hub-run-row:hover {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(184, 146, 62, 0.3);
}

.hub-app-frame.hub-app-frame--light .portal-step-rail > div.active {
  background: rgba(212, 168, 83, 0.18);
  border-color: rgba(184, 146, 62, 0.32);
}

.hub-app-frame.hub-app-frame--light .portal-metric-grid strong,
.hub-app-frame.hub-app-frame--light .portal-access-summary span {
  color: #9a6a17;
}

.hub-app-frame.hub-app-frame--light .hub-simple-status,
.hub-app-frame.hub-app-frame--light .portal-template-dropdown button em {
  color: #166534;
}

.hub-app-frame.hub-app-frame--light .portal-step-rail span {
  color: rgba(42, 35, 24, 0.58);
  background: rgba(42, 35, 24, 0.08);
}

.hub-app-frame.hub-app-frame--light .portal-step-rail > div.done span,
.hub-app-frame.hub-app-frame--light .portal-step-rail > div.active span,
.hub-app-frame.hub-app-frame--light .portal-action-list > div > span,
.hub-app-frame.hub-app-frame--light .portal-access-list > div > span,
.hub-app-frame.hub-app-frame--light .portal-admin-list > div > span {
  color: #17130c;
}

.hub-app-frame.hub-app-frame--light .portal-access-list em,
.hub-app-frame.hub-app-frame--light .portal-file-list em,
.hub-app-frame.hub-app-frame--light .portal-output > em,
.hub-app-frame.hub-app-frame--light .portal-review-list em,
.hub-app-frame.hub-app-frame--light .portal-suggestion-row span {
  color: rgba(106, 76, 20, 0.92);
  background: rgba(212, 168, 83, 0.13);
  border-color: rgba(184, 146, 62, 0.24);
}

.hub-app-frame.hub-app-frame--light .portal-drop-zone {
  background:
    linear-gradient(135deg, rgba(212, 168, 83, 0.13), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.44);
  border-color: rgba(184, 146, 62, 0.34);
}

.hub-app-frame.hub-app-frame--light .portal-drop-zone strong,
.hub-app-frame.hub-app-frame--light .portal-template-dropdown button span {
  color: #201b14;
}

.hub-app-frame.hub-app-frame--light .portal-drop-zone small,
.hub-app-frame.hub-app-frame--light .portal-template-menu > div {
  color: rgba(42, 35, 24, 0.58);
}

.hub-app-frame.hub-app-frame--light .portal-template-dropdown button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 244, 232, 0.58)),
    rgba(255, 255, 255, 0.48);
  border-color: rgba(184, 146, 62, 0.34);
}

.hub-app-frame.hub-app-frame--light .portal-template-menu {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(240, 232, 216, 0.98)),
    rgba(255, 252, 246, 0.96);
  border-color: rgba(184, 146, 62, 0.22);
}

.hub-app-frame.hub-app-frame--light .portal-template-menu > div {
  background: rgba(255, 255, 255, 0.34);
  border-bottom-color: rgba(138, 102, 38, 0.1);
}

.hub-app-frame.hub-app-frame--light .portal-template-menu > div.active {
  color: #201b14;
  background: rgba(212, 168, 83, 0.14);
}

.hub-app-frame.hub-app-frame--light .portal-document--editor {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 244, 232, 0.48)),
    rgba(255, 252, 246, 0.56);
}

.hub-app-frame.hub-app-frame--light .assistant-msg {
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(184, 146, 62, 0.2);
}

.hub-app-frame.hub-app-frame--light .user-msg {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.18);
}

.hub-app-frame.hub-app-frame--light .portal-chat-input {
  color: rgba(42, 35, 24, 0.44);
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(138, 102, 38, 0.12);
}

.hub-app-frame.hub-app-frame--light .portal-annotation-popover {
  background:
    linear-gradient(180deg, rgba(255, 241, 241, 0.98), rgba(255, 250, 246, 0.98)),
    rgba(255, 250, 246, 0.98);
  border-color: rgba(239, 68, 68, 0.34);
}

.hub-app-frame.hub-app-frame--light .portal-annotation-popover::after {
  background: rgba(255, 246, 246, 0.98);
}

.hub-app-frame.hub-app-frame--light .portal-annotation-popover strong {
  color: #b91c1c;
}

.hub-app-frame.hub-app-frame--light .portal-annotation-popover small {
  color: rgba(42, 35, 24, 0.64);
}

.hub-app-frame.hub-app-frame--light .portal-annotation-popover em {
  color: rgba(185, 28, 28, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* About and Blueprint pages */
.about-hero .page-hero-inner,
.blueprint-hero .page-hero-inner {
  max-width: 980px;
}

.about-mission {
  background:
    radial-gradient(ellipse 68% 38% at 50% 0%, rgba(212, 168, 83, 0.08), transparent 70%),
    var(--bg-primary);
}

.about-story-grid,
.about-founder-grid,
.blueprint-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: clamp(28px, 5vw, 72px);
}

.about-story-copy h2,
.about-founder h2,
.blueprint-detail-panel h2 {
  max-width: 820px;
  margin-bottom: var(--space-md);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
}

.about-story-copy p:not(.eyebrow),
.about-founder p,
.blueprint-detail-panel > p {
  max-width: 780px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.72;
}

.about-pattern-card,
.about-quote-card,
.blueprint-detail-panel,
.blueprint-form-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.24);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
}

.about-pattern-card,
.about-quote-card {
  padding: 34px;
}

.about-pattern-card::before,
.about-quote-card::before,
.blueprint-form-card::before {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.18), transparent 65%);
}

.about-pattern-card__label {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.about-pattern-card h3 {
  margin-bottom: 22px;
  color: var(--text-primary);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.12;
}

.about-pattern-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-pattern-card li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.58;
}

.about-pattern-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(212, 168, 83, 0.42);
}

.about-principles,
.blueprint-booking {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.about-principle-card {
  min-height: 268px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.about-principle-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 83, 0.46);
  transform: translateY(-3px);
}

.about-principle-card span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.about-principle-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.18;
}

.about-principle-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
}

.about-quote-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

.about-quote-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.22;
}

.about-quote-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.blueprint-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.9fr);
}

.blueprint-detail-panel,
.blueprint-form-card {
  padding: clamp(26px, 4vw, 42px);
}

.blueprint-detail-panel > p {
  margin-bottom: var(--space-lg);
}

.blueprint-accordion {
  display: grid;
  gap: 10px;
}

.blueprint-accordion details {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: background 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.blueprint-accordion details[open] {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(212, 168, 83, 0.34);
}

.blueprint-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.blueprint-accordion summary::-webkit-details-marker {
  display: none;
}

.blueprint-accordion summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.blueprint-accordion details[open] summary::after {
  transform: rotate(45deg);
}

.blueprint-accordion p {
  padding: 0 18px 18px;
  margin: 0;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.68;
}

.blueprint-form-head {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.blueprint-form-head h2 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.1;
}

.blueprint-form-head p:not(.eyebrow),
.blueprint-form-note {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.62;
}

.blueprint-form {
  position: relative;
  z-index: 1;
}

.blueprint-botcheck {
  display: none;
}

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

.form-field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text-primary);
  background: rgba(22, 22, 25, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.24s var(--ease-smooth), box-shadow 0.24s var(--ease-smooth), background 0.24s var(--ease-smooth);
}

.form-field textarea {
  min-height: 118px;
  resize: vertical;
}

.form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%),
    linear-gradient(180deg, rgba(22, 22, 25, 0.64), rgba(22, 22, 25, 0.64));
  background-position:
    calc(100% - 20px) 20px,
    calc(100% - 14px) 20px,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(161, 161, 170, 0.58);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background-color: rgba(26, 26, 32, 0.9);
  border-color: rgba(212, 168, 83, 0.58);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.12);
}

.blueprint-form-note {
  margin: 18px 0;
}

.blueprint-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 800;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.blueprint-submit:hover,
.blueprint-submit:focus-visible {
  box-shadow: var(--shadow-gold-strong);
  transform: translateY(-2px);
}

.blueprint-submit:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.72;
  transform: none;
}

.blueprint-form-status {
  padding: 14px 16px;
  margin: 16px 0 0;
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.blueprint-form-status.is-error {
  color: #fecaca;
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.28);
}

.blueprint-form-status a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(254, 202, 202, 0.6);
}

.blueprint-faq {
  background:
    radial-gradient(ellipse 62% 36% at 50% 0%, rgba(212, 168, 83, 0.08), transparent 72%),
    var(--bg-primary);
}

.about-origin,
.about-belief {
  background: var(--bg-primary);
}

.about-local,
.about-founder {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-simple-copy,
.about-founder-minimal,
.about-soft-close-inner {
  max-width: 880px;
}

.about-simple-copy h2,
.about-founder-minimal h2,
.about-soft-close h2 {
  max-width: 820px;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
}

.about-simple-copy p:not(.eyebrow),
.about-founder-minimal p,
.about-soft-close p {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.78;
}

.about-simple-copy p:not(.eyebrow):last-child,
.about-founder-minimal p:last-child {
  margin-bottom: 0;
}

.about-local-grid {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 5vw, 68px);
}

.about-local-card {
  min-width: 0;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(42, 42, 49, 0.78);
  border: 1px solid rgba(212, 168, 83, 0.22);
  border-radius: var(--radius-md);
}

.about-local-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-local-card p {
  margin: 0;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.28;
}

.about-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 44px);
  padding-top: 26px;
  margin-top: 30px;
  border-top: 1px solid rgba(212, 168, 83, 0.2);
}

.about-partner-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding-top: 22px;
  margin-top: 28px;
  border-top: 1px solid rgba(212, 168, 83, 0.2);
}

.about-partner-list p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.about-partner-list strong {
  color: var(--gold-light);
}

.about-soft-close {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(ellipse 60% 42% at 50% 50%, rgba(212, 168, 83, 0.08), transparent 70%),
    var(--bg-primary);
  border-top: 1px solid rgba(212, 168, 83, 0.18);
}

.about-soft-close-inner {
  text-align: left;
}

.about-soft-close p {
  margin-bottom: var(--space-lg);
}

.about-contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.75fr) minmax(380px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
}

.about-question-form,
.contact-form-wrap .blueprint-form-card {
  max-width: 640px;
}

.contact-form-wrap {
  display: flex;
  justify-content: center;
}

.legal-page .page-hero-inner,
.faq-page .page-hero-inner {
  max-width: 760px;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 46px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  color: var(--text-primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  color: var(--text-primary);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 83, 0.35);
}

.legal-updated {
  margin: 0 0 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.legal-table {
  width: 100%;
  margin: 18px 0 26px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.legal-table th {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.faq-cat-label {
  margin: 34px 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

@media (max-width: 1180px) {
  .about-story-grid,
  .about-founder-grid,
  .blueprint-layout,
  .about-principle-grid,
  .about-local-grid,
  .about-contact-grid {
    grid-template-columns: 1fr;
  }

  .blueprint-form-card {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .about-pattern-card,
  .about-quote-card,
  .blueprint-detail-panel,
  .blueprint-form-card,
  .about-principle-card {
    padding: 24px;
  }

  .blueprint-form-grid {
    grid-template-columns: 1fr;
  }

  .about-story-copy p:not(.eyebrow),
  .about-founder p,
  .blueprint-detail-panel > p,
  .about-simple-copy p:not(.eyebrow),
  .about-founder-minimal p,
  .about-soft-close p {
    font-size: 16px;
  }

  .about-note-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep hub mockups as full landscape product frames on mobile. */
@media (max-width: 920px) {
  .hub-mockup {
    --mobile-hub-scale: 0.68;
    position: relative;
    width: min(100%, calc(100vw - 24px));
    min-height: 440px;
    overflow: hidden;
  }

  .hub-mockup .mockup-glow {
    display: none;
  }

  .hub-mockup .hub-app-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 1220px;
    max-width: none;
    transform: scale(var(--mobile-hub-scale));
    transform-origin: top left;
  }

  .hub-mockup .hub-app-body {
    grid-template-columns: 238px minmax(0, 1fr) !important;
    min-height: 590px !important;
  }

  .hub-mockup .hub-app-sidebar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: visible !important;
    padding: 22px 16px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-bottom: 0 !important;
  }

  .hub-mockup .hub-side-label {
    display: block !important;
  }

  .hub-mockup .hub-sidebar-user {
    display: grid !important;
  }

  .hub-mockup .hub-side-item {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    flex: initial !important;
    min-height: 38px !important;
    margin-bottom: 2px !important;
    padding: 8px 10px !important;
  }

  .hub-mockup .hub-side-item span {
    display: inline-flex !important;
  }

  .hub-mockup .hub-side-item strong {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .hub-mockup .hub-app-main {
    padding: 24px !important;
  }

  .hub-mockup .hub-simple-hero {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 28px !important;
  }

  .hub-mockup .hub-simple-status {
    justify-self: end !important;
  }

  .hub-mockup .hub-automation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .hub-mockup .hub-simple-lower {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr) !important;
  }
}

@media (max-width: 720px) {
  .hub-mockup {
    --mobile-hub-scale: 0.54;
    min-height: 349px;
  }
}

@media (max-width: 760px) and (min-width: 721px) {
  .hub-mockup {
    --mobile-hub-scale: 0.59;
    min-height: 381px;
  }
}

@media (max-width: 640px) {
  .hub-mockup {
    --mobile-hub-scale: 0.49;
    min-height: 317px;
  }
}

@media (max-width: 600px) {
  .hub-mockup {
    --mobile-hub-scale: 0.45;
    min-height: 291px;
  }
}

@media (max-width: 560px) {
  .hub-mockup {
    --mobile-hub-scale: 0.42;
    min-height: 273px;
  }
}

@media (max-width: 520px) {
  .hub-mockup {
    --mobile-hub-scale: 0.38;
    min-height: 246px;
  }
}

@media (max-width: 480px) {
  .hub-mockup {
    --mobile-hub-scale: 0.34;
    min-height: 220px;
  }
}

@media (max-width: 430px) {
  .hub-mockup {
    --mobile-hub-scale: 0.3;
    min-height: 194px;
  }
}

@media (max-width: 400px) {
  .hub-mockup {
    --mobile-hub-scale: 0.28;
    min-height: 181px;
  }
}

@media (max-width: 820px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.62;
    --showcase-side-scale: 0.52;
    --showcase-far-scale: 0.44;
    --showcase-offset: 300px;
    --showcase-far-offset: 500px;
  }

  .hub-showcase-stage {
    min-height: 515px !important;
    margin-top: 22px;
    overflow: hidden;
  }

  .hub-showcase-carousel {
    min-height: 500px !important;
    overflow: hidden;
  }

  .hub-showcase-slide,
  .hub-showcase-slide.is-active {
    position: absolute !important;
    top: 0;
    left: calc(50% - 610px);
    width: 1220px !important;
    max-width: none !important;
    transform-origin: 50% 0 !important;
  }

  .hub-showcase-slide.is-active {
    z-index: 5;
    opacity: 1;
    filter: none;
    transform: scale(var(--showcase-scale)) !important;
  }

  .hub-showcase-slide.is-prev {
    z-index: 3;
    opacity: 0.34 !important;
    pointer-events: auto !important;
    filter: blur(0.8px) saturate(0.86);
    transform: translateX(calc(-1 * var(--showcase-offset))) translateY(18px) scale(var(--showcase-side-scale)) rotateY(5deg) !important;
  }

  .hub-showcase-slide.is-next {
    z-index: 3;
    opacity: 0.34 !important;
    pointer-events: auto !important;
    filter: blur(0.8px) saturate(0.86);
    transform: translateX(var(--showcase-offset)) translateY(18px) scale(var(--showcase-side-scale)) rotateY(-5deg) !important;
  }

  .hub-showcase-slide.is-far-prev {
    z-index: 1;
    opacity: 0.12 !important;
    pointer-events: none !important;
    filter: blur(1.8px) saturate(0.75);
    transform: translateX(calc(-1 * var(--showcase-far-offset))) translateY(42px) scale(var(--showcase-far-scale)) rotateY(8deg) !important;
  }

  .hub-showcase-slide.is-far-next {
    z-index: 1;
    opacity: 0.12 !important;
    pointer-events: none !important;
    filter: blur(1.8px) saturate(0.75);
    transform: translateX(var(--showcase-far-offset)) translateY(42px) scale(var(--showcase-far-scale)) rotateY(-8deg) !important;
  }

  .hub-carousel-arrow {
    top: 235px !important;
    width: 42px;
    height: 42px;
  }

  .hub-carousel-arrow--prev {
    left: 2px !important;
  }

  .hub-carousel-arrow--next {
    right: 2px !important;
  }

  .hub-portal-window {
    width: 1220px !important;
    max-width: none !important;
    height: 760px !important;
  }

  .hub-portal-body {
    grid-template-columns: 230px minmax(0, 1fr) !important;
  }

  .hub-portal-sidebar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: visible !important;
    padding: 18px 14px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-bottom: 0 !important;
  }

  .hub-portal-sidebar .hub-side-label {
    display: block !important;
  }

  .hub-portal-sidebar .hub-sidebar-user {
    display: grid !important;
  }

  .hub-portal-sidebar .hub-side-item {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    flex: initial !important;
    min-height: 38px !important;
    margin-bottom: 2px !important;
    padding: 8px 10px !important;
  }

  .hub-portal-sidebar .hub-side-item span {
    display: inline-flex !important;
  }

  .hub-portal-sidebar .hub-side-item strong {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .hub-portal-main {
    padding: 18px !important;
  }

  .portal-topbar {
    align-items: center !important;
    flex-direction: row !important;
  }

  .portal-hero,
  .portal-admin-hero {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 16px 18px !important;
  }

  .portal-admin-hero {
    align-items: center !important;
    min-height: 104px !important;
  }

  .portal-admin-hero .hub-simple-status {
    justify-self: end !important;
  }

  .portal-dashboard-lower {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr) !important;
  }

  .portal-automation-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.95fr) !important;
  }

  .portal-two-col,
  .portal-review-layout,
  .portal-assistant-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr) !important;
  }

  .portal-assistant-workflow {
    grid-template-columns: 188px minmax(0, 1fr) 230px !important;
    gap: 13px !important;
  }

  .portal-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .hub-portal-window .hub-automation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .portal-file-list > div,
  .portal-step-list > div,
  .portal-admin-list > div,
  .portal-review-list > div,
  .portal-approval-flow > div {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .portal-context-list > div {
    grid-template-columns: 28px minmax(0, 1fr) !important;
  }

  .portal-output {
    align-items: center !important;
    flex-direction: row !important;
  }

  .portal-annotation-popover {
    left: auto !important;
    right: -44px !important;
    bottom: 30px !important;
    width: 260px !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.54;
    --showcase-side-scale: 0.44;
    --showcase-far-scale: 0.36;
    --showcase-offset: 245px;
    --showcase-far-offset: 405px;
  }

  .hub-showcase-stage {
    min-height: 468px !important;
  }

  .hub-showcase-carousel {
    min-height: 452px !important;
  }

  .hub-carousel-arrow {
    top: 198px !important;
  }
}

@media (max-width: 760px) and (min-width: 721px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.59;
    --showcase-side-scale: 0.48;
    --showcase-far-scale: 0.39;
    --showcase-offset: 270px;
    --showcase-far-offset: 450px;
  }

  .hub-showcase-stage {
    min-height: 507px !important;
  }

  .hub-showcase-carousel {
    min-height: 490px !important;
  }

  .hub-carousel-arrow {
    top: 216px !important;
  }
}

@media (max-width: 640px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.49;
    --showcase-side-scale: 0.4;
    --showcase-far-scale: 0.32;
    --showcase-offset: 220px;
    --showcase-far-offset: 360px;
  }

  .hub-showcase-stage {
    min-height: 431px !important;
  }

  .hub-showcase-carousel {
    min-height: 414px !important;
  }

  .hub-carousel-arrow {
    top: 186px !important;
  }
}

@media (max-width: 600px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.45;
    --showcase-side-scale: 0.37;
    --showcase-far-scale: 0.3;
    --showcase-offset: 200px;
    --showcase-far-offset: 330px;
  }

  .hub-showcase-stage {
    min-height: 400px !important;
  }

  .hub-showcase-carousel {
    min-height: 384px !important;
  }

  .hub-carousel-arrow {
    top: 171px !important;
  }
}

@media (max-width: 560px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.42;
    --showcase-side-scale: 0.34;
    --showcase-far-scale: 0.28;
    --showcase-offset: 190px;
    --showcase-far-offset: 320px;
  }

  .hub-showcase-stage {
    min-height: 350px !important;
  }

  .hub-showcase-carousel {
    min-height: 336px !important;
  }

  .hub-carousel-arrow {
    top: 160px !important;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 520px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.38;
    --showcase-side-scale: 0.31;
    --showcase-far-scale: 0.25;
    --showcase-offset: 170px;
    --showcase-far-offset: 275px;
  }

  .hub-showcase-stage {
    min-height: 347px !important;
  }

  .hub-showcase-carousel {
    min-height: 331px !important;
  }

  .hub-carousel-arrow {
    top: 144px !important;
  }
}

@media (max-width: 480px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.34;
    --showcase-side-scale: 0.28;
    --showcase-far-scale: 0.22;
    --showcase-offset: 150px;
    --showcase-far-offset: 245px;
  }

  .hub-showcase-stage {
    min-height: 316px !important;
  }

  .hub-showcase-carousel {
    min-height: 300px !important;
  }

  .hub-carousel-arrow {
    top: 129px !important;
  }
}

@media (max-width: 430px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.3;
    --showcase-side-scale: 0.24;
    --showcase-far-scale: 0.2;
    --showcase-offset: 150px;
    --showcase-far-offset: 250px;
  }

  .hub-showcase-stage {
    min-height: 252px !important;
  }

  .hub-showcase-carousel {
    min-height: 240px !important;
  }

  .hub-carousel-arrow {
    top: 112px !important;
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 400px) {
  .hub-showcase-wrap {
    --showcase-scale: 0.28;
    --showcase-side-scale: 0.23;
    --showcase-far-scale: 0.18;
    --showcase-offset: 132px;
    --showcase-far-offset: 214px;
  }

  .hub-showcase-stage {
    min-height: 287px !important;
  }

  .hub-showcase-carousel {
    min-height: 271px !important;
  }

  .hub-carousel-arrow {
    top: 106px !important;
  }
}

@media (max-width: 520px) {
  .hero h1,
  .page-hero-inner h1,
  .section-heading h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.2vw, 34px);
    line-height: 1.08;
  }

  .hero-copy,
  .hero-support,
  .page-hero-inner {
    max-width: 100%;
  }

  .hero-lede,
  .page-hero-inner p:not(.eyebrow),
  .section-heading p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.62;
  }
}

@media (max-width: 430px) {
  .hero h1,
  .page-hero-inner h1,
  .section-heading h1 {
    font-size: 29px;
  }
}
