/* =====================================================================
   Orcana.AI website 3.0 design system.
   One stylesheet for every 3.0 page. No Bootstrap dependency.
   Dark sections carry the vision; light sections carry the proof.
   ===================================================================== */

:root {
  --ink: #050817;
  --ink-2: #0a0f2a;
  --navy: #091661;
  --navy-2: #12227f;
  /* Brand palette: logo navy #091661, ".AI" periwinkle #b9c8ff, electric brand blue #5b7cff.
     The --green* names are kept so every rule still resolves; they now hold the brand blues. */
  --green: #8ea6ff;
  --green-2: #4a63d9;
  --green-3: #2a3c8a;
  --mint: #eef1ff;
  --blue: #5b7cff;
  --peri: #b9c8ff;
  --live: #4fd8ff;
  --amber: #ffb547;
  --coral: #ff6b6b;
  --sky: #6ea8ff;

  --t-hi: #f3f5ff;
  --t-md: #b6bfe3;
  --t-lo: #7d88b5;
  --line-d: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);

  --paper: #f5f7fc;
  --white: #ffffff;
  --ink-t: #0b1230;
  --body-t: #46506f;
  --mute-t: #7a839f;
  --line-l: #e3e7f1;

  --r: 18px;
  --r-sm: 12px;
  --max: 1200px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-t);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink-t); }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Section skins ---------- */
.s { position: relative; padding: 120px 0; overflow: hidden; }
.s-dark { background: var(--ink); color: var(--t-md); }
.s-dark h1, .s-dark h2, .s-dark h3, .s-dark h4 { color: var(--t-hi); }
.s-navy { background: radial-gradient(120% 90% at 50% 0%, #102084 0%, #091661 45%, #050817 100%); color: var(--t-md); }
.s-navy h2, .s-navy h3 { color: var(--t-hi); }
.s-paper { background: var(--paper); }
.s-white { background: var(--white); }
.s-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.55;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-2); margin-bottom: 18px; display: block;
}
.s-dark .eyebrow, .s-navy .eyebrow, .hero .eyebrow { color: var(--green); }
.h1 { font-size: clamp(42px, 6.2vw, 86px); letter-spacing: -0.045em; line-height: 0.98; }
.h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.04em; line-height: 1.02; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.15; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; max-width: 640px; }
.s-dark .lede, .s-navy .lede, .hero .lede { color: var(--t-md); }
.head { max-width: 820px; margin-bottom: 64px; }
.head .lede { margin-top: 22px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lede { margin-left: auto; margin-right: auto; }
.grad { background: linear-gradient(92deg, #ffffff 0%, #bdf3ff 30%, #4fd8ff 60%, #5b7cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }
.note { font-size: 13px; color: var(--mute-t); }
.s-dark .note, .s-navy .note { color: var(--t-lo); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 160ms var(--ease), background 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 34px -10px rgba(91, 124, 255, 0.75); }
.btn-primary:hover { background: #7590ff; box-shadow: 0 14px 40px -10px rgba(91, 124, 255, 0.9); }
.btn-ghost { color: var(--t-hi); border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.07); }
.btn-dark { background: var(--ink-t); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-line { color: var(--ink-t); border-color: #c9cfdf; background: #fff; }
.btn-line:hover { border-color: var(--ink-t); }
.btn .arr { transition: transform 200ms var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--green-2); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.s-dark .link, .s-navy .link { color: var(--green); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1030; transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.open { background: rgba(5, 8, 23, 0.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line-d); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 26px; width: auto; }
.nav-menu { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--t-md); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color 160ms ease, background 160ms ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--t-hi); background: rgba(255, 255, 255, 0.06); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: transform 200ms var(--ease), opacity 200ms ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ev-banner { background: var(--peri); color: #091661; font-size: 14px; font-weight: 500; text-align: center; padding: 8px 48px; position: relative; }
.ev-banner a { color: inherit; font-weight: 700; }
.ev-banner button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; width: 32px; height: 32px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(5, 8, 23, 0.97); padding: 24px; display: none; overflow-y: auto; flex-direction: column; align-items: stretch; }
  .ev-banner + .wrap .nav-menu { top: 108px; }
  .nav.open .nav-menu { display: flex; height: calc(100vh - 72px); height: calc(100dvh - 72px); }
  .ev-banner + .wrap .nav-menu { height: calc(100vh - 108px); height: calc(100dvh - 108px); }
  /* The blur on the nav makes it the containing block for the fixed menu, so turn it off while open */
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 8, 23, 0.97); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { font-size: 20px; padding: 14px 12px; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: var(--t-md); overflow: hidden; padding: 150px 0 80px; text-align: center; }
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Darken the centre so the message reads, and let the agent network show around it */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 52% at 50% 50%, rgba(5, 8, 23, 0.94) 0%, rgba(5, 8, 23, 0.82) 48%, rgba(5, 8, 23, 0) 100%), linear-gradient(180deg, rgba(5, 8, 23, 0) 80%, var(--ink)); }
.hero .wrap { position: relative; z-index: 2; }
.hero-in { max-width: 980px; margin: 0 auto; }
.hero .eyebrow { font-size: 13.5px; letter-spacing: 0.16em; text-wrap: balance; }
.hero h1, .hero .lede { text-wrap: balance; }
.hero h1 { color: var(--t-hi); margin-top: 22px; font-size: clamp(40px, 5.6vw, 80px); }
.hero h1 .l2 { display: block; }
.hero h1 .arw { display: inline-block; color: var(--green); margin-right: 0.22em; animation: arw 2.4s var(--ease) infinite; }
@keyframes arw { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(0.12em); } }
.hero .lede { margin: 28px auto 0; max-width: 760px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .hero-ctas { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .hero h1 .arw { animation: none; } }
@media (max-width: 980px) {
  .hero { padding: 130px 0 64px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 0.1em; }
  .hero::after { background: radial-gradient(70% 50% at 50% 48%, rgba(5, 8, 23, 0.92) 0%, rgba(5, 8, 23, 0.7) 60%, rgba(5, 8, 23, 0.2) 100%), linear-gradient(180deg, rgba(5, 8, 23, 0) 80%, var(--ink)); }
}

/* ---------- Trusted strip ---------- */
.strip { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: 26px 0; background: var(--ink); }
.strip-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.strip p { font-size: 14px; color: var(--t-lo); }
.strip ul { display: flex; gap: 36px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.strip li { font-size: 14px; color: var(--t-md); display: flex; align-items: center; gap: 10px; }
.strip li svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Film ---------- */
.film { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #000; box-shadow: 0 60px 160px -60px rgba(91, 124, 255, 0.35); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(5, 8, 23, 0.1), rgba(5, 8, 23, 0.55)); border: 0; cursor: pointer; color: #fff; transition: background 250ms ease; }
.film .play span { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px 14px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: 16px; transition: transform 200ms var(--ease), background 200ms ease; }
.film .play i { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.film .play:hover span { transform: scale(1.03); background: rgba(255, 255, 255, 0.18); }
.film.playing .play { display: none; }
.film-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--t-md); }
.beats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line-d); }
.beat { padding: 26px 24px 0 0; }
.beat .n { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: 0.1em; }
.beat h3 { font-size: 19px; margin: 10px 0 8px; letter-spacing: -0.02em; }
.beat p { font-size: 15px; color: var(--t-lo); }
@media (max-width: 900px) { .beats { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
@media (max-width: 560px) { .beats { grid-template-columns: 1fr; } }

/* ---------- How it's built (stack) ---------- */
.build { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.stack { display: grid; gap: 10px; }
.layer { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line-d); transition: border-color 300ms ease, background 300ms ease, transform 300ms var(--ease); }
.layer:hover { border-color: rgba(91, 124, 255, 0.35); background: rgba(91, 124, 255, 0.04); }
.layer .k { font-family: var(--mono); font-size: 12px; color: var(--t-lo); }
.layer h3 { font-size: 18px; letter-spacing: -0.02em; }
.layer p { font-size: 14.5px; color: var(--t-lo); margin-top: 3px; }
.layer .tag { font-family: var(--mono); font-size: 11.5px; color: var(--t-lo); text-align: right; }
.layer.hot { border-color: rgba(91, 124, 255, 0.4); background: linear-gradient(90deg, rgba(91, 124, 255, 0.09), rgba(91, 124, 255, 0.02)); }
.layer.hot .k { color: var(--green); }
.det { margin-top: 28px; padding: 22px 24px; border-radius: 16px; border: 1px dashed rgba(91, 124, 255, 0.35); }
.det h3 { font-size: 17px; color: var(--t-hi); margin-bottom: 8px; }
.det p { font-size: 15px; color: var(--t-md); }
.det-runs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.det-runs div { font-family: var(--mono); font-size: 12.5px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: var(--t-md); }
.det-runs b { color: var(--green); font-weight: 500; }
@media (max-width: 980px) { .build { grid-template-columns: 1fr; gap: 48px; } .layer { grid-template-columns: 36px 1fr; } .layer .tag { display: none; } }

/* ---------- Proof: numbers, ROI, quotes ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.num { padding: 36px 28px 34px 0; }
.num + .num { padding-left: 28px; border-left: 1px solid var(--line-l); }
.num b { display: block; font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.05em; color: var(--ink-t); line-height: 1; }
.num span { display: block; margin-top: 12px; font-size: 15px; color: var(--body-t); line-height: 1.45; }
@media (max-width: 900px) { .nums { grid-template-columns: 1fr 1fr; } .num:nth-child(3) { padding-left: 0; border-left: 0; } .num:nth-child(n+3) { border-top: 1px solid var(--line-l); } }
@media (max-width: 520px) { .num { padding: 24px 14px 22px 0; } .num:nth-child(even) { padding-left: 14px; } .num b { font-size: 36px; } .num span { font-size: 13.5px; } }

.users { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 72px; font-size: 15px; color: var(--body-t); align-items: center; }
.users b { color: var(--ink-t); font-weight: 600; margin-right: 6px; }
.users span { display: inline-flex; align-items: center; gap: 8px; }
.users span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-2); }

.roi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roi-card { padding: 26px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); display: flex; flex-direction: column; }
.roi-card .who { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-t); }
.roi-card .big { font-size: 38px; font-weight: 600; letter-spacing: -0.045em; color: var(--ink-t); margin: 18px 0 8px; line-height: 1.02; }
.roi-card .big small { font-size: 0.5em; letter-spacing: -0.02em; color: var(--body-t); font-weight: 500; }
.roi-card p { font-size: 14.5px; color: var(--body-t); }
.roi-card .how { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--mute-t); border-top: 1px solid var(--line-l); margin-top: 18px; }
.roi-card.dark { background: var(--ink-t); border-color: var(--ink-t); }
.roi-card.dark .big { color: var(--green); }
.roi-card.dark p { color: #c4cae0; }
.roi-card.dark .who, .roi-card.dark .how { color: #8a93b4; border-color: rgba(255, 255, 255, 0.12); }
@media (max-width: 1000px) { .roi { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roi { grid-template-columns: 1fr; } }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.qt { margin: 0; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 22px; }
.qt blockquote { margin: 0; font-size: 17.5px; line-height: 1.5; color: var(--ink-t); letter-spacing: -0.01em; }
.qt .by { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--mute-t); line-height: 1.35; }
.qt .by i { width: 36px; height: 36px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #0b1230, #12227f); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 12.5px; }
.qt .by b { display: block; color: var(--ink-t); font-weight: 600; }
.qt.wide { grid-column: span 2; background: var(--ink-t); border-color: var(--ink-t); }
.qt.wide blockquote { color: #fff; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; }
.qt.wide .by { color: #8a93b4; }
.qt.wide .by b { color: #fff; }
.qt.wide .by i { background: var(--peri); color: #091661; }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr 1fr; } .qt.wide { grid-column: span 2; } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } .qt.wide { grid-column: auto; } }

/* ---------- Agents gallery ---------- */
.wfgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wfc { padding: 22px 22px 24px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line-d); transition: border-color 300ms ease, background 300ms ease; }
.wfc:hover { border-color: rgba(91, 124, 255, 0.35); background: rgba(91, 124, 255, 0.03); }
.wfc .live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.wfc .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.wfc h3 { margin-top: 14px; font-size: 19px; letter-spacing: -0.02em; color: var(--t-hi); line-height: 1.25; }
@media (max-width: 1000px) { .wfgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .wfgrid { grid-template-columns: 1fr 1fr; } .wfc { padding: 18px; } .wfc h3 { font-size: 17px; } }

/* ---------- Architecture ---------- */
.arch { position: relative; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 22px; align-items: stretch; }
.arch-col h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-t); font-weight: 500; margin-bottom: 14px; }
.chips { display: grid; gap: 8px; }
.chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line-l); font-size: 14.5px; color: var(--ink-t); font-weight: 500; }
.chip span { font-size: 12px; color: var(--mute-t); font-weight: 400; }
.vpc { position: relative; border-radius: 22px; padding: 22px; background: var(--ink-t); color: #c4cae0; box-shadow: 0 40px 100px -40px rgba(9, 22, 97, 0.6); }
.vpc::before { content: ""; position: absolute; inset: -10px; border: 1.5px dashed #b9c2da; border-radius: 30px; pointer-events: none; }
.vpc .vpc-lbl { position: absolute; top: -22px; left: 22px; background: var(--paper); padding: 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-t); }
.vpc .brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.vpc .brand img { height: 20px; width: auto; }
.vpc .brand span { font-family: var(--mono); font-size: 11.5px; color: var(--green); }
.vpc .blk { padding: 13px 15px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 8px; }
.vpc .blk b { color: #fff; font-weight: 600; font-size: 14.5px; display: block; }
.vpc .blk small { font-size: 12.5px; color: #8f99be; }
.vpc .blk.g { border-color: rgba(91, 124, 255, 0.35); background: rgba(91, 124, 255, 0.07); }
.vpc .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vpc .models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vpc .models span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #c4cae0; }
.flow-line { height: 2px; margin: 0; }
.arch-in { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.arch-in .chip { background: transparent; border-style: dashed; }
@media (max-width: 1000px) { .arch { grid-template-columns: 1fr; } .arch-in { grid-template-columns: 1fr 1fr; } }

/* ---------- Who wins ---------- */
.wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.win { padding: 30px; border-radius: var(--r); border: 1px solid var(--line-d); background: var(--glass); }
.win .who { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.win h3 { font-size: 24px; margin: 18px 0 12px; }
.win p { font-size: 15.5px; color: var(--t-lo); }
.win ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.win li { font-size: 14.5px; color: var(--t-md); padding-left: 22px; position: relative; }
.win li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 1.5px; background: var(--green); }
@media (max-width: 900px) { .wins { grid-template-columns: 1fr; } }

/* ---------- Today / tomorrow ---------- */
.tt { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tt-col { padding: 30px; border-radius: var(--r); border: 1px solid var(--line-l); background: #fff; }
.tt-col.now { background: var(--ink-t); border-color: var(--ink-t); color: #c4cae0; }
.tt-col h3 { font-size: 22px; margin: 14px 0 16px; }
.tt-col.now h3 { color: #fff; }
.tt-col ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: s; }
.tt-col li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; }
.tt-col li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--mute-t); padding-top: 3px; }
.tt-col.now li::before { color: var(--green); }
@media (max-width: 800px) { .tt { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .h2 { max-width: 900px; margin: 0 auto; }
.cta .lede { margin: 24px auto 0; }
.cta .hero-ctas { justify-content: center; }
.cta-terms { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; margin-top: 40px; font-size: 14.5px; color: var(--t-lo); }
.cta-terms span { display: inline-flex; gap: 8px; align-items: center; }
.cta-terms svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--t-lo); padding: 72px 0 32px; border-top: 1px solid var(--line-d); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot img { height: 24px; width: auto; margin-bottom: 18px; }
.foot p { max-width: 340px; }
.foot h4 { font-size: 12px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-md); font-weight: 500; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { color: var(--t-lo); text-decoration: none; }
.foot a:hover { color: var(--t-hi); }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 13px; }
.policy-links { display: flex; gap: 10px; flex-wrap: wrap; }
.policy-links span { color: #3b4570; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Inner-page hero ---------- */
.ph { position: relative; padding: 170px 0 96px; background: var(--ink); overflow: hidden; }
.ph::after { content: ""; position: absolute; left: 50%; top: -20%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(18, 34, 127, 0.75), rgba(5, 8, 23, 0)); pointer-events: none; }
.ph .wrap { position: relative; z-index: 2; }
.ph h1 { color: var(--t-hi); max-width: 980px; }
.ph .lede { margin-top: 26px; color: var(--t-md); max-width: 700px; }

/* ---------- Generic blocks for inner pages ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 15px; }
.card .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-2); display: block; margin-bottom: 14px; }
.s-dark .card, .s-navy .card { background: var(--glass); border-color: var(--line-d); }
.s-dark .card p, .s-navy .card p { color: var(--t-lo); }
.s-dark .card .k, .s-navy .card .k { color: var(--green); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--green-2); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 10px; width: 6px; height: 3px; border-left: 1.5px solid var(--green-2); border-bottom: 1.5px solid var(--green-2); transform: rotate(-45deg); }
.s-dark .ticks li { color: var(--t-md); }
.s-dark .ticks li::before { background: rgba(91, 124, 255, 0.1); box-shadow: inset 0 0 0 1.5px var(--green); }
.s-dark .ticks li::after { border-color: var(--green); }
@media (max-width: 900px) { .cols-2 { grid-template-columns: 1fr; gap: 40px; } .cols-3 { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 800ms ease, transform 900ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 80ms; } .rv.d2 { transition-delay: 160ms; } .rv.d3 { transition-delay: 240ms; } .rv.d4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .layer, .wfc { transition: none; }
}

/* ---------- Consent banner (markup from js/consent.js) ---------- */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1035; display: none; background: rgba(10, 15, 42, 0.96); color: #fff; border: 1px solid var(--line-d); border-radius: 16px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6); backdrop-filter: blur(12px); max-width: 980px; margin: 0 auto; }
.consent-banner.is-open { display: block; }
.consent-banner:focus { outline: none; }
.consent-inner { padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.consent-text { margin: 0; flex: 1 1 22rem; font-size: 14.5px; line-height: 1.5; color: var(--t-md); }
.consent-text a { color: var(--t-hi); }
.consent-actions { display: flex; gap: 10px; }
.consent-btn { font: inherit; font-size: 14.5px; min-width: 7.5rem; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); cursor: pointer; background: transparent; color: #fff; font-weight: 600; }
.consent-btn--accept { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =====================================================================
   Inner pages: Platform and Model
   ===================================================================== */

/* Agent loop */
.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; }
.loop-step { position: relative; padding: 22px 20px 24px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line-d); transition: border-color 300ms ease, background 300ms ease; cursor: default; }
.loop-step:hover, .loop-step.on { border-color: rgba(91, 124, 255, 0.45); background: rgba(91, 124, 255, 0.05); }
.loop-step .n { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: 0.1em; }
.loop-step h3 { font-size: 21px; margin: 12px 0 8px; }
.loop-step p { font-size: 14.5px; color: var(--t-lo); }
.loop-step .eg { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--t-md); font-family: var(--mono); line-height: 1.5; }
.loop-step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 26px; color: var(--t-lo); font-size: 14px; z-index: 2; }
.loop-back { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 12.5px; color: var(--t-lo); letter-spacing: 0.06em; }
.loop-back b { color: var(--green); font-weight: 500; }
@media (max-width: 1000px) { .loop { grid-template-columns: 1fr 1fr; } .loop-step::after { display: none; } }
@media (max-width: 560px) { .loop { grid-template-columns: 1fr; } }

/* Building blocks */
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.blocks .card { display: flex; flex-direction: column; }
.blocks .card .eg { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--mute-t); }
@media (max-width: 1000px) { .blocks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blocks { grid-template-columns: 1fr; } }

/* Video library */
.vtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.vtab { border: 1px solid var(--line-l); background: #fff; color: var(--ink-t); padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all 180ms ease; }
.vtab:hover { border-color: #b9c2da; }
.vtab[aria-selected="true"] { background: var(--ink-t); color: #fff; border-color: var(--ink-t); }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard { border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); overflow: hidden; display: flex; flex-direction: column; }
.vcard[hidden] { display: none; }
.vcard .vbox { position: relative; background: #0b1230; aspect-ratio: 16 / 10; }
.vcard .vbox.portrait { aspect-ratio: 16 / 10; }
.vcard .vbox { overflow: hidden; }
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b1230; }
.vcard .vb { padding: 18px 20px 22px; }
.vcard .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-2); }
.vcard h3 { font-size: 17.5px; margin: 8px 0 6px; letter-spacing: -0.015em; line-height: 1.3; }
.vcard p { font-size: 14px; color: var(--body-t); }
.vcard .len { font-family: var(--mono); font-size: 12px; color: var(--mute-t); margin-top: 10px; display: block; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vgrid { grid-template-columns: 1fr; } }

/* Determinism */
.dt { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dt-col { padding: 26px; border-radius: var(--r); border: 1px solid var(--line-d); background: var(--glass); }
.dt-col.us { border-color: rgba(91, 124, 255, 0.4); background: linear-gradient(180deg, rgba(91, 124, 255, 0.07), rgba(91, 124, 255, 0.01)); }
.dt-col h3 { font-size: 19px; margin-bottom: 4px; }
.dt-col .sub { font-size: 14px; color: var(--t-lo); }
.pipe { display: grid; gap: 8px; margin: 22px 0; }
.pipe div { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); font-size: 14.5px; color: var(--t-md); }
.pipe div span { font-family: var(--mono); font-size: 12px; }
.pipe .ai span { color: var(--amber); }
.pipe .code span { color: var(--green); }
.pipe .code { background: rgba(91, 124, 255, 0.07); }
.acc { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line-d); }
.acc b { font-size: 44px; font-weight: 600; letter-spacing: -0.05em; color: var(--t-hi); line-height: 1; }
.dt-col.us .acc b { color: var(--green); }
.acc span { font-family: var(--mono); font-size: 12.5px; color: var(--t-lo); }
@media (max-width: 860px) { .dt { grid-template-columns: 1fr; } }

/* Workflow catalogue */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-col { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); }
.cat-col h3 { font-size: 13px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-2); font-weight: 500; margin-bottom: 14px; }
.cat-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.cat-col li { font-size: 15px; color: var(--ink-t); display: flex; justify-content: space-between; gap: 10px; }
.cat-col li span { font-family: var(--mono); font-size: 11px; color: var(--mute-t); white-space: nowrap; padding-top: 3px; }
.cat-col li.next { color: var(--mute-t); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* Model family */
.fam { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mcard { position: relative; padding: 30px 28px; border-radius: 22px; border: 1px solid var(--line-d); background: var(--glass); overflow: hidden; display: flex; flex-direction: column; }
.mcard::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 124, 255, 0.18), transparent); }
.mcard .size { font-size: 64px; font-weight: 600; letter-spacing: -0.06em; color: var(--t-hi); line-height: 1; }
.mcard .size small { font-size: 22px; letter-spacing: -0.02em; color: var(--t-lo); margin-left: 4px; }
.mcard .nm { font-family: var(--mono); font-size: 12.5px; color: var(--green); letter-spacing: 0.08em; margin-top: 14px; }
.mcard h3 { font-size: 22px; margin: 10px 0 10px; }
.mcard p { font-size: 15px; color: var(--t-lo); }
.mcard dl { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-d); display: grid; gap: 8px; }
.mcard dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.mcard dt { color: var(--t-lo); }
.mcard dd { margin: 0; color: var(--t-hi); font-family: var(--mono); font-size: 12.5px; text-align: right; }
.mcard .status { margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--amber); }
.mcard .status.live { color: var(--green); }
@media (max-width: 960px) { .fam { grid-template-columns: 1fr; } }

/* Data library */
.lib { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; }
.lib > div { background: #fff; padding: 26px 24px; }
.lib b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.045em; color: var(--ink-t); line-height: 1; }
.lib h3 { font-size: 15.5px; margin: 14px 0 6px; letter-spacing: -0.01em; }
.lib p { font-size: 13.5px; color: var(--mute-t); }
.lib .src { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-2); display: block; margin-bottom: 14px; }
.lib .src.p { color: var(--navy-2); }
.lib .src.o { color: #0a8fb8; }
@media (max-width: 1000px) { .lib { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lib > div { padding: 18px 16px; } .lib b { font-size: 30px; } .lib h3 { font-size: 14px; } }

/* Benchmark bars */
.bench { display: grid; gap: 14px; }
.brow { display: grid; grid-template-columns: 260px 1fr 64px; gap: 16px; align-items: center; }
.brow .nm { font-size: 15px; color: var(--t-md); }
.brow .nm b { color: var(--t-hi); font-weight: 600; display: block; }
.brow .track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.brow .fill { height: 100%; border-radius: 999px; background: #6f7ab0; width: 0; transition: width 1400ms var(--ease); }
.brow.us .fill { background: linear-gradient(90deg, var(--green-2), var(--green)); }
.brow .v { font-family: var(--mono); font-size: 15px; color: var(--t-hi); text-align: right; }
.brow.us .v { color: var(--green); }
.bench.in .fill { width: var(--w); }
@media (max-width: 700px) { .brow { grid-template-columns: 1fr 56px; } .brow .nm { grid-column: 1 / -1; } }

/* Capability list */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cap { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); }
.cap .k { font-family: var(--mono); font-size: 12px; color: var(--green-2); letter-spacing: 0.1em; }
.cap h3 { font-size: 20px; margin: 12px 0 8px; }
.cap p { font-size: 14.5px; }
.cap .ba { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; }
.cap .ba div { padding: 9px 11px; border-radius: 9px; background: #f6f8fc; color: var(--body-t); }
.cap .ba div b { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; display: block; color: var(--mute-t); font-weight: 500; margin-bottom: 2px; }
.cap .ba div.after { background: var(--mint); color: var(--green-3); }
.cap .ba div.after b { color: var(--green-2); }
@media (max-width: 1000px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .caps { grid-template-columns: 1fr; } }

/* Private model flow */
.pflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.pflow .card { display: flex; flex-direction: column; justify-content: center; }
.pflow .ar { display: grid; place-items: center; color: var(--green); font-size: 22px; }
.pflow .card.g { background: var(--ink-t); border-color: var(--ink-t); }
.pflow .card.g h3 { color: #fff; }
.pflow .card.g p { color: #c4cae0; }
.pflow .card.g .k { color: var(--green); }
@media (max-width: 900px) { .pflow { grid-template-columns: 1fr; } .pflow .ar { transform: rotate(90deg); } }

/* Layers */
.lyr { display: grid; gap: 8px; }
.lyr div { display: grid; grid-template-columns: 64px 1fr 1.4fr; gap: 18px; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line-d); }
.lyr div b { font-family: var(--mono); font-size: 12.5px; color: var(--green); font-weight: 500; }
.lyr div h3 { font-size: 16.5px; }
.lyr div p { font-size: 14px; color: var(--t-lo); }
.lyr div.v { border-style: dashed; border-color: rgba(91, 124, 255, 0.4); }
@media (max-width: 760px) { .lyr div { grid-template-columns: 48px 1fr; } .lyr div p { grid-column: 2; } }

/* Services */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

/* Status line in inner heroes */
.ph-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; font-size: 14px; color: var(--t-lo); }
.ph-meta span { display: inline-flex; gap: 8px; align-items: center; }
.ph-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ph-meta i.a { background: var(--amber); }

/* Team, events, articles, security grid */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #e9edf6; filter: grayscale(0.15); }
.person .pb { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.person h3 { font-size: 19px; }
.person .role { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-2); margin: 6px 0 12px; }
.person p { font-size: 14.5px; }
.person .edu { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--mute-t); }
.person a.li { margin-top: 10px; font-size: 13.5px; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

.events { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 140px 1fr auto; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line-d); }
.event .date { font-size: 15px; color: var(--t-lo); line-height: 1.2; }
.event .date b { display: block; font-size: 40px; color: var(--t-hi); letter-spacing: -0.04em; font-weight: 600; }
.event h3 { font-size: 22px; }
.event p { font-size: 15px; color: var(--t-lo); margin-top: 6px; }
.event .who { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 13.5px; color: var(--t-md); }
.event .who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
@media (max-width: 800px) { .event { grid-template-columns: 1fr; gap: 14px; } }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); text-decoration: none; display: flex; flex-direction: column; transition: border-color 200ms ease, transform 200ms var(--ease); }
.post:hover { border-color: #b9c2da; transform: translateY(-2px); }
.post .meta { font-family: var(--mono); font-size: 11.5px; color: var(--mute-t); letter-spacing: 0.04em; }
.post h3 { font-size: 19px; margin: 14px 0 10px; line-height: 1.25; }
.post p { font-size: 14.5px; }
.post .go { margin-top: auto; padding-top: 18px; color: var(--green-2); font-weight: 600; font-size: 14.5px; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

.secgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.secgrid .card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.secgrid .card li { font-size: 15px; padding-left: 22px; position: relative; }
.secgrid .card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 1.5px; background: var(--green-2); }
.certs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.certs span { padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line-d); color: var(--t-hi); font-weight: 600; font-size: 15px; background: var(--glass); }
@media (max-width: 1000px) { .secgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .secgrid { grid-template-columns: 1fr; } }
.mcard .size small { margin-left: 8px; }

/* Small-screen fixes */
@media (max-width: 560px) {
  .s { padding: 88px 0; }
  .head { margin-bottom: 44px; }
}

/* Legal pages (privacy, terms, data privacy): long-form prose */
.legal-s { padding: 88px 0 120px; }
.legal { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--body-t); overflow-wrap: anywhere; }
.legal p { margin: 0 0 18px; }
.legal h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.025em; line-height: 1.2; margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--line-l); }
.legal h5 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink-t); margin: 30px 0 10px; }
.legal ul, .legal ol { margin: 0 0 20px; padding-left: 22px; }
.legal li { margin: 6px 0; padding-left: 4px; }
.legal li::marker { color: var(--green-2); }
.legal strong { color: var(--ink-t); font-weight: 600; }
.legal a { color: var(--green-3); text-decoration: underline; text-underline-offset: 3px; }
.legal img { display: block; max-width: 100%; height: auto; margin: 12px 0 0; border: 1px solid var(--line-l); border-radius: var(--r-sm); }
@media (max-width: 560px) { .legal-s { padding: 56px 0 88px; } .legal { font-size: 15.5px; } .legal h3 { margin-top: 40px; } }
.nf { min-height: 78vh; display: flex; align-items: center; }

/* ---------- Why now (home) ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-l); }
.ws { padding: 28px 28px 4px 0; }
.ws + .ws { padding-left: 28px; border-left: 1px solid var(--line-l); }
.ws b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 600; letter-spacing: -0.04em; color: var(--ink-t); line-height: 1; }
.ws span { display: block; margin-top: 12px; color: var(--body-t); font-size: 15.5px; max-width: 300px; }
.ws a { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute-t); text-decoration: none; border-bottom: 1px solid var(--line-l); }
.ws a:hover { color: var(--ink-t); }
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 56px; counter-reset: ch; }
.ch { position: relative; padding: 18px 18px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-l); }
.ch:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid #b9c1d6; border-right: 1.5px solid #b9c1d6; transform: translateY(-50%) rotate(45deg); }
.ch .k { font-family: var(--mono); font-size: 11px; color: var(--mute-t); letter-spacing: 0.08em; }
.ch b { display: block; margin-top: 10px; font-size: 16.5px; color: var(--ink-t); letter-spacing: -0.01em; line-height: 1.25; }
.ch small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--body-t); line-height: 1.4; }
.ch.hot { background: var(--ink-t); border-color: var(--ink-t); }
.ch.hot .k { color: var(--green); } .ch.hot b { color: #fff; } .ch.hot small { color: #c4cae0; }
.tries { display: grid; gap: 12px; margin-top: 28px; max-width: 900px; }
.tries > div { display: grid; grid-template-columns: 200px 1fr 130px; gap: 18px; align-items: center; font-size: 14px; color: var(--body-t); }
.tries b { color: var(--ink-t); font-weight: 600; text-align: right; font-size: 14.5px; }
.tries .dots { height: 12px; border-radius: 6px; background-color: #f0f2f8; background-repeat: repeat-x; background-position: 0 50%; }
.tries .dots.q { background-image: radial-gradient(circle, #b9c1d6 4px, transparent 4.5px); background-size: 25% 100%; }
.tries .dots.w { background-image: radial-gradient(circle, var(--green-2) 4px, transparent 4.5px); background-size: calc(100% / 26) 100%; }
@media (max-width: 980px) {
  .why { grid-template-columns: 1fr; gap: 20px; }
  .chain { grid-template-columns: 1fr; gap: 8px; }
  .ch:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -8px; transform: rotate(135deg); }
}
@media (max-width: 720px) {
  .why-stats { grid-template-columns: 1fr; }
  .ws + .ws { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-l); }
  .ws { padding: 22px 0 18px; }
  .tries > div { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tries .dots { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Customer story (home) ---------- */
.story { margin: 56px 0 18px; padding: 36px 40px; border-radius: var(--r); background: linear-gradient(135deg, #0b1230, #12227f); color: #c4cae0; position: relative; overflow: hidden; }
.story::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 124, 255, 0.22), transparent 70%); }
.story .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.story .big { margin-top: 14px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -0.02em; color: #fff; font-weight: 500; max-width: 860px; }
.story p:last-child { margin-top: 14px; font-size: 16px; max-width: 640px; }
@media (max-width: 640px) { .story { padding: 26px 22px; } }

.story p.punch { margin-top: 18px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; color: var(--green); letter-spacing: -0.01em; }

/* ---------- Workflow catalogue (platform) ---------- */
.wfx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wfx { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); padding: 28px 28px 30px; transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms var(--ease); }
.wfx:hover { border-color: #c6cde0; box-shadow: 0 24px 50px -34px rgba(11, 18, 48, 0.45); transform: translateY(-2px); }
.wfx .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wfx h3 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink-t); }
.wfx .ct { font-family: var(--mono); font-size: 12px; color: var(--mute-t); white-space: nowrap; }
.wfx .ct b { color: var(--green-2); font-weight: 500; }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips2 span, .wfx-key span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 13px; border-radius: 999px; border: 1px dashed #c9cfdf; color: var(--mute-t); }
.chips2 span.on, .wfx-key span.on { border: 1px solid rgba(74, 99, 217, 0.35); background: var(--mint); color: var(--ink-t); font-weight: 500; }
.chips2 span.on i, .wfx-key span.on i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(74, 99, 217, 0.5); animation: livepulse 2.4s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(79, 216, 255, 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(79, 216, 255, 0); } }
.wfx-key { display: flex; gap: 10px; margin-top: 22px; }
.wfx-key span { font-size: 12.5px; padding: 6px 11px; }
@media (prefers-reduced-motion: reduce) { .chips2 span.on i, .wfx-key span.on i { animation: none; } }
@media (max-width: 820px) { .wfx-grid { grid-template-columns: 1fr; } .wfx { padding: 22px; } .chips2 span { font-size: 13px; padding: 7px 11px; } }
/* Light-up: cards appear, then the workflows already built light up one by one, in random order */
.wfrun.pre .wfx { opacity: 0; transform: translateY(16px) scale(0.98); }
.wfrun .wfx { transition: opacity 600ms ease, transform 700ms var(--ease), border-color 250ms ease, box-shadow 250ms ease; }
.wfrun.pre .wfx.show { opacity: 1; transform: none; }
.wfrun.pre .chips2 span.on:not(.lit) { background: none; border: 1px dashed #c9cfdf; color: var(--mute-t); font-weight: 400; }
.wfrun.pre .chips2 span.on:not(.lit) i { background: #c9cfdf; animation: none; }
.chips2 span.on.lit { animation: litpop 600ms var(--ease); }
@keyframes litpop { 0% { transform: scale(0.94); box-shadow: 0 0 0 0 rgba(74, 99, 217, 0.55); } 60% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(74, 99, 217, 0); } 100% { transform: none; } }
@media (max-width: 820px) { .wfrun .wfx-grid { grid-template-columns: 1fr; } }
/* How it scores: bigger chart. Name sits above a full-width bar */
.bench { gap: 26px; }
.brow { grid-template-columns: 1fr 72px; gap: 10px 18px; }
.brow .nm { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
.brow .nm b { display: inline; font-size: 16px; }
.brow .track { height: 26px; border-radius: 8px; }
.brow .fill { border-radius: 8px; }
.brow .v { font-size: 22px; font-weight: 500; }

/* Hero accents */
.hero .eyebrow { color: var(--peri); }
.hero h1 .arw { color: #4fd8ff; }
/* Status stays green: live dots only */
.wfc .live { color: var(--peri); }
.wfc .live i { background: var(--live); box-shadow: 0 0 8px var(--live); }
.chips2 span.on i, .wfx-key span.on i { background: var(--live); }
/* How it scores: after the move to brand blue, Orcana's bars and the frontier bars looked alike.
   Orcana carries the cyan-into-blue highlight, frontier models go neutral grey. */
.brow .fill { background: #4a5073; }
.brow.us .fill { background: linear-gradient(90deg, #5b7cff, #4fd8ff); }
.brow.us .v { color: #4fd8ff; }
/* Page heroes and feature sections that fill the first screen, like the home hero */
.ph.full, .s.full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.ph.full { padding: 140px 0 80px; }
.ph.full > .wrap, .s.full > .wrap { width: 100%; }
/* Feature sections only drop full height on phones held sideways, where the screen is very short */
@media (max-height: 500px) { .hero, .ph.full, .s.full { min-height: 0; } }
@media (max-width: 640px) { .s.full { min-height: 0; } }
/* Customer story: the statement spans the full card instead of leaving the right side empty */
.story { padding: 48px 56px; }
.story p.big { max-width: none; margin-top: 16px; font-size: clamp(24px, 3.1vw, 42px); line-height: 1.2; text-wrap: balance; }
@media (max-width: 640px) { .story { padding: 28px 22px; } }
/* Orca companion cursor (desktop only; see js/v3.js) */
.orca-cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; pointer-events: none; z-index: 9999; opacity: 0; filter: drop-shadow(0 0 6px rgba(79, 216, 255, 0.55)); transition: opacity 300ms ease; will-change: transform; }
.orca-cursor img { width: 100%; height: 100%; display: block; transition: transform 140ms ease-out; }
.orca-ripple { position: fixed; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #4fd8ff; pointer-events: none; z-index: 9998; animation: orcaRipple 650ms cubic-bezier(0.23, 1, 0.32, 1) forwards; }
@keyframes orcaRipple { to { transform: scale(5.5); opacity: 0; } }

/* ---------- Events: one featured event, date box on the left, details on the right ---------- */
.ev2 { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.ev-box { position: relative; aspect-ratio: 1 / 1; border-radius: 26px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: linear-gradient(150deg, #12227f 0%, #091661 45%, #050817 100%); border: 1px solid rgba(185, 200, 255, 0.18); box-shadow: 0 60px 140px -60px rgba(91, 124, 255, 0.5); }
.ev-box .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--peri); position: relative; z-index: 1; }
.ev-box .d { position: relative; z-index: 1; }
.ev-box .d b { display: block; font-size: clamp(72px, 9vw, 132px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; color: #fff; }
.ev-box .d span { display: block; margin-top: 10px; font-size: 22px; color: var(--peri); }
.ev-box .loc { position: relative; z-index: 1; font-size: 17px; line-height: 1.45; color: #c4cae0; }
.ev-box .mk { position: absolute; right: -48px; bottom: -36px; width: 300px; height: auto; opacity: 0.1; }
.ev-info h3 { margin-top: 16px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -0.035em; color: var(--t-hi); }
.ev-info > p { margin-top: 18px; font-size: 18px; color: var(--t-md); max-width: 520px; }
.who2 { display: grid; gap: 14px; margin-top: 32px; }
.who2 > div { display: flex; align-items: center; gap: 14px; }
.who2 img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(185, 200, 255, 0.25); }
.who2 b { display: block; font-size: 15.5px; font-weight: 600; color: var(--t-hi); }
.who2 span { font-size: 13.5px; color: var(--t-lo); }
.ev-info .hero-ctas { margin-top: 34px; }
@media (max-width: 900px) { .ev2 { grid-template-columns: 1fr; gap: 32px; } .ev-box { aspect-ratio: auto; min-height: 320px; padding: 28px; } }
/* First-screen content animates in on its own, without waiting for the script to load */
.hero .rv, .ph .rv { opacity: 1; transform: none; transition: none; animation: rvIn 700ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.hero .rv.d1, .ph .rv.d1 { animation-delay: 60ms; } .hero .rv.d2, .ph .rv.d2 { animation-delay: 120ms; } .hero .rv.d3, .ph .rv.d3 { animation-delay: 180ms; } .hero .rv.d4, .ph .rv.d4 { animation-delay: 240ms; }
@keyframes rvIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .rv, .ph .rv { animation: none; } }
/* Library video covers: whole title card visible, one play button, like the films */
.vbox .vplay { position: absolute; inset: 0; display: grid; place-items: end start; padding: 14px; border: 0; background: linear-gradient(180deg, rgba(5, 8, 23, 0) 40%, rgba(5, 8, 23, 0.35)); cursor: pointer; transition: background 200ms ease; }
.vbox .vplay i { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(91, 124, 255, 0.8); transition: transform 160ms ease-out; }
.vbox .vplay:hover i { transform: scale(1.08); }
.vbox .vplay:active i { transform: scale(0.96); }
.vbox.playing .vplay { display: none; }
/* Touch screens: give standalone text links and the logo a full-size tap area */
@media (pointer: coarse) {
  .nav-logo { display: inline-flex; padding: 10px 0; }
  p > a.link:only-child, .person a.li, .layer .tag a, .ev-info a.link, a.link[href^="mailto:"] { display: inline-block; padding: 10px 0; }
}
@media (max-width: 560px) { .ev-banner .lg { display: none; } .ev-banner { font-size: 13px; padding: 8px 44px 8px 16px; } }
.bench-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .bench-wrap { grid-template-columns: 1fr; gap: 40px; } }
.ticks.ticks-3 { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
@media (max-width: 900px) { .ticks.ticks-3 { grid-template-columns: 1fr; } }


/* Determinism: code steps carry their file name */
.pipe div em { font-style: normal; display: flex; flex-direction: column; gap: 3px; }
.pipe div em code { font-family: var(--mono); font-size: 11.5px; color: var(--t-lo); }

/* Determinism: a stored, validated workflow file */
.wfcode-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: stretch; }
.wfcode { margin: 0; border-radius: var(--r); border: 1px solid rgba(91, 124, 255, 0.4); background: #060b24; overflow: hidden; display: flex; flex-direction: column; }
.wfcode-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-d); font-family: var(--mono); font-size: 12.5px; color: var(--t-lo); }
.wfcode-bar .dots { display: flex; gap: 6px; }
.wfcode-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.wfcode-bar .path b { color: var(--t-hi); font-weight: 500; }
.wfcode-bar .ver { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(91, 124, 255, 0.14); color: var(--peri); font-size: 11.5px; }
.wfcode pre { margin: 0; padding: 20px 20px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--t-md); flex: 1; }
.wfcode .c-d { color: var(--live); }
.wfcode .c-k { color: #b9c8ff; font-weight: 500; }
.wfcode .c-f { color: #fff; }
.wfcode .c-s { color: #9fe8ff; }
.wfcode .c-c { color: var(--t-lo); }
.wfcode-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 16px; border-top: 1px solid var(--line-d); font-family: var(--mono); font-size: 12px; color: var(--t-lo); }
.wfcode-foot .ok { color: var(--live); display: inline-flex; align-items: center; gap: 7px; }
.wfcode-foot .ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(79, 216, 255, 0.18); }
.wfcode-pts { display: grid; gap: 18px; }
@media (max-width: 900px) { .wfcode-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wfcode pre { font-size: 11.5px; padding: 16px 14px; } .wfcode-bar .dots { display: none; } }

/* Model: the Orcana model and your private model, side by side */
.twom { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: stretch; }
.tm { padding: 30px 28px; border-radius: 22px; border: 1px solid var(--line-l); background: var(--paper); }
.tm .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-2); }
.tm h3 { font-size: 24px; letter-spacing: -0.02em; margin: 10px 0 0; color: var(--ink-t); }
.tm dl { margin: 22px 0 0; display: grid; gap: 0; }
.tm dl div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-l); font-size: 15px; }
.tm dt { color: var(--mute-t); font-size: 13.5px; padding-top: 1px; }
.tm dd { margin: 0; color: var(--ink-t); }
.tm.you { background: var(--ink-t); border-color: var(--ink-t); }
.tm.you .k { color: var(--live); }
.tm.you h3 { color: #fff; }
.tm.you dl div { border-color: rgba(255, 255, 255, 0.1); }
.tm.you dt { color: #8a93b4; }
.tm.you dd { color: #e6ebff; }
.tm-ar { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.tm-ar span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-t); line-height: 1.5; }
.tm-ar b { font-size: 34px; color: var(--blue); line-height: 1; }
@media (max-width: 900px) { .twom { grid-template-columns: 1fr; } .tm-ar { padding: 14px 0; } .tm-ar b { transform: rotate(90deg); } .tm-ar span br { display: none; } }
@media (max-width: 520px) { .tm { padding: 24px 20px; } .tm dl div { grid-template-columns: 1fr; gap: 4px; } }


.nw { white-space: nowrap; }
.wfcode pre { font-size: 13.5px; }
.wfcode-run { margin: 0 16px 16px; padding: 12px 14px; border-radius: 10px; background: rgba(79, 216, 255, 0.06); border: 1px solid rgba(79, 216, 255, 0.18); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--t-md); }
.wfcode-run .p { color: var(--t-lo); }
.wfcode-run .ok { color: var(--live); }
@media (max-width: 520px) { .wfcode pre { font-size: 11.5px; } .wfcode-run { font-size: 11px; margin: 0 12px 12px; } }

/* Highlighted words on light sections: the same blue-to-cyan run, darkened so it reads on white */
.s-white .grad, .s-paper .grad { background-image: linear-gradient(92deg, #2a3c8a 0%, #4a63d9 45%, #0a8fb8 100%); }

/* Home film heading: wider, with the highlighted half on its own line */
.head.head-wide, .head.head-wide .h2 { max-width: 1100px; }
.h2 .l2 { display: block; }
.ticks.ticks-2 { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; gap: 10px 48px; margin-top: 36px; }
@media (max-width: 700px) { .ticks.ticks-2 { grid-template-columns: max-content; } }
