/* ================================================================
   Cronvoy — ruled canvas
   black sea, hairline rules, seafoam signal, mono telemetry
   v1.0.0
   ================================================================ */
:root {
  --bg: #060607;
  --panel: #0a0a0b;
  --panel2: #0b100f;
  --ink: #eef3f1;
  --dim: #8ca39b;
  --faint: #5b6b66;
  --hair: #232326;
  --hair-soft: #151c1a;
  --accent: #e8e4d8;
  --accent-dim: #c9c5b8;
  --accent-ink: #141410;
  --amber: #f2bb54;
  --ok: #4ade80;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rail-w: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { /* single, very quiet atmosphere */
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(900px 420px at 50% -160px, rgba(232,228,216, 0.05), transparent 66%);
}
::selection { background: var(--accent); color: var(--accent-ink); }
.mono { font-family: var(--mono); letter-spacing: 0.01em; }
.dim { color: var(--dim); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.028em; }
h3 { font-size: 17px; letter-spacing: -0.012em; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.q { font-size: 0.9em; color: var(--accent); }

/* legacy element on privacy/terms pages */
.frame { display: none; }

/* ================= header ================= */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 7, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair-soft);
}
.head-in {
  max-width: var(--rail-w); margin: 0 auto;
  display: flex; align-items: center; gap: 30px;
  padding: 14px clamp(18px, 4vw, 32px);
}
.lockup { display: flex; align-items: center; gap: 10px; flex: none; }
.lg-mark { width: 26px; height: 26px; }
.lg-word { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; display: inline-flex; }
.lg-word.sm { font-size: 15px; }
.lg-cron { font-family: var(--mono); font-weight: 500; color: var(--accent); }
.lg-voy { color: var(--ink); }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--dim);
  padding: 7px 11px; border-radius: 7px;
  transition: color .16s, background .16s;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.site-nav a.on { color: var(--ink); }
.head-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.site-nav + .head-actions { margin-left: 0; }

/* hamburger + mobile menu */
.menu-btn {
  display: none; width: 38px; height: 38px; flex: none;
  border: 1px solid var(--hair); border-radius: 8px; background: transparent;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: border-color .18s;
}
.menu-btn:hover { border-color: rgba(232,228,216, 0.4); }
.menu-btn span {
  display: block; width: 16px; height: 1.6px; border-radius: 1px;
  background: var(--ink);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }
.mnav {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(5, 8, 7, 0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: none; flex-direction: column; align-items: stretch;
  padding: 84px clamp(18px, 4vw, 32px) 30px; overflow-y: auto;
  text-align: left;
}
body.menu-open .mnav { display: flex; animation: mnavin .26s ease; }
@keyframes mnavin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
.mnav-links { display: flex; flex-direction: column; border-top: 1px solid var(--hair-soft); }
.mnav-links a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  padding: 16px 2px; border-bottom: 1px solid var(--hair-soft);
}
.mnav-links a::after {
  content: "\2192"; font-family: var(--mono); font-size: 14px; color: var(--faint);
  transition: color .15s, transform .15s;
}
.mnav-links a:hover::after, .mnav-links a:active::after { color: var(--accent); transform: translateX(2px); }
.mnav-ctas { margin-top: 26px; display: flex; flex-direction: row; justify-content: flex-start; gap: 10px; }
.mnav-ctas .btn { width: auto; }

/* logged-in state (body.authed set by inline script when cv_auth exists) */
body.authed .auth-hide { display: none !important; }
@media (min-width: 861px) {
  .mnav { display: none !important; }
  body.menu-open { overflow: auto; }
}

/* ================= buttons — small, quiet, Profound-sized ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  padding: 8px 15px; border-radius: 8px; border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
  white-space: nowrap; cursor: pointer;
}
.btn.lg { padding: 11px 20px; font-size: 15px; }
.btn.solid { background: #f2f7f5; color: #0b100f; }
.btn.solid:hover { background: var(--accent); color: var(--accent-ink); }
.btn.dark { background: #19191b; color: var(--ink); border-color: #232d2a; }
.btn.dark:hover { background: #1c2523; border-color: #31403c; }
.btn.ghost { color: var(--dim); }
.btn.ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }

/* ================= the rail: ruled canvas ================= */
main { position: relative; z-index: 1; }
.rail {
  max-width: var(--rail-w);
  margin: 0 auto;
  border-left: 1px solid var(--hair-soft);
  border-right: 1px solid var(--hair-soft);
}
.rail > section, .rail > .ticker { border-top: 1px solid var(--hair-soft); position: relative; }
.rail > :first-child { border-top: none; }

/* corner ticks at rule intersections */
.tick::before, .tick::after {
  content: "+";
  position: absolute; top: 0; z-index: 2;
  font-family: var(--mono); font-size: 13px; line-height: 1;
  color: #35443f;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.tick::before { left: 0; }
.tick::after { left: 100%; }

/* ================= hero ================= */
.hero {
  text-align: center;
  padding: clamp(72px, 11vh, 128px) clamp(20px, 4vw, 40px) clamp(56px, 8vh, 88px);
  display: flex; flex-direction: column; align-items: center;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(232,228,216, 0.8); animation: pdot 2.6s ease-in-out infinite; flex: none; }
@keyframes pdot { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero h1 {
  font-size: clamp(46px, 7.4vw, 86px);
  font-weight: 500;
  letter-spacing: -0.047em;
  line-height: 1.01;
}
.rotline { display: inline-flex; align-items: baseline; justify-content: center; }
.rot { color: var(--accent); display: inline-block; transition: opacity .28s ease, transform .28s ease; }
.rot.out { opacity: 0; transform: translateY(12px); }
.caret {
  display: inline-block; width: 0.09em; height: 0.82em;
  background: var(--accent); margin-left: 0.09em;
  transform: translateY(0.08em);
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.lede {
  color: var(--dim); font-size: clamp(16px, 1.45vw, 18px); line-height: 1.65;
  max-width: 62ch; margin: 28px auto 34px;
}
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.trust { margin-top: 24px; font-size: 12px; color: var(--faint); }

/* hero load choreography */
.hero > * { opacity: 0; animation: rise .65s cubic-bezier(.22,.75,.3,1) forwards; }
.hero > :nth-child(1) { animation-delay: .05s; }
.hero > :nth-child(2) { animation-delay: .13s; }
.hero > :nth-child(3) { animation-delay: .22s; }
.hero > :nth-child(4) { animation-delay: .31s; }
.hero > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ================= run console ================= */
.consec { padding: 0 clamp(16px, 4vw, 56px) clamp(64px, 9vh, 104px); border-top: none !important; }
.consec.tick::before, .consec.tick::after { display: none; }
.console {
  border: 1px solid var(--hair);
  background: linear-gradient(180deg, var(--panel2), var(--panel) 55%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(232,228,216, 0.03);
}
.con-head {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--hair-soft);
}
.con-task { font-size: 11.5px; color: var(--faint); flex: none; }
.con-title { font-size: 13.5px; font-weight: 500; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.con-status { margin-left: auto; flex: none; display: grid; }
.chip {
  grid-area: 1 / 1;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--hair);
}
.chip.live { color: var(--accent); border-color: rgba(232,228,216, 0.3); animation: chipout .01s linear 11s forwards; }
.chip.done { color: var(--ok); border-color: rgba(74, 222, 128, 0.28); opacity: 0; animation: chipin .01s linear 11s forwards; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pdot 1.4s ease-in-out infinite; }
@keyframes chipout { to { opacity: 0; visibility: hidden; } }
@keyframes chipin { to { opacity: 1; } }

.con-body { padding: 18px 20px 20px; font-size: 13px; line-height: 1.5; }
.rl {
  display: flex; gap: 12px; align-items: baseline;
  padding: 6.5px 2px;
  opacity: 0;
  animation: linein .45s ease forwards;
  animation-delay: var(--d, 0s);
}
.rl + .rl { border-top: 1px solid rgba(255, 255, 255, 0.025); }
@keyframes linein { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.rc { color: var(--faint); flex: none; width: 18px; text-align: center; }
.rc.ok { color: var(--ok); }
.rt { color: var(--accent); flex: none; width: 108px; }
.rv { color: var(--dim); min-width: 0; }
.rl.pause { background: rgba(242, 187, 84, 0.05); outline: 1px solid rgba(242, 187, 84, 0.18); outline-offset: -1px; }
.rl.pause .rc, .rl.pause .rt { color: var(--amber); }
.rcode { color: var(--ink); letter-spacing: 0.22em; }
.rbtn {
  display: inline-block; font-size: 11px; color: var(--accent-ink);
  background: var(--amber); border-radius: 5px; padding: 1px 8px; margin-left: 6px;
  font-weight: 500;
}
.rl.fin .rv { color: var(--ink); }

/* ================= capability ticker ================= */
.ticker { overflow: hidden; padding: 13px 0; }
.ticker-track {
  display: flex; gap: 26px; align-items: center;
  width: max-content;
  font-size: 12px; color: var(--faint); white-space: nowrap;
  animation: tick 42s linear infinite;
}
.ticker-track i { font-style: normal; color: #2c3835; font-size: 10px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ================= statement ================= */
.statement { padding: clamp(80px, 12vh, 140px) clamp(20px, 6vw, 96px); text-align: center; }
.st-big {
  font-size: clamp(24px, 3.1vw, 38px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.28;
  max-width: 30ch; margin: 0 auto;
}
.st-dim { color: var(--faint); }

/* ================= sections ================= */
.sect { padding: clamp(72px, 10vh, 120px) clamp(20px, 4vw, 56px); }
.sect-head { max-width: 640px; margin-bottom: clamp(40px, 6vh, 64px); }
.kicker {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 16px;
}
.sect-sub { color: var(--dim); margin-top: 14px; font-size: 15.5px; max-width: 54ch; }

/* ================= capabilities grid ================= */
.caps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hair-soft);
  border: 1px solid var(--hair-soft);
}
.cap {
  background: var(--bg);
  padding: 22px 22px 26px;
  transition: background .2s ease;
}
.cap:hover { background: var(--panel); }
.cap h3 { margin: 18px 0 8px; }
.cap p { color: var(--dim); font-size: 14px; line-height: 1.6; }
.cap-vis {
  height: 118px; padding: 12px 14px;
  border: 1px solid var(--hair-soft);
  background: linear-gradient(180deg, var(--panel), transparent);
  font-size: 11.5px; color: var(--dim);
  display: flex; flex-direction: column; justify-content: center; gap: 7px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.cap:hover .cap-vis { border-color: rgba(232,228,216, 0.22); }
.vr { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vr.dim2 { color: var(--faint); }
.vr-r { margin-left: auto; color: var(--faint); flex: none; }
.vr-r.ok { color: var(--ok); }
.vr-r.ac { color: var(--accent); }
.vdot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; }
.vdot.on { background: var(--accent); box-shadow: 0 0 7px rgba(232,228,216, 0.7); }
.vmoon, .veye, .vkey, .vlock, .vdisk, .vclip, .vx, .vmag { flex: none; width: 14px; text-align: center; color: var(--faint); }
.vask {
  border: 1px solid rgba(242, 187, 84, 0.3); background: rgba(242, 187, 84, 0.06);
  color: var(--amber); padding: 6px 10px; font-size: 11px;
}
.v2fa { display: flex; align-items: center; gap: 10px; }
.vcode {
  flex: 1; border: 1px solid var(--hair); padding: 5px 10px;
  letter-spacing: 0.28em; color: var(--ink);
}
.vcode b { color: var(--accent); font-weight: 400; animation: blink 1.1s steps(1) infinite; }
.vbtn { background: #f2f7f5; color: #0b100f; padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 500; flex: none; }
.vr.strike { color: var(--faint); }
.vr.strike { text-decoration: line-through; text-decoration-color: rgba(140, 163, 155, 0.5); }
.vr.strike .vr-r, .vr.strike .vx { text-decoration: none; }
.vx { color: var(--ok); }
.vfield {
  border: 1px dashed #2c3835; color: var(--faint);
  padding: 5px 10px; font-size: 11px;
}
.vsearch {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--hair); padding: 5px 10px; color: var(--ink);
}
.vres { height: 7px; background: rgba(140, 163, 155, 0.14); }
.vres.short { width: 62%; }

/* ================= scheduling split ================= */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.split-copy .kicker { margin-bottom: 16px; }
.split-lede { color: var(--dim); margin: 16px 0 26px; font-size: 15.5px; }
.feature-list { list-style: none; display: flex; flex-direction: column; }
.feature-list li {
  color: var(--dim); font-size: 14.5px; line-height: 1.6;
  padding: 13px 0; border-top: 1px solid var(--hair-soft);
}
.feature-list li:last-child { border-bottom: 1px solid var(--hair-soft); }
.feature-list strong { color: var(--ink); font-weight: 500; }

.crontab { border: 1px solid var(--hair); background: var(--panel); font-size: 12px; }
.crontab-head {
  padding: 11px 16px; color: var(--faint); font-size: 11.5px;
  border-bottom: 1px solid var(--hair-soft);
}
.crow {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 16px;
  transition: background .16s;
}
.crow + .crow { border-top: 1px solid var(--hair-soft); }
.crow:hover { background: rgba(232,228,216, 0.025); }
.crow-l { flex: none; display: flex; flex-direction: column; gap: 6px; width: 118px; }
.ctime { color: var(--ink); font-size: 14px; }
.cdays { display: flex; gap: 3px; }
.cdays b, .cdays i {
  font-style: normal; font-weight: 400; font-size: 9px;
  width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 3px;
}
.cdays b { background: rgba(232,228,216, 0.14); color: var(--accent); }
.cdays i { color: #3b4a45; border: 1px solid var(--hair-soft); }
.crow-m { color: var(--dim); min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ctag { font-size: 10px; padding: 2px 8px; border-radius: 999px; flex: none; }
.ctag.cloud { color: var(--accent); border: 1px solid rgba(232,228,216, 0.3); }
.ctag.ext { color: #93c5fd; border: 1px solid rgba(147, 197, 253, 0.3); }
.crow-r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.crun { color: var(--ink); font-size: 11px; border: 1px solid var(--hair); padding: 3px 9px; border-radius: 6px; }
.crow:hover .crun { border-color: rgba(232,228,216, 0.4); color: var(--accent); }
.cnext { color: var(--faint); font-size: 10.5px; }

/* ================= two ways ================= */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.way { background: var(--bg); padding: 30px 30px 32px; display: flex; flex-direction: column; transition: background .2s; }
.way:hover { background: var(--panel); }
.way-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 10px; }
/* mascot cell: the character carries this one, so it centres and gets room to breathe */
.way-mascot { align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 40px 30px; }
.way-mascot:hover { background: var(--bg); }
.wm-bot { display: block; line-height: 0; filter: drop-shadow(0 0 40px rgba(232, 228, 216, .18)); }
.wm-bot svg { overflow: visible; }
.wm-line { font-size: 19px; font-weight: 600; color: var(--ink); margin-top: 20px; }
.wm-sub { font-size: 13px; line-height: 1.6; color: var(--dim); max-width: 34ch; margin-top: 8px; }
@media (max-width: 860px) {
  .way-mascot { padding: 34px 24px; }
  .wm-bot { transform: scale(.82); }
}
.way h3 { font-size: 21px; margin-bottom: 20px; }
.specs { display: flex; flex-direction: column; margin-bottom: 26px; }
.spec {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12.5px; padding: 9.5px 0;
  border-top: 1px solid var(--hair-soft);
}
.spec span:first-child { color: var(--faint); }
.spec span:last-child { color: var(--dim); text-align: right; }
.spec .ok { color: var(--accent) !important; }
.way-cta { margin-top: auto; align-self: flex-start; }

/* ================= dispatches ================= */
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.job {
  background: var(--bg); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px; justify-content: space-between;
  transition: background .2s;
}
.job:hover { background: var(--panel); }
.job-q { color: var(--ink); font-size: 13px; line-height: 1.6; }
.job-f { color: var(--faint); font-size: 11px; }
.job:hover .job-f { color: var(--accent); }

/* ================= security ledger ================= */
.ledger { display: flex; flex-direction: column; border-top: 1px solid var(--hair-soft); }
.lrow {
  display: grid; grid-template-columns: 110px 1fr; gap: 22px;
  padding: 24px 2px; border-bottom: 1px solid var(--hair-soft);
}
.lid { color: var(--accent); font-size: 12px; padding-top: 3px; }
.lbody h3 { margin-bottom: 7px; }
.lbody p { color: var(--dim); font-size: 14.5px; max-width: 68ch; }

/* ================= faq ================= */
.faq { border-top: 1px solid var(--hair-soft); max-width: 780px; }
.faq details { border-bottom: 1px solid var(--hair-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  padding: 17px 2px;
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.fx { margin-left: auto; position: relative; width: 12px; height: 12px; flex: none; }
.fx::before, .fx::after {
  content: ""; position: absolute; background: var(--faint);
  transition: transform .22s ease, background .22s;
}
.fx::before { left: 0; top: 5px; width: 12px; height: 2px; }
.fx::after { left: 5px; top: 0; width: 2px; height: 12px; }
.faq details[open] .fx::after { transform: scaleY(0); }
.faq details[open] .fx::before { background: var(--accent); }
.faq details p { color: var(--dim); font-size: 14.5px; padding: 0 2px 20px; max-width: 66ch; }

/* ================= cta card ================= */
.ctacard { text-align: center; padding: clamp(88px, 13vh, 150px) clamp(20px, 4vw, 56px); }
.ctacard h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.04em; }
.ctasub { color: var(--faint); font-size: 12.5px; margin: 18px 0 30px; }

/* ================= pricing ================= */
.phero {
  text-align: center;
  padding: clamp(64px, 9vh, 110px) clamp(20px, 4vw, 40px) clamp(44px, 6vh, 64px);
  display: flex; flex-direction: column; align-items: center;
}
.phero .kicker { margin-bottom: 18px; }
.phero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 500; letter-spacing: -0.042em; line-height: 1.04; }
.phero .lede { margin: 20px auto 26px; max-width: 52ch; }
.betabar {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--dim);
  border: 1px solid rgba(232,228,216, 0.25); background: rgba(232,228,216, 0.04);
  padding: 8px 16px;
}
.phero > * { opacity: 0; animation: rise .65s cubic-bezier(.22,.75,.3,1) forwards; }
.phero > :nth-child(1) { animation-delay: .05s; }
.phero > :nth-child(2) { animation-delay: .13s; }
.phero > :nth-child(3) { animation-delay: .22s; }
.phero > :nth-child(4) { animation-delay: .31s; }

.plansec { padding: 0 clamp(16px, 4vw, 56px) clamp(72px, 10vh, 110px); border-top: none !important; }
.plansec.tick::before, .plansec.tick::after { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.plan {
  background: var(--bg); padding: 28px 26px 24px;
  display: flex; flex-direction: column; position: relative;
  transition: background .2s;
}
.plan:hover { background: var(--panel); }
.plan.popular { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(232,228,216, 0.28); }
.plan-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.plan-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.pop-badge {
  font-size: 10.5px; color: var(--accent);
  border: 1px solid rgba(232,228,216, 0.3); border-radius: 999px; padding: 2px 9px;
}
.price { font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.price .per { font-size: 12.5px; color: var(--faint); letter-spacing: 0.01em; margin-left: 6px; }
.plan-for { color: var(--dim); font-size: 13.5px; margin: 12px 0 18px; }
.plist { list-style: none; display: flex; flex-direction: column; margin-bottom: 24px; }
.plist li {
  font-size: 12px; color: var(--dim); line-height: 1.5;
  padding: 8.5px 0 8.5px 20px; border-top: 1px solid var(--hair-soft);
  position: relative;
}
.plist li::before { content: "\2713"; position: absolute; left: 2px; top: 9px; color: var(--accent); font-size: 11px; }
.plan-cta { margin-top: auto; width: 100%; }
.plan-note { font-size: 10.5px; color: var(--faint); text-align: center; margin-top: 10px; }

/* compare table */
.tblwrap { overflow-x: auto; border: 1px solid var(--hair-soft); }
.cmp { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 12.5px; }
.cmp .c-f { width: 42%; }
.cmp th, .cmp td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--hair-soft); font-weight: 400; }
.cmp thead th { font-size: 13px; color: var(--ink); font-weight: 500; padding: 14px 16px; background: var(--panel); }
.cmp thead th.hot { color: var(--accent); }
.cmp tbody th[scope="row"] { color: var(--dim); }
.cmp td { color: var(--dim); }
.cmp td.hot { background: rgba(232,228,216, 0.025); color: var(--ink); }
.cmp tr.cat th {
  color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  padding-top: 28px; background: transparent;
}
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: none; }
.ck { color: var(--accent); }
.dash { color: #3b4a45; }

/* ================= footer ================= */
.site-foot { border-top: 1px solid var(--hair-soft); }
.foot-in {
  max-width: var(--rail-w); margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 32px) 46px;
  border-left: 1px solid var(--hair-soft);
  border-right: 1px solid var(--hair-soft);
  display: flex; flex-direction: column; gap: 22px;
}
.foot-brand { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.foot-brand .mono { font-size: 12px; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12.5px; }
.foot-nav a { color: var(--dim); transition: color .15s; }
.foot-nav a:hover { color: var(--accent); }
.foot-line { font-size: 11.5px; color: var(--faint); }

/* legacy footer used on privacy/terms (no .foot-in wrapper) */
.site-foot > .foot-brand, .site-foot > .foot-nav, .site-foot > .foot-line {
  max-width: var(--rail-w); margin: 0 auto; padding: 6px clamp(20px, 4vw, 32px);
}
.site-foot > .foot-brand { padding-top: 40px; }
.site-foot > .foot-line { padding-bottom: 46px; }

/* ================= responsive ================= */
@media (max-width: 1000px) {
  .caps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; }
  .plan.popular { order: -1; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  /* Must match the specificity of `.site-nav + .head-actions {margin-left:0}` above (0,2,0) — a bare
     `.head-actions` (0,1,0) loses to it even inside this media query, which left the burger floating
     mid-header instead of pinned right once the nav was hidden. */
  .head-actions, .site-nav + .head-actions { margin-left: auto; }
  .head-actions .ghost { display: none; }
  /* The primary CTA ("Open dashboard" once signed in) is a long label that swallowed the mobile
     header. It already exists in the slide-out menu, so hide it up here and leave just the burger. */
  .head-actions .btn.solid { display: none; }
  .menu-btn { display: flex; }
  .ways { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr; }
  .lrow { grid-template-columns: 1fr; gap: 8px; padding: 20px 2px; }
  .rt { width: 88px; }
  .con-task { display: none; }
}
@media (max-width: 640px) {
  .caps { grid-template-columns: 1fr; }
  .con-body { font-size: 11.5px; padding: 14px 12px 16px; }
  .rl { gap: 8px; }
  .rt { width: 76px; }
  .rv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rl.pause .rv { white-space: normal; }
  .crow { flex-wrap: wrap; gap: 10px; }
  .crow-l { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .crow-r { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
  .consec { padding-left: 10px; padding-right: 10px; }
  .btn.lg { padding: 11px 16px; font-size: 14px; }
}

/* ================= motion respect ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > *, .phero > *, .rl { opacity: 1; animation: none; }
  .chip.live { animation: none; opacity: 0; visibility: hidden; }
  .chip.done { animation: none; opacity: 1; }
  .ticker-track { animation: none; }
  .caret, .vcode b, .pill-dot, .chip-dot { animation: none; }
}

/* ── Astarii moonglow ─────────────────────────────────────
   The accent is no longer a hue — it's LIGHT. Key marks glow softly like
   moonlight; everything else stays black/off-white and quiet. */
.lg-mark { filter: drop-shadow(0 0 8px rgba(240,236,224,.5)); }
.lg-cron { color: var(--ink); text-shadow: 0 0 14px rgba(240,236,224,.55); font-family: inherit; font-weight: 600; }
.lg-voy { color: var(--dim); }
.hero h1, .phero h1 { text-shadow: 0 0 34px rgba(240,236,224,.16); }
.btn.solid:hover { box-shadow: 0 0 22px rgba(240,236,224,.28); }

/* ── Astarii bots (ported from the desktop app) ─────────── */
.bot-svg { display: block; overflow: visible; }
.bot-blink { transform-box: fill-box; transform-origin: center; animation: botBlink 5.2s var(--blinkDelay, 0s) infinite; }
@keyframes botBlink { 0%, 91%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.12); } }
.bot-svg.lively { animation: botBob 4.6s ease-in-out infinite; }
.bot-svg.lively .bot-look { transform-box: fill-box; transform-origin: center; animation: botLook 8.5s ease-in-out infinite; }
@keyframes botBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
@keyframes botLook { 0%, 22% { transform: translateX(0); } 32%, 46% { transform: translateX(-2px); } 56%, 72% { transform: translateX(2.2px); } 84%, 100% { transform: translateX(0); } }
.lg-mark-bot { display: inline-grid; place-items: center; filter: drop-shadow(0 0 8px rgba(240,236,224,.45)); }

/* ── app showcase (Meet your Astarii) ───────────────────── */
.appshow { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0a0a0c; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 40px rgba(240,236,224,.05); }
.as-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.as-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2e; }
.as-chrome span { margin-left: 10px; color: var(--dim); font-size: 11px; }
.as-body { display: flex; min-height: 340px; }
.as-rail { width: 208px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 12px 10px; text-align: left; }
.as-new { display: block; width: 100%; text-align: center; background: #f7f5f0; color: #0b0b0d; font-weight: 600; font-size: 12.5px; border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; }
.as-label { color: var(--dimmer); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 6px; font-family: var(--mono); }
.as-item { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; }
.as-item.active { background: rgba(232,228,216,.08); box-shadow: inset 0 0 0 1px rgba(232,228,216,.25); }
.as-item b { font-size: 12.5px; font-weight: 500; color: var(--ink); flex: 1; white-space: nowrap; }
.as-item .mono { color: var(--dimmer); font-size: 9px; }
.as-main { flex: 1; padding: 22px 26px; text-align: left; min-width: 0; }
.as-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.as-head h4 { font-size: 20px; margin: 0; color: var(--ink); }
.as-head .mono { color: var(--dim); font-size: 10.5px; }
.as-inst { border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; color: var(--dim); font-size: 12.5px; margin-bottom: 12px; }
.as-skill { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; font-size: 12.5px; color: var(--ink); }
.as-skill .dotp { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(232,228,216,.6); }
.as-skill em { color: var(--dim); font-style: normal; font-size: 11px; }
/* grouped roster + pinned nav, mirroring the real sidebar */
.as-rail { display: flex; flex-direction: column; }
.as-group { color: var(--dimmer); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; padding: 9px 8px 3px; font-family: var(--mono); }
.as-foot { margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line-soft, rgba(232,228,216,.09)); display: flex; flex-direction: column; gap: 1px; }
.as-nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: var(--dimmer); font-size: 11.5px; }
.as-nav.on { color: var(--accent); background: rgba(232,228,216,.07); }
/* the session strip in the bot pane — a compact echo of the Activity timeline */
.as-sess { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.as-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; }
.as-row.up { opacity: .62; border-style: dashed; }
.as-pill { font-family: var(--mono); font-size: 8.5px; letter-spacing: .07em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line); color: var(--dimmer); flex-shrink: 0; }
.as-pill.ok { color: #6ee7b7; border-color: rgba(110,231,183,.35); background: rgba(110,231,183,.08); }
.as-when { color: var(--ink); font-size: 11.5px; min-width: 62px; }
.as-gist { color: var(--dim); font-size: 11px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-n { color: var(--dimmer); font-size: 9.5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; flex-shrink: 0; }
/* Mobile: the side-by-side app mock doesn't fit — the bot roster becomes a horizontal
   strip of lights above the bot page, which is honestly how it looks best on a phone. */
@media (max-width: 720px) {
  .as-body { flex-direction: column; min-height: 0; }
  .as-rail { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: row; align-items: center; gap: 4px; overflow-x: auto; padding: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .as-rail::-webkit-scrollbar { display: none; }
  .as-new { width: auto; flex-shrink: 0; margin-bottom: 0; padding: 7px 11px; font-size: 11.5px; }
  .as-label { display: none; }
  /* the strip is one horizontal row of bots — group headings and the pinned nav don't belong in it */
  .as-group, .as-foot { display: none; }
  .as-sess { gap: 3px; }
  .as-when { min-width: 54px; }
  .as-item { flex-shrink: 0; padding: 6px 10px; }
  .as-item .mono { display: none; }
  .as-item b { font-size: 12px; }
  .as-main { padding: 16px; }
  .as-head h4 { font-size: 17px; }
  .as-inst, .as-skill { font-size: 12px; }
}
