
/* Layout: picture-led single page. Hero shows files flowing into a stamped draft; tasks as an icon grid; time back as a 40-block week; a four-step timeline; safeguards as icons; then the intake form on a deep harbour-blue band. */
:root {
  --paper: #f6f9f9;
  --sheet: #ffffff;
  --mist: #e6f0f0;
  --ink: #102a36;
  --muted: #4f6670;
  --rule: #d3e0e1;
  --harbour: #1d5c6b;
  --harbour-deep: #123f4c;
  --on-harbour: #f2f8f8;
  --amber: #f0a33a;
  --amber-ink: #102a36;
  --redline: #b3261e;
  --redline-soft: #fbe9e7;
  --ok: #2f6b4f;
  --ok-soft: #e1f0e7;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1a1f; --sheet: #142429; --mist: #172c32; --ink: #e6f0f0; --muted: #9db4b8; --rule: #25393f;
    --harbour: #5fb3c2; --harbour-deep: #0f2a32; --on-harbour: #e6f0f0; --amber: #f2ad4e; --amber-ink: #0d1a1f;
    --redline: #ef7d72; --redline-soft: #3a2220; --ok: #7cc4a0; --ok-soft: #1a3328; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1a1f; --sheet: #142429; --mist: #172c32; --ink: #e6f0f0; --muted: #9db4b8; --rule: #25393f;
  --harbour: #5fb3c2; --harbour-deep: #0f2a32; --on-harbour: #e6f0f0; --amber: #f2ad4e; --amber-ink: #0d1a1f;
  --redline: #ef7d72; --redline-soft: #3a2220; --ok: #7cc4a0; --ok-soft: #1a3328; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
.wrap { max-width: 70rem; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }
svg.ic { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1 var(--body); padding: .95rem 1.3rem; border-radius: 6px; background: var(--amber); color: var(--amber-ink); text-decoration: none; border: 1px solid var(--amber); cursor: pointer; }
.btn.ghost { background: transparent; color: var(--harbour); border-color: var(--harbour); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--harbour); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform .15s, box-shadow .15s; } .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(16,42,54,.5); } }
.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--harbour); }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.mark { font-family: var(--display); font-weight: 600; font-size: 1.3rem; text-decoration: none; display: flex; align-items: center; gap: .55rem; color: var(--ink); }
.mark .seal { width: 30px; height: 30px; border-radius: 7px; background: var(--harbour); color: var(--on-harbour); display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; }
.top .btn { padding: .7rem 1rem; font-size: .92rem; }

/* hero */
.hero { padding-block: 3.5rem 2.5rem; background: radial-gradient(60rem 30rem at 85% 10%, var(--mist), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); margin-block: .9rem 1rem; }
.hero h1 em { font-style: normal; color: var(--harbour); }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 30rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* flow illustration */
.flow { display: grid; grid-template-columns: minmax(0, .85fr) 3.2rem minmax(0, 1.25fr); align-items: center; gap: .4rem; min-width: 0; }
.inputs { display: grid; gap: .6rem; min-width: 0; }
.doc { display: flex; align-items: center; gap: .6rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: .6rem .7rem; font-size: .85rem; font-weight: 500; box-shadow: 0 6px 16px -12px rgba(16,42,54,.4); min-width: 0; }
.doc svg { width: 22px; height: 22px; color: var(--harbour); }
.doc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pipe { position: relative; height: 9.4rem; display: grid; place-items: center; }
.pipe svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pipe path { stroke: var(--harbour); stroke-width: 2; fill: none; stroke-dasharray: 5 6; }
@media (prefers-reduced-motion: no-preference) { .pipe path { animation: run 1.4s linear infinite; } @keyframes run { to { stroke-dashoffset: -22; } } }
.agent { position: relative; z-index: 1; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--harbour); color: var(--on-harbour); display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; box-shadow: 0 0 0 6px color-mix(in srgb, var(--harbour) 18%, transparent); }
.draft { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 1.3rem 1.3rem 1.1rem; position: relative; box-shadow: 0 22px 44px -26px rgba(16,42,54,.5); min-width: 0; }
.draft .stamp { position: absolute; top: .9rem; right: .9rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--redline); border: 1.5px solid var(--redline); padding: .2rem .45rem; border-radius: 3px; transform: rotate(4deg); }
.draft h3 { font-size: 1rem; padding-right: 4.5rem; }
.draft .meta { font-family: var(--mono); font-size: .66rem; color: var(--muted); margin: .15rem 0 .9rem; }
.line { display: flex; gap: .55rem; align-items: flex-start; font-size: .84rem; padding-block: .4rem; border-top: 1px dashed var(--rule); }
.line:first-of-type { border-top: 0; }
.line i { flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 600; margin-top: .1rem; }
.line small { display: block; font-family: var(--mono); font-size: .64rem; color: var(--muted); }
.memo { margin-top: .8rem; background: var(--redline-soft); border-left: 3px solid var(--redline); padding: .6rem .75rem; font-size: .8rem; border-radius: 0 4px 4px 0; }
.memo b { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--redline); display: block; }

/* sections */
section.block { padding-block: 3.25rem; }
section.tint { background: var(--mist); }
.block h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-block: .7rem .6rem; }
.block .intro { color: var(--muted); max-width: 34rem; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }

/* tasks grid */
.tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.tile { background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; padding: 1.2rem; display: grid; gap: .7rem; align-content: start; min-width: 0; }
.tile .icw { width: 46px; height: 46px; border-radius: 10px; background: var(--mist); color: var(--harbour); display: grid; place-items: center; }
.tile b { font-family: var(--display); font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.tile small { color: var(--muted); font-size: .86rem; }
.who { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }

/* week graphic */
.timeback .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.big { font-family: var(--display); font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 600; color: var(--harbour); line-height: 1; font-variant-numeric: tabular-nums; }
.big span { font-size: .35em; color: var(--ink); margin-left: .3rem; }
.week { display: grid; grid-template-columns: 2.6rem repeat(8, minmax(0, 1fr)); gap: 6px; align-items: center; }
.week .d { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.week .h { aspect-ratio: 1.6; max-width: 100%; border-radius: 4px; background: var(--rule); }
.week .h.back { background: var(--amber); }
.weeknote { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.key { display: inline-flex; align-items: center; gap: .4rem; }
.key i { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.timeline::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 1.5rem; height: 2px; background: var(--rule); }
.step { position: relative; display: grid; gap: .5rem; justify-items: start; min-width: 0; }
.step .node { width: 3rem; height: 3rem; border-radius: 50%; background: var(--harbour); color: var(--on-harbour); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--paper); }
.step .node svg { width: 22px; height: 22px; }
.step .wk { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }
.step b { font-family: var(--display); font-size: 1.25rem; }
.step small { color: var(--muted); font-size: .88rem; }

/* safeguards */
.guards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.guard { display: flex; gap: .9rem; align-items: center; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.1rem; min-width: 0; }
.guard .icw { width: 42px; height: 42px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.guard .icw svg { width: 22px; height: 22px; }
.guard b { font-weight: 600; font-size: .98rem; line-height: 1.3; }

/* practice areas */
.areas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.area { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-weight: 500; }
.area small { font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.area.now { background: var(--harbour); border-color: var(--harbour); color: var(--on-harbour); }
.area.now small { color: var(--on-harbour); opacity: .8; }

/* intake band */
.intake { background: var(--harbour-deep); color: var(--on-harbour); }
.intake .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.intake .eyebrow { color: var(--amber); }
.intake .intro { color: var(--on-harbour); opacity: .8; }
.perks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.perks li { display: flex; gap: .7rem; align-items: center; }
.perks svg { width: 22px; height: 22px; color: var(--amber); }
.intake .ghost { margin-top: 1.6rem; color: var(--on-harbour); border-color: color-mix(in srgb, var(--on-harbour) 50%, transparent); }
form { background: var(--sheet); color: var(--ink); border-radius: 10px; padding: 1.6rem; display: grid; gap: 1rem; min-width: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 500; font-size: .9rem; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: .65rem .75rem; width: 100%; }
textarea { min-height: 5.5rem; resize: vertical; }
.warn { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--redline); background: var(--redline-soft); padding: .55rem .75rem; border-radius: 6px; }
.warn svg { width: 18px; height: 18px; }
.formnote { font-size: .8rem; color: var(--muted); }
#thanks { font-weight: 600; color: var(--ok); }

footer { padding-block: 2rem 3rem; color: var(--muted); font-size: .85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

@media (max-width: 920px) {
  .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero .wrap, .timeback .wrap, .intake .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .timeline::before { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .pipe { min-height: 3rem; }
  .pipe svg { display: none; }
  .inputs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc { flex-direction: column; text-align: center; font-size: .72rem; padding: .55rem .3rem; }
  .doc span { white-space: normal; }
  .tasks, .guards, .row2, .timeline { grid-template-columns: minmax(0, 1fr); }
  .top .btn { display: none; }
  .week { gap: 4px; grid-template-columns: 2.2rem repeat(8, minmax(0, 1fr)); }
}

/* ---- multi-page additions ---- */
.crumb { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--muted); text-decoration: none; margin-bottom: 1.2rem; }
.crumb svg { width: 18px; height: 18px; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.badge.now { background: var(--ok-soft); color: var(--ok); }
.badge.dev { background: var(--mist); color: var(--harbour); }
.hero.slim .wrap { grid-template-columns: minmax(0, 1fr); }
.hero.slim h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 48rem; }
.picker-label { font-weight: 600; margin-top: 2.2rem; font-size: 1.05rem; }
.picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.pick { display: grid; gap: .7rem; align-content: start; padding: 1.3rem; border-radius: 12px; background: var(--sheet); border: 1.5px solid var(--rule); text-decoration: none; color: var(--ink); min-width: 0; }
.pick .icw { width: 52px; height: 52px; border-radius: 12px; background: var(--mist); color: var(--harbour); display: grid; place-items: center; }
.pick .icw svg { width: 28px; height: 28px; }
.pick b { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; }
.pick .go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--harbour); }
.pick .go svg { width: 18px; height: 18px; }
.pick.live { border-color: var(--harbour); box-shadow: 0 14px 30px -22px rgba(16,42,54,.55); }
@media (prefers-reduced-motion: no-preference) { .pick { transition: transform .15s, border-color .15s; } .pick:hover { transform: translateY(-2px); border-color: var(--harbour); } }
.pick:focus-visible { outline: 2px solid var(--harbour); outline-offset: 3px; }
/* input -> output pairs */
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1.15fr); align-items: center; gap: .6rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 1rem; min-width: 0; }
.pair .in, .pair .out { display: flex; align-items: center; gap: .6rem; min-width: 0; font-size: .92rem; }
.pair .in { color: var(--muted); }
.pair .in svg { width: 24px; height: 24px; color: var(--muted); }
.pair .to svg { width: 22px; height: 22px; color: var(--amber); }
.pair .out { background: var(--mist); border-radius: 8px; padding: .6rem .7rem; position: relative; }
.pair .out svg { width: 22px; height: 22px; color: var(--harbour); }
.pair .out b { font-weight: 600; color: var(--ink); line-height: 1.25; }
.pair .out .st { position: absolute; top: -.55rem; right: .5rem; font-family: var(--mono); font-size: .56rem; letter-spacing: .12em; color: var(--redline); background: var(--sheet); border: 1px solid var(--redline); padding: .05rem .3rem; border-radius: 3px; }
.pair .out .st.plan { color: var(--harbour); border-color: var(--harbour); }
.also { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; align-items: center; }
.also span:first-child { font-weight: 600; margin-right: .3rem; }
.chip { font-size: .85rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--sheet); }
/* workflow diagram */
.wf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.4rem; position: relative; }
.wfs { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 1.1rem; display: grid; gap: .7rem; align-content: start; min-width: 0; position: relative; }
.wfs .n { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--harbour); }
.wfs b { font-family: var(--display); font-size: 1.15rem; }
.bubble { background: var(--mist); border-radius: 10px 10px 10px 2px; padding: .6rem .75rem; font-size: .84rem; }
.files { display: grid; gap: .35rem; }
.files span { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--muted); }
.files svg { width: 18px; height: 18px; color: var(--harbour); }
.mini { border: 1px solid var(--rule); border-radius: 6px; padding: .6rem; font-size: .78rem; position: relative; }
.mini .st { position: absolute; top: .4rem; right: .4rem; font-family: var(--mono); font-size: .55rem; color: var(--redline); border: 1px solid var(--redline); padding: .05rem .25rem; border-radius: 2px; }
.mini .flag { margin-top: .5rem; background: var(--redline-soft); color: var(--redline); border-radius: 4px; padding: .35rem .45rem; font-size: .74rem; }
.approve { display: grid; gap: .45rem; }
.approve span { display: flex; align-items: center; gap: .45rem; font-size: .84rem; }
.approve svg { width: 18px; height: 18px; color: var(--ok); }
.wf .wfs:not(:last-child)::after { content: ""; position: absolute; right: -0.85rem; top: 50%; width: .7rem; height: .7rem; border-top: 2px solid var(--amber); border-right: 2px solid var(--amber); transform: translateY(-50%) rotate(45deg); }
/* integrations */
.ints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 2rem; }
.int { background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.int svg { width: 26px; height: 26px; color: var(--harbour); }
.int b { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.int small { font-size: .8rem; color: var(--muted); }
.int .badge { justify-self: start; }
.badge.soon { background: var(--redline-soft); color: var(--redline); }
.badge.byd { background: var(--tab, var(--mist)); color: var(--muted); border: 1px solid var(--rule); }
.devnote { margin-top: 1.6rem; display: flex; gap: .7rem; align-items: flex-start; background: var(--sheet); border: 1px dashed var(--harbour); border-radius: 10px; padding: 1rem 1.1rem; max-width: 46rem; color: var(--muted); font-size: .95rem; }
.devnote svg { width: 22px; height: 22px; color: var(--harbour); }
.prose { max-width: 44rem; display: grid; gap: 1.1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.mainnav { display: flex; align-items: center; gap: 1.2rem; }
.mainnav a.txt { text-decoration: none; font-size: .92rem; color: var(--muted); }
@media (max-width: 1000px) { .ints { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) {
  .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pairs { grid-template-columns: minmax(0, 1fr); }
  .wf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf .wfs::after { display: none; }
}
@media (max-width: 560px) {
  .picker, .wf, .ints { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair .to { transform: rotate(90deg); justify-self: start; margin-left: .4rem; }
  .mainnav a.txt { display: none; }
}
.pick .badge, .int .badge { justify-self: start; }

/* ---- agent roster ---- */
.roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.2rem; }
.rgroup { display: grid; gap: .55rem; align-content: start; min-width: 0; }
.rgroup h3 { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--harbour); font-weight: 500; margin-bottom: .2rem; }
details.agent-t { background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; min-width: 0; }
details.agent-t[open] { border-color: var(--harbour); }
details.agent-t summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .7rem .8rem; }
details.agent-t summary::-webkit-details-marker { display: none; }
details.agent-t summary:focus-visible { outline: 2px solid var(--harbour); outline-offset: 2px; border-radius: 10px; }
.agent-t .icw { width: 38px; height: 38px; border-radius: 9px; background: var(--mist); color: var(--harbour); display: grid; place-items: center; }
.agent-t .icw svg { width: 21px; height: 21px; }
.agent-t .nm { display: grid; min-width: 0; }
.agent-t .nm b { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.agent-t .nm small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.agent-t .who2 { font-family: var(--mono); font-size: .62rem; color: var(--muted); border: 1px solid var(--rule); border-radius: 4px; padding: .1rem .3rem; }
.agent-t .who2.plan { color: var(--harbour); border-color: var(--harbour); }
.agent-t .more { padding: 0 .8rem .8rem calc(38px + 1.5rem); display: grid; gap: .3rem; font-size: .84rem; color: var(--muted); }
.agent-t .more span b { color: var(--ink); font-weight: 600; }
.rkey { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 920px) { .roster { grid-template-columns: minmax(0, 1fr); } }

/* ---- agent activity log ---- */
.log { background: var(--harbour-deep); color: var(--on-harbour); border-radius: 14px; padding: 1.2rem 1.3rem 1.1rem; font-size: .9rem; box-shadow: 0 24px 50px -28px rgba(16,42,54,.7); min-width: 0; }
.log-head { display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; margin-bottom: .9rem; }
.log-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.req { background: color-mix(in srgb, var(--on-harbour) 10%, transparent); border-radius: 10px 10px 10px 2px; padding: .65rem .8rem; margin-bottom: .9rem; line-height: 1.4; }
.req b { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: .15rem; }
.lsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.lsteps li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-family: var(--mono); font-size: .76rem; }
.lsteps li em { font-style: normal; opacity: .6; font-size: .7rem; white-space: nowrap; }
.lsteps .s { width: 1.1rem; height: 1.1rem; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--amber) 85%, transparent); color: var(--harbour-deep); font-size: .62rem; font-weight: 700; }
.lsteps .s::before { content: "\2713"; }
.lsteps li.flag { grid-template-columns: 1.1rem minmax(0, 1fr); color: #ffd7a8; }
.lsteps li.flag .s { background: #ffd7a8; }
.lsteps li.flag .s::before { content: "!"; }
.saved { margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed color-mix(in srgb, var(--on-harbour) 30%, transparent); display: flex; gap: .55rem; align-items: center; font-size: .8rem; min-width: 0; }
.saved svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.saved span { overflow-wrap: anywhere; }
.log.running li:not(.done):not(.now) { opacity: .35; }
.log.running li:not(.done) .s { background: transparent; border: 1.5px solid color-mix(in srgb, var(--on-harbour) 45%, transparent); }
.log.running li:not(.done) .s::before { content: ""; }
.log.running li.now .s { border-color: var(--amber); }
@media (prefers-reduced-motion: no-preference) { .log.running li.now .s { animation: pulse 1s ease-in-out infinite; } @keyframes pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 30%, transparent); } } }
.log.running .saved { opacity: .35; }
.log.running.finished .saved { opacity: 1; }
.logcap { margin-top: .9rem; font-weight: 600; font-size: 1rem; }
.logcap small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

/* ---- chat vs agent ---- */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.2rem; }
.vcol { border-radius: 14px; padding: 1.3rem; min-width: 0; }
.vcol.chat { background: var(--sheet); border: 1px solid var(--rule); }
.vcol.agentc { background: var(--harbour); color: var(--on-harbour); }
.vcol h3 { font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.vcol h3 svg { width: 26px; height: 26px; }
.vrow { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; align-items: center; padding-block: .6rem; border-top: 1px solid var(--rule); font-size: .95rem; }
.vcol.agentc .vrow { border-top-color: color-mix(in srgb, var(--on-harbour) 22%, transparent); }
.vrow:first-of-type { border-top: 0; }
.vrow svg { width: 20px; height: 20px; }
.vcol.chat .vrow svg { color: var(--muted); }
.vcol.agentc .vrow svg { color: var(--amber); }
.vcol .who3 { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; display: block; margin-bottom: .3rem; }
.define { margin-top: 1.4rem; display: inline-flex; gap: .6rem; align-items: center; background: var(--mist); border-radius: 999px; padding: .55rem 1rem; font-size: .95rem; }
.define b { color: var(--harbour); }

/* ---- a day ---- */
.day { position: relative; margin-top: 2.2rem; display: grid; gap: .8rem; max-width: 46rem; }
.day::before { content: ""; position: absolute; left: 5.35rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--rule); }
.dayrow { position: relative; display: grid; grid-template-columns: 4.4rem 2rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.dayrow .t { font-family: var(--mono); font-size: .78rem; color: var(--muted); text-align: right; }
.dayrow .n2 { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--harbour); color: var(--on-harbour); z-index: 1; }
.dayrow .n2 svg { width: 17px; height: 17px; }
.dayrow.you .n2 { background: var(--amber); color: var(--amber-ink); }
.dayrow .c { background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; padding: .75rem .9rem; min-width: 0; }
.dayrow.you .c { border-color: var(--amber); }
.dayrow .c b { display: block; font-weight: 600; }
.dayrow .c small { color: var(--muted); font-size: .86rem; }
.daynote { margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
@media (max-width: 860px) { .vs, .hero2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .day::before { left: 1rem; }
  .dayrow { grid-template-columns: 2rem minmax(0, 1fr); }
  .dayrow .t { grid-column: 2; text-align: left; order: -1; }
  .dayrow .n2 { grid-row: 1 / span 2; }
}

.trust { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); }
.trust-h { font-weight: 600; font-size: .98rem; margin: 0 0 .7rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.trust-list li { font-size: .9rem; padding: .35rem .75rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); color: var(--ink); }
.trust-list li b { font-weight: 600; }
.trust-note { margin: .75rem 0 0; color: var(--muted); font-size: .95rem; }
.tm { font-size: .8rem; opacity: .8; }
.hero + section.block:not(.tint) { padding-top: 1.25rem; }
@media (max-width: 640px) { section.block { padding-block: 2.5rem; } .hero { padding-block: 2.5rem 2rem; } }
