/* ============================================
   QSATS / Q-Assess Marketing Site
   Theme aligned with Q-Assess platform
   ============================================ */

:root {
  /* Brand palette from Q-Assess */
  --brand-50: #FEF3F0;
  --brand-100: #FDE4DE;
  --brand-200: #FAC8BE;
  --brand-300: #F5A08E;
  --brand-400: #ED7D66;
  --brand-500: #E76F51;
  --brand-600: #D4583C;
  --brand-700: #B84630;
  --brand-800: #973928;
  --brand-900: #7A2F22;

  --sage-50: #F0F7F3;
  --sage-100: #D9EDE2;
  --sage-200: #B5DBC4;
  --sage-300: #8CC4A3;
  --sage-400: #6B9E78;
  --sage-500: #558B64;
  --sage-600: #447252;

  --sand-50: #FBF8F3;
  --sand-100: #F5F0E8;
  --sand-200: #EBE3D6;
  --sand-300: #D9CEBD;
  --sand-400: #B8AA96;
  --sand-500: #968A78;
  --sand-600: #756B5C;
  --sand-700: #5C5449;
  --sand-800: #453F38;
  --sand-900: #2E2A26;

  --honey-50: #FFF8EE;
  --honey-100: #FEEFD6;
  --honey-200: #FDDFAD;
  --honey-300: #FBCB7D;
  --honey-400: #F4A261;
  --honey-500: #E8924C;

  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --shadow-soft: 0 2px 16px -2px rgba(231, 111, 81, 0.08);
  --shadow-card: 0 4px 24px -4px rgba(46, 42, 38, 0.08);
  --shadow-lift: 0 12px 32px -8px rgba(231, 111, 81, 0.18);

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;

  --header-height: 80px;
  --announcement-height: 44px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-sans);
  background: var(--sand-50);
  color: var(--sand-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-900);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* Typography */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-500);
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.section-desc {
  font-size: 1.125rem;
  color: var(--sand-600);
  max-width: 640px;
  margin: 1rem auto 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brand-500);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--sand-700);
  border: 1px solid var(--sand-200);
}

.btn-secondary:hover {
  background: var(--sand-50);
  border-color: var(--sand-300);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--brand-600);
  margin-top: 1.5rem;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 0.5rem;
  color: var(--brand-700);
}

/* Announcement bar */
.announcement {
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
  color: white;
  font-size: 0.875rem;
  position: relative;
  z-index: 110;
  transition: transform 0.3s, opacity 0.3s;
}

.announcement.hidden {
  transform: translateY(-100%);
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.625rem 2.75rem 0.625rem 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.announcement__inner p {
  flex: 1 1 200px;
  max-width: 52ch;
  line-height: 1.4;
}

.announcement__badge {
  background: rgba(255,255,255,0.2);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement__link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.announcement__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
}

.announcement__close:hover { opacity: 1; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(235, 227, 214, 0.6);
  transition: box-shadow 0.3s;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header.scrolled {
  box-shadow: var(--shadow-card);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}

.logo__mark {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.logo__wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sand-900);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sand-600);
  transition: color 0.2s;
}

.nav a:hover { color: var(--brand-600); }

.nav__cta {
  background: var(--brand-500) !important;
  color: white !important;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-xl);
}

.nav__cta:hover {
  background: var(--brand-600) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sand-800);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 6rem;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 30%, var(--brand-100) 0px, transparent 50%),
    radial-gradient(at 80% 20%, var(--sage-100) 0px, transparent 50%),
    radial-gradient(at 60% 80%, var(--honey-100) 0px, transparent 50%);
  opacity: 0.8;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231, 111, 81, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 111, 81, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text h1 {
  margin-bottom: 1.25rem;
}

.hero__rotator {
  display: block;
  position: relative;
  height: 1.2em;
  overflow: hidden;
  color: var(--brand-500);
}

.hero__word {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero__word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--sand-600);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand-200);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 0.875rem;
  color: var(--sand-800);
}

.trust-item span {
  font-size: 0.8125rem;
  color: var(--sand-500);
}

/* Dashboard preview */
.hero__visual {
  position: relative;
}

.dashboard-preview {
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-lift);
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.dashboard-preview__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand-100);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sand-200);
}

.dots span:first-child { background: #FF6B6B; }
.dots span:nth-child(2) { background: #FFD93D; }
.dots span:nth-child(3) { background: #6BCB77; }

.dashboard-preview__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sand-500);
}

.dashboard-preview__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  background: var(--sand-50);
  border-radius: var(--radius-md);
  padding: 0.875rem;
  text-align: center;
}

.stat-card__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--sand-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-600);
}

.dashboard-preview__modules {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.module-pill {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--sand-100);
  color: var(--sand-600);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.module-pill svg {
  width: 14px;
  height: 14px;
}

.module-pill.active,
.module-pill:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-200);
}

.dashboard-preview__chart {
  background: linear-gradient(180deg, var(--sand-50), white);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 80px;
  margin-bottom: 0.5rem;
}

.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--brand-400), var(--brand-500));
  border-radius: 4px 4px 0 0;
  animation: barGrow 1s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

@keyframes barGrow {
  to { transform: scaleY(1); }
}

.chart-label {
  font-size: 0.6875rem;
  color: var(--sand-500);
  text-align: center;
}

.hero__float {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero__float--1 {
  width: 200px;
  height: 200px;
  background: var(--brand-200);
  top: -20px;
  right: -40px;
  opacity: 0.5;
}

.hero__float--2 {
  width: 150px;
  height: 150px;
  background: var(--sage-200);
  bottom: -30px;
  left: -30px;
  opacity: 0.4;
  animation-delay: -3s;
}

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

/* Platform section */
.platform {
  background: white;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.platform-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sand-200);
  background: var(--sand-50);
  transition: all 0.25s;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}

.platform-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.platform-card__icon svg {
  width: 24px;
  height: 24px;
}

.platform-card__icon--brand {
  background: var(--brand-50);
  color: var(--brand-500);
}

.platform-card__icon--sage {
  background: var(--sage-50);
  color: var(--sage-500);
}

.platform-card__icon--honey {
  background: var(--honey-50);
  color: var(--honey-500);
}

.platform-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.platform-card p {
  font-size: 0.9375rem;
  color: var(--sand-600);
  line-height: 1.6;
}

/* Domains */
.domains {
  background: linear-gradient(180deg, var(--sand-50) 0%, white 100%);
}

.domain-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.domain-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sand-200);
  background: white;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sand-600);
  cursor: pointer;
  transition: all 0.2s;
}

.domain-tab:hover {
  border-color: var(--brand-200);
  color: var(--brand-600);
}

.domain-tab.active {
  background: var(--brand-500);
  color: white;
  border-color: var(--brand-500);
  box-shadow: var(--shadow-soft);
}

.domain-tab__icon {
  font-size: 1.125rem;
}

.domain-panels {
  position: relative;
  min-height: 0;
}

.domain-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  animation: fadeSlide 0.4s ease-out;
}

.domain-panel.active {
  display: grid;
}

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

.domain-panel__content h3 {
  margin-bottom: 1rem;
}

.domain-panel__content > p {
  color: var(--sand-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.domain-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.domain-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--sand-700);
}

.domain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-400);
}

/* Domain visuals */
.domain-panel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.domain-visual {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  background: white;
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* AI visual */
.domain-visual--ai {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-node {
  position: absolute;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: white;
  border: 2px solid var(--brand-200);
  color: var(--brand-700);
  z-index: 2;
  animation: pulseSoft 3s ease-in-out infinite;
}

.ai-node--center {
  background: var(--brand-500);
  color: white;
  border-color: var(--brand-500);
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
}

.ai-node--1 { top: 15%; left: 10%; animation-delay: 0s; }
.ai-node--2 { top: 15%; right: 10%; animation-delay: 0.5s; }
.ai-node--3 { bottom: 20%; left: 8%; animation-delay: 1s; }
.ai-node--4 { bottom: 20%; right: 8%; animation-delay: 1.5s; }

.ai-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ai-lines line {
  stroke: var(--brand-200);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -20; }
}

@keyframes pulseSoft {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Cyber visual */
.domain-visual--cyber {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  width: 70%;
  height: 70%;
  border: 2px dashed var(--sage-200);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.shield-core {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--sage-400), var(--sage-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  box-shadow: 0 0 30px rgba(85, 139, 100, 0.3);
}

.shield-core svg {
  width: 36px;
  height: 36px;
}

.orbit {
  position: absolute;
  padding: 0.375rem 0.75rem;
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--sage-600);
}

.orbit--1 { top: 12%; left: 50%; transform: translateX(-50%); }
.orbit--2 { bottom: 25%; left: 8%; }
.orbit--3 { bottom: 25%; right: 8%; }

/* AML visual */
.domain-visual--aml {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.aml-flow {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.aml-step {
  padding: 0.625rem 0.875rem;
  background: var(--sand-100);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sand-700);
}

.aml-step--warn {
  background: var(--honey-100);
  color: var(--honey-500);
}

.aml-step--ok {
  background: var(--sage-100);
  color: var(--sage-600);
}

.aml-arrow {
  color: var(--sand-400);
  font-weight: 700;
}

.aml-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.aml-tags span {
  padding: 0.375rem 0.875rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-700);
}

/* General compliance visual */
.domain-visual--general {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.compliance-cell {
  padding: 1rem 0.5rem;
  background: linear-gradient(135deg, var(--sand-50), white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sand-600);
  transition: all 0.2s;
}

.compliance-cell:hover {
  border-color: var(--brand-300);
  color: var(--brand-600);
  transform: scale(1.05);
}

/* Features */
.features {
  background: var(--sand-900);
  color: white;
}

.features .eyebrow { color: var(--brand-300); }
.features h2 { color: white; }
.features-intro p { color: var(--sand-300); margin: 1rem 0 2rem; }

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  transition: all 0.25s;
}

.feature-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(231, 111, 81, 0.3);
  transform: translateX(4px);
}

.feature-item__num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-400);
  flex-shrink: 0;
}

.feature-item h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--sand-400);
  line-height: 1.6;
}

/* Stats */
.stats-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--brand-500), var(--honey-400), var(--sage-400));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-block__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-block__label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Audiences */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audience-card {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sand-200);
  transition: all 0.25s;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}

.audience-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.9375rem;
  color: var(--sand-600);
  line-height: 1.6;
}

/* Why section */
.why {
  background: white;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content p {
  color: var(--sand-600);
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-point {
  display: flex;
  gap: 1rem;
}

.why-point__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.why-point strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.why-point p {
  font-size: 0.875rem;
  color: var(--sand-500);
  margin: 0;
}

.comparison-card {
  background: var(--sand-50);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--sand-200);
  overflow: hidden;
}

.comparison-row {
  padding: 1.75rem;
}

.comparison-row ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comparison-row li {
  font-size: 0.9375rem;
  padding-left: 1.25rem;
  position: relative;
}

.comparison-row--bad li {
  color: var(--sand-500);
  text-decoration: line-through;
  text-decoration-color: var(--sand-300);
}

.comparison-row--bad li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #e55c5e;
  font-size: 0.75rem;
}

.comparison-row--good li {
  color: var(--sand-700);
  font-weight: 500;
}

.comparison-row--good li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage-500);
  font-weight: 800;
  font-size: 0.75rem;
}

.comparison-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.comparison-row--bad .comparison-label {
  background: #fcebeb;
  color: #9c2426;
}

.comparison-row--good .comparison-label {
  background: var(--brand-50);
  color: var(--brand-700);
}

.comparison-divider {
  text-align: center;
  position: relative;
  padding: 0.5rem 0;
}

.comparison-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 1.75rem;
  right: 1.75rem;
  height: 1px;
  background: var(--sand-200);
}

.comparison-divider span {
  position: relative;
  background: var(--sand-50);
  padding: 0 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sand-400);
  text-transform: uppercase;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sand-800);
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-500);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover { color: var(--brand-600); }

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--sand-600);
  line-height: 1.7;
}

/* Contact */
.contact {
  background: linear-gradient(180deg, white, var(--sand-50));
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p {
  color: var(--sand-600);
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-weight: 600;
  color: var(--sand-700);
  transition: color 0.2s;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--brand-500);
  flex-shrink: 0;
}

a.contact-detail:hover { color: var(--brand-600); }

.contact-detail--static {
  cursor: default;
  font-style: normal;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sand-700);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--sand-900);
  background: var(--sand-50);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-100);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--sand-500);
  text-align: center;
  margin-top: 0.75rem;
}

/* Footer */
.footer {
  background: var(--sand-900);
  color: var(--sand-300);
  padding-top: 3.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.footer__logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.footer__brand p {
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: white;
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.875rem;
  color: var(--sand-400);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--brand-300); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--sand-500);
  text-align: center;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__content,
  .features-layout,
  .why-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
  }

  .hero__visual {
    order: -1;
  }

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

  .domain-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .domain-panel__visual {
    order: -1;
  }

  .domain-visual {
    max-width: min(320px, 100%);
    margin: 0 auto;
  }

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

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

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

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

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(251, 248, 243, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--sand-200);
    transform: translateX(100%);
    opacity: 1;
    transition: transform 0.3s ease;
    pointer-events: none;
    overflow-y: auto;
    z-index: 99;
  }

  .nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--sand-100);
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav__cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    padding: 0.875rem 1.25rem !important;
    border-bottom: none !important;
  }

  .menu-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .logo__mark {
    width: 40px;
    height: 40px;
  }

  .logo__wordmark {
    font-size: 1.25rem;
  }

  .hero {
    padding: 2rem 0 3.5rem;
    min-height: auto;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__trust {
    gap: 1rem;
    flex-direction: column;
  }

  .trust-item {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }

  .trust-item span::before {
    content: '— ';
  }

  .dashboard-preview {
    padding: 1rem;
    overflow: hidden;
  }

  .dashboard-preview__stats {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-preview__stats .stat-card:last-child {
    grid-column: 1 / -1;
  }

  .dashboard-preview__modules {
    gap: 0.375rem;
  }

  .module-pill {
    font-size: 0.6875rem;
    padding: 0.4375rem 0.625rem;
  }

  .platform-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .domain-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .domain-tab {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    min-height: 48px;
  }

  .domain-panel__content h3 {
    font-size: 1.25rem;
  }

  .domain-list li {
    font-size: 0.875rem;
  }

  .features-layout {
    gap: 2.5rem;
  }

  .feature-item {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .aml-flow {
    flex-wrap: wrap;
    justify-content: center;
  }

  .aml-step {
    font-size: 0.6875rem;
    padding: 0.5rem 0.625rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .announcement__inner {
    padding-right: 2.5rem;
    font-size: 0.8125rem;
  }

  .announcement__link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__rotator {
    min-height: 1.25em;
  }

  h1 { font-size: clamp(1.875rem, 8vw, 2.25rem); }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .stats-block__value {
    font-size: 1.75rem;
  }

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

  .domain-tabs {
    grid-template-columns: 1fr;
  }

  .dashboard-preview__stats {
    grid-template-columns: 1fr;
  }

  .dashboard-preview__stats .stat-card:last-child {
    grid-column: auto;
  }

  .domain-visual {
    aspect-ratio: auto;
    min-height: 260px;
    padding: 1rem;
  }

  .ai-node {
    font-size: 0.625rem;
    padding: 0.375rem 0.625rem;
  }

  .ai-node--center {
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
  }

  .comparison-row {
    padding: 1.25rem;
  }

  .faq-item summary {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
  }

  .faq-item p {
    padding: 0 1.25rem 1rem;
    font-size: 0.875rem;
  }
}

/* Prevent layout overflow on small screens */
body.menu-open {
  overflow: hidden;
}

.hero__visual,
.dashboard-preview,
.domain-visual,
.contact-form {
  max-width: 100%;
}

.chart-bars {
  min-width: 0;
}
