/* ============================================================
   AIServe360 — Option 2, "Vivid"
   Saturated colour blocks, real product imagery, live avatars.
   Colour rhythm: plum → white → mist → plum → white → citrus →
   white → soft teal → plum.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --white:   #ffffff;
  --mist:    #f4f5fb;
  --mist-2:  #e9ebf6;

  --plum:    #140e33;
  --plum-2:  #1e1650;

  --teal:    #0e8f96;
  --teal-d:  #0a6f75;
  --teal-l:  #e2f4f5;
  --teal-mid:#d2ecee;

  --citrus:  #ffc034;
  --coral:   #ff5f45;
  --mint:    #17a673;
  --sky:     #35a7ff;

  --ink:     #140e33;
  --ink-2:   #4d4a68;
  --ink-3:   #7d7a9a;
  --ink-4:   #a9a6bf;

  --line:    #e4e3ef;
  --line-d:  rgba(255,255,255,.16);

  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --disp: 'Manrope', var(--sans);
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1280px;
  --r: 16px;
  --r-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, iframe, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
:focus-visible { outline: 3px solid var(--citrus); outline-offset: 2px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(4rem, 8vw, 7rem); }
.band--mist   { background: var(--mist); }
.band--plum   { background: var(--plum);   color: #cdc9e8; }
.band--soft { background: var(--teal-l); color: var(--ink-2); }
.band--citrus { background: var(--citrus); color: #3a2a00; }
.band--plum h2, .band--plum h3 { color: #fff; }
.band--soft h2, .band--soft h3 { color: var(--plum); }
.band--citrus h2, .band--citrus h3 { color: #2a1e00; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--disp); font-weight: 800; line-height: 1.05;
  letter-spacing: -.035em; margin: 0; text-wrap: balance; color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.38rem); font-weight: 700; letter-spacing: -.025em; }
p { margin: 0 0 1rem; max-width: 66ch; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 60ch; }
.band--plum .lede { color: #b3aed6; }
.band--soft .lede { color: var(--ink-2); }
.band--citrus .lede { color: #55420b; }
.dim { color: var(--ink-2); }

.kicker {
  display: inline-block; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 100px; margin-bottom: 1rem;
  background: var(--teal-l); color: var(--teal-d);
}
.band--plum .kicker   { background: rgba(255,255,255,.1); color: var(--citrus); }
.band--soft .kicker { background: #fff; color: var(--teal-d); }
.band--citrus .kicker { background: rgba(0,0,0,.12); color: #3a2a00; }

.head { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.head .lede { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 100px; border: 2px solid transparent;
  font-family: var(--disp); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--go   { background: var(--citrus); color: #2a1e00; }
.btn--go:hover { background: #ffcf5e; }
.btn--ind  { background: var(--plum); color: #fff; }
.btn--ind:hover { background: var(--teal-d); }
.btn--out  { border-color: currentColor; background: transparent; }
.btn--sm   { padding: .55rem 1.1rem; font-size: .9rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- header ---------- */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { display: block; height: 32px; width: auto; }

.top { position: sticky; top: 0; z-index: 70; background: var(--plum); }
.top__in { display: flex; align-items: center; gap: 2rem; height: 74px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .94rem; font-weight: 500; color: #b3aed6; transition: color .15s; }
.nav a:hover { color: var(--citrus); }
.burger {
  display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-d);
  border-radius: 100px; color: #fff; padding: .45rem .9rem; cursor: pointer;
}
@media (max-width: 1000px) {
  .nav, .top__in > .btn { display: none; }
  .burger { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute;
    inset: 74px 0 auto 0; background: var(--plum-2); padding: .25rem var(--gutter) 1.2rem;
  }
  .nav.open a { padding: .9rem 0; border-bottom: 1px solid var(--line-d); }
}

/* ============================================================
   HERO — plum band, live avatar on the right
   ============================================================ */
.hero { background: var(--plum); color: #cdc9e8; padding-block: clamp(3rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,143,150,.5), transparent 68%);
  top: -300px; right: -180px; pointer-events: none;
}
.hero__grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 1060px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; margin-bottom: 1.35rem; }
.hero h1 em { font-style: normal; display: block; color: var(--citrus); }
.hero .lede { color: #b3aed6; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem;
  font-family: var(--mono); font-size: .76rem; color: #cdc9e8;
  background: rgba(255,255,255,.08); border-radius: 100px; padding: .38rem .9rem .38rem .65rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.dot--live { animation: ping 2.4s ease-out infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(22,199,154,.5); }
  70% { box-shadow: 0 0 0 9px rgba(22,199,154,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,199,154,0); }
}

/* live avatar frame */
.avatar {
  background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  border: 3px solid var(--citrus);
}
.avatar__bar {
  display: flex; align-items: center; gap: .55rem; padding: .7rem 1rem;
  background: var(--plum-2); color: #cdc9e8; font-family: var(--mono); font-size: .74rem;
}
.avatar__bar b { font-family: var(--disp); font-size: .88rem; color: #fff; }
.avatar__stage { aspect-ratio: 16 / 10; background: #0d0922; }
.avatar__stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.avatar__note { padding: .7rem 1rem; font-size: .82rem; color: var(--ink-2); background: var(--mist); }

.hero__feed {
  margin-top: 1rem; background: rgba(255,255,255,.06); border-radius: var(--r-sm);
  padding: .8rem 1rem; min-height: 62px; display: flex; align-items: center;
}
.fitem { display: flex; align-items: flex-start; gap: .65rem; font-size: .86rem; animation: fin .4s ease-out; }
@keyframes fin { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.ftag { font-family: var(--mono); font-size: .66rem; font-weight: 600; padding: .18rem .5rem; border-radius: 4px; flex: none; margin-top: .1rem; }
.t-resolved { background: rgba(22,199,154,.18);  color: var(--mint); }
.t-booked   { background: rgba(53,167,255,.18);  color: var(--sky); }
.t-routed   { background: rgba(255,192,52,.18);  color: var(--citrus); }
.t-handoff  { background: rgba(255,95,69,.2);    color: var(--coral); }
.ftext { color: #b3aed6; }

/* ============================================================
   ROSTER — colourful cards
   ============================================================ */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.25rem; }
.acard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem; position: relative; overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.acard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(20,14,51,.4); }
.acard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c, var(--teal)); }
.acard__n { font-family: var(--mono); font-size: .74rem; color: var(--ink-4); }
.acard h3 { margin: .5rem 0 .25rem; }
.acard__code { font-family: var(--mono); font-size: .75rem; color: var(--c, var(--teal)); font-weight: 500; }
.acard__tag { color: var(--ink-2); font-size: .95rem; margin: .8rem 0 1.1rem; }
.acard__specs { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .8rem; }
.acard__specs dt { font-family: var(--mono); font-size: .67rem; color: var(--ink-3); margin-bottom: .18rem; }
.acard__specs dd { margin: 0; font-size: .87rem; color: var(--ink-2); line-height: 1.5; }
.badge {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--mono); font-size: .66rem; padding: .22rem .6rem; border-radius: 100px;
  background: rgba(22,199,154,.14); color: #0f8f6f;
}
.badge.is-pilot { background: rgba(255,192,52,.2); color: #96700a; }
.badge.is-build { background: var(--mist-2); color: var(--ink-3); }

/* ============================================================
   DEMOS — live avatars
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button {
  background: var(--white); border: 1px solid var(--line); color: var(--ink-2);
  padding: .45rem 1rem; border-radius: 100px; font-size: .87rem; cursor: pointer; transition: all .15s;
}
.filters button:hover { border-color: var(--teal); color: var(--teal); }
.filters button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600; }

.demos { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; }
.demo {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.demo:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -28px rgba(20,14,51,.35); }
.demo__head { padding: 1.4rem 1.4rem 1rem; }
.demo__chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 100px; background: var(--teal-l); color: var(--teal-d);
  margin-bottom: .7rem;
}
.demo h3 { font-size: 1.16rem; }
.demo p { font-size: .9rem; color: var(--ink-2); margin: .45rem 0 0; }
.demo__stage { aspect-ratio: 16 / 10; background: var(--mist-2); margin-top: auto; }
.demo__stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.ask { padding: .85rem 1.4rem; background: var(--mist); font-size: .87rem; color: var(--ink-2); }
.ask b { font-family: var(--mono); font-size: .67rem; color: var(--ink-3); font-weight: 500; display: block; margin-bottom: .15rem; }

/* ============================================================
   LOOP + TRACE (plum band)
   ============================================================ */
.loop__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 1020px) { .loop__grid { grid-template-columns: 1fr; } }
.step { display: grid; grid-template-columns: 3.1rem 1fr; gap: 1.1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-d); }
.step:last-child { border-bottom: 0; }
.step__n {
  width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: var(--citrus);
  font-family: var(--disp); font-weight: 800; font-size: 1.05rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.step p { font-size: .93rem; color: #b3aed6; margin: 0; }

.trace {
  background: #0d0922; border: 1px solid var(--line-d); border-radius: var(--r);
  font-family: var(--mono); font-size: .79rem; overflow: hidden; position: sticky; top: 96px;
}
.trace__bar { padding: .8rem 1.05rem; border-bottom: 1px solid var(--line-d); color: #8b86ad; display: flex; gap: .7rem; align-items: center; }
.trace__bar b { color: #fff; }
.trace__lines { padding: .9rem .4rem 1rem; }
.tline { display: grid; grid-template-columns: 4.4rem 4.8rem 1fr; gap: .55rem; padding: .3rem .9rem; opacity: 0; }
.tline.on { opacity: 1; transition: opacity .25s; }
.tline__t { color: #6f6a92; }
.tline__k { font-weight: 500; }
.tline__k[data-k="TRIGGER"]  { color: var(--sky); }
.tline__k[data-k="PERCEIVE"] { color: #b3aed6; }
.tline__k[data-k="PLAN"]     { color: var(--citrus); }
.tline__k[data-k="ACT"]      { color: var(--mint); }
.tline__k[data-k="DONE"]     { color: var(--mint); }
.tline__c { color: #fff; word-break: break-word; }
.tline__r { color: #8b86ad; }
.tline__r::before { content: '→ '; }
.trace__replay { width: 100%; background: rgba(255,255,255,.05); border: 0; border-top: 1px solid var(--line-d); color: #b3aed6; padding: .75rem; cursor: pointer; font-family: var(--mono); font-size: .75rem; }
.trace__replay:hover { color: var(--citrus); }
@media (max-width: 1020px) { .trace { position: static; } }
@media (max-width: 560px) { .tline { grid-template-columns: 1fr; gap: .05rem; } .tline__r::before { content: ''; } }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.reach__col { background: var(--white); border-radius: var(--r-sm); padding: 1.4rem; border: 1px solid var(--line); }
.reach__col h3 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: .85rem; }
.reach__col ul { list-style: none; margin: 0; padding: 0; }
.reach__col li { padding: .35rem 0; font-size: .91rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.reach__col li:last-child { border-bottom: 0; }

/* ============================================================
   CONTROL
   ============================================================ */
.dial__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 940px) { .dial__grid { grid-template-columns: 1fr; } }
.dialbox { background: var(--plum); color: #cdc9e8; border-radius: var(--r); padding: 1.9rem; }
.dial__ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: #6f6a92; margin-bottom: .35rem; }
.dial__ticks span.on { color: var(--citrus); }
.dial__slider { width: 100%; margin: .4rem 0 1.5rem; accent-color: var(--citrus); }
.dial__name { font-family: var(--disp); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: #fff; margin-bottom: .6rem; }
.dial__desc { color: #b3aed6; font-size: .95rem; }
.dial__facts { display: grid; gap: .9rem; margin-top: 1.4rem; }
.dial__fact { border-left: 2px solid var(--citrus); padding-left: .9rem; }
.dial__fact dt { font-family: var(--mono); font-size: .68rem; color: var(--citrus); margin-bottom: .2rem; }
.dial__fact dd { margin: 0; font-size: .9rem; color: #b3aed6; }

.guards { display: grid; gap: 1rem; }
.guard { display: grid; grid-template-columns: auto 1fr; gap: .9rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.1rem 1.25rem; }
.guard__mark { color: var(--mint); font-weight: 700; }
.guard h3 { font-size: 1rem; margin-bottom: .2rem; }
.guard p { font-size: .89rem; color: var(--ink-2); margin: 0; }

/* ============================================================
   METRICS (citrus band) + ROI
   ============================================================ */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; }
.metric__v { font-family: var(--disp); font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.055em; line-height: 1; color: #2a1e00; }
.metric__v small { font-size: .38em; margin-left: .1em; }
.metric__l { font-weight: 700; margin-top: .6rem; font-size: 1rem; color: #2a1e00; }
.metric__n { font-size: .85rem; color: #6b5510; margin-top: .25rem; }

.roi { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 820px) { .roi { grid-template-columns: 1fr; } }
.roi__in { padding: 2rem; background: var(--white); }
.roi__out { padding: 2rem; background: var(--teal-mid); color: var(--ink-2); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .87rem; color: var(--ink-2); margin-bottom: .35rem; }
.field input[type="range"] { width: 100%; accent-color: var(--teal); }
.field output { font-family: var(--mono); color: var(--teal); font-weight: 600; }
.roi__lab { font-size: .85rem; color: var(--teal-d); margin-bottom: .4rem; }
.roi__big { font-family: var(--disp); font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--plum); }
.roi__note { font-size: .84rem; color: var(--ink-2); margin-top: .9rem; }

/* ============================================================
   SYSTEMS — image forward
   ============================================================ */
.systems { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.sys {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.sys:hover { transform: translateY(-4px); box-shadow: 0 28px 55px -30px rgba(20,14,51,.4); }
.sys__shot { aspect-ratio: 16 / 9; background: var(--mist-2); overflow: hidden; }
.sys__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.sys__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sys h3 { margin-bottom: .15rem; }
.sys__sub { font-family: var(--mono); font-size: .71rem; color: var(--ink-3); }
.sys p { font-size: .9rem; color: var(--ink-2); margin: .85rem 0; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.tags span { font-size: .73rem; color: var(--ink-2); background: var(--mist); border-radius: 100px; padding: .18rem .6rem; }
.sys__agent {
  margin-top: auto; background: var(--teal-l); color: var(--teal-d);
  border-radius: var(--r-sm); padding: .7rem .85rem; font-size: .85rem;
}

/* ============================================================
   PHASES
   ============================================================ */
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1.5rem; }
.phase { background: var(--white); border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--line); }
.phase__n {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--disp); font-weight: 800; margin-bottom: 1rem;
  background: var(--teal); color: #fff;
}
.phase__d { font-family: var(--mono); font-size: .71rem; color: var(--ink-3); margin-bottom: .35rem; }
.phase h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.phase p { font-size: .89rem; color: var(--ink-2); margin: 0; }

/* ============================================================
   CONTACT (soft teal band)
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,4rem); }
@media (max-width: 920px) { .contact__grid { grid-template-columns: 1fr; } }
.formcard { background: var(--white); border-radius: var(--r); padding: 1.9rem; }
.form { display: grid; gap: 1rem; }
.form label { font-size: .86rem; color: var(--ink-2); display: block; margin-bottom: .3rem; }
.form input, .form textarea {
  width: 100%; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); padding: .78rem .95rem; font: inherit; font-size: .95rem;
}
.form input:focus, .form textarea:focus { border-color: var(--teal); outline: none; background: #fff; }
.form textarea { min-height: 108px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }

.note { padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 1rem; }
.note--ok  { background: rgba(22,199,154,.15); color: #0c7a5e; }
.note--bad { background: rgba(255,95,69,.15); color: #b93b26; }

.offices { display: grid; gap: 1.3rem; margin-top: 2rem; }
.office { border-left: 2px solid var(--teal); padding-left: 1rem; }
.office dt { font-family: var(--mono); font-size: .7rem; color: var(--teal-d); margin-bottom: .25rem; }
.office dd { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { background: var(--plum); color: #8b86ad; padding-block: 3rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
.foot a { color: #cdc9e8; text-decoration: none; font-size: .89rem; }
.foot a:hover { color: var(--citrus); }
.foot__legal { width: 100%; font-size: .82rem; color: #6f6a92; padding-top: 1.5rem; border-top: 1px solid var(--line-d); margin-top: .5rem; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); }
.rv.seen { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ============================================================
   HERO ANIMATION — orbit field, task ticker, logo compositing
   Added after the base sheet so it overrides cleanly.
   ============================================================ */

/* ---- the original logo file, dark background removed by blending ---- */
.logo__img { height: 42px; width: auto; display: block; }
.foot .logo__img { height: 30px; opacity: .95; }

/* keep hero content above the network */
.hero .wrap { position: relative; z-index: 1; }

/* the existing radial wash breathes slowly */
.hero::before { animation: breathe 11s ease-in-out infinite; }
@keyframes breathe {
  0%,100% { opacity: .85; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.08); }
}

/* ---- rotating task ticker ---- */
.ticker {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
  margin: 1.4rem 0 0; font-size: 1.02rem; color: #b3aed6;
}
.ticker__lead { white-space: nowrap; }
.ticker__slot {
  position: relative; display: inline-flex; align-items: baseline;
  padding-bottom: .18rem; border-bottom: 2px solid rgba(255,192,52,.35);
  min-height: 1.6em;
}
.ticker__word {
  font-family: var(--disp); font-weight: 700; color: var(--citrus);
  letter-spacing: -.02em; white-space: nowrap;
  animation: wordin .45s cubic-bezier(.2,.7,.3,1);
}
.ticker__word.out { animation: wordout .3s ease-in forwards; }
@keyframes wordin  { from { opacity: 0; transform: translateY(.55em); } to { opacity: 1; transform: none; } }
@keyframes wordout { to   { opacity: 0; transform: translateY(-.5em); } }

/* caret */
.ticker__slot::after {
  content: ''; width: 2px; height: 1.05em; margin-left: .22rem;
  background: var(--citrus); align-self: center;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

/* ---- avatar frame gets a soft aura so it reads as the focal point ---- */
.avatar {
  position: relative;
  animation: aura 9s ease-in-out infinite;
}
@keyframes aura {
  0%,100% { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 0 rgba(255,192,52,.22), 0 0 46px -6px rgba(255,192,52,.18); }
  50%     { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 10px rgba(255,192,52,.07), 0 0 72px -4px rgba(255,192,52,.32); }
}

@media (max-width: 640px) {
  .ticker { font-size: .95rem; }
  .orbits { opacity: .5; }
}

/* stillness for anyone who asks for it */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .avatar, .netfield *,
  .ticker__word, .ticker__slot::after { animation: none !important; }
  .ticker__slot::after { opacity: 1; }
}

/* ============================================================
   AUTONOMY DIAL — living control
   ============================================================ */
.dial__ticks span {
  position: relative; padding-top: 1.15rem; cursor: default;
  transition: color .25s;
}
.dial__ticks span::before {
  content: ''; position: absolute; top: 0; left: 50%; translate: -50% 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.18); transition: background .25s, box-shadow .25s;
}
.dial__ticks span.on::before {
  background: var(--citrus);
  box-shadow: 0 0 0 0 rgba(255,192,52,.55);
  animation: tickPing 1.9s ease-out infinite;
}
@keyframes tickPing {
  0%   { box-shadow: 0 0 0 0 rgba(255,192,52,.55); }
  70%  { box-shadow: 0 0 0 11px rgba(255,192,52,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,192,52,0); }
}

/* the slider itself, hand-built so the thumb can glow */
.dial__slider, .field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 100px; outline: none;
  background: linear-gradient(90deg, var(--fill, var(--citrus)) 0 var(--p, 0%),
                                     var(--trackbg, rgba(255,255,255,.16)) var(--p, 0%) 100%);
  transition: background .1s linear;
}
.dial__slider::-webkit-slider-thumb, .field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%; cursor: grab;
  background: var(--fill, var(--citrus));
  border: 3px solid var(--thumbring, #1a1340);
  box-shadow: 0 0 0 0 var(--glow, rgba(255,192,52,.5));
  animation: thumbPulse 2.1s ease-out infinite;
}
.dial__slider::-moz-range-thumb, .field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; cursor: grab; border: 3px solid var(--thumbring, #1a1340);
  background: var(--fill, var(--citrus));
  box-shadow: 0 0 0 0 var(--glow, rgba(255,192,52,.5));
  animation: thumbPulse 2.1s ease-out infinite;
}
@keyframes thumbPulse {
  0%   { box-shadow: 0 0 0 0 var(--glow, rgba(255,192,52,.5)); }
  70%  { box-shadow: 0 0 0 13px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.dial__slider:active::-webkit-slider-thumb,
.field input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; animation: none; }

/* ROI sliders sit on white, so they need their own palette */
.roi__in .field input[type="range"] {
  --fill: var(--teal); --trackbg: #e4e6ee; --glow: rgba(14,143,150,.45); --thumbring: #fff;
}

/* the dial name swaps in rather than just changing */
.dial__name, .dial__desc, [data-dial-who], [data-dial-good] { transition: opacity .18s ease; }
.dialbox.swapping .dial__name,
.dialbox.swapping .dial__desc,
.dialbox.swapping [data-dial-who],
.dialbox.swapping [data-dial-good] { opacity: 0; }

/* ============================================================
   COUNTERS
   ============================================================ */
.metric__v span[data-count] { font-variant-numeric: tabular-nums; }
.metric { position: relative; }
.metric::after {
  content: ''; position: absolute; left: 0; top: -2px; height: 2px; width: 0;
  background: #2a1e00; transition: width .9s cubic-bezier(.2,.7,.3,1);
}
.metric.counted::after { width: 100%; }

.roi__big { font-variant-numeric: tabular-nums; transition: transform .18s ease; }
.roi__big.bump { transform: scale(1.045); }

@media (prefers-reduced-motion: reduce) {
  .netfield .grid, .netfield .links use, .netfield .halo,
  .netfield .ring, .netfield .nd,
  .dial__ticks span.on::before,
  .dial__slider::-webkit-slider-thumb,
  .field input[type="range"]::-webkit-slider-thumb { animation: none !important; }
  .netfield .packets { display: none; }
  .netfield .ring { opacity: .25; }
}

/* ============================================================
   DEEP FIELD — hero background
   Three parallax star layers, two nebula washes, brand signal
   stars and occasional streaks. CSS only; the stars are one
   element each, drawn entirely with box-shadow.
   ============================================================ */
.deepfield {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}

/* nebula washes */
.nebula {
  position: absolute; border-radius: 50%; filter: blur(60px);
  will-change: transform, opacity;
}
.nebula--teal {
  width: 860px; height: 700px; top: -240px; right: -180px;
  background: radial-gradient(circle, rgba(14,143,150,.55), rgba(14,143,150,0) 68%);
  animation: drift1 26s ease-in-out infinite;
}
.nebula--gold {
  width: 620px; height: 520px; bottom: -220px; left: -140px;
  background: radial-gradient(circle, rgba(255,192,52,.2), rgba(255,192,52,0) 70%);
  animation: drift2 34s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate3d(0,0,0) scale(1);    opacity: .85; }
  50%     { transform: translate3d(-50px,40px,0) scale(1.12); opacity: 1; }
}
@keyframes drift2 {
  0%,100% { transform: translate3d(0,0,0) scale(1.05); opacity: .7; }
  50%     { transform: translate3d(60px,-40px,0) scale(1); opacity: 1; }
}

/* star layers — a 1px box with hundreds of shadows */
.stars {
  position: absolute; top: 0; left: 0;
  background: transparent; border-radius: 50%;
  will-change: transform;
}
.stars--far  { width: 1.4px; height: 1.4px; animation: rise 150s linear infinite; }
.stars--mid  { width: 2.4px; height: 2.4px; animation: rise 95s linear infinite; }
.stars--near { width: 3.4px; height: 3.4px; animation: rise 62s linear infinite; }
@keyframes rise { from { transform: translateY(0); } to { transform: translateY(-900px); } }

/* a slow global twinkle over the whole field */
.stars--mid  { animation-name: rise, twinkle; animation-duration: 95s, 5.5s; animation-timing-function: linear, ease-in-out; animation-iteration-count: infinite, infinite; }
.stars--near { animation-name: rise, twinkle; animation-duration: 62s, 7.5s; animation-timing-function: linear, ease-in-out; animation-iteration-count: infinite, infinite; }
@keyframes twinkle { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

/* brand signal stars */
.sig {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #35d3e0; box-shadow: 0 0 14px 3px rgba(53,211,224,.75);
}
.sig--1 { top: 22%; left: 12%;  animation: beat 3.6s ease-in-out infinite; }
.sig--2 { top: 64%; left: 31%;  background: #ffc034; box-shadow: 0 0 16px 4px rgba(255,192,52,.6); animation: beat 4.8s ease-in-out infinite 1.1s; }
.sig--3 { top: 34%; right: 9%;  animation: beat 5.4s ease-in-out infinite .6s; }
.sig--4 { top: 78%; right: 22%; background: #ffc034; box-shadow: 0 0 14px 3px rgba(255,192,52,.55); animation: beat 4.2s ease-in-out infinite 2.2s; }
@keyframes beat {
  0%,100% { transform: scale(.55); opacity: .45; }
  50%     { transform: scale(1.35); opacity: 1; }
}

/* streaks */
.streak {
  position: absolute; height: 1.5px; width: 150px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(53,211,224,0));
  opacity: 0;
}
.streak--1 { top: 16%; left: -160px; animation: shoot 11s ease-in infinite 3s; }
.streak--2 { top: 58%; left: -160px; animation: shoot 14s ease-in infinite 8s; }
@keyframes shoot {
  0%      { transform: translate3d(0,0,0) rotate(14deg); opacity: 0; }
  4%      { opacity: 1; }
  16%     { transform: translate3d(115vw, 30vh, 0) rotate(14deg); opacity: 0; }
  100%    { transform: translate3d(115vw, 30vh, 0); opacity: 0; }
}

/* the field fades toward the copy so the headline always wins */
.deepfield::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--plum) 1%, rgba(20,14,51,.62) 24%, rgba(20,14,51,0) 54%);
}

@media (max-width: 640px) { .deepfield { opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
  .nebula, .stars, .sig, .streak { animation: none !important; }
  .streak { display: none; }
}
