:root {
  --font-sans: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Cabinet Grotesk", "General Sans", sans-serif;
  --bg0: #141210;
  --bg1: #1c1a17;
  --text: #f4f0e8;
  --muted: #9c958a;
  --accent: #c4a574;
  --accent2: #8f9d88;
  --accent3: #b8956c;
  --esp: #c9b896;
  --esp-warn: #b08a72;
  --esp-line: #2cff9a;
  --esp-line-soft: rgba(44, 255, 154, 0.45);
  --card: rgba(38, 34, 30, 0.55);
  --border: rgba(255, 248, 235, 0.09);
  --radius: clamp(14px, 2vw, 20px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --space-section: clamp(2.75rem, 6vw, 5.5rem);
  --space-gutter: clamp(1rem, 4vw, 2.75rem);
  --content-max: 72rem;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.5;
  color: var(--text);
  background: radial-gradient(1000px 700px at 12% 0%, rgba(196, 165, 116, 0.09), transparent),
    radial-gradient(800px 600px at 88% 15%, rgba(143, 157, 136, 0.08), transparent),
    radial-gradient(700px 500px at 50% 100%, rgba(176, 138, 114, 0.06), transparent), var(--bg0);
  background-attachment: fixed;
  overflow-x: hidden;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.26;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noiseShift 8s steps(4) infinite;
}

@keyframes noiseShift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2%, 3%);
  }
  50% {
    transform: translate(3%, -2%);
  }
  75% {
    transform: translate(-3%, -3%);
  }
  100% {
    transform: translate(0, 0);
  }
}

.glow-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 42vmin;
  height: 42vmin;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: floatOrb 18s var(--ease-out) infinite alternate;
}

.orb-a {
  top: -10%;
  left: -5%;
  background: var(--accent);
  animation-delay: -2s;
}

.orb-b {
  bottom: 0;
  right: -10%;
  background: var(--accent2);
  animation-duration: 22s;
}

.orb-c {
  top: 40%;
  left: 35%;
  width: 30vmin;
  height: 30vmin;
  background: var(--accent3);
  opacity: 0.25;
  animation-duration: 26s;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(6vw, 4vh) scale(1.08);
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--space-gutter);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(20, 18, 16, 0.82), rgba(20, 18, 16, 0.45));
  animation: headerIn 0.9s var(--ease-out) both;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-admin {
  display: inline-flex;
}

@media (min-width: 720px) {
  .header-admin,
  .header-keys {
    display: none;
  }
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--accent), #8a7a62);
  box-shadow: none;
}

.nav {
  display: none;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  --mag-x: 0px;
  --mag-y: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease,
    background 0.25s ease;
  transform: translate(var(--mag-x), var(--mag-y));
}

.btn-primary {
  color: #1a1612;
  background: linear-gradient(145deg, #d4bc8e, var(--accent) 55%, #a68b5c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 10px 28px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 14px 36px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(196, 181, 152, 0.45);
  background: rgba(196, 181, 152, 0.06);
}

.btn-ghost {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero {
  padding: clamp(2.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  box-sizing: border-box;
}

.hero-inner.hero-inner--single {
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .hero-inner:not(.hero-inner--single) {
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .hero-inner:not(.hero-inner--single) .hero-aside {
    position: sticky;
    top: 5.25rem;
  }

  .hero-inner:not(.hero-inner--single) .hero-actions {
    margin-bottom: 0;
  }
}

.hero-aside {
  width: 100%;
  min-width: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black, transparent);
  animation: gridDrift 40s linear infinite;
  opacity: 0.5;
}

@keyframes gridDrift {
  to {
    background-position: 48px 48px;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw + 0.5rem, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  background: linear-gradient(105deg, #e8d4b0, var(--accent) 45%, #9a8b78);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shimmer-text {
  position: relative;
}

.hero-lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 55%),
    rgba(10, 12, 22, 0.55);
  backdrop-filter: blur(16px);
  width: 100%;
  max-width: min(32rem, 100%);
  margin-inline: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  animation: cardFloat 7s ease-in-out infinite;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (min-width: 720px) {
  .hero-card {
    grid-template-columns: 1fr 1.2fr;
  }
}

.device-ring {
  width: min(220px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    from 220deg,
    rgba(196, 181, 152, 0.15),
    rgba(138, 152, 130, 0.35),
    rgba(184, 148, 128, 0.2),
    rgba(196, 181, 152, 0.15)
  );
  animation: spinGlow 10s linear infinite;
  box-shadow: 0 0 60px rgba(196, 181, 152, 0.15);
}

@keyframes spinGlow {
  to {
    transform: rotate(360deg);
  }
}

.device-core {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a3148, #0a0c14 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  animation: counterSpin 10s linear infinite;
}

@keyframes counterSpin {
  to {
    transform: rotate(-360deg);
  }
}

.pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(196, 181, 152, 0.55);
  animation: ripple 2.2s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(196, 181, 152, 0.55);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 28px rgba(196, 181, 152, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(196, 181, 152, 0);
  }
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  animation: statFade 0.8s var(--ease-out) both;
}

.hero-stats li:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-stats li:nth-child(2) {
  animation-delay: 0.2s;
}
.hero-stats li:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes statFade {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

.hero-stats strong {
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.marquee {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  width: 100%;
  max-width: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.85rem 0;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.marquee-track .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

main {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

.section {
  padding: var(--space-section) var(--space-gutter);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
}

.card:hover {
  border-color: rgba(196, 181, 152, 0.35);
}

.card-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(196, 181, 152, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover .card-glow {
  opacity: 1;
}

.card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.card-visual {
  height: 100px;
  border-radius: 14px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card-visual span {
  position: absolute;
  border-radius: 999px;
  animation: blob 6s ease-in-out infinite;
}

.card-visual.internal {
  background: linear-gradient(160deg, #151a2e, #0a0c14);
}

.card-visual.internal span:nth-child(1) {
  width: 40%;
  height: 16px;
  left: 10%;
  top: 35%;
  background: rgba(196, 181, 152, 0.35);
  animation-delay: 0s;
}

.card-visual.internal span:nth-child(2) {
  width: 24%;
  height: 24%;
  right: 14%;
  top: 22%;
  background: rgba(138, 152, 130, 0.25);
  animation-delay: -1s;
}

.card-visual.internal span:nth-child(3) {
  width: 60%;
  height: 10px;
  left: 15%;
  bottom: 22%;
  background: rgba(255, 255, 255, 0.06);
  animation-delay: -2s;
}

.card-visual.external {
  background: linear-gradient(200deg, #1a2238, #0b0e18);
}

.card-visual.external span:nth-child(1) {
  width: 70%;
  height: 12px;
  left: 8%;
  top: 40%;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 152, 0.45), transparent);
  animation-duration: 4s;
}

.card-visual.external span:nth-child(2) {
  width: 18px;
  height: 18px;
  right: 20%;
  top: 28%;
  background: var(--accent3);
  box-shadow: 0 0 24px rgba(184, 148, 128, 0.5);
}

.card-visual.external span:nth-child(3) {
  width: 50%;
  height: 50%;
  left: -10%;
  bottom: -30%;
  background: radial-gradient(circle, rgba(138, 152, 130, 0.25), transparent 60%);
  animation-duration: 8s;
}

.card-visual.handoff {
  background: linear-gradient(135deg, #12182a, #070910);
}

.card-visual.handoff span:nth-child(1) {
  width: 45%;
  height: 45%;
  left: 12%;
  top: 18%;
  background: conic-gradient(var(--accent), var(--accent2), var(--accent3), var(--accent));
  opacity: 0.35;
  filter: blur(8px);
}

.card-visual.handoff span:nth-child(2) {
  width: 38%;
  height: 38%;
  right: 10%;
  bottom: 12%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  animation: handNudge 3.2s ease-in-out infinite;
}

@keyframes handNudge {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, -6px);
  }
}

@keyframes blob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(6px, -4px) scale(1.05);
  }
}

.modes {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.mode-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mode-item button {
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.mode-item.is-active button {
  border-color: rgba(196, 181, 152, 0.45);
  background: linear-gradient(90deg, rgba(196, 181, 152, 0.12), rgba(138, 152, 130, 0.08));
  box-shadow: 0 0 30px rgba(196, 181, 152, 0.12);
}

.mode-item button:hover {
  transform: translateX(4px);
}

.mode-caption {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  min-height: 3.2rem;
  transition: opacity 0.35s ease;
}

.split-stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}

.stage-layers {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 30px 80px rgba(0, 0, 0, 0.55);
}

.layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}

.layer.is-visible {
  opacity: 1;
  transform: scale(1);
}

.layer-calm {
  background: radial-gradient(circle at 50% 35%, rgba(196, 181, 152, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(138, 152, 130, 0.2), transparent 50%), #0b0f1c;
  animation: calmBreath 5s ease-in-out infinite;
}

@keyframes calmBreath {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

.layer-trail {
  background: conic-gradient(from 180deg, #0d1428, #1a2a48, #0d1428);
  animation: trailSpin 14s linear infinite;
}

@keyframes trailSpin {
  to {
    transform: rotate(360deg);
  }
}

.layer-away {
  background: repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      transparent 2px 10px
    ),
    radial-gradient(circle at 40% 40%, rgba(184, 148, 128, 0.25), transparent 50%), #080a12;
  animation: awayScan 3.5s linear infinite;
}

@keyframes awayScan {
  to {
    background-position: 0 40px, 0 0, 0 0;
  }
}

.stage-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: ringSpin 28s linear infinite;
}

@keyframes ringSpin {
  to {
    transform: rotate(-360deg);
  }
}

.specs-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 800px) {
  .specs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.spec {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(26, 22, 20, 0.72);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.spec::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 0%, rgba(196, 181, 152, 0.12), transparent 55%);
  animation: specShine 4s ease-in-out infinite;
}

@keyframes specShine {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

.spec-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.spec-value--plain {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

.spec-unit {
  font-size: 0.95rem;
  color: var(--muted);
  margin-left: 0.15rem;
  position: relative;
  z-index: 1;
}

.spec-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.cta {
  padding-bottom: 5rem;
}

.cta-inner {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(196, 181, 152, 0.08), rgba(138, 152, 130, 0.06)),
    rgba(8, 10, 18, 0.75);
  backdrop-filter: blur(18px);
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.cta-inner h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.cta-inner > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .cta-form {
    flex-direction: row;
    align-items: stretch;
  }
}

.cta-form input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cta-form input:focus {
  border-color: rgba(196, 181, 152, 0.5);
  box-shadow: 0 0 0 3px rgba(196, 181, 152, 0.12);
}

.fineprint {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem var(--space-gutter) 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer__links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.esp-track {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      180deg,
      rgba(196, 181, 152, 0.04),
      transparent 40%,
      rgba(138, 152, 130, 0.05) 100%
    ),
    radial-gradient(600px 400px at 100% 50%, rgba(184, 148, 128, 0.06), transparent);
}

.esp-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .esp-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.esp-eyebrow {
  margin-bottom: 0.75rem;
}

.esp-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw + 0.4rem, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.esp-lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.65;
  max-width: 42rem;
}

.esp-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.esp-bullets li {
  position: relative;
  padding-left: 1.25rem;
}

.esp-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.esp-stage-wrap {
  width: 100%;
  min-width: 0;
}

.esp-stage {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(44, 40, 36, 0.55), rgba(22, 20, 18, 0.92));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px rgba(0, 0, 0, 0.35);
  min-height: clamp(18rem, 42vw, 24rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  overflow: hidden;
}

.esp-stage--game {
  background: radial-gradient(ellipse 100% 80% at 50% 100%, rgba(20, 60, 40, 0.35), transparent 55%),
    linear-gradient(180deg, #0a0e0c 0%, #060807 100%);
  border-color: rgba(44, 255, 154, 0.18);
  box-shadow: 0 0 0 1px rgba(44, 255, 154, 0.06) inset, 0 24px 60px rgba(0, 0, 0, 0.65);
}

.esp-figure-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(220px, 54vw);
  margin: clamp(0.5rem, 2vw, 1rem) auto 0;
}

.esp-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 120 / 200;
}

.esp-person {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.esp-person--rig {
  opacity: 0.92;
}

.esp-box-wrap {
  position: absolute;
  inset: 2% 4% 4%;
  pointer-events: none;
  z-index: 2;
}

.esp-fullbox {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border: 2px solid var(--esp-line);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 20px var(--esp-line-soft);
  z-index: 1;
}

.esp-bbox {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.esp-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--esp-line);
  opacity: 1;
  box-shadow: 0 0 10px var(--esp-line-soft);
}

.esp-corner--tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-radius: 2px 0 0 0;
}

.esp-corner--tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-radius: 0 2px 0 0;
}

.esp-corner--bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 2px;
}

.esp-corner--br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-radius: 0 0 2px 0;
}

.esp-tag {
  order: -1;
  margin: 0;
  text-align: center;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--esp-line);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--esp-line-soft);
  background: rgba(0, 10, 6, 0.85);
  text-shadow: 0 0 12px var(--esp-line-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s ease;
  transition-delay: var(--d, 0s);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
  filter: none;
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

}
