/* ============ Throughline marketing site — calm light editorial, ocean sweep ============ */
@font-face {
  font-family: "Jakarta";
  src: url(assets/jakarta-var.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SpaceMono";
  src: url(assets/space-mono.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5f1;        /* warm off-white canvas */
  --paper-2: #fdfdfb;      /* raised card */
  --ink: #12161f;          /* near-black, cool */
  --ink-soft: #39404d;
  --muted: #5d6472;
  --hairline: #e4e1d8;
  --hairline-2: #d8d5ca;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-text: #0e7d84;    /* product verdigris — readable on white */
  --blue: #2563eb;
  --ocean: linear-gradient(105deg, #0f766e 0%, #2563eb 100%);
  --shot-shadow: 0 2px 4px rgb(18 22 31 / .08), 0 32px 88px -28px rgb(18 22 31 / .38);
  --radius: 10px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html { overflow-x: clip; }
body {
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jakarta", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgb(13 148 136 / .18); }

h1, h2, h3 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.028em; font-weight: 750; }
p { max-width: 62ch; }

a { color: var(--teal-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid rgb(13 148 136 / .7); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- eyebrow labels: Space Mono, the operational voice ---------- */
.eyebrow {
  font-family: "SpaceMono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  flex: none;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(246 245 241 / .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-in {
  max-width: 1120px; margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 18.5px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- primary action: the product's own ocean button ---------- */
.btn-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 15.5px; letter-spacing: -0.005em;
  color: #ffffff !important; cursor: pointer; border: 0; border-radius: 9px;
  padding: 12px 22px;
  background: #141a26 !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 1px 3px rgb(18 22 31 / .25);
  transition: background 120ms ease;
}
.btn-action:hover { background: #232c40 !important; text-decoration: none; }
.btn-action.sm { padding: 9px 16px; font-size: 14.5px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15.5px; color: var(--ink-soft);
  padding: 12px 6px;
}
.btn-ghost:hover { color: var(--ink); text-decoration: none; }

/* ---------- the Line (signature device) ---------- */
main { position: relative; }
#lineSvg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2; overflow: visible;
}
#linePath { fill: none; stroke: url(#lineGrad); stroke-width: 2.5; stroke-linecap: round; }
.band { position: relative; z-index: 1; }


/* ---------- hero ---------- */
.hero { padding: clamp(64px, 9vh, 110px) 0 0; }
.hero-mark { margin-bottom: 64px; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  font-weight: 790;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero .sub {
  margin-top: 26px;
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 58ch;
}
.hero-ctas { display: flex; gap: 20px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.hero-shot { margin-top: clamp(48px, 7vh, 84px); position: relative; margin-bottom: 104px; }
.hero-glow {
  position: absolute; inset: -90px -70px -110px; pointer-events: none;
  background:
    radial-gradient(55% 55% at 72% 22%, rgb(13 148 136 / .16), transparent 70%),
    radial-gradient(45% 60% at 15% 85%, rgb(37 99 235 / .13), transparent 70%);
  filter: blur(24px);
}
.hero-float { position: absolute; right: clamp(-10px, -0.5vw, 0px); bottom: -90px; width: clamp(250px, 27vw, 330px); }
@media (max-width: 1020px) {
  .hero-float { position: static; margin: 18px 0 0 auto; width: min(420px, 100%); }
  .hero-shot { margin-bottom: 0; }
}
.shot-cap {
  font-family: "SpaceMono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-top: 14px;
}

/* ---------- bands ---------- */
.band-pad { padding: clamp(84px, 11vh, 136px) 0; }
.band h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 22ch; }
.lede { margin-top: 20px; font-size: 1.1rem; color: var(--ink-soft); }

/* problem band — high contrast text */
.problem p { font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; margin-top: 24px; }
.problem strong { color: var(--ink); font-weight: 700; }





/* ---------- product loop beats ---------- */
.beat {
  display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; margin-top: clamp(72px, 10vh, 110px);
}
.beat.flip .beat-copy { order: 2; }
.beat .k {
  font-family: "SpaceMono", ui-monospace, monospace; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-deep); display: block; margin-bottom: 12px;
}
.beat h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 14px; }
.beat p { color: var(--ink-soft); }
.beat ul { margin-top: 16px; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.beat li { padding-left: 20px; position: relative; font-size: .95rem; color: var(--muted); }
.beat li::before { content: ""; position: absolute; left: 0; top: .58em; width: 9px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue)); }
@media (max-width: 860px) { .beat { grid-template-columns: 1fr; } .beat.flip .beat-copy { order: 0; } }


/* ---------- crm block ---------- */
.crm {
  margin-top: clamp(84px, 11vh, 128px);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(56px, 8vh, 84px);
}
.crm p { margin-top: 22px; font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }


/* ---------- security ---------- */
.sec-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sec-card { background: var(--paper-2); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; }
.sec-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.sec-card p, .sec-card li { color: var(--ink-soft); font-size: .96rem; }
.sec-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: 6px; }
.sec-card li { padding-left: 20px; position: relative; }
.sec-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.sec-ask { margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
@media (max-width: 780px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- dark band: Seam shown in its own world ---------- */
.band-dark { background: #0b101c; color: #e8ebf4; }
.band-dark h2, .band-dark h3 { color: #f2f4fa; }
.band-dark .lede { color: #aab3c9; }
.band-dark .eyebrow { color: #2dd4bf; }
.band-dark .assist h3 { color: #f2f4fa; }
.band-dark .assist p { color: #8792ab; }
.band-dark .seam-rule { color: #8792ab; border-left-color: rgb(255 255 255 / .18); }

/* ---------- seam ---------- */
.seam-lead h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }


.assists { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.assist { border-top: 2px solid transparent; border-image: linear-gradient(90deg, var(--teal), var(--blue)) 1; padding-top: 18px; }
.assist h3 { font-size: 1rem; margin-bottom: 6px; }
.assist p { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .assists { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .assists { grid-template-columns: 1fr; } }
.seam-rule { margin-top: 56px; font-size: .95rem; color: var(--muted); border-left: 2px solid var(--hairline-2); padding-left: 18px; max-width: 62ch; }


/* ---------- demo ---------- */
.demo-grid { margin-top: 48px; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.demo-form {
  background: var(--paper-2); border: 1px solid var(--hairline); border-radius: 14px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 1px 2px rgb(18 22 31 / .05), 0 20px 60px -30px rgb(18 22 31 / .25);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label {
  font-family: "SpaceMono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--hairline-2); border-radius: 8px;
  padding: 11px 13px; width: 100%;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgb(13 148 136 / .55); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.expect { padding-top: 6px; }
.expect ul { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.expect li { padding-left: 24px; position: relative; color: var(--ink-soft); font-size: .98rem; }
.expect li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 6px; height: 10px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(40deg);
}
.demo-ok { display: none; text-align: center; padding: 40px 10px; }
.demo-ok h3 { font-size: 1.3rem; margin-bottom: 10px; }
.demo-ok p { color: var(--ink-soft); margin: 0 auto; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hairline); padding: 56px 0 44px; margin-top: clamp(84px, 11vh, 136px); }
.foot-grid { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.foot-brand p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 44ch; }
.foot-tag { font-weight: 650; letter-spacing: -0.01em; margin-top: 10px; color: var(--ink-soft); font-size: .98rem; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; }
.foot-links a, .foot-links button {
  font: inherit; font-size: .93rem; color: var(--ink-soft); background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
}
.foot-links a:hover, .foot-links button:hover { color: var(--ink); text-decoration: none; }
.foot-head { font-family: "SpaceMono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- dialogs ---------- */
dialog {
  border: 1px solid var(--hairline); border-radius: 14px; padding: 36px;
  max-width: 560px; width: calc(100vw - 48px);
  background: var(--paper-2); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgb(18 22 31 / .4);
}
dialog::backdrop { background: rgb(18 22 31 / .35); backdrop-filter: blur(3px); }
dialog h3 { margin-bottom: 14px; }
dialog p { color: var(--ink-soft); font-size: .96rem; }
dialog .close { margin-top: 24px; }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- hero mark reveal ---------- */
.hero-mark .wipe { clip-path: inset(-4% 102% -4% -2%); animation: wipe 1s cubic-bezier(.4,0,.2,1) .1s forwards; }
.hero-mark .pop { opacity: 0; animation: pop .4s ease forwards; animation-delay: var(--d, 1s); }
@keyframes wipe { to { clip-path: inset(-4% -2% -4% -2%); } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-mark .wipe { animation: none; clip-path: none; }
  .hero-mark .pop { animation: none; opacity: 1; }
}


/* ================= product vignettes — hand-authored UI, no rasters ================= */
.ui { font-size: 13.5px; line-height: 1.45; color: #e2e7f4; text-align: left; font-weight: 450; }
.ui-card {
  background: linear-gradient(180deg, #111a30 0%, #0c1322 100%);
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgb(6 10 22 / .45), 0 36px 90px -28px rgb(6 10 22 / .6);
  padding: 20px 22px;
}
.ui-mono { font-family: "SpaceMono", ui-monospace, monospace; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b7694; }
.ui-title { font-weight: 700; font-size: 16px; letter-spacing: -.015em; color: #f2f5fc; }
.ui-sub { color: #8d99b8; font-size: 12.5px; }
.ui-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 650; white-space: nowrap; flex: none; }
.ui-pill.amber { background: rgb(245 194 107 / .13); color: #f5c26b; border: 1px solid rgb(245 194 107 / .35); }
.ui-pill.teal { background: rgb(45 212 191 / .11); color: #2dd4bf; border: 1px solid rgb(45 212 191 / .35); }
.ui-tile { background: rgb(255 255 255 / .035); border: 1px solid rgb(148 163 199 / .16); border-radius: 10px; padding: 10px 12px; }
.ui-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgb(148 163 199 / .28); border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 550; color: #c7cfe4; background: rgb(255 255 255 / .02); white-space: nowrap; }
.ui-chip.accent { border-color: rgb(45 212 191 / .5); color: #2dd4bf; background: rgb(45 212 191 / .07); }
.ui-btn { display: inline-flex; align-items: center; border-radius: 8px; padding: 6px 13px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.ui-btn.primary { background: #eef1f9; color: #12161f; box-shadow: 0 1px 2px rgb(4 8 18 / .4); }
.ui-btn.ghost { color: #8d99b8; border: 1px solid rgb(148 163 199 / .22); }
.ui-avatar { width: 24px; height: 24px; border-radius: 50%; background: #2c3554; color: #cbd5f0; display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; flex: none; }
.ui-input { border: 1px solid rgb(148 163 199 / .2); background: rgb(4 8 18 / .55); border-radius: 8px; padding: 7px 11px; font-size: 12px; color: #6b7694; }
.ui-hr { height: 1px; background: rgb(148 163 199 / .14); border: 0; margin: 14px 0; }
.ui-check { width: 14px; height: 14px; border: 1.5px solid rgb(148 163 199 / .5); border-radius: 4px; flex: none; }
.ui-flex { display: flex; align-items: center; gap: 10px; }

.ui-parties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.ui-party > .ui-mono { display: block; margin-bottom: 7px; }
.ui-party.p-vend > .ui-mono { color: #86a8f5; }
.ui-party.p-us > .ui-mono { color: #b3a5ef; }
.ui-party.p-whol > .ui-mono { color: #4ed0a6; }
.ui-party.p-end > .ui-mono { color: #f5c26b; }
.ui-party .ui-tile { min-height: 68px; }
.ui-party .nm { font-weight: 650; font-size: 12.5px; color: #eef1f9; display: block; line-height: 1.3; }
.ui-party .who { margin-top: 7px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8d99b8; }
.ui-party.p-us .ui-tile { border-color: rgb(179 165 239 / .4); background: rgb(179 165 239 / .06); }
@media (max-width: 700px) { .ui-parties { grid-template-columns: 1fr 1fr; } }

.ui-task { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 12.5px; color: #dbe2f2; }
.ui-task + .ui-task { border-top: 1px solid rgb(148 163 199 / .1); }
.ui-task .due { margin-left: auto; font-size: 11px; color: #6b7694; white-space: nowrap; }
.ui-task .due.red { color: #f87171; }

.ui-pane { background: linear-gradient(180deg, #131c33, #0d1424); border: 1px solid rgb(255 255 255 / .12); border-radius: 16px; box-shadow: 0 3px 8px rgb(4 8 18 / .5), 0 40px 100px -30px rgb(4 8 18 / .7); overflow: hidden; }
.ui-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 10px; border-bottom: 1px solid rgb(255 255 255 / .07); }
.ui-pane-head .live { font-family: "SpaceMono", ui-monospace, monospace; font-size: 9px; letter-spacing: .08em; color: #4ed0a6; }
.ui-pane-head .wm { font-family: "SpaceMono", ui-monospace, monospace; font-size: 11px; letter-spacing: .3em; color: #eef1f9; text-align: center; }
.ui-pane-head .wm::after { content: ""; display: block; height: 2px; width: 26px; margin: 3px auto 0; background: linear-gradient(90deg, #2dd4bf, #4f9af8); border-radius: 2px; }
.ui-pane-head .x { color: #6b7694; font-size: 12px; }
.ui-pane-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ui-bub { border-radius: 12px; padding: 9px 12px; font-size: 12.5px; max-width: 94%; }
.ui-bub.user { align-self: flex-end; background: rgb(45 212 191 / .12); border: 1px solid rgb(45 212 191 / .3); color: #d9f6f1; border-bottom-right-radius: 4px; }
.ui-bub.seam { align-self: flex-start; background: rgb(255 255 255 / .045); border: 1px solid rgb(255 255 255 / .09); color: #dbe2f2; border-bottom-left-radius: 4px; }
.ui-bub strong { color: #f2f5fc; font-weight: 650; }
.ui-kv { display: grid; grid-template-columns: 74px 1fr; gap: 4px 10px; font-size: 12px; margin: 0; }
.ui-kv dt { color: #6b7694; }
.ui-kv dd { color: #e6ebf7; margin: 0; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 7px; }

.ui-att { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgb(148 163 199 / .16); border-radius: 8px; padding: 6px 10px; font-size: 11.5px; color: #cbd3e8; }
.ui-att .pdf { font-family: "SpaceMono", ui-monospace, monospace; font-size: 8px; letter-spacing: .06em; background: #b64040; color: #fff; border-radius: 3px; padding: 2px 4px; }


.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ui-kpi .n { font-size: 22px; font-weight: 750; letter-spacing: -.02em; color: #f2f5fc; font-variant-numeric: tabular-nums; display: block; margin-top: 4px; }
.ui-kpi .s { font-size: 10.5px; color: #8d99b8; display: block; margin-top: 2px; }
.ui-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.ui-day { border: 1px dashed rgb(148 163 199 / .18); border-radius: 9px; min-height: 88px; padding: 7px 8px; }
.ui-day.has { border-style: solid; border-color: rgb(148 163 199 / .16); background: rgb(255 255 255 / .025); }
.ui-day .d { margin-bottom: 6px; display: block; }
.ui-day .t { font-size: 10.5px; line-height: 1.35; color: #dbe2f2; background: rgb(79 154 248 / .1); border: 1px solid rgb(79 154 248 / .28); border-radius: 7px; padding: 6px 7px; display: block; }
.ui-attn { margin-top: 12px; font-size: 11.5px; color: #f5c26b; background: rgb(245 194 107 / .07); border: 1px solid rgb(245 194 107 / .25); border-radius: 8px; padding: 7px 11px; }
@media (max-width: 700px) {
  .ui-kpis { grid-template-columns: 1fr 1fr; }
  .ui-chip { white-space: normal; text-align: left; }
  .ui-bub { max-width: 100%; }
}
.ui-tile { min-width: 0; }
.ui-flex > * { min-width: 0; }

.vig { position: relative; }
.ui-left { max-width: 56%; }
.mail-col { max-width: 47%; }
@media (max-width: 860px) { .mail-col { max-width: 100%; } }
@media (max-width: 860px) { .ui-left { max-width: 100%; } }
.vig .over { position: absolute; }
@media (max-width: 860px) { .vig .over { position: static; margin-top: 14px; width: 100% !important; } .vig { padding-bottom: 0 !important; } }

.seam-panes { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); gap: 28px; justify-content: center; align-items: start; }
.seam-panes figcaption { margin-top: 12px; font-size: .88rem; color: #8792ab; line-height: 1.5; padding-inline: 2px; }
@media (max-width: 860px) { .seam-panes { grid-template-columns: minmax(0, 460px); } }


/* ================= storyboard scenes — staged product demos ================= */
[data-scene] .ui-chip, [data-scene] .ui-btn { transition: transform .18s ease, filter .18s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.pressing { transform: scale(.92) !important; filter: brightness(1.35); }
@keyframes msgIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: none; } }
@keyframes rowGlow { 0% { background: transparent; } 22% { background: rgb(45 212 191 / .14); } 100% { background: transparent; } }
@keyframes sugIn { from { opacity: .15; transform: scale(.955); } to { opacity: 1; transform: none; } }
@keyframes caretB { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes dotB { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-3px); opacity: 1; } }
@keyframes cntUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: #7ee8da; margin-left: 2px; vertical-align: text-bottom; animation: caretB .95s steps(1) infinite; }

/* seam thinking dots — visible only mid-scene */
.dots { display: none; gap: 4px; align-items: center; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: #8d99b8; animation: dotB 1s ease infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
[data-scene="hero"].s3:not(.s4) .dots { display: inline-flex; }

/* hero scene */
[data-scene="hero"] .hero-float { transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.25,1); }
[data-scene="hero"].armed .hero-float { opacity: 0; transform: translateY(18px); }
[data-scene="hero"].armed.s1 .hero-float { opacity: 1; transform: none; }
[data-scene="hero"].armed .an-conf, [data-scene="hero"].armed .an-logged { display: none; }
[data-scene="hero"].armed .an-chips, [data-scene="hero"].armed .an-undo { display: none; }
[data-scene="hero"].s4 .an-conf { display: block; animation: msgIn .4s ease; }
[data-scene="hero"].s4 .an-chips { display: flex; animation: msgIn .45s ease .08s backwards; }
[data-scene="hero"].s6 .an-logged { display: block; animation: msgIn .4s ease; }
[data-scene="hero"].s6 .an-undo { display: flex; animation: msgIn .45s ease .08s backwards; }
[data-scene="hero"].s5 .chip-confirm { background: rgb(45 212 191 / .2); border-color: #2dd4bf; color: #d9f6f1; }
[data-scene="hero"] .rem-chip { transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.4); }
[data-scene="hero"].armed .rem-chip { opacity: 0; transform: scale(.7); }
[data-scene="hero"].s7 .rem-chip { opacity: 1; transform: none; }
[data-scene="hero"].s7 .task-remind { animation: rowGlow 1.5s ease 1; }

/* capture scene */
[data-scene="cap"].s1 .an-sug { animation: sugIn .55s ease; }
[data-scene="cap"] .lbl-a { display: none; }
[data-scene="cap"].armed:not(.s3) .lbl-a { display: inline; }
[data-scene="cap"].armed:not(.s3) .lbl-b { display: none; }
[data-scene="cap"].s3 .an-capbtn { background: rgb(45 212 191 / .16); color: #2dd4bf; box-shadow: inset 0 0 0 1px rgb(45 212 191 / .55); }
.cap-stamp { white-space: normal; text-align: left; transition: opacity .4s ease, transform .4s cubic-bezier(.2,.9,.3,1.35); }
[data-scene="cap"].armed .cap-stamp { opacity: 0; transform: translateY(6px) scale(.9); }
[data-scene="cap"].s4 .cap-stamp { opacity: 1; transform: none; }


/* mention scene */
.ui-mention { color: #2dd4bf; background: rgb(45 212 191 / .1); border: 1px solid rgb(45 212 191 / .3); border-radius: 6px; padding: 1px 6px; font-weight: 650; font-size: 11.5px; }
.an-composer { color: #dbe2f2; font-size: 12px; }
.cmp-typed { display: none; }
[data-scene="mention"].armed:not(.s3) .cmp-typed { display: inline; }
[data-scene="mention"].armed:not(.s3) .cmp-final { display: none; }
[data-scene="mention"].s3 .cmp-final { animation: msgIn .3s ease; }
.an-auto { display: none; position: absolute; z-index: 3; left: 0; top: calc(100% + 6px); width: min(300px, 94%); box-shadow: 0 18px 44px -12px rgb(4 8 18 / .8); background: #131c33; }
[data-scene="mention"].s1:not(.s3) .an-auto { display: block; animation: msgIn .3s ease; }
.an-posted { font-size: 11.5px; color: #8d99b8; margin-top: 10px; transition: opacity .45s ease, transform .45s ease; }
.an-posted .ok { color: #4ed0a6; font-weight: 700; }
[data-scene="mention"].armed .an-posted { opacity: 0; transform: translateY(6px); }
[data-scene="mention"].s4 .an-posted { opacity: 1; transform: none; }


/* seam band: today-queue pane */
.ui-check.fill { background: #2dd4bf; border-color: #2dd4bf; position: relative; }
.ui-check.fill::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: #052030; }
[data-scene="sq"].armed:not(.s2) .an-c1.fill { background: transparent; border-color: rgb(148 163 199 / .5); }
[data-scene="sq"].armed:not(.s2) .an-c1.fill::after { content: none; }
[data-scene="sq"].s2 .an-t1 { animation: rowGlow 1.2s ease 1; }


@media (prefers-reduced-motion: reduce) {
  [data-scene] *, .dots i { animation: none !important; }
}

/* ---------- seat router (screen two) ---------- */
.seatnav { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seatnav a {
  background: var(--paper-2); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.seatnav a:hover { text-decoration: none; border-color: rgb(13 148 136 / .55); transform: translateY(-2px); }
.seatnav .who {
  font-family: "SpaceMono", ui-monospace, monospace; font-size: 10.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--teal-deep);
}
.seatnav-more { margin-top: 18px; font-size: .92rem; color: var(--muted); max-width: 62ch; }
.seatnav .t { font-weight: 600; font-size: .95rem; color: var(--ink-soft); letter-spacing: -0.01em; }
.seatnav a:hover .t { color: var(--ink); }
@media (max-width: 780px) { .seatnav { grid-template-columns: 1fr; } }

/* ---------- FOR REPS band (v8.1) ---------- */
.problem-p { font-size: clamp(1.08rem, 1.7vw, 1.26rem); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; margin-top: 24px; }
.problem-p strong { color: var(--ink); font-weight: 700; }
.honest {
  margin-top: 34px; font-size: .95rem; color: var(--muted);
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--teal), var(--blue)) 1;
  padding-left: 18px; max-width: 62ch;
}
.band-close {
  margin: clamp(84px, 11vh, 128px) auto 0; text-align: center;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 650; letter-spacing: -0.015em;
  max-width: 44ch; color: var(--ink);
}
.ui-kpis.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .ui-kpis.three { grid-template-columns: 1fr 1fr; } }
.ui-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; }
.ui-row + .ui-row { border-top: 1px solid rgb(148 163 199 / .12); }
.ui-row .body { min-width: 0; }
.ui-row .who { font-weight: 650; font-size: 13px; color: #eef1f9; line-height: 1.35; }
.ui-row .meta { font-size: 11.5px; color: #8d99b8; margin-top: 2px; }
.ui-row .end { margin-left: auto; flex: none; }
.trail { position: relative; padding-left: 24px; margin-top: 12px; display: flex; flex-direction: column; gap: 14px; }
.trail::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #2dd4bf, #4f9af8); transform-origin: top; }
.trail .stop { position: relative; }
.trail .stop::before { content: ""; position: absolute; left: -24px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #0c1322; border: 2px solid #2dd4bf; }
.trail .stop:last-child::before { border-color: #4f9af8; }
.trail .d { font-family: "SpaceMono", ui-monospace, monospace; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #6b7694; display: block; }
.trail .t { font-size: 12.5px; color: #dbe2f2; }
.trail .t strong { color: #f2f5fc; font-weight: 650; }
.duo { margin-top: clamp(72px, 10vh, 110px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.duo h3 { font-size: 1.25rem; margin-bottom: 10px; }
.duo p { color: var(--ink-soft); font-size: .96rem; }
.duo figure { margin-top: 18px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* reveal-staged motion for the duo vignettes */
html.js-anim .rv .trail::before { transform: scaleY(0); }
html.js-anim .rv.on .trail::before { transform: scaleY(1); transition: transform 1.1s cubic-bezier(.4,0,.2,1) .25s; }
html.js-anim .rv .trail .stop { opacity: 0; }
html.js-anim .rv.on .trail .stop { opacity: 1; animation: msgIn .5s ease backwards; }
html.js-anim .rv.on .trail .stop:nth-child(1) { animation-delay: .3s; }
html.js-anim .rv.on .trail .stop:nth-child(2) { animation-delay: .55s; }
html.js-anim .rv.on .trail .stop:nth-child(3) { animation-delay: .8s; }
html.js-anim .rv.on .trail .stop:nth-child(4) { animation-delay: 1.05s; }
html.js-anim .rv .an-refresh { opacity: 0; }
html.js-anim .rv.on .an-refresh { opacity: 1; animation: popIn .35s cubic-bezier(.2,.9,.3,1.35) .8s backwards; }
html.js-anim .rv.on .an-refreshrow { animation: rowGlow 1.5s ease .8s 1; }

/* line-transition scene */
[data-scene="trans"].armed .an-ready { display: none; }
[data-scene="trans"].s2 .an-ready { display: flex; animation: popIn .35s cubic-bezier(.2,.9,.3,1.35); }
[data-scene="trans"].s1 .an-build { background: rgb(45 212 191 / .16); color: #2dd4bf; box-shadow: inset 0 0 0 1px rgb(45 212 191 / .55); }
[data-scene="trans"]:not(.armed) .an-ready { display: flex; }

/* event floor-capture scene */
[data-scene="events"].armed .an-ebub, [data-scene="events"].armed .an-econf { display: none; }
[data-scene="events"].armed .an-echips { display: none; }
[data-scene="events"].s1 .an-ebub { display: block; animation: msgIn .4s ease; }
[data-scene="events"].s2:not(.s3) .dots { display: inline-flex; }
[data-scene="events"].s3 .an-econf { display: block; animation: msgIn .4s ease; }
[data-scene="events"].s3 .an-echips { display: flex; animation: msgIn .45s ease .08s backwards; }

/* line-review scene */
[data-scene="digest"].armed .an-pack .ui-kpi { opacity: 0; }
[data-scene="digest"].s2 .an-pack .ui-kpi { opacity: 1; animation: cntUp .4s ease backwards; }
[data-scene="digest"].s2 .an-pack .ui-kpi:nth-child(2) { animation-delay: .09s; }
[data-scene="digest"].s2 .an-pack .ui-kpi:nth-child(3) { animation-delay: .18s; }
[data-scene="digest"].s2 .an-pack .ui-kpi:nth-child(4) { animation-delay: .27s; }
[data-scene="digest"].armed .an-share { opacity: 0; }
[data-scene="digest"].s2 .an-share { opacity: 1; animation: msgIn .4s ease .45s backwards; }
[data-scene="digest"].s1 .an-gen { background: rgb(45 212 191 / .16); color: #2dd4bf; box-shadow: inset 0 0 0 1px rgb(45 212 191 / .55); }


@media (prefers-reduced-motion: reduce) {
  [data-scene="trans"].armed .an-ready, [data-scene="events"].armed .an-echips { display: flex; }
  [data-scene="events"].armed .an-ebub, [data-scene="events"].armed .an-econf { display: block; }
  [data-scene="digest"].armed .an-pack .ui-kpi, [data-scene="digest"].armed .an-share { opacity: 1 !important; }
  html.js-anim .rv .trail::before { transform: none; }
  html.js-anim .rv .trail .stop, html.js-anim .rv .an-refresh { opacity: 1; animation: none !important; }
}

/* ---------- viewer-theme guard: this page commits to its own palette ---------- */
:root[data-theme="dark"], :root[data-theme="light"] { color-scheme: light; }
html, body, [data-theme] body { background: var(--paper) !important; color: var(--ink) !important; }
[data-theme] a:not(.btn-action) { color: var(--teal-text); }
[data-theme] .nav-links a:not(.btn-action) { color: var(--ink-soft) !important; }
[data-theme] .brand { color: var(--ink) !important; }
[data-theme] .btn-ghost { color: var(--ink-soft) !important; }
[data-theme] .foot-links a, [data-theme] .foot-links button { color: var(--ink-soft) !important; }
input, select, textarea { background: #ffffff !important; color: var(--ink) !important; }
dialog { background: var(--paper-2) !important; color: var(--ink) !important; }

@media (max-width: 700px) {
  .nav-links a:not(.btn-action) { display: none; }
  body { font-size: 16px; }
}

/* ---------- hero trust line ---------- */
.trust { margin-top: 26px; font-size: .95rem; color: var(--muted); max-width: 60ch; display: flex; align-items: center; gap: 10px; }
.trust::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue)); flex: none; }

/* ---------- confirm strip (move 02) ---------- */
.confirm-strip { margin-top: clamp(56px, 8vh, 84px); border-block: 1px solid var(--hairline); padding: 30px 0; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.confirm-strip .k { font-family: "SpaceMono", ui-monospace, monospace; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); flex: none; }
.confirm-strip p { margin: 0; color: var(--ink-soft); font-size: .98rem; max-width: 70ch; }

/* ---------- getting started ---------- */
.onb-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.onb { background: var(--paper-2); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 24px; }
.onb h3 { font-size: 1.08rem; margin-bottom: 8px; }
.onb p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .onb-grid { grid-template-columns: 1fr; } }
