/* Operations Layer — home page styles
   Design system: BUILD-PLAN.md §3. Hand-written, no framework. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
/* IBM Plex Sans (variable: wght 100-700, wdth 75-100) and IBM Plex Mono. Blake picked Plex, 2026-11-10 16:09 ("d"). */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-latin.woff2") format("woff2");
  font-weight: 100 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-600-latin.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #060606;  --bg-2: #0c0c0b;  --card: #111110;  --card-2: #181716;
  --line: rgba(255,240,225,.08);  --line-2: rgba(255,240,225,.15);
  --ink: #f5f2ec;
  --body: #cfcac1;
  --muted: #a39d93;
  --accent: #e05c3b;
  --accent-fill: #c54a2c;
  --accent-soft: rgba(197,74,44,.16);
  --ok: #6fbf8a; --wait: #e3b341;
  --radius: 22px; --radius-sm: 14px; --max: 1240px;
  --ease: cubic-bezier(.16,1,.3,1);
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 76px;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg); color-scheme: dark;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--sans); font-size: 18px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent-fill); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; min-height: 44px;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Type ---------- */
.h1 {
  font-size: clamp(42px, 6.2vw, 84px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.02;
}
.h2 {
  font-size: clamp(34px, 4.2vw, 56px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.06;
}
.h3 { font-size: clamp(22px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.accent-text { color: var(--accent); }
.lead { font-size: clamp(18px, 1.45vw, 20px); color: var(--body); }
.lead b, p b, li b { color: var(--ink); font-weight: 600; }
.mono { font-family: var(--mono); }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg-2); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
}
.eyebrow svg { width: 15px; height: 15px; flex: none; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-family: var(--sans); white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), color .2s, background-color .2s;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .35s var(--ease); }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, #1f1d1a, #0f0e0c);
  border: 1px solid var(--line-2);
  font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255,240,225,.06) inset, 0 10px 30px -12px rgba(0,0,0,.8);
}
.btn-primary::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, #f2895f, transparent);
  box-shadow: 0 0 12px 1px rgba(224,92,59,.55);
  opacity: .85; transition: opacity .35s var(--ease), left .35s var(--ease), right .35s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); border-color: rgba(242,137,95,.35); box-shadow: 0 1px 0 rgba(255,240,225,.08) inset, 0 16px 40px -14px rgba(197,74,44,.45); }
.btn-primary:hover::after { opacity: 1; left: 12%; right: 12%; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  color: var(--muted); border: 1px solid var(--line-2); background: transparent;
  font-size: 17px; font-weight: 600;
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(255,240,225,.3); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13px; gap: 10px; }
.btn-sm svg { width: 15px; height: 15px; }

/* ---------- Review flags (build only: visible when <html class="review">) ---------- */
.flag { display: none; }
.review .flag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px/1.3 var(--mono); letter-spacing: 0; text-transform: none;
  color: #ffd9c9; background: rgba(197,74,44,.22);
  border: 1px dashed rgba(242,137,95,.7); border-radius: 8px; padding: 4px 8px;
  vertical-align: middle; -webkit-text-fill-color: #ffd9c9;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,6,6,.94); border-bottom: 1px solid var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); margin-right: auto; }
.brand .mark { width: 34px; height: 36px; }
.brand-word { font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: -0.01em; }
.brand-word span { display: block; }
.mark .m-top { stroke: var(--accent-fill); }
.mark .m-base { stroke: var(--ink); }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--muted); font-size: 17px; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: none; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
  display: inline-grid; place-items: center; color: var(--ink);
}
.menu-btn .bars { position: relative; width: 18px; height: 12px; }
.menu-btn .bars i {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.menu-btn .bars i:nth-child(1) { top: 0; }
.menu-btn .bars i:nth-child(2) { top: 5px; }
.menu-btn .bars i:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: var(--bg); overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 12px var(--gutter) max(28px, env(safe-area-inset-bottom));
}
.menu[hidden] { display: none; }
.menu ul { flex: 1; }
.menu li { border-bottom: 1px solid var(--line); }
.menu li a {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
}
.menu li a svg { width: 20px; height: 20px; color: var(--muted); }
.menu .btn { width: 100%; margin-top: 28px; }

@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  /* Neutral charcoal light falling from the top, filling down into black (Blake, 15:55: darker, less orange glow, some gradient) */
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(235,232,226,.075), transparent 72%),
    radial-gradient(ellipse 120% 80% at 50% 0%, #121211 0%, transparent 70%),
    linear-gradient(180deg, #0c0c0b 0%, var(--bg) 100%);
}
.hero-net {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  opacity: .75;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 100%);
}
.hero-inner { padding: clamp(56px, 8vw, 104px) 0 clamp(80px, 11vw, 136px); }
.byline {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  font-size: 17px; line-height: 1.4; color: var(--muted); text-align: left;
}
.byline b { color: var(--ink); font-weight: 600; }
.byline-face {
  width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-2);
}
.hero-flags { display: flex; justify-content: center; margin: 22px 0 -6px; }
.review .flag { max-width: 100%; text-align: left; }
.hero-title { margin: 28px auto 0; max-width: 12.6em; }
.typed-slot { display: grid; justify-items: center; }
.typed-slot > * { grid-area: 1 / 1; }
.typed-sizer { visibility: hidden; }
.typed { white-space: normal; }
.caret {
  display: inline-block; width: .055em; height: .82em; margin-left: .06em;
  background: var(--accent-fill); vertical-align: -0.04em; border-radius: 2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { margin: 30px auto 0; max-width: 46rem; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-note { margin: 28px auto 0; max-width: 40rem; font-size: 17px; color: var(--muted); line-height: 1.5; }

@media (max-width: 560px) {
  .byline-dot { display: none; }
  .byline-place { display: block; }
  .hero-sub { margin-top: 18px; }
  .hero-actions .btn { width: 100%; max-width: 360px; }
  .hero-note { max-width: 330px; }
}
@media (max-width: 359px) { .hero-title { font-size: 40px; } }

/* ---------- Sections (shared) ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; border-top: 1px solid var(--line); position: relative; }
.section-head { max-width: 46rem; }
.section-head .h2 { margin-top: 22px; }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Reveal on scroll (only hidden when JS runs and motion is allowed) */
.js.motion .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.motion .reveal.in { opacity: 1; transform: none; }

/* Quiet section label (replaces the plan's pill eyebrow: Blake asked for less template look) */
.label {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font: 600 13px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 22px; height: 1px; background: var(--accent-fill); }

/* ---------- 5.2 Works with what you already run ---------- */
.tools { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0; text-align: center; overflow: hidden; }
.tools-title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.tools-head p { margin: 12px auto 0; max-width: 46rem; color: var(--body); }
.marquee {
  margin-top: 36px; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.chips { display: flex; gap: 14px; padding-right: 14px; }
.chips li {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  min-height: 64px; padding: 0 26px; border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--bg-2); color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
}
.brand-glyph { width: 24px; height: 24px; flex: none; color: var(--c); }
.brand-glyph.generic { color: var(--muted); }
.chips li:has(.generic) { color: var(--body); font-weight: 500; }
.tools-note { margin-top: 22px; font-size: 17px; color: var(--muted); }
.tools-note .flag { margin-left: 8px; }
.motion .marquee-track { animation: marquee 48s linear infinite; }
.motion .marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* Static version (reduced motion or no JS): one wrapped row, no duplicate */
html:not(.motion) .marquee { -webkit-mask-image: none; mask-image: none; }
html:not(.motion) .marquee-track { width: auto; justify-content: center; }
html:not(.motion) .chips { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
html:not(.motion) .chips.dup { display: none; }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  background: var(--card) radial-gradient(120% 90% at 0% 0%, rgba(255,245,235,.045), transparent 55%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}

/* ---------- 5.4 Sound familiar (bento) ---------- */
.bento { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .p1 { grid-column: span 7; } .p2 { grid-column: span 5; }
  .p3 { grid-column: span 5; } .p4 { grid-column: span 7; }
  .p6 { grid-column: span 5; } .p5 { grid-column: span 7; }
}
.js.motion .bento .reveal:nth-child(2) { transition-delay: .06s; }
.js.motion .bento .reveal:nth-child(3) { transition-delay: .03s; }
.js.motion .bento .reveal:nth-child(4) { transition-delay: .09s; }

/* Problem cards: realistic everyday artifacts (Blake 20:06: "more realistic looking instead of the ai slop look").
   Artifacts use the real tools' look (light UI, system fonts) so they read as screenshots, not drawings. */
.prob { display: flex; flex-direction: column; gap: 22px; padding: 12px 12px clamp(22px, 2.6vw, 30px); }
.prob > p, .p7-text p { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 36rem; padding: 0 clamp(10px, 1.6vw, 20px); }
.pv {
  --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  position: relative; height: 290px; overflow: hidden; border-radius: 14px;
  background: linear-gradient(180deg, #232220, #191917); border: 1px solid var(--line);
  font-family: var(--sys); -webkit-font-smoothing: antialiased;
}
.pv-tag {
  position: absolute; z-index: 5; left: 12px; top: 10px; padding: 3px 8px; border-radius: 6px;
  background: rgba(6,6,6,.72); color: #c9c3b8; font: 600 11px/1.3 var(--mono); letter-spacing: .02em;
}
.probs-note { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* 1 · three windows, same order typed three times (third one has a typo) */
.pv-windows .w2 { position: absolute; width: 46%; max-width: 340px; background: #fff; color: #1f2328; border-radius: 9px; overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.08); font-size: 13px; }
.w-form { left: 4%; top: 52px; transform: rotate(-1.5deg); }
.w-xl { left: 28%; top: 92px; }
.w-inv { left: 51%; top: 130px; transform: rotate(1.2deg); }
.w2-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: #f1f1f1; border-bottom: 1px solid #e2e2e2; }
.w2-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d0d0d0; }
.w2-bar i:nth-child(1) { background: #ff5f57; } .w2-bar i:nth-child(2) { background: #febc2e; } .w2-bar i:nth-child(3) { background: #28c840; }
.w2-bar span { margin-left: 6px; font-weight: 600; color: #3b3f45; font-size: 12px; }
.w2-bar.xl { background: #1e6e42; border-color: #185a36; }
.w2-bar.xl span { color: #fff; margin-left: 0; }
.w2-body { display: grid; gap: 3px; padding: 10px 12px 12px; }
.f-l { font-size: 11px; color: #57606a; }
.f-i { padding: 5px 8px; margin-bottom: 4px; border: 1px solid #d0d7de; border-radius: 5px; color: #1f2328; }
.f-t { color: #1f2328; margin-bottom: 4px; }
.typo { text-decoration: underline wavy #d1242f; text-underline-offset: 3px; }
.mini-grid { display: grid; grid-template-columns: 60px 70px 1fr; font: 13px/1.2 Calibri, Carlito, "Segoe UI", Arial, sans-serif; }
.mini-grid span { padding: 6px 7px; border-right: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; color: #1f2328; white-space: nowrap; }
.mini-grid .h { background: #f3f3f3; color: #555; text-align: center; padding: 3px; }

/* 2 · text thread */
.pv-phone { display: flex; justify-content: center; }
.phone { position: absolute; top: 36px; width: 78%; max-width: 330px; height: 300px; background: #fff; border-radius: 26px 26px 0 0;
  border: 6px solid #2b2b2d; border-bottom: 0; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); overflow: hidden; }
.ph-top { display: grid; justify-items: center; gap: 1px; padding: 7px 0 6px; background: #f7f7f8; border-bottom: 1px solid #e6e6e8; }
.ph-top b { font-size: 13px; color: #111; font-weight: 600; }
.ph-top > span:last-child { font-size: 11px; color: #666; }
.ph-av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #6e737c linear-gradient(#7d828b, #62676f); color: #fff; font-size: 12px; font-weight: 600; }
.ph-msgs { display: flex; flex-direction: column; gap: 5px; padding: 8px 10px; }
.bub { max-width: 80%; padding: 6px 11px; border-radius: 16px; font-size: 13px; line-height: 1.28; }
.bub.in { align-self: flex-start; background: #e9e9eb; color: #111; border-bottom-left-radius: 5px; }
.bub.out { align-self: flex-end; background: #0062d6; color: #fff; border-bottom-right-radius: 5px; }

/* 3 · sticky notes nobody owns */
.pv-notes { background: linear-gradient(180deg, #2a2926, #1d1c1a); }
.sticky {
  position: absolute; width: 168px; height: 150px; padding: 18px 16px; color: #2b2a1f;
  font: 22px/1.25 "Noteworthy", "Marker Felt", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  background: #fbe96a linear-gradient(170deg, #fff6a6, #fbe96a 70%, #f1dc55);
  box-shadow: 0 1px 1px rgba(0,0,0,.15), 0 16px 22px -12px rgba(0,0,0,.7);
}
.sticky::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: linear-gradient(135deg, #e7d24a 50%, rgba(0,0,0,.18) 50%); }
.s-back { left: 54%; top: 40px; transform: rotate(6deg); background: #ffc77d linear-gradient(170deg, #ffd9a8, #ffc77d 75%, #f6b964); font-size: 20px; }
.s-back::after { background: linear-gradient(135deg, #f0b25c 50%, rgba(0,0,0,.18) 50%); }
.s-front { left: 14%; top: 70px; transform: rotate(-4deg); }
.s-front .who { display: block; margin-top: 10px; font-size: 17px; color: #5c561c; }

/* 4 · inbox full of "where's my order?" */
.mail { position: absolute; left: 6%; right: 6%; top: 40px; background: #fff; border-radius: 10px 10px 0 0; overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); color: #1f1f1f; }
.mail-top { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e5e5e5; background: #f5f7fa; }
.mail-top b { font-size: 14px; }
.mail-top span { font-size: 12px; color: #0b57d0; font-weight: 600; }
.mail li { display: grid; grid-template-columns: 8px 64px 1fr auto; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #ededed; font-size: 13.5px; }
.mail li i { width: 8px; height: 8px; border-radius: 50%; background: #0b57d0; }
.mail li b { font-weight: 700; color: #1f1f1f; }
.mail li > span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail li time { font-size: 12px; color: #5f6368; font-weight: 600; }

/* 5 · the spreadsheet everything runs on */
.xls { position: absolute; left: 5%; right: 5%; top: 40px; background: #fff; border-radius: 8px 8px 0 0; overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); font: 13px/1.2 Calibri, Carlito, "Segoe UI", Arial, sans-serif; color: #1f1f1f; }
.xls-title { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #1e6e42; color: #fff; font: 600 12px/1.2 var(--sys); }
.xls-ic { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 3px; background: #fff; color: #1e6e42; font-size: 11px; font-weight: 800; }
.xls-fx { display: grid; grid-template-columns: 38px 18px 1fr; align-items: center; gap: 6px; padding: 5px 8px; border-bottom: 1px solid #d4d4d4; font-size: 12px; }
.xls-fx span { color: #333; border-right: 1px solid #d4d4d4; }
.xls-fx em { font-style: italic; color: #666; }
.xls-fx code { font: 12px/1.2 Consolas, Menlo, monospace; color: #1f1f1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xls-grid { display: grid; grid-template-columns: 28px repeat(4, minmax(0, 1fr)); }
.xls-grid .c { position: relative; padding: 6px 7px; border-right: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; white-space: nowrap; overflow: hidden; }
.xls-grid .h { background: #f3f3f3; color: #555; text-align: center; padding: 4px 2px; }
.xls-grid .err { color: #c00000; }
.xls-grid .err::before { content: ""; position: absolute; left: 0; top: 0; border-top: 6px solid #1e8a4c; border-right: 6px solid transparent; }
.xls-grid .sel { outline: 2px solid #1e6e42; outline-offset: -2px; }

/* 6 · the vendor holds your data */
.app-bg { position: absolute; inset: 40px 6% 0; border-radius: 10px 10px 0 0; background: #eef0f3; padding: 18px; display: grid; align-content: start; gap: 10px; filter: blur(1.5px); opacity: .75; }
.app-bg span { height: 14px; border-radius: 4px; background: #d5d9df; }
.app-bg span:nth-child(2) { width: 70%; } .app-bg span:nth-child(3) { width: 85%; } .app-bg span:nth-child(4) { width: 50%; }
.ms { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); width: min(86%, 330px); padding: 18px 18px 16px; background: #fff; color: #1f2328;
  border-radius: 12px; box-shadow: 0 24px 50px -10px rgba(0,0,0,.7); display: grid; gap: 8px; }
.ms b { font-size: 16px; }
.ms > span { font-size: 13.5px; line-height: 1.45; color: #424a53; }
.ms-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.ms-b { padding: 7px 12px; border-radius: 7px; border: 1px solid #d0d7de; font-size: 13px; font-weight: 600; color: #24292f; }
.ms-b.pri { background: #5b3df5; border-color: #5b3df5; color: #fff; }

@media (max-width: 560px) {
  .pv { height: 270px; }
  .pv-windows .w2 { width: 66%; }
  .w-form { left: 3%; top: 40px; } .w-xl { left: 17%; top: 82px; } .w-inv { left: 31%; top: 124px; }
  .mail li { grid-template-columns: 8px 46px 1fr; } .mail li time { display: none; }
  .sticky { width: 150px; height: 136px; font-size: 20px; }
  .s-back { left: 52%; top: 34px; }
  .s-front { left: 6%; top: 84px; }
  .pv-phone { height: 330px; }
}

/* ---------- 5.5 How I work (layer stack) ---------- */
.how-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.layers { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 460px; }
.layers svg { width: 100%; height: auto; overflow: visible; }
.l-stroke { stroke: var(--ink); stroke-width: 10; }
.l-stroke.accent { stroke: var(--accent-fill); }
.l-plane { fill: rgba(197,74,44,.12); }
.lead-line { stroke: rgba(255,240,225,.32); stroke-width: 1.5; stroke-dasharray: 70; stroke-dashoffset: 0; }
.l-label text { fill: var(--ink); font: 600 21px var(--mono); letter-spacing: .08em; }
.lb1 text { fill: var(--accent); }
.l-grp { transition: transform 1.2s var(--ease) .25s; }
.l-label { transition: opacity .7s var(--ease) .9s; }
.l-label .lead-line { transition: stroke-dashoffset .8s var(--ease) .8s; }
/* Collapsed into the logo until the section scrolls in (motion only) */
.js.motion .layers:not(.in) .l-top { transform: translateY(46px); }
.js.motion .layers:not(.in) .l-bot { transform: translateY(-50px); }
.js.motion .layers:not(.in) .l-label { opacity: 0; }
.js.motion .layers:not(.in) .lead-line { stroke-dashoffset: 70; }

.steps { border-left: 1px solid var(--line-2); }
.step { position: relative; padding: 0 0 clamp(40px, 5vw, 60px) clamp(24px, 3vw, 40px); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--accent);
}
.step-num { display: block; font: 600 15px/1.3 var(--mono); color: var(--accent); letter-spacing: .04em; }
.step .h3 { margin-top: 10px; }
.step p { margin-top: 14px; max-width: 38rem; }
.step .step-terms { color: var(--muted); font-size: 17px; }
.step .flag { margin-top: 14px; }

@media (min-width: 1000px) {
  .how-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .how-left { position: sticky; top: calc(var(--nav-h) + 40px); }
  .steps { margin-top: 8px; }
}
@media (max-width: 999px) {
  .layers { max-width: 400px; margin-inline: auto; }
}

/* ---------- What I do (statement) ---------- */
.statement-text {
  margin-top: 26px; max-width: 58rem;
  font-size: clamp(24px, 2.5vw, 34px); line-height: 1.35; font-weight: 400; letter-spacing: -0.015em; color: var(--body);
}
.statement-ink { color: var(--ink); font-weight: 600; }

/* ---------- 5.6 What I build: tabs + example screens ---------- */
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.build-grid > * { min-width: 0; }
.tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 17px; font-weight: 500; text-align: left;
  transition: color .2s, border-color .2s, background-color .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--line-2); background: var(--card-2); }
.tab-n { font: 600 13px/1 var(--mono); color: var(--muted); }
.tab[aria-selected="true"] .tab-n { color: var(--accent); }
.tab-chev { display: none; width: 18px; height: 18px; margin-left: auto; color: var(--accent); }
.panel { animation: panel-in .45s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.panel-title { margin-top: 26px; }
.panel > p { margin-top: 10px; max-width: 40rem; }
@media (min-width: 1000px) {
  .build-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
  .tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 8px; position: sticky; top: calc(var(--nav-h) + 32px); }
  .tab { min-height: 60px; border-radius: 16px; padding: 0 18px 0 20px; font-size: 18px; border-color: transparent; }
  .tab[aria-selected="true"] { border-color: var(--line-2); }
  .tab[aria-selected="true"] .tab-chev { display: block; }
}

/* Example screen frame (sample data; labels inside are exempt from the 17px body floor) */
.screen {
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: #0d0d0c; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
}
.screen-bar {
  display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: #121211;
}
.screen-bar > i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,240,225,.14); }
.screen-title { margin-left: 8px; font: 600 14px/1.2 var(--sans); color: var(--body); }
.ex-label {
  margin-left: auto; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(227,179,65,.45);
  color: #f0cf7a; font: 600 12px/1.3 var(--mono); white-space: nowrap;
}
.screen-body { display: grid; grid-template-columns: 1fr; min-height: 340px; }
.screen-side { display: none; }
.screen-main { padding: 18px; min-width: 0; }
@media (min-width: 700px) {
  .screen-body { grid-template-columns: 150px 1fr; }
  .screen-side { display: grid; align-content: start; gap: 4px; padding: 16px 10px; border-right: 1px solid var(--line); }
  .screen-side span { padding: 8px 10px; border-radius: 8px; font: 500 14px/1.2 var(--sans); color: var(--muted); }
  .screen-side span.on { background: rgba(255,240,225,.06); color: var(--ink); }
  .screen-main { padding: 22px 24px; }
}
.sm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sm-head b { color: var(--ink); font-size: 17px; font-weight: 600; }
.sm-head > span:not(.chip) { font: 400 13px/1.3 var(--mono); color: var(--muted); }
.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font: 600 12px/1.35 var(--mono); white-space: nowrap; }
.chip.wait { color: #f0cf7a; background: rgba(227,179,65,.12); }
.chip.ok { color: #8fd6a6; background: rgba(111,191,138,.12); }
.chip.due { color: #ff9b80; background: rgba(224,92,59,.14); }
.src { font: 400 12px/1.3 var(--mono); color: var(--muted); white-space: nowrap; }
.screen code { font: 600 13px/1.3 var(--mono); color: var(--ink); }

.rows { display: grid; }
.rows li {
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.rows .r-what { font-size: 15px; color: var(--body); line-height: 1.35; }
.rows .r-what em { font-style: normal; color: var(--muted); margin-left: 6px; font-size: 14px; }
.rows .chip { grid-column: 2; justify-self: start; }
.rows .src { grid-column: 2; }
@media (min-width: 820px) {
  .rows li { grid-template-columns: 64px minmax(0, 1fr) auto 150px; }
  .rows .chip, .rows .src { grid-column: auto; }
  .rows .src { text-align: right; }
}

.rec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.rec div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.rec dt { font: 400 12px/1.3 var(--mono); color: var(--muted); }
.rec dd { margin: 4px 0 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.flow { display: grid; gap: 0; position: relative; }
.flow li { display: grid; grid-template-columns: 28px auto 1fr; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.flow b { color: var(--ink); font-size: 15px; font-weight: 600; }
.flow li > span:last-child { font: 400 13px/1.3 var(--mono); color: var(--muted); }
.fl-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(111,191,138,.14); color: #8fd6a6; }
.fl-dot .ic { width: 15px; height: 15px; }
@media (max-width: 520px) { .flow li { grid-template-columns: 28px 1fr; } .flow li > span:last-child { grid-column: 2; } .rec { grid-template-columns: 1fr 1fr; } }

.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(98px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.col { display: grid; align-content: start; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,240,225,.02); }
.col-h { font: 600 13px/1.3 var(--sans); color: var(--body); display: flex; justify-content: space-between; gap: 6px; }
.col-h i { font: 400 12px/1.3 var(--mono); font-style: normal; color: var(--muted); }
.tk { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: #161614; border: 1px solid var(--line); }
.tk em { font: 400 12px/1 var(--mono); font-style: normal; color: var(--muted); }
.tk.late { border-color: rgba(224,92,59,.45); }
.tk.late em { color: #ff9b80; }

.qlines { display: grid; margin-bottom: 18px; }
.qlines li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.qlines .src { color: #f0cf7a; }
.q-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fake-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink); font: 600 14px/1 var(--sans); }
.fake-btn.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.q-note { font: 400 13px/1.3 var(--mono); color: var(--muted); }

/* ---------- 5.7 The Operating Map ---------- */
.map-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 48px); }
.map-tabs .tab { white-space: normal; flex: 0 1 auto; }
.map-panel { margin-top: 18px; }
.map-card {
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 28px);
  background: var(--card) radial-gradient(120% 90% at 0% 0%, rgba(255,245,235,.04), transparent 55%);
}
.map-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.map-top .ex-label { margin-left: 0; }
.real-label { font: 600 14px/1.4 var(--mono); color: #8fd6a6; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.seg-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-size: 17px; font-weight: 500; }
.seg-btn[aria-pressed="true"] { background: var(--card-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }

.flowmap { display: grid; gap: 10px; counter-reset: none; }
.node {
  position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; align-items: start;
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2);
  transition: opacity .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.node-n { font: 600 13px/1.6 var(--mono); color: var(--muted); }
.node b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; }
.node-tool { display: inline-block; margin-top: 8px; font: 600 12px/1.35 var(--mono); color: var(--muted); padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; }
.node-tool.ok { color: #8fd6a6; border-color: rgba(111,191,138,.4); }
.node.is-wait { border-color: var(--accent-fill); box-shadow: 0 0 0 4px rgba(197,74,44,.16); }
.node.is-wait .node-tool { color: var(--accent); border-color: rgba(224,92,59,.5); }
.v-layer { display: none; }
.map-card[data-mode="layer"] .v-today { display: none; }
.map-card[data-mode="layer"] .v-layer { display: block; }
.map-card[data-mode="layer"] .node.is-merge { border-style: dashed; border-color: var(--line); background: transparent; }
.map-card[data-mode="layer"] .node.is-merge .gone { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,240,225,.35); }
.map-card[data-mode="layer"] .node.is-wait { border-color: rgba(227,179,65,.6); box-shadow: none; }
.map-card[data-mode="layer"] .node.is-wait .node-tool { color: #f0cf7a; border-color: rgba(227,179,65,.45); }
.map-note { margin-top: 18px; font-size: 17px; color: var(--body); }
.map-foot { margin-top: 12px; font-size: 17px; color: var(--muted); }
@media (min-width: 1000px) {
  .flowmap { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .node { grid-template-columns: 1fr; min-height: 168px; align-content: start; }
  .node:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -14px; width: 14px; height: 1px; background: rgba(255,240,225,.3);
  }
}

.realmap { display: grid; gap: 10px; }
.rstep { display: grid; grid-template-columns: 34px 1fr; align-content: start; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.rstep .node-n { grid-row: span 3; color: var(--accent); }
.rstep b { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; }
.rstep > span:not(.node-n):not(.flag) { font-size: 17px; color: var(--body); line-height: 1.45; }
.rstep .flag { margin-top: 8px; justify-self: start; }
.rstep.is-decide { border-color: var(--accent-fill); background: rgba(197,74,44,.08); }
@media (min-width: 760px) { .realmap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }

/* ---------- 5.8 What you keep (the highlight section) ---------- */
.keep {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(235,232,226,.06), transparent 70%),
    linear-gradient(180deg, #0e0e0d, var(--bg));
}
.own { margin-top: clamp(36px, 4vw, 56px); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.own-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; border-top: 1px solid var(--line); }
.own-row:first-child { border-top: 0; }
.own-head { display: none; }
.own-what { color: var(--ink); font-size: 19px; font-weight: 600; }
.owner { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.owner.you { color: #8fd6a6; background: rgba(111,191,138,.12); }
.owner.me { color: var(--ink); background: rgba(255,240,225,.08); }
@media (min-width: 760px) {
  .own-row { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 6fr); gap: 20px; align-items: center; padding: 20px 28px; }
  .own-head { display: grid; background: rgba(255,240,225,.03); font: 600 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-block: 14px; }
}
.keys {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2);
}
.keys-ic { width: 30px; height: 30px; color: var(--accent); }
.keys p { max-width: 50rem; }
.keys-terms { margin-top: 12px; color: var(--muted); font-size: 17px; }
@media (min-width: 760px) { .keys { grid-template-columns: 40px 1fr; } }

/* ---------- 5.9 Who I am ---------- */
.about-grid { display: grid; gap: clamp(36px, 5vw, 72px); }
.portrait { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; max-width: 520px; background: var(--card); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,6,6,.92)); pointer-events: none; }
.portrait figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 2px; font-size: 17px; color: var(--body); line-height: 1.4; }
.portrait figcaption b { color: var(--ink); font-size: 20px; font-weight: 600; }
.about-lead { margin-top: 18px; color: var(--ink); }
.about-paras { display: grid; gap: 18px; margin-top: 28px; }
.facts { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts dt { font: 600 30px/1 var(--mono); color: var(--ink); }
.facts dd { margin: 0; font-size: 17px; color: var(--muted); }
@media (min-width: 1000px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .portrait { position: sticky; top: calc(var(--nav-h) + 32px); }
}
@media (max-width: 999px) { .portrait { margin-inline: auto; width: 100%; } }

/* ---------- 5.10 Who it's for ---------- */
.fit-grid { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.fit-card ul { display: grid; gap: 14px; margin-top: 18px; }
.fit-card li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.li-ic { width: 20px; height: 20px; margin-top: 4px; }
.fit-card.yes .li-ic { color: #8fd6a6; }
.fit-card.no .li-ic { color: var(--muted); }
@media (min-width: 760px) { .fit-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 5.11 Trades ---------- */
.trades .section-head .flag { margin-top: 14px; }
.trade-wrap { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 14px; }
.trade-wrap > * { min-width: 0; }
.trade-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.trade-tabs .tab { white-space: normal; }
.trade-card { min-height: 180px; }
.trade-k { font: 600 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.trade-p { margin-top: 12px; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--ink); max-width: 48rem; letter-spacing: -0.01em; }
.trade-panel { animation: panel-in .45s var(--ease); }

/* ---------- 5.12 FAQ ---------- */
.faq-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(224,92,59,.7); text-underline-offset: 3px; overflow-wrap: anywhere; }
.text-link:hover { text-decoration-color: var(--accent); }
.faq-list { display: grid; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0;
  cursor: pointer; list-style: none; color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { width: 20px; height: 20px; flex: none; color: var(--accent); transition: transform .3s var(--ease); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 0 22px; max-width: 46rem; }
.faq-a .flag { margin-top: 10px; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* ---------- 5.13 Start with one job ---------- */
.start {
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(235,232,226,.06), transparent 70%);
}
.start-inner { max-width: 50rem; }
.start .h2 { margin-top: 22px; }
.start-sub { margin: 20px auto 0; max-width: 40rem; }
.start-actions { margin-top: 36px; display: flex; justify-content: center; }
.start-mail { margin-top: 18px; font-size: 18px; }
.start-box {
  margin: 40px auto 0; max-width: 34rem; padding: 20px 24px; text-align: left;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2);
}
.start-box-k { font: 600 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 560px) { .start-actions .btn { width: 100%; max-width: 360px; } }

/* ---------- 5.14 Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer-inner { display: grid; gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 26rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-left: -12px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); font-size: 17px; }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { display: grid; gap: 6px; color: var(--muted); font-size: 17px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-left: -12px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--body); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,240,225,.3); }
.footer-legal span { padding: 0 12px; }
.footer-tm { font-size: 17px; color: var(--muted); max-width: 34rem; }
@media (min-width: 1000px) {
  .footer-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); align-items: start; }
  .footer-nav { flex-direction: column; margin-left: -12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .caret { display: none; }
}

@media (max-width: 520px) {
  .screen-title { display: none; }
}
@media (max-width: 560px) {
  .map-top .seg { width: 100%; }
  .seg-btn { flex: 1; padding: 0 10px; }
}
.trade-tabs .tab, .map-tabs .tab { flex: 0 1 auto; max-width: 100%; }
.start-mail .text-link, .footer-meta .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.start-box .flag { margin-top: 10px; }

/* 7 · the person who left still has a login (admin user list) */
.adm { position: absolute; left: 5%; right: 5%; top: 40px; background: #fff; color: #1f2328; border-radius: 10px 10px 0 0; overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); font-size: 13px; }
.adm-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e5e7eb; background: #f8fafc; }
.adm-top b { font-size: 15px; }
.adm-top > span:not(.adm-search) { color: #57606a; font-size: 12px; }
.adm-search { margin-left: auto; padding: 4px 10px; border: 1px solid #d0d7de; border-radius: 6px; color: #656d76; font-size: 12px; min-width: 120px; }
.adm-head, .adm-row { display: grid; grid-template-columns: minmax(0, 2.2fr) 1fr 1fr minmax(0, 1.4fr); gap: 10px; align-items: center; padding: 8px 14px; }
.adm-head { font-size: 11px; font-weight: 600; color: #57606a; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #e5e7eb; }
.adm-row { border-bottom: 1px solid #f0f1f3; }
.adm-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row > span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.adm-row small { font-weight: 500; font-size: 11px; color: #57606a; }
.av { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #dbeafe; color: #1e40af; font: 600 11px/1 var(--sys); font-style: normal; }
.av.sh { background: #e5e7eb; color: #374151; }
.adm-row em { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.adm-row em.on { color: #116329; background: #dafbe1; }
.adm-row.flagged { background: #fff1f0; box-shadow: inset 3px 0 0 #cf222e; }
.adm-row.flagged small { color: #a40e26; font-weight: 700; }
@media (min-width: 760px) {
  .p7 { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 28px; }
  .p7 .p7-text { padding-right: clamp(10px, 2vw, 28px); }
}
@media (max-width: 560px) {
  .adm-head, .adm-row { grid-template-columns: minmax(0, 2fr) 1fr 1fr; }
  .adm-head span:last-child, .adm-row > span:last-child { display: none; }
  .adm-search { display: none; }
}
.adm .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .adm .nm small { display: block; line-height: 1.2; } .adm-row { padding-block: 6px; } }
@media (max-width: 420px) {
  .adm-head, .adm-row { grid-template-columns: minmax(0, 1fr) auto; }
  .adm-head span:nth-child(2), .adm-row > span:nth-child(2) { display: none; }
}

/* ===================== Ideas list build (Blake, 2026-11-11: picks 1,2,4,6,7,9,10,12,14,15,16,17) ===================== */
/* 16 · How I work extras */
.how-order { margin-top: 16px; color: var(--body); font-size: 18px; max-width: 34rem; }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.step-chips li { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 17px/1.3 var(--mono); color: var(--body); } /* 17px floor (Codex round 1 S3; Blake 1a) */
.step .flag + .flag { margin-left: 8px; }

/* 17 · start note */
.start-note { margin: 18px auto 0; max-width: 34rem; font-size: 17px; color: var(--muted); }

/* 10 · one-person question */
.onefq { margin-top: 28px; padding: clamp(20px, 2.6vw, 28px); border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); display: grid; gap: 12px; }
.onefq-q { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.onefq .flag { justify-self: start; }

/* 9 · questions to ask anyone */
.ask-grid { display: grid; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.ask-card { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); display: grid; gap: 10px; align-content: start; }
.ask-cq { color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.35; }
.ask-card p:not(.ask-cq) { color: var(--body); }
@media (min-width: 760px) { .ask-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ask-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.askany .section-head .flag { margin-top: 14px; }

/* 4 · handoff sheet (an example document, light paper) */
.handoff {
  --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fbfaf6; color: #24292f; border-radius: 6px; padding: 20px 22px 22px; font: 400 14px/1.5 var(--sys);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.2); transform: rotate(-.6deg); max-width: 460px; width: 100%;
  -webkit-font-smoothing: antialiased;
}
.ho-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 2px solid #24292f; }
.ho-head b { font-size: 17px; letter-spacing: -0.01em; }
.ho-ex { font: 600 11px/1.3 var(--mono); color: #8a4b00; background: #fff1d6; padding: 2px 7px; border-radius: 5px; }
.ho-sub { margin-top: 6px; color: #57606a; font-size: 13px; }
.ho-sec { margin-top: 12px; }
.ho-k { font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #57606a; margin-bottom: 3px; }
.ho-sec ul { display: grid; gap: 2px; }
.ho-sec li { padding-left: 14px; position: relative; }
.ho-sec li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #9aa1a9; }
.ho-btn { display: inline-block; padding: 0 6px; border: 1px solid #c4cad1; border-radius: 4px; background: #fff; font-size: 13px; line-height: 1.5; }
.keys .handoff { justify-self: center; margin-top: 8px; }
.flag-row { margin-top: 10px; }
@media (min-width: 760px) { .keys .handoff { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .keys { grid-template-columns: 40px minmax(0, 1fr) minmax(340px, 440px); align-items: start; column-gap: 28px; }
  .keys .handoff { grid-column: auto; margin-top: 0; }
}

/* 12 · From Blake */
.from-card {
  margin: 0 auto; max-width: 64rem; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--card) radial-gradient(90% 80% at 0% 0%, rgba(255,245,235,.05), transparent 60%);
}
.from-text { margin-top: 24px; font-size: clamp(24px, 3vw, 38px); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.from-text .hl { font-style: normal; color: var(--accent); }
.js.motion .from-text .w { color: #8a847b; transition: color .35s ease; }
.js.motion .from-text .w.on { color: var(--ink); }
.js.motion .from-text .hl .w.on { color: var(--accent); }
.from-sig { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.from-sig img { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); object-fit: cover; }
.from-sig > span { display: grid; gap: 2px; font-size: 17px; color: var(--muted); }
.from-sig b { color: var(--ink); font-weight: 600; }
.from-card .flag { margin-top: 16px; }

/* 14 + 7 · trade tabs: two-tone heading, start line, keep line, one real-looking picture per trade */
.trade-panel[hidden] { display: none; }
.trade-panel { display: grid; gap: 28px; }
.tp-h { font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); max-width: 34rem; }
.trade-panel .trade-k { margin-top: 22px; }
.trade-panel .trade-p { margin-top: 10px; font-size: 19px; line-height: 1.55; color: var(--body); letter-spacing: 0; max-width: 38rem; }
.trade-start { margin-top: 14px; color: var(--ink); font-weight: 600; font-size: 18px; max-width: 38rem; }
.trade-keep { margin-top: 16px; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 17px; color: var(--muted); max-width: 38rem; }
.trade-keep b { color: var(--body); }
.tk-ic { width: 20px; height: 20px; color: #8fd6a6; margin-top: 3px; }
.trade-more { margin-top: 22px; font-size: 18px; color: var(--body); max-width: 50rem; }
.trade-card .pv { height: 300px; }
@media (min-width: 1000px) {
  .trade-panel { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 40px; }
}

/* parts and repairs · manila work-order tag + a text notification */
.wo { position: absolute; left: 8%; top: 48px; width: 56%; max-width: 250px; padding: 22px 16px 16px; border-radius: 5px; color: #3b2f1a;
  background: linear-gradient(170deg, #efe1b4, #e2d09a); box-shadow: 0 18px 30px -12px rgba(0,0,0,.7); transform: rotate(-3deg); font-size: 13px; }
.wo-hole { position: absolute; top: 8px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #1b1a18; box-shadow: 0 0 0 3px #c9b57c; }
.wo-h { font: 700 12px/1.2 var(--mono); letter-spacing: .06em; border-bottom: 1px solid rgba(59,47,26,.35); padding-bottom: 6px; margin-bottom: 6px; }
.wo-h b { color: #b42318; }
.wo-f { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; border-bottom: 1px dotted rgba(59,47,26,.4); padding: 3px 0; }
.wo-f span { font: 600 10px/1.2 var(--mono); text-transform: uppercase; color: #5e4c2a; }
.wo-f i, .pad p, .tl-h i, .tl-g i, .tl-t, .tkt-sig i { font-family: "Bradley Hand", "Segoe Print", "Chalkboard SE", "Comic Sans MS", cursive; font-style: normal; }
.wo-f i { color: #1d3a8a; font-size: 15px; }
.wo-st { display: inline-block; margin-top: 10px; padding: 2px 7px; border: 2px solid #b42318; color: #b42318; font: 700 12px/1.3 var(--mono); letter-spacing: .04em; transform: rotate(-4deg); }
.wo-ck { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.wo-box { width: 14px; height: 14px; border: 1.5px solid #3b2f1a; border-radius: 2px; }
.ntf { position: absolute; right: 5%; top: 150px; width: 58%; max-width: 280px; padding: 10px 12px; border-radius: 16px; background: rgba(246,246,248,.97); color: #1d1d1f;
  box-shadow: 0 16px 34px -10px rgba(0,0,0,.6); font-size: 14px; }
.ntf-top { display: flex; justify-content: space-between; font-size: 11px; color: #5f5f64; margin-bottom: 4px; }
.ntf-app { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; letter-spacing: .02em; }
.ntf-app i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(#5cf27a, #19c43c); }
.ntf b { font-weight: 600; }
.ntf p { color: #1d1d1f; }

/* deliveries · signed delivery ticket still in the truck + invoice on hold */
.tkt { position: absolute; left: 6%; top: 46px; width: 50%; max-width: 230px; padding: 14px 14px 16px; color: #2b2a27; font: 500 12px/1.45 var(--mono);
  background: linear-gradient(100deg, transparent 48%, rgba(0,0,0,.05) 50%, transparent 52%), linear-gradient(180deg, #f6f3ea, #ece6d6);
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.7); transform: rotate(2.5deg); border-radius: 2px; }
.tkt-h { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #8d877a; padding-bottom: 6px; margin-bottom: 6px; }
.tkt-h b { font-weight: 700; letter-spacing: .04em; }
.tkt-r { display: flex; justify-content: space-between; }
.tkt-r.net { font-weight: 700; border-top: 1px solid #8d877a; margin-top: 3px; padding-top: 3px; }
.tkt-sig { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid #8d877a; }
.tkt-sig span { font-size: 10px; text-transform: uppercase; color: #5f5a50; }
.tkt-sig i { font-size: 18px; color: #1d3a8a; transform: rotate(-6deg); display: inline-block; }
.tkt-ring { position: absolute; right: -18px; bottom: -14px; width: 70px; height: 70px; border-radius: 50%; border: 5px solid rgba(120,72,30,.28); }
.acct { position: absolute; right: 5%; bottom: 22px; width: 64%; max-width: 330px; background: #fff; color: #1f2328; border-radius: 9px; overflow: hidden; font-size: 13px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.65); }
.acct-h { padding: 8px 12px; background: #f6f8fa; border-bottom: 1px solid #e5e7eb; font-weight: 600; }
.acct-r { display: grid; grid-template-columns: 40px 76px 1fr; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #f0f1f3; align-items: center; }
.acct-r em { font-style: normal; font-weight: 600; font-size: 12px; color: #116329; }
.acct-r.hold { background: #fff8e6; }
.acct-r.hold em { color: #8a4b00; }

/* built to order · pencil count sheet vs. the invoice */
.clip { position: absolute; left: 6%; top: 40px; width: 50%; max-width: 230px; padding: 26px 14px 14px; border-radius: 8px; color: #3a3a3a;
  background: #fbfbf7; box-shadow: 0 0 0 7px #8a6a46, 0 22px 34px -12px rgba(0,0,0,.75); transform: rotate(-2deg); }
.clip-top { position: absolute; top: -12px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 5px; background: linear-gradient(#c9cdd2, #8f959c); }
.tl-h { font-size: 12px; font-weight: 600; color: #444; }
.tl-h i { color: #555; font-size: 14px; }
.tl-g { display: grid; grid-template-columns: 36px 1fr 1fr; gap: 1px 8px; margin-top: 8px; }
.tl-g span { font: 600 10px/1.4 var(--mono); text-transform: uppercase; color: #6a6a6a; border-bottom: 1px solid #bbb; }
.tl-g i { color: #555; font-size: 15px; line-height: 1.3; }
.tl-t { margin-top: 6px; font-size: 15px; color: #444; }
.circ { display: inline-block; padding: 0 8px; border: 2px solid rgba(224,92,59,.9); border-radius: 50%; }
.inv { position: absolute; right: 5%; bottom: 26px; width: 58%; max-width: 300px; background: #fff; color: #1f2328; border-radius: 9px; overflow: hidden; font-size: 13px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.65); }
.inv-h { display: flex; justify-content: space-between; padding: 8px 12px; background: #f6f8fa; border-bottom: 1px solid #e5e7eb; }
.inv-h span { color: #57606a; }
.inv-r { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f0f1f3; }
.inv-r .bad { font-weight: 700; color: #a40e26; box-shadow: 0 0 0 2px rgba(224,92,59,.9); border-radius: 4px; padding: 0 4px; }

/* title / office · the RE: RE: FW: inbox */
.ibx { position: absolute; left: 5%; right: 5%; top: 42px; background: #fff; color: #1f2328; border-radius: 10px 10px 0 0; overflow: hidden; font-size: 13px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); }
.ibx-h { display: flex; justify-content: space-between; padding: 9px 14px; background: #f3f6fb; border-bottom: 1px solid #e1e6ee; }
.ibx-h span { color: #57606a; font-size: 12px; }
.ibx-r { display: grid; grid-template-columns: 8px 58px minmax(0, 1fr) 22px; gap: 8px; align-items: center; padding: 9px 14px; border-bottom: 1px solid #eef0f3; }
.ibx-r i { width: 8px; height: 8px; border-radius: 50%; }
.ibx-r.u i { background: #0f6cbd; }
.ibx-r b { font-weight: 500; }
.ibx-r.u b, .ibx-r.u span { font-weight: 700; }
.ibx-r span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ibx-r em { font-style: normal; font-size: 11px; color: #57606a; text-align: right; }
.stk { position: absolute; right: 7%; bottom: 18px; padding: 12px 14px; width: 130px; background: #fde68a; color: #3d3100; transform: rotate(4deg);
  box-shadow: 0 12px 20px -8px rgba(0,0,0,.6); font: 700 16px/1.25 "Bradley Hand", "Segoe Print", "Chalkboard SE", "Comic Sans MS", cursive; }

/* service · truck notepad + the estimates nobody called back */
.pad { position: absolute; left: 6%; top: 44px; width: 54%; max-width: 250px; padding: 22px 14px 12px; color: #26324a; border-radius: 4px; transform: rotate(-2.5deg);
  background: repeating-linear-gradient(180deg, #fffef6 0 25px, #b9cbe3 25px 26px); box-shadow: 0 18px 30px -12px rgba(0,0,0,.7); }
.pad-spiral { position: absolute; top: -6px; left: 10px; right: 10px; height: 12px; background: radial-gradient(circle at 6px 6px, #8b8f96 3px, transparent 4px) 0 0 / 16px 12px repeat-x; }
.pad p { font-size: 15px; line-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pad p.x { text-decoration: line-through; color: #6b7280; }
.pad p.smudge { color: #6b7280; filter: blur(.4px); }
.est { position: absolute; right: 5%; bottom: 20px; width: 60%; max-width: 310px; background: #fff; color: #1f2328; border-radius: 6px; overflow: hidden; font-size: 13px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.65); }
.est-h { padding: 7px 10px; background: #217346; color: #fff; font-weight: 600; font-size: 12px; }
.est-r { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid #e3e3e3; }
.est-r span { padding: 6px 8px; border-right: 1px solid #e3e3e3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.est-r.head { background: #f3f3f3; font-weight: 600; font-size: 12px; color: #444; }
.est-r.old span:last-child { background: #fff4ce; }
.est-r.old2 span:last-child { background: #fde2dd; color: #8a1c0e; font-weight: 600; }

@media (max-width: 560px) {
  .wo, .tkt, .clip, .pad { width: 60%; left: 4%; }
  .ntf, .acct, .inv, .est { width: 74%; right: 3%; }
  .acct-r { grid-template-columns: 36px 1fr; }
  .acct-r span:nth-child(2) { display: none; }
  .ibx-r { grid-template-columns: 8px 46px minmax(0, 1fr); }
  .ibx-r em { display: none; }
}
/* overlap fixes after the first look (keep the key numbers visible) */
.tv-wo .ntf { top: 178px; }
.tv-ticket .tkt { top: 34px; width: 46%; }
.tv-ticket .acct { width: 54%; right: 3%; bottom: 12px; }
.tv-count .clip { width: 46%; left: 4%; }
.tv-count .inv { width: 50%; right: 3%; bottom: 18px; }
.tv-pad .pad { width: 46%; }
.tv-pad .est { width: 50%; right: 3%; }
.est-r { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) {
  .tv-ticket .tkt, .tv-count .clip, .tv-pad .pad { width: 62%; }
  .tv-ticket .acct, .tv-count .inv, .tv-pad .est { width: 70%; }
}
/* phones: stack the two objects with a small overlap instead of pinning them */
@media (max-width: 560px) {
  .trade-card .pv { height: auto; display: flex; flex-direction: column; padding: 48px 10px 18px; }
  .trade-card .pv > :not(.pv-tag) { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .trade-card .pv > :nth-child(2) { width: 80%; max-width: 270px; margin-left: 3%; }
  .trade-card .pv > :nth-child(3) { width: 86%; max-width: 330px; align-self: flex-end; margin-top: -22px; z-index: 2; }
  .trade-card .tv-inbox > .ibx { width: 100%; max-width: none; margin-left: 0; border-radius: 10px; }
  .trade-card .tv-inbox > .stk { width: 130px; margin-top: -28px; margin-right: 4%; }
}
.step .flag + .flag { margin-left: 0; }
.keys-note { margin-top: 12px; color: var(--ink); }

/* 6 · ask → see → approve (light, real-software look; autoplays in view, pauses on any interaction) */
.askdemo { display: grid; gap: 28px; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.askdemo > * { min-width: 0; }
.ad-copy p { margin-top: 12px; max-width: 32rem; }
.ad-copy .ad-pause { margin-top: 20px; }
.ad-copy .flag { margin-top: 14px; }
@media (min-width: 1000px) { .askdemo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 56px); align-items: center; } }
.ad-win {
  --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff; color: #1f2328; border-radius: 14px; overflow: hidden; font: 400 15px/1.45 var(--sys); -webkit-font-smoothing: antialiased;
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08);
}
.ad-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f6f8fa; border-bottom: 1px solid #e5e7eb; }
.ad-dots { display: inline-flex; gap: 6px; }
.ad-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d0d7de; }
.ad-app { font-weight: 600; font-size: 14px; }
.ad-ex { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #fff1d6; color: #8a4b00; font: 600 11px/1.4 var(--mono); white-space: nowrap; }
.ad-tabs { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #eef0f3; overflow-x: auto; scrollbar-width: none; }
.ad-tabs::-webkit-scrollbar { display: none; }
.ad-tab { flex: none; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid #d0d7de; background: #fff; color: #424a53; font: 500 14px/1.2 var(--sys); }
.ad-tab:hover { background: #f6f8fa; }
.ad-tab[aria-selected="true"] { background: #1f2328; border-color: #1f2328; color: #fff; }
.ad-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ad-panels { padding: 18px 18px 20px; min-height: 470px; }
.ad-panel[hidden] { display: none; }
.ad-panel { display: grid; gap: 14px; align-content: start; }
.ad-q { display: flex; gap: 12px; align-items: flex-start; }
.ad-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #dbeafe; color: #1e40af; font-weight: 700; font-size: 14px; }
.ad-who { display: block; font-size: 12px; color: #57606a; }
.ad-qt { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; min-height: 1.45em; }
.ad-steps { display: grid; gap: 6px; padding-left: 46px; }
.ad-steps li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 14px; }
.ad-steps b { font-weight: 600; margin-right: 8px; }
.ad-steps em { font-style: normal; color: #57606a; }
.ad-ck { width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #1a7f37; position: relative; }
.ad-ck::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ad-a { margin-left: 46px; padding: 12px 14px; border-radius: 10px; background: #f3f6fb; box-shadow: inset 3px 0 0 #0f6cbd; display: grid; gap: 8px; }
.ad-a b { font-weight: 700; }
.ad-list { display: grid; gap: 2px; }
.ad-list li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px solid #e3e8ef; font-size: 14px; }
.ad-list li:last-child { border-bottom: 0; }
.ad-list code { font: 600 13px/1.3 var(--mono); }
.ad-list em { font-style: normal; font-size: 13px; color: #57606a; white-space: nowrap; }
.ad-list em.late { color: #a40e26; font-weight: 700; }
.ad-src { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-src span { padding: 1px 8px; border-radius: 999px; background: #fff; border: 1px solid #d0d7de; color: #57606a; font-size: 12px; }
.ad-ok { margin-left: 46px; padding: 12px 14px; border: 1px solid #d0d7de; border-radius: 10px; display: grid; gap: 6px; }
.ad-ok-k { font: 600 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #57606a; }
.ad-ok-t { font-size: 15px; }
.ad-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ad-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid #d0d7de; font-weight: 600; font-size: 14px; background: #fff; }
.ad-btn.pri { background: #1f883d; border-color: #1f883d; color: #fff; }
.ad-note { font-size: 12px; color: #57606a; }
.askdemo.armed .st { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.askdemo.armed .st.on { opacity: 1; transform: none; }
@media (max-width: 560px) {
  .ad-panels { padding: 14px 12px 16px; min-height: 560px; }
  .ad-steps, .ad-a, .ad-ok { margin-left: 0; padding-left: 0; }
  .ad-a, .ad-ok { padding-left: 14px; }
  .ad-list li { grid-template-columns: 56px minmax(0, 1fr); }
  .ad-list em { grid-column: 2; }
}
/* the page-wide "p b, li b { color: ink }" rule must not reach light example windows */
.ad-win b, .handoff b { color: inherit; }
.ad-pause[hidden] { display: none; }
/* solid fallbacks behind the paper gradients (contrast checkers and old browsers read these) */
.wo { background-color: #e8d8a7; }
.tkt { background-color: #f1ece0; }
.pad { background-color: #fffef6; }
.tl-g2 { grid-template-columns: 1fr 1fr; }
/* deliveries: keep the ticket and the invoice list side by side, no overlap */
.tv-ticket .tkt { top: 30px; width: 44%; }
.tv-ticket .acct { width: 46%; right: 3%; bottom: 14px; }
.tv-ticket .acct-r { grid-template-columns: 40px minmax(0, 1fr); }

/* Map · Connect · Offload, then "Then I stay" (Blake 09:55 "yes love that"; Automate → Offload 12:23 "1. a") */
.how-right { min-width: 0; }
.stay { margin-top: clamp(36px, 4vw, 52px); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 3px 0 0 var(--accent-fill); }
.stay p { max-width: 40rem; }
.stay .step-terms { color: var(--muted); font-size: 17px; }
.stay .step-chips { margin-top: 2px; }
.stay .flag { justify-self: start; }

/* ===== Node view test (Blake, 2026-11-11: "animated (n8n) inspired node view of starting then growing over time") ===== */
.grow .section-head .lead { max-width: 40rem; }
.ng-card { margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: #0b0b0a radial-gradient(rgba(255,240,225,.07) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.ng-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(12,12,11,.92); }
.ng-stages { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.ng-stage { min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--muted); font: 500 16px/1 var(--sans); display: inline-flex; align-items: center; gap: 8px; }
.ng-stage i { font: 600 12px/1 var(--mono); font-style: normal; color: var(--muted); }
.ng-stage[aria-pressed="true"] { background: var(--card-2); color: var(--ink); }
.ng-stage[aria-pressed="true"] i { color: var(--accent); }
.ng-pause { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--body); font: 500 15px/1 var(--sans); }
.ng-pause[hidden] { display: none; }
.ng-ex { margin-left: auto; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(227,179,65,.45); color: #f0cf7a; font: 600 12px/1.3 var(--mono); white-space: nowrap; }

.ng { position: relative; container-type: inline-size; margin: clamp(10px, 2vw, 22px); }
.ng svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ng .e { fill: none; stroke: rgba(255,240,225,.28); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.ng .e.on { stroke-dashoffset: 0; opacity: 1; }
.ng .e.bad { stroke: #e5534b; stroke-dasharray: .03 .025; stroke-dashoffset: 0; }
.ng .f { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 28; opacity: 0; }
.ng .f.on { opacity: .9; }
.ng .lbl { font: 600 12px var(--mono); fill: var(--muted); opacity: 0; paint-order: stroke; stroke: #0b0b0a; stroke-width: 5px; }
.ng .lbl.on { opacity: 1; }
.js.motion .ng .e { transition: stroke-dashoffset .8s var(--ease), opacity .1s linear; }
.js.motion .ng .lbl { transition: opacity .4s ease .5s; }
.js.motion .ng.flowing:not(.paused):not(.offscreen) .f.on { animation: ng-flow 1.1s linear infinite; }
@keyframes ng-flow { to { stroke-dashoffset: -28; } }

.nd { position: absolute; transform: translate(-50%, -50%); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center;
  padding: 7px 10px 7px 7px; border-radius: 12px; background: #181716; border: 1px solid rgba(255,240,225,.16);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.9); font-size: clamp(11px, 1.25cqw, 14px); line-height: 1.25; opacity: 0; }
.nd.on { opacity: 1; }
.js.motion .nd { transition: opacity .45s var(--ease), transform .45s var(--ease); transform: translate(-50%, -50%) scale(.92); }
.js.motion .nd.on { transform: translate(-50%, -50%); }
.nd b { display: block; color: var(--ink); font-weight: 600; }
.nd small { display: block; color: var(--muted); font-size: .86em; }
.nd .ic { width: 2.3em; height: 2.3em; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.nd .ic svg { position: static; width: 58%; height: 58%; }
.nd.k-form .ic { background: #2f6fde; } .nd.k-record .ic { background: var(--accent-fill); } .nd.k-acct .ic { background: #2f8a3e; }
.nd.k-sheet .ic { background: #1d6f42; } .nd.k-decide .ic { background: #7a4fd0; } .nd.k-ai .ic { background: linear-gradient(135deg, #e05c3b, #b8452a); }
.nd.k-text .ic { background: #28a745; } .nd.k-remind .ic { background: #b7871d; } .nd.k-email .ic { background: #0f6cbd; } .nd.k-view .ic { background: #5b616b; }
.nd.k-person .ic { background: #dbeafe; color: #1e40af; border-radius: 50%; font: 700 1em/1 var(--sans); }
.nd.k-person { border-color: rgba(111,191,138,.45); }
.nd.k-person small { color: #8fd6a6; }
.nd.k-decide { border-style: dashed; }
.nd .bdg { grid-column: 1 / -1; justify-self: start; margin-top: 2px; padding: 1px 7px; border-radius: 999px; font: 600 .82em/1.4 var(--mono); }
.nd .bdg.warn { color: #ffb4ab; background: rgba(229,83,75,.16); }
.nd .bdg.fixed { color: #8fd6a6; background: rgba(111,191,138,.14); }
.nd .bdg[hidden] { display: none; }

.ng-cap { display: grid; gap: 4px; padding: 14px 18px 18px; border-top: 1px solid var(--line); background: rgba(12,12,11,.92); }
.ng-cap-k { font: 600 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ng-cap p { color: var(--body); max-width: 52rem; }
.grow .flag { margin-top: 14px; }
/* phones: compact nodes (title only), shorter stage buttons */
.ng.ph .nd { font-size: 12.5px; padding: 6px 8px 6px 6px; gap: 7px; border-radius: 10px; }
.ng.ph .nd small { display: none; }
.ng.ph .nd .ic { width: 24px; height: 24px; border-radius: 7px; }
.ng.ph .nd .bdg { font-size: 10.5px; }
@media (max-width: 620px) {
  .ng-top { padding: 10px; gap: 8px; }
  .ng-stage { padding: 0 12px; font-size: 15px; }
  .ng-stage i { display: none; }
  .ng-pause { padding: 0 14px; font-size: 15px; }
  .ng-ex { margin-left: 0; }
  .ng-ex2 { display: none; }
  .ng { margin: 10px 6px; }
}
/* no JS: the drawing is built by script, so hide the empty frame */
html:not(.js) .ng-card { display: none; }

/* How it grows · five kinds of work (Blake 2026-11-11: "get very creative on this but yes i like these") */
.ng-kinds { margin-top: clamp(28px, 3.5vw, 40px); display: grid; gap: 14px; }
.ng-kinds-k { color: var(--ink); font-weight: 600; font-size: 19px; }
.ng-kind-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-kind { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 500 17px/1.2 var(--sans); text-align: left;
  transition: color .2s, border-color .2s, background-color .2s; }
.ng-kind:hover { color: var(--ink); }
.ng-kind[aria-pressed="true"] { color: var(--ink); background: var(--card-2); border-color: var(--accent-fill); }
.ng-same { color: var(--muted); font-size: 17px; max-width: 46rem; }
.ng-kinds + .ng-card { margin-top: 18px; }
/* n8n-style "ran" check and the broken-node state */
.nd .run { position: absolute; top: -7px; right: -7px; width: 17px; height: 17px; border-radius: 50%; background: #1f883d; box-shadow: 0 0 0 2px #0b0b0a;
  opacity: 0; transform: scale(.4); display: grid; place-items: center; }
.nd .run::after { content: ""; width: 4px; height: 8px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nd.ran .run { opacity: 1; transform: none; }
.js.motion .nd .run { transition: opacity .3s ease, transform .4s var(--ease); }
.nd.ran { border-color: rgba(111,191,138,.38); }
.nd.k-person.ran { border-color: rgba(111,191,138,.6); }
.nd.err { border-color: #e5534b; box-shadow: 0 0 0 3px rgba(229,83,75,.18), 0 10px 24px -12px rgba(0,0,0,.9); }
.nd.err .run { background: #cf222e; opacity: 1; transform: none; }
.nd.err .run::after { content: "!"; width: auto; height: auto; margin: 0; border: 0; transform: none; color: #fff; font: 700 11px/1 var(--sans); }
.nd.k-phone .ic { background: #2f6fde; } .nd.k-folder .ic { background: #b7871d; } .nd.k-check .ic { background: #2f8a3e; }
.nd.k-cal .ic { background: #5b616b; } .nd.k-camera .ic { background: #0f6cbd; } .nd.k-tablet .ic { background: #5b616b; } .nd.k-box .ic { background: #8a5a2b; }

/* ===================== Small pages: privacy, terms, 404 (2026-11-11) ===================== */
.legal-wrap { width: min(100% - 2 * var(--gutter), 50rem); }
.legal-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(28px, 4vw, 44px);
  background: radial-gradient(ellipse 70% 80% at 50% -10%, rgba(235,232,226,.06), transparent 70%); }
.legal-title { margin-top: 22px; }
.legal-hero .lead { margin-top: 18px; }
.legal-meta { margin-top: 16px; font: 500 17px/1.4 var(--sans); color: var(--muted); }
.legal-hero .flag { margin-top: 12px; margin-right: 8px; }
.legal-body { padding-bottom: clamp(72px, 9vw, 120px); }
.legal-body section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: clamp(22px, 2vw, 26px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.legal-body p, .legal-body li { color: var(--body); }
.legal-body p { margin-top: 12px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body ul { margin-top: 12px; display: grid; gap: 6px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-fill); }
.legal-note { padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); }
.legal-body .flag { margin-top: 12px; }
.footer-legal a[aria-current="page"] { color: var(--ink); text-decoration-color: var(--accent); }

.nf { text-align: center; border-top: 0; min-height: calc(100vh - var(--nav-h) - 260px); display: grid; align-items: center;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(235,232,226,.06), transparent 70%); }
.nf-inner { max-width: 44rem; }
.nf .h2 { margin-top: 22px; }
.nf .lead { margin: 18px auto 0; max-width: 36rem; }
.nf-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nf .flag { margin-top: 18px; }

/* Copy address (Blake 2026-11-11: keep email first, cover the "opens the wrong mail program" gap) */
.start-mail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; }
.copy-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--body); font: 500 17px/1 var(--sans); }
.copy-btn:hover { color: var(--ink); border-color: rgba(255,240,225,.3); }
.copy-btn[hidden] { display: none; }
.copy-msg { flex-basis: 100%; min-height: 1.4em; font-size: 17px; color: #8fd6a6; }
.copy-msg:empty { min-height: 0; }
.keys-layer { margin-top: 14px; }

/* ---------- Seeing it pay off: animated example report (Blake 2026-11-11 12:51) ---------- */
.payoff .section-head .lead { max-width: 46rem; }
.pm { margin-top: clamp(32px, 4vw, 48px); }
.pm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.pm-cap { color: var(--body); max-width: 40rem; }
.pm-pause[hidden] { display: none; }
.pm > .flag { margin-bottom: 14px; }
.pm-sub { padding: 10px 18px 0; font-size: 13px; color: #57606a; }
.pm-panels { padding: 14px 18px 20px; }
.pm-panel { display: grid; gap: 16px; align-content: start; }
.pm-panel[hidden] { display: none; }
.pm-tiles { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-tile { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; justify-items: start; background: #fbfcfd; }
.pm-k { font-size: 13px; color: #57606a; font-weight: 600; }
.pm-v { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: #1f2328; font-variant-numeric: tabular-nums; }
.pm-v small { font-size: 15px; font-weight: 600; color: #57606a; letter-spacing: 0; }
.pm-d { font-size: 13px; color: #424a53; margin-bottom: 6px; }
.pm-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.pm-tag.t-time { background: #dafbe1; color: #116329; }
.pm-tag.t-rec { background: #ddf4ff; color: #0a4b8c; }
.pm-tag.t-proj { background: #fff1d6; color: #7a4100; }
.pm-chartbox { border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px 8px 2px; }
.pm-chart { display: block; width: 100%; height: auto; font-family: var(--sys); }
.pm-grid line { stroke: #eef0f3; stroke-width: 1; }
.pm-ylab text, .pm-xlab text { font-size: 11px; fill: #57606a; }
.pm-base { stroke: #8c959f; stroke-width: 1.5; stroke-dasharray: 5 5; }
.pm-base-lab { font-size: 11px; fill: #424a53; }
.pm-mark line { stroke: #0f6cbd; stroke-width: 1; stroke-dasharray: 2 4; }
.pm-mark text { font-size: 11px; font-weight: 600; fill: #0f6cbd; }
.pm-mark.sm text { font-weight: 500; fill: #424a53; }
.pm-line { fill: none; stroke: #1a7f37; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pm-dots circle { fill: #fff; stroke: #1a7f37; stroke-width: 2; }
.pm-pay circle { fill: none; stroke: #b4361d; stroke-width: 2.5; }
.pm-pay text { font-size: 12px; font-weight: 700; fill: #b4361d; }
.pm-nc { font-size: 13px; color: #424a53; padding: 8px 12px; border-radius: 8px; background: #f6f8fa; }
.pm-nc b { font-weight: 700; }
.pm-rows { display: grid; gap: 10px; }
.pm-rows li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; grid-template-areas: "rt bar h" "math math tags"; gap: 4px 14px; align-items: center; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; }
.pm-rt { grid-area: rt; display: grid; }
.pm-rt b { font-size: 15px; font-weight: 700; }
.pm-rt em { font-style: normal; font-size: 12px; color: #57606a; }
.pm-math { grid-area: math; font-size: 13px; color: #424a53; }
.pm-bar { grid-area: bar; height: 12px; border-radius: 999px; background: #eef0f3; overflow: hidden; }
.pm-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #1a7f37; transform-origin: left center; }
.pm-h { grid-area: h; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-tags { grid-area: tags; display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
/* motion: only when the demo is armed (JS on, motion allowed) */
.pm.armed .st { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pm.armed .st.on { opacity: 1; transform: none; }
.pm.armed .pm-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.pm.armed .pm-chartbox.on .pm-line { stroke-dashoffset: 0; }
.pm.armed .pm-dots, .pm.armed .pm-pay { opacity: 0; transition: opacity .4s var(--ease) 1.5s; }
.pm.armed .pm-chartbox.on .pm-dots, .pm.armed .pm-chartbox.on .pm-pay { opacity: 1; }
.pm.armed .pm-bar i { transform: scaleX(0); transition: transform 1s var(--ease) .2s; }
.pm.armed li.on .pm-bar i { transform: scaleX(1); }
@media (max-width: 760px) {
  .pm-tiles { grid-template-columns: 1fr; }
  .pm-tiles.two { grid-template-columns: 1fr 1fr; }
  .pm-rows li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "rt h" "bar bar" "math math" "tags tags"; }
  .pm-tags { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .pm-panels { padding: 12px 12px 16px; }
  .pm-sub { padding: 10px 12px 0; }
  .pm-tiles.two { grid-template-columns: 1fr; }
  .pm-v { font-size: 26px; }
  .pm-chartbox { padding: 4px 2px 0; }
}
.pm-chart-note { display: none; }
.pm-win .ad-bar { flex-wrap: wrap; row-gap: 6px; }
.pm-win .ad-app { white-space: nowrap; }
@media (max-width: 560px) {
  .pm-ylab, .pm-base-lab, .pm-mark.sm text { display: none; }
  .pm-xlab text, .pm-mark text { font-size: 20px; }
  .pm-pay text { font-size: 22px; }
  .pm-chart-note { display: block; font-size: 12px; color: #424a53; padding: 4px 8px 8px; }
}
/* money tab: five tiles (six-bucket wording, Blake 2026-11-11) */
.pm-tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pm-tiles.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pm-tiles.five, .pm-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .pm-tiles.five, .pm-tiles { grid-template-columns: 1fr; } }
/* Payback Map: kind-of-work picker and chart title (Blake 2026-11-11 13:45) */
.pm-kinds { display: grid; gap: 12px; margin-bottom: 18px; }
.pm-kinds-k { color: var(--ink); font-weight: 600; font-size: 19px; }
.pm-ct { font-size: 13px; font-weight: 600; color: #424a53; padding: 4px 8px 0; }
.pm-kind { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 500 17px/1.2 var(--sans); text-align: left;
  transition: color .2s, border-color .2s, background-color .2s; }
.pm-kind:hover { color: var(--ink); }
.pm-kind[aria-pressed="true"] { color: var(--ink); background: var(--card-2); border-color: var(--accent-fill); }
/* Payback tab: put in vs come back (Blake 2026-11-11 13:55 "yes") */
.pb-in { fill: none; stroke: #57606a; stroke-width: 2.5; stroke-linejoin: round; }
.pb-back { fill: none; stroke: #1a7f37; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pb-proj { stroke-dasharray: 6 6; opacity: .75; }
.pb-gap { fill: rgba(26,127,55,.14); stroke: none; }
.pb-gap.proj { fill: rgba(26,127,55,.07); }
.pb-now line { stroke: #8c959f; stroke-width: 1; stroke-dasharray: 2 4; }
.pb-now text { font-size: 11px; font-weight: 600; fill: #57606a; }
.pb-labs text { font-size: 12px; font-weight: 700; }
.pb-labs .l-back { fill: #116329; }
.pb-labs .l-in { fill: #424a53; }
.pb-labs .l-gap { fill: #116329; font-weight: 600; }
.pm.armed .pb-gap, .pm.armed .pb-proj, .pm.armed .pb-labs { opacity: 0; transition: opacity .5s var(--ease) 1.6s; }
.pm.armed .pm-chartbox.on .pb-gap, .pm.armed .pm-chartbox.on .pb-labs { opacity: 1; }
.pm.armed .pm-chartbox.on .pb-proj { opacity: .75; }
@media (max-width: 560px) {
  .pb-labs text, .pb-now text { font-size: 20px; }
  .pb-labs .l-gap { display: none; }
}
@media (max-width: 560px) {
  .pb-chart .pm-pay text, .pb-now text { display: none; }
}
@media (max-width: 560px) { .pb-labs { display: none; } }
/* inline text links: taller hit box with no layout change (S3 targets 44px; inline links sit inside sentences) */
.text-link { padding: 11px 0; }
/* example-window title bars wrap on narrow phones so the "Example screen" label is never cut off (S2, 320px) */
.ad-bar { flex-wrap: wrap; row-gap: 6px; }
/* How it grows on very narrow phones: node text and icons shrink with the drawing so nodes don't overlap (S2 read at 320px) */
@supports (font-size: 1cqw) {
  .ng.ph .nd { font-size: min(12.5px, 4.9cqw); padding: min(6px, 2.35cqw) min(8px, 3.1cqw) min(6px, 2.35cqw) min(6px, 2.35cqw); gap: min(7px, 2.7cqw); }
  .ng.ph .nd .ic { width: min(24px, 9.4cqw); height: min(24px, 9.4cqw); }
}
.ng.ph .nd .bdg { font-size: .74em; padding: 0 5px; }

/* Phone drawing on narrow phones: the bubbles wrap more, so the drawing grows to fit the last message (Codex round 1 S2, 320px) */
@media (max-width: 380px) {
  .pv-phone { height: 380px; }
  .phone { height: 350px; }
}
