:root {
  /* Blueprint palette: amber, white, blueprint blue, receiving-stamp red, light amber tags */
  --paper: #FFFFFF;
  --canary: #F2B33D;
  --mist: #EAF0F7;
  --ink: #14325C;
  --ink-2: #294972;
  --stamp: #C9302A;
  --hivis: #F8D594;
  --go: #1F7A4D;
  --wait: #9A5B00;
  --ink-soft: #586D8B;
  --rule: rgba(20, 50, 92, 0.24);
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-phone: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.65rem;
  --step-3: clamp(2.1rem, 4.6vw, 3rem);
  --step-4: clamp(2.8rem, 7vw, 5rem);
  --wrap: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --band: clamp(52px, 7vw, 96px);
  --shadow: 10px 10px 0 var(--ink);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.55; }
svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 0.95; }
h2 { font-size: var(--step-3); line-height: 1.02; }
p { margin: 0; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bot { display: block; flex: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.band { padding-block: var(--band); }
.band-canary { background: var(--canary); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: var(--paper); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p, .lede { font-size: var(--step-1); line-height: 1.5; }
.caption { font-size: var(--step--1); color: var(--ink-soft); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Views: one place at a time once the script is running */
.js .view { display: none; }
.view { scroll-margin-top: 100vh; }
[data-view="home"] #home, [data-view="how"] #how, [data-view="bots"] #bots, [data-view="plans"] #plans, [data-view="start"] #start { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 22px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; text-align: center; text-decoration: none; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(20, 50, 92, 0.08); border-color: var(--ink); }
.btn-small { min-height: 44px; padding: 6px 16px; font-size: 1.2rem; white-space: nowrap; }
.btn-small[aria-current="page"] { background: var(--hivis); color: var(--ink); border-color: var(--ink); }
.btn-big { min-height: 60px; padding: 12px 28px; font-size: 1.5rem; }
.btn-hi { --stripe: rgba(20, 50, 92, 0.1); background: var(--canary); color: var(--ink); border-color: var(--canary); }
.btn-hi:hover { background-color: #F5C66E; border-color: #F5C66E; }
.btn-line { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, 0.7); }
.btn-line:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--paper); }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--canary); border-bottom: 3px solid var(--ink); }
.nav { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; }
.logo-bot { display: block; width: 48px; height: 48px; overflow: visible; }
.lb-hat { transform-origin: 8px 32px; }
.brand:hover .lb-hat { animation: tip-hat 0.8s ease; }
@keyframes tip-hat { 0%, 100% { transform: none; } 35%, 62% { transform: translate(-1px, -6px) rotate(-18deg); } }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 10px 12px 12px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { background: rgba(20, 50, 92, 0.08); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 5px; border-radius: 3px; background: repeating-linear-gradient(-45deg, var(--ink) 0 5px, var(--hivis) 5px 10px); }
@media (min-width: 701px) { .site-header { position: sticky; top: 0; } }
/* A tape measure pulls out under the header as you scroll */
.tape { position: absolute; left: 0; top: 100%; width: calc(var(--p, 0) * 100%); height: 11px; margin-top: 3px; border-bottom: 2px solid var(--ink); background: linear-gradient(90deg, var(--ink) 0 2px, transparent 2px) 0 0 / 40px 7px repeat-x, linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px) 0 0 / 8px 4px repeat-x, var(--canary); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.tape.out { opacity: 1; }
.tape::after { content: ""; position: absolute; right: -6px; top: -3px; width: 8px; height: 16px; border: 2px solid var(--ink); border-radius: 2px; background: #AFC0D4; }

/* Home: a blueprint hero with a crane lifting the bot over three jobsites */
.hero { position: relative; overflow: hidden; background-color: var(--ink); background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 36px 36px; color: var(--paper); padding-block: clamp(30px, 4vw, 56px) clamp(56px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { color: var(--canary); font-size: clamp(3.4rem, 6.8vw, 5.9rem); line-height: 0.88; }
.hero .lede { max-width: 42ch; color: #E6ECF4; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: var(--step--1); color: var(--ink-soft); }
.hero .note { max-width: 30ch; color: #C3D1E0; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-deal { --tier-bg: var(--ink); text-decoration: none; }
.hero-deal:hover { background: #FAE4BB; }
.scene-wrap { position: relative; }
.scene { position: relative; margin: 0; container-type: inline-size; }
.scene-svg { display: block; width: 100%; height: auto; overflow: visible; }
.sc-dirt { fill: rgba(0, 0, 0, 0.2); }
.sc-ground { fill: none; stroke: var(--canary); stroke-width: 3; }
.sc-frame { fill: none; stroke: rgba(242, 179, 61, 0.55); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sc-label { fill: var(--canary); font-family: var(--font-display); font-weight: 700; font-size: 17px; text-anchor: middle; }
.sc-sign { fill: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 15px; text-anchor: middle; }
.sc-lattice { fill: none; stroke: var(--canary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sc-tie { fill: none; stroke: var(--canary); stroke-width: 1.6; }
.sc-steel { fill: var(--ink-2); stroke: var(--canary); stroke-width: 2.5; }
.sc-weight { fill: #5B7FA6; stroke: var(--canary); stroke-width: 2.5; }
.sc-beacon { fill: #FF5A4A; animation: beacon 1.6s steps(1) infinite; }
.sc-cable { fill: none; stroke: #C3D1E0; stroke-width: 2; }
.sc-sling { stroke-width: 2.5; }
.sc-travel { animation: travel 12s ease-in-out infinite alternate; }
.sc-rig { transform-origin: 290px 92px; animation: sway 3.6s ease-in-out infinite alternate; }
.sc-eyes, .lb-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.sc-truck { animation: drive 11s linear infinite; }
.sc-truck-body { animation: rumble 0.3s ease-in-out infinite alternate; }
.sc-wheel { transform-box: fill-box; transform-origin: center; animation: spin 0.7s linear infinite; }
@keyframes beacon { 50% { opacity: 0.2; } }
@keyframes travel { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }
@keyframes drive { from { transform: translateX(-90px); } to { transform: translateX(690px); } }
@keyframes rumble { to { transform: translateY(-0.8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
/* Texts from each jobsite pop up over it */
.pings { list-style: none; margin: 0; padding: 0; }
.ping { position: absolute; left: var(--x); top: var(--y); display: grid; padding: 7px 12px 8px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3); font-size: max(11px, 2.3cqw); line-height: 1.15; white-space: nowrap; opacity: 0; transform: translate(calc(var(--ax) * -100%), -100%) translateY(14px) scale(0.7); transform-origin: calc(var(--ax) * 100%) 100%; transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; }
.ping.on { opacity: 1; transform: translate(calc(var(--ax) * -100%), -100%); }
.ping::after { content: ""; position: absolute; left: calc(var(--ax) * 100%); top: 100%; width: 11px; height: 11px; margin: -6.5px 0 0 -6.5px; border: solid var(--ink); border-width: 0 2px 2px 0; background: var(--paper); transform: rotate(45deg); }
.ping b { font-family: var(--font-display); font-weight: 800; font-size: 1.15em; line-height: 1.05; }
.ping-say { font-weight: 700; }
.ping-ico { position: absolute; left: -13px; top: -13px; display: grid; place-items: center; width: 2.2em; height: 2.2em; border: 2px solid var(--ink); border-radius: 50%; background: var(--canary); }
.ping-ico .ico { width: 1.3em; height: 1.3em; }
.still-btn { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 50%; background: rgba(20, 50, 92, 0.75); color: var(--paper); cursor: pointer; }
.still-btn:hover { border-color: var(--canary); color: var(--canary); }
.still-btn:focus-visible { outline-color: var(--canary); }

/* Home: caution tape that runs across the page */
.ticker { position: relative; z-index: 3; margin-block: -36px; padding-block: 24px; overflow: hidden; pointer-events: none; }
.ticker-tape { width: 106%; margin-left: -3%; border-block: 3px solid var(--ink); background: var(--canary); box-shadow: 0 7px 0 rgba(20, 50, 92, 0.18); transform: rotate(-1.6deg); }
.ticker-tape::before, .ticker-tape::after { content: ""; display: block; height: 7px; background: repeating-linear-gradient(-45deg, var(--ink) 0 7px, var(--canary) 7px 14px); }
.ticker-track { display: flex; align-items: center; width: max-content; padding-block: 9px; animation: tick 46s linear infinite; }
.ticker-track span { margin-right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; white-space: nowrap; }
.tk-hat { flex: none; width: 30px; height: 21px; margin-right: 22px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Home: how CrewBotz helps, with a conveyor that sorts texts into tickets */
.help-band { padding-top: calc(var(--band) + 20px); }
.help-band .section-head { justify-items: center; text-align: center; }
.help-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); margin: 0; padding: 0; text-align: center; }
.help-steps h3 { font-size: 1.75rem; line-height: 1.05; }
.help-steps p { margin: 8px auto 0; max-width: 30ch; color: var(--ink-soft); }
.nut { position: relative; isolation: isolate; display: grid; place-items: center; width: 58px; height: 52px; margin: 0 auto 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.nut::before, .nut::after { content: ""; position: absolute; z-index: -1; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.nut::before { inset: 0; background: var(--ink); }
.nut::after { inset: 3.5px 4.5px; background: var(--canary); }
.belt { --dur: 9s; position: relative; height: 142px; margin-top: clamp(20px, 3vw, 36px); }
.belt-run { position: absolute; left: 0; right: 0; top: 44px; height: 52px; overflow: hidden; }
.belt-item { position: absolute; bottom: 0; left: -50px; width: 44px; height: 40px; animation: ride var(--dur) linear infinite; animation-delay: calc(var(--dur) * var(--i) * -0.25); }
.bi-raw, .bi-done { position: absolute; inset: 0; display: grid; place-items: center; border: 2.5px solid var(--ink); border-radius: 10px; }
.bi-raw { background: var(--paper); transform: rotate(var(--r)); animation: raw-out var(--dur) linear infinite; animation-delay: inherit; }
.bi-done { background: var(--canary); opacity: 0; animation: done-in var(--dur) linear infinite; animation-delay: inherit; }
.bi-raw .ico, .bi-done .ico { width: 24px; height: 24px; }
.bi-done .ico { stroke-width: 3; }
.belt-deck { position: absolute; left: 0; right: 0; top: 95px; height: 19px; border: 3px solid var(--ink); border-radius: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, var(--ink-2) 14px 24px); animation: belt-move 0.22s linear infinite; }
.belt-rollers { position: absolute; left: 8px; right: 8px; top: 110px; display: flex; justify-content: space-between; }
.belt-rollers i { width: 28px; height: 28px; border: 3px solid var(--ink); border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 3px, transparent 3.5px), linear-gradient(var(--ink), var(--ink)) center / 3px 100% no-repeat, var(--canary); animation: spin 0.8s linear infinite; }
.station { position: absolute; left: 50%; top: -14px; width: 150px; height: 112px; overflow: visible; transform: translateX(-50%); }
.st-scan { animation: scan 1.1s ease-in-out infinite alternate; }
.st-led { animation: beacon 1s steps(1) infinite; }
.st-led2 { animation-delay: -0.5s; }
.help-more { margin: 22px auto 0; text-align: center; font-size: var(--step-1); font-weight: 700; }
@keyframes ride { from { left: -50px; } to { left: calc(100% + 6px); } }
@keyframes raw-out { 0%, 49% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes done-in { 0%, 49% { opacity: 0; } 51%, 100% { opacity: 1; } }
@keyframes belt-move { to { background-position: 24px 0; } }
@keyframes scan { from { transform: translateY(-9px); } to { transform: translateY(9px); } }

/* Progress bars (How it works) */
.bar { display: inline-block; width: 56px; height: 8px; overflow: hidden; border-radius: 4px; background: var(--mist); vertical-align: middle; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--go); }

/* Home: before and after */
.cmp-title { max-width: 20ch; }
.cmp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 44px); margin-top: clamp(28px, 4vw, 40px); }
.cmp { display: grid; gap: 18px; align-content: start; margin: 0; padding: clamp(18px, 3vw, 28px); border: 2px dashed rgba(255, 255, 255, 0.35); border-radius: 18px; }
.cmp-new { border: 3px solid var(--canary); }
.map { display: block; width: 100%; height: auto; }
.map-route { fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 3.5; stroke-dasharray: 1 10; stroke-linecap: round; }
.map-bldg { fill: var(--mist); stroke: var(--canary); stroke-width: 2; }
.map-roof { fill: var(--hivis); stroke: var(--canary); stroke-width: 2; stroke-linejoin: round; }
.map-t { fill: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 16px; text-anchor: middle; }
.map-feed { fill: none; stroke: var(--canary); stroke-width: 2.5; stroke-dasharray: 6 6; animation: feed 0.9s linear infinite; }
.map-dot { transform-box: fill-box; transform-origin: center; animation: dot-pulse 2.4s ease-in-out infinite; }
@keyframes feed { from { stroke-dashoffset: 12; } to { stroke-dashoffset: 0; } }
@keyframes dot-pulse { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.45); } }
.map-arrow { fill: none; stroke: var(--canary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.map-phone { fill: var(--paper); stroke: var(--canary); stroke-width: 3; }
.map-bar { fill: var(--ink); }
.map-row { fill: var(--mist); }
.map-r { fill: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.cmp figcaption { color: rgba(255, 255, 255, 0.88); font-size: var(--step-1); line-height: 1.45; }
.cmp figcaption b { display: block; margin-bottom: 4px; color: var(--canary); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }

/* Home: tiles that open a category */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2px 16px; align-items: start; height: 100%; padding: 20px; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.tile .ibox { grid-row: span 2; }
.tile b { padding-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.tile > span:last-child { color: var(--ink-soft); line-height: 1.4; }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.tile:hover .ibox { animation: wiggle 0.5s ease; }
@keyframes wiggle { 25% { transform: rotate(-9deg); } 60% { transform: rotate(7deg); } }
.ibox { display: grid; place-items: center; width: 52px; height: 52px; background: var(--canary); border: 2px solid var(--ink); border-radius: 12px; }
.ibox .ico { width: 28px; height: 28px; }
.cta-band { padding-block: clamp(36px, 5vw, 56px) calc(clamp(36px, 5vw, 56px) + 30px); border-top: 3px solid var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-deal { margin-top: 8px; font-size: var(--step-1); font-weight: 700; }

/* Page heads for the other views */
.page-head { padding-block: clamp(36px, 5vw, 64px); }
.page-head h1 { margin-bottom: 14px; }
.page-head .lede { max-width: 56ch; }

/* How it works: categories that open and close */
.how-body { padding-top: clamp(32px, 4vw, 48px); }
.cats { display: grid; gap: 14px; }
.cat { background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; scroll-margin-top: 96px; transition: box-shadow 0.3s ease; }
.cat.open { box-shadow: var(--shadow); }
.cat-h { margin: 0; font: inherit; }
.cat-btn { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 16px; align-items: center; width: 100%; padding: 16px 18px; border: 0; border-radius: 13px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cat-btn:hover { background: rgba(20, 50, 92, 0.04); }
.cat-btn:focus-visible { outline-offset: -5px; }
.cat-txt b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; }
.cat-txt span { display: block; margin-top: 3px; color: var(--ink-soft); line-height: 1.4; }
.cat-tog { position: relative; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s; }
.cat-tog::before, .cat-tog::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; margin: -1.5px 0 0 -8px; border-radius: 2px; background: var(--ink); }
.cat-tog::after { transform: rotate(90deg); }
.cat.open .cat-tog { transform: rotate(135deg); background: var(--canary); }
.cat-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.js .cat:not(.open) .cat-panel { grid-template-rows: 0fr; }
.cat-inner { min-height: 0; overflow: hidden; }
.cat-body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin: 0 18px; padding: 26px 0 32px 68px; border-top: 2px dashed var(--rule); transition: opacity 0.35s ease 0.12s, transform 0.35s ease 0.12s; }
.js .cat:not(.open) .cat-body { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.cat-body.wide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.cat-copy { display: grid; gap: 16px; align-content: start; }
.cat-copy p { font-size: var(--step-1); line-height: 1.5; }
.cat-fig { min-width: 0; margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 32px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 6px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.6L6.6 12L12.8 4.6' fill='none' stroke='%23F2B33D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* Cards inside the categories */
.card { max-width: 520px; padding: 18px 20px 14px; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px dashed var(--rule); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.card-top span + span { font-size: 1.05rem; font-weight: 700; color: var(--ink-soft); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { padding: 12px 0; border-bottom: 2px dashed var(--rule); }
.rows > li:last-child { border-bottom: 0; }
.roster > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.roster b { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
.count { justify-self: end; display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--canary); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.people { grid-column: 1 / -1; font-size: 0.95rem; line-height: 1.4; color: var(--ink-soft); }
.moves-today { display: grid; gap: 4px; margin-top: 4px; padding: 12px 14px; border-radius: 10px; background: var(--mist); font-size: 0.95rem; line-height: 1.4; }
.moves-today b { font-family: var(--font-display); font-size: 1.15rem; }
.prog > li { display: grid; grid-template-columns: minmax(0, 1fr) 110px 70px; gap: 12px; align-items: center; }
.prog .bar { width: 100%; height: 10px; }
.prog b { text-align: right; font-family: var(--font-display); font-size: 1.15rem; }
.ai-note { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; max-width: none; margin-top: 4px; padding: 12px 14px; border-radius: 10px; background: #FCF0D8; font-size: 0.95rem; line-height: 1.4; }
.ai-note .bot { width: 40px; height: 40px; }
.moves > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.moves b { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
.route { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 0.95rem; color: var(--ink-soft); }
.route .ico { width: 16px; height: 16px; }
.chip { justify-self: end; padding: 5px 10px 4px; border-radius: 999px; background: var(--mist); font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1; white-space: nowrap; }
.moves .chip { grid-column: 2; grid-row: 1 / span 2; }
.chip.go { background: #E3F2EA; color: var(--go); }
.chip.wait { background: #FFF1D6; color: var(--wait); }
.etas > li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.etas time { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1.1; white-space: nowrap; }
.etas li > span:nth-child(2) { font-size: 0.95rem; line-height: 1.3; color: var(--ink-soft); }
.etas li > span b { display: block; font-size: 1rem; color: var(--ink); }

/* Phone chat */
.phone { width: min(100%, 380px); padding: 12px 14px 22px; background: var(--paper); border: 3px solid var(--ink); border-radius: 38px; box-shadow: var(--shadow); }
.phone-top { display: flex; justify-content: center; padding: 4px 0 12px; }
.speaker { width: 70px; height: 7px; border-radius: 4px; background: var(--ink); }
.thread-head { display: flex; align-items: center; gap: 10px; padding: 0 6px 12px; border-bottom: 1.5px solid var(--rule); font-family: var(--font-phone); }
.thread-head strong { display: block; font-size: 0.98rem; line-height: 1.2; }
.thread-head span { display: block; font-size: 0.8rem; color: var(--ink-soft); }
.avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--canary); }
.avatar .bot { width: 30px; height: 30px; }
.thread { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 14px 2px 0; font-family: var(--font-phone); font-size: 0.92rem; line-height: 1.38; }
.msg { max-width: 88%; padding: 8px 12px 9px; border-radius: 17px; }
.msg .who { display: block; margin-bottom: 2px; font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }
.msg.in { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 5px; }
.msg.bot-msg { align-self: flex-start; background: #FCF0D8; border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 5px; }
.msg.out .who { color: rgba(255, 255, 255, 0.75); }
.photo { display: block; width: 100%; height: auto; margin-top: 6px; border-radius: 10px; }

/* Approval ticket */
.ticket { position: relative; width: 100%; max-width: 460px; padding: 22px 24px 20px; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.ticket-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px dashed var(--rule); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.ticket dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 14px 0 0; }
.ticket dt { font-size: 0.95rem; color: var(--ink-soft); }
.ticket dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ticket .total { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.big-stamp { position: absolute; right: 22px; bottom: 92px; padding: 4px 12px 2px; border: 3px solid var(--stamp); border-radius: 6px; background: rgba(255, 255, 255, 0.85); color: var(--stamp); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; transform: rotate(-8deg); }
.ticket-actions { display: flex; gap: 10px; margin-top: 18px; }
.fake-btn { flex: 1; padding: 9px 12px; border: 2px solid var(--ink); border-radius: 9px; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-align: center; }
.fake-btn.ghost { background: transparent; color: var(--ink); }

/* Chain of command */
.chain { display: grid; justify-items: center; }
.tier { width: min(100%, 460px); padding: 16px 22px; border-radius: 14px; text-align: center; }
.tier b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.tier span { display: block; line-height: 1.45; }
.tier-owner { width: min(100%, 360px); padding: 12px 18px; background: var(--paper); border: 2px dashed var(--rule); color: var(--ink-soft); }
.tier-owner b { font-size: 1.3rem; color: var(--ink); }
.tier-mgr { background: var(--ink); color: var(--paper); }
.stem { width: 3px; height: 34px; background: var(--ink); }
.foremen { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: stretch; width: 100%; padding-top: 34px; }
.foremen::before { content: ""; position: absolute; top: 0; left: calc((100% - 128px) / 6); right: calc((100% - 128px) / 6); height: 3px; background: var(--ink); }
.team { grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; }
.fm { position: relative; padding: 14px 18px; background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; text-align: center; }
.fm::before { content: ""; position: absolute; top: -37px; left: 50%; width: 3px; height: 34px; margin-left: -1.5px; background: var(--ink); }
.fm b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.fm span { font-size: var(--step--1); color: var(--ink-soft); }
.down { display: grid; place-items: center; height: 46px; }
.down svg { width: 46px; height: 16px; transform: rotate(90deg); }
.crew { padding: 12px 10px; background: var(--mist); border: 2px solid var(--ink); border-radius: 12px; text-align: center; }
.crew b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.hats { display: block; width: calc(var(--n, 4) * 24px - 2px); height: 18px; margin: 0 auto 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2.8 12A8.6 8.4 0 0 1 20 12Z' fill='%23F2B33D' stroke='%2314325C' stroke-width='1.3'/%3E%3Crect x='10.1' y='4.4' width='2.6' height='6.2' rx='1.1' fill='%23FFFFFF' fill-opacity='0.5'/%3E%3Crect x='1.2' y='10.8' width='20.4' height='3.6' rx='1.8' fill='%23F2B33D' stroke='%2314325C' stroke-width='1.3'/%3E%3C/svg%3E") 0 0 / 24px 18px repeat-x; }
.link { display: grid; place-items: center; }
.team + .link { grid-row: 1; }
.link svg { width: 52px; height: 18px; }

/* Crew day card */
.day { max-width: 420px; padding: 20px 22px 18px; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.day-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.day-top span + span { font-size: 1.1rem; font-weight: 700; color: var(--ink-soft); }
.day-meta { margin-top: 2px; padding-bottom: 12px; border-bottom: 2px dashed var(--rule); font-size: 0.95rem; color: var(--ink-soft); }
.tasks { list-style: none; margin: 0; padding: 0; }
.tasks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 2px dashed var(--rule); line-height: 1.4; }
.box { width: 26px; height: 26px; border: 2.5px solid var(--ink); border-radius: 7px; background: var(--paper); }
.done .box { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.6L6.6 12L12.8 4.6' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.time { display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.tag { display: table; margin-top: 8px; padding: 4px 9px 3px; border-radius: 999px; background: #E3F2EA; color: var(--go); font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; line-height: 1; }
.day-foot { padding-top: 12px; font-size: 0.95rem; font-weight: 700; }

/* Weekly spreadsheet */
.sheet-scroll { overflow-x: auto; padding: 0 10px 10px 0; }
.sheet { width: 100%; overflow: hidden; border-collapse: collapse; background: var(--paper); border: 3px solid var(--ink); font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { padding: 12px 14px; text-align: right; border-bottom: 1.5px solid var(--rule); }
.sheet th:first-child, .sheet td:first-child { text-align: left; }
.sheet thead th { background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.sheet tbody tr:last-child td { border-bottom: 0; }
.sheet tfoot td { background: var(--mist); font-weight: 700; border-bottom: 0; border-top: 2px solid var(--ink); }

/* The bots */
.bot-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; }
.bot-card { padding: 18px 16px 20px; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; text-align: center; }
.bot-big { display: block; width: 96px; height: 96px; margin: 0 auto 8px; transform-origin: 50% 90%; }
.bot-card:hover .bot-big { animation: bot-hop 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
@keyframes bot-hop { 0%, 100% { transform: none; } 30% { transform: translateY(-12px) scaleY(1.05); } 65% { transform: translateY(0) scaleY(0.93); } }
.bot-card h2 { font-size: 1.6rem; }
.bot-card p { margin-top: 6px; font-size: 1rem; line-height: 1.45; }
.relay { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; counter-reset: relay; }
.relay li { position: relative; padding-right: 18px; counter-increment: relay; }
.relay li::before { content: counter(relay); position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border: 3px solid var(--ink); border-radius: 50%; background: var(--canary); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.relay li::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); }
.relay li:last-child::after { display: none; }
.relay b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.relay span { display: block; margin-top: 4px; color: var(--ink-soft); line-height: 1.45; }

/* Plans */
.bots-more { margin-top: 24px; font-size: var(--step-1); }
.bots-more a { font-weight: 700; }
.plans-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 56px; }
/* The deal is a supply-house hang tag. It swings in once when the page shows. */
.hang-tag { position: relative; container-type: inline-size; width: 340px; aspect-ratio: 340 / 150; margin-right: 12px; color: var(--ink); transform: rotate(-6deg); transform-origin: 13% 50%; }
.hang-tag-shape { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hang-tag p { position: relative; display: grid; align-content: center; height: 100%; padding: 0 7% 0 26%; line-height: 1; }
.hang-tag b { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; font-size: 17cqw; line-height: 0.92; }
.hang-tag span { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; font-size: 7.4cqw; line-height: 1.05; }
.hang-tag small { margin-top: 7px; margin-top: 2.2cqw; font-size: 0.95rem; font-size: 4.5cqw; font-weight: 700; line-height: 1.2; }
[data-view="plans"] .hang-tag { animation: swing 1.5s cubic-bezier(0.3, 0.7, 0.4, 1) 0.45s both; }
@keyframes swing { 0% { transform: rotate(-26deg); } 30% { transform: rotate(3deg); } 55% { transform: rotate(-11deg); } 78% { transform: rotate(-4deg); } 100% { transform: rotate(-6deg); } }
.plans { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; isolation: isolate; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; }
.plan-top { box-shadow: var(--shadow); }
.plan h2 { font-size: 2.1rem; }
.plan-for { margin-top: -8px; color: var(--ink-soft); }
.price { display: flex; align-items: baseline; padding: 10px 0 12px; border-block: 2px dashed var(--rule); font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price .cur { align-self: flex-start; margin: 4px 2px 0 0; font-size: 1.8rem; }
.price .from { margin-right: 8px; font-size: 1.4rem; color: var(--ink-soft); }
.price .per { margin-left: 8px; font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--ink-soft); }
.price-box { display: grid; justify-items: start; gap: 10px; padding: 10px 0 16px; border-block: 2px dashed var(--rule); }
.price-box .price { padding: 0; border: 0; }
.deal { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px 4px 28px; border: 2px solid var(--ink); border-radius: 8px; background: var(--hivis); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; white-space: nowrap; transform: rotate(-2deg); }
.deal::before { content: ""; position: absolute; left: 9px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 2px solid var(--ink); border-radius: 50%; background: var(--tier-bg, var(--paper)); }
.deal b { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.plan .ticks { flex: 1; align-content: start; }
.plan-bots { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-top: 14px; border-top: 2px dashed var(--rule); }
.plan-label { margin-right: 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.mini { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 2px; border-radius: 999px; background: var(--mist); font-size: 0.9rem; font-weight: 700; }
.mini svg { display: block; width: 28px; height: 28px; }
.plan-help { font-size: 0.95rem; }
.plan .btn { width: 100%; }
.plan-stamp { position: absolute; top: -18px; right: 16px; padding: 4px 12px 2px; border: 3px solid var(--stamp); border-radius: 6px; background: var(--paper); color: var(--stamp); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; transform: rotate(4deg); }
.plans-note { margin-top: 26px; color: var(--ink-soft); }
/* Tiers step up from plain to bold: paper, then canary, then ink on a hazard-stripe shadow */
.t1 { --tier-bg: var(--paper); }
.t2 { --tier-bg: var(--canary); --rule: rgba(20, 50, 92, 0.34); }
.t3 { --tier-bg: var(--ink); --rule: rgba(255, 255, 255, 0.3); }
.plan.t2 { background: var(--canary); box-shadow: 8px 8px 0 var(--ink); }
.plan.t2 .mini { background: var(--paper); }
.plan.t3 { background: var(--ink); color: var(--paper); }
.plan.t3::before { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: 18px; background: repeating-linear-gradient(-45deg, var(--canary) 0 11px, var(--ink) 11px 22px); transform: translate(14px, 14px); }
.plan.t3 .plan-for { color: var(--canary); font-weight: 700; }
.plan.t3 .price { color: var(--canary); }
.plan.t3 .price .per, .plan.t3 .plan-help { color: #C3D1E0; }
.plan.t3 .plan-help b { color: var(--paper); }
.plan.t3 .ticks li::before { background-color: var(--canary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.6L6.6 12L12.8 4.6' fill='none' stroke='%2314325C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan.t3 .plan-label { color: var(--canary); }
.plan.t3 .mini { background: rgba(255, 255, 255, 0.14); color: var(--paper); }
.plan.t3 .btn { background: var(--canary); color: var(--ink); border-color: var(--canary); }
.plan.t3 .btn:hover { background: #F5C66E; border-color: #F5C66E; }
.plan.t3 :focus-visible { outline-color: var(--canary); }
html:not(.js) .builder-band { display: none; }
.builder-band { scroll-margin-top: 70px; }
.builder { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.step { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.step legend { margin-bottom: 14px; padding: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 2px; height: 100%; padding: 14px 16px; background: var(--tier-bg, var(--paper)); border: 3px solid var(--ink); border-radius: 14px; transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.choice-box b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.choice-box span { font-size: 0.95rem; color: var(--ink-soft); }
.choice-box .choice-price { align-self: end; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.choice-price small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
.choice-box::after { content: ""; position: absolute; top: -14px; right: -14px; width: 32px; height: 32px; border: 3px solid var(--paper); border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.6L6.6 12L12.8 4.6' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat; transform: scale(0); transition: transform 0.2s; }
.choice input:checked + .choice-box { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.choice input:checked + .choice-box::after { transform: scale(1); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--ink); outline-offset: 3px; }
.choice.t3 .choice-box { color: var(--paper); }
.choice.t3 .choice-box span, .choice.t3 .choice-price small { color: #C3D1E0; }
.choice.t3 .choice-box .choice-price { color: var(--canary); }
.choice.t3 .choice-box::after { background-color: var(--canary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.6L6.6 12L12.8 4.6' fill='none' stroke='%2314325C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.picks { display: grid; gap: 10px; }
.pick { display: grid; grid-template-columns: 26px 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; cursor: pointer; transition: background-color 0.2s; }
.pick.on { background: #FEF8EC; }
.pick.inc { cursor: default; }
.pick input { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 7px; cursor: inherit; }
.pick input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.6L6.6 12L12.8 4.6' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pick-bot { display: block; width: 52px; height: 52px; }
.pick-txt { font-size: 0.95rem; line-height: 1.35; color: var(--ink-soft); }
.pick-txt b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.1; color: var(--ink); }
.pick-tag { justify-self: end; padding: 5px 10px 4px; border-radius: 999px; background: var(--mist); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1; white-space: nowrap; }
.pick.inc .pick-tag { background: #E3F2EA; color: var(--go); }
.receipt { position: sticky; top: 96px; display: grid; gap: 14px; padding: 22px 22px 24px; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.receipt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px dashed var(--rule); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.receipt-top span + span { font-size: 1.05rem; font-weight: 700; color: var(--ink-soft); }
.receipt-lines { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.receipt-lines li span:last-child { font-weight: 700; white-space: nowrap; }
.receipt-lines .inc span:last-child { color: var(--go); }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 3px solid var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.receipt-total output { display: inline-block; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.receipt-deal { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px 10px 38px; border: 2px solid var(--ink); border-radius: 10px; background: var(--hivis); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.receipt-deal::before { content: ""; position: absolute; left: 13px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.receipt-deal small { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; line-height: 1.2; }
.receipt-deal output { display: inline-block; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.receipt-total output.bump, .receipt-deal output.bump { animation: bump 0.35s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }
.receipt-note { font-size: 0.9rem; color: var(--ink-soft); }
.receipt .btn { width: 100%; }

/* Early access */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.start-copy { display: grid; gap: 20px; justify-items: start; }
.start-copy h1 { margin: 0; }
.start-card { padding: 24px 26px; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); }
.start-card h2 { margin-bottom: 14px; font-size: 1.8rem; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--step--1); color: var(--ink-soft); }
.copy-btn { padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.copy-btn:hover { background: rgba(20, 50, 92, 0.08); }
.founder { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 24px; align-items: center; }
.founder-bot { grid-row: span 2; width: 96px; height: 96px; }
.founder p { font-size: var(--step-1); line-height: 1.45; }
.founder .sig { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }

/* Footer */
.site-footer { position: relative; padding-block: 28px; background: var(--ink); color: var(--paper); }
.crew-line { position: absolute; bottom: 100%; right: max(var(--gutter), (100% - var(--wrap)) / 2); display: flex; align-items: flex-end; gap: 2px; margin-bottom: -4px; pointer-events: none; }
.crew-line svg { display: block; width: 40px; height: 40px; animation: crew-hop 7s ease-in-out infinite; animation-delay: calc(var(--n) * 0.13s); }
@keyframes crew-hop { 0%, 9%, 100% { transform: translateY(0); } 4% { transform: translateY(-10px); } }
.foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 28px; align-items: center; }
.foot .brand { margin: 0; color: var(--canary); --outline: var(--canary); }
.tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.fine { font-size: var(--step--1); color: rgba(255, 255, 255, 0.8); }
.fine a { color: var(--canary); }

/* The switch between places: a hazard-striped panel with the bot on it */
.wipe { position: fixed; inset: 0; z-index: 100; overflow: hidden; visibility: hidden; pointer-events: none; }
.wipe.on { visibility: visible; pointer-events: auto; }
.wipe-panel { position: absolute; top: 0; bottom: 0; left: -64px; right: -64px; display: grid; place-items: center; background-color: var(--ink); background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 36px 36px; transform: translateX(110%); will-change: transform; }
.wipe-panel::before, .wipe-panel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; background: repeating-linear-gradient(-45deg, var(--canary) 0 22px, var(--ink) 22px 44px); }
.wipe-panel::before { left: 0; }
.wipe-panel::after { right: 0; }
.wipe.back .wipe-panel { transform: translateX(-110%); }
.wipe.fwd.cover .wipe-panel { animation: in-right 0.38s cubic-bezier(0.76, 0, 0.24, 1) forwards; }
.wipe.back.cover .wipe-panel { animation: in-left 0.38s cubic-bezier(0.76, 0, 0.24, 1) forwards; }
.wipe.fwd.reveal .wipe-panel { animation: out-left 0.4s cubic-bezier(0.76, 0, 0.24, 1) forwards; }
.wipe.back.reveal .wipe-panel { animation: out-right 0.4s cubic-bezier(0.76, 0, 0.24, 1) forwards; }
@keyframes in-right { from { transform: translateX(110%); } to { transform: translateX(0); } }
@keyframes in-left { from { transform: translateX(-110%); } to { transform: translateX(0); } }
@keyframes out-left { from { transform: translateX(0); } to { transform: translateX(-110%); } }
@keyframes out-right { from { transform: translateX(0); } to { transform: translateX(110%); } }
.wipe-sign { display: grid; justify-items: center; gap: 14px; padding: 0 84px; }
.wipe-bot { display: block; width: clamp(96px, 16vw, 150px); height: clamp(96px, 16vw, 150px); --outline: var(--canary); }
.wipe.cover .wipe-bot { animation: hop 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
@keyframes hop { 0% { transform: translateY(-70px) rotate(-12deg); opacity: 0; } 50% { opacity: 1; } 100% { transform: none; } }
.wipe-label { padding: 8px 20px 6px; border-radius: 10px; background: var(--canary); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; text-align: center; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35); transform: rotate(-2deg); }

.instant .cat, .instant .cat-panel, .instant .cat-body, .instant .cat-tog { transition: none !important; }

/* Stripes slide across a button you point at */
.btn:not(.btn-ghost):not(.btn-line):hover { background-image: repeating-linear-gradient(-45deg, var(--stripe, rgba(255, 255, 255, 0.12)) 0 8px, transparent 8px 16px); background-size: 22.63px 22.63px; animation: stripes 0.7s linear infinite; }
.plan.t3 .btn { --stripe: rgba(20, 50, 92, 0.1); }
@keyframes stripes { to { background-position: 22.63px 0; } }
/* The pause button freezes every moving part */
.still *, .still *::before, .still *::after { animation-play-state: paused !important; }
.still [data-view="plans"] .hang-tag, .still .brand:hover .lb-hat, .still .tile:hover .ibox, .still .bot-card:hover .bot-big { animation: none; }
.still .ping { transition: none; }
/* Only run the moving parts that are on screen */
.io [data-motion]:not(.inview), .io [data-motion]:not(.inview) * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .sc-beacon, .sc-travel, .sc-rig, .sc-eyes, .lb-eyes, .sc-truck, .sc-truck-body, .sc-wheel, .ticker-track, .belt-item, .bi-raw, .bi-done, .belt-deck, .belt-rollers i, .st-scan, .st-led, .map-feed, .map-dot, .crew-line svg, .btn:hover { animation: none !important; }
  .brand:hover .lb-hat, .tile:hover .ibox, .bot-card:hover .bot-big { animation: none; }
  .ping, .tape { transition: none; }
  .sc-truck { transform: translateX(300px); }
  .belt-item { left: var(--sx); }
  .belt-item.s-done .bi-raw, .belt-item.s-raw .bi-done { opacity: 0; }
  .belt-item.s-done .bi-done { opacity: 1; }
  .wipe { display: none; }
  .tile, .cat, .cat-tog, .cat-panel, .cat-body, .choice-box, .pick { transition: none; }
  .receipt-total output.bump, .receipt-deal output.bump { animation: none; }
  .choice-box::after { transition: none; }
  [data-view="plans"] .hang-tag { animation: none; }
}

@media (max-width: 960px) {
  .bot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid, .cmp-grid, .cat-body, .start-grid, .builder { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .scene-wrap { width: 100%; max-width: 560px; }
  .plans-head { grid-template-columns: minmax(0, 1fr); }
  .hang-tag { width: min(100% - 24px, 320px); margin: 0 0 6px 8px; }
  .receipt { position: static; }
  .cat-body { padding-left: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .relay { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .relay li { padding: 0 0 0 60px; min-height: 44px; }
  .relay li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .relay li::after { top: 44px; bottom: -20px; left: 20px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
  .foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .tape { display: none; }
  .help-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .nav { flex-wrap: wrap; gap: 6px 12px; padding-block: 10px 0; }
  .nav-links { order: 3; justify-content: space-between; width: 100%; padding-block: 2px 4px; border-top: 2px dashed var(--rule); }
  .nav-links a { padding: 10px 8px 12px; font-size: 1.2rem; }
  .logo-bot { width: 42px; height: 42px; }
  .wordmark { font-size: 1.85rem; }
  .cat, .builder-band { scroll-margin-top: 12px; }
  .foremen { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 0; justify-items: center; padding-top: 0; }
  .foremen::before, .fm::before, .down { display: none; }
  .team { grid-row: auto; grid-template-rows: none; width: min(100%, 360px); }
  .team .fm { border-radius: 14px 14px 0 0; }
  .crew { display: flex; align-items: center; justify-content: center; gap: 10px; border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 14px 14px; }
  .hats { margin: 0; }
  .link { height: 44px; }
  .team + .link { grid-row: auto; }
  .link svg { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .ticker-track span { font-size: 1.3rem; }
  .tk-hat { width: 26px; height: 18px; }
  .belt-item { width: 38px; height: 36px; }
  .bi-raw .ico, .bi-done .ico { width: 21px; height: 21px; }
  .station { top: 5px; width: 124px; height: 93px; }
  .belt-rollers i { width: 24px; height: 24px; }
  .crew-line svg { width: 32px; height: 32px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice-box { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: baseline; column-gap: 12px; }
  .choice-box .choice-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
  .pick { grid-template-columns: 26px 44px minmax(0, 1fr); gap: 4px 12px; padding: 12px; }
  .pick-bot { width: 44px; height: 44px; }
  .pick-tag { grid-column: 3; justify-self: start; }
  .price { font-size: 3.2rem; }
  .bot-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bot-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 14px 16px; text-align: left; }
  .bot-big { grid-row: span 2; width: 72px; height: 72px; margin: 0; }
  .bot-card h2 { font-size: 1.45rem; }
  .bot-card p { margin: 0; }
  .cat-btn { grid-template-columns: 44px minmax(0, 1fr) 34px; gap: 12px; padding: 14px 12px; }
  .cat-btn .ibox { width: 44px; height: 44px; }
  .cat-btn .ibox .ico { width: 24px; height: 24px; }
  .cat-tog { width: 34px; height: 34px; }
  .cat-txt b { font-size: 1.4rem; }
  .cat-txt span { font-size: 0.95rem; }
  .cat-body { margin: 0 12px; padding-top: 20px; }
  .card { padding: 16px 14px 12px; }
  .prog > li { grid-template-columns: minmax(0, 1fr) 64px 58px; gap: 10px; }
  .etas > li { grid-template-columns: 80px minmax(0, 1fr); }
  .etas .chip { grid-column: 2; justify-self: start; }
  .big-stamp { position: static; display: inline-block; margin-top: 14px; transform: rotate(-4deg); }
  .sheet th, .sheet td { padding: 9px 5px; font-size: 0.82rem; }
  .sheet thead th { font-size: 0.92rem; }
  .sheet td:first-child { white-space: nowrap; }
  .founder { grid-template-columns: 64px minmax(0, 1fr); }
  .founder-bot { width: 64px; height: 64px; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 1.6rem; }
  .logo-bot { width: 36px; height: 36px; }
  .btn-small { padding-inline: 12px; font-size: 1.1rem; }
  .nav-links a { padding-inline: 3px; font-size: 1.08rem; }
}
@media (max-width: 350px) {
  .nav-links { overflow-x: auto; scrollbar-width: none; }
  .nav-links a { padding-inline: 2px; font-size: 1rem; }
  .wordmark { font-size: 1.45rem; }
  .btn-small { padding-inline: 10px; font-size: 1rem; }
}


/* ---- v8 additions: hi-vis orange, plus the new sections ---- */
.band-canary, .t2 { --ink-soft: var(--ink); }
.band-canary { --rule: rgba(20, 50, 92, 0.34); }
.hero :focus-visible, .band-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--canary); }
.kicker { display: inline-block; justify-self: start; padding: 5px 12px 4px; border: 2px solid var(--ink); border-radius: 8px; background: var(--canary); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; transform: rotate(-2deg); }
.why-head h2 { max-width: 22ch; }
.tiles-head { margin: 0 0 16px; font-size: 1.7rem; line-height: 1.1; }
.tiles-head span { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; font-size: var(--step-0); color: var(--ink-soft); }
.vs-wrap { margin-top: clamp(28px, 4vw, 40px); }
.vs { width: 100%; border-collapse: collapse; line-height: 1.4; }
.vs th { padding: 0 14px 12px 34px; text-align: left; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.vs th:first-child { color: rgba(255, 255, 255, 0.72); }
.vs th:last-child { color: var(--canary); }
.vs td { position: relative; width: 50%; padding: 12px 14px 12px 34px; border-top: 2px dashed rgba(255, 255, 255, 0.22); vertical-align: top; }
.vs td:first-child { color: rgba(255, 255, 255, 0.72); }
.vs td:last-child { font-weight: 700; }
.vs td::before { content: ""; position: absolute; left: 4px; top: 13px; width: 20px; height: 20px; background: center / 20px no-repeat; }
.vs td:first-child::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' fill='none' stroke='%23A9ADB4' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.vs td:last-child::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23F2B33D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ways .tile:hover { transform: none; box-shadow: none; }
.ways .tile:hover .ibox { animation: none; }
.ways .chip { display: inline-block; margin-left: 6px; vertical-align: 3px; font-size: 0.9rem; }
.ways-note { margin-top: 22px; color: var(--ink-soft); }
.secs > li { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 4px 14px; align-items: center; }
.secs b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.secs .bar { width: 100%; height: 10px; }
.secs-who { grid-column: 1 / -1; font-size: 0.95rem; color: var(--ink-soft); }
.secs-reps { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.snaps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.snap { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border: 2px solid var(--ink); border-radius: 10px; background: linear-gradient(160deg, #C9A46A 0 55%, #B48E55 55%); }
.snap.vid { background: linear-gradient(160deg, #5E6878 0 55%, #4B5563 55%); }
.snap .ico { width: 26px; height: 26px; color: #FFFFFF; }
.snap b { position: absolute; right: 4px; bottom: 3px; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); color: #FFFFFF; font-size: 0.72rem; line-height: 1.3; }
.snaps-from { margin: 8px 0 12px; font-size: 0.95rem; color: var(--ink-soft); }
.board { overflow: hidden; max-width: 560px; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px; background: var(--ink); color: var(--paper); }
.board-head strong { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.board-head span { font-size: var(--step--1); opacity: 0.85; }
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 14px 20px 16px; border-top: 2px dashed var(--rule); }
.board-row:first-child { border-top: 0; }
.site b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.site span { display: block; font-size: var(--step--1); color: var(--ink-soft); }
.status { justify-self: end; padding: 6px 10px 5px; border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1; white-space: nowrap; }
.status.go { background: #E3F2EA; color: var(--go); }
.status.wait { background: #FFF1D6; color: var(--wait); }
.status.ok { background: var(--paper); color: var(--stamp); border: 2px solid var(--stamp); border-radius: 5px; transform: rotate(-4deg); }
.facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.95rem; line-height: 1.3; }
.fact { display: inline-flex; align-items: center; gap: 6px; }
.fact .ico { width: 18px; height: 18px; color: var(--ink-soft); }
.board-foot { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--mist); font-size: var(--step--1); font-weight: 700; }
.signup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; max-width: 760px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.field input, .field select { width: 100%; min-height: 52px; padding: 10px 14px; border: 3px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--canary); outline-offset: 2px; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); }
.signup-go { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.signup-status { font-weight: 700; }
.signup-status.ok { color: var(--go); }
.signup-status.warn, .signup-status.err { color: var(--stamp); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 600px) {
  .ways, .signup, .snaps { grid-template-columns: minmax(0, 1fr); }
  .snaps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vs thead { position: absolute; left: -9999px; }
  .vs tr { display: block; padding: 8px 0; border-top: 2px dashed rgba(255, 255, 255, 0.22); }
  .vs td { display: block; width: auto; padding: 5px 0 5px 34px; border: 0; }
  .vs td::before { top: 6px; }
  .secs > li { grid-template-columns: minmax(0, 1fr) 80px; }
  .board-row { padding-inline: 14px; }
}
@media (max-width: 700px) { .ways { grid-template-columns: minmax(0, 1fr); } }
