/* ─── Block 1: Custom Properties ─── */
:root {
  --color-bg: #0b0f19;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-border: rgba(255, 255, 255, 0.08);
  --color-text-main: #f0ede8;
  --color-text-dim: #e2ddd6;
  --color-text-mute: #94a3b8;
  --color-teal: #01696f;
  --color-teal-hover: #018a90;
  --color-teal-mid: #019ea8;
  --color-teal-glow: rgba(1, 106, 111, 0.35);
  --color-amber: #C8893C;
  --color-amber-soft: rgba(200, 137, 60, 0.08);
  --color-amber-glow: rgba(200, 137, 60, 0.15);
  --color-navy-card: #111827;
  --color-card-border: rgba(255, 255, 255, 0.06);
  --color-success: #10b981;
  --color-error: #ef4444;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --font-display: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --color-btn-primary: var(--color-teal);
  --color-btn-primary-hover: var(--color-teal-hover);
  --color-btn-primary-glow: var(--color-teal-glow);
}

html[data-theme="light"] {
  /* White + Peach palette */
  --color-bg: #ffffff;
  --color-surface: rgba(232, 131, 90, 0.04);
  --color-surface-border: rgba(220, 120, 70, 0.1);
  --color-text-main: #1a1412;
  --color-text-dim: #3c2a22;
  --color-text-mute: #9b7b70;
  --color-teal-glow: rgba(1, 106, 111, 0.15);
  --color-navy-card: #ffffff;
  --color-card-border: rgba(220, 140, 80, 0.1);
  --color-amber: #e8835a;
  --color-amber-soft: rgba(232, 131, 90, 0.08);
  --color-amber-glow: rgba(232, 131, 90, 0.14);
  /* Peach section tints */
  --color-section-warm: #fff8f3;
  --color-section-deep: #fff0e6;
  --color-footer-bg: #ffeee3;

  --color-btn-primary: var(--color-amber);
  --color-btn-primary-hover: #d1754e;
  --color-btn-primary-glow: var(--color-amber-glow);
}

/* ─── Block 2: Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 300ms ease, color 300ms ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(1, 106, 111, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(200, 137, 60, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(232, 131, 90, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 5%, rgba(1, 106, 111, 0.06) 0%, transparent 50%);
}

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

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Block 3: Layout Utilities ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
  z-index: 1;
}

.section {
  padding-block: var(--space-3xl);
  position: relative;
}

.section__header {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  text-align: left;
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text-main);
  margin-bottom: var(--space-md);
}

.section__subheading {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text-dim);
  max-width: 560px;
}

/* ─── Block 4: Animation states ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: none;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms var(--ease-spring),
    transform 700ms var(--ease-spring);
}

/* ─── Block 5: R2 placeholder + shimmer ─── */
[data-r2-slot] {
  background: var(--color-navy-card);
  border: 1px dashed rgba(1, 106, 111, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(1, 106, 111, 0.55);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

html[data-theme="light"] [data-r2-slot] {
  background: #fff8f3;
  border: 1px dashed rgba(232, 131, 90, 0.4);
  color: rgba(200, 100, 60, 0.65);
  box-shadow: 0 1px 4px rgba(200, 100, 60, 0.06);
}

[data-r2-slot]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(1, 106, 111, 0.06) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

html[data-theme="light"] [data-r2-slot]::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 131, 90, 0.08) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
}

[data-r2-slot]::after {
  content: attr(data-r2-slot);
  position: relative;
  z-index: 1;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.r2-placeholder__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: rgba(1, 106, 111, 0.55);
  letter-spacing: -0.02em;
  text-transform: none;
}

html[data-theme="light"] .r2-placeholder__label {
  color: rgba(200, 100, 60, 0.55);
}

.r2-placeholder__label--lg {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* ─── Block 6: Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  min-height: 44px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-btn-primary);
  color: #ffffff;
  border: 1px solid var(--color-btn-primary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-btn-primary-hover);
  border-color: var(--color-btn-primary-hover);
  box-shadow: 0 0 0 4px var(--color-btn-primary-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

html[data-theme="light"] .btn--ghost {
  border-color: rgba(200, 100, 60, 0.25);
  color: var(--color-text-main);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: rgba(1, 106, 111, 0.06);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: 10px;
  min-height: 48px;
}

.btn--full-width { width: 100%; }

/* ─── Block 7: Pills ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

.pill--amber {
  background: var(--color-amber-soft);
  color: var(--color-amber);
  border: 1px solid rgba(200, 137, 60, 0.3);
}

html[data-theme="light"] .pill--amber {
  background: rgba(232, 131, 90, 0.1);
  color: #c05c30;
  border-color: rgba(232, 131, 90, 0.3);
}

.pill--sm {
  font-size: 0.6rem;
  padding: 2px 8px;
  letter-spacing: 0.1em;
}

/* ─── Block 8: Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 68px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.navbar__logo-container {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 4px;
}
.footer__logo-container {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.navbar__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.navbar__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

.navbar__brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--color-text-mute);
}

.navbar__links {
  display: none;
  gap: var(--space-lg);
}

.navbar__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-dim);
  position: relative;
  padding: 12px 4px;
  transition: color 200ms ease;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--color-teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 250ms var(--ease-spring);
}

.navbar__link:hover,
.navbar__link:focus-visible {
  color: var(--color-text-main);
}

.navbar__link:hover::after,
.navbar__link:focus-visible::after {
  transform: scaleX(1);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar__theme-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.theme-toggle__notation {
  margin-right: 8px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
}

.theme-toggle__track {
  position: relative;
  width: 68px;
  height: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  transition: all 300ms var(--ease-spring);
}

html[data-theme="light"] .theme-toggle__track {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

.theme-toggle__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--color-text-mute);
  transition: color 300ms ease;
}

.theme-toggle__icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
}

.theme-toggle__pill {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  background: var(--color-teal);
  border-radius: 50%;
  z-index: 1;
  transition: transform 300ms var(--ease-spring), background-color 300ms ease;
  box-shadow: 0 2px 8px rgba(0, 105, 111, 0.3);
}

/* State changes */
html[data-theme="light"] .theme-toggle__icon--sun { color: white; }
html[data-theme="dark"] .theme-toggle__icon--moon { color: white; }

html[data-theme="light"] .theme-toggle__pill {
  transform: translateX(0);
  background: #e8835a;
  box-shadow: 0 2px 8px rgba(232, 131, 90, 0.3);
}

html[data-theme="dark"] .theme-toggle__pill {
  transform: translateX(34px);
  background: var(--color-teal);
}

.navbar__cta { display: none; }

.navbar__hamburger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  border-radius: var(--radius-sm);
  transition: background 200ms ease;
}

.navbar__hamburger:hover,
.navbar__hamburger:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .navbar__hamburger:hover,
html[data-theme="light"] .navbar__hamburger:focus-visible {
  background: rgba(232, 131, 90, 0.1);
}

/* ─── Block 9: Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 280ms ease, transform 280ms ease;
}

html[data-theme="light"] .mobile-menu {
  background: #ffffff;
}

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

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  border-radius: var(--radius-sm);
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .mobile-menu__close:hover,
html[data-theme="light"] .mobile-menu__close:focus-visible {
  background: rgba(232, 131, 90, 0.1);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  padding: 8px 0;
  transition: color 200ms ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  color: var(--color-teal);
}

.mobile-menu__cta {
  margin-top: var(--space-md);
  width: fit-content;
}

/* ─── Block 10: Hero ─── */
.section--hero {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-text-main);
  max-width: 18ch;
}

.hero__headline-accent {
  color: var(--color-teal);
}

html[data-theme="light"] .hero__headline-accent {
  color: #01696f;
}

.hero__tagline {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  max-width: 56ch;
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 360px;
}

.hero__ctas .btn { width: 100%; }

.hero__social-proof {
  font-size: 0.85rem;
  color: var(--color-text-mute);
  max-width: 52ch;
}

.hero__visual {
  position: relative;
  width: 100%;
}

.hero__glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center, rgba(1, 106, 111, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

html[data-theme="light"] .hero__glow {
  background: radial-gradient(ellipse at center, rgba(232, 131, 90, 0.12) 0%, transparent 65%);
}

.hero-image-placeholder,
.hero__screenshot {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
}

/* ─── Block 11: Features ─── */
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature-card {
  background: #131920;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] .feature-card {
  background: #ffffff;
  border-color: rgba(220, 140, 80, 0.12);
  box-shadow:
    0 1px 2px rgba(200, 100, 60, 0.05),
    0 4px 16px rgba(200, 100, 60, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* ─── Mouse Tracking Glow ─── */
.feature-card__mouse-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 191, 204, 0.12),
    transparent 40%
  );
  opacity: 0.2; /* Subtle ambient glow */
  transition: opacity 400ms ease;
}

.feature-card:hover .feature-card__mouse-glow {
  opacity: 0.8; /* Stronger on hover */
}

html[data-theme="light"] .feature-card__mouse-glow {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(232, 131, 90, 0.15),
    transparent 40%
  );
  opacity: 0.1;
}

html[data-theme="light"] .feature-card:hover .feature-card__mouse-glow {
  opacity: 0.6;
}


.feature-card:hover {
  border-color: rgba(1, 106, 111, 0.45);
  transform: translateY(-2px);
}

html[data-theme="light"] .feature-card:hover {
  border-color: rgba(232, 131, 90, 0.3);
  box-shadow:
    0 2px 4px rgba(200, 100, 60, 0.07),
    0 12px 32px rgba(200, 100, 60, 0.1),
    0 0 0 1px rgba(232, 131, 90, 0.15);
}

/* Top accent line instead of left border — works in both themes */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), transparent 70%);
  opacity: 0;
  transition: opacity 250ms ease;
}

.feature-card:hover::before {
  opacity: 1;
}

html[data-theme="light"] .feature-card::before {
  background: linear-gradient(90deg, #e8835a, transparent 70%);
}

.feature-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.feature-card__icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(1, 106, 111, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  flex-shrink: 0;
}

html[data-theme="light"] .feature-card__icon-wrap {
  background: rgba(232, 131, 90, 0.1);
  color: #c05c30;
}

.feature-card__icon {
  width: 22px;
  height: 22px;
}

.feature-card__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-mute);
}

.feature-card__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--color-text-main);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.feature-card__body {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.65;
  max-width: 56ch;
}

.feature-card__body--wide {
  max-width: 85ch;
}

.feature-card__visual {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  min-height: 120px;
}

.feature-card__visual--sm {
  aspect-ratio: 16 / 7;
  min-height: 80px;
}

/* ─── Block 12: How It Works ─── */
.section--how-it-works {
  background: transparent;
}

html[data-theme="light"] .section--how-it-works {
  background: #fff8f3;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  position: relative;
}

.timeline__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.timeline__step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--color-amber);
  letter-spacing: 0.12em;
}

.timeline__icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(1, 106, 111, 0.08);
}

.timeline__icon-circle--teal { background: var(--color-teal); }
.timeline__icon-circle--amber {
  background: var(--color-amber);
  box-shadow: 0 0 0 6px rgba(200, 137, 60, 0.1);
}

html[data-theme="light"] .timeline__icon-circle--teal {
  box-shadow: 0 0 0 8px rgba(1, 106, 111, 0.1), 0 4px 14px rgba(1, 106, 111, 0.18);
}

html[data-theme="light"] .timeline__icon-circle--amber {
  background: #e8835a;
  box-shadow: 0 0 0 8px rgba(232, 131, 90, 0.12), 0 4px 14px rgba(232, 131, 90, 0.2);
}

.timeline__icon {
  width: 24px;
  height: 24px;
}

.timeline__step-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

.timeline__step-copy {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  max-width: 36ch;
  line-height: 1.6;
}

/* ─── Block 13: Video ─── */
.section--video {
  background: linear-gradient(180deg, transparent 0%, rgba(1, 106, 111, 0.04) 50%, transparent 100%);
}

html[data-theme="light"] .section--video {
  background: #fff8f3;
}

.video-container {
  max-width: 880px;
  margin: 0 auto;
}

.video-placeholder,
.video-placeholder.r2-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid rgba(1, 106, 111, 0.3);
  border-radius: var(--radius-lg);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--color-navy-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .video-placeholder {
  border-color: rgba(232, 131, 90, 0.25);
  background: #fff0e6;
  box-shadow: 0 4px 24px rgba(200, 100, 60, 0.1), 0 1px 0 rgba(200, 100, 60, 0.06);
}

.video-placeholder__play-btn {
  width: 72px;
  height: 72px;
  background: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 0 14px var(--color-teal-glow);
  transition: transform 250ms var(--ease-spring), box-shadow 250ms ease;
  position: relative;
  z-index: 2;
}

.video-placeholder:hover .video-placeholder__play-btn,
.video-placeholder:focus-visible .video-placeholder__play-btn {
  transform: scale(1.08);
  box-shadow: 0 0 0 18px var(--color-teal-glow);
}

.video-placeholder__play-icon {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

[data-r2-slot="marketing-video"]::after { content: none; }
[data-r2-slot="marketing-video"]::before { animation: none; opacity: 0.4; }

.video-caption {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-text-mute);
}

/* ─── Block 14: Screenshots ─── */
.screenshots__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.screenshot-card__frame {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius-md);
  border-bottom: 3px solid var(--color-teal);
  background: var(--color-navy-card);
  overflow: hidden;
  position: relative;
}

html[data-theme="light"] .screenshot-card__frame {
  background: #fff8f3;
  border-bottom-color: #e8835a;
  box-shadow: 0 2px 8px rgba(200, 100, 60, 0.07), 0 8px 24px rgba(200, 100, 60, 0.08);
}

.screenshot-card__caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  padding-inline: 4px;
}

/* ─── Block 15: About ─── */
.about__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text-main);
}

.about__body {
  font-size: 1rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  max-width: 56ch;
}

.about__verticals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.vertical-pill {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--color-text-dim);
  border: 1px solid rgba(1, 106, 111, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html[data-theme="light"] .vertical-pill {
  border-color: rgba(232, 131, 90, 0.3);
  background: rgba(232, 131, 90, 0.06);
  color: var(--color-text-dim);
}

.vertical-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-amber);
  flex-shrink: 0;
}

.about__photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ─── Block 16: Contact ─── */
.section--contact {
  background: transparent;
}

html[data-theme="light"] .section--contact {
  background: #fff8f3;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-field__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-field__input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  width: 100%;
  min-height: 48px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
  appearance: none;
}

html[data-theme="light"] .form-field__input {
  background: #ffffff;
  border-color: rgba(220, 140, 80, 0.2);
  color: var(--color-text-main);
  box-shadow: 0 1px 2px rgba(200, 100, 60, 0.04);
}

html[data-theme="light"] .form-field__input:hover {
  border-color: rgba(220, 140, 80, 0.35);
}

.form-field__input::placeholder {
  color: var(--color-text-mute);
  opacity: 0.7;
}

.form-field__input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(1, 106, 111, 0.14);
}

html[data-theme="light"] .form-field__input:focus {
  background: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(1, 106, 111, 0.1);
}

.form-field__input.is-invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.form-field__input--textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form__submit {
  margin-top: var(--space-sm);
}

.contact-form__success {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-success);
  animation: successPop 500ms var(--ease-spring);
}

html[data-theme="light"] .contact-form__success {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.2);
}

@keyframes successPop {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-form__success-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-form__success-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-success);
  line-height: 1.5;
}

.contact-form__success-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-form__email-link {
  display: inline-block;
  margin-top: var(--space-lg);
  text-align: center;
  width: 100%;
  font-size: 0.85rem;
  color: var(--color-text-mute);
}

.contact-form__email-link a {
  color: var(--color-teal);
  font-weight: 500;
  border-bottom: 1px dotted rgba(1, 106, 111, 0.4);
}

html[data-theme="light"] .contact-form__email-link a {
  color: #01696f;
  border-bottom-color: rgba(1, 106, 111, 0.3);
}

.form-field__select-wrap {
  position: relative;
}

.form-field__select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text-dim);
  border-bottom: 2px solid var(--color-text-dim);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.form-field__select-wrap .form-field__input {
  padding-right: 44px;
  cursor: pointer;
}

option {
  background: var(--color-navy-card);
  color: var(--color-text-main);
}

/* ─── Block 17: Footer ─── */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: var(--space-2xl);
  background: var(--color-bg);
  position: relative;
  z-index: 1;
}

html[data-theme="light"] .footer {
  border-top-color: rgba(220, 120, 70, 0.15);
  background: #ffeee3;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo-container {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 4px;
}

.footer__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.1;
}

.footer__brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--color-text-mute);
}

.footer__powered {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-mute);
  margin-top: 4px;
}

.footer__col-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text-dim);
  transition: color 200ms ease;
  padding: 4px 0;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--color-teal);
}

html[data-theme="light"] .footer__link:hover,
html[data-theme="light"] .footer__link:focus-visible {
  color: #c05c30;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-dim);
  transition: background 200ms ease, color 200ms ease;
}

html[data-theme="light"] .footer__social-link {
  background: rgba(220, 120, 70, 0.08);
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  background: rgba(1, 106, 111, 0.14);
  color: var(--color-teal);
}

html[data-theme="light"] .footer__social-link:hover,
html[data-theme="light"] .footer__social-link:focus-visible {
  background: rgba(232, 131, 90, 0.2);
  color: #c05c30;
}

.footer__social-link i {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-xl);
  margin-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .footer__bottom {
  border-top-color: rgba(220, 120, 70, 0.12);
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-mute);
}

.footer__legal-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__legal-links .footer__link {
  font-size: 0.78rem;
}

/* ─── Block 18: @media (min-width: 768px) ─── */
@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }

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

  .section__header {
    text-align: left;
    margin-inline: 0;
  }

  .navbar__links {
    display: flex;
  }

  .navbar__cta {
    display: inline-flex;
  }

  .navbar__hamburger {
    display: none;
  }

  .hero__text {
    align-items: flex-start;
    text-align: left;
  }

  .hero__headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  }

  .hero__ctas {
    flex-direction: row;
    max-width: none;
    width: auto;
  }

  .hero__ctas .btn {
    width: auto;
  }

  .timeline {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .timeline__step {
    flex: 1;
    align-items: center;
    text-align: center;
  }

  .timeline__step-copy {
    max-width: 24ch;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 14%;
    right: 14%;
    border-top: 1px dashed rgba(1, 106, 111, 0.4);
    z-index: 0;
  }

  html[data-theme="light"] .timeline::before {
    border-top-color: rgba(232, 131, 90, 0.3);
  }

  .screenshots__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2xl);
  }

  .about__text {
    flex: 0 0 55%;
  }

  .about__visual {
    flex: 0 0 calc(45% - var(--space-2xl));
  }

  .footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2xl);
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer__col--brand { flex: 1 1 280px; }
  .footer__col--links { flex: 0 0 auto; min-width: 140px; }
  .footer__col--social { flex: 0 0 auto; min-width: 140px; }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

/* ─── Block 19: @media (min-width: 1280px) ─── */
@media (min-width: 1280px) {
  .section {
    padding-block: 120px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2xl);
  }

  .hero__text {
    flex: 0 0 55%;
  }

  .hero__visual {
    flex: 0 0 calc(45% - var(--space-2xl));
  }

  .hero-image-placeholder,
  .hero__screenshot {
    aspect-ratio: 4 / 5;
  }

  /* The feature grid stays one column at every width: each feature is a
     full-width band (Block 23). The old 8 + 4 split left the short Writing
     assistant card beside the tall Command Center with an empty area under it. */
  .features__grid { gap: var(--space-lg); }

  /* ─── Block 11.5: Dashboard Float Button ─── */
  .feature-card__dashboard-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: var(--space-lg);
  }

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

  .btn--dashboard-float {
    position: relative;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
    border: none;
    box-shadow:
      0 4px 12px rgba(1, 106, 111, 0.25),
      0 12px 24px rgba(1, 106, 111, 0.15);
    animation: dashboardBtnFloat 3.5s ease-in-out infinite;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  }

  .btn--dashboard-float:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
      0 8px 20px rgba(1, 106, 111, 0.35),
      0 18px 36px rgba(1, 106, 111, 0.2);
    background: linear-gradient(135deg, var(--color-teal-light), var(--color-teal));
  }

  @keyframes dashboardBtnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  html[data-theme="light"] .btn--dashboard-float {
    background: linear-gradient(135deg, #e8835a, #d46a45);
    box-shadow:
      0 4px 12px rgba(232, 131, 90, 0.25),
      0 12px 24px rgba(232, 131, 90, 0.15);
  }

  html[data-theme="light"] .btn--dashboard-float:hover {
    background: linear-gradient(135deg, #f09a78, #e8835a);
  }

  .timeline {
    gap: 0;
  }
}

/* ─── Block 20: Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  [data-animate].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-r2-slot]::before {
    animation: none;
  }
}

/* ─── Hero Card Showcase (New VarsaCore Design) ─── */
.hero__visual {
  --c-teal:     #01696f;
  --c-teal-mid: #019ea8;
  --c-gold:     #FBBC04;
  --c-amber:    #da7101;
  --transition-fast: 180ms cubic-bezier(0.16,1,0.3,1);
  --shadow-glow: 0 0 60px rgba(1,105,111,0.18), 0 28px 70px rgba(0,0,0,0.6);

  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.scene {
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.card-wrap {
  position: relative;
  opacity: 0;
  transform: translateY(-80px) scale(0.92);
  transform-style: preserve-3d;
  z-index: 1;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  justify-content: center;
  align-items: center;
}

.varsacore-card {
  display: block;
  width: clamp(260px, 34vw, 320px);
  height: auto;
  aspect-ratio: 384/672;
  border-radius: 18px;
  overflow: visible;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  position: relative;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

/* Shimmer overlay */
.shimmer-overlay {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
}

.shimmer-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.08) 38%,
    rgba(255,255,255,0.22) 50%,
    rgba(1,158,168,0.12) 58%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: -250% 0;
  opacity: 0;
}

.shimmer-overlay.shimming::after {
  opacity: 1;
  animation: cardShimmer 2.2s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes cardShimmer {
  0%   {background-position: -250% 0; opacity: 0}
  8%   {opacity: 1}
  85%  {opacity: 0.85}
  100% {background-position: 250% 0; opacity: 0}
}

/* SVG Group states */
#g-platform-name, #g-platform-line, #g-tagline, #g-qr-code, #g-subtitle, #g-badge, #g-powered-by, #top-bar {
  opacity: 0;
}

/* Entry Keyframes */
@keyframes cardEntry {
  0%  {opacity: 0; transform: translateY(-80px) scale(0.91)}
  55% {opacity: 1; transform: translateY(8px)   scale(1.015)}
  75% {transform: translateY(-4px) scale(0.997)}
  100%{opacity: 1; transform: translateY(0)    scale(1)}
}

@keyframes dropIn {
  0%  {opacity: 0; transform: translateY(-40px) scaleY(0.78)}
  50% {opacity: 1; transform: translateY(6px)   scaleY(1.04)}
  72% {transform: translateY(-3px) scaleY(0.99)}
  100%{opacity: 1; transform: translateY(0)    scaleY(1)}
}

@keyframes fadeUp {
  from{opacity: 0; transform: translateY(18px)}
  to  {opacity: 1; transform: translateY(0)}
}

/* Staggered triggers */
.card-wrap.animate {
  animation: cardEntry 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
}

.card-wrap.animate #top-bar { animation: dropIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.9s both; }
.card-wrap.animate #g-qr-code { animation: dropIn 0.95s cubic-bezier(0.16,1,0.3,1) 1.0s both; }
.card-wrap.animate #g-platform-name { animation: dropIn 0.85s cubic-bezier(0.16,1,0.3,1) 1.55s both; }
.card-wrap.animate #g-platform-line { animation: dropIn 0.6s  cubic-bezier(0.16,1,0.3,1) 1.9s both; }
.card-wrap.animate #g-tagline { animation: dropIn 0.7s  cubic-bezier(0.16,1,0.3,1) 2.1s both; }
.card-wrap.animate #g-subtitle { animation: fadeUp 0.75s cubic-bezier(0.16,1,0.3,1) 2.4s both; }
.card-wrap.animate #g-badge { animation: dropIn 0.75s cubic-bezier(0.16,1,0.3,1) 2.75s both; }
.card-wrap.animate #g-powered-by { animation: fadeUp 0.6s  cubic-bezier(0.16,1,0.3,1) 3.1s both; }

/* Tilt adjustment */
.card-wrap {
  will-change: transform;
}

.feature-card__visual--ai {
  margin-top: 32px !important;
  --c-teal:     #01696f;
  --c-teal-mid: #019ea8;
  --c-gold:     #FBBC04;
  --c-amber:    #da7101;
  --ease:       cubic-bezier(0.16,1,0.3,1);

  /* Scoped variables */
  --c-bg:       #0d1117;
  --c-surface:  #161b22;
  --c-surface2: #1c2333;
  --c-border:   #30363d;
  --c-text:     #e6edf3;
  --c-muted:    #8b949e;
  --phone-bg:   #0d1117;
  --phone-border: #30363d;

  font-family: 'Satoshi', system-ui, sans-serif;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: visible;
  aspect-ratio: auto;
}

[data-theme="light"] .feature-card__visual--ai {
  --c-bg:       #f0f4f8;
  --c-surface:  #ffffff;
  --c-surface2: #f6f8fa;
  --c-border:   #d0d7de;
  --c-text:     #1c2128;
  --c-muted:    #57606a;
  --phone-bg:   #f0f4f8;
  --phone-border: #c8d0d9;
}

.feature-card__visual--ai *,
.feature-card__visual--ai *::before,
.feature-card__visual--ai *::after {
  box-sizing: border-box;
}

.feature-card__visual--ai .ai-scene {
  width: 100%;
  max-width: 1060px; /* Fill the container width */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: aisAmbientFloat 6s ease-in-out infinite;
  will-change: transform;
}

.feature-card__visual--ai .ai-phone {
  width: 96%;
  max-width: 1020px;
  background: var(--phone-bg);
  border: 2px solid var(--phone-border);
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(1,158,168,0.12),
    0 0 60px rgba(1,105,111,0.22),
    0 20px 60px rgba(0,0,0,0.6);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
}

.feature-card__visual--ai .ai-phone.in {
  animation: aisPhoneIn 0.9s var(--ease) 0.1s both;
}

@keyframes aisAmbientFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes aisPhoneIn {
  0%   { opacity:0; transform:translateY(30px) scale(0.95); }
  60%  { opacity:1; transform:translateY(-4px) scale(1.008); }
  100% { opacity:1; transform:translateY(0) scale(1); }
}

.feature-card__visual--ai .ai-phone::before {
  content:'';
  position: absolute; left: -3px; top: 60px;
  width: 3px; height: 28px; border-radius: 2px 0 0 2px;
  background: var(--phone-border);
  box-shadow: 0 36px 0 var(--phone-border);
}

.feature-card__visual--ai .ai-phone::after {
  content:'';
  position: absolute; right: -3px; top: 80px;
  width: 3px; height: 38px; border-radius: 0 2px 2px 0;
  background: var(--phone-border);
}

.feature-card__visual--ai .ai-status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px 0;
  font-size: 10px; font-weight: 600; color: var(--c-muted);
  opacity: 0;
}
.feature-card__visual--ai .ai-phone.in .ai-status-bar { animation: aisFadeUp .4s var(--ease) .7s both; }
.feature-card__visual--ai .ai-status-right { display: flex; align-items: center; gap: 5px; }

.feature-card__visual--ai .ai-screen { padding: 8px 14px 16px; }

.feature-card__visual--ai .ai-app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 12px;
  opacity: 0;
}
.feature-card__visual--ai .ai-phone.in .ai-app-bar { animation: aisFadeUp .4s var(--ease) .85s both; }

.feature-card__visual--ai .ai-app-brand { display: flex; align-items: center; gap: 7px; }
.feature-card__visual--ai .ai-app-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: #ffffff; /* Clean background for the logo */
  display: grid; place-items: center; flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.feature-card__visual--ai .ai-app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.feature-card__visual--ai .ai-app-name { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800; font-size: 14px; color: var(--c-text); }
.feature-card__visual--ai .ai-app-sub  { font-size: 11px; color: var(--c-muted); line-height: 1.2; }

.feature-card__visual--ai .ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: .04em;
  background: rgba(218,113,1,0.14); border: 1px solid rgba(218,113,1,0.3);
  color: var(--c-amber);
}
.feature-card__visual--ai .ai-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber);
  animation: aisDot 1.4s ease-in-out infinite;
}
@keyframes aisDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.6)} }

.feature-card__visual--ai .ais-topics-section { margin-bottom: 14px; opacity: 0; }
.feature-card__visual--ai .ai-phone.in .ais-topics-section { animation: aisFadeUp .4s var(--ease) 1.0s both; }
.feature-card__visual--ai .ais-topics-head {
  font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px;
}
.feature-card__visual--ai .ais-topics-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.feature-card__visual--ai .ais-chip {
  padding: 4px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 600;
  background: rgba(1,105,111,0.1); border: 1px solid rgba(1,158,168,0.25);
  color: var(--c-teal-mid); cursor: pointer;
  transition: background 150ms, transform 150ms, border-color 150ms;
  user-select: none;
}
.feature-card__visual--ai .ais-chip.active { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }

.feature-card__visual--ai .ais-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--c-muted);
  margin-bottom: 10px; opacity: 0;
}
.feature-card__visual--ai .ai-phone.in .ais-section-label { animation: aisFadeUp .35s var(--ease) 1.1s both; }

.feature-card__visual--ai .ais-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-card__visual--ai .ais-r-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: border-color 180ms, box-shadow 180ms, transform 160ms ease;
  cursor: pointer;
}
.feature-card__visual--ai .ais-r-card.in { animation: aisCardIn .5s var(--ease) both; }
.feature-card__visual--ai .ais-r-card.in:nth-child(1) { animation-delay: 1.2s; }
.feature-card__visual--ai .ais-r-card.in:nth-child(2) { animation-delay: 1.38s; }
.feature-card__visual--ai .ais-r-card.in:nth-child(3) { animation-delay: 1.56s; }

@keyframes aisCardIn {
  0%   { opacity:0; transform:translateY(16px) scale(.96); }
  60%  { opacity:1; transform:translateY(-3px) scale(1.006); }
  100% { opacity:1; transform:translateY(0) scale(1); }
}

.feature-card__visual--ai .ais-r-card:hover {
  border-color: rgba(1,158,168,.4);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transform: translateY(-2px);
}
.feature-card__visual--ai .ais-r-card.selected {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 2px rgba(1,105,111,.28);
}

.feature-card__visual--ai .ais-card-body-text { padding: 14px 14px 12px; flex: 1; }
.feature-card__visual--ai .ais-card-draft-label {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c-teal-mid);
  margin-bottom: 6px;
  display: flex; align-items: center; justify-content: space-between;
}
.feature-card__visual--ai .ais-card-stars { color: var(--c-gold); font-size: 10px; letter-spacing: 1px; }
.feature-card__visual--ai .ais-card-review-text { font-size: 12px; line-height: 1.6; color: var(--c-text); }
.feature-card__visual--ai .ais-card-review-text strong { color: var(--c-teal-mid); font-weight: 600; }

.feature-card__visual--ai .ais-proceed-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  padding: 7px 8px;
  background: var(--c-surface2);
  border: none;
  border-top: 1px solid var(--c-border);
  color: var(--c-teal-mid);
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms, color 160ms;
}
.feature-card__visual--ai .ais-proceed-btn:hover { background: var(--c-teal); color: #fff; }
.feature-card__visual--ai .ais-proceed-btn.done  { background: rgba(3,160,98,0.18); color: #03a062; }
.feature-card__visual--ai .ais-btn-link-icon { width: 10px; height: 10px; flex-shrink: 0; }

@keyframes aisFadeUp {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}


/* Feature Card Disclaimer */
.feature-card__disclaimer {
  margin-top: 24px;
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.4;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--c-teal-mid);
}

.disclaimer-link {
  color: var(--c-teal-mid);
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
  border-bottom: 1px solid transparent;
}

.disclaimer-link:hover {
  color: var(--c-amber);
  border-bottom-color: var(--c-amber);
}

[data-theme="light"] .feature-card__disclaimer {
  color: #57606a;
}

/* ─── Block 21: Unified Command Center (UCC) ─── */
:root {
  --ucc-surface:        #131920;
  --ucc-surface-2:      #18212b;
  --ucc-surface-offset: #1e2a36;
  --ucc-border:         rgba(255,255,255,0.07);
  --ucc-divider:        rgba(255,255,255,0.06);
  --ucc-primary:        #00bfcc;
  --ucc-primary-dim:    rgba(0, 191, 204, 0.12);
  --ucc-gold:           #f5c842;
}

.ucc-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 520px;
  background: var(--ucc-surface);
  border: 1px solid var(--ucc-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.3),
    0 16px 48px rgba(0,0,0,0.45);
  margin: 0 auto;
  transition: background 250ms ease, border-color 250ms ease;
}

html[data-theme="light"] .ucc-card {
  background: #ffffff;
  border-color: rgba(220, 140, 80, 0.15);
  box-shadow:
    0 1px 2px rgba(200, 100, 60, 0.05),
    0 8px 24px rgba(200, 100, 60, 0.08);
}

.ucc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,191,204,0.6) 30%,
    rgba(0,191,204,0.9) 50%,
    rgba(0,191,204,0.6) 70%,
    transparent 100%
  );
  z-index: 2;
}

html[data-theme="light"] .ucc-card::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 131, 90, 0.4) 30%,
    rgba(232, 131, 90, 0.7) 50%,
    rgba(232, 131, 90, 0.4) 70%,
    transparent 100%
  );
}

.ucc-card::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,191,204,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

html[data-theme="light"] .ucc-card::after {
  background: radial-gradient(ellipse, rgba(232, 131, 90, 0.08) 0%, transparent 70%);
}

.ucc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: var(--ucc-primary-dim);
  border: 1px solid rgba(0,191,204,0.25);
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ucc-primary);
}

html[data-theme="light"] .ucc-chip {
  background: rgba(232, 131, 90, 0.1);
  border-color: rgba(232, 131, 90, 0.2);
  color: #e8835a;
}

.ucc-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ucc-primary);
  box-shadow: 0 0 6px var(--ucc-primary);
  animation: ucc-pulse 2s ease-in-out infinite;
}

html[data-theme="light"] .ucc-chip-dot {
  background: #e8835a;
  box-shadow: 0 0 6px #e8835a;
}

@keyframes ucc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.ucc-card-header {
  position: relative;
  z-index: 2;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--ucc-divider);
}

html[data-theme="light"] .ucc-card-header {
  border-bottom-color: rgba(0,0,0,0.05);
}

.ucc-card-eyebrow { margin-bottom: 16px; }

.ucc-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #e8edf2;
  margin-bottom: 16px;
}

html[data-theme="light"] .ucc-card-title {
  color: #1a1a1a;
}

.ucc-card-title em {
  font-style: normal;
  color: var(--ucc-primary);
}

html[data-theme="light"] .ucc-card-title em {
  color: #e8835a;
}

.ucc-card-subtitle {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #8494a3;
  max-width: 34ch;
}

html[data-theme="light"] .ucc-card-subtitle {
  color: #57606a;
}

.ucc-card-body {
  position: relative;
  z-index: 2;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.ucc-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--ucc-surface-2);
  border: 1px solid var(--ucc-border);
  border-radius: var(--radius-lg);
  transition: border-color 200ms ease, background 200ms ease;
}

html[data-theme="light"] .ucc-feature-row {
  background: #f6f8fa;
  border-color: rgba(0,0,0,0.05);
}

.ucc-feature-row:hover {
  border-color: rgba(0,191,204,0.20);
  background: var(--ucc-surface-offset);
}

html[data-theme="light"] .ucc-feature-row:hover {
  background: #eff1f3;
  border-color: rgba(232, 131, 90, 0.2);
}

.ucc-feature-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--ucc-primary-dim);
  border: 1px solid rgba(0,191,204,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .ucc-feature-icon {
  background: rgba(232, 131, 90, 0.08);
  border-color: rgba(232, 131, 90, 0.15);
}

.ucc-feature-icon svg {
  width: 16px; height: 16px;
  stroke: var(--ucc-primary);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="light"] .ucc-feature-icon svg {
  stroke: #e8835a;
}

.ucc-feature-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e8edf2;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

html[data-theme="light"] .ucc-feature-label {
  color: #1a1a1a;
}

.ucc-feature-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #8494a3;
}

html[data-theme="light"] .ucc-feature-desc {
  color: #57606a;
}
.ucc-card-footer {
  position: relative;
  z-index: 2;
  padding: 0 32px 32px;
}

.ucc-btn-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0f2d35 0%, #0a2029 100%);
  border: 1px solid rgba(0,191,204,0.25);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] .ucc-btn-cta {
  background: linear-gradient(135deg, #e8835a 0%, #d46a45 100%);
  border-color: rgba(232, 131, 90, 0.2);
}

.ucc-btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,191,204,0.06), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ucc-btn-cta:hover {
  border-color: rgba(0,191,204,0.45);
  box-shadow: 0 0 20px rgba(0,191,204,0.12);
}

html[data-theme="light"] .ucc-btn-cta:hover {
  border-color: rgba(232, 131, 90, 0.4);
  box-shadow: 0 8px 24px rgba(232, 131, 90, 0.15);
}

.ucc-btn-cta:hover::before { opacity: 1; }

.ucc-btn-cta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ucc-btn-cta-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  background: var(--ucc-primary-dim);
  border: 1px solid rgba(0,191,204,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html[data-theme="light"] .ucc-btn-cta-icon {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
}

.ucc-btn-cta-icon svg {
  width: 15px; height: 15px;
  stroke: var(--ucc-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="light"] .ucc-btn-cta-icon svg {
  stroke: #ffffff;
}

.ucc-btn-cta-text { text-align: left; }

.ucc-btn-cta-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e8edf2;
  letter-spacing: -0.01em;
}

html[data-theme="light"] .ucc-btn-cta-label {
  color: #ffffff;
}

.ucc-btn-cta-hint {
  display: block;
  font-size: 0.7rem;
  color: #8494a3;
  margin-top: 1px;
}

html[data-theme="light"] .ucc-btn-cta-hint {
  color: rgba(255,255,255,0.8);
}

.ucc-btn-arrow {
  width: 28px; height: 28px;
  border-radius: var(--radius-md);
  background: var(--ucc-primary-dim);
  border: 1px solid rgba(0,191,204,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 180ms ease, transform 180ms ease;
}

html[data-theme="light"] .ucc-btn-arrow {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
}

.ucc-btn-cta:hover .ucc-btn-arrow {
  background: var(--ucc-primary);
  transform: translate(2px, -2px);
}

html[data-theme="light"] .ucc-btn-cta:hover .ucc-btn-arrow {
  background: #ffffff;
}

.ucc-btn-arrow svg {
  width: 14px; height: 14px;
  stroke: var(--ucc-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 180ms ease;
}

html[data-theme="light"] .ucc-btn-arrow svg {
  stroke: #ffffff;
}

.ucc-btn-cta:hover .ucc-btn-arrow svg {
  stroke: #0d1117;
}

html[data-theme="light"] .ucc-btn-cta:hover .ucc-btn-arrow svg {
  stroke: #d46a45;
}


/* ─── Block 13: AI Suggestion Insights Card ─── */
.ais-insight-card {
  --bg-inner:   rgba(15, 29, 46, 0.6);
  --bg-panel:   rgba(19, 32, 51, 0.8);
  --border:     rgba(1, 158, 168, 0.15);
  --border-soft: rgba(255, 255, 255, 0.08);
  --teal:       #019ea8;
  --teal-dim:   rgba(1, 158, 168, 0.15);
  --teal-mid:   rgba(1, 158, 168, 0.25);
  --green:      #22c55e;
  --amber:      #f59e0b;
  --red:        #f43f5e;
  --text-1:     #e8f0f8;
  --text-2:     #8da8c0;
  --text-3:     #4d6a80;
  --radius:     20px;
  --radius-sm:  12px;

  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(1,158,168,0.06), 0 24px 64px rgba(0,0,0,0.55);
  font-family: var(--font-display);
}

.ais-insight-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #01696f 0%, #019ea8 50%, #01696f 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 2;
}

.ais-insight-header {
  position: relative; z-index: 1;
  padding: 16px 22px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
}

.ais-insight-hl { display: flex; align-items: center; gap: 10px; }
.ais-insight-iw {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--teal-dim); border: 1px solid rgba(1,158,168,0.28);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ais-insight-iw svg { width: 16px; height: 16px; color: var(--teal); }
.ais-insight-ht h3 { font-size: 13px; font-weight: 600; color: var(--text-1); margin: 0; }
.ais-insight-ht p  { font-size: 10px; color: var(--text-3); margin-top: 1px; }

.ais-insight-b {
  font-size: 10px; font-weight: 600;
  background: var(--teal-dim); color: var(--teal);
  border: 1px solid rgba(1,158,168,0.28); border-radius: 6px;
  padding: 3px 9px; letter-spacing: 0.05em; text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
}
.ais-insight-bd {
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
  animation: ais-insight-pteal 2s infinite;
}

@keyframes ais-insight-pteal {
  0%,100% { box-shadow: 0 0 0 0 rgba(1,158,168,0.7); }
  50%      { box-shadow: 0 0 0 4px rgba(1,158,168,0); }
}

.ais-insight-s {
  position: relative;
  z-index: 1;
  min-height: 400px; /* Fixed height to prevent jumps */
  display: flex;
  flex-direction: column;
}

.ais-insight-st {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 22px 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  flex: 1;
}

.ais-insight-st.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.ais-insight-st.entering {
  opacity: 0;
  transform: translateY(10px);
}

.ais-insight-rr { display: flex; align-items: center; gap: 10px; }
.ais-insight-ra {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.ais-insight-at { background: linear-gradient(135deg,#01696f,#019ea8); }
.ais-insight-aa { background: linear-gradient(135deg,#92400e,#d97706); }
.ais-insight-ab { background: linear-gradient(135deg,#1e3a5f,#2563eb); }
.ais-insight-rm h4 { font-size: 12px; font-weight: 600; color: var(--text-1); margin: 0; }
.ais-insight-rm span { font-size: 10px; color: var(--text-3); }

.ais-insight-sb {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px; position: relative;
}
.ais-insight-sb::before {
  content: "“";
  position: absolute; top: 5px; left: 10px;
  font-size: 22px; line-height: 1;
  color: var(--teal); opacity: 0.35;
  font-family: Georgia, serif;
}
.ais-insight-sb p {
  font-size: 13px; color: var(--text-1);
  line-height: 1.6; padding-left: 16px; min-height: 20px;
  margin: 0;
}
.ais-insight-bf {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px; padding-left: 16px;
}
.ais-insight-bf span { font-size: 10px; color: var(--text-3); }
.ais-insight-d3 { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

.ais-insight-ti { display: flex; gap: 4px; align-items: center; }
.ais-insight-ti span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); animation: ais-insight-blink 1.2s infinite;
}
.ais-insight-ti span:nth-child(2) { animation-delay: .2s; }
.ais-insight-ti span:nth-child(3) { animation-delay: .4s; }

@keyframes ais-insight-blink {
  0%,80%,100% { opacity:.2; transform:scale(.8); }
  40%          { opacity:1;  transform:scale(1); }
}

.ais-insight-pr {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-panel); border: 1px solid var(--border-soft);
  border-radius: 10px; padding: 9px 13px;
  transition: opacity .4s;
}
.ais-insight-pr p { font-size: 11px; color: var(--text-2); margin: 0; }

.ais-insight-al {
  font-size: 10px; font-weight: 700;
  color: var(--teal); letter-spacing: .09em; text-transform: uppercase;
}
.ais-insight-sr { display: flex; align-items: center; gap: 24px; }
.ais-insight-dw { flex-shrink: 0; position: relative; width: 68px; height: 68px; }
.ais-insight-dw svg { width: 68px; height: 68px; transform: rotate(-90deg); }
.ais-insight-dc {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ais-insight-dc .ais-insight-pct { font-size: 13px; font-weight: 700; line-height: 1; }
.ais-insight-dc small { font-size: 8px; color: var(--text-3); margin-top: 1px; }

.ais-insight-dr { fill: none; stroke-width: 9; stroke-linecap: round; }
.ais-insight-drb  { stroke: rgba(255,255,255,0.05); }
.ais-insight-drr {
  stroke: var(--red); stroke-dasharray: 251.2; stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1);
}
.ais-insight-dra {
  stroke: var(--amber); stroke-dasharray: 251.2; stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1);
}
.ais-insight-drr.go85  { stroke-dashoffset: 37.68;  }
.ais-insight-drr.go60  { stroke-dashoffset: 100.48; }
.ais-insight-dra.go70 { stroke-dashoffset: 75.36; }

.ais-insight-sl { display: flex; flex-direction: column; gap: 6px; }
.ais-insight-li { display: flex; align-items: center; gap: 7px; }
.ais-insight-ld { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ais-insight-ll { font-size: 11px; color: var(--text-2); flex: 1; }
.ais-insight-lv { font-size: 11px; font-weight: 600; color: var(--text-1); }

.ais-insight-tr { display: flex; flex-wrap: wrap; gap: 6px; }
.ais-insight-tag { font-size: 10px; font-weight: 500; border-radius: 6px; padding: 4px 9px; border: 1px solid; }
.ais-insight-tn { background:rgba(244,63,94,.10);  color:var(--red);   border-color:rgba(244,63,94,.22); }
.ais-insight-tnu { background:rgba(245,158,11,.10); color:var(--amber); border-color:rgba(245,158,11,.22); }
.ais-insight-tp { background:rgba(34,197,94,.10);  color:var(--green); border-color:rgba(34,197,94,.22); }

.ais-insight-abx {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-left: 2px solid rgba(1,158,168,.35);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
}
.ais-insight-alr { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ais-insight-atg { font-size: 10px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .07em; }
.ais-insight-apl { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: ais-insight-pteal 1.8s infinite; }
.ais-insight-abx p { font-size: 12px; color: var(--text-2); line-height: 1.65; margin: 0; }
.ais-insight-abx p strong { color: var(--red); }
.ais-insight-abx p strong.neu { color: var(--amber); }

.ais-insight-pbw {
  position: relative; z-index: 1;
  padding: 14px 22px 16px;
  display: flex; gap: 6px;
}
.ais-insight-ps { flex: 1; height: 2px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.ais-insight-ps .ais-insight-fill { height: 100%; background: var(--teal); border-radius: 2px; width: 0%; }

.ais-insight-f {
  position: relative; z-index: 1;
  padding: 10px 22px 14px;
  border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.ais-insight-fc h4 { font-size: 12px; font-weight: 600; color: var(--text-1); margin: 0; }

/* Theme Tweak */
html[data-theme="light"] .ais-insight-card {
  --bg-inner:   rgba(232, 131, 90, 0.05);
  --bg-panel:   rgba(232, 131, 90, 0.03);
  --border:     rgba(232, 131, 90, 0.15);
  --text-1:     #1a1a1a;
  --text-2:     #57606a;
  --text-3:     #8494a3;
  --teal:       #e8835a;
  --teal-dim:   rgba(232, 131, 90, 0.1);
  --teal-mid:   rgba(232, 131, 90, 0.2);
  background: #ffffff;
}
html[data-theme="light"] .ais-insight-drb { stroke: rgba(0,0,0,0.05); }

/* ─── Block 14: Timeline Animated Track ─── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: 80px;
  padding: 40px 0;
}

.timeline__track {
  position: absolute;
  top: 94px; /* Centered with circles */
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  z-index: 0;
}

.timeline__track-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--color-teal), #fff, var(--color-teal), transparent);
  background-size: 200% 100%;
  box-shadow: 0 0 15px var(--color-teal);
  transition: width 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.timeline__step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.timeline__icon-circle {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.timeline__icon-circle.is-active {
  transform: scale(1.15);
  border-color: #fff;
  box-shadow: 0 0 25px currentColor;
}

.timeline__icon-circle--amber.is-active { color: var(--color-amber); }
.timeline__icon-circle--teal.is-active { color: var(--color-teal); }

/* Glow Line Pulse */
@keyframes timeline-glow-pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; box-shadow: 0 0 25px var(--color-teal); }
  100% { opacity: 0.6; }
}

.timeline__track-progress.is-animated {
  animation: timeline-glow-pulse 2s infinite;
}

@media (max-width: 991px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .timeline__track { display: none; }
}

/* Hero Card Background Accents */
.card-watermark {
  transform-origin: 192px 336px;
  animation: card-watermark-rotate 60s linear infinite;
}

@keyframes card-watermark-rotate {
  from { transform: translate(192px, 336px) rotate(0deg); }
  to { transform: translate(192px, 336px) rotate(360deg); }
}

.hero-accent-1 { animation: hero-float-gentle 8s ease-in-out infinite; }
.hero-accent-2 { animation: hero-float-gentle 12s ease-in-out infinite reverse; }
.hero-accent-3 { animation: hero-float-gentle 10s ease-in-out infinite; }

@keyframes hero-float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* TODO 40 — T4: the privacy policy and terms pages (templates/branding/legal)
   set their prose at 18px across the whole card, 85-99 characters a line on
   tablets. 56ch holds a line near 75 characters. */
@media (max-width: 1023px) {
  .legal-content p,
  .legal-content li {
    max-width: 56ch;
  }
}

/* ─── Block 21: Brand page (phones, principles, company identity) ───
   Appended last so it wins over the earlier blocks without touching them.
   Shared by the home page and the privacy / terms pages (same navbar,
   mobile menu and footer), so every rule here is checked on all three. */

/* Anchors land below the sticky navbar. */
section[id] { scroll-margin-top: 76px; }

/* Muted text on the light theme was 3.4-3.9:1; this is 5.3:1 or better. */
html[data-theme="light"] {
  --color-text-mute: #7a5d52;
}


/* The theme toggle had `outline: none` and no replacement. */
.navbar__theme-toggle:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 100px;
}

/* A closed menu is not reachable by keyboard or screen reader. */
.mobile-menu {
  visibility: hidden;
  transition: opacity 280ms ease, transform 280ms ease, visibility 0s linear 280ms;
}
.mobile-menu.is-open {
  visibility: visible;
  transition-delay: 0s;
}
.mobile-menu__close-label { display: none; }

/* The active step's icon took the circle's own colour (teal on teal, amber
   on amber) and vanished. Keep it white and glow in the circle's colour. */
.timeline__icon-circle--amber.is-active,
.timeline__icon-circle--teal.is-active { color: #ffffff; }
.timeline__icon-circle--amber.is-active { box-shadow: 0 0 25px var(--color-amber); }
.timeline__icon-circle--teal.is-active { box-shadow: 0 0 25px var(--color-teal); }

/* Footer: company identity row, then copyright and legal links. */
.footer__bottom { flex-wrap: wrap; }
.footer__identity {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-dim);
}
.footer__identity-item,
.u-nowrap { white-space: nowrap; }

/* ── How we work: five plain commitments on a deep-teal band ── */
.section--principles {
  background: #0d3a3e;
  color: #f6efe8;
  overflow: hidden;
}
html[data-theme="dark"] .section--principles { background: #0a2a2d; }
html[data-theme="light"] .section--principles { background: #0d3a3e; }

.section--principles::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(232, 131, 90, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(1, 158, 168, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.principles__inner {
  display: grid;
  gap: var(--space-xl);
}

.section--principles .section__heading { color: #ffffff; }
.section--principles .section__subheading { color: rgba(246, 239, 232, 0.86); }

.principles__list { display: grid; }

.principles__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-md);
  padding-block: 22px;
  border-top: 1px solid rgba(246, 239, 232, 0.16);
}
.principles__item:last-child { border-bottom: 1px solid rgba(246, 239, 232, 0.16); }

.principles__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
  color: #f2a583;
}

.principles__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 6px;
}

.principles__copy {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(246, 239, 232, 0.88);
  max-width: 56ch;
}

.principles__note {
  margin-top: var(--space-lg);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(246, 239, 232, 0.72);
  max-width: 60ch;
}

@media (min-width: 992px) {
  .principles__inner {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
    align-items: start;
  }
  .principles__intro { position: sticky; top: 112px; }
}

/* ── Phones ── */
@media (max-width: 767px) {
  .section { padding-block: 56px; }
  .section--hero { padding-top: 20px; padding-bottom: 48px; }
  .section__header { margin-bottom: 32px; }

  .navbar__brand { min-height: 44px; gap: 10px; }
  .navbar__theme-toggle { min-height: 44px; padding-inline: 2px; }
  .theme-toggle__notation { display: none; }

  /* Hero: headline, sub, CTA, then the card scaled to the screen. */
  .hero__inner { gap: 32px; }
  .hero__text { gap: 20px; }
  .hero__social-proof { font-size: 0.9375rem; }
  .hero__visual,
  .scene { min-height: 0; }
  .scene { padding-block: 8px; }
  .varsacore-card { width: clamp(250px, 76vw, 320px); }

  /* One-handed menu: links, CTA and Close all sit in the lower half. */
  .mobile-menu {
    justify-content: flex-start;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 20px;
    overflow-y: auto;
  }
  .mobile-menu__links { order: 1; margin-top: auto; gap: 0; width: 100%; align-items: stretch; }
  .mobile-menu__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 8px 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  html[data-theme="light"] .mobile-menu__link { border-bottom-color: rgba(220, 120, 70, 0.22); }
  .mobile-menu__cta { order: 2; width: 100%; margin-top: 0; }
  .mobile-menu__close {
    order: 3;
    position: static;
    width: 100%;
    height: 48px;
    gap: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  html[data-theme="light"] .mobile-menu__close { border-color: rgba(220, 120, 70, 0.3); }
  .mobile-menu__close-label { display: inline; }

  /* Feature cards */
  .feature-card { padding: 22px; }
  .ucc-card { min-height: 0; }
  .ucc-card-subtitle,
  .ucc-feature-label,
  .ucc-feature-desc { font-size: 0.9375rem; }
  .ucc-btn-cta-label { font-size: 1rem; }
  .ucc-btn-cta-hint { font-size: 0.9375rem; }
  .ais-insight-rm h4,
  .ais-insight-sb p,
  .ais-insight-abx p { font-size: 0.9375rem; }

  /* How it works: one column, icon beside its text. */
  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
    padding: 0;
  }
  .timeline__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: var(--space-md);
    row-gap: 4px;
    align-items: start;
    text-align: left;
  }
  .timeline__icon-circle { grid-column: 1; grid-row: 1 / span 3; }
  .timeline__step-number,
  .timeline__step-label,
  .timeline__step-copy { grid-column: 2; }
  .timeline__step-copy { max-width: none; }

  .vertical-pill { font-size: 0.9375rem; padding: 7px 14px; }

  /* Captions inside the animated product mock-up (not running text). */
  .ais-insight-rm span,
  .ais-insight-bf span,
  .ais-insight-pr p,
  .ais-insight-al { font-size: 0.8125rem; }

  /* Footer */
  .footer { padding-block: 48px; }
  .footer__link,
  .footer__legal-links .footer__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    padding-block: 0;
    font-size: 0.9375rem;
  }
  .footer__links { gap: 0; }
  .footer__legal-links { gap: 4px var(--space-lg); }
  .footer__social-link { width: 44px; height: 44px; }
  .footer__powered,
  .footer__copyright,
  .footer__identity { font-size: 0.9375rem; }
  .footer__bottom { padding-top: var(--space-lg); gap: var(--space-xs); }

  .principles__item { grid-template-columns: 32px 1fr; padding-block: 18px; }
  .principles__number { font-size: 1.5rem; }
}

/* Narrow phones: 320-480 px. */
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .feature-card { padding: 18px; }
  .navbar__brand-name { font-size: 1.05rem; }
  .ucc-card-header { padding: 24px 18px 18px; }
  .ucc-card-body { padding: 18px; }
  .ucc-feature-row { padding: 14px; gap: 12px; }
  .ucc-card-footer { padding: 0 18px 24px; }
}

/* 320-359 px: the brand, theme toggle and menu button must all fit in
   288 px, also where the page falls back to a wider system font (the
   privacy and terms pages do not load the brand fonts). */
@media (max-width: 359px) {
  .navbar__inner { gap: 8px; }
  .navbar__brand { gap: 8px; }
  .navbar__logo-container { width: 36px; height: 36px; }
  .navbar__brand-name { font-size: 0.9rem; }
  .navbar__actions { gap: 0; }
}

/* Reduced motion: the existing rule shortens every animation to 0.001ms
   but left their start delays, so the hero card still took ~3 s to appear. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-delay: 0s !important; }
}

/* ─── Block 22: Hero poster card ───
   The hero artwork is the app's "Poster" QR card (templates/branding/
   _hero_poster.svg). Its type is set in Archivo Black and Manrope, served
   from this site; the card container and every animation above are
   unchanged. The poster has no subtitle, so the old card's #g-subtitle slot
   is taken by its steps row, and its business-name line follows the rule. */
@font-face {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/qr/archivoblack-400.00d12c4ede61.woff2") format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Manrope-ExtraBold.102b35b61021.ttf") format('truetype');
}

.varsacore-card { background: #f4efe4; }

#g-business-name, #g-steps { opacity: 0; }
.card-wrap.animate #g-business-name { animation: dropIn 0.6s cubic-bezier(0.16,1,0.3,1) 2.0s both; }
.card-wrap.animate #g-steps { animation: fadeUp 0.75s cubic-bezier(0.16,1,0.3,1) 2.4s both; }

/* ─── Block 23: Feature bands (Writing assistant, Command Center) ───
   Each is one full-width card: copy on one side, the picture or the feature
   list on the other, stacked on a phone. Nothing sits beside a taller card,
   so no width leaves an empty area. The Business Intelligence card keeps
   its own layout and joins the same single-column stack. */
.feature-band {
  padding: 24px 20px;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .feature-band { padding: 32px 36px; }
}
@media (min-width: 840px) {
  .feature-band {
    padding: 40px 44px;
    display: grid;
    align-items: center;
    gap: 40px;
  }
  .feature-band:not(.feature-card--dashboard) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.feature-band__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.feature-band .feature-card__heading { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.feature-band .feature-card__body { font-size: 1rem; max-width: 52ch; }

/* Writing assistant: a quiet sketch of the idea (pick, draft, edit). */
.wa-composer {
  --wa-paper: #0f1722;
  --wa-edge: rgba(255, 255, 255, 0.09);
  --wa-skel: rgba(255, 255, 255, 0.12);
  --wa-ink: #e6edf3;
  --wa-mute: #94a3b8;
  --wa-accent: #5fd4dc;
  --wa-accent-soft: rgba(1, 158, 168, 0.2);
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--wa-paper);
  border: 1px solid var(--wa-edge);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
html[data-theme="light"] .wa-composer {
  --wa-paper: #fffaf6;
  --wa-edge: rgba(220, 140, 80, 0.22);
  --wa-skel: rgba(122, 93, 82, 0.16);
  --wa-ink: #2b1c16;
  --wa-mute: #7a5d52;
  --wa-accent: #a8461f;
  --wa-accent-soft: rgba(232, 131, 90, 0.2);
  box-shadow: 0 1px 2px rgba(200, 100, 60, 0.06), 0 18px 40px rgba(200, 100, 60, 0.12);
}

.wa-composer__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wa-mute);
}
.wa-composer__label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wa-composer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.wa-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--wa-edge);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wa-mute);
}
.wa-chip--on {
  background: var(--wa-accent-soft);
  border-color: transparent;
  color: var(--wa-accent);
  font-weight: 700;
}
.wa-chip--on::before {
  content: '';
  width: 5px;
  height: 9px;
  margin: 0 2px 2px 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wa-composer__draft {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed var(--wa-edge);
}
.wa-composer__label--draft { margin-bottom: 4px; }
.wa-line {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: var(--wa-skel);
}
.wa-line--1 { width: 100%; }
.wa-line--2 { width: 84%; }
.wa-line--3 {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  background: none;
}
.wa-line--3::before {
  content: '';
  flex: 0 0 36%;
  height: 10px;
  border-radius: 6px;
  background: var(--wa-skel);
}
.wa-line__pick {
  flex: 0 0 26%;
  height: 20px;
  border-radius: 6px;
  background: var(--wa-accent-soft);
  box-shadow: inset 0 -2px 0 var(--wa-accent);
}
.wa-caret {
  width: 2px;
  height: 20px;
  border-radius: 1px;
  background: var(--wa-accent);
  animation: wa-caret-blink 1.1s steps(1) infinite;
}
@keyframes wa-caret-blink { 50% { opacity: 0; } }

/* Command Center: the old narrow card, laid out as a band. `html[data-theme]`
   lifts these over the per-theme .ucc-card / .ucc-card-header rules above. */
html[data-theme] .feature-card--dashboard .ucc-card {
  position: relative;
  z-index: 1;
  max-width: none;
  min-height: 0;
  margin: 0;
  display: grid;
  gap: var(--space-lg);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.feature-card--dashboard .ucc-card::before,
.feature-card--dashboard .ucc-card::after { display: none; }
html[data-theme] .feature-card--dashboard .ucc-card-header {
  padding: 0;
  border-bottom: 0;
}
.feature-card--dashboard .ucc-card-title { font-size: clamp(1.9rem, 4.4vw, 2.6rem); }
.feature-card--dashboard .ucc-card-subtitle { max-width: 44ch; }
.feature-card--dashboard .ucc-card-body {
  padding: 0;
  gap: 12px;
}
.feature-card--dashboard .ucc-card-footer { padding: 0; }

@media (min-width: 840px) {
  .feature-card--dashboard.feature-band { display: block; }
  .feature-card--dashboard .ucc-btn-cta { max-width: 420px; }
  .feature-card--dashboard .ucc-card {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas:
      "head body"
      "foot body";
    grid-template-rows: auto 1fr;
    column-gap: 40px;
    row-gap: 28px;
    align-items: start;
  }
  .feature-card--dashboard .ucc-card-header { grid-area: head; }
  .feature-card--dashboard .ucc-card-body { grid-area: body; align-self: center; }
  .feature-card--dashboard .ucc-card-footer { grid-area: foot; align-self: end; }
}

/* ─── Block 24: Get in touch ───
   One compact card. The WhatsApp button is the first thing it says, with the
   reply-time line under it. The code is for a desktop visitor (a phone cannot
   scan its own screen), so it is a small row at the foot on a phone and the
   right-hand panel from 860 px. */
.contact__header {
  text-align: center;
  margin-inline: auto;
}
.contact__header .section__heading { text-align: center; }
.contact__header .section__subheading { margin-inline: auto; }

.contact-box {
  --cb-surface: rgba(255, 255, 255, 0.04);
  --cb-edge: rgba(255, 255, 255, 0.1);
  --cb-divider: rgba(255, 255, 255, 0.09);
  --cb-accent: #5fd4dc;
  --cb-accent-soft: rgba(1, 158, 168, 0.2);
  --cb-mute: var(--color-text-mute);
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "main"
    "next"
    "email"
    "scan"
    "trust";
  gap: 20px;
  padding: 24px 20px;
  border-radius: 24px;
  background: var(--cb-surface);
  border: 1px solid var(--cb-edge);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
html[data-theme="light"] .contact-box {
  --cb-surface: #ffffff;
  --cb-edge: rgba(220, 140, 80, 0.2);
  --cb-divider: rgba(200, 120, 70, 0.16);
  --cb-accent: #a8461f;
  --cb-accent-soft: rgba(232, 131, 90, 0.18);
  box-shadow: 0 1px 2px rgba(200, 100, 60, 0.06), 0 20px 50px rgba(200, 100, 60, 0.1);
}

.contact-box { overflow: hidden; }
.contact-box::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #25d366, #0b7a6e);
}
.contact-box__main { grid-area: main; display: flex; flex-direction: column; align-items: stretch; }
.contact-box__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-text-main);
  margin-bottom: 8px;
}
.contact-box__lead {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-dim);
  max-width: 44ch;
  margin-bottom: 18px;
}

.contact-box__chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b7a6e 0%, #075e54 100%);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(7, 94, 84, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.contact-box__chat svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-box__chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(7, 94, 84, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: brightness(1.06);
}
.contact-box__chat:active { transform: translateY(0) scale(0.98); }
.contact-box__chat:focus-visible {
  outline: 3px solid var(--cb-accent);
  outline-offset: 3px;
}
.contact-box__reply {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--cb-mute);
}

.contact-box__next {
  grid-area: next;
  padding-block: 20px;
  border-block: 1px solid var(--cb-divider);
}
.contact-box__next-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
}
.contact-box__steps {
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: cb-step;
}
.contact-box__step {
  counter-increment: cb-step;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text-dim);
}
.contact-box__step::before {
  content: counter(cb-step);
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 50%;
  background: var(--cb-accent-soft);
  color: var(--cb-accent);
  font-size: 0.8125rem;
  font-weight: 700;
}

.contact-box__email {
  grid-area: email;
  font-size: 0.9375rem;
  color: var(--cb-mute);
}
.contact-box__email a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: underline dotted;
  text-underline-offset: 5px;
}
html[data-theme="dark"] .contact-box__email a { color: var(--cb-accent); }
.contact-box__email a:focus-visible { outline: 2px solid var(--cb-accent); outline-offset: 3px; border-radius: 4px; }

.contact-box__scan {
  grid-area: scan;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-box__qr {
  flex: 0 0 96px;
  width: 96px;
  padding: 6px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.contact-box__qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.contact-box__scan-hint {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--cb-mute);
  max-width: 24ch;
}

/* On a phone the foot's two lines sit in the grid on either side of the code
   row; from 860 px they share one line under the steps. */
.contact-box__foot { display: contents; }
.contact-box__trust {
  grid-area: trust;
  padding-top: 16px;
  border-top: 1px solid var(--cb-divider);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--cb-mute);
}
.contact-box__trust svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: var(--cb-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) {
  .contact-box { padding: 32px 36px; gap: 24px; }
}
@media (min-width: 860px) {
  .contact-box {
    grid-template-columns: minmax(0, 1fr) 232px;
    grid-template-areas:
      "main scan"
      "next next"
      "foot foot";
    column-gap: 44px;
    padding: 40px 44px 28px;
  }
  .contact-box__main { justify-content: center; }
  .contact-box__chat { display: inline-flex; align-self: flex-start; min-width: 280px; }
  .contact-box__scan { flex-direction: column; justify-content: center; gap: 12px; text-align: center; }
  .contact-box__qr { flex-basis: auto; width: 200px; padding: 10px; border-radius: 20px; }
  .contact-box__scan-hint { max-width: 22ch; }
  .contact-box__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .contact-box__step { align-items: flex-start; }
  .contact-box__step::before { margin-top: -2px; }
  .contact-box__foot {
    grid-area: foot;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  .contact-box__trust { padding-top: 0; border-top: 0; align-items: center; text-align: right; }
}
@media (max-width: 480px) {
  .contact-box { padding: 20px 18px; border-radius: 20px; }
}

/* ─── Block 25: Business Intelligence band ───
   Same pattern as the two bands above: copy left, the insights mock-up right,
   stacked below 840 px. The mock-up's three stages used to share a fixed
   400 px stage area, which left it half empty. They now sit in one grid cell,
   so the box is exactly as tall as its tallest stage at any width, and a
   stage swap never moves the page. */
.feature-band__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.feature-band .ais-insight-card { max-width: none; }
.ais-insight-s { display: grid; min-height: 0; }
.ais-insight-st { display: flex; grid-area: 1 / 1; visibility: hidden; }
.ais-insight-st.active { visibility: visible; }
/* Stage 1 (the typed suggestion) is shorter than the two result stages. Its
   message box is a compose box with a little room, and the remainder is split
   evenly above and below instead of leaving a blank block at the bottom. */
#aisInsightStep1 { justify-content: center; }
#aisInsightStep1 .ais-insight-sb {
  min-height: 112px;
  display: flex;
  flex-direction: column;
}
#aisInsightStep1 .ais-insight-bf { margin-top: auto; padding-top: 8px; }
