/* Retail AI OS public site — hand-written CSS, no JavaScript, no build tooling.
   Dark control-plane aesthetic: deep ink canvas, hairline panels, one brand blue. */

:root {
  color-scheme: dark;
  --ink: #05090f;
  --ink-2: #071020;
  --panel: #0d1726;
  --panel-2: #111e31;
  --line: #1b2a3f;
  --line-soft: rgba(255, 255, 255, 0.07);
  --brand: #33b5f0;
  --brand-2: #7cd0ff;
  --brand-deep: #1e8fd0;
  --brand-tint: rgba(51, 181, 240, 0.12);
  --text: #e8eef6;
  --soft: #b7c3d4;
  --muted: #7f8fa6;
  --heat: #ffb547;
  --good: #3ddc97;
  --violet: #c9a9ff;
  --radius: 18px;
  --wrap: 1240px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --shadow-md: 0 24px 60px -32px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 0 1px rgba(51, 181, 240, 0.25), 0 30px 80px -40px rgba(51, 181, 240, 0.55);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--soft);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

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

::selection {
  background: rgba(51, 181, 240, 0.32);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #04121c;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #04121c;
  box-shadow: 0 14px 34px -18px rgba(51, 181, 240, 0.9);
}

.btn-primary:hover {
  background: var(--brand-2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--panel-2);
  border-color: rgba(51, 181, 240, 0.45);
}

.btn-whatsapp {
  background: #25d366;
  border-color: #1fb457;
  color: #04240f;
}

.btn-whatsapp:hover {
  background: #3ce07a;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 9, 15, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
}

.header-actions .btn {
  padding: 9px 17px;
  font-size: 13.5px;
}

/* no-JS mobile menu, only shown below the desktop breakpoint */
.site-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.site-menu > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}

.site-menu[open] > summary {
  border-color: rgba(51, 181, 240, 0.5);
}

.site-menu[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(320px, calc(100vw - 36px));
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.menu-panel ul {
  display: grid;
  gap: 2px;
}

.menu-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--soft);
  font-size: 15px;
}

.menu-panel a:hover,
.menu-panel a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
}

.menu-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.menu-actions .btn {
  width: 100%;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 12% -10%, rgba(51, 181, 240, 0.2), transparent 62%),
    radial-gradient(700px 460px at 88% 8%, rgba(201, 169, 255, 0.12), transparent 62%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  border-bottom: 1px solid var(--line-soft);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 480px at 30% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 480px at 30% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 92px 0 84px;
}

.hero.has-visual .hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 6px 13px 6px 11px;
  border: 1px solid rgba(51, 181, 240, 0.32);
  border-radius: 999px;
  background: rgba(51, 181, 240, 0.08);
  color: var(--brand-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(51, 181, 240, 0.18);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 750;
  color: #ffffff;
  max-width: 17ch;
}

h1 .accent {
  background: linear-gradient(96deg, var(--brand) 8%, var(--brand-2) 38%, var(--violet) 62%, var(--brand-2) 92%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: accent-sheen 12s linear infinite;
}

.hero .lede {
  margin-top: 24px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--soft);
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(51, 181, 240, 0.14);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* CSS-only 3D stage behind the live decision card: tilted orbiting rings, a
   breathing glow and two floating chips. No JavaScript, no canvas. */
.stage3d {
  position: relative;
  width: 100%;
  max-width: 452px;
  perspective: 1400px;
}

.stage-glow {
  position: absolute;
  inset: -16% -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(51, 181, 240, 0.3), rgba(51, 181, 240, 0.06) 55%, transparent 75%);
  filter: blur(26px);
  animation: stage-glow 9s ease-in-out infinite;
  pointer-events: none;
}

/* wireframe globe: meridians are circles rotated around the Y axis inside a
   slowly spinning 3D scene, latitudes are flattened circles. Stylesheet only. */
.globe3d {
  position: absolute;
  inset: -24% -30%;
  perspective: 1000px;
  pointer-events: none;
}

.globe-spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: globe-spin 32s linear infinite;
}

.globe-spin i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(51, 181, 240, 0.15);
  border-radius: 50%;
}

.globe-spin i:nth-child(2) {
  transform: rotateY(30deg);
}

.globe-spin i:nth-child(3) {
  transform: rotateY(60deg);
}

.globe-spin i:nth-child(4) {
  transform: rotateY(90deg);
}

.globe-spin i:nth-child(5) {
  transform: rotateY(120deg);
}

.globe-spin i:nth-child(6) {
  transform: rotateY(150deg);
}

.globe-spin b {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(124, 208, 255, 0.1);
  border-radius: 50%;
}

.globe-spin b.lat-a {
  transform: translateY(-26%) rotateX(90deg) scale(0.92);
}

.globe-spin b.lat-b {
  transform: rotateX(90deg);
}

.globe-spin b.lat-c {
  transform: translateY(26%) rotateX(90deg) scale(0.92);
}

.globe-core {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, rgba(51, 181, 240, 0.2), rgba(21, 38, 60, 0.08) 46%, transparent 68%);
  filter: blur(5px);
}

@keyframes globe-spin {
  from {
    transform: rotateX(16deg) rotateY(0deg);
  }
  to {
    transform: rotateX(16deg) rotateY(360deg);
  }
}

.stage-rings {
  position: absolute;
  inset: -8% -12%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.stage-rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  aspect-ratio: 1;
  margin: -44% 0 0 -44%;
  border: 1px solid rgba(51, 181, 240, 0.2);
  border-radius: 50%;
  transform: rotateX(74deg) rotateZ(0deg);
  animation: ring-spin 24s linear infinite;
}

.stage-rings i::after {
  content: "";
  position: absolute;
  top: -3px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 12px rgba(51, 181, 240, 0.9);
}

.stage-rings i:nth-child(2) {
  width: 66%;
  margin: -33% 0 0 -33%;
  border-color: rgba(124, 208, 255, 0.26);
  animation-duration: 16s;
  animation-direction: reverse;
}

.stage-rings i:nth-child(3) {
  width: 108%;
  margin: -54% 0 0 -54%;
  border-color: rgba(201, 169, 255, 0.14);
  animation-duration: 34s;
}

.stage-rings i:nth-child(3)::after {
  background: var(--violet);
  box-shadow: 0 0 12px rgba(201, 169, 255, 0.8);
}

.stage3d .live-card {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  animation: card-float 9s ease-in-out infinite;
  will-change: transform;
}

.stage-chip {
  position: absolute;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(11, 21, 35, 0.92);
  box-shadow: 0 18px 40px rgba(3, 8, 15, 0.55);
  color: var(--soft);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: chip-float 7s ease-in-out infinite;
  pointer-events: none;
}

.stage-chip b {
  color: var(--good);
  font-weight: 600;
}

.stage-chip-a {
  top: -18px;
  left: -24px;
}

.stage-chip-b {
  right: -10px;
  bottom: -16px;
  color: var(--muted);
  animation-delay: -2.4s;
}

@keyframes stage-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes ring-spin {
  from {
    transform: rotateX(74deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(74deg) rotateZ(360deg);
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(1.4deg) rotateY(-2deg);
  }
  50% {
    transform: translate3d(0, -10px, 26px) rotateX(-1.2deg) rotateY(1.6deg);
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translate3d(0, 0, 30px);
  }
  50% {
    transform: translate3d(0, -8px, 54px);
  }
}

@keyframes accent-sheen {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* light sweep across the stats band */
.stats {
  position: relative;
  overflow: hidden;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(51, 181, 240, 0.09) 50%, transparent 58%);
  transform: translateX(-100%);
  animation: stats-scan 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes stats-scan {
  0%,
  55% {
    transform: translateX(-100%);
  }
  85%,
  100% {
    transform: translateX(100%);
  }
}


/* live decision card */
.live-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 22px;
  background: linear-gradient(170deg, rgba(17, 30, 49, 0.96), rgba(9, 17, 29, 0.98));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-glow);
}

.live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px 160px at 100% 0%, rgba(51, 181, 240, 0.18), transparent 70%);
  pointer-events: none;
}

.live-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.16);
  animation: live-pulse 2.4s ease-in-out infinite;
}

.live-label {
  color: var(--muted);
}

.live-status {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid rgba(255, 181, 71, 0.32);
  border-radius: 999px;
  background: rgba(255, 181, 71, 0.1);
  color: var(--heat);
  letter-spacing: 0.06em;
}

.live-title {
  position: relative;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.live-meta {
  position: relative;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.live-rows {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.live-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.83rem;
}

.live-rows li span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-rows li strong {
  color: var(--soft);
  font-weight: 500;
  text-align: right;
}

.live-impact {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(61, 220, 151, 0.24);
  border-radius: 12px;
  background: rgba(61, 220, 151, 0.07);
}

.live-impact span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-impact strong {
  color: var(--good);
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.live-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.live-foot .chip {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* page header for inner pages */
.page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 82% -40%, rgba(51, 181, 240, 0.24), transparent 70%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  border-bottom: 1px solid var(--line-soft);
  color: var(--soft);
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
  pointer-events: none;
}

.page-head-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 72px;
  max-width: 880px;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: #ffffff;
}

.page-head .lede {
  margin-top: 20px;
  color: var(--soft);
  font-size: 1.04rem;
  max-width: 70ch;
}

.page-head .hero-actions {
  margin-top: 30px;
}

.breadcrumbs {
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--soft);
}

/* ------------------------------------------------------------------ sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--ink), #071022);
  border-block: 1px solid var(--line-soft);
}

.section-stats {
  padding: 56px 0 24px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 40px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand);
  opacity: 0.7;
}

.section h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 730;
}

.section-intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.prose {
  max-width: 74ch;
}

.prose p + p {
  margin-top: 18px;
}

.prose p {
  color: var(--soft);
}

/* ------------------------------------------------------------------ stats */
.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(17, 30, 49, 0.7), rgba(9, 17, 29, 0.7));
  overflow: hidden;
}

.stats li {
  padding: 26px 24px;
  border-left: 1px solid var(--line-soft);
}

.stats li:first-child {
  border-left: 0;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-2), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------------ pipeline */
.pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stage.is-core {
  background: linear-gradient(175deg, rgba(51, 181, 240, 0.14), rgba(17, 30, 49, 0.94) 42%);
  border-color: rgba(51, 181, 240, 0.42);
  box-shadow: var(--shadow-glow);
}

.stage-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-kicker b {
  color: var(--brand);
  font-weight: 600;
}

.stage.is-core .stage-kicker b {
  color: var(--brand-2);
}

.stage h3 {
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

.stage-note {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.3;
}

.tile::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.8;
}

.stage.is-core .tile {
  border-color: rgba(51, 181, 240, 0.2);
  background: rgba(51, 181, 240, 0.07);
}

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

.action-card {
  --tone: var(--brand);
  position: relative;
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.action-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: var(--tone);
}

.action-card[data-tone="good"] {
  --tone: var(--good);
}

.action-card[data-tone="heat"] {
  --tone: var(--heat);
}

.action-card[data-tone="violet"] {
  --tone: var(--violet);
}

.action-card h3 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.action-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------------ cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012));
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(51, 181, 240, 0.4);
  background: linear-gradient(170deg, rgba(51, 181, 240, 0.08), rgba(255, 255, 255, 0.02));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border: 1px solid rgba(51, 181, 240, 0.28);
  border-radius: 11px;
  background: rgba(51, 181, 240, 0.1);
  color: var(--brand-2);
}

.card-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.card h3 {
  font-family: var(--font);
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ bullets */
.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0Zm4.7 7.7-5.4 5.4a1 1 0 0 1-1.4 0L5.3 10.5a1 1 0 0 1 1.4-1.4L8.6 11l4.7-4.7a1 1 0 0 1 1.4 1.4Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* ------------------------------------------------------------------ steps */
.steps {
  display: grid;
  gap: 0;
  margin-top: 8px;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 30px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(51, 181, 240, 0.3);
  background: var(--panel);
  color: var(--brand-2);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 54px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), transparent);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  margin-top: 9px;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.steps p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ------------------------------------------------------------------ table */
.table-scroll {
  margin-top: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

thead th {
  text-align: left;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--soft);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

tbody td:first-child {
  color: var(--text);
  font-weight: 500;
}

/* ------------------------------------------------------------------ faq */
.faq-group + .faq-group {
  margin-top: 40px;
}

.faq-title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 0 22px;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: rgba(51, 181, 240, 0.35);
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  font-size: 0.99rem;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--brand);
  font-weight: 600;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 78ch;
}

/* ------------------------------------------------------------------ cta */
.cta {
  position: relative;
  overflow: hidden;
  padding: 46px 44px;
  border: 1px solid rgba(51, 181, 240, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(560px 260px at 92% -20%, rgba(51, 181, 240, 0.32), transparent 66%),
    radial-gradient(420px 240px at 4% 120%, rgba(201, 169, 255, 0.16), transparent 70%),
    linear-gradient(150deg, #0b1524, #0a1424);
  box-shadow: var(--shadow-md);
}

.cta h2 {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  max-width: 24ch;
}

.cta p {
  margin-top: 12px;
  max-width: 620px;
  color: var(--soft);
}

.cta .hero-actions {
  margin-top: 26px;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  margin-top: 88px;
  padding: 60px 0 40px;
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(170px, 1fr));
  gap: 40px;
}

.site-footer .brand {
  color: var(--text);
}

.footer-note {
  margin-top: 16px;
  max-width: 380px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-col h3 {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--soft);
  font-size: 0.92rem;
}

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

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ------------------------------------------------------------------ demo video */
.demo {
  margin: 0;
}

.demo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #02060b;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.demo-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #02060b;
}

.demo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ------------------------------------------------------------------ client marquee */
.marquee {
  overflow: hidden;
  padding: 4px 0;
}

.logo-strip {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  animation: logo-scroll 34s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

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

.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 224px;
  min-height: 98px;
  padding: 16px 20px;
  text-align: center;
  background: #f3f7fb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}

.logo-img {
  height: 30px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-deep), #0b2a44);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.logo-word {
  font-weight: 650;
  color: #0b1524;
  line-height: 1.2;
}

.logo-word + small {
  display: block;
}

.logo-tile small {
  margin-left: 0;
  color: #5b6b80;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan.is-featured {
  border-color: rgba(51, 181, 240, 0.5);
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan-price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.plan-price strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.plan-price span,
.plan-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.plan-note {
  margin: 0;
}

.plan .check-list {
  margin: 0;
  gap: 9px;
  font-size: 0.88rem;
}

.plan .btn {
  margin-top: auto;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ------------------------------------------------------------------ intake form */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 880px;
  margin-top: 30px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soft);
}

.field-wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  color-scheme: dark;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f7089;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(51, 181, 240, 0.18);
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status[data-kind="ok"] {
  color: #8fe3b8;
  border-color: rgba(72, 199, 142, 0.45);
  background: rgba(72, 199, 142, 0.1);
}

.form-status[data-kind="error"] {
  color: #ffb4a8;
  border-color: rgba(255, 120, 100, 0.45);
  background: rgba(255, 120, 100, 0.1);
}

.form-status[data-kind="pending"] {
  color: var(--soft);
}

.intake-form button[type="submit"][disabled] {
  opacity: 0.65;
  cursor: progress;
}

.form-examples {
  display: grid;
  gap: 10px;
}

.form-examples-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 6px 12px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.form-audit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(51, 181, 240, 0.07);
  border: 1px solid rgba(51, 181, 240, 0.28);
  border-radius: 14px;
}

.form-audit p {
  margin: 0;
  max-width: 52ch;
  color: var(--soft);
  font-size: 0.9rem;
}

.form-audit .btn {
  flex: 0 0 auto;
}

#audit,
#demo,
#message {
  scroll-margin-top: 90px;
}

/* ------------------------------------------------------------------ 3D hero stage */
.hero-visual .orbit {
  position: relative;
  top: auto;
  right: auto;
  width: 320px;
  height: 320px;
  transform: none;
  margin-inline: auto;
}

.orbit {
  position: absolute;
  right: 0;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translateY(-50%);
  pointer-events: none;
}

.orbit-scene {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 900px;
  transform-style: preserve-3d;
}

.orbit-ring {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(51, 181, 240, 0.3);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(0deg);
  animation: orbit-spin 18s linear infinite;
}

.orbit-ring::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand);
}

.orbit-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 136px;
  padding: 14px 16px;
  background: rgba(13, 23, 38, 0.94);
  border: 1px solid rgba(51, 181, 240, 0.32);
  border-radius: 14px;
  color: var(--text);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  transform-style: preserve-3d;
}

.orbit-card span {
  font-weight: 600;
  font-size: 0.92rem;
}

.orbit-card small {
  color: var(--muted);
  font-size: 0.68rem;
}

.orbit-card-a {
  transform: translate(-50%, -50%) translate3d(-84px, -58px, 40px) rotateY(14deg);
  animation: card-float-a 7s ease-in-out infinite;
}

.orbit-card-b {
  transform: translate(-50%, -50%) translate3d(58px, 6px, -20px) rotateY(-12deg);
  animation: card-float-b 8s ease-in-out infinite;
}

.orbit-card-c {
  transform: translate(-50%, -50%) translate3d(-46px, 82px, 10px) rotateY(8deg);
  animation: card-float-c 9s ease-in-out infinite;
}

@keyframes orbit-spin {
  from {
    transform: rotateX(66deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(66deg) rotateZ(360deg);
  }
}

@keyframes card-float-a {
  0%, 100% { transform: translate(-50%, -50%) translate3d(-84px, -58px, 40px) rotateY(14deg); }
  50% { transform: translate(-50%, -50%) translate3d(-84px, -70px, 52px) rotateY(14deg); }
}

@keyframes card-float-b {
  0%, 100% { transform: translate(-50%, -50%) translate3d(58px, 6px, -20px) rotateY(-12deg); }
  50% { transform: translate(-50%, -50%) translate3d(66px, -6px, -12px) rotateY(-12deg); }
}

@keyframes card-float-c {
  0%, 100% { transform: translate(-50%, -50%) translate3d(-46px, 82px, 10px) rotateY(8deg); }
  50% { transform: translate(-50%, -50%) translate3d(-38px, 70px, 18px) rotateY(8deg); }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .pipeline {
    grid-template-columns: 1fr;
  }

  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 44px));
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-menu {
    display: block;
  }

  .hero.has-visual .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 72px 0 68px;
  }

  .hero h1 {
    max-width: 22ch;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .live-card {
    max-width: 520px;
  }

  .stage3d {
    max-width: 520px;
  }

  .stage-chip-a {
    top: -16px;
    left: 4px;
  }

  .stage-chip-b {
    right: 0;
    bottom: -14px;
  }

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

  .stats li:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .stats li:nth-child(5) {
    border-top: 1px solid var(--line-soft);
  }

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

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-stats {
    padding: 44px 0 12px;
  }

  .page-head-inner {
    padding: 52px 0 58px;
  }

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

  .stats li {
    padding: 22px 18px;
  }

  .stats li:nth-child(odd) {
    border-left: 0;
  }

  .stats li:nth-child(even) {
    border-left: 1px solid var(--line-soft);
  }

  .stats li:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

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

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

  .cta {
    padding: 32px 26px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .hero-grid {
    padding: 56px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    max-width: none;
  }

  .hero .lede {
    margin-top: 18px;
  }

  .hero-actions .btn,
  .cta .btn {
    width: 100%;
  }

  .hero-facts {
    gap: 9px 16px;
    font-size: 10.5px;
  }

  .live-card {
    padding: 19px;
  }

  .live-title {
    font-size: 1.18rem;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .stats strong {
    font-size: 1.8rem;
  }

  .steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .steps li::before {
    width: 38px;
    height: 38px;
    font-size: 11.5px;
  }

  .steps li::after {
    left: 19px;
    top: 46px;
  }

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

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

  .intake-form {
    padding: 22px 18px;
  }

  .form-actions .btn {
    width: 100%;
  }

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

  .footer-base {
    flex-direction: column;
    gap: 6px;
  }

  .plan-price strong {
    font-size: 1.55rem;
  }

  .menu-panel {
    right: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orbit-ring,
  .orbit-card,
  .logo-strip,
  .live-dot,
  .stage-glow,
  .stage-rings i,
  .stage-chip,
  .stage3d .live-card,
  .stats::after,
  h1 .accent {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
