:root {
  --font-family-base: "Geist", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --color-background: #fff;
  --color-bg: var(--color-background);
  --color-title: #18181b;
  --color-text: #71717a;
  --color-accent: #545dff;
  --color-border: #e4e4e7;
  --color-surface: #f7f7f5;

  --container-max-width: 1216px;
  --section-padding-x: 40px;
  --section-padding-y: 120px;

  --space-2: 2px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-80: 80px;
  --space-88: 88px;
  --space-96: 96px;
  --space-104: 104px;
  --space-112: 112px;
  --space-120: 120px;

  --font-size-h1: 44px;
  --font-size-h2: 32px;
  --font-size-h3: 26px;
  --font-size-h4: 20px;
  --font-size-h5: 18px;
  --font-size-p1: 16px;
  --font-size-p2: 14px;
  --font-size-p3: 12px;

  --line-height-title-tight: 1.2em;
  --line-height-title: 1.4em;
  --line-height-text: 1.5em;

  --font-weight-regular: 400;
  --font-weight-medium: 500;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --transition-base: 220ms ease;
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  background: var(--color-background);
  overflow-x: clip;
  overflow-y: auto;
}

body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-regular);
  max-width: 100%;
}

body,
.p-1 {
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
  color: var(--color-title);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1,
.h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-title-tight);
}

h2,
.h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-title-tight);
}

h3,
.h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-title-tight);
}

h4,
.h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-title);
}

h5,
.h5 {
  font-size: var(--font-size-h5);
  line-height: var(--line-height-title);
}

p,
.p-1,
.p-2,
.p-3 {
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
  text-wrap: pretty;
}

.p-2 {
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
}

.p-3 {
  font-size: var(--font-size-p3);
  line-height: var(--line-height-text);
}

a {
  font-weight: var(--font-weight-medium);
}

.site-header {
  position: static;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
}

.site-header.is-fixed {
  position: fixed;
  transform: translateY(-100%);
  box-shadow: 0 16px 40px rgba(24, 24, 27, 0.06);
  backdrop-filter: blur(18px);
  animation: headerSlideDown 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes headerSlideDown {
  to {
    transform: translateY(0);
  }
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  max-width: var(--container-max-width);
  min-height: 88px;
  margin-inline: auto;
  padding: 0 var(--section-padding-x);
  gap: var(--space-40);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  width: 162px;
  line-height: 0;
}

.header-logo img {
  width: 162px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-8);
}

.nav-item {
  position: relative;
}

.nav-item.has-mega::after {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  width: 100%;
  height: var(--space-32);
  content: "";
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 48px;
  padding: 0 var(--space-16);
  border-radius: var(--radius-pill);
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-regular);
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  background: var(--color-surface);
}

.nav-chevron {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: fixed;
  top: 84px;
  left: 50vw;
  z-index: 90;
  width: min(1120px, calc(100vw - 48px));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-background);
  box-shadow: 0 24px 70px rgba(24, 24, 27, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity var(--transition-smooth),
    transform var(--transition-smooth);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
}

.mega-grid--two {
  grid-template-columns: 1fr 1fr;
}

.mega-column {
  display: grid;
  align-content: start;
  gap: var(--space-24);
  padding: var(--space-32) var(--space-40);
}

.mega-column + .mega-column {
  border-left: 1px solid var(--color-border);
}

.mega-column--featured {
  background: linear-gradient(180deg, #fff 0%, var(--color-surface) 100%);
}

.mega-label {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-text);
  text-wrap: balance;
}

.mega-link {
  display: grid;
  align-items: start;
  gap: var(--space-2);
  border-radius: var(--radius-md);
  color: var(--color-title);
  font-weight: var(--font-weight-regular);
  transition:
    color var(--transition-base),
    transform var(--transition-base);
}

.mega-content {
  display: grid;
  gap: var(--space-2);
}

.mega-content > span {
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  line-height: 1.25em;
  text-wrap: balance;
}

.mega-content small {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-text);
  text-wrap: pretty;
}

.mega-link:hover {
  color: var(--color-accent);
  transform: translateX(2px);
}

.mega-link:hover span {
  color: var(--color-accent);
}

.mega-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: var(--space-8);
  padding: 0 var(--space-12);
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-transform: uppercase;
}

.mega-footer {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-24) var(--space-32);
  border-top: 1px solid var(--color-border);
  background: rgba(247, 247, 245, 0.72);
  color: var(--color-title);
}

.mega-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-medium);
}

.mega-footer strong,
.mega-footer small {
  display: block;
}

.mega-footer strong {
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  line-height: 1.3em;
}

.mega-footer small {
  margin-top: var(--space-2);
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.language-switcher {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 68px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.language-trigger > span {
  display: none;
}

.language-trigger:hover,
.language-switcher.is-open .language-trigger {
  border-color: var(--color-title);
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.08);
}

.language-flag {
  width: 24px;
  height: auto;
  flex: 0 0 24px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, 0.08);
}

.language-chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-base);
}

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

.language-menu {
  position: absolute;
  top: calc(100% + var(--space-8));
  right: 0;
  z-index: 100;
  display: grid;
  width: 218px;
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(24, 24, 27, 0.14);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}

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

.language-menu button {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  width: 100%;
  min-height: 54px;
  padding: 0 var(--space-12);
  border-radius: 12px;
  color: var(--color-title);
  text-align: left;
}

.language-menu button:hover,
.language-menu button[aria-selected="true"] {
  background: var(--color-surface);
}

.language-menu button > span {
  display: grid;
  gap: 2px;
}

.language-menu strong {
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.language-menu small {
  color: var(--color-text);
  font-size: 10px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-24);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  white-space: nowrap;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

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

.header-button--ghost {
  border-color: var(--color-border);
  background: #fff;
  color: var(--color-title);
  box-shadow: 0 2px 8px rgba(24, 24, 27, 0.04);
}

.header-button--ghost:hover {
  border-color: var(--color-title);
}

.header-button--primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.header-button--primary:hover {
  box-shadow: 0 14px 32px rgba(84, 93, 255, 0.22);
}

.mobile-menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-title);
  background: #fff;
  transition:
    border-color var(--transition-base),
    transform var(--transition-base);
}

.mobile-menu-toggle:hover {
  border-color: var(--color-title);
}

.mobile-menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.mobile-menu-toggle span:first-child {
  transform: translateY(-4px);
}

.mobile-menu-toggle span:last-child {
  transform: translateY(4px);
}

.mobile-menu-toggle.is-open span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-open span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.mobile-menu-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-background);
  box-shadow: 0 20px 50px rgba(24, 24, 27, 0.12);
}

.mobile-menu-view {
  display: none;
  min-height: 0;
  overflow-y: auto;
}

.mobile-menu-view.is-active {
  display: grid;
}

.mobile-menu-nav {
  gap: var(--space-8);
  padding: var(--space-24);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  width: 100%;
  padding: 0 var(--space-16);
  border-radius: var(--radius-md);
  color: var(--color-title);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  transition: background-color var(--transition-base);
  text-align: left;
}

.mobile-menu-link:hover {
  background: var(--color-surface);
}

.mobile-menu-link span {
  color: var(--color-text);
  font-size: 28px;
  font-weight: var(--font-weight-regular);
  line-height: 1;
}

.mobile-menu-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  justify-self: start;
  min-height: 44px;
  margin: var(--space-24) 0 var(--space-16) var(--space-24);
  padding: 0 var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.mobile-menu-back span {
  color: var(--color-text);
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  line-height: 1;
}

.mobile-menu-title {
  padding: 0 var(--space-40) var(--space-16);
  color: var(--color-title);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-title-tight);
  text-wrap: balance;
}

.mobile-submenu-list {
  display: grid;
  gap: var(--space-24);
  padding: 0 var(--space-40) var(--space-32);
}

.mobile-submenu-link {
  display: grid;
  gap: var(--space-2);
  color: var(--color-title);
}

.mobile-submenu-link span {
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  line-height: 1.25em;
  text-wrap: balance;
}

.mobile-submenu-link small {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-text);
  text-wrap: pretty;
}

.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-top: auto;
  padding: var(--space-24);
  border-top: 1px solid var(--color-border);
}

.mobile-language-switcher {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding-bottom: var(--space-12);
}

.mobile-language-switcher > span {
  color: var(--color-text);
  font-size: var(--font-size-p2);
}

.mobile-language-options {
  display: flex;
  gap: var(--space-8);
}

.mobile-language-options button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

.mobile-language-options button.is-active {
  border-color: var(--color-accent);
  background: rgba(84, 93, 255, 0.07);
  color: var(--color-title);
}

.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 var(--space-16);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.mobile-menu-button--ghost {
  border-color: var(--color-border);
  background: #fff;
  color: var(--color-title);
  box-shadow: 0 2px 8px rgba(24, 24, 27, 0.04);
}

.mobile-menu-button--primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

body.is-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.section--surface {
  background: var(--color-surface);
}

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

.framed-section {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: -1px;
}

.framed-container {
  position: relative;
  display: grid;
  min-height: 420px;
  padding: var(--section-padding-y) var(--space-64);
  border-right: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}


.frame-dot {
  position: absolute;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-title);
}

.frame-dot--top-left {
  top: -2px;
  left: -2px;
}

.frame-dot--top-right {
  top: -2px;
  right: -2px;
}

.frame-dot--bottom-left {
  bottom: -2px;
  left: -2px;
}

.frame-dot--bottom-right {
  right: -2px;
  bottom: -2px;
}

.section-heading {
  display: grid;
  gap: var(--space-16);
}

.section-heading--center {
  justify-items: center;
  align-self: center;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 820px;
  margin-top: 0;
}

.section-heading p {
  max-width: 560px;
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
}

.testimonial-showcase {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: var(--space-80);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-background);
}

.testimonial-tabs-shell {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-background);
  width: 100%;
}

.testimonial-window-dots {
  display: flex;
  gap: 6px;
  padding-left: var(--space-24);
  flex-shrink: 0;
}

.testimonial-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.testimonial-window-dots span:nth-child(1) {
  background-color: #ff5f56;
}

.testimonial-window-dots span:nth-child(2) {
  background-color: #ffbd2e;
}

.testimonial-window-dots span:nth-child(3) {
  background-color: #27c93f;
}

.testimonial-tabs {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  overflow-x: auto;
  padding: var(--space-24) var(--space-120) var(--space-24) var(--space-16);
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 120px), transparent 100%);
  cursor: grab;
}

.testimonial-tabs:active {
  cursor: grabbing;
}

.testimonial-tabs::-webkit-scrollbar {
  display: none;
}

.testimonial-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 var(--space-40);
  min-width: 180px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    color var(--transition-base);
}

.testimonial-tab:hover,
.testimonial-tab.is-active {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-title);
}

.testimonial-tab.is-active::after {
  position: absolute;
  right: var(--space-40);
  bottom: -25px;
  left: var(--space-40);
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  content: "";
}

.testimonial-stage {
  position: relative;
  padding: var(--space-64);
}

.testimonial-pause {
  position: absolute;
  top: var(--space-24);
  left: var(--space-24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-title);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base);
}

.testimonial-pause:hover {
  border-color: var(--color-title);
  transform: translateY(-1px);
}

.testimonial-pause span {
  width: 3px;
  height: 15px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.testimonial-pause.is-paused span:first-child {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.testimonial-pause.is-paused span:last-child {
  display: none;
}

.testimonial-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: var(--space-48);
  min-height: 420px;
  padding: var(--space-64);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.testimonial-copy {
  display: grid;
  gap: var(--space-32);
}

.testimonial-quote {
  position: relative;
  max-width: 850px;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.04em;
  line-height: 1.1em;
  
  /* Text gradient clip progressive fill */
  background-image: linear-gradient(
    to right,
    var(--color-accent) var(--testimonial-progress, 0%),
    #d4d4d8 var(--testimonial-progress, 0%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonial-author {
  display: flex;
  align-items: baseline;
  gap: var(--space-8);
  color: var(--color-text);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
}

.testimonial-author strong {
  color: var(--color-title);
  font-weight: var(--font-weight-medium);
}

.testimonial-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-16);
}

.testimonial-visual img {
  width: 96px;
  height: 96px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(24, 24, 27, 0.16);
}

.testimonial-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 112px;
  border: 1px solid var(--color-border);
  border-radius: 40% 60% 52% 48%;
  background: var(--color-surface);
  color: var(--color-accent);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.04em;
}

.eyebrow {
  color: var(--color-accent);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-text);
  text-wrap: balance;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-24);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.button--primary {
  background: var(--color-accent);
  color: #fff;
}

.button--secondary {
  border-color: var(--color-border);
  background: #fff;
  color: var(--color-title);
  box-shadow: 0 2px 8px rgba(24, 24, 27, 0.04);
}

.button--secondary:hover {
  border-color: var(--color-title);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(84, 93, 255, 0.22);
}

.button--secondary:hover {
  box-shadow: 0 8px 22px rgba(24, 24, 27, 0.06);
}

.button:active {
  transform: translateY(0);
}

.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-container {
  display: grid;
  justify-items: center;
  width: 100%;
}

.hero-content {
  display: grid;
  justify-items: center;
  width: min(100%, 880px);
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: var(--space-24);
  padding: 0 var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: #71717a;
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-wrap: balance;
}

.hero-content h1 {
  max-width: 860px;
}

.hero-description {
  max-width: 720px;
  margin-top: var(--space-24);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  margin-top: var(--space-32);
}

.hero-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 76px 1fr;
  width: min(100%, 1180px);
  min-height: 680px;
  margin-top: var(--space-96);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 24, 27, 0.08);
}

.hero-panel-viewport {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: var(--space-96);
  overflow: visible;
}

.hero-panel-viewport::after {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: none;
  width: 96px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 74%);
  content: "";
  pointer-events: none;
}

.hero-panel-viewport .hero-panel {
  margin-top: 0;
}

.dashboard-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 420px) minmax(220px, 1fr);
  align-items: center;
  gap: var(--space-24);
  padding: 0 var(--space-24);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.dashboard-header-account {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  min-width: 0;
}

.dashboard-header-logo {
  display: inline-flex;
  align-items: center;
  width: 148px;
  line-height: 0;
}

.dashboard-header-logo img {
  width: 148px;
  height: auto;
}

.dashboard-header-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}

.dashboard-workspace {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
  color: var(--color-title);
}

.dashboard-workspace-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: #fff;
}

.dashboard-workspace span:not(.dashboard-workspace-icon) {
  overflow: hidden;
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-workspace-chevron {
  flex: 0 0 16px;
  color: var(--color-text);
}

.dashboard-header svg,
.dashboard-icon,
.dashboard-trailing {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: var(--space-24);
  grid-row: 2;
  padding: var(--space-24);
  border-right: 1px solid var(--color-border);
  background: #fff;
}

.dashboard-nav {
  display: grid;
  gap: var(--space-8);
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  min-height: 56px;
  padding: 0 var(--space-16);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.dashboard-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: currentColor;
}

.dashboard-nav-item span {
  color: currentColor;
}

.dashboard-trailing {
  width: 18px;
  height: 18px;
  margin-left: auto;
}

.dashboard-nav-item strong {
  margin-left: auto;
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  background: rgba(84, 93, 255, 0.1);
  color: var(--color-accent);
  font-size: 10px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4em;
  text-transform: uppercase;
}

.dashboard-nav-item:hover,
.dashboard-nav-item.is-active {
  background: #ececed;
  color: var(--color-title);
}

.dashboard-nav-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: var(--space-16) 0;
  background: var(--color-border);
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-top: auto;
  padding: var(--space-12);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.dashboard-user > span {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
}

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

.dashboard-user strong {
  color: var(--color-title);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  line-height: 1.3em;
}

.dashboard-user small {
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.4em;
}

.dashboard-shell {
  display: grid;
  grid-row: 2;
  min-width: 0;
}

.dashboard-search {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  width: 100%;
  min-height: 44px;
  padding: 0 var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: #fff;
}

.dashboard-search svg {
  flex: 0 0 20px;
  color: var(--color-text);
}

.dashboard-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
  font-size: var(--font-size-p2);
}

.dashboard-search kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  padding: 0 var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-12);
}

.dashboard-header-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-width: 40px;
  min-height: 40px;
  padding: 0 var(--space-12);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.dashboard-header-actions button:not(:first-child) {
  border-color: transparent;
  padding: 0;
}

.dashboard-header-actions svg {
  width: 20px;
  height: 20px;
  color: var(--color-text);
}

.dashboard-main {
  display: grid;
  align-content: start;
  gap: var(--space-32);
  padding: var(--space-40);
  background: #fff;
}

.dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-24);
}

.dashboard-heading p,
.dashboard-section-title span {
  color: var(--color-title);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  line-height: var(--line-height-text);
  text-transform: uppercase;
}

.dashboard-heading h2 {
  margin-top: var(--space-8);
  font-size: 38px;
}

.dashboard-heading span {
  display: block;
  margin-top: var(--space-8);
  color: var(--color-text);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
}

.dashboard-heading-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.dashboard-refresh {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.dashboard-primary {
  min-height: 48px;
  padding: 0 var(--space-24);
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.dashboard-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(84, 93, 255, 0.22);
}

.dashboard-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-24);
}

.dashboard-section-title h3 {
  margin-top: var(--space-12);
}

.dashboard-tabs {
  display: flex;
  align-items: center;
  padding: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.dashboard-tabs button {
  min-height: 40px;
  padding: 0 var(--space-16);
  border-radius: calc(var(--radius-md) - 2px);
  color: var(--color-text);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.dashboard-tabs button:hover,
.dashboard-tabs button.is-active {
  background: var(--color-surface);
  color: var(--color-title);
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(24, 24, 27, 0.08);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  padding: var(--space-24);
  border-bottom: 1px solid var(--color-border);
}

.service-title {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  font-size: var(--font-size-h5);
}

.service-icon--blue {
  background: rgba(84, 93, 255, 0.1);
  color: var(--color-accent);
}

.service-title h4 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-medium);
}

.service-title p {
  margin-top: var(--space-2);
  font-size: var(--font-size-p2);
}

.status-pill {
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.status-pill--pending {
  background: rgba(84, 93, 255, 0.1);
  color: var(--color-accent);
}

.service-card-header button {
  min-height: 40px;
  padding: 0 var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--color-border);
}

.metric-card {
  display: grid;
  justify-items: center;
  gap: var(--space-12);
  padding: var(--space-32) var(--space-24);
  text-align: center;
}

.metric-card + .metric-card {
  border-left: 1px solid var(--color-border);
}

.metric-ring {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background:
    radial-gradient(#fff 58%, transparent 59%),
    conic-gradient(
      var(--metric-color) calc(var(--metric-value) * 1%),
      #e8e8e8 0
    );
}

.metric-ring span {
  color: var(--color-title);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.metric-card p {
  color: var(--color-text);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-text);
}

.service-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-details div {
  display: grid;
  gap: var(--space-12);
  padding: var(--space-24);
  background: var(--color-surface);
}

.service-details div + div {
  border-left: 1px solid var(--color-border);
}

.service-details span {
  color: var(--color-text);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.service-details strong {
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
}

.service-card--compact {
  border-left: 4px solid var(--color-accent);
}

.service-card--compact .service-card-header {
  border-bottom: 0;
}

.deploy-progress {
  height: 6px;
  margin: 0 var(--space-24) var(--space-24);
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
}

.deploy-progress span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-accent);
  animation: deployProgress 3.4s ease-in-out infinite alternate;
}

@keyframes deployProgress {
  to {
    width: 86%;
  }
}

.hero-panel.is-refreshing .metric-ring {
  animation: ringPulse 700ms ease;
}

@keyframes ringPulse {
  50% {
    transform: scale(1.04);
  }
}

.hero-logos {
  display: grid;
  gap: var(--space-24);
  width: min(100%, 960px);
  margin-top: var(--space-80);
  text-align: center;
}

.hero-logos-title {
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-text);
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--space-64);
  animation: logoCarousel 28s linear infinite;
}

.logo-track img {
  width: auto;
  max-width: 160px;
  height: 32px;
  object-fit: contain;
}

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

@keyframes logoCarousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - var(--space-32)));
  }
}

@media (max-width: 1000px) {
  :root {
    --section-padding-x: 24px;
    --section-padding-y: 50px;
  }

  .header-container {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 84px;
    gap: var(--space-24);
  }

  .header-nav {
    display: none;
  }

  .header-actions > .language-switcher {
    display: none;
  }

  .header-button {
    min-height: 48px;
    padding: 0 var(--space-16);
    font-size: var(--font-size-p2);
  }

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

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

  .mobile-menu {
    position: fixed;
    inset: 84px var(--space-8) var(--space-8);
    z-index: 80;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity var(--transition-smooth),
      transform var(--transition-smooth);
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .container {
    max-width: 100%;
  }

  .framed-container {
    padding: var(--section-padding-y) var(--space-24);
  }

  .testimonial-stage {
    padding: var(--space-48) var(--space-24) var(--space-24);
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    gap: var(--space-32);
    padding: var(--space-40) var(--space-24);
  }

  .testimonial-visual {
    grid-row: 1;
  }

  .hero-content,
  .hero-logos {
    width: min(100%, calc(100vw - 48px));
    justify-self: center;
    margin-inline: auto;
  }

  .hero-panel {
    grid-template-columns: 300px 880px;
    grid-template-rows: 76px 1fr;
    width: 1180px;
    max-width: none;
    min-height: 680px;
    justify-self: auto;
    transform: scale(0.94);
    transform-origin: top left;
  }

  .hero-panel-viewport {
    justify-content: flex-start;
    width: 100%;
    height: 640px;
    margin-left: 0;
    margin-top: var(--space-64);
    overflow: hidden;
  }

  .hero-panel-viewport::after {
    display: block;
  }

  .dashboard-header {
    grid-template-columns: minmax(360px, 1fr) minmax(280px, 420px) minmax(220px, 1fr);
  }

  .dashboard-main {
    padding: var(--space-32);
  }

  .hero-logos {
    margin-top: var(--space-56);
  }
}

@media (max-width: 640px) {
  :root {
    --font-size-h1: 36px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
  }

  .header-logo,
  .header-logo img {
    width: 142px;
  }

  .header-container {
    padding: 0 var(--space-16);
    gap: var(--space-12);
  }

  .header-button--primary {
    min-height: 48px;
  }

  .mobile-menu-toggle {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }

  .mobile-menu {
    inset: 84px var(--space-2) var(--space-2);
  }

  .hero-content {
    justify-items: center;
    width: min(100%, calc(100vw - 48px));
    text-align: center;
  }

  .framed-container {
    min-height: 340px;
  }

  .testimonial-showcase {
    margin-top: var(--space-48);
    border-radius: var(--radius-lg);
  }

  .testimonial-tabs {
    padding: var(--space-16) var(--space-48) var(--space-16) var(--space-8);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 48px), transparent 100%);
  }

  .testimonial-window-dots {
    padding-left: var(--space-16);
    gap: 4px;
  }

  .testimonial-window-dots span {
    width: 8px;
    height: 8px;
  }

  .testimonial-stage {
    padding: var(--space-56) var(--space-16) var(--space-16);
  }

  .testimonial-card {
    min-height: auto;
    padding: var(--space-32) var(--space-16);
  }

  .testimonial-pause {
    top: var(--space-16);
    left: var(--space-16);
    width: 40px;
    height: 40px;
  }

  .testimonial-quote {
    font-size: 28px;
  }

  .testimonial-author {
    display: grid;
    gap: var(--space-2);
  }

  .hero-label {
    align-items: center;
    justify-content: center;
    min-height: auto;
    width: 100%;
    padding: var(--space-12) var(--space-8);
    font-size: 11px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .hero-description {
    max-width: 34ch;
    margin-inline: auto;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-panel {
    transform: scale(0.92);
  }

  .hero-panel-viewport {
    width: 100%;
    height: 626px;
    margin-left: 0;
    margin-top: var(--space-48);
  }

  .hero-panel-viewport::after {
    width: 72px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 86%);
  }

  .logo-track {
    gap: var(--space-40);
  }

  .logo-track img {
    max-width: 132px;
    height: 28px;
  }
}

@media (max-width: 430px) {
  :root {
    --font-size-h1: 32px;
  }

  .header-logo,
  .header-logo img {
    width: 128px;
  }

  .header-button--primary {
    padding: 0 var(--space-12);
  }

  .hero-label {
    font-size: 10px;
    letter-spacing: -0.01em;
  }

  .hero-panel-viewport {
    height: 600px;
  }
}

/* ==========================================================================
   Bento Grid Section
   ========================================================================== */

.infra-section {
  background-color: var(--color-background);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-80);
  width: 100%;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(24, 24, 27, 0.02);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(24, 24, 27, 0.06);
  border-color: rgba(84, 93, 255, 0.25);
}

.bento-card-content {
  padding: var(--space-32) var(--space-32) var(--space-24);
}

.bento-card-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(84, 93, 255, 0.08);
  color: var(--color-accent);
  margin-bottom: var(--space-32);
}

.bento-card-header-icon svg {
  width: 20px;
  height: 20px;
}

.bento-card h3 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-medium);
  color: var(--color-title);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: var(--font-size-p2);
  color: var(--color-text);
  line-height: var(--line-height-text);
  margin-top: 0;
}

.bento-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

/* Card spans */
.bento-card--two-cols {
  grid-column: span 2;
}

.bento-card--three-cols {
  grid-column: span 3;
}

/* --- Card 1: WordPress Widget --- */
.wp-speed-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 var(--space-32) var(--space-32);
}

.wp-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-12) var(--space-16);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: var(--space-24);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  color: var(--color-title);
}

.wp-cache-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #e4e4e7;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.wp-cache-toggle.active {
  background: var(--color-accent);
}

.wp-cache-toggle.is-loading {
  background: #f59e0b;
  animation: toggleLoading 550ms ease infinite alternate;
}

@keyframes toggleLoading {
  from { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
  to   { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.28); }
}

.wp-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wp-cache-toggle.active .wp-toggle-slider {
  transform: translateX(20px);
}

/* Slider drifts to center while loading */
.wp-cache-toggle.is-loading .wp-toggle-slider {
  transform: translateX(10px);
}

/* --- WordPress new dashboard layout --- */
.wp-dashboard {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  background: #ffffff;
  border: 1px dashed var(--color-border);
  border-radius: 18px;
  padding: var(--space-20) var(--space-24);
  margin-bottom: var(--space-16);
}

.wp-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wp-score-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}

.wp-metrics-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wp-metric-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-metric-name {
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 32px;
  flex-shrink: 0;
}

.wp-metric-bar-wrap {
  flex: 1;
  height: 5px;
  background: #f4f4f5;
  border-radius: 99px;
  overflow: hidden;
}

.wp-metric-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 60%, #22c55e 100%);
  transition: width 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* When cache is on (active), bars go full green */
.wp-metric-bar.cache-on {
  background: #22c55e;
}

.wp-metric-val {
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-title);
  min-width: 28px;
  text-align: right;
}

.wp-plugins-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wp-plugin-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  background: #f4f4f5;
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  cursor: default;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.wp-plugin-chip.active {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.wp-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background var(--transition-base);
  flex-shrink: 0;
}

.wp-plugin-chip.active .wp-chip-dot {
  background: #22c55e;
  box-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
}

/* keep circle and percentage */
.wp-stat-circle {
  position: relative;
  width: 72px;
  height: 72px;
}

.circular-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #f4f4f5;
  stroke-width: 3;
}

.circle {
  fill: none;
  stroke: #ef4444;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 400ms ease, stroke 400ms ease;
}

.circle[stroke-dasharray="100, 100"] {
  stroke: #22c55e;
}

.wp-stat-percentage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-title);
}

/* --- Terminal pipeline --- */
.terminal-git-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #3f3f46;
  border-radius: 8px;
  font-size: 11px;
  color: #71717a;
}

.terminal-git-icon {
  color: #a78bfa;
  font-size: 14px;
}

.terminal-git-hash {
  color: #818cf8;
  font-family: monospace;
}

.terminal-pipeline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #3f3f46;
  border-radius: 8px;
}

.tp-stage {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #52525b;
}

.tp-stage.done {
  color: #10b981;
}

.tp-stage.running {
  color: #f59e0b;
}

.tp-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f3f46;
  transition: background 300ms ease, box-shadow 300ms ease;
  flex-shrink: 0;
}

.tp-stage.done .tp-indicator {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
}

.tp-stage.running .tp-indicator {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245,158,11,0.5);
  animation: pipelinePulse 1s infinite;
}

@keyframes pipelinePulse {
  50% { opacity: 0.4; }
}

.tp-name {
  font-weight: 500;
}

.tp-time {
  font-size: 10px;
  color: #52525b;
  margin-left: 2px;
}

.tp-stage.done .tp-time {
  color: #10b981;
}

.tp-arrow {
  color: #3f3f46;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.terminal-live-url {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  font-size: 12px;
}

.terminal-live-url.hide {
  display: none;
}

.live-url-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  flex-shrink: 0;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  50% { box-shadow: 0 0 16px rgba(16,185,129,0.8); }
}

.live-url-text {
  color: #10b981;
  font-family: monospace;
  font-size: 11px;
  text-decoration: none;
}

.live-url-text:hover {
  text-decoration: underline;
}

/* --- Domain TLD list --- */
.domain-tld-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--space-12);
}

.domain-tld-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f9f9fa;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease, background var(--transition-base);
  cursor: default;
}

.domain-tld-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.domain-tld-row--highlight {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.2);
}

.domain-tld-row:hover {
  background: rgba(84, 93, 255, 0.04);
  border-color: rgba(84, 93, 255, 0.2);
}

.domain-tld-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
}

.domain-tld-name {
  flex: 1;
  font-weight: var(--font-weight-medium);
  color: var(--color-title);
  font-size: 13px;
}

.domain-tld-price {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  white-space: nowrap;
}

.domain-tld-price.free {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
}

/* --- Card 2: n8n Flow Widget --- */
.n8n-workflow-widget {
  position: relative;
  width: 100%;
  height: 160px;
  margin-bottom: var(--space-24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.n8n-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.n8n-line-bg {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2;
}

.n8n-line-active {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-dasharray: 20, 80;
  stroke-dashoffset: 0;
  animation: n8nLinePulse 3s infinite linear;
}

#n8n-line-2 {
  animation-delay: 1.5s;
}

@keyframes n8nLinePulse {
  to {
    stroke-dashoffset: -100;
  }
}

.n8n-nodes {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 220px;
  z-index: 2;
}

.n8n-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(24, 24, 27, 0.04);
  justify-content: center;
  transition: transform var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}

.n8n-node:hover,
.n8n-node.active {
  transform: scale(1.1);
  border-color: var(--color-accent);
  box-shadow: 0 0 12px rgba(84, 93, 255, 0.3);
}

.n8n-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.n8n-node-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.n8n-node.active .n8n-node-icon svg {
  color: var(--color-accent);
}

.n8n-node small {
  position: absolute;
  bottom: -24px;
  font-size: 10px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  white-space: nowrap;
}

/* --- Card 3: IA Terminal Widget --- */
.terminal-widget {
  width: calc(100% - var(--space-64));
  margin: 0 var(--space-32) var(--space-32);
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  font-family: monospace;
}

.terminal-header {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 var(--space-12);
  background: #202023;
  border-bottom: 1px solid #27272a;
  gap: 6px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  margin-left: 8px;
  font-size: 11px;
  color: #71717a;
}

.terminal-body {
  padding: var(--space-16);
  font-size: 12px;
  color: #a1a1aa;
  height: 200px;
  overflow: hidden;
  line-height: 1.6;
  text-align: left;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
}

.terminal-prompt {
  color: var(--color-accent);
  font-weight: bold;
}

.terminal-output {
  transition: opacity 250ms ease;
}

.terminal-output.hide {
  display: none;
  opacity: 0;
}

.terminal-output-success {
  color: #10b981;
}

.terminal-output-success.hide {
  display: none;
  opacity: 0;
}

/* Cursor animation */
.terminal-line::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 12px;
  background: currentColor;
  animation: termCursor 1s infinite step-end;
}

.terminal-line:not(:last-child)::after {
  display: none;
}

@keyframes termCursor {
  50% { opacity: 0; }
}

/* --- Card 5: Domain Checker Widget --- */
.domain-checker-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 var(--space-32) var(--space-32);
}

.domain-search-box {
  display: flex;
  align-items: center;
  height: 52px;
  background: #f4f4f5;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  padding: 0 16px 0 0;
  transition: border-color var(--transition-base);
}

.domain-search-box:focus-within {
  border-color: var(--color-accent);
}

.domain-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 var(--space-12);
  font-size: 15px;
  color: var(--color-title);
  font-weight: var(--font-weight-medium);
  min-width: 0;
}

.domain-tld {
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: #71717a;
  padding-right: var(--space-16);
}

.domain-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-16);
  padding: var(--space-12) var(--space-16);
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  text-align: left;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.domain-result.show {
  opacity: 1;
  transform: translateY(0);
}

.domain-status-icon.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

.domain-status-info {
  display: flex;
  flex-direction: column;
}

.domain-status-info strong {
  font-size: 14px;
  color: var(--color-title);
  font-weight: var(--font-weight-medium);
}

.domain-status-info span {
  font-size: 11px;
  color: #16a34a;
  font-weight: var(--font-weight-medium);
}

/* --- Card 4: Stays.dev --- */
/* --- Card 4: Stays.dev – Monitoring Dashboard --- */
.bento-card--stays-dev {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: stretch;
  gap: 0;
  background: #09090b;
  border-color: #27272a;
  color: #ffffff;
}

.bento-card--stays-dev .bento-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-40);
  border-right: 1px solid #27272a;
}

.bento-card--stays-dev h3 {
  color: #ffffff;
}

.bento-card--stays-dev p {
  color: #71717a;
}

.bento-card--stays-dev:hover {
  border-color: rgba(84, 93, 255, 0.4);
}

.badge-soon {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(84, 93, 255, 0.15);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  border-radius: 99px;
  margin-bottom: var(--space-16);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(84, 93, 255, 0.2);
}

/* Dashboard visual panel */
.stays-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--space-32) var(--space-40) var(--space-32) var(--space-32);
  flex: 1;
}

.stays-top-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid #27272a;
  border-radius: 14px;
  margin-bottom: var(--space-20);
  overflow: hidden;
}

.stays-stat-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  flex: 1;
}

.stays-stat-divider {
  width: 1px;
  height: 40px;
  background: #27272a;
  flex-shrink: 0;
}

.stays-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #52525b;
  font-weight: 500;
}

.stays-stat-value {
  font-size: 20px;
  font-weight: 600;
  color: #e4e4e7;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stays-stat-green {
  color: #10b981 !important;
}

/* Graph */
.stays-graph-wrap {
  margin-bottom: var(--space-20);
}

.stays-graph-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #52525b;
  font-weight: 500;
  margin-bottom: 8px;
}

.latency-graph {
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #27272a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
}

.sparkline-fill {
  fill: url(#sparkGrad);
  stroke: none;
}

.sparkline-path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Region status table */
.stays-regions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stays-region {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.stays-region-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
  flex-shrink: 0;
  animation: staysDotPulse 3s infinite ease-in-out;
}

.stays-region:nth-child(2) .stays-region-dot { animation-delay: 0.4s; }
.stays-region:nth-child(3) .stays-region-dot { animation-delay: 0.8s; }
.stays-region:nth-child(4) .stays-region-dot { animation-delay: 1.2s; }

@keyframes staysDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.stays-region-name {
  color: #a1a1aa;
  width: 72px;
  flex-shrink: 0;
  font-size: 11px;
}

.stays-region-bar {
  flex: 1;
  height: 3px;
  background: #27272a;
  border-radius: 99px;
  overflow: hidden;
}

.stays-region-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #545DFF);
  border-radius: 99px;
  transition: width 1s ease;
}

.stays-region-ms {
  color: #52525b;
  font-size: 11px;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}


/* ==========================================================================
   Bento Responsive Styles
   ========================================================================== */

@media (max-width: 1000px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-20);
    margin-top: var(--space-48);
  }

  .bento-card--two-cols,
  .bento-card--three-cols {
    grid-column: span 1;
  }

  .bento-card--stays-dev {
    grid-template-columns: 1fr;
  }

  .bento-card--stays-dev .bento-card-content {
    border-right: none;
    border-bottom: 1px solid #27272a;
    padding: var(--space-32);
    justify-content: flex-start;
  }

  .stays-dashboard {
    padding: var(--space-24);
  }

  .bento-card-content {
    padding: var(--space-24) var(--space-24) var(--space-16);
  }

  .wp-speed-widget,
  .domain-checker-widget {
    padding: 0 var(--space-24) var(--space-24);
  }

  .terminal-widget {
    width: calc(100% - var(--space-48));
    margin: 0 var(--space-24) var(--space-24);
  }
}

/* ==========================================================================
   Arquitetura real — Scroll-driven section
   ========================================================================== */

.arch-section {
  padding-bottom: 0;
}

.arch-frame {
  display: block;
  min-height: calc(100vh + 4 * 72vh);
  padding: 0;
  overflow: visible;
}

.arch-sticky-band {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
  max-width: none;
  margin-inline: 0;
  padding: 0 var(--space-64);
  overflow: hidden;
}

/* ── Left column ── */
.arch-col-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arch-heading {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.03em;
  line-height: var(--line-height-title-tight);
  margin: 24px 0 44px;
  color: var(--color-title);
}

.arch-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border: none;
  border-top: 1px solid var(--color-border);
  background: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: opacity var(--transition-base);
}

.arch-nav-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.arch-nav-line {
  flex-shrink: 0;
  width: 2px;
  border-radius: 99px;
  background: var(--color-border);
  align-self: stretch;
  transition: background 350ms ease;
  min-height: 18px;
}

.arch-nav-item.is-active .arch-nav-line {
  background: var(--color-accent);
}

.arch-nav-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.arch-nav-title {
  display: block;
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  line-height: 1.3;
  transition: color 300ms ease;
}

.arch-nav-item.is-active .arch-nav-title {
  color: var(--color-title);
}

.arch-nav-desc {
  display: block;
  font-size: var(--font-size-p2);
  color: var(--color-text);
  line-height: var(--line-height-text);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 420ms ease, opacity 350ms ease, margin-top 300ms ease;
  margin-top: 0;
}

.arch-nav-item.is-active .arch-nav-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 12px;
}

/* ── Right column & panels ── */
.arch-col-right {
  display: flex;
  align-items: center;
}

.arch-panels {
  position: relative;
  width: 100%;
  height: min(520px, calc(100vh - 180px));
  min-height: 440px;
}

.arch-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 480ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 480ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.arch-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Widget base (shared) ── */
.aw {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(24,24,27,0.08), 0 1px 0 rgba(24,24,27,0.04);
}

.aw-bar {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  gap: 8px;
  flex-shrink: 0;
}

.aw-dots { display: flex; gap: 5px; }
.awd {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.awd.red    { background: #ef4444; }
.awd.yellow { background: #f59e0b; }
.awd.green  { background: #22c55e; }

.aw-bar-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--color-text);
  font-family: ui-monospace, 'Cascadia Code', monospace;
}

.aw-body {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

/* Utility text colors */
.green-text { color: #10b981 !important; }
.blue-text  { color: var(--color-accent) !important; }

/* ── Panel 0: Infraestrutura ── */
.aw-infra-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.aw-gauge-wrap {
  position: relative;
  width: 144px;
  height: 116px;
  flex-shrink: 0;
}

.aw-gauge-svg {
  width: 144px;
  height: 84px;
  margin-top: 32px;
  overflow: visible;
}

.aw-gauge-track {
  fill: none;
  stroke: #27272a;
  stroke-width: 8;
  stroke-linecap: round;
}

.aw-gauge-arc {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 800ms ease;
}

.aw-gauge-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1.1;
  min-width: 82px;
  padding: 0;
  background: transparent;
  border-radius: 999px;
  box-shadow: none;
  z-index: 2;
}

.aw-gauge-label strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: #e4e4e7;
  letter-spacing: -0.04em;
}

.aw-gauge-label small {
  font-size: 10px;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.aw-infra-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.aw-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid;
}

.aw-badge--green { color: #10b981; border-color: rgba(16,185,129,0.25); background: rgba(16,185,129,0.08); }
.aw-badge--blue  { color: var(--color-accent); border-color: rgba(84,93,255,0.25); background: rgba(84,93,255,0.08); }
.aw-badge--purple{ color: #a78bfa; border-color: rgba(167,139,250,0.25); background: rgba(167,139,250,0.08); }

.aw-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-metric-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.aw-metric-name {
  color: #71717a;
  width: 34px;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.aw-metric-bar-wrap {
  flex: 1;
  height: 5px;
  background: #27272a;
  border-radius: 99px;
  overflow: hidden;
}

.aw-metric-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #10b981, #22c55e);
  transition: width 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aw-metric-val {
  font-size: 11px;
  font-weight: 600;
  width: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.aw-cdn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}

.aw-cdn-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #71717a;
}

.aw-cdn-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 5px rgba(16,185,129,0.5);
  flex-shrink: 0;
  animation: staysDotPulse 2.5s infinite ease-in-out;
}

.aw-cdn-ms {
  margin-left: auto;
  color: #52525b;
  font-variant-numeric: tabular-nums;
}

/* ── Panel 1: Suporte ── */
.aw--support .aw-bar { justify-content: space-between; }

.aw-online-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #10b981;
  font-weight: 600;
}

.aw-online-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: staysDotPulse 2s infinite;
}

.aw-chat-body {
  gap: 12px;
}

.aw-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.aw-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.aw-msg--client {
  flex-direction: column;
  align-items: flex-end;
}

.aw-msg--client .aw-msg-bubble {
  background: var(--color-accent);
  color: #fff;
  border-radius: 14px 14px 2px 14px;
}

.aw-msg--agent {
  flex-direction: row;
  align-items: flex-start;
}

.aw-msg--agent .aw-msg-bubble {
  background: #27272a;
  color: #e4e4e7;
  border-radius: 14px 14px 14px 2px;
}

.aw-msg-bubble {
  display: inline-block;
  padding: 9px 13px;
  font-size: 12px;
  line-height: 1.45;
  max-width: 280px;
}

.aw-msg-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aw-msg-time {
  display: block;
  font-size: 10px;
  color: #52525b;
  text-align: right;
}

.aw-msg--agent .aw-msg-time {
  text-align: left;
}

.aw-avatar {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.aw-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 300ms ease;
}

.aw-typing.hide { opacity: 0; pointer-events: none; }

.aw-typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #27272a;
  padding: 8px 12px;
  border-radius: 14px;
}

.aw-typing-dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #71717a;
  animation: typingBounce 1.2s infinite;
  font-style: normal;
}
.aw-typing-dots i:nth-child(2) { animation-delay: 0.2s; }
.aw-typing-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.aw-resolve-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 10px;
  color: #10b981;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 400ms ease, transform 400ms ease;
}

.aw-resolve-bar.hide { display: none; }
.aw-msg.hide { display: none; }

/* ── Panel 2: Deploy ── */
.aw-git-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #71717a;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #27272a;
  border-radius: 10px;
}

.aw-git-row code {
  color: var(--color-accent);
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.aw-pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-stage {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #27272a;
  border-radius: 10px;
  font-size: 11px;
  color: #71717a;
  transition: border-color 400ms ease, background 400ms ease;
}

.aw-stage.done {
  border-color: rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.06);
  color: #10b981;
}

.aw-stage.running {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.06);
  color: #f59e0b;
}

.aw-stage-icon {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3f3f46;
  transition: background 400ms ease;
}

.aw-stage.done    .aw-stage-icon { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.5); }
.aw-stage.running .aw-stage-icon { background: #f59e0b; animation: staysDotPulse 1s infinite; }

.aw-stage-time {
  font-size: 10px;
  opacity: 0;
  transition: opacity 300ms ease;
  font-variant-numeric: tabular-nums;
  color: #52525b;
}

.aw-stage.done .aw-stage-time { opacity: 1; }

.aw-pipe-chevron {
  color: #3f3f46;
  font-size: 18px;
  font-weight: 300;
}

.aw-log {
  background: rgba(255,255,255,0.02);
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #71717a;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aw-log-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-log--fade {
  opacity: 0;
  transition: opacity 400ms ease;
}

.aw-log--fade.visible { opacity: 1; }

.aw-log-prompt { color: var(--color-accent); font-weight: bold; }
.aw-log-ok { color: #10b981; }

.aw-live-url {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px;
  font-size: 12px;
}

.aw-live-url.hide { display: none; }

.aw-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  animation: staysDotPulse 1.5s infinite;
}

.aw-live-url a { color: #10b981; font-weight: 600; text-decoration: none; }

.aw-total-time {
  margin-left: auto;
  font-size: 10px;
  color: #71717a;
}

/* ── Panel 3: VPS / n8n ── */
.aw-vps-body {
  gap: 12px;
}

.aw-n8n {
  background: rgba(255,255,255,0.02);
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 14px;
}

.aw-n8n-label,
.aw-ep-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #52525b;
  font-weight: 600;
  margin-bottom: 12px;
}

.aw-n8n-canvas {
  display: flex;
  align-items: center;
  gap: 0;
}

.aw-n8n-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  color: #71717a;
  background: #18181b;
  flex-shrink: 0;
  transition: border-color 300ms ease, color 300ms ease;
  min-width: 68px;
}

.aw-n8n-node.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(84,93,255,0.08);
}

.aw-n8n-node small {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aw-n8n-edge {
  flex: 1;
  height: 8px;
  min-width: 20px;
}

.aw-edge-svg { width: 100%; height: 100%; }

.aw-edge-bg {
  stroke: #27272a;
  stroke-width: 1.5;
}

.aw-edge-anim {
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-dasharray: 8 12;
  stroke-dashoffset: 20;
  animation: edgeFlow 1.5s linear infinite;
}

@keyframes edgeFlow {
  to { stroke-dashoffset: 0; }
}

.aw-ep {
  background: rgba(255,255,255,0.02);
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 14px;
}

.aw-ep-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-ep-app {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}

.aw-ep-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 5px rgba(16,185,129,0.4);
  flex-shrink: 0;
}

.aw-ep-name {
  color: #a1a1aa;
  width: 72px;
  flex-shrink: 0;
  font-weight: 500;
}

.aw-ep-bar-wrap {
  flex: 1;
  height: 4px;
  background: #27272a;
  border-radius: 99px;
  overflow: hidden;
}

.aw-ep-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, var(--color-accent));
  border-radius: 99px;
  transition: width 1s ease;
}

.aw-ep-cpu {
  color: #52525b;
  font-size: 10px;
  width: 28px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ── Panel 4: WordPress ── */
.aw-wp-stats {
  display: flex;
  gap: 0;
  border: 1px solid #27272a;
  border-radius: 12px;
  overflow: hidden;
}

.aw-wp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
}

.aw-wp-stat + .aw-wp-stat {
  border-left: 1px solid #27272a;
}

.aw-wp-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #52525b;
  font-weight: 500;
}

.aw-wp-stat strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.aw-wp-plugins {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aw-wp-plugin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid #27272a;
  border-radius: 9px;
  font-size: 12px;
}

.aw-wp-check {
  color: #10b981;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.aw-wp-plugin-name {
  color: #a1a1aa;
  flex: 1;
}

.aw-wp-tag {
  font-size: 10px;
  color: var(--color-accent);
  background: rgba(84,93,255,0.1);
  border: 1px solid rgba(84,93,255,0.2);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 500;
  white-space: nowrap;
}

.aw-migration {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px;
  color: #10b981;
  font-size: 12px;
  font-weight: 500;
}

/* ── Architecture widgets: StayCloud light treatment ── */
.arch-section .eyebrow {
  color: var(--color-accent);
}

.arch-section .aw-gauge-label strong,
.arch-section .aw-wp-stat strong {
  color: var(--color-title);
}

.arch-section .aw-gauge-track,
.arch-section .aw-metric-bar-wrap,
.arch-section .aw-ep-bar-wrap {
  stroke: var(--color-border);
  background: var(--color-border);
}

.arch-section .aw-metric-name,
.arch-section .aw-cdn-item,
.arch-section .aw-msg-time,
.arch-section .aw-stage,
.arch-section .aw-log,
.arch-section .aw-ep-name,
.arch-section .aw-wp-plugin-name {
  color: var(--color-text);
}

.arch-section .aw-git-row,
.arch-section .aw-log,
.arch-section .aw-n8n,
.arch-section .aw-ep,
.arch-section .aw-wp-plugin,
.arch-section .aw-stage,
.arch-section .aw-live-url {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.arch-section .aw-msg--agent .aw-msg-bubble,
.arch-section .aw-typing-dots {
  background: var(--color-surface);
  color: var(--color-title);
  border: 1px solid var(--color-border);
}

.arch-section .aw-n8n-node {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text);
}

.arch-section .aw-n8n-node.active {
  border-color: rgba(84, 93, 255, 0.35);
  color: var(--color-accent);
  background: rgba(84, 93, 255, 0.08);
}

.arch-section .aw-edge-bg {
  stroke: var(--color-border);
}

.arch-section .aw-wp-stats,
.arch-section .aw-wp-stat + .aw-wp-stat {
  border-color: var(--color-border);
}

.arch-section .aw-wp-tag {
  background: rgba(84, 93, 255, 0.08);
  border-color: rgba(84, 93, 255, 0.18);
}

/* SVG gradient for gauge */
.aw--infra::before {
  content: '';
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
}

/* ── Arch responsive ── */
@media (max-width: 1000px) {
  .arch-section {
    padding-bottom: 0;
  }

  .arch-frame {
    min-height: auto;
    padding: var(--section-padding-y) var(--space-24);
  }

  .arch-sticky-band {
    position: relative;
    height: auto;
    grid-template-columns: 1fr;
    padding: 0;
    gap: 32px;
    overflow: visible;
  }

  .arch-panels {
    height: auto;
    min-height: 420px;
  }

  .arch-panel {
    position: relative;
    opacity: 0;
    transform: none;
    display: none;
  }

  .arch-panel.is-active {
    display: flex;
    opacity: 1;
  }

  .arch-nav-item.is-active .arch-nav-desc {
    max-height: none;
  }

  .arch-col-right {
    min-width: 0;
  }

  .arch-section .aw {
    min-height: 420px;
  }
}

/* Blinking terminal cursor for interactive panels */
.aw-cursor {
  display: inline-block;
  width: 2px;
  height: 12px;
  background: var(--color-accent);
  margin-left: 2px;
  animation: awCursorBlink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes awCursorBlink {
  from, to { background-color: transparent }
  50% { background-color: var(--color-accent) }
}

/* ==========================================================================
   Performance disclosure section
   ========================================================================== */

.perf-frame {
  padding: var(--section-padding-y) var(--space-64);
}

.perf-heading {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-64);
}

.perf-heading h2 {
  margin-bottom: 0;
}

.perf-disclosure {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: var(--space-64);
  align-items: center;
}

.perf-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.perf-control {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-16);
  width: 100%;
  padding: var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-title);
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease,
    box-shadow 220ms ease, transform 220ms ease;
}

.perf-control:hover,
.perf-control.is-active {
  border-color: rgba(84, 93, 255, 0.3);
  background: var(--color-surface);
  box-shadow: 0 18px 44px rgba(24, 24, 27, 0.07);
  transform: translateY(-1px);
}

.perf-control:focus {
  outline: none;
}

.perf-control:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.perf-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  background: var(--color-bg);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.perf-control-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perf-control.is-active .perf-control-icon {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.perf-control-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.perf-control-copy strong {
  color: var(--color-title);
  font-size: var(--font-size-p1);
  line-height: 1.2;
  font-weight: var(--font-weight-medium);
}

.perf-control-copy span {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  line-height: 1.35;
  text-wrap: pretty;
}

.perf-stage {
  position: relative;
  min-height: 720px;
  border: 1px solid var(--color-border);
  border-radius: 36px;
  background: var(--color-bg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(24, 24, 27, 0.08);
}

.perf-stage::before {
  content: "";
  position: absolute;
  inset: 24px;
  pointer-events: none;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  opacity: 0.55;
}

.perf-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: var(--space-48);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  pointer-events: none;
  transition: opacity 420ms ease,
    transform 520ms cubic-bezier(0.25, 1, 0.5, 1);
}

.perf-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.perf-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
}

.perf-panel-copy {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding: var(--space-24);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 56px rgba(24, 24, 27, 0.08);
}

.perf-panel-copy h3 {
  margin-bottom: var(--space-8);
  color: var(--color-title);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading-alt);
  font-weight: var(--font-weight-medium);
}

.perf-panel-copy p {
  color: var(--color-text);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
  text-wrap: pretty;
}

/* StayFast */
.perf-browser {
  position: absolute;
  inset: 28px 24px auto;
  min-height: 330px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-bg);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(24, 24, 27, 0.1);
}

.perf-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 var(--space-16);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.perf-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.perf-browser-bar span:first-child { background: #fb7185; }
.perf-browser-bar span:nth-child(2) { background: #f59e0b; }
.perf-browser-bar span:nth-child(3) { background: #10b981; }

.perf-browser-bar small {
  margin-left: auto;
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

.perf-browser-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: var(--space-24);
  align-items: center;
  padding: var(--space-32);
}

.perf-score-orb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  border: 12px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-right-color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-title);
  animation: perfOrbPulse 3s ease-in-out infinite;
}

.perf-score-orb::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 12px solid transparent;
  border-left-color: #10b981;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.perf-score-orb span {
  font-size: 48px;
  line-height: 1;
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.05em;
}

.perf-score-orb small {
  margin-top: 6px;
  color: var(--color-text);
  font-size: var(--font-size-p3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.perf-ai-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.perf-ai-list div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--font-size-p2);
}

.perf-ai-list i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
}

.perf-ai-list strong {
  color: #10b981;
  font-weight: var(--font-weight-medium);
}

.perf-float-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-title);
  font-size: var(--font-size-p2);
  box-shadow: 0 18px 42px rgba(24, 24, 27, 0.09);
}

.perf-float-badge--one {
  top: 8px;
  right: 64px;
  animation: perfFloat 4s ease-in-out infinite;
}

.perf-float-badge--two {
  left: 54px;
  bottom: 46px;
  color: var(--color-accent);
  animation: perfFloat 4s ease-in-out infinite 900ms;
}

/* Web Vitals */
.perf-vitals-grid {
  position: absolute;
  z-index: 2;
  top: 36px;
  left: 32px;
  right: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}

.perf-vital-card {
  padding: var(--space-24);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-bg);
  box-shadow: 0 18px 48px rgba(24, 24, 27, 0.08);
}

.perf-vital-card span {
  display: block;
  color: var(--color-text);
  font-size: var(--font-size-p3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.perf-vital-card strong {
  display: block;
  margin: 10px 0 14px;
  color: var(--color-title);
  font-size: 34px;
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.04em;
}

.perf-vital-card i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--color-border);
  overflow: hidden;
}

.perf-vital-card i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.perf-vitals-chart {
  position: absolute;
  left: 36px;
  bottom: 54px;
  width: calc(100% - 72px);
  height: 210px;
  overflow: visible;
}

.perf-chart-grid {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1;
}

.perf-chart-line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: perfDraw 3s ease forwards;
}

.perf-chart-fill {
  fill: rgba(84, 93, 255, 0.08);
}

/* Infrastructure */
.perf-network {
  position: absolute;
  inset: 28px;
}

.perf-network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.perf-network svg path {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2;
  stroke-dasharray: 9 12;
  animation: perfDash 18s linear infinite;
}

.perf-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 54px;
  padding: 0 var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--font-size-p2);
  box-shadow: 0 18px 48px rgba(24, 24, 27, 0.08);
}

.perf-node--main {
  top: 50%;
  left: 50%;
  color: #fff;
  border-color: var(--color-accent);
  background: var(--color-accent);
  transform: translate(-50%, -50%);
}

.perf-node:nth-of-type(2) { top: 34px; left: 48px; }
.perf-node:nth-of-type(3) { top: 34px; right: 56px; }
.perf-node:nth-of-type(4) { left: 32px; bottom: 118px; }
.perf-node:nth-of-type(5) { right: 42px; bottom: 110px; }

.perf-infra-stack {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
  width: min(620px, calc(100% - 32px));
  transform: translateX(-50%);
}

.perf-infra-stack span {
  padding: 8px 12px;
  border: 1px solid rgba(84, 93, 255, 0.16);
  border-radius: 999px;
  background: rgba(84, 93, 255, 0.06);
  color: var(--color-accent);
  font-size: var(--font-size-p3);
}

/* Migration */
.perf-visual--migration {
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-24);
  padding: var(--space-24) var(--space-16);
}

.perf-migration-card {
  position: relative;
  z-index: 2;
  min-height: 190px;
  padding: var(--space-24);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-bg);
  box-shadow: 0 24px 60px rgba(24, 24, 27, 0.08);
}

.perf-migration-card span,
.perf-migration-card small {
  display: block;
  color: var(--color-text);
  font-size: var(--font-size-p2);
}

.perf-migration-card strong {
  display: block;
  margin: var(--space-12) 0;
  color: var(--color-title);
  font-size: 36px;
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.04em;
}

.perf-migration-card--to {
  border-color: rgba(84, 93, 255, 0.28);
  background: rgba(84, 93, 255, 0.06);
}

.perf-migration-flow {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.perf-migration-flow i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: perfFlowDots 1.2s ease-in-out infinite;
}

.perf-migration-flow i:nth-child(2) { animation-delay: 150ms; }
.perf-migration-flow i:nth-child(3) { animation-delay: 300ms; }

.perf-checklist {
  position: static;
  grid-column: 1 / -1;
  grid-row: 2;
  z-index: 4;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
}

.perf-checklist span {
  padding: 9px 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
}

@keyframes perfOrbPulse {
  50% { transform: scale(1.025); }
}

@keyframes perfFloat {
  50% { transform: translateY(-8px); }
}

@keyframes perfDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes perfDash {
  to { stroke-dashoffset: -160; }
}

@keyframes perfFlowDots {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}

@media (max-width: 1000px) {
  .perf-frame {
    padding: var(--section-padding-y) var(--space-24);
  }

  .perf-heading {
    margin-bottom: var(--space-40);
  }

  .perf-disclosure {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

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

  .perf-stage {
    min-height: 720px;
  }
}

@media (max-width: 640px) {
  .perf-controls {
    grid-template-columns: 1fr;
  }

  .perf-control {
    border-radius: 28px;
  }

  .perf-stage {
    min-height: 800px;
    border-radius: 28px;
  }

  .perf-panel {
    padding: var(--space-24);
  }

  .perf-browser {
    inset: 16px 0 auto;
  }

  .perf-browser-body,
  .perf-visual--migration {
    grid-template-columns: 1fr;
  }

  .perf-visual--migration {
    grid-template-rows: auto auto auto auto;
  }

  .perf-migration-card--from { grid-row: 1; }
  .perf-migration-flow { grid-row: 2; }
  .perf-migration-card--to { grid-row: 3; }

  .perf-visual--migration .perf-checklist {
    grid-row: 4;
  }

  .perf-score-orb {
    margin-inline: auto;
  }

  .perf-vitals-grid {
    grid-template-columns: 1fr;
    left: 16px;
    right: 16px;
  }

  .perf-vitals-chart {
    left: 18px;
    bottom: 34px;
    width: calc(100% - 36px);
  }

  .perf-visual {
    min-height: 470px;
  }

  .perf-node {
    min-width: 92px;
    min-height: 46px;
    font-size: var(--font-size-p3);
  }

}

/* ==========================================================================
   Security bento section
   ========================================================================== */

.security-frame {
  padding: var(--section-padding-y) var(--space-64);
}

.security-heading {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-64);
}

.security-heading .eyebrow {
  color: var(--color-accent);
}

.security-heading h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-title-tight);
  letter-spacing: -0.03em;
}

.security-heading p {
  max-width: 580px;
}

.security-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-16);
}

.security-card {
  position: relative;
  min-width: 0;
  min-height: 420px;
  padding: var(--space-32);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  background: var(--color-bg);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(24, 24, 27, 0.06);
}

.security-card--backup {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(360px, 1.28fr);
  gap: var(--space-24);
  align-items: center;
}

.security-card--ssl {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.security-card--certified {
  grid-column: span 8;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(360px, 1.2fr);
  gap: var(--space-32);
  border-color: rgba(84, 93, 255, 0.24);
  background: var(--color-surface);
}

.security-card--isolation {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.security-card-copy {
  position: relative;
  z-index: 3;
}

.security-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-24);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  color: var(--color-text);
}

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

.security-card-icon--accent {
  margin-bottom: var(--space-16);
  color: #fff;
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.security-card h3 {
  margin-bottom: var(--space-12);
  color: var(--color-title);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading-alt);
  font-weight: var(--font-weight-medium);
}

.security-card p {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
  text-wrap: pretty;
}

/* Backup */
.backup-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 40px minmax(120px, 1fr);
  align-items: center;
  gap: var(--space-8);
  justify-self: start;
  width: calc(100% - var(--space-16));
  min-height: 270px;
  padding: var(--space-16);
  padding-bottom: var(--space-48);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-surface);
}

.backup-location {
  min-width: 0;
  padding: var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg);
  box-shadow: 0 16px 40px rgba(24, 24, 27, 0.06);
}

.backup-location span,
.backup-location small {
  display: block;
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

.backup-location strong {
  display: block;
  margin: var(--space-12) 0 var(--space-8);
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
}

.backup-location small {
  line-height: 1.4;
  text-wrap: pretty;
}

.backup-sync {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.backup-sync i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: securitySync 1.3s ease-in-out infinite;
}

.backup-sync i:nth-child(2) { animation-delay: 140ms; }
.backup-sync i:nth-child(3) { animation-delay: 280ms; }

.backup-sync span {
  color: var(--color-text);
  font-size: 10px;
  writing-mode: vertical-rl;
}

.backup-frequency {
  position: absolute;
  left: 50%;
  bottom: var(--space-16);
  padding: 8px 12px;
  border: 1px solid rgba(84, 93, 255, 0.18);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--font-size-p3);
  transform: translateX(-50%);
  white-space: nowrap;
}

.backup-frequency strong {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}

/* SSL */
.ssl-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
}

.ssl-ring {
  position: absolute;
  border: 1px solid rgba(84, 93, 255, 0.2);
  border-radius: 50%;
  animation: sslRing 3s ease-out infinite;
}

.ssl-ring--one {
  width: 150px;
  height: 150px;
}

.ssl-ring--two {
  width: 210px;
  height: 210px;
  animation-delay: 1.2s;
}

.ssl-shield {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(84, 93, 255, 0.22);
  border-radius: 36px;
  background: rgba(84, 93, 255, 0.08);
  color: var(--color-accent);
  box-shadow: 0 24px 54px rgba(84, 93, 255, 0.13);
}

.ssl-shield svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ssl-status {
  position: absolute;
  z-index: 3;
  right: 12%;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 9px 13px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  background: var(--color-bg);
  color: #10b981;
  font-size: var(--font-size-p3);
}

.ssl-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: staysDotPulse 1.8s infinite;
}

/* Certified featured card */
.certified-copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certified-copy .eyebrow {
  margin-bottom: var(--space-16);
  color: var(--color-accent);
}

.certified-copy h3 {
  font-size: var(--font-size-h3);
}

.certified-visual {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(84, 93, 255, 0.16);
  border-radius: 28px;
  background: var(--color-bg);
  overflow: hidden;
}

.certified-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.certified-waves path {
  fill: none;
  stroke: rgba(84, 93, 255, 0.2);
  stroke-width: 1.5;
  stroke-dasharray: 5 15;
  animation: certWave 12s linear infinite;
}

.certified-waves path:nth-child(2) { animation-duration: 16s; }
.certified-waves path:nth-child(3) { animation-duration: 20s; }
.certified-waves path:nth-child(4) { animation-duration: 14s; }

.cert-track {
  position: absolute;
  left: var(--space-24);
  display: flex;
  gap: var(--space-12);
  width: max-content;
  animation: certTrack 15s ease-in-out infinite alternate;
}

.cert-track--one { top: 62px; }
.cert-track--two {
  bottom: 62px;
  animation-direction: alternate-reverse;
  animation-duration: 19s;
}

.cert-track span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  box-shadow: 0 14px 36px rgba(24, 24, 27, 0.07);
}

.cert-track span small {
  color: var(--color-text);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-regular);
}

.cert-track--two span {
  color: var(--color-accent);
  font-weight: var(--font-weight-regular);
}

.certified-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(84, 93, 255, 0.26);
  border-radius: 50%;
  background: #fff;
  color: var(--color-title);
  box-shadow:
    0 0 0 24px #fff,
    0 24px 60px rgba(84, 93, 255, 0.14);
  transform: translate(-50%, -50%);
}

.certified-core i {
  width: 12px;
  height: 12px;
  margin-bottom: var(--space-12);
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
}

.certified-core strong {
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
}

.certified-core small {
  margin-top: 4px;
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

/* Isolation */
.isolation-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-12);
  min-height: 230px;
  margin-top: var(--space-24);
}

.isolation-account {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-24) var(--space-12);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-surface);
}

.isolation-account > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-12);
  border-radius: 16px;
  background: var(--color-bg);
  color: var(--color-title);
  font-weight: var(--font-weight-medium);
  box-shadow: 0 12px 30px rgba(24, 24, 27, 0.07);
}

.isolation-account small {
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

.isolation-account i {
  margin-top: var(--space-12);
  color: var(--color-accent);
  font-size: var(--font-size-p3);
  font-style: normal;
}

.isolation-wall {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.isolation-wall span {
  width: 8px;
  height: 30px;
  border-radius: 99px;
  background: var(--color-accent);
  opacity: 0.22;
  animation: isolationWall 1.8s ease-in-out infinite;
}

.isolation-wall span:nth-child(2) { animation-delay: 100ms; }
.isolation-wall span:nth-child(3) { animation-delay: 200ms; }
.isolation-wall span:nth-child(4) { animation-delay: 300ms; }
.isolation-wall span:nth-child(5) { animation-delay: 400ms; }

.isolation-status {
  position: static;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  padding: 8px 12px;
  border: 1px solid rgba(84, 93, 255, 0.16);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-accent);
  font-size: var(--font-size-p3);
  transform: none;
  white-space: nowrap;
}

@keyframes securitySync {
  0%, 100% { opacity: 0.25; transform: translateX(-5px); }
  50% { opacity: 1; transform: translateX(5px); }
}

@keyframes sslRing {
  0% { opacity: 0.7; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.2); }
}

@keyframes certWave {
  to { stroke-dashoffset: -180; }
}

@keyframes certTrack {
  to { transform: translateX(-180px); }
}

@keyframes isolationWall {
  50% { opacity: 0.8; transform: scaleY(0.72); }
}

@media (max-width: 1100px) {
  .security-card--backup,
  .security-card--ssl,
  .security-card--certified,
  .security-card--isolation {
    grid-column: span 12;
  }

  .security-card--certified {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 1000px) {
  .security-frame {
    padding: var(--section-padding-y) var(--space-24);
  }

  .security-heading {
    margin-bottom: var(--space-40);
  }
}

@media (max-width: 700px) {
  .security-card {
    min-height: 0;
    padding: var(--space-24);
    border-radius: 28px;
  }

  .security-card--backup,
  .security-card--certified {
    grid-template-columns: 1fr;
  }

  .backup-visual {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-48);
  }

  .backup-sync {
    flex-direction: row;
  }

  .backup-sync span {
    writing-mode: initial;
  }

  .certified-visual {
    min-height: 440px;
  }

  .certified-core {
    width: 150px;
    height: 150px;
  }
}

/* ==========================================================================
   Interactive uptime globe
   ========================================================================== */

.uptime-frame {
  padding: var(--section-padding-y) var(--space-64);
}

.uptime-heading {
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: var(--space-64);
}

.uptime-heading h2 {
  max-width: 940px;
}

.uptime-heading p {
  max-width: 720px;
}

.uptime-globe-shell {
  border: 1px solid var(--color-border);
  border-radius: 36px;
  background: var(--color-bg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(24, 24, 27, 0.07);
}

.uptime-globe-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 var(--space-24);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.uptime-live,
.uptime-drag-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--color-text);
  font-size: var(--font-size-p2);
}

.uptime-live {
  color: #10b981;
  font-weight: var(--font-weight-medium);
}

.uptime-live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
  animation: staysDotPulse 1.8s infinite;
}

.uptime-drag-hint svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uptime-globe-viewport {
  position: relative;
  height: 680px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  background: var(--color-bg);
}

.uptime-globe-viewport.is-dragging {
  cursor: grabbing;
}

.uptime-globe-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.globe-node {
  position: absolute;
  z-index: 4;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(84, 93, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.76);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease,
    border-color 180ms ease, background 180ms ease;
  box-shadow: 0 12px 32px rgba(24, 24, 27, 0.1);
}

.globe-node.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.globe-node:hover,
.globe-node.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.globe-node > span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
}

.globe-node:hover > span,
.globe-node.is-active > span {
  background: #fff;
}

.globe-node.is-active::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(84, 93, 255, 0.28);
  border-radius: 50%;
  animation: globeNodePulse 1.8s ease-out infinite;
}

.globe-location-card {
  position: absolute;
  z-index: 5;
  top: var(--space-32);
  left: var(--space-32);
  width: min(300px, calc(100% - 64px));
  padding: var(--space-24);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(24, 24, 27, 0.1);
  pointer-events: none;
}

.globe-location-card > span {
  display: block;
  color: var(--color-text);
  font-size: var(--font-size-p3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.globe-location-card > strong {
  display: block;
  margin: var(--space-8) 0 var(--space-20, 20px);
  color: var(--color-title);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-regular);
}

.globe-location-card > div {
  display: flex;
  gap: var(--space-24);
}

.globe-location-card small {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

.globe-location-card b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-title);
  font-weight: var(--font-weight-medium);
}

.globe-location-card b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.uptime-locations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
}

.uptime-location {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px var(--space-12);
  min-width: 0;
  padding: var(--space-24);
  border: 0;
  border-right: 1px solid var(--color-border);
  background: var(--color-bg);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.uptime-location:last-child {
  border-right: 0;
}

.uptime-location:hover,
.uptime-location.is-active {
  background: var(--color-surface);
  box-shadow: inset 0 3px 0 var(--color-accent);
}

.uptime-location span {
  color: var(--color-title);
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
}

.uptime-location strong {
  color: var(--color-accent);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.uptime-location small {
  grid-column: 1 / -1;
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

.uptime-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.uptime-metrics > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-24);
  border-right: 1px solid var(--color-border);
  text-align: center;
}

.uptime-metrics > div:last-child {
  border-right: 0;
}

.uptime-metrics strong {
  color: var(--color-title);
  font-size: var(--font-size-h4);
  line-height: 1.2;
  font-weight: var(--font-weight-regular);
}

.uptime-metrics span {
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

@keyframes globeNodePulse {
  0% { opacity: 0.7; transform: scale(0.72); }
  100% { opacity: 0; transform: scale(1.35); }
}

@media (max-width: 1000px) {
  .uptime-frame {
    padding: var(--section-padding-y) var(--space-24);
  }

  .uptime-heading {
    margin-bottom: var(--space-40);
  }

  .uptime-globe-viewport {
    height: 600px;
  }

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

  .uptime-location:nth-child(2),
  .uptime-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .uptime-location:nth-child(-n + 2),
  .uptime-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 640px) {
  .uptime-globe-shell {
    border-radius: 28px;
  }

  .uptime-globe-toolbar {
    padding: 0 var(--space-16);
  }

  .uptime-drag-hint {
    font-size: 0;
  }

  .uptime-globe-viewport {
    height: 520px;
  }

  .globe-location-card {
    top: var(--space-16);
    left: var(--space-16);
    width: calc(100% - 32px);
    padding: var(--space-16);
  }

  .uptime-locations,
  .uptime-metrics {
    grid-template-columns: 1fr;
  }

  .uptime-location,
  .uptime-location:nth-child(2),
  .uptime-metrics > div,
  .uptime-metrics > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .uptime-location:last-child,
  .uptime-metrics > div:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   Fourth path / market comparison
   ========================================================================== */

.choice-frame {
  padding: var(--section-padding-y) var(--space-64);
}

.choice-heading {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: var(--space-64);
}

.choice-heading h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-title-tight);
  letter-spacing: -0.03em;
}

.choice-heading h2 strong {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}

.choice-heading p {
  max-width: 620px;
}

.choice-board {
  max-width: 1120px;
  margin-inline: auto;
}

.choice-problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}

.choice-problem {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: start;
  min-height: 340px;
  padding: var(--space-24);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-bg);
  color: var(--color-title);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 220ms ease, background 220ms ease,
    box-shadow 220ms ease, transform 220ms ease;
}

.choice-problem:hover,
.choice-problem.is-active {
  border-color: #a1a1aa;
  background: var(--color-surface);
  box-shadow: 0 20px 52px rgba(24, 24, 27, 0.07);
  transform: translateY(-3px);
}

.choice-problem:focus {
  outline: none;
}

.choice-problem:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.choice-number {
  color: var(--color-text);
  font-size: var(--font-size-p3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: var(--space-24) 0;
  border: 1px solid var(--color-border);
  border-radius: 17px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: color 220ms ease, border-color 220ms ease;
}

.choice-problem.is-active .choice-icon {
  color: var(--color-title);
  border-color: #a1a1aa;
}

.choice-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice-problem-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.choice-problem-copy strong {
  color: var(--color-title);
  font-size: var(--font-size-h5);
  line-height: var(--line-height-heading-alt);
  font-weight: var(--font-weight-medium);
}

.choice-problem-copy > span {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
  text-wrap: pretty;
}

.choice-dead-end {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  align-self: end;
  margin-top: var(--space-24);
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

.choice-dead-end i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a1a1aa;
}

.choice-routes {
  position: relative;
  height: 112px;
}

.choice-routes > span {
  position: absolute;
  top: 0;
  height: 54px;
  border-left: 1px solid var(--color-border);
}

.choice-routes > span:first-child { left: 16.666%; }
.choice-routes > span:nth-child(2) { left: 50%; }
.choice-routes > span:nth-child(3) { left: 83.333%; }

.choice-routes::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 16.666%;
  right: 16.666%;
  border-top: 1px solid var(--color-border);
}

.choice-routes::after {
  content: "";
  position: absolute;
  top: 54px;
  left: 50%;
  height: 58px;
  border-left: 1px solid var(--color-border);
}

.choice-routes > i {
  position: absolute;
  z-index: 2;
  top: 47px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border: 3px solid var(--color-bg);
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(84, 93, 255, 0.25);
  animation: choiceRoutePulse 2s ease-in-out infinite;
}

.choice-solution {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: var(--space-48);
  padding: var(--space-48);
  border: 1px solid rgba(84, 93, 255, 0.28);
  border-radius: 36px;
  background: var(--color-surface);
  box-shadow: 0 28px 90px rgba(84, 93, 255, 0.09);
  overflow: hidden;
}

.choice-solution::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -54px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(84, 93, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(84, 93, 255, 0.04),
    0 0 0 56px rgba(84, 93, 255, 0.025);
}

.choice-solution-brand,
.choice-answer,
.choice-benefits {
  position: relative;
  z-index: 2;
}

.choice-fourth {
  display: inline-flex;
  margin-bottom: var(--space-24);
  padding: 8px 12px;
  border: 1px solid rgba(84, 93, 255, 0.2);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-accent);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.choice-solution-brand img {
  display: block;
  width: 162px;
  height: auto;
  margin-bottom: var(--space-32);
}

.choice-solution-brand h3 {
  max-width: 520px;
  margin-bottom: var(--space-12);
  color: var(--color-title);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-heading);
  font-weight: var(--font-weight-regular);
}

.choice-solution-brand p {
  max-width: 560px;
  color: var(--color-text);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
}

.choice-answer {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-32);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-bg);
  box-shadow: 0 18px 48px rgba(24, 24, 27, 0.06);
  transition: opacity 180ms ease, transform 180ms ease;
}

.choice-answer.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.choice-answer > span {
  margin-bottom: var(--space-12);
  color: var(--color-accent);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.choice-answer strong {
  margin-bottom: var(--space-12);
  color: var(--color-title);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading-alt);
  font-weight: var(--font-weight-medium);
}

.choice-answer p {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
}

.choice-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-bg);
  overflow: hidden;
}

.choice-benefits span {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-16);
  border-right: 1px solid var(--color-border);
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.choice-benefits span:last-child {
  border-right: 0;
}

.choice-benefits i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.09);
}

@keyframes choiceRoutePulse {
  50% { transform: scale(1.25); box-shadow: 0 0 0 9px rgba(84, 93, 255, 0.08); }
}

@media (max-width: 1000px) {
  .choice-frame {
    padding: var(--section-padding-y) var(--space-24);
  }

  .choice-heading {
    margin-bottom: var(--space-40);
  }

  .choice-problems {
    grid-template-columns: 1fr;
  }

  .choice-problem {
    min-height: 0;
  }

  .choice-routes {
    height: 72px;
  }

  .choice-routes > span:first-child,
  .choice-routes > span:nth-child(3),
  .choice-routes::before {
    display: none;
  }

  .choice-routes > span:nth-child(2) {
    height: 36px;
  }

  .choice-routes::after {
    top: 36px;
    height: 36px;
  }

  .choice-routes > i {
    top: 29px;
  }

  .choice-solution {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

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

  .choice-benefits span:nth-child(2) {
    border-right: 0;
  }

  .choice-benefits span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 640px) {
  .choice-solution {
    padding: var(--space-24);
    border-radius: 28px;
  }

  .choice-benefits {
    grid-template-columns: 1fr;
  }

  .choice-benefits span,
  .choice-benefits span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .choice-benefits span:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   stays.dev product section
   ========================================================================== */

.stays-section {
  background: var(--color-surface);
}

.stays-frame {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  padding: var(--section-padding-y) var(--space-64);
}

.stays-product-label {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  width: fit-content;
  margin-bottom: var(--space-40);
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--font-size-p2);
}

.stays-product-label strong {
  color: var(--color-title);
  font-weight: var(--font-weight-medium);
}

.stays-product-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--color-accent);
  color: #fff;
  font-weight: var(--font-weight-medium);
}

.stays-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
  gap: var(--space-64);
  align-items: center;
  padding: var(--space-48);
  border: 1px solid rgba(84, 93, 255, 0.2);
  border-radius: 36px;
  background: var(--color-bg);
  box-shadow: 0 24px 70px rgba(24, 24, 27, 0.07);
  min-width: 0;
}

.stays-hero::before {
  position: absolute;
  top: -1px;
  left: 56px;
  width: 96px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--color-accent);
  content: "";
}

.stays-copy .eyebrow {
  display: inline-flex;
  margin-bottom: var(--space-12);
  color: var(--color-accent);
}

.stays-copy,
.stays-terminal {
  width: 100%;
  min-width: 0;
}

.stays-copy h2 {
  max-width: 600px;
  margin-bottom: var(--space-16);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-title-tight);
}

.stays-copy h2 code {
  display: inline-flex;
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-title);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8em;
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.04em;
}

.stays-copy h2 strong {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}

.stays-copy > p {
  max-width: 620px;
  color: var(--color-text);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
  text-wrap: pretty;
}

.stays-integrations {
  width: min(100%, 560px);
  margin-top: var(--space-16);
  padding-block: var(--space-16);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.stays-integrations-track {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  width: max-content;
  padding: 0;
  animation: stays-integrations-scroll 22s linear infinite;
}

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

.stays-integration {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--space-8);
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-title);
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
  box-shadow: 0 8px 22px rgba(24, 24, 27, 0.05);
}

.stays-integration svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes stays-integrations-scroll {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.stays-terminal {
  border: 1px solid #3f3f46;
  border-radius: 28px;
  background: #18181b;
  color: #e4e4e7;
  overflow: hidden;
  box-shadow: 14px 14px 0 rgba(84, 93, 255, 0.12), 0 28px 80px rgba(24, 24, 27, 0.2);
}

.stays-terminal-bar,
.stays-terminal-footer {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--space-16);
  background: #202024;
}

.stays-terminal-bar {
  border-bottom: 1px solid #3f3f46;
}

.stays-terminal-footer {
  justify-content: space-between;
  border-top: 1px solid #3f3f46;
}

.stays-terminal-dots {
  display: flex;
  gap: 6px;
}

.stays-terminal-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #52525b;
}

.stays-terminal-dots i:first-child { background: #fb7185; }
.stays-terminal-dots i:nth-child(2) { background: #f59e0b; }
.stays-terminal-dots i:nth-child(3) { background: #10b981; }

.stays-terminal-bar > small {
  margin-left: var(--space-16);
  color: #a1a1aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--font-size-p3);
}

.stays-terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #a1a1aa;
  font-size: var(--font-size-p3);
}

.stays-terminal-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.stays-terminal-body {
  min-height: 370px;
  padding: var(--space-32);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.stays-command {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: var(--space-32);
  color: #fafafa;
  font-size: var(--font-size-p1);
}

.stays-command > span {
  margin-right: var(--space-12);
  color: var(--color-accent);
}

.stays-command code,
.stays-terminal-result code {
  font: inherit;
}

.stays-cursor {
  width: 2px;
  height: 18px;
  margin-left: 4px;
  background: #fafafa;
  animation: awCursorBlink 1s step-end infinite;
}

.stays-terminal-result {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-8);
  min-height: 48px;
  padding: 0 var(--space-12);
  border-bottom: 1px solid #27272a;
  color: #d4d4d8;
  font-size: var(--font-size-p2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.stays-terminal-result.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stays-terminal-result > span {
  color: #10b981;
  font-weight: var(--font-weight-medium);
}

.stays-terminal-result small {
  color: #71717a;
  font-size: var(--font-size-p3);
}

.stays-terminal-live {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-top: var(--space-24);
  padding: var(--space-16);
  border: 1px solid rgba(84, 93, 255, 0.42);
  border-radius: 18px;
  background: #22222a;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.stays-terminal-live.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stays-terminal-live > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
}

.stays-terminal-live > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stays-terminal-live strong {
  color: #fafafa;
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-medium);
}

.stays-terminal-live a {
  color: #a1a1aa;
  font-size: var(--font-size-p3);
  text-decoration: none;
}

.stays-terminal-live > i {
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.1);
}

.stays-terminal-footer > span {
  color: #71717a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--font-size-p3);
}

.stays-terminal-footer button {
  padding: 7px 11px;
  border: 1px solid #3f3f46;
  border-radius: 999px;
  background: transparent;
  color: #a1a1aa;
  font-size: var(--font-size-p3);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.stays-terminal-footer button:hover {
  color: #fff;
  border-color: #71717a;
}

.stays-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-64);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-bg);
  overflow: hidden;
}

.stays-feature {
  min-height: 280px;
  padding: var(--space-24);
  border-right: 1px solid var(--color-border);
}

.stays-feature:last-child {
  border-right: 0;
}

.stays-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-32);
  border: 1px solid rgba(84, 93, 255, 0.18);
  border-radius: 16px;
  background: rgba(84, 93, 255, 0.07);
  color: var(--color-accent);
}

.stays-feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stays-feature h3 {
  margin-bottom: var(--space-12);
  color: var(--color-title);
  font-size: var(--font-size-h5);
  line-height: var(--line-height-heading-alt);
  font-weight: var(--font-weight-medium);
}

.stays-feature p {
  color: var(--color-text);
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
}

.stays-feature small {
  display: inline-flex;
  margin-top: var(--space-24);
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .stays-hero {
    grid-template-columns: 1fr;
    padding: var(--space-32);
  }

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

  .stays-feature:nth-child(2) {
    border-right: 0;
  }

  .stays-feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 1000px) {
  .stays-frame {
    padding: var(--section-padding-y) var(--space-24);
  }

  .stays-product-label {
    margin-bottom: var(--space-40);
  }
}

@media (max-width: 640px) {
  .stays-hero {
    padding: var(--space-24) var(--space-16);
    border-radius: 28px;
  }

  .stays-hero::before {
    left: var(--space-24);
  }

  .stays-product-label > span:last-child {
    display: none;
  }

  .stays-terminal {
    border-radius: 22px;
    box-shadow: 8px 8px 0 rgba(84, 93, 255, 0.1), 0 20px 50px rgba(24, 24, 27, 0.16);
  }

  .stays-terminal-body {
    min-height: 410px;
    padding: var(--space-24) var(--space-16);
  }

  .stays-terminal-result {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .stays-terminal-result small {
    display: none;
  }

  .stays-terminal-footer > span {
    display: none;
  }

  .stays-terminal-footer {
    justify-content: flex-end;
  }

  .stays-features {
    grid-template-columns: 1fr;
  }

  .stays-feature,
  .stays-feature:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .stays-feature:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   Human support
   ========================================================================== */

.support-section {
  background: var(--color-bg);
}

.support-frame {
  padding: var(--section-padding-y) var(--space-64);
}

.support-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 80px;
  align-items: center;
}

.support-copy .eyebrow {
  display: inline-flex;
  margin-bottom: var(--space-24);
  color: var(--color-accent);
}

.support-copy h2 {
  max-width: 560px;
  margin-bottom: var(--space-16);
  color: var(--color-title);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-title-tight);
}

.support-copy h2 strong {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}

.support-copy > p {
  max-width: 580px;
  color: var(--color-text);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-text);
  text-wrap: pretty;
}

.support-cta {
  width: fit-content;
  margin-top: var(--space-32);
}

.support-room {
  position: relative;
  border: 1px solid #3f3f46;
  border-radius: 28px;
  background: #18181b;
  color: #f4f4f5;
  overflow: hidden;
  box-shadow: 14px 14px 0 rgba(84, 93, 255, 0.12), 0 28px 80px rgba(24, 24, 27, 0.18);
}

.support-room::before {
  position: absolute;
  top: 0;
  left: 64px;
  width: 96px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--color-accent);
  content: "";
}

.support-room-head,
.support-room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16) var(--space-24);
  background: #202024;
}

.support-room-head {
  min-height: 80px;
  border-bottom: 1px solid #3f3f46;
}

.support-room-title,
.support-agent {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.support-room-title div,
.support-agent div {
  display: grid;
  gap: 2px;
}

.support-room-title strong,
.support-agent strong {
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.support-room-title small,
.support-agent small {
  color: #a1a1aa;
  font-size: var(--font-size-p3);
}

.support-live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
  animation: support-live 2s ease-in-out infinite;
}

.support-room-status {
  padding: 7px 10px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  color: #34d399;
  font-size: var(--font-size-p3);
}

.support-room-body {
  display: grid;
  min-height: 410px;
  padding: var(--space-32);
}

.support-message {
  width: min(82%, 480px);
  padding: var(--space-16);
  border-radius: 18px;
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
}

.support-message--client {
  justify-self: end;
  align-self: start;
  border: 1px solid rgba(84, 93, 255, 0.5);
  border-bottom-right-radius: 5px;
  background: rgba(84, 93, 255, 0.14);
}

.support-message small {
  display: block;
  margin-bottom: 6px;
  color: #a1a1aa;
  font-size: 10px;
}

.support-agent {
  align-self: end;
  margin-top: var(--space-24);
}

.support-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-p3);
  font-weight: var(--font-weight-medium);
}

.support-message--agent {
  align-self: end;
  margin-top: var(--space-12);
  border: 1px solid #3f3f46;
  border-bottom-left-radius: 5px;
  background: #27272a;
}

.support-message--agent > span {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  color: #a1a1aa;
  font-size: 10px;
}

.support-message--agent > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.support-room-footer {
  min-height: 64px;
  border-top: 1px solid #3f3f46;
  color: #71717a;
  font-size: var(--font-size-p2);
}

.support-room-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--color-accent);
  color: #fff;
}

.support-room-footer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes support-live {
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.03); }
}

.support-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 80px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
}

.support-metrics article {
  position: relative;
  min-height: 190px;
  padding: var(--space-32) var(--space-24);
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
}

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

.support-metrics strong {
  display: block;
  margin-bottom: var(--space-16);
  color: var(--color-title);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading-alt);
  font-weight: var(--font-weight-regular);
}

.support-metrics strong span {
  color: var(--color-accent);
  font-size: var(--font-size-h2);
}

.support-metrics p {
  max-width: 210px;
  color: var(--color-text);
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
}

.support-metrics small {
  position: absolute;
  right: var(--space-16);
  bottom: var(--space-16);
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 10px;
}

.support-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: var(--space-24);
  margin-top: var(--space-24);
}

.support-team-photo {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  overflow: hidden;
  background: var(--color-surface);
}

.support-team-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.94);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.support-team-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 74px);
  place-content: center;
  gap: var(--space-12);
  background: var(--color-surface);
}

.support-team-fallback span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 96px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #fff;
  color: var(--color-accent);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
  box-shadow: 0 14px 30px rgba(24, 24, 27, 0.08);
}

.support-team-fallback span:nth-child(even) {
  transform: translateY(22px);
}

.support-team-fallback strong {
  grid-column: 1 / -1;
  margin-top: var(--space-32);
  color: var(--color-title);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading-alt);
  font-weight: var(--font-weight-regular);
  text-align: center;
}

.support-team-photo:hover img {
  transform: scale(1.025);
  filter: saturate(0.95) contrast(1);
}

.support-team-photo figcaption {
  position: absolute;
  z-index: 2;
  left: var(--space-24);
  bottom: var(--space-24);
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.82);
  color: #fff;
  font-size: var(--font-size-p3);
  backdrop-filter: blur(12px);
}

.support-team-photo figcaption span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.support-story blockquote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: var(--space-40);
  border: 1px solid rgba(84, 93, 255, 0.28);
  border-radius: 28px;
  background: var(--color-surface);
}

.support-story blockquote > span {
  color: var(--color-accent);
  font-size: 80px;
  line-height: 0.7;
}

.support-story blockquote > p {
  color: var(--color-title);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading-alt);
  text-wrap: balance;
}

.support-story blockquote footer {
  display: grid;
  gap: 3px;
}

.support-story blockquote strong {
  color: var(--color-title);
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.support-story blockquote small {
  color: var(--color-text);
  font-size: var(--font-size-p3);
}

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

.site-footer {
  background: #18181b;
  color: #a1a1aa;
}

.footer-container {
  padding: 80px var(--space-24) var(--space-32);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 96px;
}

.footer-brand {
  align-self: start;
}

.footer-logo {
  display: block;
  width: 162px;
  margin-bottom: var(--space-24);
}

.footer-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.footer-brand > p {
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 8px 11px;
  border: 1px solid #3f3f46;
  border-radius: 999px;
  color: #d4d4d8;
  font-size: var(--font-size-p3);
}

.footer-trust-row {
  display: grid;
  justify-items: start;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.trust-social,
#ra-wrapper {
  width: fit-content;
}

#ra-wrapper {
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#ra-wrapper:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

#ra-wrapper iframe {
  display: block;
  pointer-events: none;
}

@media (max-width: 1180px) and (min-width: 1001px) {
  .header-container {
    gap: var(--space-16);
  }

  .header-nav {
    gap: 0;
  }

  .nav-link {
    padding-inline: var(--space-12);
    font-size: var(--font-size-p2);
  }

  .language-trigger > span {
    display: none;
  }

  .language-trigger {
    width: 64px;
    padding: 0 10px;
  }

}

.footer-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-32);
}

.footer-nav > div {
  display: grid;
  align-content: start;
  gap: var(--space-12);
}

.footer-nav strong {
  margin-bottom: var(--space-8);
  color: #f4f4f5;
  font-size: var(--font-size-p2);
  font-weight: var(--font-weight-medium);
}

.footer-nav a {
  width: fit-content;
  color: #a1a1aa;
  font-size: var(--font-size-p2);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-nav a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  margin-top: 80px;
  padding: 48px;
  border: 1px solid #3f3f46;
  border-radius: 28px;
  background: #202024;
  overflow: hidden;
}

.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-accent);
}

.footer-cta-copy {
  max-width: 680px;
}

.footer-cta .footer-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  color: #d4d4d8;
  font-size: var(--font-size-p2);
}

.footer-cta-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.1);
}

.footer-cta-copy > p {
  max-width: 580px;
  margin-top: var(--space-16);
  color: #a1a1aa;
  font-size: var(--font-size-p2);
  line-height: var(--line-height-text);
}

.footer-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-16);
  margin-top: var(--space-24);
}

.footer-cta .footer-cta-points span {
  color: #d4d4d8;
  font-size: var(--font-size-p3);
}

.footer-cta-action {
  flex: 0 0 min(360px, 36%);
  display: grid;
  gap: var(--space-12);
}

.footer-cta-command {
  display: grid;
  gap: var(--space-12);
  padding: var(--space-16);
  border: 1px solid #3f3f46;
  border-radius: 16px;
  background: #18181b;
}

.footer-cta-command code {
  color: #f4f4f5;
  font: 400 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.footer-cta-command code b {
  color: var(--color-accent);
  font-weight: 500;
}

.footer-cta-command small {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: #a1a1aa;
  font-size: var(--font-size-p3);
}

.footer-cta-command small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.footer-cta span {
  display: block;
  color: #a1a1aa;
}

.footer-cta h2 {
  color: #fff;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-title-tight);
}

.footer-cta-button {
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  flex: 0 0 auto;
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.footer-cta-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-cta-button:hover {
  border-color: #6b73ff;
  background: #6b73ff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  margin-top: var(--space-40);
  padding-top: var(--space-24);
  border-top: 1px solid #3f3f46;
  font-size: var(--font-size-p3);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  color: #a1a1aa;
}

.footer-credit img {
  width: 72px;
  height: auto;
}

@media (max-width: 1100px) {
  .support-intro {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

  .support-copy h2,
  .support-copy > p {
    max-width: 760px;
  }

  .support-story {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }
}

@media (max-width: 1000px) {
  .support-frame {
    padding: var(--section-padding-y) var(--space-24);
  }

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

  .support-metrics article:nth-child(2) {
    border-right: 0;
  }

  .support-metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 760px) {
  .support-copy .eyebrow {
    margin-bottom: var(--space-16);
  }

  .support-room {
    border-radius: 22px;
    box-shadow: 8px 8px 0 rgba(84, 93, 255, 0.1), 0 20px 50px rgba(24, 24, 27, 0.14);
  }

  .support-room-body {
    min-height: 440px;
    padding: var(--space-24) var(--space-16);
  }

  .support-message {
    width: 90%;
  }

  .support-metrics {
    grid-template-columns: 1fr;
    margin-top: var(--space-48);
  }

  .support-metrics article,
  .support-metrics article:nth-child(2) {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .support-metrics article:last-child {
    border-bottom: 0;
  }

  .support-team-photo,
  .support-team-photo img,
  .support-story blockquote {
    min-height: 340px;
  }

  .support-story blockquote {
    padding: var(--space-32) var(--space-24);
  }

  .footer-container {
    padding-top: 64px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-48);
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 64px;
    padding: var(--space-32) var(--space-24);
  }

  .footer-cta-action {
    flex-basis: auto;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-live-dot {
    animation: none;
  }

  .support-team-photo img {
    transition: none;
  }
}
