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

:root {
  --white: #ffffff;
  --off-white: #fafaf9;
  --bg-soft: #f5f3f0;
  --gray-light: #e8e4dd;
  --gray: #d4cdbe;
  --gray-mid: #9e9686;
  --dark: #1a1a1a;
  --accent: #c1682a;
  --accent-2: #e8956e;
  --accent-light: rgba(193, 104, 42, 0.08);
  --accent-glow: rgba(193, 104, 42, 0.12);
  --positive: #2e7d32;
  --negative: #c62828;
  --neutral: #757575;
  --rule: rgba(26, 26, 26, 0.06);
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

/* ── Subtle texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.008;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ── Reveal with stagger ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Animations ── */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo img {
  width: 148px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  display: block;
  animation: fadeIn 0.6s ease-out;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-login {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-login:hover {
  color: var(--accent);
}
.btn-nav {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.btn-nav:hover {
  background: #a85423;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(193, 104, 42, 0.25);
}
.btn-nav:hover::before {
  left: 100%;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  background: var(--off-white);
  border-top: 1px solid var(--rule);
  padding: 20px;
  animation: slideInLeft 0.3s ease-out;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  font-size: 15px;
  color: var(--dark);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--accent);
}
.mobile-menu a:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ── Hero ── */
.hero {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -400px;
  right: -200px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 104, 42, 0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite reverse;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}
h1.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--dark);
  margin-bottom: 20px;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
}
h1.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 520px;
  margin-bottom: 32px;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards;
}
.btn-primary {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.btn-primary:hover {
  background: #a85423;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(193, 104, 42, 0.3);
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-secondary {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  background: transparent;
  border: 2px solid var(--gray-light);
  padding: 10px 32px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}
.hero-proof {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: var(--gray-mid);
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  line-height: 1.7;
  max-width: 480px;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards;
}

/* Hero — dashboard preview */
.hero-dash {
  width: 100%;
  min-width: 0;
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}
.hero-dash-window {
  width: 100%;
  background: #1c1c1e;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s;
}
.hero-dash-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 64px rgba(193, 104, 42, 0.2);
}
.hero-dash-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #252528;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-dash-logo {
  height: 22px;
  width: auto;
  opacity: 0.95;
}
.hero-dash-tab {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #f4f4f5;
  letter-spacing: -0.01em;
}
.hero-dash-caption {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.hero-dash-caption-cursor {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--accent);
  visibility: hidden;
  animation: chatCursorBlink 0.55s step-end infinite;
}
.hero-dash-window--live.hero-dash-demo-active .hero-dash-caption-cursor.is-on {
  visibility: visible;
}
.hero-dash-window--live.hero-dash-demo-active .hero-kpi {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-dash-window--live.hero-dash-demo-active .hero-kpi.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-dash-window--live.hero-dash-demo-active .hero-dash-table-wrap {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
}
.hero-dash-window--live.hero-dash-demo-active .hero-dash-table-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-dash-window--live.hero-dash-demo-active .hero-dash-table tbody tr {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}
.hero-dash-window--live.hero-dash-demo-active .hero-dash-table tbody tr.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.hero-dash-window--live.hero-dash-demo-active .hero-bar-fill {
  transition: width 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-dash-tab.is-live::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: #5ecf7a;
  box-shadow: 0 0 0 0 rgba(94, 207, 122, 0.5);
  animation: heroLivePulse 1.4s ease-out infinite;
  vertical-align: middle;
}
@keyframes heroLivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 207, 122, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(94, 207, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 207, 122, 0);
  }
}
.hero-dash-body {
  padding: 18px;
  background: #141416;
}
.hero-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.hero-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.hero-kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--kpi-color, var(--accent));
  border-radius: 12px 12px 0 0;
}
.hero-kpi::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--kpi-color, var(--accent)) 12%, transparent),
    transparent
  );
  pointer-events: none;
}
.hero-kpi--blue {
  --kpi-color: #c1682a;
}
.hero-kpi--amber {
  --kpi-color: #d4a017;
}
.hero-kpi--green {
  --kpi-color: #3d9a5f;
}
.hero-kpi-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.hero-kpi-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f4f4f5;
  position: relative;
  z-index: 1;
}
.hero-kpi-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.hero-kpi-meta .trend-up {
  color: #5ecf7a;
}
.hero-dash-table-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.hero-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}
.hero-dash-table thead th {
  text-align: center;
  padding: 10px 10px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}
.hero-dash-table thead th:first-child {
  text-align: left;
}
.hero-dash-table tbody td {
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
.hero-dash-table tbody tr:last-child td {
  border-bottom: none;
}
.hero-dash-table .cell-note {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.hero-dash-table .cell-center {
  text-align: center;
}
.hero-dash-table .cell-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
}
.hero-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-bar-track {
  flex: 1;
  min-width: 40px;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}
.hero-bar-fill {
  height: 100%;
  border-radius: 3px;
}
.hero-bar-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  min-width: 32px;
  text-align: right;
  color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 768px) {
  .hero-dash-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-dash-caption {
    display: none;
  }
}
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
  .hero-grid {
    gap: 40px;
  }
}

/* ── Trust ── */
.trust {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(90deg, var(--off-white) 0%, var(--white) 50%, var(--off-white) 100%);
  overflow: hidden;
}
.trust-label {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 600;
  margin-bottom: 28px;
}
.trust-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  animation: trustMarquee 55s linear infinite;
}
.trust-marquee-track:hover {
  animation-play-state: paused;
}
.trust-marquee-track img {
  height: 32px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
@keyframes trustMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 32px 48px;
    will-change: auto;
  }
  .trust-marquee-track img.trust-marquee-clone {
    display: none;
  }
  .trust-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ── Problem ── */
.problem {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}
.problem-header {
  margin-bottom: 64px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.section-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}
h2.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  max-width: 680px;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
}
h2.section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--gray-light);
}
.problem-item {
  padding: 40px 36px;
  border-right: 1px solid var(--gray-light);
  border-top: 1px solid var(--gray-light);
  position: relative;
  background: var(--white);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.problem-item:hover {
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
  transform: translateY(-4px);
}
.problem-item::before {
  content: attr(data-n);
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: rgba(193, 104, 42, 0.08);
  line-height: 1;
}
.problem-item-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.problem-item-body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-mid);
}
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .problem-item {
    border: none;
    border-top: 1px solid var(--gray-light);
    padding: 32px 0;
  }
  .problem {
    padding: 80px 0;
  }
}

/* ── Products ── */
.products {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--off-white) 0%, var(--bg-soft) 100%);
}
.products-header {
  margin-bottom: 60px;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-light);
}
.product-card {
  background: var(--white);
  padding: 48px 44px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.product-card:hover::before {
  opacity: 1;
}
.product-card:first-child {
  border-right: 1px solid var(--gray-light);
}
.product-card:nth-child(2) {
  background: var(--accent);
}
.product-card:nth-child(2) .product-for {
  color: rgba(255, 255, 255, 0.7);
}
.product-card:nth-child(2) .product-name {
  color: var(--white);
}
.product-card:nth-child(2) .product-desc,
.product-card:nth-child(2) .product-features li {
  color: rgba(255, 255, 255, 0.88);
}
.product-card:nth-child(2) .product-features li:hover {
  color: var(--white);
}
.product-card:nth-child(2) .product-features li::before {
  color: var(--white);
}
.product-card:nth-child(2) .product-cta {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}
.product-card:nth-child(2) .product-cta:hover {
  color: var(--dark);
  border-color: var(--white);
  background: var(--white);
  padding: 2px 4px;
  margin: -2px -4px;
}
.product-card:nth-child(2) .product-stripe {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, var(--white) 100%);
}
.product-card:nth-child(2)::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}
.product-card:nth-child(2):hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.product-card:hover {
  box-shadow: 0 10px 40px rgba(193, 104, 42, 0.15);
  transform: translateY(-4px);
}
.product-stripe {
  width: 100%;
  height: 4px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  position: relative;
  z-index: 1;
}
.product-for {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.product-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-mid);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-mid);
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-features li:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.product-features li::before {
  content: '✓';
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: -1px;
}
.product-cta {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 1;
  display: inline-block;
}
.product-cta:hover {
  color: var(--dark);
  border-color: var(--dark);
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--gray-light);
  }
  .product-card {
    padding: 40px 24px;
  }
  .products {
    padding: 80px 0;
  }
}

/* ── AI section ── */
.ai-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}
.ai-layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 80px;
  align-items: stretch;
}
.ai-visual-col {
  display: flex;
  min-height: 100%;
}
.ai-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  flex: 1;
}
.ai-header {
  margin-bottom: 40px;
}
.ai-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gray-light);
}
.ai-pillar {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ai-pillar:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, var(--accent-light) 0%, transparent 100%);
}
.ai-pillar-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.ai-pillar-body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-mid);
}

/* Chat UI */
.chat-window {
  background: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  animation: scaleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
  flex-shrink: 0;
}
.chat-header {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--gray-light);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-header-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  animation: pulse 2s ease-in-out infinite;
}
.chat-header-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
}
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-q {
  margin-left: auto;
  max-width: 80%;
  background: var(--accent-light);
  border: 1px solid rgba(193, 104, 42, 0.2);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  animation: slideInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chat-a {
  max-width: 100%;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--gray-light);
  padding: 14px 16px;
  animation: slideInLeft 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
}

/* Chat demo loop */
.chat-window--demo .chat-q,
.chat-window--demo .chat-a {
  animation: none;
}
.chat-body--demo {
  min-height: 300px;
}
.chat-window--demo .chat-msg--q {
  flex-shrink: 0;
}
.chat-window--demo .chat-q {
  display: block;
  transition: opacity 0.32s ease;
}
.chat-window--demo .chat-q-slot {
  position: relative;
  display: block;
}
.chat-window--demo .chat-q-sizer {
  visibility: hidden;
  pointer-events: none;
  display: block;
}
.chat-window--demo .chat-q-typed {
  position: absolute;
  inset: 0;
}
.chat-window--demo .chat-q-inner {
  display: inline;
}
.chat-cursor {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--accent);
  visibility: hidden;
  animation: chatCursorBlink 0.55s step-end infinite;
}
.chat-msg--thinking {
  align-self: flex-start;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition:
    opacity 0.22s ease,
    max-height 0.28s ease;
}
.chat-window--demo .chat-msg--thinking {
  min-height: 40px;
  max-height: none;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.chat-window--demo .chat-msg--thinking.is-visible {
  opacity: 1;
}
.chat-window--demo .chat-msg--thinking .chat-typing-dots {
  opacity: 0;
  transition: opacity 0.22s ease;
}
.chat-window--demo .chat-msg--thinking.is-visible .chat-typing-dots {
  opacity: 1;
}
.chat-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--gray-light);
}
.chat-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-mid);
  animation: chatDotBounce 0.9s ease-in-out infinite;
}
.chat-typing-dots span:nth-child(2) {
  animation-delay: 0.12s;
}
.chat-typing-dots span:nth-child(3) {
  animation-delay: 0.24s;
}
.chat-window--demo .chat-msg--a {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
@keyframes chatCursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes chatDotBounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dash-window--live.hero-dash-demo-active .hero-kpi,
  .hero-dash-window--live.hero-dash-demo-active .hero-dash-table-wrap,
  .hero-dash-window--live.hero-dash-demo-active .hero-dash-table tbody tr {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-dash-caption-cursor,
  .hero-dash-tab.is-live::after {
    display: none !important;
  }
  .chat-window--demo .chat-cursor {
    animation: none !important;
  }
  .chat-window--demo .chat-msg--a {
    opacity: 1 !important;
    transform: none !important;
  }
  .chat-window--demo .chat-msg--thinking,
  .chat-window--demo .chat-cursor {
    display: none !important;
  }
}
.chat-a-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}
.data-table th {
  text-align: left;
  padding: 8px;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
}
.data-table td {
  padding: 8px;
  color: var(--dark);
  border-bottom: 1px solid var(--rule);
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table .score {
  font-weight: 700;
  color: var(--dark);
}
.data-table .up {
  color: var(--positive);
}
.data-table .down {
  color: var(--negative);
}

.ai-panel {
  background: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  animation: scaleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s backwards;
}
.ai-panel-header {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--gray-light);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ai-panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.ai-panel-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(193, 104, 42, 0.2);
  padding: 4px 8px;
  white-space: nowrap;
}
.ai-panel-body {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.ai-query-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.ai-query-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ai-query-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 6px;
}
.ai-query-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 600;
}
.ai-query-meta.is-live {
  color: var(--positive);
}
.ai-query-meta.is-scheduled {
  color: var(--accent);
}

/* Saved queries panel demo */
.ai-panel--demo.ai-panel-demo-active .ai-query-item {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.36s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ai-panel--demo.ai-panel-demo-active .ai-query-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ai-panel--demo .ai-query-item.is-running {
  background: linear-gradient(90deg, var(--accent-light) 0%, transparent 100%);
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.ai-panel--demo .ai-query-meta.is-running {
  color: var(--positive);
}
.ai-panel--demo .ai-query-meta.is-running::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--positive);
  vertical-align: middle;
  animation: heroLivePulse 1.2s ease-out infinite;
}
.ai-panel--demo .ai-query-item.is-next-run {
  background: linear-gradient(90deg, rgba(193, 104, 42, 0.06) 0%, transparent 100%);
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}
.ai-panel--demo .ai-panel-badge.is-pulse {
  animation: aiBadgePulse 0.45s ease;
}
@keyframes aiBadgePulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}
.ai-panel--demo.ai-panel-demo-active .ai-panel-body {
  transition: opacity 0.32s ease;
}
@media (prefers-reduced-motion: reduce) {
  .ai-panel--demo.ai-panel-demo-active .ai-query-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .ai-panel--demo .ai-query-item.is-running,
  .ai-panel--demo .ai-query-item.is-next-run {
    background: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .ai-panel--demo .ai-query-meta.is-running::before {
    display: none !important;
  }
}
@media (max-width: 1100px) {
  .ai-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .ai-section {
    padding: 80px 0;
  }
}

/* ── Metrics ── */
.metrics {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--off-white) 0%, var(--bg-soft) 100%);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 280px));
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  border-left: 1px solid var(--gray-light);
}
.metric-item {
  padding: 40px;
  border-right: 1px solid var(--gray-light);
  background: var(--white);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.metric-item:last-child {
  border-right: none;
}
.metric-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.metric-item:hover::before {
  transform: scaleX(1);
}
.metric-item:hover {
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
}
.metric-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.metric-item:hover .metric-num {
  transform: scale(1.1);
}
.metric-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-mid);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    max-width: 640px;
  }
}
@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    border-left: none;
  }
  .metric-item {
    padding: 28px 20px;
  }
  .metrics {
    padding: 60px 0;
  }
}

/* ── How it works ── */
.how {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}
.how-header {
  margin-bottom: 72px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--gray-light);
}
.how-step {
  padding: 0 40px;
  border-right: 1px solid var(--gray-light);
  background: var(--white);
  padding-top: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.how-step:hover {
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  color: rgba(193, 104, 42, 0.08);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.step-body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-mid);
}
@media (max-width: 768px) {
  .how-steps {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .how-step {
    border-right: none;
    border-top: 1px solid var(--gray-light);
    padding: 32px 0;
  }
  .how {
    padding: 80px 0;
  }
}

/* ── Security ── */
.security {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--off-white) 0%, var(--bg-soft) 100%);
}
.security-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
.security-left h2 {
  margin-bottom: 18px;
}
.security-left p {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-mid);
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-light);
}
.security-item {
  background: var(--white);
  padding: 32px 28px;
  border-bottom: 1px solid var(--gray-light);
  border-right: 1px solid var(--gray-light);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.security-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  transition: left 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.security-item:hover::before {
  left: 100%;
}
.security-item:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.security-item:nth-child(2n) {
  border-right: none;
}
.security-item:nth-last-child(-n + 2) {
  border-bottom: none;
}
.security-icon {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.security-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}
.security-body {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-mid);
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .security-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .security {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
  .security-item {
    border-right: none;
  }
  .security-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--gray-light);
  }
  .security-item:last-child {
    border-bottom: none;
  }
}

/* ── CTA ── */
.cta-section {
  padding: 100px 0;
  background: var(--accent);
}
.cta-section .section-kicker {
  color: rgba(255, 255, 255, 0.85);
}
.cta-section .section-kicker::before {
  background: var(--white);
}
.cta-section .btn-nav {
  background: var(--white);
  color: var(--accent);
}
.cta-section .btn-nav:hover {
  background: var(--off-white);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.cta-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-left h2 em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 700;
}
.cta-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}
.cta-form {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}
.cta-input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark);
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-right: none;
  padding: 12px 16px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cta-input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.cta-input::placeholder {
  color: var(--gray-mid);
}
.cta-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
  letter-spacing: 0.01em;
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards;
}
.cta-note a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
}
.cta-note a:hover {
  text-decoration: underline;
  color: var(--accent-2);
}
.form-msg {
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 10px 12px;
  display: none;
  margin-top: 8px;
  border: 1px solid;
  animation: slideInRight 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.form-msg.success {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.2);
  color: var(--positive);
  display: block;
}
.form-msg.error {
  background: rgba(198, 40, 40, 0.08);
  border-color: rgba(198, 40, 40, 0.2);
  color: var(--negative);
  display: block;
}
@media (max-width: 1024px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .cta-section {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .cta-form {
    flex-direction: column;
  }
  .cta-input {
    border-right: 1px solid var(--gray-light);
  }
}

/* ── Footer ── */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-light);
}
.footer-brand img {
  height: auto;
  width: 140px;
  max-width: 100%;
  display: block;
  margin-bottom: 24px;
  transition: transform 0.3s;
  object-fit: contain;
}
.footer-brand img:hover {
  transform: scale(1.05);
}
.footer-brand-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-mid);
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-mid);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.footer-legal a:hover {
  color: var(--accent);
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
