/* =========================================================
   Radnot — landing page
   Palette: Ink #0E1424 · Orange #FF5B23 · Cream #F2D3A0
   ========================================================= */

:root {
  --ink: #0E1424;
  --ink-deep: #090D18;
  --surface: #121931;
  --text: #F4F6F8;
  --text-2: #A3ABBD;
  --text-3: #7E879B;
  --orange: #FF5B23;
  --orange-soft: #FF8A4C;
  --cream: #F2D3A0;
  --line: rgba(244, 246, 248, 0.08);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --pad-x: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--orange-soft); }
button { font: inherit; }

.page {
  overflow: clip;
  background: linear-gradient(180deg, #0E1424 0%, #0E1424 13%, #090D18 21%, #090D18 37%, #0C1220 47%, #0D1322 58%, #0B101D 68%, #0B101D 80%, #0A0E1A 90%, #0E1424 100%);
}
.container { position: relative; max-width: 1240px; margin: 0 auto; }
.section { position: relative; padding: 140px var(--pad-x); }

/* ---------- type ---------- */
.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.cream { color: var(--cream); }
.muted { color: var(--text-2); }
.mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.mono.muted { color: var(--text-3); }
.kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.h2 { margin: 20px 0 0; font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
.h2.center { margin: 0; text-align: center; }
.h3 { margin: 18px 0 0; font-family: Sora, sans-serif; font-weight: 600; font-size: 32px; letter-spacing: -0.025em; line-height: 1.15; }
.lead { margin: 24px 0 0; max-width: 500px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.lead.narrow { margin: 0; max-width: 380px; font-size: 17px; }
.center-text { margin-left: auto; margin-right: auto; text-align: center; max-width: 520px; position: relative; }
.body { margin: 14px 0 0; max-width: 440px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.ember-text { background: linear-gradient(180deg, #F2D3A0 0%, #FF9A5C 55%, #FF5B23 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }

/* ---------- buttons (glass) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; border: 1px solid rgba(244, 246, 248, 0.16);
  background-color: rgba(18, 24, 40, 0.62); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 24px rgba(0, 0, 0, 0.25);
  font-family: Inter, sans-serif; font-weight: 600; cursor: pointer; white-space: nowrap;
  transform: scale(1);
  transition: transform .6s var(--ease), background-color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease), color .6s var(--ease);
}
.btn:hover, .btn:focus-visible {
  transform: scale(1.05); color: #FFF1EA;
  background-color: rgba(120, 52, 32, 0.55); border-color: rgba(255, 138, 76, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 214, 190, 0.18), 0 10px 34px rgba(255, 91, 35, 0.2);
}
.btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(244, 246, 248, 0); transition: background-color .6s ease, border-color .6s ease, backdrop-filter .6s ease, -webkit-backdrop-filter .6s ease; }
.nav.solid { background-color: rgba(12, 17, 30, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(244, 246, 248, 0.07); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 20px var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 36px; font-size: 15px; }
.nav-links a { color: var(--text-2); transition: color .3s ease; }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -84px; min-height: 1120px; display: flex; flex-direction: column; align-items: center; padding: 180px var(--pad-x) 0; }
.dotgrid { position: absolute; inset: 0; background-image: radial-gradient(rgba(244, 246, 248, 0.09) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); }
.hero-glow {
  position: absolute; left: 50%; bottom: -260px; width: 1500px; height: 760px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242,211,160,0.95) 0%, rgba(255,140,76,0.85) 22%, rgba(255,91,35,0.7) 40%, rgba(147,49,44,0.55) 62%, rgba(14,20,36,0) 100%);
  filter: blur(24px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 62%); mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 62%);
}
.hero-planet {
  position: absolute; left: 50%; top: calc(100% - 150px); width: 2800px; height: 2800px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #1C1622 0%, #0B0F1A 18%, #090D18 100%);
  box-shadow: 0 -1px 0 rgba(242,211,160,0.9), 0 -24px 80px rgba(255,91,35,0.35), inset 0 3px 40px rgba(255,140,76,0.28);
  -webkit-mask-image: linear-gradient(to bottom, #000 0px, #000 140px, rgba(0,0,0,0.6) 320px, transparent 600px);
  mask-image: linear-gradient(to bottom, #000 0px, #000 140px, rgba(0,0,0,0.6) 320px, transparent 600px);
}
.nd-btn { position: relative; z-index: 2; display: block; width: 200px; height: 200px; margin: 0 0 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.nd-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 10px; }
.eyebrow { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(244,246,248,0.12); background: rgba(14,20,36,0.6); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-title { position: relative; z-index: 2; margin: 28px 0 0; text-align: center; font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(56px, 9.2vw, 136px); line-height: .95; letter-spacing: -0.045em; }
.hero-title .serif { letter-spacing: -0.02em; }
.hero-sub { position: relative; z-index: 2; max-width: 620px; margin: 28px 0 0; }
.hero-sub-shade { position: absolute; left: -18%; right: -18%; top: -55%; bottom: -55%; border-radius: 50%; background: radial-gradient(closest-side, rgba(11,15,26,0.88) 0%, rgba(11,15,26,0.6) 55%, rgba(11,15,26,0) 100%); }
.hero-sub p { position: relative; margin: 0; text-align: center; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #D3D8E2; text-shadow: 0 1px 14px rgba(9,13,24,0.95); }
.hero-ctas { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.scroll-cue { position: absolute; z-index: 2; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }

/* ---------- Ayla ---------- */
.ayla-haze { position: absolute; left: 50%; top: -120px; width: 1100px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,91,35,0.1), rgba(147,49,44,0.05) 60%, rgba(9,13,24,0) 100%); filter: blur(30px); }
.ayla-grid { position: relative; max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 7vw, 96px); }
.ayla-copy { flex: 1 1 440px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(244,246,248,0.12); background-color: rgba(244,246,248,0); color: var(--text-2);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: border-color .4s ease, background-color .4s ease, color .4s ease;
}
.chip:hover { color: var(--text); border-color: rgba(244,246,248,0.32); }
.chip.on { border-color: var(--chip); background-color: rgba(244,246,248,0.06); color: var(--text); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--chip); transition: box-shadow .5s ease; }
.chip.on .chip-dot { box-shadow: 0 0 12px var(--chip); }

.console-wrap { flex: 1 1 480px; min-width: 0; position: relative; }
.con-glow { position: absolute; inset: 10px; border-radius: 50%; background-color: rgba(34,195,230,0.2); filter: blur(70px); transition: background-color .7s ease; }
.console { position: relative; border-radius: 28px; border: 1px solid rgba(244,246,248,0.09); background: linear-gradient(180deg, #161D30 0%, #10162A 100%); box-shadow: 0 40px 120px rgba(0,0,0,0.5); overflow: hidden; }
.con-head { display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-bottom: 1px solid rgba(244,246,248,0.07); }
.con-node { flex: none; width: 84px; height: 84px; }
.zoom-42 { width: 200px; height: 200px; zoom: .42; }
.zoom-44 { width: 200px; height: 200px; zoom: .44; }
.con-id { flex: 1; min-width: 0; }
.con-name { font-family: Sora, sans-serif; font-size: 20px; font-weight: 600; }
.con-status { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--text-2); }
.con-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background-color: #22C3E6; transition: background-color .5s ease; }
.con-body { padding: 28px; }
.con-title { font-family: Sora, sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.con-detail { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* stacked cross-fade: every child sits in the same grid cell, so height never jumps */
.stack { display: grid; min-width: 0; }
.xfade { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.xfade.on { opacity: 1; transform: none; pointer-events: auto; }

/* sample call */
.call { margin: 0 28px; padding: 22px 0 4px; border-top: 1px solid rgba(244,246,248,0.07); }
.call-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.call-controls { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(244,246,248,0.1); background: rgba(9,13,24,0.5); }
.seg-btn { min-width: 44px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--text-3); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; cursor: pointer; transition: background-color .35s ease, color .35s ease; }
.seg-btn.on { background: rgba(244,246,248,0.1); color: var(--text); }
.play-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,138,76,0.45); background-color: rgba(120,52,32,0.45); color: #FFF1EA;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background-color .4s ease, border-color .4s ease, transform .5s var(--ease);
}
.play-btn:hover { transform: scale(1.04); background-color: rgba(150,62,34,0.6); }
.play-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.play-btn .ic-stop { display: none; }
.play-btn.playing .ic-play { display: none; }
.play-btn.playing .ic-stop { display: block; }

.transcript { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.55; }
.transcript[hidden] { display: none; }
.line { display: flex; gap: 14px; opacity: 1; transition: opacity .4s ease; }
.line .who { flex: none; width: 64px; font-weight: 600; color: var(--text-2); }
.line .who.ayla { color: var(--orange-soft); }
.line .txt { color: var(--text-2); transition: color .4s ease; }
.line .who.ayla + .txt { color: var(--text); }
.transcript.live .line { opacity: .38; }
.transcript.live .line.done { opacity: .62; }
.transcript.live .line.active { opacity: 1; }
.transcript.live .line.active .txt { color: var(--text); }
.call-progress { height: 2px; margin-top: 18px; border-radius: 2px; background: rgba(244,246,248,0.06); overflow: hidden; }
.call-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FF5B23, #F2D3A0); }

.con-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 18px 28px; background: rgba(244,246,248,0.03); border-top: 1px solid rgba(244,246,248,0.07); font-size: 13px; color: var(--text-2); }
.con-foot .booked { color: #7BE7AE; }

/* ---------- products ---------- */
.haze { position: absolute; border-radius: 50%; filter: blur(30px); }
.haze-orange { right: -240px; top: -260px; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(255,91,35,0.09), rgba(255,91,35,0) 100%); }
.haze-ember { left: -280px; bottom: -320px; width: 1000px; height: 900px; background: radial-gradient(closest-side, rgba(147,49,44,0.14), rgba(190,108,18,0.05) 55%, rgba(13,19,34,0) 100%); }
.haze-how { left: 50%; bottom: -280px; width: 1300px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,91,35,0.08), rgba(147,49,44,0.04) 60%, rgba(11,16,29,0) 100%); }
.products { padding-top: 150px; padding-bottom: 120px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head .h2 { margin: 0; max-width: 680px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 64px; }
.card {
  flex: 1 1 480px; min-width: 0; position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 44px); background-color: var(--surface);
  transition: transform .6s var(--ease-out), border-color .4s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(244,246,248,0.16); }
.card-crm { background-image: radial-gradient(70% 60% at 100% 0%, rgba(255,91,35,0.2), rgba(255,91,35,0) 100%); }
.card-decide { background-image: radial-gradient(70% 60% at 0% 100%, rgba(190,108,18,0.22), rgba(190,108,18,0) 100%), radial-gradient(60% 50% at 100% 100%, rgba(147,49,44,0.3), rgba(147,49,44,0) 100%); }
.spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(255,91,35,0.13), rgba(255,91,35,0) 45%); }
.card:hover .spot { opacity: 1; }
.pipeline { display: flex; gap: 10px; margin-top: 36px; }
.col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.col-h { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.tile { height: 54px; border-radius: 12px; background: rgba(244,246,248,0.05); padding: 12px; }
.tile i { display: block; height: 7px; border-radius: 4px; background: rgba(244,246,248,0.2); }
.tile i + i { margin-top: 8px; background: rgba(244,246,248,0.1); }
.tile-hot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(255,91,35,0.12); border: 1px solid rgba(255,91,35,0.5); }
.tile-hot img { flex: none; }
.tile-hot span { flex: 1; min-width: 0; }
.tile-hot i { background: rgba(244,246,248,0.35); }
.tile-hot i + i { background: rgba(255,138,76,0.5); }
.tile-won { background: rgba(43,214,123,0.08); }
.tile-won i + i { background: rgba(43,214,123,0.35); }
.nba { margin-top: 36px; border-radius: 18px; background: rgba(9,13,24,0.7); border: 1px solid var(--line); padding: 22px; }
.nba-head { display: flex; align-items: center; gap: 12px; }
.nba-title { margin-top: 14px; font-family: Sora, sans-serif; font-size: 19px; font-weight: 600; line-height: 1.35; }
.nba-why { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
.nba-why li { display: flex; gap: 10px; }
.nba-why span { color: #E0A86A; }
.nba-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.soon { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.soon-item { flex: 1 1 380px; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 32px; border-radius: 22px; border: 1px dashed rgba(244,246,248,0.14); }
.soon-title { font-family: Sora, sans-serif; font-size: 19px; font-weight: 600; }
.soon-sub { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.tag { flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(244,246,248,0.06); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }

/* ---------- how it works ---------- */
.how { padding-top: 120px; padding-bottom: 120px; }
.steps { position: relative; display: flex; flex-wrap: wrap; gap: 32px; margin-top: 80px; }
.steps-line { position: absolute; left: 16%; right: 16%; top: 44px; border-top: 1px dashed rgba(244,246,248,0.18); }
.flow-dot { position: absolute; top: -4px; left: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange), 0 0 4px #FFD9C7; opacity: 0; }
.step { flex: 1 1 280px; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-node { width: 88px; height: 88px; }
.flow-tag { display: grid; justify-items: center; margin-top: 14px; height: 18px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.step-num { margin-top: 8px; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 26px; }
.step-title { margin: 6px 0 0; font-family: Sora, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.step-text { margin: 10px 0 0; max-width: 300px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.dim-t { transition: opacity .6s ease; }
.step.dim .dim-t { opacity: .45; }
.principles { display: flex; flex-wrap: wrap; margin-top: 110px; border-top: 1px solid var(--line); }
.principles > div { flex: 1 1 280px; min-width: 0; padding: 32px 32px 0 0; }
.p-title { font-family: Sora, sans-serif; font-size: 18px; font-weight: 600; }
.p-text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta-section { padding: 40px var(--pad-x) 0; }
.cta { position: relative; max-width: 1240px; margin: 0 auto; border-radius: 36px; border: 1px solid rgba(244,246,248,0.06); background: linear-gradient(180deg, rgba(11,16,29,0.4) 0%, rgba(9,13,24,0.85) 100%); overflow: hidden; padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 64px) clamp(150px, 14vw, 200px); text-align: center; }
.cta-glow { position: absolute; left: 50%; bottom: -380px; width: 1200px; height: 620px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(242,211,160,0.9) 0%, rgba(255,91,35,0.75) 35%, rgba(147,49,44,0.5) 65%, rgba(11,16,29,0) 100%); filter: blur(20px); }
.cta-planet { position: absolute; left: 50%; top: calc(100% - 110px); width: 2200px; height: 2200px; transform: translateX(-50%); border-radius: 50%; background: #090D18; box-shadow: 0 -1px 0 rgba(242,211,160,0.85), 0 -20px 70px rgba(255,91,35,0.3); }
.cta-title { position: relative; margin: 0 auto; max-width: 820px; font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.04em; }
.cta .lead { margin-top: 22px; }
.cta-form { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 12px; max-width: 560px; margin: 40px auto 0; text-align: left; }
.field { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input { min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(244,246,248,0.16); background: rgba(14,20,36,0.8); color: var(--text); font: 16px Inter, sans-serif; outline-color: var(--orange); }
.field input::placeholder { color: var(--text-3); }
.form-status { position: relative; min-height: 22px; margin: 16px 0 0; font-size: 14px; color: var(--cream); }
.form-status.error { color: #FF8C96; }
.cta-mail { position: relative; margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.cta-mail a { color: var(--cream); }

/* ---------- footer ---------- */
.footer { max-width: 1240px; margin: 0 auto; padding: 56px var(--pad-x) 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { height: 24px; width: auto; }
.footer-meta { font-size: 13px; color: var(--text-3); }

/* =========================================================
   The Node
   ========================================================= */
@property --c  { syntax: '<color>'; inherits: true; initial-value: #FF5B23; }
@property --cd { syntax: '<color>'; inherits: true; initial-value: #D23C08; }
@property --g  { syntax: '<color>'; inherits: true; initial-value: rgba(255,91,35,0.3); }

.nd { display: block; position: relative; width: 200px; height: 200px; --bg: #0E1424; --amp: 0; transition: --c .6s ease, --cd .6s ease, --g .6s ease; }
.nd-card { --bg: #161D30; }
.nd-flow { --bg: #0C1220; }
.nd-halo { position: absolute; inset: -6px; border-radius: 50%; background-color: var(--g); filter: blur(32px); pointer-events: none; transition: background-color .6s ease; }
.nd-orbit, .nd-orbit2 { position: absolute; inset: 0; }
.nd-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(244,246,248,0.4); transition: border-color .6s ease, border-width .5s ease; }
.nd-sat { position: absolute; border-radius: 50%; background-color: var(--c); transition: background-color .6s ease, box-shadow .6s ease; }
.nd-sat1 { left: 158px; top: 16px; width: 24px; height: 24px; box-shadow: 0 0 0 9px var(--bg), 0 0 22px var(--c); }
.nd-sat2 { left: 4px; top: 120px; width: 24px; height: 24px; box-shadow: 0 0 0 9px var(--bg), 0 0 22px var(--c); }
.nd-ripple { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); opacity: 0; pointer-events: none; }
.nd-face { position: absolute; left: 37px; top: 37px; width: 126px; height: 126px; border-radius: 50%; background: #F4F6F8; box-shadow: 0 0 60px var(--g); transition: box-shadow .6s ease; }
.nd-track { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; transition: transform .35s var(--ease-out); }
.nd-eyes { display: none; align-items: center; gap: 26px; transition: transform .5s var(--ease-out); }
.nd-pill { display: block; width: 17px; height: 38px; border-radius: 9px; background-color: var(--cd); animation: nd-eyein .45s var(--ease-out) both, rd-blink 6s ease-in-out .45s infinite; transition: width .4s ease, height .4s ease, background-color .6s ease; }
.nd-bar { display: block; width: 24px; height: 10px; border-radius: 5px; background-color: var(--cd); }
.nd-arc { display: block; width: 28px; height: 15px; border: 5px solid var(--cd); border-bottom: 0; border-radius: 16px 16px 0 0; }
.nd-arc.nd-down { border-top: 0; border-bottom: 5px solid var(--cd); border-radius: 0 0 16px 16px; }
.nd-dot { display: block; width: 22px; height: 22px; border-radius: 50%; background-color: var(--cd); }
.nd-mouth { display: none; width: 9px; height: 9px; border-radius: 50%; background-color: var(--cd); }
.nd-heart { display: block; width: 26px; height: 24px; color: var(--cd); }
.nd-x { display: block; position: relative; width: 22px; height: 22px; }
.nd-x::before, .nd-x::after { content: ""; position: absolute; left: 8.5px; top: -2px; width: 5px; height: 26px; border-radius: 3px; background: var(--cd); transform: rotate(45deg); }
.nd-x::after { transform: rotate(-45deg); }
.nd-bar, .nd-arc, .nd-dot, .nd-heart, .nd-x { animation: nd-eyein .45s var(--ease-out) both; transition: background-color .6s ease, border-color .6s ease, color .6s ease, height .08s linear; }
.nd-z { display: none; position: absolute; font-family: Sora, sans-serif; font-weight: 700; color: #8A9BC2; opacity: 0; animation: nd-z 3.6s ease-in-out infinite; }
.nd-z1 { left: 148px; top: 34px; font-size: 20px; }
.nd-z2 { left: 164px; top: 16px; font-size: 15px; animation-delay: 1.2s; }
.nd-z3 { left: 178px; top: 2px; font-size: 11px; animation-delay: 2.4s; }

/* which eyes show for which mood */
.nd-idle .ev-pills, .nd-thinking .ev-pills, .nd-alert .ev-pills,
.nd-working .ev-bars,
.nd-happy .ev-arcs, .nd-success .ev-arcs,
.nd-sleeping .ev-sleep,
.nd-wink .ev-wink,
.nd-surprised .ev-dots,
.nd-love .ev-hearts,
.nd-error .ev-x { display: flex; }
.nd-surprised .nd-mouth { display: block; animation: nd-eyein .45s var(--ease-out) both; }
.nd-sleeping .nd-z { display: block; }

/* colors per mood */
.nd-idle      { --c: #FF5B23; --cd: #D23C08; --g: rgba(255,91,35,0.30); }
.nd-happy     { --c: #FFD23F; --cd: #8F6A00; --g: rgba(255,210,63,0.28); }
.nd-wink      { --c: #B6F23A; --cd: #4F7A00; --g: rgba(182,242,58,0.24); }
.nd-love      { --c: #FF5C9A; --cd: #C81E63; --g: rgba(255,92,154,0.30); }
.nd-surprised { --c: #3D8BFF; --cd: #1D5FD6; --g: rgba(61,139,255,0.28); }
.nd-thinking  { --c: #9A8CFF; --cd: #5844D6; --g: rgba(154,140,255,0.28); }
.nd-working   { --c: #22C3E6; --cd: #087E96; --g: rgba(34,195,230,0.26); }
.nd-success   { --c: #2BD67B; --cd: #10804A; --g: rgba(43,214,123,0.26); }
.nd-alert     { --c: #FF9F0A; --cd: #A35C00; --g: rgba(255,159,10,0.30); }
.nd-error     { --c: #FF4D5E; --cd: #C4122A; --g: rgba(255,77,94,0.28); }
.nd-sleeping  { --c: #8A9BC2; --cd: #4A5878; --g: rgba(138,155,194,0.14); }

/* motion per mood (orbit speed itself is eased in main.js) */
.nd-happy .nd-face { animation: nd-bounce 2.2s cubic-bezier(.4,0,.2,1) infinite; }
.nd-wink .nd-face { animation: nd-tilt 1.2s ease-in-out both; }
.nd-love .nd-sat { animation: nd-beat 1.6s ease-in-out infinite; }
.nd-love .nd-ring { border-color: rgba(255,92,154,0.55); }
.nd-surprised .nd-face { animation: nd-pop .5s var(--ease-out); }
.nd-thinking .nd-ring { border-style: dashed; border-color: rgba(154,140,255,0.6); }
.nd-thinking .nd-pill { width: 13px; height: 28px; }
.nd-thinking .nd-eyes { transform: translate(-9px, -12px); }
.nd-working .nd-ring { border-style: dashed; border-color: rgba(34,195,230,0.65); }
.nd-working .ev-bars { animation: nd-scan 4.5s ease-in-out infinite; }
.nd-success .nd-ring { border-color: rgba(43,214,123,0.6); }
.nd-success .nd-ripple { animation: nd-ripple 3.4s var(--ease-out) infinite; }
.nd-success .nd-face { animation: nd-pop .6s var(--ease-out); }
.nd-alert .nd-ring { border-width: 4px; border-color: rgba(255,159,10,0.85); }
.nd-alert .nd-ripple { animation: nd-ripple 2.6s ease-out infinite; }
.nd-alert .nd-pill { width: 20px; height: 44px; }
.nd-error .nd-ring { border-style: dotted; border-width: 3px; border-color: rgba(255,77,94,0.7); }
.nd-error .nd-face { animation: nd-shake 3s ease-in-out infinite; }
.nd-sleeping .nd-ring { border-color: rgba(244,246,248,0.16); }
.nd-sleeping .nd-face { animation: nd-breathe 4.5s ease-in-out infinite; }
.nd-flow .nd-orbit, .nd-flow .nd-orbit2 { animation: rd-spin 30s linear infinite; }
.nd-hit .nd-face { animation: nd-pop .6s var(--ease-out); }
.nd-hit .nd-ripple { animation: nd-ripple 1.1s ease-out 1; }

/* speaking: driven by the live audio level (--amp, 0..1) */
.nd-speaking .ev-bars { animation: none; }
.nd-speaking .nd-bar { height: calc(8px + var(--amp) * 18px); }
.nd-speaking .nd-ring { transform: scale(calc(1 + var(--amp) * 0.06)); }
.nd-speaking .nd-face { box-shadow: 0 0 calc(40px + var(--amp) * 60px) var(--g); }

@keyframes rd-spin { to { transform: rotate(360deg); } }
@keyframes rd-blink { 0%, 93%, 100% { clip-path: inset(0 0 0 0 round 9px); } 96% { clip-path: inset(46% 0 46% 0 round 9px); } }
@keyframes rd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes rd-breathe { 0%, 100% { opacity: .85; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.04); } }
@keyframes nd-eyein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes nd-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-7px); } 60% { transform: translateY(0); } }
@keyframes nd-tilt { 0% { transform: rotate(0); } 45% { transform: rotate(-8deg); } 100% { transform: rotate(0); } }
@keyframes nd-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }
@keyframes nd-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes nd-scan { 0%, 100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
@keyframes nd-ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes nd-shake { 0%, 86%, 100% { transform: translateX(0); } 88% { transform: translateX(-5px); } 91% { transform: translateX(5px); } 94% { transform: translateX(-3px); } 97% { transform: translateX(2px); } }
@keyframes nd-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes nd-z { 0% { opacity: 0; transform: translate(0, 6px); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(14px, -26px); } }
@keyframes pg-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pg-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.pulse { animation: rd-pulse 2.4s ease-in-out infinite; }
.breathe { animation: rd-breathe 7s ease-in-out infinite; }

/* ---------- page motion ---------- */
.intro { animation: pg-up 1s var(--ease-out) both; }
.intro-node { animation: pg-in 1.2s var(--ease-out) both; }
.i1 { animation-delay: .25s; } .i2 { animation-delay: .4s; } .i3 { animation-delay: .55s; } .i4 { animation-delay: .7s; }

.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .stg > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .stg.in > * { opacity: 1; transform: none; }
.js .stg.in > *:nth-child(2) { transition-delay: .12s; }
.js .stg.in > *:nth-child(3) { transition-delay: .24s; }
.js .stg.in > *:nth-child(4) { transition-delay: .36s; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { min-height: 0; padding-top: 150px; padding-bottom: 300px; }
  .nd-btn { margin-bottom: 36px; }
  .section { padding-top: 100px; padding-bottom: 100px; }
  .pipeline { gap: 6px; }
  .h3 { font-size: 26px; }
  .steps-line { display: none; }
  .con-head, .con-body { padding-left: 20px; padding-right: 20px; }
  .call { margin: 0 20px; }
  .con-foot { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nd, .nd *, .pulse, .breathe, .intro, .intro-node { animation: none !important; }
  .js .reveal, .js .stg > * { opacity: 1; transform: none; transition: none; }
  .btn:hover, .btn:focus-visible, .card:hover, .play-btn:hover { transform: none; }
}
