/* ==========================================================================
   kildaris.com home. A single axis of type over the field; the run console
   is the centerpiece. The light, glass and pointer effects live in field.js
   and site.css.
   ========================================================================== */

/* --- hero: one line of type, the light under it ------------------------------
   The headline and copy sit in the top half on their own dark pool; the
   film's planet rises in the bottom third, below the buttons.            */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--hdr-h) + clamp(3rem, 11vh, 8rem)) 0 clamp(14rem, 34vh, 22rem);
  overflow: hidden;
}
.hero-in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.1rem, 2.4vh, 1.7rem);
}
.hero-in::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -25% -20% -20%;
  background: radial-gradient(closest-side, rgba(5, 6, 10, 0.92), rgba(5, 6, 10, 0.6) 60%, transparent);
}
.hero h1 {
  font-size: min(clamp(3.4rem, 1rem + 8.4vw, 9.4rem), 15vh);
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: none;
  text-shadow: 0 4px 60px rgba(5, 6, 10, 0.9);
}
.hero h1 em { display: inline-block; margin-top: 0.02em; }
.hero .lede {
  max-width: 38rem;
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.32rem);
  font-weight: 400;
  color: #e4e7f0;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(5, 6, 10, 0.95);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 0.4rem; }

/* The film fills the lower part of the hero; its mask fades the top edge
   well below the buttons, so the copy never sits on bright light. */
.hero-film {
  position: absolute;
  left: 0; right: 0;
  top: 44vh; bottom: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 2s var(--ease-out);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 85%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 85%, transparent 100%);
}
.hero-film.on { opacity: 1; }
.hero-film video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
@media (max-aspect-ratio: 4/5) {
  .hero-film { top: 50vh; }
  .hero-film video { object-position: 50% 70%; }
}
@media (max-width: 900px) { .hero { padding-bottom: 16rem; } }
@media (max-width: 420px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

.sec-head.left { align-items: flex-start; text-align: left; margin-left: 0; }
.sec-head.left h2 { max-width: 20ch; }

/* --- the run: watch a job happen ------------------------------------------------ */

.run {
  display: grid; grid-template-columns: 290px 1fr;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 16, 26, 0.86), rgba(8, 10, 16, 0.9));
  border-color: var(--edge-2);
  box-shadow: 0 50px 140px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.run-pick { display: flex; flex-direction: column; padding: 14px; gap: 4px; border-right: 1px solid var(--edge); background: rgba(236, 238, 245, 0.02); }
.run-pick button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: none;
  color: var(--ink-2); font: inherit; text-align: left; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s;
}
.run-pick b { font-family: var(--display); font-weight: 350; font-size: 1.22rem; letter-spacing: -0.01em; color: inherit; }
.run-pick span { font-size: 0.78rem; color: var(--ink-3); }
.run-pick button:hover { background: rgba(236, 238, 245, 0.05); color: var(--ink); }
.run-pick button[aria-selected="true"] { background: rgba(103, 232, 249, 0.08); border-color: rgba(103, 232, 249, 0.3); color: #fff; }
.run-pick button[aria-selected="true"] span { color: var(--accent-a); }
.run-main { display: flex; flex-direction: column; min-width: 0; }
.run-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px 24px; border-bottom: 1px solid var(--edge);
  font-family: var(--mono); font-size: 0.82rem; color: var(--ink-3);
}
.run-path i { font-style: normal; color: var(--ink-4); margin: 0 4px; }
.run-path b { color: var(--accent-a); font-weight: 500; }
.run-state { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--edge-2); }
.run-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 8px var(--warn); animation: runBlink 1s steps(2) infinite; }
.run-state[data-state="done"] { border-color: rgba(52, 211, 153, 0.4); color: #a7f3d0; }
.run-state[data-state="done"] i { background: var(--good); box-shadow: 0 0 8px var(--good); animation: none; }
@keyframes runBlink { 50% { opacity: 0.25; } }
.run-log { list-style: none; margin: 0; padding: 22px 24px 10px; display: flex; flex-direction: column; gap: 0; position: relative; flex: 1; }
.rl { position: relative; display: grid; grid-template-columns: 74px 34px 1fr; gap: 14px; align-items: start; padding: 0 0 18px; opacity: 0.12; transform: translateX(-6px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out); }
.rl.on { opacity: 1; transform: none; }
.rl::before { content: ""; position: absolute; left: 105px; top: 34px; bottom: 0; width: 1px; background: var(--edge-2); }
.rl:last-child::before { display: none; }
.rl time { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); padding-top: 8px; font-variant-numeric: tabular-nums; }
.rl-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--edge-2); background: var(--bg); color: var(--ink-2); transition: all 0.4s var(--ease); }
.rl-ic .ic { width: 16px; height: 16px; }
.rl.on.k-ai .rl-ic { color: var(--accent-a); border-color: rgba(103, 232, 249, 0.6); box-shadow: 0 0 18px -4px var(--accent-a); }
.rl.on.k-you .rl-ic { color: #c4b5fd; border-color: rgba(196, 181, 253, 0.7); box-shadow: 0 0 18px -4px #a78bfa; }
.rl.on.k-done .rl-ic { color: var(--good); border-color: rgba(52, 211, 153, 0.6); box-shadow: 0 0 18px -4px var(--good); }
.rl.on.k-in .rl-ic { color: var(--ink); border-color: var(--ink-3); }
.rl b { font-weight: 500; font-size: 0.98rem; color: var(--ink); margin-right: 10px; }
.rl-k { display: inline-block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--edge); vertical-align: 2px; }
.k-you .rl-k { color: #ddd6fe; border-color: rgba(196, 181, 253, 0.4); }
.k-ai .rl-k { color: #a5f3fc; border-color: rgba(103, 232, 249, 0.3); }
.rl p { font-size: 0.9rem; color: var(--ink-2); font-weight: 300; margin-top: 4px; }
.run-sum { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 16px 24px 20px; border-top: 1px solid var(--edge); }
.run-bars { flex: 1; min-width: 260px; display: grid; gap: 8px; }
.run-bars div { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--ink-3); }
.run-bars i { height: 6px; border-radius: 6px; background: rgba(236, 238, 245, 0.07); overflow: hidden; }
.run-bars b { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1.1s var(--ease-out); }
.rb-before { background: rgba(236, 238, 245, 0.35); }
.rb-after { background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); box-shadow: 0 0 10px rgba(103, 232, 249, 0.5); }
.run-bars.in .rb-before { width: var(--rb, 100%); }
.run-bars.in .rb-after { width: var(--ra, 10%); }
.run-bars em { font-style: normal; color: var(--ink); white-space: nowrap; min-width: 150px; font-variant-numeric: tabular-nums; }
.run-act { display: flex; gap: 10px; }
@media (max-width: 900px) {
  .run { grid-template-columns: 1fr; }
  .run-pick { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--edge); scrollbar-width: none; }
  .run-pick button { flex: none; }
  .rl { grid-template-columns: 30px 1fr; }
  .rl time { grid-column: 2; grid-row: 1; padding: 0; font-size: 0.72rem; }
  .rl-ic { grid-row: 1 / span 2; width: 30px; height: 30px; }
  .rl > div { grid-column: 2; }
  .rl::before { left: 15px; }
  .run-bars div { grid-template-columns: 1fr auto; }
  .run-bars i { grid-column: 1 / -1; grid-row: 2; }
  .run-act { width: 100%; }
  .run-act .btn { flex: 1; justify-content: center; }
}

/* --- outcomes: an index of five rows ---------------------------------------------- */

.oc-index { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; border-top: 1px solid var(--edge-2); }
.oc-index li { border-bottom: 1px solid var(--edge-2); }
.oc-row {
  position: relative; width: 100%; overflow: hidden;
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 190px 40px; align-items: center; gap: 24px;
  padding: clamp(1.3rem, 3vw, 2rem) 8px; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.oc-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.oc-row:hover::before, .oc-row:focus-visible::before { transform: scaleX(1); }
.oc-n { font-family: var(--mono); font-size: 0.85rem; color: var(--c); }
.oc-t { font-family: var(--display); font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.1; transition: transform 0.5s var(--ease-out); }
.oc-row:hover .oc-t { transform: translateX(10px); }
.oc-d { font-size: 0.94rem; color: var(--ink-2); font-weight: 300; line-height: 1.5; }
.oc-p { font-size: 0.86rem; color: var(--ink); text-align: right; }
.oc-go { font-size: 1.3rem; color: var(--ink-3); transition: transform 0.4s var(--ease-out), color 0.3s; }
.oc-row:hover .oc-go { transform: translateX(6px); color: var(--c); }
@media (max-width: 980px) {
  .oc-row { grid-template-columns: 48px 1fr 32px; row-gap: 8px; }
  .oc-d { grid-column: 2; grid-row: 2; }
  .oc-p { grid-column: 2; grid-row: 3; text-align: left; color: var(--c); }
  .oc-go { grid-column: 3; grid-row: 1; }
}

/* --- industries: a list on the left, the playbook on the right ----------------------- */

.isw { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.isw-list { display: flex; flex-direction: column; }
.isw-i {
  display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: baseline;
  padding: 12px 14px; border-radius: 14px; color: var(--ink-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.isw-n { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-4); }
.isw-t { font-family: var(--display); font-weight: 350; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); letter-spacing: -0.01em; }
.isw-l { grid-column: 2; font-size: 0.8rem; color: var(--ink-3); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s var(--ease-out), opacity 0.3s; }
.isw-i:hover { background: rgba(236, 238, 245, 0.04); color: var(--ink); }
.isw-i[aria-selected="true"] { background: rgba(167, 139, 250, 0.1); color: #fff; }
.isw-i[aria-selected="true"] .isw-n { color: var(--accent-b); }
.isw-i[aria-selected="true"] .isw-l { max-height: 3em; opacity: 1; margin-top: 2px; }
.isw-pane {
  position: sticky; top: calc(var(--hdr-h) + 24px);
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 20, 31, 0.9), rgba(10, 12, 19, 0.9));
  border-color: var(--edge-2);
}
.isw-pane.swap > * { animation: kxSwap 0.45s var(--ease-out) both; }
.isw-pane h3 { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.03em; line-height: 1.08; margin-top: 6px; }
.isw-lead { color: var(--ink-2); font-weight: 300; margin: 0.8rem 0 1.4rem; max-width: none; }
.isw-pane .kxm-cols { margin-top: 1.4rem; }
.isw-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
@media (max-width: 900px) {
  .isw { grid-template-columns: 1fr; }
  .isw-list { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .isw-i { flex: none; grid-template-columns: auto; border: 1px solid var(--edge); border-radius: 999px; padding: 8px 14px; }
  .isw-n, .isw-l { display: none; }
  .isw-t { font-family: var(--sans); font-size: 0.88rem; }
  .isw-pane { position: static; }
  .isw-pane .kxm-cols { display: none; }   /* the full playbook is one tap away */
}

/* --- the day: 24 hours on a track ------------------------------------------------------ */

.day {
  --h: 2; --x: 8%;
  position: relative; display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: clamp(1.6rem, 4vw, 3rem); border-radius: 30px; overflow: hidden;
  border: 1px solid var(--edge-2);
  background: linear-gradient(180deg, rgba(10, 12, 19, 0.92), rgba(6, 7, 12, 0.95));
  isolation: isolate;
}
.day-sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 90% at var(--x) 110%, rgba(251, 191, 36, 0.18), rgba(240, 171, 252, 0.08) 40%, transparent 70%);
  transition: background 0.8s var(--ease);
}
.day[data-night="true"] .day-sky { background: radial-gradient(80% 90% at var(--x) 110%, rgba(103, 232, 249, 0.12), rgba(167, 139, 250, 0.1) 40%, transparent 70%); }
.day-orb {
  /* Travels across the right part of the card, clear of the clock and the track. */
  position: absolute; left: calc(46% + var(--x) * 0.5); top: 12%; width: 70px; height: 70px; margin-left: -35px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff7ed, #fbbf24 45%, rgba(251, 146, 60, 0.4) 70%, transparent 72%);
  box-shadow: 0 0 80px 20px rgba(251, 191, 36, 0.25);
  transition: left 0.8s var(--ease-out), background 0.8s, box-shadow 0.8s;
}
.day[data-night="true"] .day-orb { background: radial-gradient(circle at 40% 38%, #f8fafc, #cbd5e1 50%, rgba(148, 163, 184, 0.3) 70%, transparent 72%); box-shadow: 0 0 70px 10px rgba(165, 243, 252, 0.18); }
.day-card { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; row-gap: 4px; align-items: baseline; min-height: 150px; }
.day-clock { grid-row: 1 / span 3; font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 2rem + 4vw, 5.6rem); letter-spacing: -0.04em; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; min-width: 4.4ch; }
.day-kind { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-a); }
.day-t { font-family: var(--display); font-weight: 350; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.day-d { color: var(--ink-2); font-weight: 300; max-width: 52ch; }
.day-track { position: relative; padding-top: 10px; }
.day-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 0; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, #1e293b, #fbbf24 30%, #f0abfc 55%, #67e8f9 78%, #1e293b);
}
.day-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 30px rgba(255, 255, 255, 0.6); }
.day-range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 30px rgba(255, 255, 255, 0.6); }
.day-ticks { position: relative; height: 22px; margin: 8px 13px 0; }
.day-ticks i { position: absolute; left: var(--x); top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; border: 1px solid var(--ink-3); background: var(--bg); cursor: pointer; transition: all 0.3s var(--ease); }
.day-ticks i.on { border-color: var(--accent-a); background: var(--accent-a); box-shadow: 0 0 12px var(--accent-a); transform: scale(1.3); }
.day-hours { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); margin: 0 4px; }
.day-foot { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
  .day-card { grid-template-columns: 1fr; }
  .day-clock { grid-row: auto; font-size: 3rem; }
  .day-orb { width: 46px; height: 46px; margin-left: -23px; bottom: 45%; }
}
@media (prefers-reduced-motion: reduce) { .day-orb, .day-sky { transition: none; } }

/* --- any AI platform: a wall of names ---------------------------------------------------- */

.pwall {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 26px;
  max-width: 1000px; margin: 0 auto 2.4rem; padding: 1rem;
  position: relative; border-radius: 30px;
}
.pw { font-family: var(--display); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink-3); border: 0; background: none; padding: 0; transition: color 0.3s var(--ease), text-shadow 0.3s; }
.pw.i { font-style: italic; }
.pw.sm { font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem); }
.pw.md { font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem); }
.pw.lg { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3.2rem); color: var(--ink-2); }
.pw.xl { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.6rem); color: var(--ink); }
button.pw { cursor: pointer; }
button.pw:hover, button.pw:focus-visible { color: #fff; text-shadow: 0 0 30px rgba(103, 232, 249, 0.6); }
span.pw:hover { color: var(--ink-2); }
.safe-cta { display: flex; flex-wrap: wrap; gap: 18px; }
.safe-cta button { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; }
.isw-pane h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.9rem; }

.p-q { display: block; margin-top: -0.2rem; font-size: 0.84rem; color: var(--good); }
.p-v small { text-transform: none; }

/* --- pricing extras ---------------------------------------------------------------------- */

.checks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 1.8rem auto 0; color: var(--ink-3); font-size: 0.9rem; max-width: none; }
.checks button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--edge-2); background: rgba(236, 238, 245, 0.03);
  color: var(--ink); font: 0.86rem var(--sans); cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.checks button:hover { border-color: var(--accent-a); background: rgba(103, 232, 249, 0.08); }

/* --- approach: each step opens its pop-up ----------------------------------------- */

.step-more {
  position: absolute; top: -4px; left: calc(50% + 18px); z-index: 1;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--accent-a); background: var(--bg); color: var(--accent-a);
  font: 500 1rem/1 var(--sans); cursor: pointer;
  box-shadow: 0 0 16px -4px var(--accent-a);
  transition: transform 0.3s var(--ease-out), background 0.2s, color 0.2s;
}
.step-more:hover { transform: rotate(90deg) scale(1.1); background: var(--accent-a); color: #04121a; }
@media (max-width: 900px) { .step-more { left: 36px; top: -6px; } }

/* --- outcome pop-up -------------------------------------------------------- */

.modal.wide { width: min(880px, 100%); }
.ocm { position: relative; overflow: hidden; padding: clamp(1.6rem, 4vw, 2.8rem); }
.ocm .m-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.ocm-glow {
  position: absolute; inset: -40% -20% auto;
  height: 80%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c, #67e8f9) 30%, transparent), transparent);
  filter: blur(30px);
  pointer-events: none;
  transition: background 0.6s var(--ease);
}
.ocm > * { position: relative; }
.ocm-k { font-size: 0.84rem; color: var(--c, var(--accent-a)); }
.ocm h3 {
  margin-top: 0.6rem;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem);
  line-height: 1;
  letter-spacing: var(--display-track);
  max-width: 16ch;
}
.ocm-lead { margin-top: 1rem; color: var(--ink-2); font-weight: 300; font-size: 1.06rem; max-width: 60ch; }
.ocm-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; margin-top: 2rem; }
.ocm h4 { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; color: var(--ink-3); margin-bottom: 0.9rem; }
.ocm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ocm-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  background: rgba(236, 238, 245, 0.035);
  border: 1px solid var(--edge);
  font-size: 0.94rem;
  color: var(--ink);
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  animation: ocmIn 0.6s var(--ease-out) forwards;
  animation-delay: calc(0.12s + var(--i) * 0.07s);
}
.ocm-list li::before {
  content: "";
  position: absolute; left: 15px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff, var(--c, #67e8f9) 60%);
  box-shadow: 0 0 12px var(--c, #67e8f9);
}
.ocm-flow { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 18px; }
.ocm-flow::before {
  content: "";
  position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px;
  background: linear-gradient(var(--c, #67e8f9), transparent);
  transform-origin: top;
  animation: ocmLine 1.1s var(--ease-out) 0.2s both;
}
.ocm-flow li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; opacity: 0; animation: ocmIn 0.6s var(--ease-out) forwards; animation-delay: calc(0.3s + var(--i) * 0.14s); }
.ocm-flow b {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--display); font-weight: 400; font-size: 1.05rem;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--c, #67e8f9) 55%, transparent);
  box-shadow: 0 0 20px -6px var(--c, #67e8f9);
}
.ocm-flow strong { display: block; font-weight: 500; font-size: 0.98rem; }
.ocm-flow span { display: block; color: var(--ink-2); font-size: 0.88rem; font-weight: 300; }
@keyframes ocmIn { to { opacity: 1; transform: none; } }
@keyframes ocmLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ocm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--edge); }
.ocm-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ocm-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 1.4rem; color: var(--ink-3); font-size: 0.82rem; }
.ocm-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--edge-2); background: transparent; color: var(--ink-2);
  cursor: pointer; font-size: 1rem;
}
.ocm-nav button:hover { color: var(--ink); border-color: var(--ink-3); }
.ocm.swap > :not(.ocm-glow):not(.m-close):not(.ocm-nav) { animation: ocmSwap 0.5s var(--ease-out); }
@keyframes ocmSwap { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 720px) {
  .ocm-cols { grid-template-columns: 1fr; gap: 1.6rem; }
  .ocm-foot { flex-direction: column; align-items: stretch; }
  .ocm-cta { flex-direction: column; }
  .ocm-cta .btn { justify-content: center; }
}

/* --- dashboard ------------------------------------------------------------- */

.dash-wrap { perspective: 1600px; max-width: 1120px; margin: 0 auto; }
.dash { padding: clamp(14px, 2vw, 22px); border-radius: 28px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.dash-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(236, 238, 245, 0.04); border: 1px solid var(--edge); }
.dash-tabs button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 0.88rem var(--sans);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.dash-tabs button[aria-selected="true"] { background: rgba(236, 238, 245, 0.1); color: var(--ink); }
.dash-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; }
.dash-main, .dash-brief { border-radius: 20px; background: rgba(5, 6, 10, 0.45); border: 1px solid var(--edge); padding: clamp(16px, 2.2vw, 24px); }
.dash-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: rgba(236, 238, 245, 0.03); border: 1px solid var(--edge); min-width: 0; }
.t-k { font-size: 0.74rem; color: var(--ink-3); }
.t-v { font-family: var(--display); font-weight: 350; font-size: clamp(1.4rem, 1rem + 0.9vw, 1.9rem); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.t-d { font-size: 0.74rem; }
.t-d.up, .t-d.good-down { color: var(--good); }
.t-d.down { color: var(--bad); }
.dash-chart-head { display: flex; justify-content: space-between; margin: 22px 0 10px; font-size: 0.82rem; color: var(--ink-2); }
.dash-range { color: var(--ink-4); }
.dash-chart { position: relative; height: 190px; }
.bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; }
.bars button { position: relative; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.bars button span {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(165, 243, 252, 0.55), rgba(167, 139, 250, 0.18));
  transition: height 0.7s var(--ease-out), background 0.2s;
}
.bars button.on span, .bars button:hover span { background: linear-gradient(180deg, #cffafe, var(--accent-b)); box-shadow: 0 0 24px -4px rgba(103, 232, 249, 0.6); }
.tip {
  position: absolute; top: -8px;
  transform: translate(-50%, -100%);
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(236, 238, 245, 0.95);
  color: #05060a;
  font-size: 0.76rem;
  white-space: nowrap;
  pointer-events: none;
  transition: left 0.25s var(--ease-out);
}
.dash-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.72rem; color: var(--ink-4); }
.dash-brief { display: flex; flex-direction: column; gap: 14px; }
.brief-k { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--ink-3); }
.brief-k .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.brief-h { font-family: var(--display); font-weight: 350; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
.brief-h.typing { animation: typeIn 0.9s var(--ease-out); }
@keyframes typeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.brief-n { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 0.92rem; font-weight: 300; }
.brief-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.brief-foot p { font-size: 0.78rem; color: var(--ink-3); }

@media (max-width: 980px) {
  .dash-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dash-tiles { grid-template-columns: 1fr 1fr; }
  .dash-tabs { width: 100%; }
  .dash-tabs button { flex: 1; padding: 0 8px; }
  .dash-chart { height: 150px; }
  .bars { gap: 3px; }
}

/* --- safety box ------------------------------------------------------------- */

.safe {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  --c: #a78bfa;
}
.safe h3 { font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); letter-spacing: -0.025em; line-height: 1.05; }
.safe p { color: var(--ink-2); font-weight: 300; max-width: 58ch; }



/* --- approach -------------------------------------------------------------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.steps-line { position: absolute; left: 12.5%; right: 12.5%; top: 26px; height: 1px; background: var(--edge-2); }
.steps-line i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 14px var(--accent-a);
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; padding: 0 6px; }
.step .n {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 300;
  background: var(--bg);
  border: 1px solid var(--edge-2);
  box-shadow: 0 0 0 6px var(--bg);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s;
}
.step.lit .n { border-color: var(--accent-a); color: #fff; box-shadow: 0 0 0 6px var(--bg), 0 0 30px -4px var(--accent-a); }
.step h3 { font-family: var(--display); font-weight: 350; font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.1; margin-top: 0.4rem; }
.step p { color: var(--ink-2); font-size: 0.95rem; font-weight: 300; max-width: 30ch; }

@media (max-width: 900px) {
  /* Phones: a left-hand timeline, so the line never crosses the text. */
  .steps { grid-template-columns: 1fr; gap: 34px; max-width: 460px; margin: 0 auto; text-align: left; }
  .steps-line { left: 26px; right: auto; top: 26px; bottom: 40px; width: 1px; height: auto; }
  .steps-line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; padding: 0; }
  .step .n { grid-row: 1 / span 2; }
  .step h3 { margin-top: 12px; }
  .step p { max-width: none; }
}

/* --- pricing --------------------------------------------------------------- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { padding: clamp(1.5rem, 2.6vw, 2.1rem); display: flex; flex-direction: column; gap: 0.8rem; text-align: left; }
.p-k { font-size: 0.86rem; color: var(--ink-2); }
.p-v { font-family: var(--display); font-weight: 300; font-size: clamp(2.3rem, 1.8rem + 1.6vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; }
.p-v small { font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0; color: var(--ink-3); font-weight: 400; }
.p-d { color: var(--ink-2); font-size: 0.93rem; font-weight: 300; }
.p-link {
  margin-top: auto;
  padding: 0;
  min-height: 44px;
  display: inline-flex; align-items: center; gap: 6px;
  font: 0.9rem var(--sans);
  color: var(--ink);
  background: none; border: 0; cursor: pointer;
  width: fit-content;
}
.p-link span { transition: transform 0.3s var(--ease-out); }
.p-link:hover span { transform: translateX(4px); }

/* The featured card has a slow ring of light running around its edge. */
.price.feature { border-color: transparent; background: linear-gradient(180deg, rgba(26, 30, 46, 0.7), rgba(12, 14, 22, 0.55)); }
.price.feature .p-k { color: var(--accent-a); }
@property --ang { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.price.feature { --ang: 0deg; animation: spin 7s linear infinite; }
.price.feature > :first-child::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang), transparent 0 60%, var(--accent-a) 75%, var(--accent-b) 85%, transparent 95%), linear-gradient(var(--glass-edge), var(--glass-edge));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
@keyframes spin { to { --ang: 360deg; } }

@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }

/* --- faq + band ------------------------------------------------------------ */

.faq-wrap { max-width: 860px; }

.band { padding-block: clamp(6rem, 16vw, 12rem) clamp(16rem, 40vw, 30rem); }
.band h2 { font-size: clamp(2.6rem, 1.2rem + 5vw, 6rem); max-width: 16ch; }
.band-orb { top: auto; bottom: calc(min(74vw, 980px) * -0.62); }
@media (max-width: 900px) {
  .band-orb { width: 135vw; bottom: -95vw; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .price.feature { animation: none; }
}

/* --- coverage ------------------------------------------------------------------ */

.cov { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: stretch; }
.cov-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.cov-stats > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 20px; border-radius: 22px; }
.cov-stats dt {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b) 60%, var(--accent-c));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-block: 0.15em; margin-block: -0.15em;
}
.cov-stats dd { margin: 0; font-size: 0.86rem; color: var(--ink-2); font-weight: 300; line-height: 1.45; }
.cov-link { margin: 1.6rem auto 0; text-align: center; }
@media (max-width: 980px) { .cov { grid-template-columns: 1fr; } }

