/* The shared look for every marketing page on omniscio.com.
 *
 * One stylesheet, no framework, no dependency. The tokens below are the homepage's own
 * (index.src.html :root) — same palette, same type — so a page added here wears the same
 * brand without copying the homepage's animation CSS, which none of these pages need.
 *
 * Every page links this file and includes the shared masthead and footer partials. Change a
 * colour or a rule here and every page changes together; that is the whole point.
 */

:root {
  --void: #06070B;
  --obsidian: #0B0D14;
  --graphite: #12151F;
  --slate: #1B1F2C;
  --mist: #8A93B2;
  --cloud: #EAEDF8;
  --peri: #7C8CFF;
  --cyan: #37E0E6;
  --green: #3DDC97;
  --amber: #F5B34C;
  --ember: #F0883E;
  --indigo: #5A6BFF;
  --violet: #8B6CFF;
  --aurora: linear-gradient(115deg, #7C8CFF, #37E0E6);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --code: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --mono: var(--font);
  --brand: 'Satoshi', var(--font);
  --hair: rgba(255, 255, 255, .08);
  --pad-x: clamp(20px, 5vw, 48px);
  --measure: 68ch;
  --radius: 14px;
}

* { box-sizing: border-box; }

html {
  background: var(--void);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--cloud);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.62;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--peri);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---------- masthead ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 7, 11, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}

.top__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cloud);
}

.brand__orb { width: 30px; height: 30px; display: block; }

.brand__name {
  font-family: var(--brand);
  font-weight: 600;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: .17em;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 6px 18px;
  flex-wrap: wrap;
}

.navlink {
  text-decoration: none;
  color: var(--mist);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
}

.navlink:hover,
.navlink[aria-current="page"] {
  color: var(--cloud);
  border-bottom-color: var(--peri);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: .88rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .2s ease, background .2s ease;
}

.btn--glass { background: rgba(255, 255, 255, .04); color: var(--cloud); }
.btn--glass:hover { border-color: rgba(124, 140, 255, .55); background: rgba(124, 140, 255, .1); }
.btn--solid { background: var(--cloud); color: var(--void); border-color: var(--cloud); }
.btn--solid:hover { background: #fff; }

/* ---------- layout ---------- */

main { display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.narrow { max-width: var(--measure); }

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 420px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(124, 140, 255, .22), transparent 70%);
  pointer-events: none;
}

.hero > .wrap { position: relative; }

.crumbs {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--mist);
  margin: 0 0 18px;
}

.crumbs a { text-decoration: none; color: var(--mist); }
.crumbs a:hover { color: var(--cloud); }
.crumbs span[aria-hidden] { opacity: .5; padding: 0 8px; }

h1 {
  font-family: var(--brand);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  max-width: 22ch;
  background: linear-gradient(165deg, #FFFFFF 0%, #DCE0FF 38%, #A9B4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.28rem);
  color: var(--mist);
  max-width: var(--measure);
  margin: 0 0 28px;
}

section { padding: clamp(48px, 6vw, 72px) 0; }
section + section { border-top: 1px solid var(--hair); }

h2 {
  font-family: var(--brand);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 1.1vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  max-width: 34ch;
}

h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.06rem;
  margin: 30px 0 8px;
  color: var(--cloud);
}

p { margin: 0 0 18px; max-width: var(--measure); }

ul, ol { margin: 0 0 18px; padding-left: 1.25rem; max-width: var(--measure); }
li { margin: 0 0 8px; }
li > ul, li > ol { margin-top: 8px; }

strong { color: #fff; font-weight: 600; }

code {
  font-family: var(--code);
  font-size: .9em;
  background: var(--graphite);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 1px 6px;
}

pre {
  background: var(--obsidian);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0 0 22px;
}

pre code { background: none; border: 0; padding: 0; font-size: .84rem; line-height: 1.6; }

blockquote {
  margin: 0 0 22px;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--peri);
  color: var(--mist);
  max-width: var(--measure);
}

/* ---------- cards (the /compare hub and any "go deeper" row) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  max-width: none;
}

.card {
  display: block;
  height: 100%;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color .2s ease, transform .2s ease;
}

.card:hover { border-color: rgba(124, 140, 255, .5); transform: translateY(-2px); }

.card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--mist); font-size: .94rem; }

.card__meta {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--peri);
  margin: 0 0 10px;
}

/* ---------- call to action ---------- */

.cta {
  background: linear-gradient(180deg, rgba(124, 140, 255, .1), rgba(55, 224, 230, .04));
  border: 1px solid rgba(124, 140, 255, .28);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  margin: 0 0 8px;
}

.cta h2 { margin-bottom: 10px; }
.cta p { margin-bottom: 20px; color: var(--mist); }

.cta__row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- the session board (the one product visual on these pages) ---------- */

/* A still of the real session list: the app's own status names and colours, in the order the
 * inbox sorts them — the session that needs a person sits above the ones still working. Drawn in
 * CSS so there is no screenshot to go stale, no image to download, and nothing to shift. */
.board {
  max-width: 520px;
  margin: 4px 0 0;
  padding: 6px;
  list-style: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.board > li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: .92rem;
}

.board > li + li { margin-top: 2px; }
.board > li:nth-child(even) { background: rgba(255, 255, 255, .022); }

.board__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--hair);
  border-radius: 0;
  background: none;
}

.board__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }

.board__title {
  margin-left: 8px;
  font-family: var(--code);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mist);
}

.board .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mist);
  position: relative;
}

.board .state {
  font-family: var(--code);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--mist);
}

.row--needs .dot { background: #FBBF24; }
.row--needs .state { color: #FBBF24; }
.row--run .dot { background: #4ADE80; }
.row--err .dot { background: #F87171; }
.row--err .state { color: #F87171; }
.row--ready .dot { background: #A5F3FC; }
.row--ready .state { color: #A5F3FC; }

/* The one live signal: the session waiting on you keeps breathing. Transform and opacity only. */
.row--needs .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #FBBF24;
  animation: board-ping 2.6s ease-out infinite;
}

@keyframes board-ping {
  0% { transform: scale(.7); opacity: .9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- reveal on scroll ---------- */

/* Nothing is hidden unless the page script has run AND the reader has not asked for less motion,
 * so the copy renders in full with JavaScript switched off or broken. */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal] {
  transition: opacity .4s ease-out var(--rd, 0ms), transform .4s ease-out var(--rd, 0ms);
}

/* ---------- prose helpers ---------- */

.note {
  font-size: .92rem;
  color: var(--mist);
  border-left: 2px solid var(--slate);
  padding-left: 16px;
  max-width: var(--measure);
}

.updated {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: rgba(138, 147, 178, .7);
  margin: 0 0 24px;
}

/* ---------- footer (mirrors the homepage's) ---------- */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px var(--pad-x) calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(138, 147, 178, .7);
}

footer nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cloud); }

.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand i { width: 16px; height: 16px; background: var(--aurora); border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  /* Every reveal and the board's pulse stop, and the content renders in its final state. */
  [data-reveal] { transition: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .row--needs .dot::after { animation: none; opacity: 0; }
}

@media (max-width: 560px) {
  .board { max-width: none; }
  .board > li { padding: 10px; }
}
