/* AdSyno Marketing Design System — synced to Figma (nvkOyh4PkNqqd1eU4dZwOB) */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --color-navy: #050e24;
  --color-deep: #0649d5;
  --color-deep-hover: #053bb0;
  --color-ice: #82dfff;
  --color-white: #ffffff;
  --color-n50: #f5f7fa;
  --color-n100: #e8edf4;
  --color-n200: #d5dfec;
  --color-n300: #c3cddb;
  --color-n500: #64748b;
  --color-n600: #475569;
  --color-n700: #39465b;
  --color-success: #16a34a;
  --color-success-bg: #e8f5ef;
  --color-warning: #f59e0b;
  --color-warning-bg: #fff3d9;
  --color-error: #bf3947;

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;

  --container-max: 1216px;
  --gutter: clamp(20px, 7.8vw, 112px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --shadow-menu: 0 20px 28px rgba(5, 14, 36, 0.1);
  --shadow-card: 0 10px 30px rgba(5, 14, 36, 0.06);
  --shadow-soft: 0 12px 32px rgba(5, 14, 36, 0.08);
  --shadow-bento: 0 1px 2px rgba(5, 14, 36, 0.04), 0 16px 40px -12px rgba(5, 14, 36, 0.09);
  --shadow-bento-hover: 0 4px 12px rgba(5, 14, 36, 0.06), 0 24px 56px -14px rgba(37, 99, 235, 0.16);
  --mesh-cobalt: #2563eb;
  --mesh-violet: #635bff;
  --mesh-cyan: #06b6d4;
  --mesh-coral: #fb7185;
  --mesh-amber: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.5;
  font-size: 16px;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Typography utilities */
.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-deep);
  line-height: 1.5;
}

.eyebrow--ice {
  color: var(--color-ice);
}

.h1-hero {
  margin: 0;
  font-size: clamp(44px, 5.55vw, 80px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--color-navy);
}

.h1-page {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--color-navy);
}

.h2 {
  margin: 0;
  font-size: clamp(32px, 3.33vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--color-navy);
}

.h2--lg {
  font-size: clamp(32px, 3.88vw, 56px);
}

.h2--white {
  color: var(--color-white);
}

.h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-navy);
}

.lead {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-n700);
}

.lead--light {
  color: var(--color-n300);
}

.muted {
  color: var(--color-n500);
}

.divider {
  height: 1px;
  width: 100%;
  background: var(--color-n100);
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--color-deep);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-deep-hover);
}

.btn--secondary {
  background: var(--color-white);
  border-color: var(--color-n300);
  color: var(--color-navy);
}

.btn--secondary:hover {
  background: var(--color-n50);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-deep);
  line-height: 1.5;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link--ice {
  color: var(--color-ice);
}

/* Status pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-n700);
  background: var(--color-n100);
}

.status-pill--available {
  background: var(--color-success-bg);
  color: #14532d;
}

.status-pill--pilot {
  background: var(--color-warning-bg);
  color: #78350f;
}

/* Top Announcement Bar */
.top-announcement {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 61;
  overflow: hidden;
  max-height: 80px;
  opacity: 1;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.top-announcement.is-dismissed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.top-announcement-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 10px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.announcement-pill {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.top-announcement a {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  white-space: nowrap;
}

.top-announcement a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.top-announcement-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-n100);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  min-height: 81px;
  padding-block: 16px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 140px;
  height: 37.3px;
}

.nav-logo img {
  width: 140px;
  height: 37.3px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-n700);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  background: var(--color-n50);
  color: var(--color-deep);
}

.nav-trigger img {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.nav-trigger[aria-expanded="true"] img {
  transform: rotate(180deg);
}

.nav-sep {
  width: 1px;
  height: 18px;
  background: var(--color-n300);
  margin-inline: 4px;
  flex-shrink: 0;
}

.nav-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-n700);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-guide-link:hover {
  background: var(--color-n50);
  color: var(--color-deep);
}

.nav-guide-link svg {
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-signin {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-deep);
  white-space: nowrap;
}

.nav-signin:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switcher {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-n700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.lang-trigger:hover {
  color: var(--color-navy);
  background: var(--color-n50);
}

.lang-flag {
  display: block;
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2.5px;
}

.lang-trigger img {
  width: 11px;
  height: 11px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.lang-trigger[aria-expanded="true"] img {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 158px;
  padding: 6px;
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 14px 32px rgba(5, 14, 36, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 80;
}

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

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.lang-option:hover {
  background: var(--color-n50);
}

.lang-option.is-active {
  background: #edf4ff;
  color: var(--color-deep);
  font-weight: 600;
}

.lang-option__code {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-n500);
  width: 22px;
}

.lang-option.is-active .lang-option__code {
  color: var(--color-deep);
}

.footer-langs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-lang-link {
  color: var(--color-n500);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.footer-lang-link:hover,
.footer-lang-link.is-active {
  color: var(--color-navy);
}

.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-navy);
  cursor: pointer;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
  height: 22px;
}

.hamburger-lines span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-navy);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-mobile-toggle[aria-expanded="true"] .hamburger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle[aria-expanded="true"] .hamburger-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-mobile-toggle[aria-expanded="true"] .hamburger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mega Dropdown */
.nav-dropdown-backdrop {
  position: fixed;
  inset: 81px 0 0 0;
  background: rgba(5, 14, 36, 0.18);
  backdrop-filter: blur(2px);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-wrap {
  position: fixed;
  left: 0;
  right: 0;
  top: 86px;
  z-index: 58;
  padding: 6px var(--gutter) 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.988);
  transform-origin: top center;
  transition:
    opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.22s ease;
}

.nav-dropdown-wrap.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown {
  max-width: var(--container-max);
  margin-inline: auto;
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-menu);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: none;
}

.nav-dropdown-wrap.is-open .nav-dropdown {
  pointer-events: auto;
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-panel[hidden] {
  display: none;
}

.nav-dropdown.is-swapping {
  animation: menuSwapIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes menuSwapIn {
  0% {
    opacity: 0.45;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-products-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.menu-overview-card {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-overview-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
}

.menu-overview-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-n300);
}

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

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

.menu-dest-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.menu-dest-card:hover,
.menu-dest-card.is-active {
  background: var(--color-n50);
}

.menu-dest-card strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.menu-dest-card span {
  display: block;
  font-size: 13px;
  color: var(--color-n500);
}

.menu-dest-arrow {
  font-size: 18px;
  color: var(--color-n500);
  flex-shrink: 0;
}

.menu-dest-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.menu-dest-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.menu-footer-strip {
  background: var(--color-n50);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

/* Contact / Request Demo Form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-n300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--color-navy);
  background: var(--color-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--color-deep);
  box-shadow: 0 0 0 3px rgba(6, 73, 213, 0.14);
}

.contact-alert-ok {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--color-success-bg);
  color: #166534;
  font-size: 14px;
  font-weight: 600;
}

.contact-alert-err {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
}

/* Cookie Consent Banner */
.privacy-banner[hidden] {
  display: none;
}

.privacy-banner {
  position: fixed;
  z-index: 10000;
  left: 16px;
  bottom: 16px;
  max-width: 520px;
  background: var(--color-white);
  color: var(--color-navy);
  border: 1px solid var(--color-n100);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(5, 14, 36, 0.2);
  font-size: 14px;
  line-height: 1.5;
}

.privacy-banner > strong {
  font-size: 15px;
  color: var(--color-navy);
}

.privacy-banner p {
  margin: 8px 0;
  color: var(--color-n700);
}

.privacy-banner a {
  color: var(--color-deep);
  text-decoration: underline;
}

.privacy-options {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.privacy-options label {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-n100);
  border-radius: 8px;
  padding: 10px 12px;
}

.privacy-options small {
  display: block;
  color: var(--color-n500);
}

.privacy-options input[role="switch"] {
  appearance: none;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 20px;
  background: #94a3b8;
  position: relative;
  cursor: pointer;
}

.privacy-options input[role="switch"]::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.privacy-options input[role="switch"]:checked {
  background: var(--color-deep);
}

.privacy-options input[role="switch"]:checked::after {
  transform: translateX(18px);
}

.privacy-options input[role="switch"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

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

.privacy-banner__actions button {
  min-width: 0;
  min-height: 44px;
  padding: 9px 6px;
  border: 1px solid var(--color-n300);
  border-radius: 8px;
  color: var(--color-navy);
  background: var(--color-white);
  font: inherit;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
}

.privacy-banner__actions button[data-consent-accept] {
  background: var(--color-deep);
  border-color: var(--color-deep);
  color: var(--color-white);
}

.privacy-banner button:focus-visible {
  outline: 2px solid var(--color-deep);
  outline-offset: 2px;
}

.footer-consent-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.footer-consent-btn:hover {
  color: var(--color-deep);
  text-decoration: underline;
}

/* Stripe-style Scroll Reveal & Card Polish */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.card,
.workspace-panel {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: livePulse 2s ease-in-out infinite;
  margin-right: 6px;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

.workspace-svg-frame {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.workspace-svg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--color-n50);
  border-bottom: 1px solid var(--color-n100);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-n700);
}

.workspace-svg-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .live-dot {
    animation: none;
  }
}

@media (max-width: 560px) {
  .privacy-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

.menu-intro-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 4px 8px;
}

.menu-intro-row h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
}

.menu-intro-row p {
  margin: 0;
  font-size: 15px;
  color: var(--color-n500);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 77px 0 0 0;
  z-index: 59;
  background: var(--color-white);
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--color-n100);
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
}

.mobile-acc-link {
  text-decoration: none;
}

.mobile-acc-chevron {
  display: inline-block;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-acc-btn[aria-expanded="true"] .mobile-acc-chevron {
  transform: rotate(180deg);
}

.mobile-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.mobile-acc-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.mobile-acc-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-acc-panel.is-open .mobile-acc-inner {
  padding: 8px 0 12px;
}

/* Sticky Page Subnav */
.page-subnav {
  position: sticky;
  top: var(--subnav-top, 82px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-n100);
  border-bottom: 1px solid var(--color-n100);
  transition: box-shadow 0.2s ease;
}

.page-subnav.is-stuck {
  box-shadow: 0 8px 24px rgba(10, 22, 48, 0.06);
}

.page-subnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
}

.page-subnav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 6px;
}

.page-subnav__links::-webkit-scrollbar {
  display: none;
}

.page-subnav__link {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-n700);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.page-subnav__link:hover {
  background: var(--color-n50);
  color: var(--color-navy);
}

.page-subnav__link.is-active {
  background: #edf4ff;
  color: var(--color-deep);
  font-weight: 600;
}

.page-subnav__cta {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 13px;
  white-space: nowrap;
}

section[id] {
  scroll-margin-top: 148px;
}

/* Role Feature Overview */
.feature-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-overview-card {
  padding: 22px;
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-overview-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
}

.feature-overview-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--color-n700);
}

.feature-overview-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-overview-list li::before {
  content: "✓";
  color: var(--color-deep);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .feature-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-subnav__cta {
    display: none;
  }
  .feature-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 80px 56px;
  background: #edf5ff;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-copy {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-sub {
  max-width: 510px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.hero-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
}

.hero-console-frame {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-console-frame img {
  width: 100%;
  height: auto;
}

.delivery-inspector-card {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--color-n700);
}

.kv-row strong.ok {
  color: var(--color-success);
}

.kv-row strong.warn {
  color: var(--color-warning);
}

.kv-row strong.muted {
  color: var(--color-n500);
}

.demo-footnote {
  margin: 0;
  font-size: 11px;
  color: var(--color-n700);
}

/* Standard Sections */
.section {
  padding-block: 104px;
  background: var(--color-white);
}

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

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

.section-head-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

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

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

.card {
  background: var(--color-n50);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card--white {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
}

/* Creative Studio & Measurement Showcase */
.feed-showcase {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  padding: 40px;
  display: grid;
  grid-template-columns: 320px 32px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.feed-showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.feed-showcase > *:not(.feed-showcase-bg) {
  position: relative;
  z-index: 1;
}

.feed-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feed-field-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-n500);
  text-transform: uppercase;
}

.feed-field-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

.creative-previews-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.ad-sample-300 {
  width: 300px;
  height: 250px;
  background: var(--color-n50);
  padding: 16px;
  display: flex;
  gap: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ad-sample-copy {
  width: 134px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-sample-img {
  width: 122px;
  height: 218px;
  object-fit: cover;
  border-radius: 6px;
}

.linked-sizes-card {
  width: 168px;
  background: var(--color-white);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.measurement-split {
  display: grid;
  grid-template-columns: 448px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.ab-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 12px;
}

.ab-table th,
.ab-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-n100);
}

.ab-table th {
  font-size: 11px;
  color: var(--color-n500);
  font-weight: 600;
}

.ab-bars {
  display: flex;
  gap: 8px;
}

.ab-bar-a {
  width: 36%;
  background: var(--color-n300);
  color: var(--color-navy);
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
}

.ab-bar-b {
  width: 48%;
  background: var(--color-deep);
  color: var(--color-white);
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
}

.heatmap-preview-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Marketplace dark banner & Closing CTA */
.dark-photo-section {
  position: relative;
  overflow: hidden;
  padding-block: 96px;
  color: var(--color-white);
}

.dark-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.dark-photo-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 36, 0.86);
}

.dark-photo-scrim--light {
  background: rgba(5, 14, 36, 0.25);
}

.dark-photo-section .container {
  position: relative;
  z-index: 1;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 64px;
  align-items: start;
}

/* Inner Page Hero & Components */
.page-hero {
  padding-block: 72px 56px;
  background: var(--color-n50);
  border-bottom: 1px solid var(--color-n100);
}

.page-hero-inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
}

.faq-panel {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--color-n700);
}

.faq-panel[hidden] {
  display: none;
}

/* Inner Page Extended Components */
.status-pill--customer {
  background: var(--color-ice);
  color: var(--color-deep);
}

.status-pill--planned {
  background: var(--color-n100);
  color: var(--color-n700);
}

.status-pill--warn {
  background: #fef3c7;
  color: #92400e;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  padding-block: 80px 72px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-n100);
}

.inner-hero--photo {
  background: var(--color-white);
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  pointer-events: none;
}

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

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

.inner-hero-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.workspace-panel {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.workspace-panel--soft {
  background: var(--color-n50);
  box-shadow: none;
}

.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.workspace-toolbar strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
}

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

.metric-box {
  background: var(--color-n50);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-box--white {
  background: var(--color-white);
}

.metric-box span {
  font-size: 12px;
  color: var(--color-n500);
  font-weight: 600;
}

.metric-box strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
}

.metric-box small {
  font-size: 12px;
  color: var(--color-n500);
}

.line-item-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 14px;
  border-bottom: 1px solid var(--color-n100);
}

.line-item-row:last-child {
  border-bottom: 0;
}

.line-item-row strong {
  font-size: 15px;
  color: var(--color-navy);
}

.line-item-row span {
  font-size: 13px;
  color: var(--color-n500);
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-deep);
  letter-spacing: 0.04em;
}

.avail-list {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.avail-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid var(--color-n100);
  align-items: start;
}

.avail-row:last-child {
  border-bottom: 1px solid var(--color-n100);
}

.avail-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy);
}

.avail-row p {
  margin: 0;
  font-size: 15px;
  color: var(--color-n700);
}

.ad-sample-728 {
  background: var(--color-n50);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ad-sample-728 img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.publisher-cover-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.palette-swatches {
  display: flex;
  gap: 10px;
  align-items: center;
}

.swatch {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--color-n100);
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  height: 150px;
  padding-top: 16px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar-val {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-n700);
}

.bar-fill {
  width: 100%;
  max-width: 32px;
  background: var(--color-deep);
  border-radius: 6px 6px 2px 2px;
}

.bar-lbl {
  font-size: 11px;
  color: var(--color-n500);
}

.click-map-stage {
  position: relative;
  display: inline-block;
  width: 300px;
  max-width: 100%;
}

.click-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.closing-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.checklist-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.checklist-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ice);
}

/* Homepage 3-Dashboard Animated Stage */
.hero-dashboard-stage {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--color-n50);
  border-bottom: 1px solid var(--color-n100);
  flex-wrap: wrap;
}

.hero-stage-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-stage-tab {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-n700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-stage-tab:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.hero-stage-tab.is-active {
  background: var(--color-white);
  color: var(--color-deep);
  border-color: var(--color-n100);
  box-shadow: 0 2px 8px rgba(5, 14, 36, 0.06);
}

.hero-stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-n300);
  transition: background-color 0.2s ease;
}

.hero-stage-tab.is-active .hero-stage-dot {
  background: var(--color-deep);
}

.hero-stage-caption {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-n500);
}

.hero-stage-progress {
  height: 3px;
  background: var(--color-n100);
  width: 100%;
  overflow: hidden;
}

.hero-stage-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-deep);
  transition: width 0.2s linear;
}

.hero-stage-viewport {
  display: grid;
  width: 100%;
  background: var(--color-white);
  overflow: hidden;
}

.hero-stage-slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-stage-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-stage-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Creative Studio Interactive Banner Animator */
.studio-animator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

.banner-stage-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--color-white);
}

.banner-canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

.banner-canvas-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 14, 36, 0.88) 0%, rgba(5, 14, 36, 0.56) 55%, rgba(5, 14, 36, 0.15) 100%);
}

.banner-canvas-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.22) 48%, transparent 72%);
  transform: translateX(-120%);
  pointer-events: none;
}

.banner-canvas-content {
  position: relative;
  z-index: 2;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.banner-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ice);
}

.banner-headline {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.banner-subcopy {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}

.banner-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--color-deep);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Keyframe Animation Modes */
.banner-canvas.is-playing[data-kf-bg="1"] .banner-canvas-bg {
  animation: kfZoomBg var(--anim-dur, 3.5s) ease-out forwards;
}

.banner-canvas.is-playing[data-kf-sheen="1"] .banner-canvas-sheen {
  animation: kfSheen var(--anim-dur, 3.5s) ease-in-out forwards;
}

.banner-canvas.is-playing[data-preset-motion="slide"] .banner-eyebrow {
  animation: kfSlideDown 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner-canvas.is-playing[data-preset-motion="slide"][data-kf-text="1"] .banner-headline {
  animation: kfSlideUp 0.65s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner-canvas.is-playing[data-preset-motion="slide"][data-kf-text="1"] .banner-subcopy {
  animation: kfSlideUp 0.65s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner-canvas.is-playing[data-preset-motion="slide"] .banner-cta {
  animation: kfPopIn 0.55s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner-canvas.is-playing[data-preset-motion="zoom"][data-kf-text="1"] .banner-headline,
.banner-canvas.is-playing[data-preset-motion="zoom"][data-kf-text="1"] .banner-subcopy {
  animation: kfFadeScale 0.8s 0.15s ease-out both;
}

.banner-canvas.is-playing[data-preset-motion="pulse"][data-kf-cta="1"] .banner-cta,
.banner-canvas.is-playing[data-kf-cta="1"] .banner-cta {
  animation: kfPopIn 0.5s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both, kfCtaPulse 1.4s 1s ease-in-out infinite;
}

@keyframes kfZoomBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes kfSlideUp {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes kfSlideDown {
  0% { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes kfPopIn {
  0% { opacity: 0; transform: scale(0.86); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes kfFadeScale {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes kfCtaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(6, 73, 213, 0.5); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(6, 73, 213, 0); }
}

@keyframes kfSheen {
  0% { transform: translateX(-120%); }
  45%, 100% { transform: translateX(140%); }
}

.banner-kf-timeline {
  background: var(--color-n50);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kf-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-n700);
}

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

.kf-node {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kf-node.is-on {
  border-color: var(--color-deep);
  background: var(--color-ice);
}

.kf-node span {
  font-size: 11px;
  color: var(--color-n500);
}

.kf-node strong {
  color: var(--color-navy);
  font-size: 12px;
}

.animator-controls {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.animator-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.animator-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-n700);
}

.animator-field input,
.animator-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-n300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--color-navy);
  background: var(--color-white);
}

.animator-field input:focus,
.animator-field select:focus {
  outline: 2px solid var(--color-deep);
  outline-offset: 1px;
}

.preset-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-pill {
  border: 1px solid var(--color-n300);
  background: var(--color-white);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-n700);
}

.preset-pill.is-active {
  background: var(--color-deep);
  border-color: var(--color-deep);
  color: var(--color-white);
}

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

.kf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-n50);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* Hand-drawn editorial comments */
.hand-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Caveat', 'Segoe Print', cursive;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-deep);
  transform: rotate(-1.8deg);
  user-select: none;
}

.hand-note--light {
  color: var(--color-ice);
}

.hand-note--tilt-right {
  transform: rotate(1.6deg);
}

.hand-note svg {
  flex-shrink: 0;
  width: 34px;
  height: 24px;
}

.hand-note-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: -8px;
  padding-left: 12px;
}

/* Footer */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-n100);
  padding-block: 64px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 320px repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.footer-col h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

.footer-col a {
  color: var(--color-n700);
}

.footer-col a:hover {
  color: var(--color-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  font-size: 12px;
  color: var(--color-n500);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  color: var(--color-n700);
}

@media (max-width: 1120px) {
  .hero-scene,
  .measurement-split,
  .marketplace-grid,
  .feed-showcase {
    grid-template-columns: 1fr;
  }
  .menu-products-top {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }
  .lang-trigger {
    font-size: 13px;
    gap: 6px;
    border: 0;
  }
  .nav-mobile-toggle {
    display: inline-flex;
  }
  .nav-logo,
  .nav-logo img {
    width: 120px;
    height: 32px;
  }
  .section {
    padding-block: 64px;
  }
  .section-head-split,
  .grid-2,
  .grid-3,
  .inner-hero-grid,
  .studio-animator-grid,
  .contact-grid,
  .contact-row-2,
  .metric-row-3,
  .avail-row,
  .closing-cta-grid,
  .checklist-row,
  .kf-tracks,
  .menu-grid-2,
  .menu-grid-3,
  .menu-footer-strip,
  .menu-intro-row,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .heatmap-preview-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------------------------------------------------------------
   Finishing pass (Nov 2026): shared partials, a11y, small screens
   --------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--color-deep);
  outline-offset: 2px;
}

.footer-inner { display: flex; flex-direction: column; gap: 48px; }
.footer-top { grid-template-columns: 300px repeat(4, minmax(0, 1fr)); }
.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-brand p { margin: 0; font-size: 16px; color: var(--color-n700); }
.footer-email { font-size: 14px; font-weight: 600; color: var(--color-deep); }
.footer-col a[aria-current="page"] { color: var(--color-navy); font-weight: 600; }

/* Grid children may not force their track wider than the viewport. */
.grid-2 > *, .grid-3 > *, .inner-hero-grid > *, .measurement-split > *,
.marketplace-grid > *, .feed-showcase > *, .section-head-split > *,
.closing-cta-grid > *, .studio-animator-grid > *, .avail-row > * { min-width: 0; }

@media (max-width: 1120px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .workspace-panel { padding: 20px; }
  .metric-row-3 { grid-template-columns: 1fr; }
  .ab-table th, .ab-table td { padding: 8px 8px; }
  .footer-legal { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Legal pages (privacy.html, terms.html) */
.legal-hero-stack { max-width: 760px; }
.legal-updated { margin: 0; font-size: 13px; color: var(--color-n500); }
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 64px;
  align-items: start;
}
.legal-toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal-toc a { font-size: 14px; color: var(--color-n700); }
.legal-toc a:hover { color: var(--color-deep); }
.legal-prose { display: flex; flex-direction: column; gap: 40px; }
.legal-section { scroll-margin-top: 104px; display: flex; flex-direction: column; gap: 12px; }
.legal-section h2 { margin: 0; }
.legal-section p, .legal-section li { margin: 0; font-size: 16px; line-height: 1.7; color: var(--color-n700); }
.legal-section ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-section a { color: var(--color-deep); font-weight: 600; }
.legal-section strong { color: var(--color-navy); font-weight: 600; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--color-deep); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}

/* ---------------------------------------------------------------
   Navy sections (Nov 2026 refinement): split intro, product panels
   on navy, ruled fact columns. Existing tokens; the only new values
   are AA-safe text shades of the existing success/warning hues.
   --------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section--navy {
  --navy-rule: rgba(255, 255, 255, 0.14);
  --ok-text: #15803d;   /* success hue, 5:1 on white */
  --warn-text: #b45309; /* warning hue, 5:1 on white */
  background: linear-gradient(180deg, var(--color-navy) 0%, #071739 100%);
}

.section--navy-photo {
  position: relative;
  overflow: hidden;
}

.section--navy-photo .navy-stack {
  position: relative;
  z-index: 2;
}

.section--navy-photo .ui-panel {
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.navy-col__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navy-col__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.navy-highlight {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.navy-highlight strong {
  display: block;
  color: var(--color-white);
  font-size: 14px;
  margin-bottom: 4px;
}

.navy-highlight span {
  display: block;
  color: rgba(226, 232, 240, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

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

.section--navy :focus-visible {
  outline-color: var(--color-ice);
  outline-offset: 3px;
}

.section--navy ::selection {
  background: var(--color-ice);
  color: var(--color-navy);
}

.navy-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
}

.navy-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-40) var(--space-32);
  align-items: end;
}

.navy-intro__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-20);
}

.navy-intro__lead {
  max-width: 40ch;
  text-wrap: pretty;
}

.section--navy .h2 {
  text-wrap: balance;
}

/* Index: two product panels with captions above */
.navy-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: var(--space-32);
  row-gap: var(--space-24);
}

.navy-col {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: var(--space-24);
  min-width: 0;
}

.navy-col__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-8);
  padding-top: var(--space-20);
  border-top: 1px solid var(--navy-rule);
}

.navy-col__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.navy-col__text {
  margin: 0;
  font-size: 15px;
  color: var(--color-n300);
}

.navy-col__head .text-link {
  margin-top: var(--space-4);
}

.ui-panel {
  align-self: start;
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.18),
    0 28px 56px -20px rgba(0, 0, 0, 0.65);
  font-variant-numeric: tabular-nums;
}

.ui-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: 14px var(--space-24);
  background: var(--color-n50);
  border-bottom: 1px solid var(--color-n100);
  font-size: 13px;
  color: var(--color-n700);
}

.ui-panel__id {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  color: var(--color-navy);
}

.ui-panel__domain {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

.ui-panel__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-n700);
}

.ui-panel__subject {
  padding: var(--space-20) var(--space-24) var(--space-8);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ui-panel__sep {
  color: var(--color-n300);
  margin-inline: 2px;
}

.ui-rows {
  margin: 0;
  padding: 0 var(--space-24) var(--space-8);
  list-style: none;
}

.ui-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
  padding-block: var(--space-16);
}

.ui-row + .ui-row {
  border-top: 1px solid var(--color-n100);
}

.ui-row__name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
}

.ui-row__note {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--color-n700);
}

.ui-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--color-n500);
}

.ui-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ui-status--ok { color: var(--ok-text); }
.ui-status--ok::before { background: var(--color-success); }
.ui-status--warn { color: var(--warn-text); }
.ui-status--warn::before { background: var(--color-warning); }
.ui-status--muted::before { background: var(--color-n300); }

.ui-table {
  width: calc(100% - var(--space-48));
  margin: var(--space-8) var(--space-24);
  border-collapse: collapse;
}

.ui-table thead th {
  padding: var(--space-12) 0 var(--space-8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--color-n500);
  border-bottom: 1px solid var(--color-n100);
}

.ui-table thead th:last-child {
  text-align: right;
}

.ui-table tbody th {
  padding: var(--space-16) 0;
  vertical-align: top;
  font-weight: 400;
  text-align: left;
}

.ui-table td {
  padding: var(--space-16) 0 var(--space-16) var(--space-16);
  vertical-align: top;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.ui-table tbody tr + tr > * {
  border-top: 1px solid var(--color-n100);
}

.ui-table .ui-status {
  margin-top: 2px;
}

.navy-footnote {
  margin: calc(var(--space-24) - var(--space-64)) 0 0;
  font-size: 13px;
  color: var(--color-n300);
}

/* Availability: ruled fact columns instead of three boxed cards */
.navy-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-32);
}

.navy-facts li {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--space-20);
  border-top: 1px solid var(--navy-rule);
  min-width: 0;
}

.navy-facts__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.navy-facts p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-n300);
}

@media (max-width: 900px) {
  .navy-stack { gap: var(--space-48); }
  .navy-intro { grid-template-columns: 1fr; gap: var(--space-20); }
  .navy-showcase { grid-template-columns: 1fr; grid-template-rows: none; row-gap: var(--space-48); }
  .navy-col { grid-row: auto; grid-template-rows: none; }
  .navy-facts { grid-template-columns: 1fr; gap: var(--space-24); }
  .navy-footnote { margin-top: calc(var(--space-24) - var(--space-48)); }
}

@media (max-width: 420px) {
  .ui-panel__bar,
  .ui-panel__subject,
  .ui-rows { padding-inline: var(--space-16); }
  .ui-table { width: calc(100% - var(--space-32)); margin-inline: var(--space-16); }
  .ui-row__name,
  .ui-table td { font-size: 14px; }
}

/* Real banner images (replace the hand-built 300x250 sample) */
.ad-banner-300 {
  margin: 0;
  width: 300px;
  max-width: 100%;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.ad-banner-300 img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(5, 14, 36, 0.06), var(--shadow-card);
}

.ad-banner-300 figcaption {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-n700);
}

.heatmap-preview-media {
  display: block;
  flex: 0 1 auto;
  width: 300px;
  max-width: 100%;
  min-width: 0;
}

.heatmap-preview-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(5, 14, 36, 0.06);
}

/* HTML-built sample creatives that match the real 300x250 soccer-shoe banner.
   Everything is sized in --u (one design pixel), so a creative scales like an
   image: no reflow, no overflow on narrow screens. */
.ad-frame {
  margin: 0;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.ad-frame--728 { max-width: 728px; }
.ad-frame--300 { width: 300px; max-width: 100%; }

.ad-frame figcaption {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-n700);
}

.ad-built {
  --u: calc(100cqw / 728);
  position: relative;
  overflow: hidden;
  aspect-ratio: 728 / 90;
  border-radius: calc(var(--u) * 6);
  background: linear-gradient(100deg, #4a1fa6 0%, #2a1764 42%, #071739 100%);
  color: var(--color-white);
  font-family: 'Manrope', sans-serif;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 20);
  padding-right: calc(var(--u) * 24);
  box-shadow: 0 0 0 1px rgba(5, 14, 36, 0.06), var(--shadow-card);
}

.ad-built__photo {
  align-self: stretch;
  width: calc(var(--u) * 170);
  flex: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
          mask-image: linear-gradient(90deg, #000 55%, transparent);
}

.ad-built__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 4);
}

.ad-built__line {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 10);
}

.ad-built__badge {
  padding: calc(var(--u) * 3) calc(var(--u) * 10);
  border-radius: calc(var(--u) * 20);
  background: #000;
  font-size: calc(var(--u) * 11);
  font-weight: 700;
  line-height: 1.3;
}

.ad-built__title {
  font-size: calc(var(--u) * 28);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ad-built__sub {
  font-size: calc(var(--u) * 13);
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.86);
}

.ad-built__offer {
  flex: none;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 14);
}

.ad-built__cta {
  padding: calc(var(--u) * 8) calc(var(--u) * 16);
  border-radius: calc(var(--u) * 24);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: calc(var(--u) * 14);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.ad-built__price {
  font-size: calc(var(--u) * 24);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* 300 x 250 variant: copy stacked on the left, product photo on the right */
.ad-built--300 {
  --u: calc(100cqw / 300);
  aspect-ratio: 300 / 250;
  display: block;
  padding: 0;
  background: linear-gradient(140deg, #4a1fa6 0%, #2a1764 45%, #071739 100%);
}

.ad-built--300 .ad-built__photo {
  position: absolute;
  right: 0;
  top: calc(var(--u) * 30);
  width: calc(var(--u) * 200);
  height: calc(var(--u) * 170);
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 40%),
    linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(90deg, transparent, #000 40%),
    linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
          mask-composite: intersect;
}

.ad-built--300 .ad-built__copy {
  position: absolute;
  left: calc(var(--u) * 20);
  top: calc(var(--u) * 20);
  width: calc(var(--u) * 170);
  gap: calc(var(--u) * 6);
  align-items: flex-start;
}

.ad-built--300 .ad-built__title { font-size: calc(var(--u) * 30); }

.ad-built--300 .ad-built__offer {
  position: absolute;
  left: calc(var(--u) * 20);
  bottom: calc(var(--u) * 26);
}

/* Feed card + creatives, no arrow column (Creative Studio workspace) */
.feed-showcase--two { grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
@media (max-width: 1120px) { .feed-showcase--two { grid-template-columns: 1fr; } }


/* ---------------------------------------------------------------
   Stripe-Inspired Enterprise Visual & Motion Upgrade (Homepage)
   --------------------------------------------------------------- */
.tabular-nums,
[data-countup] {
  font-variant-numeric: tabular-nums;
}

.hero--mesh {
  background:
    radial-gradient(62% 58% at 14% 12%, rgba(99, 91, 255, 0.16) 0%, transparent 64%),
    radial-gradient(52% 50% at 86% 18%, rgba(6, 182, 212, 0.18) 0%, transparent 62%),
    radial-gradient(48% 45% at 52% 88%, rgba(37, 99, 235, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

.hero--mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(5, 14, 36, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
}

.hero-kpi-pill {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(5, 14, 36, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-kpi-pill__val {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-navy);
  line-height: 1.15;
}

.hero-kpi-pill__lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-n500);
}

.section--mesh-light {
  position: relative;
  background:
    radial-gradient(50% 42% at 8% 15%, rgba(99, 91, 255, 0.07) 0%, transparent 65%),
    radial-gradient(45% 42% at 92% 75%, rgba(6, 182, 212, 0.08) 0%, transparent 65%),
    var(--color-white);
}

.section--navy-mesh {
  background:
    radial-gradient(55% 48% at 15% 10%, rgba(99, 91, 255, 0.24) 0%, transparent 62%),
    radial-gradient(48% 46% at 88% 22%, rgba(6, 182, 212, 0.18) 0%, transparent 60%),
    radial-gradient(60% 50% at 50% 100%, rgba(37, 99, 235, 0.20) 0%, transparent 65%),
    var(--color-navy);
}

.card--mesh-cobalt {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 65%),
    radial-gradient(60% 60% at 0% 100%, rgba(6, 182, 212, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: var(--shadow-bento);
}

.card--mesh-violet {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(99, 91, 255, 0.13) 0%, transparent 65%),
    radial-gradient(60% 60% at 0% 100%, rgba(251, 113, 133, 0.09) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
  border: 1px solid rgba(99, 91, 255, 0.15);
  box-shadow: var(--shadow-bento);
}

.ui-panel__tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: var(--color-n100);
  border-radius: 999px;
}

.ui-panel__tab {
  border: 0;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-n700);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.ui-panel__tab.is-active {
  background: var(--color-white);
  color: var(--color-deep);
  box-shadow: 0 1px 3px rgba(5, 14, 36, 0.1);
}

.ui-row {
  transition: background-color 0.2s ease, opacity 0.25s ease;
}

.ui-row.is-winner {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.06) 0%, transparent 100%);
  margin-inline: calc(var(--space-24) * -1);
  padding-inline: var(--space-24);
}

.meter-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--color-n100);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mesh-cobalt) 0%, var(--mesh-violet) 60%, var(--mesh-cyan) 100%);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.meter-fill--amber {
  background: linear-gradient(90deg, var(--mesh-amber) 0%, var(--mesh-coral) 100%);
}

[data-animate-meters].is-animated .meter-fill {
  width: var(--meter-target, 75%);
}

.ab-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-bar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}

.ab-bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--color-n100);
  overflow: hidden;
}

.ab-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-bar-fill--a {
  background: var(--color-n300);
}

.ab-bar-fill--b {
  background: linear-gradient(90deg, var(--mesh-cobalt) 0%, var(--mesh-violet) 100%);
}

[data-animate-meters].is-animated .ab-bar-fill {
  width: var(--bar-target, 50%);
}

.ab-table tbody tr {
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.ab-table tbody tr.is-highlighted {
  background: rgba(99, 91, 255, 0.06);
}

.mini-bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  height: 92px;
  padding-top: 8px;
}

.mini-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  height: 100%;
}

.mini-bar-rect {
  width: 100%;
  max-width: 24px;
  height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--mesh-cyan) 0%, var(--mesh-cobalt) 100%);
  transition: height 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate-meters].is-animated .mini-bar-rect {
  height: var(--bar-h, 50%);
}

.mini-bar-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-n500);
}

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

.bento-card {
  position: relative;
  grid-column: span 6;
  border-radius: var(--radius-2xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(5, 14, 36, 0.08);
  box-shadow: var(--shadow-bento);
  overflow: hidden;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, border-color 0.26s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-bento-hover);
  border-color: rgba(37, 99, 235, 0.22);
}

.bento-card--wide {
  grid-column: span 7;
}

.bento-card--narrow {
  grid-column: span 5;
}

.bento-card--cobalt {
  background:
    radial-gradient(85% 75% at 100% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 62%),
    radial-gradient(60% 60% at 0% 100%, rgba(6, 182, 212, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.bento-card--violet {
  background:
    radial-gradient(85% 75% at 100% 0%, rgba(99, 91, 255, 0.13) 0%, transparent 62%),
    radial-gradient(60% 60% at 0% 100%, rgba(251, 113, 133, 0.09) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f6ff 100%);
}

.bento-card--coral {
  background:
    radial-gradient(85% 75% at 100% 0%, rgba(245, 158, 11, 0.13) 0%, transparent 62%),
    radial-gradient(60% 60% at 0% 100%, rgba(251, 113, 133, 0.11) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

.bento-card--cyan {
  background:
    radial-gradient(85% 75% at 100% 0%, rgba(6, 182, 212, 0.14) 0%, transparent 62%),
    radial-gradient(60% 60% at 0% 100%, rgba(37, 99, 235, 0.09) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.bento-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bento-expand-btn {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(5, 14, 36, 0.10);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-n700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.bento-expand-btn:hover {
  background: var(--color-deep);
  border-color: var(--color-deep);
  color: var(--color-white);
  transform: scale(1.06);
}

.bento-preview {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(5, 14, 36, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-preview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--color-n700);
}

.bento-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--color-n700);
}

.bento-bullets li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  min-width: 0;
}

.bento-bullets li code {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  font-size: 13px;
}

.bento-bullets li::before {
  content: "→";
  color: var(--color-deep);
  font-weight: 700;
  flex-shrink: 0;
}

.bento-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-height: 92vh;
  margin: auto auto 0 auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 -12px 60px rgba(5, 14, 36, 0.28);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.18) transparent;
}
.bento-dialog::-webkit-scrollbar { width: 6px; }
.bento-dialog::-webkit-scrollbar-track { background: transparent; margin: 12px 0; }
.bento-dialog::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.18); border-radius: 999px; }
.bento-dialog::-webkit-scrollbar-thumb:hover { background: rgba(15, 23, 42, 0.34); }

html:has(.bento-dialog[open]),
body:has(.bento-dialog[open]) {
  overflow: hidden;
}

.bento-dialog::backdrop {
  background:
    radial-gradient(60% 70% at 15% 85%, rgba(99, 91, 255, 0.42) 0%, transparent 65%),
    radial-gradient(55% 65% at 85% 85%, rgba(251, 113, 133, 0.38) 0%, transparent 65%),
    radial-gradient(50% 50% at 50% 15%, rgba(6, 182, 212, 0.25) 0%, transparent 60%),
    rgba(236, 241, 250, 0.78);
  backdrop-filter: blur(14px);
}

.bento-dialog__inner {
  padding: 40px 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

[data-bento-body] {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bento-dialog__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.bento-dialog__close {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(99, 91, 255, 0.22);
  background: rgba(99, 91, 255, 0.06);
  color: var(--mesh-violet);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.bento-dialog__close:hover {
  background: rgba(99, 91, 255, 0.14);
  transform: scale(1.05);
}

.bento-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

.bento-modal-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--color-n700);
}

.bento-modal-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bento-modal-checks li::before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(251, 113, 133, 0.14);
  color: #e11d48;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.bento-modal-grid {
  display: grid;
  gap: 18px;
}

.bento-modal-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.bento-modal-stage {
  border-radius: 18px;
  padding: 24px;
  background:
    radial-gradient(85% 75% at 20% 85%, rgba(99, 91, 255, 0.24) 0%, transparent 65%),
    radial-gradient(70% 70% at 85% 20%, rgba(6, 182, 212, 0.18) 0%, transparent 60%),
    #f5f7ff;
  border: 1px solid rgba(99, 91, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-modal-phone {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 22px 48px -12px rgba(5, 14, 36, 0.16), 0 0 0 1px rgba(5, 14, 36, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-modal-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-modal-kpi-card {
  border-radius: 18px;
  padding: 28px 24px;
  background:
    radial-gradient(80% 70% at 85% 95%, rgba(251, 113, 133, 0.16) 0%, transparent 65%),
    #f8f9fc;
  border: 1px solid rgba(5, 14, 36, 0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bento-modal-kpi-big {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #f97316 0%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-modal-chart-card {
  border-radius: 18px;
  padding: 20px;
  background:
    radial-gradient(85% 80% at 85% 85%, rgba(249, 115, 22, 0.24) 0%, transparent 65%),
    radial-gradient(60% 60% at 15% 20%, rgba(251, 113, 133, 0.14) 0%, transparent 60%),
    #fff8f5;
  border: 1px solid rgba(249, 115, 22, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-modal-chart-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 24px -10px rgba(5, 14, 36, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-modal-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 8px;
}

.bento-modal-pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-n700);
  line-height: 1.55;
}

.bento-modal-pillar-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(99, 91, 255, 0.08);
  color: var(--mesh-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.bento-modal-discover {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-n100);
}

.bento-modal-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bento-modal-discover-card {
  background: var(--color-n50);
  border: 1px solid var(--color-n100);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--color-n700);
}

@media (max-width: 820px) {
  .bento-modal-head,
  .bento-modal-visuals,
  .bento-modal-pillars,
  .bento-modal-discover-grid {
    grid-template-columns: 1fr;
  }
  .bento-dialog__inner {
    padding: 24px 20px 32px;
  }
}

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

.bento-dialog__metric {
  background: var(--color-n50);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bento-dialog__metric strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
}

.bento-dialog__metric span {
  font-size: 12px;
  color: var(--color-n500);
}

/* High-Craft Interactive Product Preview Workbench */
.analytics-workbench {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(5, 14, 36, 0.09);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 44px -16px rgba(5, 14, 36, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.analytics-workbench__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #f8faff 0%, #f1f5fb 100%);
  border-bottom: 1px solid var(--color-n100);
  flex-wrap: wrap;
}

.analytics-workbench__route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  color: var(--color-n700);
}

.analytics-workbench__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analytics-pane[hidden] {
  display: none;
}

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

.analytics-kpi-tile {
  background: var(--color-n50);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.analytics-kpi-tile span {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-n500);
}

.analytics-kpi-tile strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.analytics-kpi-tile small {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-success);
}

.device-split-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-n100);
  gap: 2px;
}

.device-split-seg--mobile { background: var(--mesh-cobalt); }
.device-split-seg--desktop { background: var(--mesh-violet); }
.device-split-seg--tablet { background: var(--mesh-cyan); }

.heatmap-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: stretch;
}

.heatmap-wireframe {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-n100);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 14px;
  min-height: 156px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: max-width 0.25s ease;
}

.heatmap-wireframe[data-device="tablet"] {
  max-width: 82%;
  margin-inline: auto;
}

.heatmap-wireframe[data-device="mobile"] {
  max-width: 58%;
  margin-inline: auto;
}

.wf-bar {
  height: 10px;
  border-radius: 4px;
  background: var(--color-n100);
}

.wf-bar--nav { width: 100%; height: 14px; background: #e2e8f0; }
.wf-bar--hero { width: 72%; height: 18px; background: #cbd5e1; }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wf-box { height: 48px; border-radius: 6px; background: var(--color-n50); border: 1px solid var(--color-n100); }

.heatmap-hotspot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.heatmap-hotspot--hot {
  background: radial-gradient(circle, rgba(251, 113, 133, 0.85) 0%, rgba(245, 158, 11, 0.45) 45%, transparent 72%);
}

.heatmap-hotspot--warm {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.72) 0%, rgba(6, 182, 212, 0.30) 50%, transparent 74%);
}

.heatmap-scroll-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(22, 163, 74, 0.16) 0%,
    rgba(37, 99, 235, 0.14) 50%,
    rgba(99, 91, 255, 0.18) 80%,
    rgba(100, 116, 139, 0.12) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-navy);
  pointer-events: none;
}

.heatmap-scroll-overlay[hidden] {
  display: none;
}

.heatmap-controls-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.mini-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.mini-data-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-n500);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-n100);
}

.mini-data-table th:not(:first-child),
.mini-data-table td:not(:first-child) {
  text-align: right;
}

.mini-data-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-n100);
  color: var(--color-navy);
}

.mini-data-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 960px) {
  .bento-card,
  .bento-card--wide,
  .bento-card--narrow {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .hero-kpi-strip,
  .bento-dialog__metrics {
    grid-template-columns: 1fr;
  }
  .analytics-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .heatmap-stage {
    grid-template-columns: 1fr;
  }
  .bento-dialog__inner {
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meter-fill,
  .ab-bar-fill,
  .mini-bar-rect,
  .bento-card,
  .bento-expand-btn {
    transition: none !important;
    transform: none !important;
  }
  .meter-fill { width: var(--meter-target, 75%); }
  .ab-bar-fill { width: var(--bar-target, 50%); }
  .mini-bar-rect { height: var(--bar-h, 50%); }
}


/* ---------------------------------------------------------------
   API & AI Agents Page (/api) — Stripe-Docs Aesthetic
   --------------------------------------------------------------- */
.api-terminal-card {
  background: linear-gradient(165deg, #071330 0%, #050e24 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-2xl);
  box-shadow: 0 28px 64px -18px rgba(5, 14, 36, 0.45);
  overflow: hidden;
  color: var(--color-white);
}

.api-terminal-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.api-terminal-dots {
  display: inline-flex;
  gap: 6px;
}

.api-terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.api-terminal-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
}

.api-terminal-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.api-endpoint-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.api-endpoint-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ice);
}

.api-code-inline {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 8px 12px;
  border-radius: 8px;
  overflow-x: auto;
}

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

.api-token-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.api-token-chip code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: var(--color-ice);
}

.api-token-chip span {
  font-size: 11px;
  color: rgba(226, 232, 240, 0.72);
}

.api-abilities-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.api-abilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.api-abilities-list code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(99, 91, 255, 0.22);
  border: 1px solid rgba(130, 223, 255, 0.22);
  color: #f8fafc;
}

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

.api-scenarios {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.api-scenario-btn {
  text-align: left;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.api-scenario-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.api-scenario-btn.is-active {
  background: rgba(37, 99, 235, 0.22);
  border-color: var(--color-ice);
  box-shadow: 0 12px 30px -12px rgba(6, 182, 212, 0.35);
}

.api-scenario-btn__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.api-scenario-btn__top code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: var(--color-ice);
}

.api-scenario-btn strong {
  font-size: 15px;
  font-weight: 600;
}

.api-scenario-btn span {
  font-size: 12.5px;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.45;
}

.api-method {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.api-method--get { background: rgba(6, 182, 212, 0.22); color: #67e8f9; }
.api-method--post { background: rgba(99, 91, 255, 0.28); color: #c4b5fd; }
.api-method--patch { background: rgba(245, 158, 11, 0.24); color: #fcd34d; }

.api-code-panels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.api-code-window {
  background: #030917;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.6);
}

.api-code-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  flex-wrap: wrap;
}

.api-lang-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.api-lang-tab {
  border: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.api-lang-tab.is-active {
  background: rgba(99, 91, 255, 0.28);
  color: var(--color-white);
}

.api-copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.api-copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.api-code-pre {
  margin: 0;
  padding: 16px 18px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #e2e8f0;
  overflow-x: auto;
}

.api-code-pre--json {
  color: #a5f3fc;
}

.api-response-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.api-badge-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-deep);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
}

.api-install-cmd {
  margin: 0;
  padding: 10px 12px;
  background: var(--color-navy);
  color: var(--color-ice);
  border-radius: 8px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  overflow-x: auto;
}

@media (max-width: 960px) {
  .api-docs-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .api-token-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------------------------------------------------------------
   Closing CTA (.dark-photo-section) & Inner Page Mesh Upgrades
   --------------------------------------------------------------- */
.dark-photo-section {
  background: var(--color-navy);
}

.dark-photo-scrim {
  background:
    radial-gradient(60% 55% at 12% 18%, rgba(99, 91, 255, 0.34) 0%, transparent 62%),
    radial-gradient(50% 50% at 88% 22%, rgba(6, 182, 212, 0.26) 0%, transparent 60%),
    radial-gradient(55% 50% at 50% 100%, rgba(37, 99, 235, 0.28) 0%, transparent 65%),
    linear-gradient(180deg, rgba(5, 14, 36, 0.84) 0%, rgba(5, 14, 36, 0.92) 100%);
}

.dark-photo-scrim--light {
  background:
    radial-gradient(60% 55% at 14% 20%, rgba(99, 91, 255, 0.28) 0%, transparent 62%),
    radial-gradient(50% 50% at 86% 24%, rgba(6, 182, 212, 0.24) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5, 14, 36, 0.54) 0%, rgba(5, 14, 36, 0.78) 100%);
}

.closing-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.closing-cta-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-2xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px -16px rgba(2, 6, 23, 0.55);
}

.closing-cta-glass__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: rgba(226, 232, 240, 0.85);
}

.closing-cta-glass__meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.closing-cta-glass__meta span::before {
  content: "✓";
  color: var(--color-ice);
  font-weight: 700;
}

.inner-hero--mesh {
  background:
    radial-gradient(58% 54% at 12% 12%, rgba(99, 91, 255, 0.14) 0%, transparent 64%),
    radial-gradient(48% 48% at 88% 18%, rgba(6, 182, 212, 0.15) 0%, transparent 62%),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.inner-hero--mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(5, 14, 36, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.feature-overview-card {
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(37, 99, 235, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid rgba(5, 14, 36, 0.08);
  box-shadow: var(--shadow-bento);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-bento-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

@media (max-width: 900px) {
  .closing-cta-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-overview-card {
    transition: none !important;
    transform: none !important;
  }
}


/* ---------------------------------------------------------------
   Product & Solution Icon Badges (Hero, Bento & Card Headers)
   --------------------------------------------------------------- */
.hero-icon-badge {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-icon-badge img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.bento-title-row,
.card-title-row,
.eyebrow-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bento-icon-badge {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-icon-badge img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.icon-stack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-stack .bento-icon-badge + .bento-icon-badge {
  margin-left: 0;
  box-shadow: none;
}

/* ─── Site Search Modal (Gaming-style, zero AI) ─── */
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(10, 37, 64, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-deep, #0a2540);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.nav-search-btn:hover {
  background: #ffffff;
  border-color: rgba(10, 37, 64, 0.28);
  transform: translateY(-1px);
}
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(5, 14, 36, 0.56);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 16px 24px;
  overflow-y: auto;
}
.search-modal-backdrop[hidden] {
  display: none;
}
.search-modal {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 28px 70px rgba(5, 14, 36, 0.28);
  color: #0a2540;
}
.search-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.search-modal__title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a2540;
}
.search-modal__subtitle {
  margin: 0;
  font-size: 14px;
  color: #425466;
}
.search-modal__close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(10, 37, 64, 0.12);
  background: #f8fafc;
  color: #425466;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.search-modal__close:hover {
  background: #eef2f6;
  color: #0a2540;
}
.search-modal__form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.search-modal__input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(10, 37, 64, 0.18);
  background: #ffffff;
  color: #0a2540;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-modal__input:focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}
.search-modal__submit {
  padding: 0 20px;
  border-radius: 11px;
  border: 0;
  background: #0a2540;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.search-modal__submit:hover {
  background: #16375b;
}
.search-modal__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.search-pill {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 37, 64, 0.14);
  background: #f8fafc;
  color: #425466;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.search-pill:hover {
  border-color: rgba(10, 37, 64, 0.35);
  background: #ffffff;
  color: #0a2540;
}
.search-modal__results {
  margin-top: 16px;
  max-height: 320px;
  overflow-y: auto;
}
.search-modal__hint {
  margin: 0;
  font-size: 13px;
  color: #697386;
}
.search-result-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  background: #f8fafc;
  text-decoration: none;
  color: #0a2540;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.search-result-item:hover {
  background: #ffffff;
  border-color: rgba(99, 91, 255, 0.45);
}
.search-result-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.search-result-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
.search-result-text {
  min-width: 0;
}
.search-result-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0a2540;
}
.search-result-cat {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(99, 91, 255, 0.1);
  color: #4f46e5;
}
.search-result-desc {
  margin: 2px 0 0;
  font-size: 13px;
  color: #425466;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-modal__recent {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 37, 64, 0.08);
}
.search-modal__recent-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #0a2540;
  margin-bottom: 10px;
}
.search-modal__recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-pill--clear {
  background: #ffffff;
  color: #697386;
}
@media (max-width: 640px) {
  .search-modal-backdrop {
    padding: 20px 12px;
  }
  .search-modal {
    padding: 18px;
  }
  .search-modal__form {
    flex-direction: column;
  }
  .search-modal__submit {
    padding: 11px 16px;
  }
}

/* ---------------------------------------------------------------
   WordPress Plugin Page (/wordpress)
   --------------------------------------------------------------- */
.hero-icon-badge svg {
  width: 38px;
  height: 38px;
  display: block;
}

.wp-metabox-card {
  background: var(--color-white);
  border: 1px solid rgba(5, 14, 36, 0.10);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-bento-hover);
  overflow: hidden;
}

.wp-metabox-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--color-n50);
  border-bottom: 1px solid var(--color-n100);
}

.wp-metabox-card__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
}

.wp-metabox-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #21759b;
}

.wp-metabox-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wp-metabox-field,
.wp-metabox-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wp-metabox-meter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wp-metabox-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-n500);
}

.wp-metabox-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-success);
}

.wp-metabox-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  color: var(--color-navy);
  background: var(--color-n50);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  overflow-x: auto;
}

.wp-metabox-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-n100);
  border-bottom: 1px solid var(--color-n100);
}

.wp-metabox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-n700);
}

.wp-metabox-row + .wp-metabox-row {
  border-top: 1px solid var(--color-n100);
}

.wp-metabox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wp-metabox-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-deep);
  background: rgba(6, 73, 213, 0.08);
  padding: 6px 10px;
  border-radius: var(--radius-md);
}

.wp-metabox-chip--indigo {
  color: var(--mesh-violet);
  background: rgba(99, 91, 255, 0.10);
}

.wp-metabox-chip--cyan {
  color: #0e7490;
  background: rgba(6, 182, 212, 0.12);
}

.wp-step-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wp-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wp-step-pill--cobalt {
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-deep);
}

.wp-step-pill--violet {
  background: rgba(99, 91, 255, 0.12);
  color: var(--mesh-violet);
}

.wp-step-pill--cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #0e7490;
}

.grid-3 > .bento-card {
  grid-column: auto;
}

/* ─── Smooth Page Transitions ─── */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: adsynoPageOut 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
::view-transition-new(root) {
  animation: adsynoPageIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes adsynoPageOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-4px); }
}
@keyframes adsynoPageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
main {
  animation: adsynoPageIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 150ms ease, transform 150ms ease;
}
body.is-navigating main {
  opacity: 0;
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
  main, ::view-transition-old(root), ::view-transition-new(root) {
    animation: none !important;
    transition: none !important;
  }
}

/* Compare Plans (Analytics vs. Analytics Pro) */
.grid-2 > .bento-card {
  grid-column: auto;
}
.compare-tier-card {
  justify-content: space-between;
}
.compare-tier-card--pro {
  border-color: rgba(99, 91, 255, 0.28);
  box-shadow: 0 18px 44px -14px rgba(99, 91, 255, 0.16);
}
.compare-tier-card__cta {
  padding-top: 8px;
}
.compare-table-card {
  background: var(--color-white);
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-bento);
  overflow: hidden;
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.compare-table thead th {
  padding: 18px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  background: var(--color-n50);
  border-bottom: 1px solid var(--color-n100);
}
.compare-table thead th:first-child {
  text-align: left;
  width: 50%;
}
.compare-table thead th.is-pro {
  color: var(--mesh-violet);
  background: rgba(99, 91, 255, 0.06);
}
.compare-th-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-n500);
  margin-top: 2px;
}
.compare-table__group th {
  padding: 12px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-n500);
  background: #fafbfd;
  border-top: 1px solid var(--color-n100);
  border-bottom: 1px solid var(--color-n100);
}
.compare-table tbody tr:not(.compare-table__group) th[scope="row"] {
  padding: 14px 24px;
  text-align: left;
  font-weight: 500;
  color: var(--color-n700);
  border-bottom: 1px solid var(--color-n100);
}
.compare-table tbody td {
  padding: 14px 24px;
  text-align: center;
  border-bottom: 1px solid var(--color-n100);
}
.compare-table tbody td.is-pro {
  background: rgba(99, 91, 255, 0.025);
}
.compare-table tbody tr:hover:not(.compare-table__group) th[scope="row"],
.compare-table tbody tr:hover:not(.compare-table__group) td {
  background: rgba(37, 99, 235, 0.025);
}
.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-success-bg);
  color: var(--color-success);
  font-size: 12px;
  font-weight: 800;
}
.compare-check--pro {
  background: rgba(99, 91, 255, 0.12);
  color: var(--mesh-violet);
}
.compare-dash {
  color: var(--color-n300);
  font-weight: 600;
}
.compare-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
}
.compare-val--pro {
  color: var(--mesh-violet);
}
.compare-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--color-n50);
  border-top: 1px solid var(--color-n100);
  font-size: 13.5px;
  color: var(--color-n700);
}
.compare-table-footer p {
  margin: 0;
}
@media (max-width: 720px) {
  .compare-cards {
    grid-template-columns: 1fr;
  }
  .compare-table thead th:first-child,
  .compare-table tbody tr:not(.compare-table__group) th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--color-white);
    box-shadow: 4px 0 10px -4px rgba(5, 14, 36, 0.08);
  }
  .compare-table thead th:first-child {
    background: var(--color-n50);
  }
}

/* Pricing Page & Animated Currency/Billing/Suite Switcher */
.pricing-hero__stack { max-width: 860px; }
.pricing-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.pricing-controls--compact { margin-top: 24px; }
.pricing-seg { position: relative; display: inline-flex; align-items: center; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.88); border: 1px solid var(--color-n100); box-shadow: 0 4px 16px rgba(5,14,36,0.06); }
.pricing-seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--color-navy); box-shadow: 0 6px 18px -4px rgba(5,14,36,0.35); transition: transform 320ms cubic-bezier(0.22,1,0.36,1), width 320ms cubic-bezier(0.22,1,0.36,1); pointer-events: none; z-index: 0; }
.pricing-seg__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--color-n700); font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: color 200ms ease; }
.pricing-seg__btn:hover { color: var(--color-navy); }
.pricing-seg__btn.is-active { color: var(--color-white); }
.pricing-save-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--color-success-bg); color: var(--color-success); }
.pricing-seg__btn.is-active .pricing-save-pill { background: rgba(130,223,255,0.18); color: var(--color-ice); }
.pricing-region-note { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--color-n500); }

.suite-tabs-wrap { display: block; margin-bottom: 18px; overflow: visible; }
.suite-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 6px; width: 100%; padding: 5px; border-radius: 12px; background: #eef2f7; border: 1px solid #dfe5ec; box-shadow: inset 0 1px 2px rgba(5,14,36,0.03); }
.suite-tabs__thumb { display: none !important; }
.suite-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 44px; padding: 9px 14px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #475569; font-size: 13.5px; font-weight: 600; line-height: 1.25; cursor: pointer; transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.suite-tab:hover { color: var(--color-navy); background: rgba(255,255,255,0.55); }
.suite-tab.is-active { background: var(--color-white); color: var(--color-navy); border-color: rgba(5,14,36,0.08); box-shadow: 0 2px 8px rgba(5,14,36,0.08); }
.suite-tab__dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 999px; background: #94a3b8; transition: background 160ms ease, transform 160ms ease; }
.suite-tab.is-active .suite-tab__dot { background: var(--color-deep); transform: scale(1.1); box-shadow: none; }
@media (max-width: 860px) {
  .suite-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 5px; border-radius: 12px; }
  .suite-tab { min-height: 44px; padding: 9px 10px; border-radius: 8px; font-size: 13px; white-space: normal; }
  .suite-tab.is-active { background: var(--color-white); color: var(--color-navy); box-shadow: 0 2px 8px rgba(5,14,36,0.08); }
}
@media (max-width: 380px) {
  .suite-tab { padding: 8px 8px; font-size: 12px; gap: 5px; }
}
@media (max-width: 640px) {
  .pricing-controls { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pricing-seg--billing { width: 100%; max-width: 100%; }
  .pricing-seg--billing .pricing-seg__btn { flex: 1 1 auto; justify-content: center; flex-wrap: wrap; gap: 4px 6px; padding: 8px 10px; font-size: 13px; white-space: normal; text-align: center; }
  .pricing-save-pill { font-size: 10.5px; padding: 2px 7px; }
}

.replace-strip { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; padding: 11px 16px; border-radius: 10px; background: var(--color-white); border: 1px solid #e3e8ee; font-size: 13.5px; color: #475569; }
.replace-strip__badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; background: rgba(6,73,213,0.08); color: var(--color-deep); }
.replace-strip__text { margin: 0; }
.replace-strip__text strong { color: var(--color-navy); }

.pricing-grid { display: grid; gap: 20px; align-items: stretch; }
.pricing-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .pricing-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pricing-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pricing-grid--4, .pricing-grid--3 { grid-template-columns: 1fr; } }

.pricing-card { grid-column: auto !important; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; transition: transform 240ms cubic-bezier(0.22,1,0.36,1), box-shadow 240ms ease; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-bento-hover); }
.pricing-card--popular { border-color: rgba(99,91,255,0.36); box-shadow: 0 20px 48px -14px rgba(99,91,255,0.2); }
.pricing-card__top { display: flex; flex-direction: column; gap: 12px; }
.pricing-card__name { margin: 0; }
.pricing-card__limit { display: inline-block; margin-top: -6px; font-size: 12.5px; font-weight: 600; color: var(--mesh-violet); }
.pricing-card__desc { margin: 0; font-size: 14px; color: var(--color-n700); }
.pricing-card__bullets { margin-top: 4px; font-size: 13.5px; }
.pricing-card__cta { padding-top: 20px; }
.pricing-card__btn { width: 100%; justify-content: center; }

.pricing-price { padding: 14px 0; border-top: 1px solid var(--color-n100); border-bottom: 1px solid var(--color-n100); font-variant-numeric: tabular-nums; }
.pricing-price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.pricing-price__prefix { font-size: 14px; font-weight: 600; color: var(--color-n500); }
.price-roll { position: relative; display: inline-flex; overflow: hidden; vertical-align: bottom; }
.price-roll__val { display: inline-block; font-size: clamp(28px, 2.3vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--color-navy); }
.pricing-card--popular .price-roll__val, .compare-tier-card--pro .price-roll__val { color: var(--mesh-violet); }
.price-roll__val.is-rolling-out-up { animation: priceOutUp 160ms ease forwards; }
.price-roll__val.is-rolling-in-up { animation: priceInUp 240ms cubic-bezier(0.22,1,0.36,1) forwards; }
.price-roll__val.is-rolling-out-down { animation: priceOutDown 160ms ease forwards; }
.price-roll__val.is-rolling-in-down { animation: priceInDown 240ms cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes priceOutUp { to { transform: translateY(-65%); opacity: 0; } }
@keyframes priceInUp { from { transform: translateY(65%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes priceOutDown { to { transform: translateY(65%); opacity: 0; } }
@keyframes priceInDown { from { transform: translateY(-65%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.pricing-price__unit { font-size: 13px; font-weight: 500; color: var(--color-n500); }
.pricing-price__sub { margin: 6px 0 0; font-size: 12px; font-weight: 500; color: var(--color-n500); }

.suite-panel[hidden] { display: none !important; }
.suite-panel.is-entering .replace-strip { animation: suiteFadeIn 300ms cubic-bezier(0.22,1,0.36,1) both; }
.suite-panel.is-entering .pricing-card { animation: suiteCardReveal 400ms cubic-bezier(0.22,1,0.36,1) both; animation-delay: calc(var(--card-index, 0) * 48ms); }
@keyframes suiteFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes suiteCardReveal { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .pricing-seg__thumb, .suite-tabs__thumb, .pricing-card, .price-roll__val, .suite-panel.is-entering .pricing-card { animation: none !important; transition: none !important; }
}

/* Editorial Newsroom Landing Page (/newsroom) — Clean Architectural Editorial Light Theme */
.nr-hero { position: relative; background: #fff; color: var(--color-navy); overflow-x: clip; padding-block: 72px 56px; border-bottom: 1px solid #e8edf4; }
.nr-hero::before { content: ""; position: absolute; inset: 0; max-width: var(--container-max); margin-inline: auto; pointer-events: none; background-image: linear-gradient(to right, rgba(5,14,36,0.06) 1px, transparent 1px); background-size: 25% 100%; border-right: 1px solid rgba(5,14,36,0.06); }
.nr-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.12fr); align-items: center; gap: 48px; }
.nr-hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nr-hero-copy .h1-hero { color: var(--color-navy); font-size: clamp(36px, 4.1vw, 54px); line-height: 1.08; letter-spacing: -0.035em; margin: 0; }
.nr-hero-copy .lead { margin: 0; font-size: 17px; line-height: 1.55; color: #425466; max-width: 500px; }
.nr-app-frame { margin: 0; border-radius: 12px; border: 1px solid #e3e8ee; background: #fff; box-shadow: 0 30px 60px -12px rgba(50,50,93,0.12), 0 18px 36px -18px rgba(0,0,0,0.12); overflow: hidden; }
.nr-app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; background: #fafbfd; border-bottom: 1px solid #eef2f6; }
.nr-app-bar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nr-win-dots { display: inline-flex; gap: 5px; }
.nr-win-dots i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; display: block; }
.nr-app-url { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--color-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nr-app-pill { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(6,73,213,0.08); color: var(--color-deep); white-space: nowrap; }
.nr-app-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.nr-tv-showcase { max-width: 1040px; margin-inline: auto; border-radius: 14px; border: 1px solid #dfe5ec; background: #ffffff; overflow: hidden; box-shadow: 0 24px 56px -12px rgba(50,50,93,0.12), 0 12px 28px -14px rgba(0,0,0,0.08); transition: background-color 0.2s ease, border-color 0.2s ease; }
.nr-tv-showcase.is-night { background: #070b14; border-color: rgba(148,163,184,0.25); }
.nr-tv-screen { position: relative; aspect-ratio: 16 / 9; background: #f1f5f9; transition: background-color 0.2s ease; }
.nr-tv-showcase.is-night .nr-tv-screen { background: #070b14; }
.nr-tv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.22s ease; }
.nr-tv-img.is-active { opacity: 1; }
@media (max-width: 1024px) { .nr-hero::before { display: none; } .nr-hero-grid { grid-template-columns: 1fr; gap: 32px; } .nr-app-frame { max-width: 680px; } }
@media (max-width: 600px) { .nr-hero { padding-block: 44px 40px; } }
@media (prefers-reduced-motion: reduce) { .nr-tv-img { transition: none; } }
.nr-btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.nr-btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }

.nr-tv-stage { --nr-bg: #070b14; --nr-bar: #0d1526; --nr-col: #0c1322; --nr-card: #121d33; --nr-border: rgba(148,163,184,0.18); --nr-text: #f1f5f9; --nr-muted: #94a3b8; --nr-num: #38bdf8; border-radius: 16px; border: 1px solid var(--nr-border); background: var(--nr-bg); color: var(--nr-text); overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,0.55); font-variant-numeric: tabular-nums; transition: background-color 0.2s ease, color 0.2s ease; }
.nr-tv-stage.is-light { --nr-bg: #eef2f6; --nr-bar: #0f172a; --nr-col: #f8fafc; --nr-card: #ffffff; --nr-border: #d5dfea; --nr-text: #0f172a; --nr-muted: #475569; --nr-num: #1d4ed8; }
.nr-tv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 12px 18px; background: #fafbfd; color: var(--color-navy); border-bottom: 1px solid #e8edf4; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.nr-tv-showcase.is-night .nr-tv-bar { background: #0d1526; color: #f8fafc; border-bottom-color: rgba(255,255,255,0.1); }
.nr-tv-bar-left, .nr-tv-bar-kpis { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nr-tv-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.nr-tv-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.18); animation: nrPulse 2s ease-in-out infinite; }
@keyframes nrPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.18); } 50% { box-shadow: 0 0 0 6px rgba(22,163,74,0.06); } }
.nr-tv-chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #eef2f6; color: #475569; transition: background-color 0.2s ease, color 0.2s ease; }
.nr-tv-showcase.is-night .nr-tv-chip { background: rgba(255,255,255,0.1); color: #e2e8f0; }
.nr-tv-rollup { font-size: 12px; color: rgba(226,232,240,0.78); }
.nr-tv-rollup em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; margin-right: 4px; opacity: 0.75; }
.nr-tv-rollup strong { color: #fff; font-size: 14px; }
.nr-tv-delta { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.nr-tv-delta.is-up { background: rgba(34,197,94,0.18); color: #86efac; }
.nr-tv-stage.is-light .nr-tv-col .nr-tv-delta.is-up { background: #dcfce7; color: #15803d; }
.nr-tv-theme-switch { display: inline-flex; gap: 3px; padding: 3px; border-radius: 8px; background: #eef2f6; border: 1px solid #e2e8f0; transition: background-color 0.2s ease, border-color 0.2s ease; }
.nr-tv-showcase.is-night .nr-tv-theme-switch { background: rgba(255,255,255,0.1); border-color: transparent; }
.nr-tv-theme-btn { border: 0; background: transparent; color: #475569; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
.nr-tv-showcase.is-night .nr-tv-theme-btn { color: rgba(241,245,249,0.78); }
.nr-tv-theme-btn.is-active { background: #ffffff; color: var(--color-navy); box-shadow: 0 1px 3px rgba(5,14,36,0.1); }
.nr-tv-showcase.is-night .nr-tv-theme-btn.is-active { background: #2563eb; color: #fff; box-shadow: none; }
.nr-tv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 16px; }
.nr-tv-col { background: var(--nr-col); border: 1px solid var(--nr-border); border-top: 3px solid #38bdf8; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nr-tv-col--violet { border-top-color: #a78bfa; }
.nr-tv-col--emerald { border-top-color: #34d399; }
.nr-tv-col-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.nr-tv-domain { display: block; font-size: 14px; font-weight: 700; color: var(--nr-text); }
.nr-tv-meta { display: block; font-size: 11.5px; color: var(--nr-muted); margin-top: 2px; }
.nr-tv-conv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nr-tv-conv > div { background: var(--nr-card); border: 1px solid var(--nr-border); border-radius: 8px; padding: 6px 8px; text-align: center; }
.nr-tv-conv span { display: block; font-size: 10px; font-weight: 700; color: var(--nr-muted); }
.nr-tv-conv strong { display: block; font-size: 13.5px; font-weight: 800; color: var(--nr-num); margin-top: 2px; }
.nr-tv-articles { display: flex; flex-direction: column; gap: 8px; }
.nr-tv-art { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: var(--nr-card); border: 1px solid var(--nr-border); }
.nr-tv-thumb { width: 38px; height: 28px; border-radius: 5px; flex-shrink: 0; }
.nr-tv-thumb--a { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.nr-tv-thumb--b { background: linear-gradient(135deg, #1e40af, #60a5fa); }
.nr-tv-thumb--c { background: linear-gradient(135deg, #6d28d9, #c084fc); }
.nr-tv-thumb--d { background: linear-gradient(135deg, #4338ca, #818cf8); }
.nr-tv-thumb--e { background: linear-gradient(135deg, #047857, #34d399); }
.nr-tv-thumb--f { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.nr-tv-art-body { flex: 1; min-width: 0; }
.nr-tv-art-title { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--nr-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-tv-art-sub { display: block; font-size: 10.5px; color: var(--nr-muted); margin-top: 2px; }
.nr-tv-vel { font-size: 11px; font-weight: 800; letter-spacing: -1px; flex-shrink: 0; }
.nr-tv-vel.is-surge { color: #22c55e; }
.nr-tv-vel.is-rising { color: #4ade80; }
.nr-tv-vel.is-steady { color: var(--nr-muted); }

.nr-dark-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; }
.nr-compare-wrap { overflow-x: auto; border: 1px solid var(--color-n200, #dce3ec); border-radius: 14px; background: #fff; }
.nr-compare-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; min-width: 680px; }
.nr-compare-table th, .nr-compare-table td { padding: 15px 18px; border-bottom: 1px solid var(--color-n100, #eef2f6); vertical-align: middle; }
.nr-compare-table thead th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-n500, #64748b); background: #f8fafc; }
.nr-compare-table tbody tr:last-child td { border-bottom: 0; }
.nr-compare-hl { background: rgba(8,124,243,0.05); color: var(--color-navy, #050e24); }
.nr-compare-table thead th.nr-compare-hl { background: rgba(8,124,243,0.1); color: var(--color-deep, #0649d5); }
.nr-cmp-yes { color: #16a34a; font-weight: 800; margin-right: 4px; }
@media (max-width: 980px) { .nr-tv-grid { grid-template-columns: 1fr; } .nr-tv-chip--hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { .nr-tv-dot { animation: none; } .nr-tv-stage { transition: none; } }

/* Pricing Renewal Terms Trigger (Per Card) & Body-Level Modal */
.renewal-card-trigger { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 0; border: 0; background: transparent; color: var(--color-n500); font-size: 12px; font-weight: 600; text-decoration: underline dotted var(--color-n300); text-underline-offset: 3px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: color 180ms ease; }
.renewal-card-trigger:hover, .renewal-card-trigger:focus-visible { color: var(--color-deep); text-decoration-color: var(--color-deep); }
.renewal-trigger__icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--color-n300); font-size: 10.5px; font-weight: 700; font-style: normal; line-height: 1; color: var(--color-deep); background: rgba(255,255,255,0.9); flex-shrink: 0; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.renewal-card-trigger:hover .renewal-trigger__icon,
.renewal-card-trigger:focus-visible .renewal-trigger__icon { background: var(--color-deep); border-color: var(--color-deep); color: #fff; }

.renewal-modal-backdrop { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 14, 36, 0.56); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.renewal-modal-backdrop[hidden] { display: none !important; }
.renewal-modal { width: 100%; max-width: 440px; padding: 22px 24px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--color-n100); box-shadow: 0 24px 64px rgba(5,14,36,0.28); color: var(--color-n700); font-size: 14px; line-height: 1.55; animation: renewalModalIn 180ms cubic-bezier(0.22,1,0.36,1) both; }
.renewal-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.renewal-modal__title { margin: 0; font-size: 16px; font-weight: 700; color: var(--color-navy); }
.renewal-modal__close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--color-n100); border-radius: 10px; background: var(--color-n50); color: var(--color-n500); cursor: pointer; touch-action: manipulation; }
.renewal-modal__close:hover { background: var(--color-n100); color: var(--color-navy); }
.renewal-modal__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.renewal-modal__list strong { color: var(--color-navy); font-weight: 600; }
.renewal-modal__list a { color: var(--color-deep); font-weight: 600; text-decoration: underline; }
.renewal-modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--color-n100); }
.renewal-modal__entity { font-size: 12px; color: var(--color-n500); }
.renewal-modal__link { font-size: 13px; font-weight: 600; color: var(--color-deep); }
.renewal-modal__link:hover { text-decoration: underline; }

@keyframes renewalModalIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 640px) {
  .renewal-modal-backdrop { align-items: flex-end; padding: 12px; }
  .renewal-modal { max-width: none; border-radius: 20px; padding: 20px 18px; max-height: calc(100vh - 48px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .renewal-modal { animation: none !important; }
}

/* Market View Directory & Claimable Domain Profiles (/market) */
.mkt-preview-banner { background: #0f172a; color: #e2e8f0; border-bottom: 1px solid rgba(56,189,248,0.3); font-size: 12.5px; padding: 9px 0; }
.mkt-preview-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mkt-hero { background: radial-gradient(ellipse 70% 55% at 80% 10%, rgba(56,189,248,0.22), transparent 65%), #050e24; color: #fff; padding-block: 56px 64px; }
.mkt-hero-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 580px; margin-top: 8px; }
.mkt-hero-search input { flex: 1 1 260px; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); color: #fff; font-size: 14px; }
.mkt-hero-search input::placeholder { color: rgba(226,232,240,0.68); }
.mkt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--color-n200, #dce3ec); border-radius: 12px; margin-bottom: 18px; }
.mkt-toolbar select, .mkt-toolbar input { min-height: 38px; padding: 7px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 13px; background: #fff; color: #0f172a; }
.mkt-toolbar input { flex: 1 1 200px; }
.mkt-seg { display: inline-flex; padding: 3px; border-radius: 8px; background: #f1f5f9; gap: 3px; }
.mkt-seg__btn { padding: 6px 11px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: #475569; text-decoration: none; white-space: nowrap; }
.mkt-seg__btn.is-active { background: #fff; color: #050e24; box-shadow: 0 1px 3px rgba(5,14,36,0.1); }
.mkt-rank { font-variant-numeric: tabular-nums; color: var(--color-n500); }
.mkt-pub-cell { display: flex; align-items: center; gap: 10px; }
.mkt-monogram { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #087cf3, #635bff); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mkt-domain-link { font-weight: 700; color: var(--color-navy); text-decoration: none; font-size: 14.5px; }
.mkt-domain-link:hover { color: var(--color-deep); text-decoration: underline; }
.mkt-pub-sub { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--color-n500); }
.mkt-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 11.5px; font-weight: 600; text-decoration: none; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; border: 1px solid transparent; }
.mkt-chip--link:hover, .mkt-chip--link:focus-visible { background: rgba(6, 73, 213, 0.08); color: var(--color-deep); border-color: rgba(6, 73, 213, 0.24); text-decoration: none; }
.mkt-breadcrumb a:hover { text-decoration: underline; }
.mkt-score-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mkt-score-pill.is-good { background: #dcfce7; color: #15803d; }
.mkt-score-pill.is-mid { background: #fef3c7; color: #b45309; }
.mkt-score-pill.is-low { background: #fee2e2; color: #b91c1c; }
.mkt-badge-verified { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 11.5px; font-weight: 700; }
.mkt-badge-verified-svg { display: block; height: 28px; width: auto; max-width: 100%; flex-shrink: 0; }
.mkt-badge-unclaimed { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 11.5px; font-weight: 600; }
.mkt-claim-pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--color-deep); color: var(--color-deep); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mkt-claim-pill:hover { background: var(--color-deep); color: #fff; }
.mkt-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-n500); margin-bottom: 16px; flex-wrap: wrap; }
.mkt-breadcrumb a { color: var(--color-deep); text-decoration: none; font-weight: 600; }
.mkt-profile-band { position: relative; width: 100%; margin: 0; border: 0; border-bottom: 1px solid var(--color-n100); border-radius: 0; background: #ffffff; padding-block: 22px 30px; overflow-x: clip; }
.mkt-profile-band > .container { position: relative; z-index: 1; }
.mkt-profile-band .mkt-breadcrumb { margin-bottom: 14px; font-size: 12.5px; }
.mkt-profile-section { padding-top: 28px; padding-bottom: 56px; }
.mkt-profile-hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 36px; align-items: center; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.mkt-profile-hero.is-verified { border: 0; box-shadow: none; }
.mkt-profile-hero__main { min-width: 0; display: flex; flex-direction: column; }
.mkt-hero-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.mkt-hero-identity { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 6px; }
.mkt-hero-domain { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; color: var(--color-navy); min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.mkt-hero-lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.45; color: var(--color-n600); max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mkt-hero-kpi-strip { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) minmax(0, 0.9fr); background: var(--color-n50); border: 1px solid var(--color-n100); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; }
.mkt-hero-kpi { min-width: 0; padding: 12px 15px; display: flex; flex-direction: column; justify-content: flex-start; gap: 3px; border-left: 1px solid var(--color-n100); font-variant-numeric: tabular-nums; }
.mkt-hero-kpi:first-child { border-left: 0; }
.mkt-hero-kpi--primary { background: linear-gradient(90deg, rgba(6, 73, 213, 0.045) 0%, rgba(255, 255, 255, 0.65) 100%); border-left: 3px solid var(--color-deep) !important; }
.mkt-hero-kpi--primary.is-verified { background: linear-gradient(90deg, rgba(22, 163, 74, 0.06) 0%, rgba(255, 255, 255, 0.65) 100%); border-left: 3px solid var(--color-success) !important; }
.mkt-hero-kpi__head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mkt-hero-kpi__label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-n500); line-height: 1.3; }
.mkt-hero-kpi__tag { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 999px; background: rgba(6, 73, 213, 0.08); color: var(--color-deep); font-size: 10px; font-weight: 700; line-height: 1.4; }
.mkt-hero-kpi__val { display: flex; align-items: baseline; gap: 5px; font-size: clamp(15px, 1.35vw, 17px); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--color-navy); white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; }
.mkt-hero-kpi--primary .mkt-hero-kpi__val { font-size: clamp(18px, 1.75vw, 22px); white-space: normal; }
.mkt-hero-kpi__val small { font-size: 12px; font-weight: 600; color: var(--color-n500); }
.mkt-kpi-dot { display: inline-block; width: 7px; height: 7px; border-radius: 999px; flex-shrink: 0; transform: translateY(-1px); }
.mkt-kpi-dot.is-good { background: var(--color-success); }
.mkt-kpi-dot.is-mid { background: var(--color-warning); }
.mkt-kpi-dot.is-low { background: var(--color-error); }
.mkt-kpi-dot.is-neutral { background: var(--color-n300); }
.mkt-hero-kpi__sub { font-size: 11.5px; line-height: 1.35; color: var(--color-n500); min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; }
.mkt-hero-kpi--primary .mkt-hero-kpi__sub { white-space: normal; }
.mkt-hero-kpi__sub.is-up { color: #15803d; font-weight: 700; }
.mkt-rank-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--color-white); border: 1px solid var(--color-n200); color: var(--color-n700); font-size: 11px; font-weight: 600; line-height: 1.35; }
.mkt-kpi-inline-link { color: var(--color-deep); font-weight: 600; text-decoration: none; }
.mkt-kpi-inline-link:hover { text-decoration: underline; }
.mkt-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.mkt-hero-actions .btn { padding: 8px 13px; min-height: 36px; font-size: 12.5px; border-radius: var(--radius-md); }
.mkt-hero-foot { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--color-n100); display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.mkt-agency-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 9px; border-radius: 999px; border: 1px solid rgba(99, 91, 255, 0.24); background: rgba(99, 91, 255, 0.055); font-size: 12px; line-height: 1.3; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; font-family: inherit; }
.mkt-agency-trigger__kicker { font-weight: 700; color: var(--mesh-violet); }
.mkt-agency-trigger__cta { font-weight: 600; color: var(--color-navy); text-decoration: underline dotted var(--color-n300); text-underline-offset: 3px; }
.mkt-agency-trigger__icon { border-color: rgba(99, 91, 255, 0.35); color: var(--mesh-violet); }
.mkt-agency-trigger:hover, .mkt-agency-trigger:focus-visible { background: rgba(99, 91, 255, 0.1); border-color: var(--mesh-violet); box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12); outline: none; }
.mkt-agency-trigger:hover .mkt-agency-trigger__cta, .mkt-agency-trigger:focus-visible .mkt-agency-trigger__cta { color: var(--color-deep); text-decoration-color: var(--color-deep); }
.mkt-agency-trigger:hover .mkt-agency-trigger__icon, .mkt-agency-trigger:focus-visible .mkt-agency-trigger__icon { background: var(--mesh-violet); border-color: var(--mesh-violet); color: var(--color-white); }
.mkt-hero-provenance { margin: 0; font-size: 11.5px; color: var(--color-n500); }
.mkt-hero-provenance a { color: var(--color-n600); text-decoration: underline; text-underline-offset: 2px; }
.mkt-hero-provenance a:hover { color: var(--color-navy); }
.mkt-inline-modal-link { padding: 0; border: 0; background: transparent; color: var(--color-deep); font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-family: inherit; }
.mkt-shot-frame { width: 100%; justify-self: stretch; min-width: 0; border-radius: var(--radius-lg); border: 1px solid #cbd5e1; overflow: hidden; background: var(--color-navy); box-shadow: 0 14px 32px rgba(5, 14, 36, 0.12); }
.mkt-shot-bar { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #0b1630; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #cbd5e1; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mkt-shot-dots { display: inline-flex; gap: 4px; flex-shrink: 0; }
.mkt-shot-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(203, 213, 225, 0.28); transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.mkt-shot-bar:has(.mkt-shot-url:hover) .mkt-shot-dots i:nth-child(1),
.mkt-shot-bar:has(.mkt-shot-url:focus-visible) .mkt-shot-dots i:nth-child(1) { background: #ff5f57; box-shadow: 0 0 6px rgba(255, 95, 87, 0.55); transform: scale(1.12); transition-delay: 0ms; }
.mkt-shot-bar:has(.mkt-shot-url:hover) .mkt-shot-dots i:nth-child(2),
.mkt-shot-bar:has(.mkt-shot-url:focus-visible) .mkt-shot-dots i:nth-child(2) { background: #febc2e; box-shadow: 0 0 6px rgba(254, 188, 46, 0.55); transform: scale(1.12); transition-delay: 45ms; }
.mkt-shot-bar:has(.mkt-shot-url:hover) .mkt-shot-dots i:nth-child(3),
.mkt-shot-bar:has(.mkt-shot-url:focus-visible) .mkt-shot-dots i:nth-child(3) { background: #28c840; box-shadow: 0 0 6px rgba(40, 200, 64, 0.55); transform: scale(1.12); transition-delay: 90ms; }
.mkt-shot-url { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; transition: color 160ms ease; }
.mkt-shot-url:hover { text-decoration: none; color: #ffffff; }
.mkt-shot-status { flex-shrink: 0; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); color: #cbd5e1; font-family: 'Manrope', sans-serif; font-size: 10px; font-weight: 700; }
.mkt-shot-status.is-ver { background: rgba(22, 163, 74, 0.22); color: #86efac; }
.mkt-shot-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 270px; object-fit: cover; object-position: top; }
.mkt-shot-popover { position: fixed; z-index: 60; width: 256px; pointer-events: none; opacity: 0; transform: translateY(4px) scale(0.98); transition: opacity 140ms ease, transform 140ms ease; border-radius: var(--radius-lg); border: 1px solid #cbd5e1; background: var(--color-navy); box-shadow: 0 18px 38px rgba(5, 14, 36, 0.22); overflow: hidden; }
.mkt-shot-popover.is-open { opacity: 1; transform: translateY(0) scale(1); }
.mkt-shot-popover img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #0f172a; }
.mkt-shot-placeholder { aspect-ratio: 16 / 10; max-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; text-align: center; background: radial-gradient(ellipse at 85% 15%, rgba(130, 223, 255, 0.2), transparent 58%), radial-gradient(ellipse at 15% 90%, rgba(99, 91, 255, 0.22), transparent 55%), var(--color-navy); color: #e2e8f0; }
.mkt-shot-placeholder__badge { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--color-deep), var(--mesh-violet)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: var(--color-white); box-shadow: 0 8px 20px rgba(6, 73, 213, 0.35); }
.mkt-shot-placeholder strong { font-size: 15px; color: var(--color-white); max-width: 100%; overflow-wrap: anywhere; }
.mkt-shot-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 100%; }
.mkt-shot-pill { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.14); color: #e2e8f0; font-size: 10.5px; font-weight: 600; }
.mkt-shot-pill--muted { color: var(--color-ice); border-color: rgba(130, 223, 255, 0.28); }
.mkt-shot-placeholder span { font-size: 11.5px; line-height: 1.35; color: #94a3b8; max-width: 270px; }
.mkt-agency-modal { max-width: 500px; }
.mkt-agency-modal__head { align-items: flex-start; }
.mkt-agency-modal__eyebrow { display: block; color: var(--mesh-violet); margin-bottom: 2px; }
.mkt-agency-modal__title { font-size: 18px; line-height: 1.25; }
.mkt-agency-modal__list { gap: 11px; font-size: 13.5px; }
.mkt-agency-modal__list li { position: relative; padding-left: 18px; }
.mkt-agency-modal__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--mesh-violet); font-weight: 800; }
.mkt-agency-modal__pricing-note { margin-top: 14px; padding: 9px 12px; border-radius: var(--radius-md); background: var(--color-n50); border: 1px solid var(--color-n100); font-size: 12.5px; color: var(--color-n700); font-variant-numeric: tabular-nums; }
.mkt-agency-modal__pricing-note strong { color: var(--color-navy); }
.mkt-agency-modal__foot { justify-content: flex-end; gap: 8px; }
.mkt-agency-modal__btn { padding: 10px 16px; font-size: 13.5px; min-height: 40px; }
@media (max-width: 1100px) {
  .mkt-profile-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px; padding: 0; }
  .mkt-hero-kpi { padding: 10px 11px; }
}
.mkt-signals-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.mkt-signals-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .mkt-signals-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.mkt-profile-section > .container > .mkt-signals-grid { margin-top: 0; }
.mkt-signals-grid > * { grid-column: auto !important; min-width: 0; }
.mkt-verified-panel { margin-top: 24px; padding: 24px; background: #fff; border: 1px solid #bbf7d0; border-radius: 16px; box-shadow: 0 10px 30px rgba(22,163,74,0.06); }
.mkt-verified-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mkt-stat-box { padding: 14px 16px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--color-n100); }
.mkt-stat-box span { display: block; font-size: 11.5px; font-weight: 600; color: var(--color-n500); }
.mkt-stat-box strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 700; color: var(--color-navy); font-variant-numeric: tabular-nums; }
.mkt-stat-box em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--color-n500); }
.mkt-stat-box em.is-up { color: #15803d; font-weight: 700; }
.mkt-channels-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-n100); }
.mkt-estimate-bar { margin-top: 24px; padding: 20px 24px; background: #fff; border: 1px solid var(--color-n200, #dce3ec); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mkt-locked-panel { position: relative; margin-top: 18px; border-radius: 16px; border: 1px solid var(--color-n200, #dce3ec); background: #fff; overflow: hidden; min-height: 340px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 28px; box-sizing: border-box; }
.mkt-locked-blur { position: absolute; inset: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; filter: blur(7px); opacity: 0.48; pointer-events: none; user-select: none; }
.mkt-claim-overlay { position: relative; z-index: 2; width: 100%; max-width: 560px; min-width: 0; box-sizing: border-box; margin-inline: auto; text-align: center; padding: 28px 26px; border-radius: 14px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(8,124,243,0.24); box-shadow: 0 20px 50px rgba(5,14,36,0.12); }
.mkt-claim-form { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 10px; margin-top: 18px; width: 100%; min-width: 0; }
.mkt-claim-email-group { flex: 1 1 250px; display: flex; align-items: stretch; min-width: 0; max-width: 100%; min-height: 46px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; overflow: hidden; box-sizing: border-box; transition: border-color 150ms ease, box-shadow 150ms ease; }
.mkt-claim-email-group:focus-within { border-color: var(--color-deep); box-shadow: 0 0 0 3px rgba(6,73,213,0.12); }
.mkt-claim-email-group input { flex: 1 1 0; width: 0; min-width: 0; border: 0; padding: 10px 12px 10px 14px; font-size: 15px; line-height: 1.3; background: transparent; color: var(--color-navy); outline: none; text-align: left; }
.mkt-claim-email-group input::placeholder { color: var(--color-n500); }
.mkt-claim-email-suffix { flex: 0 1 auto; display: inline-flex; align-items: center; max-width: 56%; padding: 0 14px 0 12px; background: #f1f5f9; border-left: 1px solid #e2e8f0; color: var(--color-n700); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none; }
.mkt-peer-card { text-decoration: none; transition: transform 160ms ease, border-color 160ms ease; }
.mkt-peer-card:hover { transform: translateY(-2px); border-color: var(--color-deep); }
@media (max-width: 900px) {
  .mkt-profile-band { padding-block: 18px 24px; }
  .mkt-profile-hero { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 18px; }
  .mkt-hero-lead { -webkit-line-clamp: 3; }
  .mkt-shot-frame img, .mkt-shot-placeholder { max-height: 240px; }
  .mkt-signals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mkt-profile-band { padding-block: 16px 22px; }
  .mkt-profile-section { padding-top: 20px; padding-bottom: 40px; }
  .mkt-profile-hero { padding: 0; border-radius: 0; gap: 16px; }
  .mkt-hero-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-hero-kpi--primary { grid-column: 1 / -1; border-bottom: 1px solid var(--color-n100); }
  .mkt-hero-kpi:nth-child(2) { border-left: 0; }
  .mkt-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mkt-hero-actions .btn { width: 100%; padding: 10px 10px; font-size: 12.5px; white-space: normal; text-align: center; line-height: 1.25; }
  .mkt-hero-actions .btn:first-child { grid-column: 1 / -1; font-size: 13.5px; min-height: 44px; }
  .mkt-hero-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mkt-agency-trigger { max-width: 100%; flex-wrap: wrap; }
  .mkt-agency-modal__foot { flex-direction: column-reverse; align-items: stretch; }
  .mkt-agency-modal__btn { width: 100%; justify-content: center; }
  .mkt-signals-grid { grid-template-columns: 1fr; }
  .mkt-locked-panel { min-height: auto; padding: 14px 12px; border-radius: 14px; }
  .mkt-locked-blur { inset: 10px; grid-template-columns: 1fr; }
  .mkt-claim-overlay { padding: 22px 16px; border-radius: 12px; }
  .mkt-claim-form { flex-direction: column; align-items: stretch; gap: 12px; }
  .mkt-claim-email-group { flex: none; width: 100%; min-height: 48px; }
  .mkt-claim-email-group input { padding: 12px 12px 12px 14px; font-size: 16px; }
  .mkt-claim-email-suffix { padding: 0 12px 0 10px; font-size: 14px; max-width: 52%; }
  .mkt-claim-form .btn, .mkt-claim-form button[type="submit"] { width: 100%; min-height: 48px; padding: 12px 18px; justify-content: center; }
}
.workspace-svg-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }


/* Interactive Stack Builder (#build-stack), Feature Compare Accordions (#compare-all), Split FAQ (#pricing-faq) */
.stack-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: 28px; align-items: start; margin-top: 32px; }
.stack-config { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.stack-step-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-n500); }
.stack-step-num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: var(--color-navy); color: #fff; font-size: 11px; font-weight: 700; }
.stack-base-list { display: grid; gap: 10px; }
.stack-radio-row { position: relative; }
.stack-radio { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 48px 14px 16px; border-radius: var(--radius-xl); background: #fff; border: 1.5px solid var(--color-n100); cursor: pointer; text-align: left; width: 100%; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.stack-radio:hover { border-color: var(--color-n300); }
.stack-radio.is-selected { border-color: var(--color-deep); background: rgba(6,73,213,0.035); box-shadow: 0 0 0 3px rgba(6,73,213,0.1); }
.stack-radio__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.stack-radio__dot { width: 18px; height: 18px; flex-shrink: 0; border-radius: 999px; border: 2px solid var(--color-n300); background: #fff; position: relative; transition: border-color 180ms ease; }
.stack-radio.is-selected .stack-radio__dot { border-color: var(--color-deep); }
.stack-radio.is-selected .stack-radio__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 999px; background: var(--color-deep); }
.stack-radio__title { display: block; font-size: 14.5px; font-weight: 700; color: var(--color-navy); line-height: 1.3; }
.stack-radio__sub { display: block; font-size: 12.5px; color: var(--color-n500); margin-top: 2px; }
.stack-radio__price { flex-shrink: 0; font-size: 14.5px; font-weight: 700; color: var(--color-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stack-addon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stack-addon-wrap { position: relative; display: flex; }
.stack-addon { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--radius-xl); background: #fff; border: 1.5px solid var(--color-n100); cursor: pointer; text-align: left; width: 100%; height: 100%; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.stack-addon:hover:not(:disabled) { border-color: var(--color-n300); }
.stack-addon.is-checked { border-color: var(--mesh-violet); background: rgba(99,91,255,0.04); box-shadow: 0 0 0 3px rgba(99,91,255,0.11); }
.stack-addon:disabled { opacity: 0.72; cursor: default; background: var(--color-n50); }
.stack-addon__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.stack-addon__check { width: 18px; height: 18px; flex-shrink: 0; border-radius: 5px; border: 1.5px solid var(--color-n300); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: transparent; transition: all 160ms ease; }
.stack-addon.is-checked .stack-addon__check { background: var(--mesh-violet); border-color: var(--mesh-violet); color: #fff; }
.stack-addon__title { font-size: 14px; font-weight: 700; color: var(--color-navy); line-height: 1.3; }
.stack-addon__desc { margin: 0; font-size: 12.5px; color: var(--color-n500); line-height: 1.4; }
.stack-addon__pill { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--color-n50); border: 1px solid var(--color-n100); font-size: 12px; font-weight: 700; color: var(--color-navy); font-variant-numeric: tabular-nums; }
.stack-addon.is-checked .stack-addon__pill { background: rgba(99,91,255,0.12); border-color: transparent; color: var(--mesh-violet); }
.stack-addon:disabled .stack-addon__pill { background: #dcfce7; border-color: transparent; color: #15803d; }
.stack-info-btn { position: absolute; z-index: 2; width: 22px; height: 22px; font-size: 11px; background: #ffffff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease; }
.stack-info-btn:hover, .stack-info-btn:focus-visible { background: var(--mesh-violet); border-color: var(--mesh-violet); color: #ffffff; outline: none; transform: scale(1.06); }
.stack-info-btn--radio { right: 14px; top: 50%; transform: translateY(-50%); }
.stack-info-btn--radio:hover, .stack-info-btn--radio:focus-visible { transform: translateY(-50%) scale(1.06); }
.stack-info-btn--addon { right: 14px; bottom: 14px; }
.stack-summary { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius-2xl); background: #fff; border: 1.5px solid rgba(99,91,255,0.32); box-shadow: 0 20px 48px -14px rgba(99,91,255,0.18), var(--shadow-bento); display: flex; flex-direction: column; gap: 16px; }
.stack-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stack-summary__items { list-style: none; margin: 0; padding: 14px 0; border-top: 1px solid var(--color-n100); border-bottom: 1px solid var(--color-n100); display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.stack-summary__items li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--color-n700); }
.stack-summary__items strong { color: var(--color-navy); font-weight: 600; }
.stack-summary__items span:last-child { font-weight: 700; color: var(--color-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stack-summary__total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stack-summary__total-val { font-size: clamp(30px, 2.8vw, 38px); font-weight: 700; letter-spacing: -0.03em; color: var(--mesh-violet); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stack-summary__sub { margin: 4px 0 0; font-size: 12.5px; color: var(--color-n500); }
.stack-summary__cta { width: 100%; justify-content: center; }

.cmp-acc-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.cmp-acc-toggle-all { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--color-n200, #dce3ec); background: #fff; color: var(--color-n700); font-size: 13px; font-weight: 600; cursor: pointer; }
.cmp-acc-toggle-all:hover { border-color: var(--color-deep); color: var(--color-deep); }
.cmp-acc-list { display: flex; flex-direction: column; gap: 12px; }
.cmp-acc { background: #fff; border: 1px solid var(--color-n100); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); overflow: hidden; }
.cmp-acc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; list-style: none; cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--color-navy); user-select: none; transition: background 160ms ease; }
.cmp-acc__head::-webkit-details-marker { display: none; }
.cmp-acc__head:hover { background: var(--color-n50); }
.cmp-acc__meta { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cmp-acc__count { font-size: 12px; font-weight: 600; color: var(--color-n500); padding: 2px 9px; border-radius: 999px; background: var(--color-n50); }
.cmp-acc__chev { width: 24px; height: 24px; border-radius: 999px; background: var(--color-n50); display: inline-flex; align-items: center; justify-content: center; color: var(--color-n700); font-size: 14px; transition: transform 220ms ease, background 160ms ease; }
.cmp-acc[open] .cmp-acc__chev { transform: rotate(180deg); background: rgba(6,73,213,0.1); color: var(--color-deep); }
.cmp-acc__body { border-top: 1px solid var(--color-n100); }
.cmp-acc .compare-table { min-width: 700px; }
.cmp-acc .compare-table thead th:first-child { width: 36%; }
.cmp-addon-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(6,73,213,0.08); color: var(--color-deep); font-size: 11.5px; font-weight: 700; white-space: nowrap; }

.pfaq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 44px; align-items: start; }
.pfaq-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.pfaq-groups { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.pfaq-group__title { margin: 0 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-deep); }
.pfaq-list { display: flex; flex-direction: column; gap: 10px; }
.pfaq-item { background: #fff; border: 1px solid var(--color-n100); border-radius: var(--radius-xl); transition: border-color 180ms ease, box-shadow 180ms ease; }
.pfaq-item[open] { border-color: rgba(6,73,213,0.28); box-shadow: var(--shadow-card); }
.pfaq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--color-navy); line-height: 1.4; }
.pfaq-item summary::-webkit-details-marker { display: none; }
.pfaq-item summary::after { content: "+"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 999px; background: var(--color-n50); color: var(--color-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; transition: transform 200ms ease, background 160ms ease; }
.pfaq-item[open] summary::after { transform: rotate(45deg); background: rgba(6,73,213,0.1); }
.pfaq-item__body { padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: var(--color-n700); }
.pfaq-item__body p { margin: 0; }

@media (max-width: 900px) {
  .stack-grid, .pfaq-split { grid-template-columns: 1fr; gap: 24px; }
  .stack-summary, .pfaq-aside { position: static; }
}
@media (max-width: 600px) {
  .stack-addon-grid { grid-template-columns: 1fr; }
  .stack-radio { padding: 12px 46px 12px 14px; }
  .stack-summary { padding: 20px 18px; }
  .cmp-acc__head { padding: 15px 16px; font-size: 14.5px; }
  .cmp-acc__count { display: none; }
  .pfaq-item summary { padding: 14px 16px; font-size: 14.5px; }
  .pfaq-item__body { padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-radio, .stack-addon, .cmp-acc__chev, .pfaq-item summary::after { transition: none !important; }
}

/* Sticky Bottom Total Dock for #build-stack (PC Configurator style) */
.stack-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(5, 14, 36, 0.1);
  box-shadow: 0 -10px 32px rgba(5, 14, 36, 0.12);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}
.stack-sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.stack-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack-sticky-bar__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 4px 0;
  text-align: left;
  cursor: pointer;
}
.stack-sticky-bar__label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-n500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stack-sticky-bar__price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.stack-sticky-bar__price {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stack-sticky-bar__unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-n500);
}
.stack-sticky-bar__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--color-n50);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease;
}
.stack-sticky-bar.is-expanded .stack-sticky-bar__chev {
  transform: rotate(180deg);
}
.stack-sticky-drawer {
  border-bottom: 1px solid var(--color-n100);
  padding-bottom: 12px;
  margin-bottom: 10px;
}
.stack-sticky-drawer[hidden] {
  display: none;
}
.stack-sticky-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.stack-sticky-drawer__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-n700);
}
.stack-sticky-drawer__list strong {
  color: var(--color-navy);
  font-weight: 600;
}
.stack-sticky-drawer__sub {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--color-n500);
}
.stack-sticky-bar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .stack-sticky-bar__inner { gap: 10px; }
  .stack-sticky-bar__price { font-size: 19px; }
  .stack-sticky-bar__right .btn { padding: 10px 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-sticky-bar { transition: none !important; }
}

.addon-banner-card { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; justify-content: space-between; gap: 18px 28px !important; padding: 24px 28px !important; min-height: 0 !important; text-align: left; }
.addon-banner-card__copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.addon-banner-card__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 640px) { .addon-banner-card { padding: 20px 18px !important; } .addon-banner-card__actions { width: 100%; } .addon-banner-card__actions .btn { width: 100%; justify-content: center; } }

/* Stripe-style Right-Bleed Hero Showcase on Large Desktops */
@keyframes heroBleedReveal {
  from { opacity: 0; transform: translate3d(28px, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (min-width: 1080px) {
  .inner-hero { overflow-x: clip; }
  .inner-hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
  .inner-hero-grid .workspace-svg-frame {
    width: max(100%, min(900px, calc(100% + max(0px, (100vw - 1200px) / 2) + 64px)));
    border-radius: 16px;
    box-shadow: 0 32px 68px -16px rgba(5, 14, 36, 0.18), 0 14px 32px -12px rgba(6, 73, 213, 0.14);
    animation: heroBleedReveal 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .inner-hero-grid .workspace-svg-frame { animation: none !important; }
}

/* Session Recordings — Stripe-Grade Mesh Spotlight & Mini UI Feature Cards */
.sr-mesh-stage { position: relative; border-radius: var(--radius-2xl, 20px); padding: 40px 36px 0; overflow: hidden; background: radial-gradient(62% 78% at 12% 10%, rgba(130,223,255,0.55) 0%, transparent 62%), radial-gradient(58% 72% at 88% 18%, rgba(99,91,255,0.72) 0%, transparent 65%), radial-gradient(65% 75% at 70% 95%, rgba(6,182,212,0.55) 0%, transparent 65%), linear-gradient(135deg, #0649d5 0%, #2563eb 42%, #635bff 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 24px 60px -18px rgba(37,99,235,0.34); }
.sr-stage-main { position: relative; z-index: 1; width: min(88%, 880px); border-radius: 14px 14px 0 0; background: #fff; border: 1px solid rgba(255,255,255,0.72); border-bottom: 0; box-shadow: 0 28px 70px -16px rgba(5,14,36,0.48); overflow: hidden; }
.sr-stage-main img { display: block; width: 100%; height: auto; }
.sr-stage-float { position: absolute; right: 28px; bottom: 24px; z-index: 3; width: 318px; padding: 16px 18px; border-radius: var(--radius-xl, 16px); background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.85); box-shadow: 0 22px 48px -12px rgba(5,14,36,0.32), 0 4px 12px rgba(5,14,36,0.08); display: flex; flex-direction: column; gap: 10px; font-variant-numeric: tabular-nums; }
.sr-float-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--color-navy); }
.sr-float-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 700; }
.sr-mask-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 9px; background: var(--color-n50); border: 1px solid var(--color-n100); font-size: 12.5px; }
.sr-mask-label { color: var(--color-n500); font-weight: 600; }
.sr-mask-dots { font-weight: 700; letter-spacing: 0.14em; color: var(--color-navy); }
.sr-scrub { display: flex; flex-direction: column; gap: 8px; padding-top: 2px; }
.sr-scrub-track { position: relative; height: 6px; border-radius: 999px; background: var(--color-n100); }
.sr-scrub-fill { position: absolute; inset: 0 auto 0 0; width: 64%; border-radius: 999px; background: linear-gradient(90deg, var(--color-deep), var(--mesh-violet)); }
.sr-scrub-rage { position: absolute; top: 50%; left: 58%; width: 11px; height: 11px; border-radius: 999px; background: #ef4444; border: 2px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(239,68,68,0.22); }
.sr-scrub-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--color-n500); }
.sr-scrub-speed { padding: 2px 8px; border-radius: 999px; background: rgba(99,91,255,0.1); color: var(--mesh-violet); font-weight: 700; }
.sr-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sr-mini-card { display: flex; flex-direction: column; border-radius: var(--radius-2xl, 20px); background: #fff; border: 1px solid var(--color-n100); box-shadow: var(--shadow-bento); overflow: hidden; transition: transform 220ms cubic-bezier(0.22,1,0.36,1), box-shadow 220ms ease; }
.sr-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-bento-hover); }
.sr-mini-visual { height: 140px; padding: 18px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--color-n100); background: radial-gradient(rgba(5,14,36,0.055) 1px, transparent 1px), linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(99,91,255,0.09) 100%); background-size: 14px 14px, 100% 100%; }
.sr-mini-visual--violet { background: radial-gradient(rgba(99,91,255,0.09) 1px, transparent 1px), linear-gradient(135deg, rgba(99,91,255,0.11) 0%, rgba(6,182,212,0.08) 100%); background-size: 14px 14px, 100% 100%; }
.sr-mini-visual--cyan { background: radial-gradient(rgba(6,182,212,0.1) 1px, transparent 1px), linear-gradient(135deg, rgba(6,182,212,0.1) 0%, rgba(37,99,235,0.08) 100%); background-size: 14px 14px, 100% 100%; }
.sr-vig-box { width: 100%; max-width: 256px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(5,14,36,0.08); box-shadow: 0 10px 26px -10px rgba(5,14,36,0.16); display: flex; flex-direction: column; gap: 8px; transition: transform 240ms cubic-bezier(0.22,1,0.36,1), box-shadow 240ms ease; }
.sr-mini-card:hover .sr-vig-box { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(5,14,36,0.22); }
.sr-vig-input-val { display: inline-flex; align-items: center; gap: 3px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; font-weight: 700; color: var(--color-navy); letter-spacing: -0.01em; }
.sr-vig-caret { display: inline-block; width: 2px; height: 13px; border-radius: 1px; background: var(--color-deep); animation: vigCaretBlink 1.15s steps(2, start) infinite; }
.sr-vig-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: #15803d; font-weight: 700; }
.sr-vig-code { color: var(--color-n500); font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10.5px; }
.sr-vig-bar { height: 5px; border-radius: 999px; background: var(--color-n100); overflow: hidden; }
.sr-vig-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--color-deep), var(--mesh-violet)); animation: vigBarBreath 3.6s ease-in-out infinite; transform-origin: left center; }
.sr-vig-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--color-navy); }
.sr-vig-switch { width: 34px; height: 20px; border-radius: 999px; background: var(--color-deep); position: relative; flex-shrink: 0; animation: vigSwitchGlow 3.2s ease-in-out infinite; }
.sr-vig-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(5,14,36,0.25); transition: transform 200ms ease; }
.sr-mini-card:hover .sr-vig-switch::after { transform: scale(1.06); }
.sr-vig-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.sr-vig-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--color-n100); box-shadow: 0 6px 16px -8px rgba(5,14,36,0.15); font-size: 11.5px; font-weight: 700; color: var(--color-navy); transition: transform 200ms ease; }
.sr-mini-card:hover .sr-vig-pill:nth-child(odd) { transform: translateY(-1.5px); }
.sr-mini-card:hover .sr-vig-pill:nth-child(even) { transform: translateY(1px); }
.sr-vig-pill--rage { border-color: rgba(239,68,68,0.28); background: #fef2f2; color: #dc2626; }
.sr-vig-pill--violet { border-color: rgba(99,91,255,0.28); background: rgba(99,91,255,0.08); color: var(--mesh-violet); }
.sr-vig-pill--emerald { border-color: rgba(21,128,61,0.25); background: #f0fdf4; color: #15803d; }
.sr-vig-pill--cobalt { border-color: rgba(6,73,213,0.24); background: rgba(6,73,213,0.07); color: var(--color-deep); }
.sr-vig-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; display: inline-block; animation: vigDotPulse 2.2s ease-in-out infinite; }
@keyframes vigCaretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes vigSwitchGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(6,73,213,0); } 50% { box-shadow: 0 0 0 4px rgba(6,73,213,0.14); } }
@keyframes vigDotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }
@keyframes vigBarBreath { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.15); } }
.sr-mini-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sr-mini-body .h3 { margin: 0; font-size: 17px; }
.sr-mini-body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--color-n700); }
@media (max-width: 860px) {
  .sr-mesh-stage { padding: 22px 16px 18px; border-radius: var(--radius-xl, 16px); }
  .sr-stage-main { width: 100%; border-radius: 12px; border-bottom: 1px solid rgba(255,255,255,0.72); }
  .sr-stage-float { position: static; width: 100%; margin-top: 14px; }
  .sr-mini-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sr-mini-card, .sr-vig-box, .sr-vig-pill, .sr-vig-switch::after { transition: none !important; }
  .sr-vig-caret, .sr-vig-switch, .sr-vig-dot, .sr-vig-bar > i { animation: none !important; }
}

/* Market View — Authentic Stripe Architectural Light Theme */
.mkt-hero { position: relative; background: #fff; color: var(--color-navy); padding-block: 72px 56px; overflow-x: clip; border-bottom: 1px solid #e8edf4; }
.mkt-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.mkt-hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mkt-eyebrow { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--color-deep); letter-spacing: -0.01em; }
.mkt-hero-copy .h1-hero { color: var(--color-navy); font-size: clamp(36px, 4.1vw, 54px); line-height: 1.08; letter-spacing: -0.035em; }
.mkt-hero-copy .lead { margin: 0; font-size: 17px; line-height: 1.55; color: #425466; max-width: 490px; }
.mkt-search-bar { display: flex; gap: 8px; padding: 5px; border-radius: 10px; background: #fff; border: 1px solid #d8dee4; box-shadow: 0 2px 6px rgba(5,14,36,0.04); max-width: 480px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.mkt-search-bar:focus-within { border-color: var(--color-deep); box-shadow: 0 0 0 3px rgba(6,73,213,0.12); }
.mkt-search-bar input { flex: 1 1 0; min-width: 0; border: 0; background: transparent; color: var(--color-navy); padding: 9px 12px; font-size: 15px; outline: none; }
.mkt-search-bar input::placeholder { color: #8792a2; }
.mkt-hero-sublinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
a.mkt-agency-trigger { text-decoration: none; }
.mkt-hero-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 11px; border-radius: 999px; border: 1px solid #d8dee4; background: #f8fafc; color: #425466; font-size: 12px; font-weight: 600; line-height: 1.3; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.mkt-hero-chip__icon { border-color: #cbd5e1; color: #425466; }
.mkt-hero-chip:hover, .mkt-hero-chip:focus-visible { background: #f1f5f9; border-color: #cbd5e1; color: var(--color-navy); box-shadow: 0 0 0 3px rgba(5, 14, 36, 0.06); outline: none; }
.mkt-hero-chip:hover .mkt-hero-chip__icon, .mkt-hero-chip:focus-visible .mkt-hero-chip__icon { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.mkt-preview-card { background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; box-shadow: 0 30px 60px -12px rgba(50,50,93,0.12), 0 18px 36px -18px rgba(0,0,0,0.12); overflow: hidden; font-variant-numeric: tabular-nums; }
.mkt-preview-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; border-bottom: 1px solid #eef2f6; font-size: 11.5px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; background: #fafbfd; }
.mkt-preview-row { display: grid; grid-template-columns: minmax(0, 1.3fr) 88px 42px 64px; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #f1f5f9; font-size: 13.5px; text-decoration: none; color: inherit; transition: background 140ms ease; }
.mkt-preview-row:hover { background: #f8fafc; }
.mkt-preview-row:last-of-type { border-bottom: 0; }
.mkt-preview-domain { font-weight: 600; color: var(--color-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkt-preview-status { font-size: 12px; font-weight: 600; color: var(--color-success); }
.mkt-preview-status--idx { color: #64748b; font-weight: 500; }
.mkt-preview-score { font-weight: 700; color: var(--color-navy); text-align: right; }
.mkt-preview-bar { height: 4px; border-radius: 999px; background: #eef2f6; overflow: hidden; }
.mkt-preview-bar i { display: block; height: 100%; background: var(--color-deep); border-radius: 999px; }
.mkt-preview-foot { padding: 11px 18px; border-top: 1px solid #eef2f6; background: #fafbfd; font-size: 12px; color: #64748b; }
.mkt-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 52px; padding-top: 32px; border-top: 1px solid #e8edf4; }
.mkt-metric { padding-left: 14px; border-left: 2px solid var(--color-deep); font-variant-numeric: tabular-nums; }
.mkt-metric strong { display: block; font-size: 22px; font-weight: 700; color: var(--color-navy); line-height: 1.2; letter-spacing: -0.02em; }
.mkt-metric span { display: block; font-size: 13px; color: #64748b; margin-top: 3px; }
.mkt-dir-section { background: #f6f9fc; padding-block: 56px 72px; }
.mkt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; box-shadow: 0 1px 2px rgba(5,14,36,0.03); margin-bottom: 18px; }
.mkt-toolbar select, .mkt-toolbar input { border: 1px solid #e3e8ee; border-radius: 7px; padding: 8px 11px; font-size: 13.5px; color: var(--color-navy); background: #fff; outline: none; }
.mkt-toolbar select:focus, .mkt-toolbar input:focus { border-color: var(--color-deep); }
.mkt-table-card { background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; overflow-x: auto; box-shadow: 0 2px 8px rgba(5,14,36,0.04); }
.mkt-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 720px; }
.mkt-table thead th { padding: 12px 18px; text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; background: #fafbfd; border-bottom: 1px solid #e8edf4; }
.mkt-table tbody td { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; color: #425466; vertical-align: middle; }
.mkt-table tbody tr:last-child td { border-bottom: 0; }
.mkt-table tbody tr:hover td { background: #f8fafc; }
.mkt-monogram-flat { width: 28px; height: 28px; border-radius: 7px; background: #f1f5f9; color: var(--color-navy); border: 1px solid #e2e8f0; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mkt-monogram-flat.is-ver { background: rgba(6,73,213,0.08); color: var(--color-deep); border-color: rgba(6,73,213,0.2); }
#mkt-results { transition: opacity 160ms ease; }
#mkt-results.is-loading { opacity: 0.45; pointer-events: none; }
@media (min-width: 1180px) { .mkt-preview-card { margin-right: -36px; } }
@media (max-width: 980px) { .mkt-hero-grid { grid-template-columns: 1fr; gap: 32px; } .mkt-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; } }
@media (max-width: 600px) {
  .mkt-hero { padding-block: 44px 40px; }
  .mkt-search-bar { flex-direction: column; padding: 8px; gap: 8px; width: 100%; max-width: 100%; box-sizing: border-box; }
  .mkt-search-bar input { flex: none; width: 100%; min-height: 44px; padding: 10px 12px; font-size: 16px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; box-sizing: border-box; }
  .mkt-search-bar .btn { width: 100%; justify-content: center; }
  .mkt-preview-row { grid-template-columns: minmax(0, 1fr) auto 40px; }
  .mkt-preview-bar { display: none; }
}

.adstxt-gate-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.mkt-claim-overlay .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  justify-content: center;
}
@media (max-width: 640px) {
  .adstxt-gate-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .adstxt-gate-actions .btn,
  .mkt-claim-overlay .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 13.5px;
    box-sizing: border-box;
  }
}

/* Pricing Sticky Top Subnav + Extended Stack Stepper + Order Checkout Modal */
.nav-more {
  position: relative;
  display: none;
  align-items: center;
}
.nav-more-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-n700);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-more-trigger:hover,
.nav-more-trigger[aria-expanded="true"] {
  background: var(--color-n50);
  color: var(--color-deep);
}
.nav-more-trigger img {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}
.nav-more-trigger[aria-expanded="true"] img {
  transform: rotate(180deg);
}
.nav-more-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 176px;
  padding: 6px;
  border: 1px solid var(--color-n100);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 14px 32px rgba(5, 14, 36, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 80;
}
.nav-more-menu[hidden] {
  display: none !important;
}
.nav-more-item {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-n700);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.nav-more-item:hover {
  background: var(--color-n50);
  color: var(--color-deep);
}
@media (min-width: 901px) and (max-width: 1280px) {
  .nav-guide-link--collapsible {
    display: none;
  }
  .nav-more {
    display: inline-flex;
  }
  .nav-bar {
    gap: 10px;
  }
  .nav-links {
    gap: 4px;
  }
  .nav-actions {
    gap: 10px;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .lang-trigger__label {
    display: none;
  }
  .nav-trigger,
  .nav-guide-link,
  .nav-more-trigger {
    padding: 9px 9px;
  }
  .nav-actions .btn--primary {
    padding: 10px 14px;
    font-size: 13.5px;
  }
}
@media (max-width: 420px) {
  .lang-trigger__label {
    display: none;
  }
}
.pricing-subnav .page-subnav__inner {
  gap: 12px;
  min-height: 52px;
}
.pricing-subnav .page-subnav__links {
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.pricing-subnav .page-subnav__link {
  padding: 6px 11px;
  font-size: 13.5px;
}
.pricing-subnav__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-block: 5px;
}
.pricing-subnav .pricing-seg {
  padding: 3px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(5, 14, 36, 0.05);
}
.pricing-subnav .pricing-seg__thumb {
  top: 3px;
  bottom: 3px;
}
.pricing-subnav .pricing-seg__btn {
  padding: 5px 11px;
  font-size: 12.5px;
  gap: 5px;
  white-space: nowrap;
}
.pricing-subnav .pricing-save-pill {
  padding: 1px 6px;
  font-size: 10.5px;
}
@media (max-width: 860px) {
  .pricing-subnav .page-subnav__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-block: 6px;
    min-height: 0;
  }
  .pricing-subnav__controls {
    order: -1;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding-block: 0;
  }
  .pricing-subnav .pricing-seg--billing {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
  }
  .pricing-subnav .pricing-seg--billing .pricing-seg__btn {
    flex: 1 1 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 6px 8px;
    font-size: 12px;
    gap: 4px;
  }
  .pricing-subnav .pricing-seg--currency .pricing-seg__btn {
    padding: 6px 9px;
    font-size: 12px;
  }
  .pricing-subnav .page-subnav__links {
    width: 100%;
    justify-content: space-between;
    padding-block: 2px 0;
    gap: 1px;
  }
  .pricing-subnav .page-subnav__link {
    padding: 4px 6px;
    font-size: 11.5px;
  }
}

.order-modal .pricing-seg__thumb {
  display: none !important;
}
.order-modal .pricing-seg__btn.is-active {
  background: var(--color-navy);
  color: var(--color-white);
}

[hidden] {
  display: none !important;
}

/* Dedicated /checkout Page (Mobile-first & Analytics-friendly) */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}
.checkout-summary-card {
  position: sticky;
  top: 100px;
  background: #f8fafd;
  border: 1px solid #dfe5ec;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 32px -12px rgba(5, 14, 36, 0.08);
}
.checkout-form-card {
  background: #ffffff;
  border: 1px solid #dfe5ec;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 32px -12px rgba(5, 14, 36, 0.08);
}
.checkout-pill-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #eef2f7;
  border: 1px solid #dfe5ec;
  gap: 2px;
}
.checkout-pill-switch button {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.checkout-pill-switch button.is-active {
  background: var(--color-navy);
  color: #fff;
}
.checkout-select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}
.checkout-addons-details {
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}
.checkout-addons-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
}
.checkout-addons-details summary::-webkit-details-marker {
  display: none;
}
.checkout-addons-list {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  display: grid;
  gap: 6px;
}
.checkout-addon-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-n700);
  cursor: pointer;
  padding: 4px 2px;
}
.checkout-addon-row.is-included {
  opacity: 0.65;
  cursor: default;
}
.checkout-addon-row__name {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.checkout-addon-row__price {
  font-weight: 700;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.checkout-submit-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .checkout-summary-card {
    position: static;
    padding: 18px 16px;
  }
  .checkout-form-card {
    padding: 20px 16px;
  }
}
@media (max-width: 640px) {
  .order-form-grid input,
  .order-form-grid select,
  .order-form-grid textarea,
  .checkout-select {
    font-size: 16px;
  }
  .checkout-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .checkout-submit-row .btn {
    width: 100%;
    justify-content: center;
  }
}

.stack-sites-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--color-n200);
  border-radius: 14px;
  background: #fff;
}
.stack-sites-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-n50);
  border: 1px solid var(--color-n200);
  border-radius: 999px;
  padding: 4px;
}
.stack-sites-stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-n200);
  background: #fff;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.stack-sites-stepper button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.stack-sites-stepper strong {
  min-width: 64px;
  text-align: center;
  font-size: 14px;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
}

.order-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 17, 38, 0.62);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}
.order-modal-backdrop[hidden] {
  display: none !important;
}
.order-modal {
  width: 100%;
  max-width: 980px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--color-n200);
  box-shadow: 0 32px 80px rgba(8, 17, 38, 0.28);
}
.order-modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-n100);
}
.order-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-n200);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  color: var(--color-n700);
}
.order-modal__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
}
.order-modal__receipt {
  background: #f8fafd;
  border-right: 1px solid var(--color-n100);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-modal__form-col {
  padding: 22px 24px;
}
.order-receipt-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}
.order-receipt-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--color-n200);
}
.order-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.order-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-n700);
}
.order-form-grid label.full {
  grid-column: 1 / -1;
}
.order-form-grid input,
.order-form-grid select,
.order-form-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 14px;
  color: var(--color-navy);
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.order-form-grid input:focus,
.order-form-grid select:focus,
.order-form-grid textarea:focus {
  outline: none;
  border-color: var(--color-deep);
  box-shadow: 0 0 0 3px rgba(8, 124, 243, 0.12);
}
@media (max-width: 820px) {
  .order-modal__grid {
    grid-template-columns: 1fr;
  }
  .order-modal__receipt {
    border-right: 0;
    border-bottom: 1px solid var(--color-n100);
  }
  .order-form-grid {
    grid-template-columns: 1fr;
  }
}


/* Keep availability icons aligned with their descriptions on every viewport. */
#availability .avail-row:has(> .bento-icon-badge),
#availability .avail-row.avail-row--icon {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
}
#availability .avail-row .bento-icon-badge {
  margin-top: 2px;
}


.avail-row.avail-row--icon {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
}
.avail-row--icon .bento-icon-badge {
  margin-top: 2px;
}


[aria-labelledby="measurement-demo-title"] .ab-table tbody tr {
  cursor: default;
}


.bento-expand-btn {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
}
.bento-expand-btn:focus-visible, .plan-detail-trigger:focus-visible {
  outline: 3px solid var(--color-deep);
  outline-offset: 3px;
}
.plan-detail-trigger {
  align-self: flex-start;
  margin-top: auto;
  border: 0;
  padding: 16px 0 0;
  background: transparent;
  color: var(--color-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.plan-detail-trigger:hover { text-decoration: underline; }
.pricing-detail-dialog { width: min(1040px, calc(100vw - 32px)); }
.plan-detail-description { margin: 0; color: var(--color-n700); }
.plan-detail-heading { margin: 24px 0 14px; font-size: 17px; }
.plan-detail-list { gap: 10px; font-size: 15px; }
.plan-detail-link { display: inline-block; margin-top: 24px; }
@media (max-width: 820px) {
  .bento-dialog {
    width: calc(100% - 16px);
    max-height: min(90vh, 90dvh);
    border-radius: 18px 18px 0 0;
  }
  .bento-dialog__close { width: 44px; height: 44px; }
  .bento-dialog__inner { padding: 24px 20px max(32px, env(safe-area-inset-bottom)); }
}


.plan-detail-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
}
#compare-ad-servers .compare-table { min-width: 980px; }
#compare-ad-servers .compare-table thead th:first-child { width: 21%; }


.pricing-card__bullets li,
.plan-detail-list li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
}
.pricing-card__bullets li::before,
.plan-detail-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--color-deep);
}
