/* ============================================================
   PROTOLAP -- Landing styles  v2
   Sharp, flat, editorial. No rounded corners. No gradients.
   ============================================================ */

:root {
  --ink-900: #080b12;     /* near black navy (dark sections) */
  --ink-850: #0a0e17;
  --ink-800: #0e131f;
  --ink-700: #141b2a;
  --line-dk: #1c2433;     /* hairline on dark */
  --line-dk-2: #283449;

  --paper:    #f3f4f0;    /* flat warm off-white */
  --paper-2:  #ebece7;
  --white:    #ffffff;
  --line-lt:  #e0e2dc;    /* hairline on light */
  --line-lt-2:#d3d5cd;

  --slate-300:#cbd5e1;
  --slate-400:#94a3b8;
  --slate-500:#64748b;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1e293b;
  --slate-900:#0f172a;

  /* single flat accent */
  --cyan:   #147eea;
  --cyan-dk:#1068c5;
  --ink-on-cyan: #03152e;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-headline: "Plus Jakarta Sans", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--slate-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--cyan); color: var(--ink-on-cyan); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }

/* ---------- Buttons (square, flat) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; cursor: pointer;
  border: 1px solid transparent; transition: all .2s var(--ease);
  white-space: nowrap; letter-spacing: -0.01em; border-radius: 0;
}
.btn-primary { background: var(--cyan); color: var(--ink-on-cyan); border-color: var(--cyan); }
.btn-primary:hover { background: transparent; color: var(--cyan); }
.btn-ghost-dk { background: transparent; color: #fff; border-color: var(--line-dk-2); }
.btn-ghost-dk:hover { border-color: #fff; }
.btn-ghost-lt { background: var(--white); color: var(--slate-900); border-color: var(--line-lt-2); }
.btn-ghost-lt:hover { border-color: var(--slate-900); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.dot-live { width: 7px; height: 7px; background: var(--cyan); position: relative; }
.dot-live::after { content:""; position:absolute; inset:0; border:1px solid var(--cyan); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity:.9 } 100% { transform: scale(2.4); opacity:0 } }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(8,11,18,.92); backdrop-filter: blur(14px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: #fff; }
.brand-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); padding-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(226,232,240,.7); font-size: 14.5px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-6px; height:1px; background: var(--cyan); transition: right .25s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .signin { color: rgba(226,232,240,.8); font-size: 14.5px; font-weight: 500; }
.nav-cta .signin:hover { color: #fff; }
.nav-guest { display: flex; align-items: center; gap: 18px; }
.nav-user { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 5px 10px 5px 5px; border: 1px solid var(--line-dk-2); transition: border-color .2s var(--ease); }
.nav-user:hover { border-color: var(--cyan); }
.nav-user-avatar { width: 30px; height: 30px; background: var(--cyan); color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .03em; }
.nav-user-info { display: flex; flex-direction: column; gap: 1px; }
.nav-user-name { color: #fff; font-size: 13px; font-weight: 600; font-family: var(--font-body); line-height: 1.2; }
.nav-user-email { color: var(--slate-400); font-size: 11px; font-family: var(--font-body); line-height: 1.2; }
@media (max-width: 880px){ .nav-links { display:none; } }

/* ============================================================
   HERO (dark, flat)
   ============================================================ */
.hero { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; padding-top: 70px; border-bottom: 1px solid var(--line-dk); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dk) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dk) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .5;
}
/* flat accent corner block */
.hero-accent { position:absolute; top:0; right:0; width: 8px; height: 220px; background: var(--cyan); opacity:.9; }

.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { color: var(--cyan); margin-bottom: 30px; }
.hero h1 { font-family: var(--font-headline); font-weight: 800; font-stretch: 118%; letter-spacing: -0.025em; line-height: 1.0; }
.hero h1 .grad { color: var(--cyan); }
.hero .sub { color: rgba(203,213,225,.82); font-size: 19px; line-height: 1.55; max-width: 540px; }
@media (max-width:600px){ .hero .sub { font-size: 17px; } }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { display:flex; align-items:center; gap: 22px; flex-wrap: wrap; color: var(--slate-400); font-family: var(--font-mono); font-size: 12.5px; }
.hero-trust .i { display:flex; align-items:center; gap:8px; }
.hero-trust svg { color: var(--cyan); }

/* entrance */
.reveal-word { display:inline-block; opacity:0; transform: translateY(24px); }
.hero[data-anim="in"] .reveal-word { animation: wordIn .7s var(--ease) forwards; }
@keyframes wordIn { to { opacity:1; transform: translateY(0); } }
.fade-up { opacity:0; transform: translateY(18px); }
.hero[data-anim="in"] .fade-up { animation: fadeUp .8s var(--ease) forwards; }
@keyframes fadeUp { to { opacity:1; transform: translateY(0); } }
.hero.force-show .reveal-word, .hero.force-show .fade-up { opacity:1 !important; transform:none !important; animation:none !important; }

/* === Split hero === */
#hero-2 { padding: 118px 0 104px; }
.hero-split { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
#hero-2 h1 { font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 26px; }
#hero-2 .sub { margin-bottom: 34px; }
#hero-2 .hero-actions { margin-bottom: 30px; }
@media (max-width: 940px){ .hero-split { grid-template-columns: 1fr; gap: 44px; } }

.cap-index { border-top: 1px solid var(--line-dk); }
.cap-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line-dk); transition: padding-left .25s var(--ease), background .25s; }
.cap-row:hover { padding-left: 14px; background: rgba(22,214,232,.04); }
.cap-row .n { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); }
.cap-row .ttl { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing:-0.02em; color: #fff; }
.cap-row .meta { font-family: var(--font-mono); font-size: 12px; color: var(--slate-500); }

/* ---- Live feed widget (hero visual) ---- */
.live-feed {
  border: 1px solid var(--line-dk-2);
  background: rgba(8,11,18,.55);
  overflow: hidden;
}
.lf-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-dk);
  background: rgba(20,126,234,.05);
}
.lf-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: lf-pulse 1.8s ease-in-out infinite;
}
@keyframes lf-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%       { opacity: .75; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.lf-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-300);
}
.lf-today {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-600);
  margin-left: auto;
}
.lf-rows { overflow: hidden; }
.lf-row {
  padding: 9px 16px 8px;
  border-bottom: 1px solid var(--line-dk);
}
.lf-row:last-child { border-bottom: none; }
.lf-row--new { animation: lf-enter .65s cubic-bezier(.22,1,.36,1) both; }
@keyframes lf-enter {
  from { opacity: 0; background: rgba(20,126,234,.14); }
  60%  { background: rgba(20,126,234,.06); }
  to   { opacity: 1; background: transparent; }
}
.lf-row--out { animation: lf-exit .3s ease forwards; }
@keyframes lf-exit { to { opacity: 0; } }
.lf-row-main {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  overflow: hidden;
}
.lf-model {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lf-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-600);
  white-space: nowrap;
  flex-shrink: 0;
}
.lf-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.lf-ok  { color: #22c55e; }
.lf-err { color: #ef4444; }
.lf-row-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}
.lf-row-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-600);
  white-space: nowrap;
}
.lf-row-meta .lf-user { color: var(--slate-500); }
.lf-row-meta .lf-cost { color: var(--slate-400); }
.lf-row-meta .lf-sep  { color: var(--slate-700); }
.lf-row-meta .lf-obj  {
  color: var(--slate-700);
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}
.prov-b {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.prov-openai    { background: rgba(16,163,127,.15); color: #10a37f; }
.prov-anthropic { background: rgba(204,120,92,.15);  color: #cc785c; }
.prov-google    { background: rgba(66,133,244,.15);  color: #4285f4; }
.prov-azure     { background: rgba(0,120,212,.15);   color: #0078d4; }
.prov-cohere    { background: rgba(148,163,184,.1);  color: #94a3b8; }

/* ============================================================
   SECTIONS (light, flat)
   ============================================================ */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dk); font-weight: 600; margin-bottom: 20px; display: inline-flex; align-items:center; gap:10px; }
.kicker::before { content:""; width: 26px; height: 1px; background: var(--cyan-dk); display:inline-block; }
.section h2 { font-family: var(--font-headline); font-weight: 800; font-stretch: 118%; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.025em; line-height: 1.04; color: var(--slate-900); }
.section h2 .muted { color: var(--slate-400); }
.section .lede { font-size: 19px; color: var(--slate-600); margin-top: 22px; line-height: 1.6; max-width: 620px; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"]{ transition-delay: .07s } [data-reveal-delay="2"]{ transition-delay: .14s }
[data-reveal-delay="3"]{ transition-delay: .21s } [data-reveal-delay="4"]{ transition-delay: .28s }
[data-reveal-delay="5"]{ transition-delay: .35s }

/* hairline rule that draws in */
.rule { height: 1px; background: var(--line-lt); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.rule.in { transform: scaleX(1); }

/* ============================================================
   FEATURES -- bordered spec grid (flat, square)
   ============================================================ */
.feat-grid { border: 1px solid var(--line-lt); border-bottom: none; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); }
.feat { padding: 40px 34px 44px; border-bottom: 1px solid var(--line-lt); border-right: 1px solid var(--line-lt); position: relative; transition: background .25s var(--ease); }
.feat:nth-child(3n) { border-right: none; }
.feat:hover { background: var(--paper); }
.feat .n { font-family: var(--font-mono); font-size: 12.5px; color: var(--cyan-dk); letter-spacing:.05em; }
.feat-ic { width: 42px; height: 42px; border: 1px solid var(--line-lt-2); display: grid; place-items: center; margin: 22px 0 22px; color: var(--slate-900); }
.feat h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--slate-900); margin-bottom: 11px; }
.feat p { color: var(--slate-600); font-size: 15.5px; line-height: 1.62; max-width: 34ch; }
.feat .mono-em { font-family: var(--font-mono); font-size: 13.5px; color: var(--cyan-dk); }

/* accent CTA cell */
.feat.accent { background: var(--cyan); color: var(--ink-on-cyan); display:flex; flex-direction: column; justify-content: space-between; }
.feat.accent:hover { background: var(--cyan); }
.feat.accent .n { color: var(--ink-on-cyan); opacity:.6; }
.feat.accent h3 { color: var(--ink-on-cyan); font-size: 28px; line-height:1.1; margin-top: 18px; }
.feat.accent .go { display:inline-flex; align-items:center; gap:10px; font-weight:600; font-size:15px; margin-top: 20px; }
.feat.accent .go .arr { transition: transform .2s var(--ease); }
.feat.accent:hover .go .arr { transform: translateX(5px); }
@media (max-width: 900px){ .feat-grid { grid-template-columns: 1fr 1fr; } .feat:nth-child(3n){ border-right:1px solid var(--line-lt);} .feat:nth-child(2n){ border-right:none; } }
@media (max-width: 600px){ .feat-grid { grid-template-columns: 1fr; } .feat { border-right:none !important; } }


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-lt); }
.hiw-step { padding: 44px 40px 44px 0; border-right: 1px solid var(--line-lt); }
.hiw-step:not(:first-child) { padding-left: 40px; }
.hiw-step:last-child { border-right: none; }
.hiw-n { font-family: var(--font-mono); font-size: 13px; color: var(--cyan-dk); letter-spacing: .05em; display: block; margin-bottom: 24px; }
.hiw-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--slate-900); margin-bottom: 14px; }
.hiw-step h3.hiw-word { font-family: var(--font-headline); font-weight: 800; font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 20px; color: var(--slate-900); }
.hiw-step p { color: var(--slate-600); font-size: 15.5px; line-height: 1.65; max-width: 32ch; }
@media (max-width: 760px) {
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-step { border-right: none; border-bottom: 1px solid var(--line-lt); padding: 36px 0; }
  .hiw-step:not(:first-child) { padding-left: 0; }
  .hiw-step:last-child { border-bottom: none; }
}

/* ============================================================
   CTA + FOOTER (dark, flat)
   ============================================================ */
.cta { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; padding: 130px 0 0; border-top: 1px solid var(--line-dk); }
.cta .hero-bg { z-index: 0; }
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta h2 { font-family: var(--font-headline); font-weight: 800; font-stretch: 118%; font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 24px; }
.cta h2 .grad { color: var(--cyan); }
.cta .sub { color: rgba(203,213,225,.78); font-size: 20px; max-width: 560px; margin: 0 auto 40px; }
.cta-actions { display:flex; gap: 14px; justify-content:center; flex-wrap: wrap; margin-bottom: 30px; }

.footer { position: relative; z-index: 2; margin-top: 104px; border-top: 1px solid var(--line-dk); padding: 54px 0 44px; }
.footer-grid { display:flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 18px; }
.footer-tag { color: var(--slate-500); font-size: 14px; max-width: 300px; line-height: 1.6; }
.footer-cols { display:flex; gap: 72px; flex-wrap: wrap; }
.fcol h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing:.08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 18px; font-weight: 500; }
.fcol a { display:block; color: var(--slate-400); font-size: 14.5px; margin-bottom: 12px; transition: color .2s; }
.fcol a:hover { color: #fff; }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-dk); color: var(--slate-500); font-size: 13px; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-lt);
}

.pricing-card {
  padding: 48px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--white);
}

.pricing-card + .pricing-card {
  border-left: 1px solid var(--line-lt);
}

.pricing-card--dark {
  background: var(--ink-900);
}

.pricing-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-dk);
  margin-bottom: 20px;
}

.pricing-card--dark .pricing-label {
  color: var(--cyan);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.pricing-amount {
  font-family: var(--font-headline);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
   letter-spacing: -0.03em;
  line-height: 1;
  color: var(--slate-900);
}

.pricing-card--dark .pricing-amount {
  color: #fff;
}

.pricing-per {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-500);
}

.pricing-card--dark .pricing-per {
  color: rgba(255,255,255,.45);
}

.pricing-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate-600);
  max-width: 340px;
}

.pricing-card--dark .pricing-desc {
  color: rgba(255,255,255,.55);
}

.pricing-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  border-top: 1px solid var(--line-lt);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.pricing-card--dark .pricing-feats {
  border-top-color: var(--line-dk);
}

.pricing-feats li {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--slate-700);
  padding-left: 18px;
  position: relative;
}

.pricing-feats li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--cyan-dk);
  font-family: var(--font-mono);
  font-size: 11px;
  top: 3px;
}

.pricing-card--dark .pricing-feats li {
  color: rgba(255,255,255,.7);
}

.pricing-card--dark .pricing-feats li::before {
  color: var(--cyan);
}

.pricing-feat--locked {
  opacity: .32;
  text-decoration: line-through;
  text-decoration-color: var(--slate-400);
}

.pricing-feat--highlight {
  color: var(--slate-900) !important;
  font-weight: 600;
}

.pricing-card--dark .pricing-feat--highlight {
  color: #fff !important;
}

.pricing-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan-dk);
  border: 1px solid var(--cyan-dk);
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.8;
}

.pricing-card--dark .pricing-badge {
  color: var(--cyan);
  border-color: var(--cyan);
}

@media (max-width: 680px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card + .pricing-card { border-left: none; border-top: 1px solid var(--line-lt); }
  .pricing-card--dark + .pricing-card { border-top-color: var(--line-dk); }
  .pricing-card { padding: 36px 28px 32px; }
}

/* ============================================================
   LIABILITY SECTION (dark variant)
   ============================================================ */
.liability {
  background: var(--ink-900);
  color: #fff;
  border-top: 1px solid var(--line-dk);
  border-bottom: 1px solid var(--line-dk);
  overflow: hidden;
}
.liability .hero-bg { z-index: 0; }
.liability .wrap { position: relative; z-index: 2; }
.liability .kicker { color: var(--cyan); }
.liability .kicker::before { background: var(--cyan); }
.liability h2 { color: #fff; }
.liability h2 .muted { color: var(--slate-500); }
.liability .lede { color: rgba(203,213,225,.75); }

/* AGENTS SECTION (dark variant) */
#agents { background: var(--ink-900); color: #fff; overflow: hidden; }
#agents .hero-bg { z-index: 0; }
#agents .wrap { position: relative; z-index: 2; }
#agents .kicker { color: var(--cyan); }
#agents .kicker::before { background: var(--cyan); }
#agents h2 { color: #fff; }
#agents h2 .grad { color: var(--cyan); }
#agents .lede { color: rgba(203,213,225,.75); }

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dk);
}
.risk-item {
  padding: 44px 40px 44px 0;
  border-right: 1px solid var(--line-dk);
}
.risk-item:not(:first-child) { padding-left: 40px; }
.risk-item:last-child { border-right: none; }
.risk-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: .05em;
  display: block;
  margin-bottom: 24px;
}
.risk-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.risk-item p {
  color: rgba(203,213,225,.7);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 32ch;
}

.risk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 52px;
  border-top: 1px solid var(--line-dk);
  margin-top: 52px;
}
.risk-footer > p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .risk-grid { grid-template-columns: 1fr; }
  .risk-item { border-right: none; border-bottom: 1px solid var(--line-dk); padding: 36px 0; }
  .risk-item:not(:first-child) { padding-left: 0; }
  .risk-item:last-child { border-bottom: none; }
  .risk-footer { flex-direction: column; align-items: flex-start; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .rule { opacity: 1 !important; transform: none !important; }
  .reveal-word, .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   SLIDESHOW LAYOUT
   ============================================================ */
html, body { height: 100%; overflow: hidden; }

/* ---- Slide navigation tab bar ---- */
.slide-nav {
  position: fixed;
  top: 70px; left: 0; right: 0;
  height: 40px;
  background: rgba(8,11,18,.96);
  border-bottom: 1px solid var(--line-dk-2);
  z-index: 99;
  backdrop-filter: blur(14px);
}
.slide-nav-inner {
  display: flex;
  height: 100%;
  align-items: stretch;
}
.slide-nav-tab {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
  margin-bottom: -1px;
}
.slide-nav-tab:hover { color: var(--slate-300); }
.slide-nav-tab.active { color: #fff; border-bottom-color: var(--cyan); }

.slides-track {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 111px; left: 0; right: 0; bottom: 0;
  will-change: transform;
  transition: transform .78s cubic-bezier(.22, 1, .36, 1);
}

.slide {
  flex: 0 0 calc(100vh - 111px);
  width: 100%;
  height: calc(100vh - 111px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.slide--dark { background: var(--ink-900); }

/* Sections fill their slide and center their content vertically */
.slide > .hero,
.slide > .section,
.slide > .cta { flex: 1; align-self: stretch; }
.slide > .section { display: flex; flex-direction: column; justify-content: center; }

/* Hero no longer needs top padding to clear the fixed nav */
.slide > .hero { padding-top: 0; border-bottom: none; display: flex; flex-direction: column; justify-content: center; }

/* Liability border clashes with slide edges — remove */
.slide > .liability { border-top: none; border-bottom: none; }

/* Tightened vertical rhythm so each slide fits in one viewport */
.section { padding: 44px 0; }
.section-head { margin-bottom: 28px; }
.section .lede { margin-top: 12px; }
#hero-2 { padding: 40px 0 32px; }
#hero-2 h1 { margin-bottom: 16px; }
#hero-2 .sub { margin-bottom: 22px; }
#hero-2 .hero-actions { margin-bottom: 0; }
.cta { padding: 0; display: flex; flex-direction: column; justify-content: center; }
.footer { margin-top: 28px; padding: 28px 0 24px; }
.footer-bottom { margin-top: 20px; padding-top: 16px; }
.risk-footer { margin-top: 24px; padding-top: 24px; }
.hiw-step { padding: 28px 36px 28px 0; }
.hiw-step:not(:first-child) { padding-left: 36px; }
.hiw-step p { font-size: 15px; }
.feat { padding: 22px 26px 24px; }
.feat-ic { margin: 14px 0 14px; }
.feat p { font-size: 14.5px; }
.feat.accent h3 { font-size: 22px; margin-top: 10px; }
.pricing-card { padding: 28px 32px; gap: 20px; }
.pricing-feats { padding-top: 18px; gap: 9px; }
.pricing-feats li { font-size: 14px; }

/* ---- Slide indicator dots ---- */
.slide-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 300;
}
.slide-dot {
  width: 6px; height: 6px;
  border: none; padding: 0; cursor: pointer;
  background: rgba(148,163,184,.35);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.slide-dot:hover { background: rgba(148,163,184,.75); }
.slide-dot.active { background: var(--cyan); transform: scale(1.5); }

/* ---- Agents slide — white text on dark background ---- */
#agents .kicker { color: var(--cyan); }
#agents .kicker::before { background: var(--cyan); }
#agents h2 { color: #fff; }
#agents h2 .grad { color: var(--cyan); }
#agents .lede { color: rgba(203,213,225,.78); }

/* ---- Center text in slides 2–4 (Features, Benefits, Pricing) ---- */
#features .section-head,
.liability .section-head,
#pricing .section-head {
  text-align: center;
  margin-inline: auto;
}
#features .section-head .lede,
.liability .section-head .lede,
#pricing .section-head .lede { margin-inline: auto; }

/* Features grid cards */
#features .feat { text-align: center; }
#features .feat-ic { margin-inline: auto; }
#features .feat p { max-width: none; }

/* Benefits (liability) items */
.liability .risk-item { text-align: center; }
.liability .risk-item p { max-width: none; }
.liability .risk-footer { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.liability .risk-footer > p { max-width: none; }

/* Pricing cards */
#pricing .pricing-top { text-align: center; }
#pricing .pricing-price { justify-content: center; }
#pricing .pricing-desc { max-width: none; }
#pricing .pricing-card > .btn { align-self: center; }

/* ============================================================
   LAP YOUR LOGS SLIDE
   ============================================================ */
.laps { background: var(--ink-900); color: #fff; overflow: hidden; }
.laps h2 { color: #fff; }
.laps .hero-bg { z-index: 0; }
.laps .wrap { position: relative; z-index: 2; }
.laps-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.laps-head { text-align: center; }
.laps-title {
  font-family: var(--font-headline); font-weight: 800; font-stretch: 118%;
  font-size: clamp(34px, 5.2vw, 64px); letter-spacing: -0.03em; line-height: 1;
  color: #fff; margin-bottom: 8px;
}
.laps-sub { font-size: 16px; color: rgba(203,213,225,.55); line-height: 1.5; }
.laps-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---- Laps mini-dashboard (heatmap + scrollable logs) ---- */
.laps-dash { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: 14px; }

.mini-heat, .mini-logs { border: 1px solid var(--line-dk-2); background: rgba(8,11,18,.55); }

.mini-heat-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; border-bottom: 1px solid var(--line-dk);
  background: rgba(20,126,234,.05);
}
.mini-heat-title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate-300);
}
.mini-heat-legend {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 10px; color: var(--slate-500);
}
.mini-heat-legend i { width: 9px; height: 9px; display: inline-block; }
.hl0 { background: #0e1b2e; } .hl1 { background: #123e74; } .hl2 { background: #1763c0; }
.hl3 { background: #2b86e8; } .hl4 { background: #5aa9f6; }

.mini-heat-scroll { overflow-x: auto; padding: 12px 14px 14px; }
.mini-heat-months {
  display: grid; grid-auto-flow: column; grid-auto-columns: 13px;
  height: 13px; margin-bottom: 3px; min-width: 690px;
}
.mini-heat-months span {
  font-family: var(--font-mono); font-size: 9.5px; color: var(--slate-500); white-space: nowrap;
}
.mini-heat-grid {
  display: grid; grid-auto-flow: column;
  grid-template-rows: repeat(7, 11px); grid-auto-columns: 11px; gap: 2px; min-width: 690px;
}
.mini-heat-grid i { width: 11px; height: 11px; display: block; transition: filter .18s var(--ease); }
.mini-heat-grid i:hover { filter: brightness(1.7); }

.mini-logs { overflow: hidden; }
.mini-logs-head, .mlog-row {
  display: grid;
  grid-template-columns: 92px minmax(220px, 1.6fr) 92px 84px 78px 80px 74px;
  gap: 10px; align-items: center; padding: 8px 16px; min-width: 720px;
}
.mini-logs-head {
  border-bottom: 1px solid var(--line-dk-2); background: rgba(20,126,234,.05);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500);
}
.mini-logs-head .ml-num { text-align: right; }
.mini-logs-rows { max-height: min(290px, 31vh); overflow: auto; }
.mlog-row { border-bottom: 1px solid var(--line-dk); font-family: var(--font-mono); font-size: 11.5px; }
.mlog-row:last-child { border-bottom: none; }
.mlog-row:hover { background: rgba(20,126,234,.05); }
.mlog-row .ml-time { color: var(--slate-500); white-space: nowrap; }
.mlog-row .ml-model { color: #fff; display: flex; align-items: center; gap: 8px; min-width: 0; }
.mlog-row .ml-model .mlm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlog-row .ml-user { color: var(--slate-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlog-row .ml-num { text-align: right; color: var(--slate-400); white-space: nowrap; }
.mlog-row .ml-num.cost { color: var(--slate-300); }
.ml-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 2px 7px; letter-spacing: .03em; }
.ml-ok  { background: rgba(34,197,94,.12); color: #22c55e; }
.ml-err { background: rgba(239,68,68,.12); color: #ef4444; }

.mini-logs-rows::-webkit-scrollbar, .mini-heat-scroll::-webkit-scrollbar { height: 8px; width: 8px; }
.mini-logs-rows::-webkit-scrollbar-thumb, .mini-heat-scroll::-webkit-scrollbar-thumb { background: var(--line-dk-2); }
.mini-logs-rows::-webkit-scrollbar-track, .mini-heat-scroll::-webkit-scrollbar-track { background: transparent; }

/* ---- Liability CTA pulse glow ---- */
#open-liability-quiz {
  animation: lq-pulse-glow 2.4s ease-in-out infinite;
}
@keyframes lq-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,126,234,0); }
  50%       { box-shadow: 0 0 18px 6px rgba(20,126,234,.45); }
}

/* ============================================================
   LIABILITY QUIZ MODAL
   ============================================================ */
.lq-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(8,11,18,.88);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lq-overlay.open { opacity: 1; pointer-events: all; }

.lq-modal {
  background: var(--ink-800);
  border: 1px solid var(--line-dk-2);
  width: 100%; max-width: 620px;
  position: relative;
  transform: translateY(24px);
  transition: transform .4s var(--ease);
}
.lq-overlay.open .lq-modal { transform: translateY(0); }

.lq-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; cursor: pointer;
  color: var(--slate-500); font-size: 22px; line-height: 1;
  font-family: var(--font-body);
  transition: color .2s;
}
.lq-close:hover { color: #fff; }

.lq-header {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px 0;
}
.lq-progress-track { flex: 1; height: 2px; background: var(--line-dk-2); }
.lq-progress-bar { height: 100%; background: var(--cyan); width: 0%; transition: width .4s var(--ease); }
.lq-step {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--slate-500);
  white-space: nowrap; flex-shrink: 0;
}

.lq-body { padding: 32px 32px 36px; }

.lq-q-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px; display: block;
}
.lq-question {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 2.6vw, 24px); letter-spacing: -0.02em;
  color: #fff; line-height: 1.3; margin-bottom: 28px;
}
.lq-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lq-option {
  background: none; border: 1px solid var(--line-dk-2);
  padding: 16px 18px; cursor: pointer; text-align: left;
  color: rgba(203,213,225,.82); font-family: var(--font-body);
  font-size: 15px; line-height: 1.45;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.lq-option:hover { border-color: var(--cyan); background: rgba(20,126,234,.08); color: #fff; }
.lq-option.selected { border-color: var(--cyan); background: rgba(20,126,234,.15); color: #fff; }

/* Result pane */
.lq-result { text-align: center; }
.lq-score-wrap { margin-bottom: 20px; }
.lq-score {
  font-family: var(--font-headline); font-weight: 800;
  font-size: 72px; letter-spacing: -0.04em; line-height: 1;
  color: var(--cyan);
}
.lq-score-max { font-family: var(--font-mono); font-size: 14px; color: var(--slate-500); }
.lq-risk-badge {
  display: inline-block; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; padding: 5px 14px; border: 1px solid;
  margin-bottom: 22px;
}
.lq-risk-badge.low    { color: #22c55e; border-color: #22c55e; background: rgba(34,197,94,.08); }
.lq-risk-badge.medium { color: #f59e0b; border-color: #f59e0b; background: rgba(245,158,11,.08); }
.lq-risk-badge.high   { color: #ef4444; border-color: #ef4444; background: rgba(239,68,68,.08); }
.lq-result-copy {
  color: rgba(203,213,225,.8); font-size: 16px; line-height: 1.65;
  margin-bottom: 32px; max-width: 420px; margin-inline: auto;
}
.lq-result-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lq-restart {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate-500); transition: color .2s;
}
.lq-restart:hover { color: var(--slate-300); }

@media (max-width: 520px) {
  .lq-options { grid-template-columns: 1fr; }
  .lq-body { padding: 24px 20px 28px; }
}

/* ============================================================
   3D LAYER — models & dynamics
   Flat-shaded CSS 3D: usage skyline, tilted track, wire cubes,
   card tilt, slide depth. No libraries.
   ============================================================ */

/* ---- Floating wireframe cubes (Agents slide) ---- */
.cubes3d {
  position: absolute; inset: 0;
  perspective: 1400px;
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.cube3d { position: absolute; transform-style: preserve-3d; animation: cubeTurn linear infinite; }
.cube3d .cf {
  position: absolute; inset: 0;
  background: rgba(20,126,234,.045);
  border: 1px solid rgba(20,126,234,.38);
}
.cube3d.c1 { --s: 120px; width: 120px; height: 120px; right: 9%;  top: 14%;    animation-duration: 36s; }
.cube3d.c2 { --s: 62px;  width: 62px;  height: 62px;  left: 6%;   bottom: 20%; animation-duration: 26s; animation-direction: reverse; }
.cube3d.c3 { --s: 88px;  width: 88px;  height: 88px;  right: 24%; bottom: 6%;  animation-duration: 46s; }
.cf1 { transform: translateZ(calc(var(--s) / 2)); }
.cf2 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cf3 { transform: rotateY(90deg)  translateZ(calc(var(--s) / 2)); }
.cf4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cf5 { transform: rotateX(90deg)  translateZ(calc(var(--s) / 2)); }
.cf6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
@keyframes cubeTurn {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(720deg); }
}

/* ---- Pointer-tracking card tilt ---- */
.tilt3d { transition: transform .25s var(--ease); will-change: transform; }

/* ---- Slide depth: inactive slides recede ---- */
body.fx3d .slide { transition: opacity .65s var(--ease), transform .78s cubic-bezier(.22, 1, .36, 1); }
body.fx3d .slide:not(.is-active) { opacity: .45; transform: scale(.965); }

@media (max-width: 980px) {
  .cubes3d { display: none; }
}
