/* ============================================================
   CASHFLOWPROP v4 — FULL EX MACHINA
   Nathan's compound. Glass rooms in darkness.
   Light as material. Data as atmosphere.
   Neural networks. Architectural wireframes. Living UI.
   ============================================================ */

:root {
  --void:       #FFFBFE;
  --surface:    #F3EDF7;
  --panel:      rgba(255,255,255,0.56);
  --panel-edge: rgba(121,116,126,0.24);
  --panel-glow: rgba(103,80,164,0.16);

  --text:       #1C1B1F;
  --text-mid:   #49454F;
  --text-dim:   rgba(73,69,79,0.72);
  --text-ghost: rgba(73,69,79,0.14);

  --warm:       #6750A4;
  --warm-soft:  rgba(103,80,164,0.18);
  --warm-glow:  rgba(103,80,164,0.20);
  --warm-bright:rgba(103,80,164,0.9);

  --cool:       #7D5260;
  --cool-soft:  rgba(125,82,96,0.14);

  --font-thin:  'Roboto', system-ui, sans-serif;
  --font-serif: 'Roboto', system-ui, sans-serif;
  --font-mono:  'Space Mono', monospace;

  --nav-h: 56px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-thin);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(103,80,164,0.22) 0%, transparent 34%),
    radial-gradient(circle at 92% 16%, rgba(125,82,96,0.16) 0%, transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(232,222,248,0.55) 0%, transparent 38%),
    var(--void);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   AMBIENT LAYERS — Atmosphere
   ============================================================ */

/* Grid */
.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103,80,164,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,80,164,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(0,0,0,0.4) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(0,0,0,0.4) 0%, transparent 70%);
}

/* Floating warm light orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}
.ambient-glow--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(103,80,164,0.30) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  animation: glowDrift1 20s ease-in-out infinite;
}
.ambient-glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(125,82,96,0.24) 0%, transparent 70%);
  bottom: 20%;
  left: -5%;
  animation: glowDrift2 25s ease-in-out infinite;
}

@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-40px, 30px); }
  66% { transform: translate(20px, -20px); }
}
@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

/* Scan line */
.scanline {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  z-index: 9998;
  pointer-events: none;
  animation: scanMove 8s linear infinite;
}
@keyframes scanMove {
  0% { top: -2px; }
  100% { top: 100vh; }
}

/* Particle canvas */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- ANIMATION SYSTEM ---- */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1),
              transform 1s cubic-bezier(0.22,1,0.36,1);
}
.anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim[data-d="1"] { transition-delay: 0.15s; }
.anim[data-d="2"] { transition-delay: 0.3s; }
.anim[data-d="3"] { transition-delay: 0.45s; }

/* ============================================================
   BOOT SEQUENCE
   ============================================================ */
.boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot__wheel {
  width: clamp(140px, 28vw, 220px);
  height: clamp(140px, 28vw, 220px);
}
.boot__wheel-track {
  stroke: rgba(0,0,0,0.06);
}
.boot__wheel-progress {
  stroke: var(--text, #1C1B1F);
  transition: stroke-dashoffset 0.15s ease-out;
}
.boot__pct {
  position: absolute;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text, #1C1B1F);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255,251,254,0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--panel-edge);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-thin);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-svg {
  width: 22px;
  height: 22px;
  opacity: 0.85;
  transition: opacity 0.3s;
  filter: drop-shadow(0 0 2px rgba(212,134,62,0.2));
  animation: navLogoGlow 3s ease-in-out infinite;
}
@keyframes navLogoGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(212,134,62,0.2)); opacity: 0.85; }
  50% { filter: drop-shadow(0 0 8px rgba(212,134,62,0.5)); opacity: 1; }
}
.nav__logo:hover .nav__logo-svg {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(212,134,62,0.6));
  animation: none;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__status {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cool);
  box-shadow: 0 0 8px rgba(94,196,158,0.3);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(94,196,158,0.3); }
  50% { opacity: 0.4; box-shadow: 0 0 2px rgba(94,196,158,0.1); }
}
.nav__coord {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 8px 20px;
  border: 1px solid var(--panel-edge);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.2,0,0,1);
}
.nav__cta:hover {
  background: rgba(103,80,164,0.10);
  border-color: rgba(103,80,164,0.45);
  color: var(--warm);
  box-shadow: 0 8px 22px rgba(103,80,164,0.16);
}

.nav__cta--primary {
  background: rgba(103,80,164,0.15);
  border-color: rgba(103,80,164,0.45);
  color: var(--warm);
}

/* ---- Mobile hamburger button ---- */
.nav__hamburger {
  display: none;
  background: none;
  border: 1px solid var(--panel-edge);
  color: var(--text-mid);
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 110;
}
.nav__hamburger:hover {
  border-color: var(--warm);
  color: var(--warm);
}

/* ---- Mobile menu overlay ---- */
.nav__mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,251,254,0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav__mobile--open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 24px;
  width: 100%;
  max-width: 320px;
}

.nav__mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid var(--panel-edge);
  color: var(--text-mid);
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav__mobile-close:hover {
  border-color: var(--warm);
  color: var(--warm);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.nav__mobile-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s ease;
}
.nav__mobile-links a:hover {
  color: var(--warm);
}

.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}
.nav__mobile-btn {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 14px 24px;
  border: 1px solid var(--panel-edge);
  transition: all 0.4s ease;
}
.nav__mobile-btn:hover {
  border-color: var(--warm);
  color: var(--warm);
}
.nav__mobile-btn--primary {
  background: rgba(103,80,164,0.15);
  border-color: rgba(103,80,164,0.4);
  color: var(--warm);
}
.nav__mobile-btn--primary:hover {
  background: rgba(103,80,164,0.2);
  border-color: var(--warm);
}

.nav__mobile-status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 0;
  padding-top: var(--nav-h);
  position: relative;
  z-index: 1;
}

/* Neural network SVG background */
.hero__neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.neural-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: neuralDraw 3s cubic-bezier(0.22,1,0.36,1) forwards;
}
.neural-node {
  opacity: 0;
  animation: nodeAppear 0.6s ease forwards;
}
@keyframes neuralDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes nodeAppear {
  to { opacity: 1; }
}

/* Hexagon behind headline */
.hero__hex {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hex-rotate {
  animation: hexSpin 40s linear infinite;
  transform-origin: center;
}
.hex-rotate-reverse {
  animation: hexSpinReverse 50s linear infinite;
  transform-origin: center;
}
@keyframes hexSpin { to { transform: rotate(360deg); } }
@keyframes hexSpinReverse { to { transform: rotate(-360deg); } }

/* Glass panels */
.hero__panel {
  padding: 48px 20px;
  display: flex;
  align-items: flex-start;
  padding-top: 100px;
  position: relative;
  z-index: 2;
}
.hero__panel--left {
  border-right: 1px solid var(--panel-edge);
}
.hero__panel--right {
  border-left: 1px solid var(--panel-edge);
}

.panel__glass {
  width: 100%;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  position: relative;
  animation: panelIn 1.2s cubic-bezier(0.22,1,0.36,1) 2.2s both;
  overflow: hidden;
}

/* Glass light refraction effect */
.panel__glass::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0%, rgba(255,255,255,0.01) 25%, transparent 50%, rgba(212,134,62,0.01) 75%, transparent 100%);
  animation: glassRefract 12s linear infinite;
  pointer-events: none;
}
@keyframes glassRefract {
  to { transform: rotate(360deg); }
}

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

.panel__label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--text-ghost);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Radar sweep */
.panel__radar { flex-shrink: 0; }
.radar-sweep {
  transform-origin: 7px 7px;
  animation: radarSweep 3s linear infinite;
}
@keyframes radarSweep { to { transform: rotate(360deg); } }

.panel__metric { margin-bottom: 14px; }
.panel__metric-val {
  font-family: var(--font-thin);
  font-weight: 200;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.2;
}
.panel__metric-val--accent { color: var(--warm); }
.panel__metric-val--dim { color: var(--text-dim); }
.panel__metric-unit {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-top: 2px;
  display: block;
}
.panel__divider {
  width: 100%;
  height: 1px;
  background: var(--text-ghost);
  margin: 14px 0;
}
.panel__status {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
}
.panel__status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--warm);
  animation: pulse 2s ease-in-out infinite;
}

/* Bar chart animation */
.panel__bars { margin-bottom: 14px; }
.panel__bar-svg { width: 100%; height: 50px; }
.bar-anim {
  animation: barGrow 0.8s cubic-bezier(0.22,1,0.36,1) both;
  transform-origin: bottom;
}
@keyframes barGrow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

/* Panel rows */
.panel__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.025);
}
.panel__row:last-of-type { border-bottom: none; }
.panel__row-k {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-dim);
}
.panel__row-v {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-mid);
}
.panel__row-v--green { color: var(--cool); }
.panel__row--hl {
  background: rgba(255,255,255,0.02);
  margin: 0 -20px;
  padding: 6px 20px;
}

.panel__mini-chart { margin-top: 14px; height: 40px; position: relative; overflow: hidden; }

/* Donut chart */
.panel__donut-wrap { margin-top: 14px; display: flex; justify-content: center; }
.panel__donut { width: 70px; height: 70px; }
.donut-seg {
  stroke-dasharray: 0 188;
  animation: donutFill 1.5s cubic-bezier(0.22,1,0.36,1) 3s forwards;
}
.donut-seg--1 { animation-name: donutFill1; }
.donut-seg--2 { animation-name: donutFill2; animation-delay: 3.3s; }
.donut-seg--3 { animation-name: donutFill3; animation-delay: 3.6s; }
@keyframes donutFill1 { to { stroke-dasharray: 75 113; } }
@keyframes donutFill2 { to { stroke-dasharray: 50 138; } }
@keyframes donutFill3 { to { stroke-dasharray: 63 125; } }

/* HERO CENTER */
.hero__center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  position: relative;
  z-index: 2;
}
.hero__over {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.hero__h {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 28px;
  position: relative;
}
.hero__h em {
  font-style: normal;
  color: var(--warm);
  text-shadow: 0 0 40px rgba(103,80,164,0.22);
}
.hero__sub {
  font-family: var(--font-thin);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 44px;
}
.hero__acts {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--warm);
  background: var(--warm);
  color: #FFFFFF;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.2,0,0,1);
}
.btn:hover {
  background: rgba(103,80,164,0.9);
  box-shadow: 0 16px 28px rgba(103,80,164,0.28);
  transform: translateY(-1px) scale(1.02);
}
.btn:active {
  transform: scale(0.95);
}
.btn__glow {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--warm);
  opacity: 0;
  animation: btnPulse 3s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.04); }
}

.btn--ghost {
  background: rgba(103,80,164,0.08);
  color: var(--warm);
  border-color: rgba(103,80,164,0.2);
}
.btn--ghost:hover {
  background: rgba(103,80,164,0.15);
  border-color: rgba(103,80,164,0.45);
  color: var(--warm);
  box-shadow: 0 12px 24px rgba(103,80,164,0.18);
}

.hero__chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero__chip {
  font-family: var(--font-thin);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1D192B;
  background: #E8DEF8;
  border: 1px solid rgba(103,80,164,0.22);
  border-radius: 9999px;
  padding: 8px 14px;
  transition: all 0.3s cubic-bezier(0.2,0,0,1);
}

.hero__chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(103,80,164,0.14);
}

/* ============================================================
   DATA RULE / TICKER
   ============================================================ */
.data-rule {
  border-top: 1px solid var(--panel-edge);
  border-bottom: 1px solid var(--panel-edge);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.008);
}
.data-rule__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 50s linear infinite;
  width: max-content;
}
.data-rule__track span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.data-rule__dot {
  color: var(--warm);
  opacity: 0.3;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   QUESTION / PROBLEM
   ============================================================ */
.question {
  padding: 160px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.question__building {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  pointer-events: none;
  opacity: 0.6;
}

.bld-draw {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: bldDraw 4s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes bldDraw {
  to { stroke-dashoffset: 0; }
}

.question__glyph {
  margin-bottom: 24px;
}

.question__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.question__text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.question__attr {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

/* File tags */
.question__files {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.file-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 8px 14px;
  border: 1px solid var(--text-ghost);
  color: var(--text-dim);
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.file-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,134,62,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.file-tag:hover {
  border-color: rgba(212,134,62,0.3);
  color: var(--warm);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212,134,62,0.06);
}
.file-tag:hover::before { opacity: 1; }
.file-tag--warm {
  border-color: rgba(212,134,62,0.15);
  color: rgba(212,134,62,0.5);
}

/* ============================================================
   SYSTEM DIAGRAM — Centred, Ex Machina presentation & animation
   ============================================================ */
.system {
  padding: clamp(130px, 14vw, 185px) 24px clamp(150px, 16vw, 210px);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--panel-edge);
  border-bottom: 1px solid var(--panel-edge);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 34%, rgba(212,134,62,0.08) 0%, rgba(212,134,62,0.025) 24%, transparent 60%),
    radial-gradient(circle at 50% 62%, rgba(94,196,158,0.07) 0%, rgba(94,196,158,0.02) 27%, transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0) 100%);
}

.system::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(980px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.035);
  opacity: 0.45;
  animation: systemFieldRotate 28s linear infinite;
  pointer-events: none;
}

.system::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 0,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 110px
    ),
    linear-gradient(180deg, transparent 0%, rgba(212,134,62,0.03) 45%, transparent 100%);
  opacity: 0.18;
  pointer-events: none;
}

.system__inner {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.system__label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.8vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--warm);
  margin: 0;
  opacity: 0;
  animation: systemLabelIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.system__tagline {
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-mid);
  margin: 12px 0 0;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: systemLabelIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

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

.system__diagram-wrap {
  margin-top: clamp(34px, 6vw, 56px);
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 40px) clamp(36px, 5vw, 60px);
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 56%, rgba(212,134,62,0.07) 0%, rgba(212,134,62,0) 48%),
    radial-gradient(circle at 50% 42%, rgba(94,196,158,0.05) 0%, rgba(94,196,158,0) 45%),
    linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.008) 46%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(4px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.025) inset,
    0 18px 70px -22px rgba(0,0,0,0.62),
    0 0 110px -45px rgba(212,134,62,0.32),
    0 0 90px -38px rgba(94,196,158,0.22);
  overflow: hidden;
  opacity: 0;
  animation: systemCardIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.system__diagram-wrap::before {
  content: '';
  position: absolute;
  left: -36%;
  top: -32%;
  width: 64%;
  height: 180%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 45%, transparent 100%);
  opacity: 0.24;
  transform: rotate(16deg);
  animation: systemScan 7.8s ease-in-out infinite;
  pointer-events: none;
}

.system__diagram-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212,134,62,0.08), inset 0 0 30px rgba(212,134,62,0.08);
  pointer-events: none;
}

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

@keyframes systemFieldRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes systemScan {
  0%, 100% { transform: translateX(0) rotate(16deg); opacity: 0.05; }
  45% { opacity: 0.24; }
  50% { transform: translateX(300%) rotate(16deg); opacity: 0.18; }
  55% { opacity: 0.24; }
}

.system__diagram {
  display: block;
  width: 100%;
  min-width: 260px;
  height: auto;
  aspect-ratio: 860 / 330;
  margin: 0 auto;
  opacity: 0;
  animation:
    systemDiagramIn 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards,
    systemDiagramDrift 14s ease-in-out 2.2s infinite;
  filter:
    drop-shadow(0 12px 28px rgba(0,0,0,0.45))
    drop-shadow(0 0 18px rgba(212,134,62,0.16))
    drop-shadow(0 0 18px rgba(94,196,158,0.16));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

@keyframes systemDiagramDrift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.004); }
}

.sys-draw {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation:
    sysDraw 2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    sysStrokeFlicker 8s ease-in-out 2.8s infinite;
}
@keyframes sysDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes sysStrokeFlicker {
  0%, 100% { opacity: 1; }
  46% { opacity: 0.9; }
  50% { opacity: 0.72; }
  54% { opacity: 0.9; }
}

.sys-label {
  font-family: var(--font-thin);
  font-weight: 300;
  font-size: 15px;
  fill: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.12));
  opacity: 0;
  animation: sysTextIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}
.sys-sublabel {
  font-family: var(--font-thin);
  font-weight: 300;
  font-size: 10.5px;
  fill: rgba(255,255,255,0.52);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0;
  animation: sysTextIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1.12s forwards;
}
.sys-core-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  fill: var(--warm);
  letter-spacing: 0.14em;
  filter: drop-shadow(0 0 12px rgba(212,134,62,0.4));
  opacity: 0;
  animation: sysTextIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.26s forwards;
}
.sys-out-label {
  font-family: var(--font-thin);
  font-weight: 300;
  font-size: 15px;
  fill: rgba(125,224,191,0.92);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  filter: drop-shadow(0 0 10px rgba(94,196,158,0.2));
  opacity: 0;
  animation: sysTextIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1.46s forwards;
}
@keyframes sysTextIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.sys-line {
  stroke-dasharray: 8 10;
  stroke-dashoffset: 420;
  stroke-linecap: round;
  animation:
    sysLineDraw 1.85s cubic-bezier(0.22, 1, 0.36, 1) 0.46s forwards,
    sysLineFlow 9s linear 2.1s infinite;
}
.sys-line-out {
  stroke-dasharray: 8 10;
  stroke-dashoffset: 420;
  stroke-linecap: round;
  animation:
    sysLineDraw 1.95s cubic-bezier(0.22, 1, 0.36, 1) 1.02s forwards,
    sysLineFlowOut 7.8s linear 2.4s infinite;
}
@keyframes sysLineDraw {
  to { stroke-dashoffset: 12; }
}
@keyframes sysLineFlow {
  from { stroke-dashoffset: 12; }
  to { stroke-dashoffset: -260; }
}
@keyframes sysLineFlowOut {
  from { stroke-dashoffset: 12; }
  to { stroke-dashoffset: 260; }
}

.sys-orbit {
  fill: none;
  stroke-width: 0.8;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.sys-orbit--warm {
  stroke: rgba(212,134,62,0.38);
  animation:
    sysOrbitIn 0.9s ease-out 1.1s forwards,
    sysOrbitSpin 20s linear 2s infinite;
}
.sys-orbit--cool {
  stroke: rgba(94,196,158,0.34);
  stroke-dasharray: 3 9;
  animation:
    sysOrbitIn 0.9s ease-out 1.28s forwards,
    sysOrbitSpinReverse 16s linear 2.15s infinite;
}
@keyframes sysOrbitIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sysOrbitSpin {
  to { transform: rotate(360deg); }
}
@keyframes sysOrbitSpinReverse {
  to { transform: rotate(-360deg); }
}

.sys-gear {
  animation: gearSpin 11s linear infinite, gearBreath 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 10px rgba(212,134,62,0.28));
}
@keyframes gearSpin {
  to { transform: rotate(360deg); }
}
@keyframes gearBreath {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

.sys-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: corePulse 4s ease-in-out infinite, coreFloat 6.5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(212,134,62,0.32));
}
@keyframes corePulse {
  0%, 100% { stroke: rgba(212,134,62,0.28); fill: rgba(212,134,62,0.048); }
  50%      { stroke: rgba(212,134,62,0.58); fill: rgba(212,134,62,0.11); }
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.sys-pulse {
  opacity: 0.94;
}
.sys-pulse--in {
  filter: drop-shadow(0 0 8px rgba(212,134,62,0.55));
}
.sys-pulse--out {
  filter: drop-shadow(0 0 8px rgba(94,196,158,0.52));
}

/* ============================================================
   SYSTEM DIAGRAM — second pass refinement (less gimmicky)
   ============================================================ */
.system {
  padding: clamp(110px, 12vw, 150px) 24px clamp(120px, 14vw, 170px);
  background:
    radial-gradient(circle at 20% 20%, rgba(103,80,164,0.10) 0%, transparent 38%),
    radial-gradient(circle at 82% 25%, rgba(125,82,96,0.08) 0%, transparent 36%),
    var(--void);
}

.system::before,
.system::after {
  animation: none;
  opacity: 0.08;
}

.system__label,
.system__tagline {
  opacity: 1;
  animation: none;
}

.system__tagline {
  font-weight: 400;
}

.system__diagram-wrap {
  border-radius: 28px;
  border: 1px solid rgba(121,116,126,0.22);
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(243,237,247,0.94) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 20px 40px rgba(28,27,31,0.10);
  opacity: 1;
  animation: none;
}

.system__diagram-wrap::before {
  display: none;
}

.system__diagram-wrap::after {
  box-shadow: inset 0 0 0 1px rgba(103,80,164,0.08);
}

.system__diagram {
  opacity: 1;
  animation: none;
  filter: none;
}

.system__diagram rect,
.system__diagram line,
.system__diagram circle,
.system__diagram polygon,
.system__diagram path {
  stroke: rgba(73,69,79,0.18) !important;
}

.sys-label,
.sys-sublabel {
  fill: rgba(73,69,79,0.62);
  opacity: 1;
  animation: none;
  filter: none;
}

.sys-core-label {
  fill: var(--warm);
  opacity: 1;
  animation: none;
  filter: none;
}

.sys-out-label {
  fill: rgba(125,82,96,0.85);
  opacity: 1;
  animation: none;
  filter: none;
}

.sys-line,
.sys-line-out,
.sys-draw,
.sys-orbit,
.sys-gear,
.sys-core,
.sys-pulse {
  animation: none;
}

.sys-orbit {
  opacity: 0.35;
}

/* Clean architecture card replacement */
.system__card {
  width: 100%;
  max-width: 980px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px) 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(121,116,126,0.2);
  background: linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(243,237,247,0.95) 100%);
  box-shadow: 0 20px 40px rgba(28,27,31,0.08);
}

.system__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.system__column-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.system__pill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.system__pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(121,116,126,0.24);
  background: rgba(255,255,255,0.7);
  color: var(--text-mid);
  font-size: 0.86rem;
  line-height: 1.3;
}

.system__pill--accent {
  border-color: rgba(103,80,164,0.28);
  color: #5E3F90;
  background: rgba(232,222,248,0.72);
}

.system__core {
  border-radius: 24px;
  border: 1px solid rgba(103,80,164,0.2);
  background: rgba(232,222,248,0.58);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.system__core-logo {
  width: 44px;
  height: 44px;
}

.system__core-title {
  font-size: 1rem;
  font-weight: 500;
  color: #513A82;
}

.system__core-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* ============================================================
   FEATURES
   ============================================================ */
.feat-section {
  padding: 120px 32px;
  position: relative;
  z-index: 1;
}
.feat-section__head {
  max-width: 1200px;
  margin: 0 auto 60px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--warm);
}

.feat-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
}

.feat { background: transparent; }

.feat__glass {
  padding: 36px 28px;
  height: 100%;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2,0,0,1);
  border: 1px solid rgba(121,116,126,0.16);
  border-radius: 24px;
  background: #F3EDF7;
  box-shadow: 0 2px 6px rgba(28,27,31,0.06);
}
.feat__glass:hover {
  background: rgba(232,222,248,0.7);
  border-color: rgba(103,80,164,0.25);
  box-shadow: 0 14px 30px rgba(103,80,164,0.18);
  transform: translateY(-2px) scale(1.02);
}

.feat__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.feat__glass:hover .feat__icon {
  transform: scale(1.1) translateY(-2px);
}

.feat__id {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--warm);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
  opacity: 0.6;
}
.feat__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.feat__glass:hover .feat__name {
  color: var(--warm);
}
.feat__desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
}
.feat__edge {
  position: absolute;
  bottom: 0;
  left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--warm), rgba(94,196,158,0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.feat__glass:hover .feat__edge { transform: scaleX(1); }

/* ============================================================
   PROVOCATION
   ============================================================ */
.provocation {
  padding: 180px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--panel-edge);
  border-bottom: 1px solid var(--panel-edge);
  overflow: hidden;
}

.provocation__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
}
.ring-pulse {
  animation: ringPulse 4s ease-out infinite;
  transform-origin: center;
}
@keyframes ringPulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

.provocation__layout {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* SVG drawings sit behind the text */
.provocation__side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.provocation__side--left { left: 2%; }
.provocation__side--right { right: 2%; }
/* Centred text on top */
.provocation__inner {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.provocation__drawing {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 280 / 200;
  opacity: 0.35;
}
.provocation__drawing--sheet {
  opacity: 0;
  animation: provDrawingIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
.provocation__drawing--dashboard {
  opacity: 0;
  animation: provDrawingIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}
@keyframes provDrawingIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 0.35; transform: scale(1); }
}
.provocation__drawing .prov-line--warm {
  stroke: rgba(212,134,62,0.4);
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: provLineDraw 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}
.provocation__drawing .prov-line--cool {
  stroke: rgba(94,196,158,0.45);
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: provLineDraw 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}
@keyframes provLineDraw {
  to { stroke-dashoffset: 0; }
}
.provocation__drawing-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.provocation__side--left .provocation__drawing-label { color: rgba(212,134,62,0.4); }
.provocation__side--right .provocation__drawing-label { color: rgba(94,196,158,0.4); }

.provocation__num {
  font-family: var(--font-thin);
  font-weight: 200;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 32px;
}
.provocation__dollar {
  color: var(--warm);
  text-shadow: 0 0 60px rgba(212,134,62,0.2);
}
.provocation__context {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 24px;
  font-weight: 300;
}
.provocation__kicker {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 0;
}

/* ============================================================
   PRICING
   ============================================================ */
.price-section {
  padding: 120px 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.price-section > .section-label { margin-bottom: 60px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
}
.price { background: transparent; }

.price__glass {
  padding: 44px 28px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2,0,0,1);
  border-radius: 24px;
  border: 1px solid rgba(121,116,126,0.16);
  background: #F3EDF7;
  box-shadow: 0 2px 6px rgba(28,27,31,0.06);
}

.price--primary .price__glass {
  background: linear-gradient(180deg, rgba(232,222,248,0.92) 0%, rgba(243,237,247,0.92) 100%);
  border: 2px solid rgba(103,80,164,0.45);
  box-shadow: 0 20px 36px rgba(103,80,164,0.22);
  transform: translateY(-16px);
}

/* Corner accents on featured */
.price__corner {
  position: absolute;
}
.price__corner--tl { top: 8px; left: 8px; }
.price__corner--br { bottom: 8px; right: 8px; }

.price__tag {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  color: var(--warm);
  margin-bottom: 16px;
}
.price__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
.price__cost {
  font-family: var(--font-thin);
  font-weight: 200;
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.price--primary .price__cost {
  color: var(--warm);
  text-shadow: 0 0 30px rgba(212,134,62,0.15);
}
.price__cycle {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  margin-top: 6px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}
.price__list { margin-bottom: 32px; flex: 1; }
.price__list li {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 7px 0;
  border-bottom: 1px solid rgba(121,116,126,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
}
.price__list li::before {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--warm);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 180px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--panel-edge);
  overflow: hidden;
}
.cta__reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  animation: reticleSpin 20s linear infinite;
}
@keyframes reticleSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--warm), transparent);
  opacity: 0.3;
  transform: translateX(-50%);
}

.cta__inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.35;
  color: var(--text-mid);
  margin-bottom: 48px;
}
.cta__title em {
  font-style: italic;
  color: var(--warm);
  text-shadow: 0 0 30px rgba(212,134,62,0.1);
}
.cta__form {
  display: flex;
  max-width: 420px;
  margin: 0 auto 20px;
  border: none;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cta__form:focus-within {
  border-color: rgba(212,134,62,0.3);
  box-shadow: 0 0 40px rgba(212,134,62,0.04);
}
.cta__input {
  flex: 1;
  padding: 16px 18px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: #E7E0EC;
  border: none;
  border-bottom: 2px solid #79747E;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  color: var(--text);
  outline: none;
  letter-spacing: 0.02em;
}
.cta__input:focus {
  border-bottom-color: #6750A4;
}
.cta__input::placeholder { color: var(--text-dim); }
.cta__form .btn {
  border-left: 1px solid var(--panel-edge);
  border-top: none; border-bottom: none; border-right: none;
}
.cta__note {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.cta__note a {
  color: var(--warm);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,134,62,0.25);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.cta__note a:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 24px 32px;
  border-top: 1px solid var(--panel-edge);
  position: relative;
  z-index: 1;
}
.foot__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foot__brand {
  font-family: var(--font-thin);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
.foot__links { display: flex; gap: 24px; }
.foot__links a {
  font-size: 0.7rem;
  color: var(--text-dim);
  transition: color 0.3s;
}
.foot__links a:hover { color: var(--warm); }
.foot__copy {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-ghost);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__panel { display: none; }
  .hero__center { padding: 120px 32px 80px; }
}
@media (max-width: 768px) {
  .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .nav__right { display: none; }
  .nav__hamburger { display: block; }
  .hero__center { padding: 100px 24px 60px; }
  .hero__h { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .provocation__layout { min-height: 360px; }
  .provocation__side { max-width: 120px; opacity: 0.2; }
  .provocation__side--left { left: 0; }
  .provocation__side--right { right: 0; }
  .provocation__drawing { max-width: 120px; }
  .provocation__num { font-size: clamp(3.5rem, 14vw, 6rem); }
  .cta__form {
    flex-direction: column;
    border: none;
  }
  .cta__input {
    border: 1px solid var(--panel-edge);
    margin-bottom: 8px;
  }
  .cta__form .btn {
    border: 1px solid var(--warm);
    border-left: 1px solid var(--warm);
    width: 100%;
    justify-content: center;
  }
  .foot__inner { flex-direction: column; gap: 12px; }
  .system {
    padding: 112px 16px 128px;
  }
  .system__card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
  }
  .system__core {
    order: -1;
  }
  .system__inner {
    padding: 0;
  }
  .system__diagram-wrap {
    max-width: 100%;
    padding: 24px 14px 30px;
    overflow: hidden;
    border-radius: 10px;
  }
  .system__diagram {
    min-height: 214px;
    aspect-ratio: 860 / 330;
  }
  .sys-label,
  .sys-out-label {
    font-size: 13px;
  }
  .sys-sublabel {
    font-size: 9.5px;
  }
  .sys-core-label {
    font-size: 14px;
    letter-spacing: 0.11em;
  }
  .question__files { gap: 6px; }
  .file-tag { font-size: 0.55rem; padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .system::before,
  .system__diagram-wrap::before,
  .system__diagram,
  .sys-draw,
  .sys-label,
  .sys-sublabel,
  .sys-core-label,
  .sys-out-label,
  .sys-line,
  .sys-line-out,
  .sys-orbit,
  .sys-gear,
  .sys-core {
    animation: none !important;
  }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--text-ghost); }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ---- SELECTION ---- */
::selection {
  background: var(--warm-soft);
  color: var(--text);
}
