/* ================================================================
   Cronvoy — bioluminescent terminal
   near-black sea, seafoam glow, mono cron accents
   ================================================================ */
:root {
  --bg: #060a09;
  --bg2: #0a100e;
  --panel: #0b1210;
  --ink: #e8f5f1;
  --dim: #8fa8a1;
  --faint: #5c716b;
  --accent: #5eead4;
  --accent2: #2dd4bf;
  --accent-ink: #05211c;
  --line: rgba(94, 234, 212, 0.13);
  --line-soft: rgba(94, 234, 212, 0.07);
  --glow: rgba(94, 234, 212, 0.35);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Sora", system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* abyssal gradient + faint scanline texture */
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 78% -80px, rgba(45, 212, 191, 0.075), transparent 62%),
    radial-gradient(900px 700px at -140px 92%, rgba(94, 234, 212, 0.05), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.006) 3px 4px);
}
::selection { background: var(--accent); color: var(--accent-ink); }
.mono { font-family: var(--mono); font-size: 0.82em; letter-spacing: 0.01em; }
.dim { color: var(--dim); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }

/* ---- the glow frame: the product's signature ring, framing the site ---- */
.frame {
  position: fixed; inset: 10px; z-index: 60; pointer-events: none;
  border: 1px solid rgba(94, 234, 212, 0.16);
  border-radius: 14px;
  box-shadow:
    0 0 22px rgba(94, 234, 212, 0.09),
    inset 0 0 26px rgba(94, 234, 212, 0.05);
  animation: framepulse 7s ease-in-out infinite;
}
@keyframes framepulse {
  0%, 100% { box-shadow: 0 0 22px rgba(94,234,212,.09), inset 0 0 26px rgba(94,234,212,.05); border-color: rgba(94,234,212,.16); }
  50%      { box-shadow: 0 0 34px rgba(94,234,212,.16), inset 0 0 34px rgba(94,234,212,.08); border-color: rgba(94,234,212,.26); }
}

/* ================= header ================= */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 34px;
  padding: 20px clamp(22px, 5vw, 64px);
  background: linear-gradient(to bottom, rgba(6,10,9,.94), rgba(6,10,9,.72) 70%, transparent);
  backdrop-filter: blur(10px);
}
.lockup { display: flex; align-items: center; gap: 11px; }
.lg-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 7px rgba(94,234,212,.45)); }
.lg-word { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; display: inline-flex; }
.lg-word.sm { font-size: 16px; }
.lg-cron { font-family: var(--mono); font-weight: 500; color: var(--accent); }
.lg-voy { color: var(--ink); }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { font-family: var(--mono); font-size: 13px; color: var(--dim); transition: color .18s; }
.site-nav a:hover { color: var(--accent); }
.head-actions { display: flex; gap: 10px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13.5px; font-weight: 500;
  padding: 10px 18px; border-radius: 9px; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s, border-color .16s, color .16s;
  white-space: nowrap;
}
.btn.lg { padding: 14px 26px; font-size: 14.5px; }
.btn.solid { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 18px rgba(94,234,212,.22); }
.btn.solid:hover { background: #7df3e1; box-shadow: 0 0 30px rgba(94,234,212,.4); transform: translateY(-1px); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: rgba(94,234,212,.03); }
.btn.ghost:hover { border-color: rgba(94,234,212,.4); background: rgba(94,234,212,.07); }

/* ================= hero ================= */
main { position: relative; z-index: 1; }
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(34px, 5vw, 76px); align-items: center;
  padding: clamp(48px, 8vh, 96px) clamp(22px, 5vw, 64px) clamp(56px, 9vh, 110px);
  max-width: 1280px; margin: 0 auto;
}
.kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 22px; opacity: .9; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 26px rgba(94,234,212,.45); }
.lede { color: var(--dim); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 56ch; margin: 24px 0 34px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.trust { margin-top: 26px; font-size: 12.5px; color: var(--faint); }

/* hero run-card mock */
.hero-mock { position: relative; }
.mock-glow {
  position: absolute; inset: -8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(94,234,212,.13), transparent 72%);
  animation: mockglow 5s ease-in-out infinite;
}
@keyframes mockglow { 0%,100% { opacity: .7; } 50% { opacity: 1.1; } }
.runcard {
  background: linear-gradient(160deg, #0c1412, #080e0c);
  border: 1px solid rgba(94,234,212,.22);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 40px rgba(94,234,212,.1), inset 0 1px 0 rgba(255,255,255,.045);
  overflow: hidden;
  transform: rotate(1.1deg);
}
.runcard-top {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-soft);
  color: var(--dim); font-size: 12px;
}
.runcard-live { margin-left: auto; color: var(--accent); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: dotpulse 1.8s ease-in-out infinite; }
@keyframes dotpulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .6; } }
.runcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 11px; }
.rl {
  display: flex; gap: 10px; align-items: baseline;
  font-family: var(--mono); font-size: 12.6px;
  opacity: 0; animation: lineup .5s ease forwards;
}
.rl:nth-child(1) { animation-delay: .25s; }
.rl:nth-child(2) { animation-delay: .85s; }
.rl:nth-child(3) { animation-delay: 1.35s; }
.rl:nth-child(4) { animation-delay: 1.85s; }
.rl:nth-child(5) { animation-delay: 2.35s; }
.rl:nth-child(6) { animation-delay: 2.85s; }
.rl:nth-child(7) { animation-delay: 3.5s; }
@keyframes lineup { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.rl.task { font-family: var(--sans); font-size: 13.5px; color: var(--ink); line-height: 1.45; padding-bottom: 6px; border-bottom: 1px dashed var(--line-soft); margin-bottom: 3px; }
.rl-k { font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid rgba(94,234,212,.35); border-radius: 5px; padding: 2px 7px; flex-shrink: 0; }
.rl-k.ok { background: rgba(94,234,212,.12); }
.rl-c { color: var(--faint); }
.rl-t { color: var(--accent); }
.rl-v { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl.done { padding-top: 6px; font-family: var(--sans); font-size: 13px; color: var(--ink); }

/* tick divider — cron ruler */
.tickline {
  height: 30px; max-width: 1280px; margin: 0 auto;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 26px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: .5;
}

/* ================= sections ================= */
.sect { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 10vh, 120px) clamp(22px, 5vw, 64px); }
.sect-head { max-width: 720px; margin-bottom: clamp(38px, 5vh, 60px); position: relative; }
.sect-no {
  display: block; font-size: 13px; color: var(--accent);
  margin-bottom: 14px; opacity: .85;
}
.sect-no::after { content: " ————"; color: var(--faint); letter-spacing: -2px; }
.sect h2 { font-size: clamp(26px, 3.4vw, 40px); }
.sect-sub { color: var(--dim); margin-top: 16px; font-size: 17px; max-width: 58ch; }

/* steps — offset ledger, not cards */
.steps { list-style: none; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 110px minmax(0,1fr) 200px;
  gap: 26px; align-items: start;
  padding: 34px 6px; border-bottom: 1px solid var(--line);
  position: relative; transition: background .25s;
}
.step:hover { background: linear-gradient(90deg, rgba(94,234,212,.04), transparent 60%); }
.step-no { font-size: clamp(30px, 3.6vw, 44px); color: transparent; -webkit-text-stroke: 1px rgba(94,234,212,.5); line-height: 1; padding-top: 4px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--dim); max-width: 62ch; }
.step-tag { font-size: 11.5px; color: var(--faint); text-align: right; padding-top: 8px; }
.q { color: var(--accent); }

/* split sections */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.split-copy .sect-no { margin-bottom: 14px; }
.split-copy > p { color: var(--dim); margin-bottom: 14px; max-width: 56ch; }
.feature-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { color: var(--dim); padding-left: 22px; position: relative; }
.feature-list li::before {
  content: ">"; font-family: var(--mono); color: var(--accent);
  position: absolute; left: 0; top: 0;
}
.feature-list strong { color: var(--ink); font-weight: 600; }

/* crontab visual */
.crontab {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: linear-gradient(170deg, #0b1310, #070d0b);
  box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 30px rgba(94,234,212,.07);
  transform: rotate(-1deg);
}
.crontab-head { padding: 12px 18px; font-size: 12px; color: var(--faint); border-bottom: 1px solid var(--line-soft); }
.crow {
  display: grid; grid-template-columns: 64px minmax(0,1.35fr) minmax(0,1fr) 76px;
  gap: 14px; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.crow:last-child { border-bottom: none; }
.ctime { color: var(--accent); font-size: 12.5px; }
.czone { color: var(--faint); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cname { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cstat { font-size: 11px; color: var(--faint); text-align: right; }
.cstat.on { color: var(--accent); }
.crow.next { background: rgba(94,234,212,.055); }

/* security ledger */
.ledger { border-top: 1px solid var(--line); }
.lrow {
  display: grid; grid-template-columns: 110px minmax(0, 300px) minmax(0, 1fr);
  gap: 26px; padding: 30px 6px; border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.lrow:hover { background: linear-gradient(90deg, rgba(94,234,212,.045), transparent 65%); }
.lid { color: var(--accent); font-size: 13px; padding-top: 5px; }
.lrow h3 { font-size: 18px; line-height: 1.3; }
.lrow p { color: var(--dim); max-width: 68ch; }

/* model board */
.modelboard {
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(170deg, #0b1310, #070d0b);
  padding: 10px 0; font-size: 13px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 30px rgba(94,234,212,.07);
  transform: rotate(1deg);
}
.mrow { display: flex; align-items: center; gap: 12px; padding: 13px 20px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mrow:last-child { border-bottom: none; }
.mrow.dim { color: var(--faint); }
.mdot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--glow); flex-shrink: 0; }
.mtag { margin-left: auto; font-size: 10.5px; color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 2px 8px; }

/* faq */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 22px 44px 22px 6px; font-weight: 600; font-size: 16.5px;
  transition: color .18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-weight: 400;
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 20px; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq p { color: var(--dim); padding: 0 6px 24px; max-width: 72ch; }

/* cta band */
.cta-band {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(70px, 12vh, 130px) clamp(22px, 5vw, 64px);
  text-align: center; position: relative;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(560px 260px at 50% 60%, rgba(94,234,212,.09), transparent 70%);
}
.cta-band h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; }
.cta-band > .mono { color: var(--faint); margin: 16px 0 30px; font-size: 13px; }

/* footer */
.site-foot {
  border-top: 1px solid var(--line);
  max-width: 1280px; margin: 0 auto;
  padding: 40px clamp(22px, 5vw, 64px) 54px;
  display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center;
}
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-brand .mono { font-size: 11.5px; }
.foot-nav { display: flex; gap: 22px; margin-left: auto; font-size: 12.5px; }
.foot-nav a { color: var(--dim); transition: color .18s; }
.foot-nav a:hover { color: var(--accent); }
.foot-line { width: 100%; font-size: 11.5px; }

/* ================= responsive ================= */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-mock { max-width: 560px; }
  .runcard { transform: none; }
  .split { grid-template-columns: 1fr; }
  .crontab, .modelboard { transform: none; }
  .step { grid-template-columns: 70px minmax(0,1fr); }
  .step-tag { display: none; }
  .lrow { grid-template-columns: 80px minmax(0,1fr); }
  .lrow p { grid-column: 2; }
}
@media (max-width: 720px) {
  .frame { inset: 6px; border-radius: 10px; }
  .site-head { gap: 16px; padding-top: 14px; padding-bottom: 14px; }
  .site-nav { display: none; }
  .head-actions { margin-left: auto; }
  .btn { padding: 9px 14px; font-size: 12.5px; }
  .btn.lg { padding: 13px 20px; font-size: 13.5px; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 2px; }
  .step-no { font-size: 26px; }
  .lrow { grid-template-columns: 1fr; gap: 8px; padding: 24px 2px; }
  .lid { padding-top: 0; }
  .lrow p { grid-column: auto; }
  .crow { grid-template-columns: 56px minmax(0,1fr) 64px; }
  .czone { display: none; }
  .foot-nav { margin-left: 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .frame, .mock-glow, .pulse-dot { animation: none; }
  .rl { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}
