/* AZYL product pages (agents, memory, inference) — loaded after azyl.css */

:root { --section: clamp(72px, 8vw, 112px); }

/* ── SIGNAL: the arc rippling out from the dot ── */
.mark .ripple, .mark .ring { fill: none; stroke: var(--silver); stroke-width: 1px; vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 60px 70px; pointer-events: none; }
.mark .ring { opacity: 0; animation: ring-in 1.6s ease 0.8s forwards; }
.mark .ring.a { transform: scale(2.7); --o: 0.085; }
.mark .ring.b { transform: scale(4.7); --o: 0.055; }
.mark .ring.c { transform: scale(7.2); --o: 0.032; }
.mark .ripple { opacity: 0; animation: ripple 10s cubic-bezier(0.22, 0.5, 0.35, 1) 1.2s infinite; }
.mark .ripple.r2 { animation-delay: 4.5s; }
.mark .ripple.r3 { animation-delay: 7.8s; }
.still .mark .ripple { animation-play-state: paused; }
@keyframes ring-in { to { opacity: var(--o); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0; } 12% { opacity: 0.3; } 100% { transform: scale(8.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mark .ripple { display: none; } }
@media print { .mark .ripple, .mark .ring { display: none; } }

/* ── HERO ── */
.product-hero { min-height: min(100vh, 830px); min-height: min(100svh, 830px); gap: 32px; padding-top: 116px; padding-bottom: 44px; }
@media (max-width: 640px) { .product-hero { min-height: 100svh; } }
/* The project marks: the harbor arc and lime point, one derivative each. Agents, a crew taking turns;
   memory, records settling in layers; inference, tokens streaming from the point. */
.mark .lg-arc, .mark .lg-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mark .lg-arc { stroke: var(--silver); stroke-width: 2.5; }
.mark .lg-line { stroke-width: 1.7; }
.mark .lg-line.bright { stroke: #9A958B; }
.mark .lg-line.mid { stroke: #716D65; }
.mark .lg-line.faint { stroke: #4A4741; }
.mark .lg-ink { fill: var(--silver); }
.mark .lg-dot { fill: var(--lime); filter: drop-shadow(0 0 5px rgba(var(--lime-rgb), 0.5)); }
.mark .lg-lime { fill: var(--lime); }
/* entrance: the arc draws, then the rest arrives (--d is each piece's own delay) */
.mark .lg-draw { stroke-dasharray: 1 2; stroke-dashoffset: 1.01; animation: lg-draw 0.75s cubic-bezier(0.65, 0, 0.2, 1) var(--d, 0.1s) forwards; }
.mark .lg-arc.lg-draw { animation-duration: 1.1s; }
.mark .lg-pop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: lg-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0.7s) forwards; }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-pop { from { opacity: 0; transform: scale(0); } to { opacity: var(--o, 1); transform: scale(1); } }
/* afterwards, one quiet motion each */
.mark .lg-turn { opacity: 0; animation: lg-turn var(--cycle, 4s) ease-in-out calc(2.2s + var(--t, 0s)) infinite; }
.mark .lg-write { fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 0.16 2; stroke-dashoffset: 0.17; opacity: 0; animation: lg-write 4.4s cubic-bezier(0.45, 0, 0.35, 1) 2.4s infinite; }
.mark .lg-type { animation: lg-type 3.6s ease calc(2.4s + var(--t, 0s)) infinite; }
@keyframes lg-turn { 0% { opacity: 0; } 7% { opacity: 1; } 18% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes lg-write { 0% { stroke-dashoffset: 0.16; opacity: 0; } 8% { opacity: 0.9; } 38% { opacity: 0.9; } 46%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes lg-type { 0%, 62% { opacity: 1; } 70%, 76% { opacity: 0; } 84%, 100% { opacity: 1; } }
.still .mark .lg-turn, .still .mark .lg-write, .still .mark .lg-type { animation-play-state: paused; }
.vt-in .mark .lg-draw, .vt-in .mark .lg-pop { animation-duration: 1ms; animation-delay: 0s; }
.lede { max-width: 660px; font-size: var(--t-lg); line-height: 1.7; color: var(--silver); }
.lede em { font-style: normal; color: var(--ghost); font-weight: 400; }
.built { margin-top: -10px; font-family: var(--mono); font-size: var(--t-xs); line-height: 1.8; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.built b { font-weight: 500; color: var(--lime); }
.built i { font-style: normal; }
.product-hero .cue { position: static; transform: none; margin-top: 6px; }
@media (max-width: 600px) {
  .product-hero .wordmark-ai { font-size: 18px; }
  .built b { display: block; margin-bottom: 4px; }
  .built i { display: none; }
}

/* ── SCREENSHOTS ── */
.shot { margin: 0; overflow: hidden; border: 1px solid var(--rule-2); border-radius: var(--r-md); background: var(--panel); }
.zoom { position: relative; display: block; cursor: zoom-in; }
.zoom picture { display: block; }
.zoom img { width: 100%; height: auto; }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--rule-2); border-radius: var(--r-pill); background: rgba(20, 19, 17, 0.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: var(--t-xs); font-weight: 500; line-height: 1; color: var(--ghost); pointer-events: none;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.zoom-hint svg { width: 11px; height: 11px; color: var(--lime); }
.zoom:hover .zoom-hint, .zoom:focus-visible .zoom-hint { opacity: 1; transform: none; }
.zoom-hint .touch { display: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } .zoom-hint .mouse { display: none; } .zoom-hint .touch { display: inline; } }
.shot figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 14px 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: var(--t-xs); line-height: 1.6; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle);
}
.shot figcaption span:last-child { color: var(--lime); }
.hero-shot { box-shadow: 0 50px 140px -70px rgba(var(--lime-rgb), 0.3), 0 40px 90px -50px rgba(0, 0, 0, 0.95); }
/* the hero shot sits tilted back and flattens as it arrives */
.tilt { perspective: 1800px; }
.tilt > * { transform: rotateX(calc(var(--t, 1) * 14deg)) scale(calc(1 - var(--t, 1) * 0.06)); transform-origin: 50% 0; will-change: transform; }
html:not(.js) .tilt > * { transform: none; }
@media (max-width: 640px) {
  .tilt > * { transform: none; }
  .shot figcaption { flex-direction: column; }
}

/* ── TABBED SCREENSHOTS ── */
.gallery { margin-top: 56px; }
.tabs { display: none; }
.js .tabs {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 5px; gap: 4px; overflow-x: auto;
  border: 1px solid var(--rule-2); border-radius: var(--r-pill); background: var(--panel); scrollbar-width: none;
}
.tabs button {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px; flex: none;
  border: 0; border-radius: var(--r-pill); background: none; cursor: pointer;
  font-size: var(--t-sm); font-weight: 400; color: var(--muted); white-space: nowrap; transition: color 0.25s, background-color 0.25s;
}
.tabs button::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rule-2); transition: background-color 0.25s, box-shadow 0.25s; }
.tabs button:hover { color: var(--ghost); }
.tabs button[aria-selected="true"] { color: var(--ghost); background: var(--raise); }
.tabs button[aria-selected="true"]::before { background: var(--lime); box-shadow: 0 0 8px rgba(var(--lime-rgb), 0.8); }
html:not(.js) .gallery > .shot + .shot { margin-top: 20px; }
.js .gallery > .shot { animation: fade 0.5s ease; box-shadow: 0 40px 100px -60px rgba(var(--lime-rgb), 0.22); }
.gallery > .shot.upright { max-width: 600px; margin-inline: auto; }
@media (max-width: 600px) { .js .tabs { margin-inline: 0; width: 100%; justify-content: safe center; } .tabs button { flex: 1 0 auto; justify-content: center; padding: 0 10px; } .tabs button::before { display: none; } .gallery { margin-top: 40px; } }

/* ── SECTION INTRO TEXT ── */
.intro { max-width: 66ch; margin-top: 22px; line-height: 1.75; }
.intro + .intro { margin-top: 16px; }
.intro em { font-style: normal; color: var(--ghost); }

/* ── BENTO ── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.tile { display: flex; flex-direction: column; min-width: 0; }
.t-rooms, .t-engine { grid-column: span 4; }
.t-approve, .t-dynamic, .t-evidence, .t-board, .t-org, .t-tune, .t-model, .t-import { grid-column: span 2; }
.t-meet, .t-memory, .t-remote, .t-moods { grid-column: span 3; }
.art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 190px; padding: 30px 26px 10px; font-size: var(--t-xs); line-height: 1.5; color: var(--silver); }
.art > * { width: 100%; min-width: 0; }
.tile-text { padding: 22px 28px 30px; }
.tile-text .label { color: var(--lime); letter-spacing: 0.12em; }
.tile h3 { margin-top: 10px; font-family: var(--serif); font-weight: 300; font-size: var(--t-xl); line-height: 1.22; }
.tile p { margin-top: 10px; font-size: var(--t-sm); line-height: 1.75; color: var(--silver); }
.tile-text a { color: var(--ghost); text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 3px; }
.tile-text a:hover { text-decoration-color: var(--silver); }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-rooms, .t-engine { grid-column: span 2; }
  .t-approve, .t-dynamic, .t-evidence, .t-board, .t-org, .t-tune, .t-model, .t-import, .t-meet, .t-memory, .t-remote, .t-moods { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 44px; }
  .t-rooms, .t-engine { grid-column: span 1; }
  .art { min-height: 0; padding: 24px 18px 6px; }
  .tile-text { padding: 18px 20px 24px; }
}

/* shared bits of the little interface sketches */
.mono { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.03em; }
.dim { color: var(--subtle); }
.lime { color: var(--lime); }
.amber { color: var(--amber); }
.ok { color: var(--ok); }
.no { color: var(--danger); }
.tier { padding: 0 7px; border: 1px solid; border-radius: var(--r-sm); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tier.read { color: var(--ok); border-color: rgba(155, 211, 122, 0.45); }
.tier.gated { color: var(--danger); border-color: rgba(255, 138, 110, 0.5); }
.pix { image-rendering: pixelated; }

/* agents: rooms */
.mini-room { max-width: 580px; }
.mr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--rule); }
.faces { display: flex; flex: none; }
.faces i { display: grid; place-items: center; width: 26px; height: 26px; margin-right: -6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--bg); font-family: var(--mono); font-style: normal; font-size: var(--t-xs); font-weight: 500; color: var(--bg); }
.mr-head .mono { text-align: right; }
.mr-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 7px 0; font-size: var(--t-sm); color: var(--silver); opacity: 0; transform: translateY(6px); }
.mr-line b { padding-top: 2px; font-family: var(--mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); }
.mr-line .at { color: var(--lime); }
.in .mr-line { animation: line-in 0.6s var(--ease) forwards; }
.in .mr-line:nth-of-type(1) { animation-delay: 0.35s; }
.in .mr-line:nth-of-type(2) { animation-delay: 0.85s; }
.in .mr-line:nth-of-type(3) { animation-delay: 1.35s; }
.in .mr-line:nth-of-type(4) { animation-delay: 1.85s; }
.in .mr-line.pass { animation-name: pass-in; }
@keyframes line-in { to { opacity: 1; transform: none; } }
@keyframes pass-in { to { opacity: 1; transform: none; } }
html:not(.js) .mr-line { opacity: 1; transform: none; }
@media (max-width: 480px) { .mr-line { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* agents: approvals */
.mini-approve { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(255, 184, 107, 0.45); border-radius: var(--r-md); background: rgba(255, 184, 107, 0.05); }
.ma-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ma-top .amber { text-transform: uppercase; letter-spacing: 0.08em; }
.mini-approve code { display: block; padding: 9px 10px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sunk); font-size: var(--t-xs); color: var(--ghost); overflow-wrap: anywhere; }
.ma-btns { display: flex; gap: 8px; }
.ma-btns span { padding: 7px 12px; border-radius: var(--r-pill); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.b-yes { background: var(--lime); color: var(--bg); font-weight: 500; animation: halo 2.6s ease-in-out infinite; }
.b-no { border: 1px solid rgba(255, 138, 110, 0.5); color: var(--danger); }
@keyframes halo { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--lime-rgb), 0); } 50% { box-shadow: 0 0 18px 0 rgba(var(--lime-rgb), 0.35); } }
/* agents: evidence */
.mini-ev { display: grid; gap: 10px; font-family: var(--mono); font-size: var(--t-xs); }
.ev { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 7px; color: var(--ghost); white-space: nowrap; }
.ev > .g { color: var(--subtle); }
.ev > .dim { overflow: hidden; text-overflow: ellipsis; }
.fact { display: inline-flex; flex-wrap: wrap; align-items: center; justify-self: start; gap: 8px; margin-top: 4px; padding: 6px 10px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); color: var(--ghost); }
.fact .src { color: var(--ok); text-transform: uppercase; letter-spacing: 0.06em; }
.fact s { color: var(--subtle); }
/* agents: board */
.mini-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mini-board .col { display: grid; align-content: start; gap: 6px; min-height: 136px; padding: 7px; border: 1px solid var(--rule); border-radius: var(--r-sm); }
.mini-board .col > .mono { text-transform: uppercase; letter-spacing: 0.06em; }
.mini-board .card { display: block; padding: 6px 7px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); background: var(--sunk); font-size: var(--t-xs); line-height: 1.4; color: var(--ghost); overflow-wrap: break-word; }
.mini-board .card b { display: block; font-family: var(--mono); font-weight: 400; color: var(--subtle); }
.mini-board .card.wait { border-color: rgba(255, 184, 107, 0.55); }
.mini-board .card em { display: inline-block; margin-top: 5px; font-family: var(--mono); font-style: normal; color: var(--amber); white-space: nowrap; }
/* agents: org chart */
.mini-org { display: flex; flex-direction: column; align-items: center; }
.mini-org .node { padding: 5px 10px; border: 1px solid var(--rule-2); border-top: 2px solid var(--c, var(--silver)); border-radius: var(--r-sm); background: var(--sunk); font-size: var(--t-xs); color: var(--ghost); white-space: nowrap; }
.mini-org .node.you { font-family: var(--mono); letter-spacing: 0.06em; }
.mini-org .stem { width: 1px; height: 14px; background: var(--edge); }
.mini-org .branch { position: relative; width: 66.667%; height: 12px; margin-top: 12px; border: 1px solid var(--edge); border-bottom: 0; }
.mini-org .branch::before, .mini-org .branch::after { content: ""; position: absolute; left: calc(50% - 0.5px); width: 1px; height: 12px; background: var(--edge); }
.mini-org .branch::before { top: -13px; }
.mini-org .branch::after { top: 0; }
.mini-org .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; width: 100%; }
/* agents: meetings */
.mini-meet { max-width: 440px; }
.mm-head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); color: var(--ghost); }
.goal { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; padding: 6px 0; font-size: var(--t-sm); color: var(--silver); }
.goal i { font-style: normal; color: var(--subtle); }
.goal.met { color: var(--ghost); }
.goal.met i { color: var(--lime); }
/* agents: memory */
.mini-mem { max-width: 480px; font-family: var(--mono); font-size: var(--t-xs); line-height: 1.7; }
.mini-mem p { padding: 4px 0; color: var(--silver); }
.mini-mem p.dim { color: var(--subtle); }
.tag-src { margin-left: 6px; padding: 0 5px; border: 1px solid rgba(155, 211, 122, 0.4); border-radius: var(--r-sm); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ok); white-space: nowrap; }

/* inference: the engine */
.mini-status { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; max-width: 580px; }
.mini-status .pix { width: 118px; height: auto; }
.ms-title { font-family: var(--serif); font-weight: 300; font-size: var(--t-xl); color: var(--ghost); }
.ms-title b { font-weight: 300; font-style: italic; color: var(--lime); }
.ms-sub { margin-top: 6px; }
.ms-meters { display: grid; gap: 10px; margin-top: 16px; }
.meter { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.meter .bar { height: 4px; overflow: hidden; border-radius: var(--r-pill); background: var(--rule-2); }
.meter .bar i { display: block; width: var(--w); height: 100%; border-radius: var(--r-pill); background: var(--lime); }
.in .meter .bar i { animation: fill 1.4s var(--ease) 0.3s backwards; }
@keyframes fill { from { width: 0; } }
@media (max-width: 560px) { .mini-status { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .mini-status > div { width: 100%; } }
/* inference: dynamic loading */
.mini-load { display: grid; gap: 8px; font-family: var(--mono); font-size: var(--t-xs); }
.ld { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px 11px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); background: var(--sunk); color: var(--ghost); }
.ld .d { width: 7px; height: 7px; border-radius: 50%; background: var(--edge); }
.ld.on .d { background: var(--lime); box-shadow: 0 0 6px rgba(var(--lime-rgb), 0.6); }
.ld.go .d { background: var(--lime); animation: pulse 1.1s ease-in-out infinite; }
.ld .dim { white-space: nowrap; }
@keyframes pulse { 50% { opacity: 0.3; } }
/* inference: concurrency and context */
.mini-tune { display: grid; gap: 12px; }
.tune-row { display: grid; gap: 6px; }
.tune-row > .mono { text-transform: uppercase; letter-spacing: 0.08em; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chips span { padding: 2px 8px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); font-family: var(--mono); font-size: var(--t-xs); color: var(--subtle); }
.chips span.on { color: var(--lime); border-color: rgba(var(--lime-rgb), 0.55); background: rgba(var(--lime-rgb), 0.07); }
/* inference: settings in the model */
.mini-model { display: grid; gap: 9px; font-family: var(--mono); font-size: var(--t-xs); }
.mm-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--ghost); font-size: var(--t-sm); }
.mm-name .dim { font-size: var(--t-xs); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 14px; padding: 10px 11px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); background: var(--sunk); }
.kv span:nth-child(odd) { color: var(--subtle); }
.kv span:nth-child(even) { color: var(--ghost); overflow-wrap: anywhere; }
.mm-apps { display: flex; flex-wrap: wrap; gap: 5px; }
.mm-apps span { padding: 0 6px; border: 1px solid rgba(155, 211, 122, 0.4); border-radius: var(--r-sm); letter-spacing: 0.04em; color: var(--ok); }
/* inference: bring your models */
.mini-import { display: grid; gap: 10px; font-family: var(--mono); font-size: var(--t-xs); }
.imp-file { padding: 9px 11px; border: 1px solid rgba(var(--lime-rgb), 0.4); border-radius: var(--r-sm); background: rgba(var(--lime-rgb), 0.04); color: var(--ghost); overflow-wrap: anywhere; }
.imp-file .dim { display: block; margin-top: 3px; }
.imp-phase { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; }
.imp-bar { height: 4px; overflow: hidden; border-radius: var(--r-pill); background: var(--rule-2); }
.imp-bar i { display: block; width: 62%; height: 100%; background: var(--lime); }
.in .imp-bar i { animation: fill 2.4s var(--ease) 0.4s backwards; }
/* inference: from anywhere */
.mini-remote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; max-width: 480px; }
.phone { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 96px; height: 164px; padding: 18px 8px 8px; border: 1.5px solid var(--edge); border-radius: var(--r-lg); background: var(--sunk); }
.phone .pix { width: 54px; height: auto; }
.phone b { font-size: var(--t-xs); font-weight: 300; line-height: 1.3; text-align: center; color: var(--lime); }
.phone i { width: 52px; height: 2px; border-radius: var(--r-pill); background: var(--rule-2); }
.phone i.on { width: 36px; background: var(--lime); }
.rm-lines { display: grid; gap: 9px; font-family: var(--mono); font-size: var(--t-xs); color: var(--silver); }
.rm-lines .url { padding: 7px 9px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); background: var(--sunk); color: var(--ghost); overflow-wrap: anywhere; }
@media (max-width: 400px) { .mini-remote { grid-template-columns: minmax(0, 1fr); justify-items: center; } .rm-lines { width: 100%; } }
/* inference: moods */
.mini-moods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; }
.mood { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mood .pix { width: 100%; max-width: 92px; height: auto; }
.mood .mono { text-transform: uppercase; letter-spacing: 0.04em; color: var(--subtle); }
.mood.lit .mono { color: var(--lime); }

/* ── CASE IN POINT (memory): a lit edge, like the dot ── */
.case { max-width: 780px; margin-top: 44px; padding: 30px 34px 30px; }
.case::before { content: ""; position: absolute; left: -1px; top: 28px; bottom: 28px; width: 2px; border-radius: var(--r-pill); background: var(--lime); }
.case-label { color: var(--lime); }
.case h3 { margin-top: 12px; font-family: var(--serif); font-weight: 300; font-size: var(--t-xl); line-height: 1.25; }
.case p { margin-top: 14px; font-size: var(--t-sm); line-height: 1.8; }
.case p em { font-style: normal; color: var(--ghost); }
.case .more { margin-top: 22px; }
.case .more-body { padding-top: 8px; }
.case-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 22px; list-style: none; }
.case-points li { padding-top: 14px; border-top: 1px solid var(--rule); font-size: var(--t-sm); line-height: 1.7; }
.case-points strong { display: block; margin-bottom: 4px; }
.case p.case-limit { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); }
.case p.case-sources { font-size: var(--t-xs); color: var(--subtle); }
.case-sources a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 3px; }
.case-sources a:hover { color: var(--ghost); }
@media (max-width: 600px) { .case { padding: 24px 20px; } .case-points { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ── PRINCIPLES (memory) ── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.cards > .card { padding-top: 20px; border-top: 1px solid var(--rule); }
.card-num { display: block; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: var(--t-xl); line-height: 1; color: var(--lime); }
.cards > .card h3 { margin-top: 14px; font-size: var(--t-md); font-weight: 500; }
.cards > .card p { margin-top: 8px; font-size: var(--t-sm); line-height: 1.7; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 44px; } }

/* ── HOW IT WORKS (memory): three steps beside what the agent receives ── */
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; margin-top: 60px; }
.flow { position: relative; display: grid; gap: 34px; }
.flow::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 1px solid var(--rule-2); }
.step { position: relative; padding-left: 40px; }
.step-dot { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border: 1px solid var(--edge); border-radius: 50%; background: var(--bg); }
.step-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--silver); }
.step:last-child .step-dot { border-color: var(--lime); }
.step:last-child .step-dot::after { background: var(--lime); box-shadow: 0 0 8px rgba(var(--lime-rgb), 0.5); }
.step h3 { margin-top: 8px; font-family: var(--serif); font-weight: 300; font-size: var(--t-xl); }
.step p { margin-top: 8px; font-size: var(--t-sm); line-height: 1.7; }
.step .meta { margin-top: 10px; font-family: var(--mono); font-size: var(--t-xs); color: var(--lime); }
@media (max-width: 900px) { .how-grid { grid-template-columns: minmax(0, 1fr); margin-top: 44px; } }
/* the recall block, as an agent sees it */
.sample { overflow: hidden; border: 1px solid var(--rule-2); border-radius: var(--r-md); background: var(--sunk); box-shadow: 0 50px 130px -70px rgba(var(--lime-rgb), 0.24), 0 40px 80px -50px rgba(0, 0, 0, 0.9); }
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.sample pre { padding: 22px 20px 24px; font-family: var(--mono); font-size: var(--t-sm); font-weight: 300; line-height: 1.85; color: var(--silver); white-space: pre-wrap; overflow-wrap: anywhere; }
.sample .dimmed { color: var(--subtle); }
.sample .id { color: var(--lime); }
.sample .q { color: var(--ghost); font-weight: 400; }
.sample-note { margin-top: 18px; }
@media (max-width: 600px) { .sample-head .label + .label { display: none; } .sample pre { font-size: var(--t-xs); padding: 18px 16px; } }

/* ── FOLDS (memory): the headline stays, the detail unfolds ── */
.fold > summary { position: relative; display: block; padding-right: 34px; list-style: none; cursor: pointer; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary i { position: absolute; right: 2px; bottom: 5px; width: 14px; height: 14px; transition: transform 0.45s var(--ease); }
.fold > summary i::before, .fold > summary i::after { content: ""; position: absolute; left: 1px; right: 1px; top: 6.5px; height: 1px; background: var(--lime); }
.fold > summary i::after { transform: rotate(90deg); }
.fold[open] > summary i { transform: rotate(135deg); }
.fold > summary h3 { transition: color 0.25s; }
.fold > summary:hover h3 { color: var(--lime); }
.fold::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.fold[open]::details-content { height: auto; }
.cards.folds, .otiles.folds { gap: 26px 40px; align-items: start; }
.cards > .card.fold > summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; }
.cards > .card.fold > summary h3 { margin-top: 0; }
@media (max-width: 600px) { .cards.folds, .otiles.folds { gap: 18px; } }

/* ── MORE IN THE APP ── */
.pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.pages > div { padding-top: 16px; border-top: 1px solid var(--rule); }
.pages dt { font-size: var(--t-md); font-weight: 500; color: var(--ghost); }
.pages dd { margin-top: 6px; font-size: var(--t-sm); line-height: 1.7; }
.more.mid { text-align: center; margin-top: 40px; }
.more.mid .more-body { text-align: left; }
@media (max-width: 900px) { .pages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pages { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ── MEASURED (memory) ── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.stat { padding-top: 24px; border-top: 1px solid var(--rule-2); }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: var(--t-2xl); line-height: 1; color: var(--ghost); }
.stat-num small { margin-left: 3px; font-size: var(--t-xl); font-style: italic; color: var(--lime); }
.stat-what { margin-top: 16px; font-size: var(--t-sm); line-height: 1.65; }
.stat .label { margin-top: 12px; letter-spacing: 0.08em; }
.measure-note { margin-top: 28px; }
.bench { width: 100%; border-collapse: collapse; }
.bench caption { padding-bottom: 14px; text-align: left; }
.bench th, .bench td { padding: 13px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.bench thead th { border-top: 1px solid var(--rule); font-family: var(--mono); font-size: var(--t-xs); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }
.bench td { font-size: var(--t-sm); color: var(--silver); }
.bench td:first-child { padding-right: 24px; color: var(--ghost); }
.bench td.num, .bench th.num { padding-left: 20px; font-family: var(--mono); font-size: var(--t-xs); text-align: right; white-space: nowrap; }
.bench td.yes { color: var(--lime); }
.bench td.no { color: var(--subtle); }
.bench .short { display: none; }
.bench + .fine { margin-top: 16px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .stats { gap: 24px 18px; margin-top: 40px; }
  .bench .long { display: none; }
  .bench .short { display: inline; }
  .bench td.num, .bench th.num { padding-left: 12px; }
}

/* ── NEW IN 1.1 (inference): a screenshot beside what changed ── */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 64px; }
.duo .shot { position: sticky; top: 100px; box-shadow: 0 40px 100px -60px rgba(var(--lime-rgb), 0.24); }
.news > div { padding: 18px 0; border-top: 1px solid var(--rule); }
.news > div:first-child { border-top: 0; padding-top: 0; }
.news dt { font-size: var(--t-md); font-weight: 500; color: var(--ghost); }
.news dt .label { display: inline; margin-left: 10px; letter-spacing: 0.08em; }
.news dd { margin-top: 6px; font-size: var(--t-sm); line-height: 1.75; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 44px; } .duo .shot { position: static; } }

/* ── OVERSIGHT: an open list ── */
.otiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; margin-top: 64px; }
.otile { position: relative; padding-top: 22px; border-top: 1px solid var(--rule); }
.otile::before { content: ""; position: absolute; left: 0; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.otile .label { letter-spacing: 0.12em; }
.otile h3 { margin-top: 10px; font-size: var(--t-md); font-weight: 500; }
.otile p { margin-top: 8px; font-size: var(--t-sm); line-height: 1.7; }
.otile code { font-size: var(--t-xs); }
.otiles + .fine { margin-top: 40px; }
@media (max-width: 900px) { .otiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .otiles { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 44px; } }

/* ── WORKS WITH: a slow ticker ── */
.works { padding-top: var(--section); }
.works > .label { text-align: center; }
.marquee { display: flex; margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; flex-shrink: 0; gap: 10px; padding-right: 10px; list-style: none; animation: ticker 52s linear infinite; }
.track li { padding: 8px 18px; border: 1px solid var(--rule-2); border-radius: var(--r-pill); font-size: var(--t-sm); white-space: nowrap; color: var(--silver); }
.marquee:hover .track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
.shots-note { margin-top: 36px; font-size: var(--t-xs); }
.closing .shots-note + .shots-note { margin-top: 10px; }
.closing .reqs { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .tilt > * { transform: none; }
  .mr-line, .mr-line.pass { opacity: 1; transform: none; animation: none !important; }
  .b-yes, .meter .bar i, .imp-bar i, .ld.go .d { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .track { flex-wrap: wrap; flex-shrink: 1; justify-content: center; animation: none !important; }
  .track.copy { display: none; }
}
@media print { .tilt > * { transform: none; } .tabs, .marquee .copy, .zoom-hint { display: none !important; } }
