/* TenderNinja landing, "Circuit board" (Ernestas, 17 Nov 2026: inspired by pidea.lt and the Superlinked board).
   Idea: every step of a tender is a module wired into one board; the TenderNinja chip in the middle holds one
   tender's whole state. Ash greys with one muted orange for traces, LEDs and the main button; dark mode is a
   warm charcoal (Claude-like), never black, with the same muted colours.
   Type: Geist for everything, Geist Mono only for silkscreen labels on the board (the PCB's own lettering),
   Instrument Serif italic only for quotes from tender documents, so evidence always looks like a quote.
   Layout: one 1200px column; hero headline left, sub right; the board; then sections hung on one bus. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geist-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geist-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geist-mono-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/instrument-serif-latin-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --page: #EEEDEA; --board: #E4E3DF; --module: #F7F6F3; --screen: #FCFBF9; --sunk: #EAE9E5;
  --bezel: #3A3935; --bezel-2: #4A4843;
  --ink: #22211E; --ink-2: #5A5852; --line: #D9D7D1; --line-2: #C4C1BA; --field: #8A877F;
  --trace: #C9C6BF; --accent: #B84B1C; --on-accent: #FFFFFF; --accent-ink: #A3421A; --accent-soft: #F1DFD4;
  --led: #E5652C; --led-off: #CFCBC3;
  --mark: #F0D49A; --ok: #2E6F53; --ok-soft: #DCEAE1; --warn: #85601A; --warn-soft: #F3E7CB; --late: #A63A2C; --late-soft: #F5DEDA;
  --disp: #2F2E2B; --disp-ink: #E8E5DE;
  --band: #E6E5E1; --main-plan: #2F2E2B; --on-main: #F2F0EB; --on-main-2: #BDB9B0;
  /* one muted hue per step, like coloured wires: fills for shapes, -ink for small text (4.5:1) */
  --find: #5B7EA6; --find-ink: #3F6286; --decide: #5A8C6E; --decide-ink: #3D6B50; --fill: #B9913F; --fill-ink: #7D5F1E;
  --approve: #8B72AD; --approve-ink: #69528A; --sign: #C0644A; --sign-ink: #9A4630;
  --shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 1px 2px rgb(40 38 34 / .06), 0 10px 24px -8px rgb(40 38 34 / .14);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --quote: "Instrument Serif", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #262624; --board: #2C2B29; --module: #33322F; --screen: #383734; --sunk: #2A2927;
    --bezel: #1D1C1B; --bezel-2: #2A2927;
    --ink: #ECE9E2; --ink-2: #ADA99F; --line: #43413D; --line-2: #57544F; --field: #85817A;
    --trace: #4D4A45; --accent: #D9774A; --on-accent: #1E1C1A; --accent-ink: #E79770; --accent-soft: #4A3328;
    --led: #E8763F; --led-off: #4F4C47;
    --mark: #6A5432; --ok: #82C2A3; --ok-soft: #2C3E35; --warn: #DDB878; --warn-soft: #443A29; --late: #E89385; --late-soft: #4A2F2B;
    --disp: #1F1E1C; --disp-ink: #DCD8D0;
    --band: #2A2927; --main-plan: #3B3A36; --on-main: #F2F0EB; --on-main-2: #BDB9B0;
    --find: #7C9DC2; --find-ink: #9DB8D6; --decide: #79AE8E; --decide-ink: #96C4A8; --fill: #C9A458; --fill-ink: #D9B873;
    --approve: #A48CC6; --approve-ink: #BBA7D6; --sign: #D27E62; --sign-ink: #E39A80;
    --shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 1px 2px rgb(0 0 0 / .3), 0 10px 24px -8px rgb(0 0 0 / .45);
  }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --page: #262624; --board: #2C2B29; --module: #33322F; --screen: #383734; --sunk: #2A2927;
    --bezel: #1D1C1B; --bezel-2: #2A2927;
    --ink: #ECE9E2; --ink-2: #ADA99F; --line: #43413D; --line-2: #57544F; --field: #85817A;
    --trace: #4D4A45; --accent: #D9774A; --on-accent: #1E1C1A; --accent-ink: #E79770; --accent-soft: #4A3328;
    --led: #E8763F; --led-off: #4F4C47;
    --mark: #6A5432; --ok: #82C2A3; --ok-soft: #2C3E35; --warn: #DDB878; --warn-soft: #443A29; --late: #E89385; --late-soft: #4A2F2B;
    --disp: #1F1E1C; --disp-ink: #DCD8D0;
    --band: #2A2927; --main-plan: #3B3A36; --on-main: #F2F0EB; --on-main-2: #BDB9B0;
    --find: #7C9DC2; --find-ink: #9DB8D6; --decide: #79AE8E; --decide-ink: #96C4A8; --fill: #C9A458; --fill-ink: #D9B873;
    --approve: #A48CC6; --approve-ink: #BBA7D6; --sign: #D27E62; --sign-ink: #E39A80;
    --shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 1px 2px rgb(0 0 0 / .3), 0 10px 24px -8px rgb(0 0 0 / .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.55 var(--sans); font-feature-settings: "ss01"; }
a { color: var(--accent-ink); }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; max-width: 22ch; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--module); padding: 12px 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }
.num, .tl, .price, time { font-variant-numeric: tabular-nums; }
.silk { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pill { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; color: var(--ink-2); margin-bottom: 18px; }

/* logo: the headband is the accent, the eye slits are ink */
.logo { width: 34px; height: 31px; flex: none; }
.lg-band { fill: var(--led); }
.lg-eye { fill: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 550; font-size: 16px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn.xs { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.pri { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 2px 6px -2px rgb(120 50 20 / .35); }
.btn.pri:hover { filter: brightness(1.06); }
.btn.sec { border-color: var(--line-2); color: var(--ink); background: var(--module); }
.btn.sec:hover { border-color: var(--field); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.nav nav { display: flex; gap: 26px; margin-left: 12px; }
.nav nav a, .signin { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav nav a:hover, .signin:hover { color: var(--ink); }
.signin { margin-left: auto; }
.theme { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--module); color: var(--ink); cursor: pointer; padding: 0; }
.theme:hover { border-color: var(--field); }
.theme:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html:not(.js) .theme { display: none; }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: block; } :root[data-theme="dark"] .theme .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .i-sun { display: block; } :root:not([data-theme="light"]) .theme .i-moon { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-top: 72px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 82px); line-height: 0.98; letter-spacing: -0.045em; }
.hero .sub { font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fine { font-size: 14px; color: var(--ink-2); margin-top: 14px; }

/* the board */
.board-wrap { margin-block: 0; }
.board-wrap figcaption, .appwin-wrap figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; max-width: 80ch; }
.bezel { position: relative; background: var(--bezel); border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -30px rgb(30 28 24 / .45); }
.bezel::before { content: ""; position: absolute; inset: 9px; pointer-events: none; background:
  radial-gradient(circle, var(--bezel-2) 3.5px, transparent 4.5px) top left / 10px 10px no-repeat,
  radial-gradient(circle, var(--bezel-2) 3.5px, transparent 4.5px) top right / 10px 10px no-repeat,
  radial-gradient(circle, var(--bezel-2) 3.5px, transparent 4.5px) bottom left / 10px 10px no-repeat,
  radial-gradient(circle, var(--bezel-2) 3.5px, transparent 4.5px) bottom right / 10px 10px no-repeat; }
.board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.2fr) 120px minmax(0, 1fr); align-items: center; padding: 56px 40px;
  border-radius: 12px; background: var(--board) radial-gradient(color-mix(in srgb, var(--line-2) 55%, transparent) 1px, transparent 1.5px) 0 0 / 14px 14px; overflow: hidden; }
.board > * { position: relative; }
.board > .silk { position: absolute; top: 20px; }
.silk-in { left: 40px; } .silk-out { right: 40px; }
.col { display: flex; flex-direction: column; height: 340px; }
.col-in { gap: 12px; } .col-in .mod { height: 76px; }
.col-out { gap: 10px; } .col-out .mod { height: 60px; }
.mod { display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--module); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.mod .mt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mod b { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.mod small { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.disp { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 8px; border-radius: 6px; background: var(--disp); color: var(--disp-ink); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; box-shadow: 0 0 0 2px var(--sunk); }
.disp.ic { min-width: 34px; width: 34px; padding: 0; }
.disp svg, .ui svg, .appwin svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.led { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 2px color-mix(in srgb, var(--led) 22%, transparent); }
.led.on { position: static; }
.traces { display: block; width: 120px; height: 340px; overflow: visible; }
.traces .tr { fill: none; stroke: var(--trace); stroke-width: 6; stroke-linejoin: round; }
.traces .sig { fill: none; stroke: var(--led); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 0; opacity: .9; }
.traces .pad { fill: var(--module); stroke: var(--line-2); stroke-width: 1.5; }

.chip { position: relative; height: 340px; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--screen); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 0 0 6px var(--module), 0 0 0 7px var(--line), 0 24px 40px -18px rgb(40 38 34 / .35); }
.chip::before, .chip::after { content: ""; position: absolute; top: 40px; bottom: 40px; width: 7px;
  background: repeating-linear-gradient(to bottom, var(--line-2) 0 3px, transparent 3px 20px); }
.chip::before { left: -15px; } .chip::after { right: -15px; }
.chip-top { display: flex; align-items: center; gap: 8px; }
.chip-top .logo { width: 26px; height: 24px; }
.chip-top .led { margin-left: auto; }
.chip-t { font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin-top: 4px; }
.chip-b { font-size: 13px; color: var(--ink-2); margin-top: -6px; }
.chip-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.chip-row .num { margin-left: auto; font-weight: 550; }
.meter { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.meter .ml { color: var(--ink-2); }
.meter b { font-size: 15px; font-weight: 650; color: var(--ok); }
.segs { display: flex; gap: 3px; flex: 1; }
.segs i { flex: 1; height: 10px; border-radius: 2px; background: var(--ok); }
.segs i.half { background: linear-gradient(90deg, var(--ok) 60%, var(--led-off) 60%); }
.segs i.off { background: var(--led-off); }
.rail { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.rail::before { content: ""; position: absolute; top: 6px; left: 10%; right: 10%; height: 2px; background: var(--line-2); }
.rail li { position: relative; padding-top: 18px; }
.rail li::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 14px; height: 14px; border-radius: 4px; background: var(--module); border: 2px solid var(--line-2); }
.rail li.done::before { background: var(--ok); border-color: var(--ok); }
.rail li.now { color: var(--ink); font-weight: 600; }
.rail li.now::before { background: var(--led); border-color: var(--led); box-shadow: 0 0 0 4px color-mix(in srgb, var(--led) 25%, transparent); }
.chip-disp { margin-top: auto; display: flex; align-items: center; gap: 8px; border-radius: 8px; background: var(--disp); color: var(--disp-ink); padding: 0 6px; height: 40px; box-shadow: 0 0 0 4px var(--sunk); }
.chip-disp b { flex: 1; text-align: center; font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.chip-disp span { width: 24px; height: 28px; display: grid; place-items: center; border-radius: 5px; background: color-mix(in srgb, var(--disp-ink) 10%, transparent); font-size: 15px; }
.bus { display: none; }

/* chips used in mock-ups */
.due { display: inline-block; font-size: 12.5px; font-weight: 550; padding: 2px 9px; border-radius: 999px; white-space: nowrap; background: var(--sunk); color: var(--ink); border: 1px solid var(--line); }
.due.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.due.late { background: var(--late-soft); color: var(--late); border-color: transparent; }
.st { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.st.ok { background: var(--ok-soft); color: var(--ok); }
.st.wait { background: var(--warn-soft); color: var(--warn); }
.fit { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; color: var(--ink); }
.fit .bar { width: 44px; height: 6px; border-radius: 3px; background: var(--led-off); overflow: hidden; }
.fit .bar i { display: block; height: 100%; background: var(--ok); }
.fit.lo { color: var(--ink-2); font-weight: 500; } .fit.lo .bar i { background: var(--field); }
.w86 { width: 86%; } .w79 { width: 79%; } .w72 { width: 72%; } .w71 { width: 71%; } .w64 { width: 64%; } .w63 { width: 63%; } .w57 { width: 57%; } .w21 { width: 21%; }
.cc { font-family: var(--mono); font-size: 11px; padding: 0 5px; border-radius: 4px; border: 1px solid var(--line-2); margin-right: 6px; color: var(--ink-2); }
.fchip { font-size: 12.5px; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--screen); white-space: nowrap; }
.fchip.on { background: var(--ink); border-color: var(--ink); color: var(--page); }
.field { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px; background: var(--screen); color: var(--ink-2); font-size: 14px; }
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 11px; font-weight: 650; flex: none; }
.a1 { background: var(--accent-soft); color: var(--accent-ink); } .a2 { background: var(--ok-soft); color: var(--ok); } .a3 { background: var(--warn-soft); color: var(--warn); }
mark { background: linear-gradient(transparent 10%, var(--mark) 10%, var(--mark) 90%, transparent 90%); color: inherit; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* statement */
.statement { padding-block: 120px 40px; }
.statement p { font-size: clamp(26px, 3.3vw, 42px); line-height: 1.16; letter-spacing: -0.03em; max-width: 30ch; font-weight: 450; }
.statement span { color: var(--ink-2); }

/* the app window */
.app-sec { padding-top: 80px; }
.app-sec h2 { margin-bottom: 40px; }
.appwin-wrap { margin: 0; container-type: inline-size; }
.appwin { position: relative; background: var(--screen); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgb(40 38 34 / .45); font-size: 14px; }
.aw-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--sunk); border-bottom: 1px solid var(--line); }
.aw-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.aw-bar span { margin-left: 14px; font-size: 12px; color: var(--ink-2); background: var(--screen); padding: 2px 14px; border-radius: 6px; }
.aw-top { display: flex; align-items: center; gap: 22px; height: 54px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.aw-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.03em; font-size: 16px; }
.aw-brand .logo { width: 26px; height: 24px; }
.aw-nav { display: flex; gap: 4px; color: var(--ink-2); }
.aw-nav span { padding: 6px 11px; border-radius: 8px; }
.aw-nav span.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.aw-nav em { font-style: normal; font-size: 12px; margin-left: 4px; }
.aw-team { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.aw-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.aw-main { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.aw-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.aw-tools .field { flex: 1 1 240px; }
.tl { width: 100%; border-collapse: collapse; }
.tl th { text-align: left; font-weight: 550; font-size: 12px; color: var(--ink-2); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tl tr:last-child td { border-bottom: 0; }
.tl td b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.tl td small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.tl tr.low td, .tl tr.low b { color: var(--ink-2); font-weight: 450; }
.tl tr.dragging td { background: var(--sunk); }
.tl tr.dragging td:first-child { box-shadow: inset 3px 0 0 var(--led); }
.aw-chat { border-left: 1px solid var(--line); background: var(--module); display: flex; flex-direction: column; min-width: 0; }
.ch-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ch-x { font-size: 13px; color: var(--ink-2); }
.conn { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 550; background: var(--screen); white-space: nowrap; }
.conn small { font-weight: 400; color: var(--ink-2); font-size: 12px; }
.conn .d { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.ch-msgs { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 13.5px; }
.msg { padding: 10px 12px; border-radius: 10px; max-width: 94%; }
.msg.u { align-self: flex-end; background: var(--accent-soft); }
.msg.bot { background: var(--screen); border: 1px solid var(--line); }
.att { display: flex; align-items: center; gap: 6px; font-size: 12px; border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 8px; background: var(--screen); margin-bottom: 7px; width: fit-content; max-width: 100%; }
.att svg { width: 13px; height: 13px; flex: none; }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cites span { font-family: var(--mono); font-size: 11px; border-radius: 4px; padding: 1px 6px; background: var(--sunk); color: var(--ink-2); }
.drop { margin: 0 14px 10px; border: 2px dashed var(--led); border-radius: 10px; padding: 14px; text-align: center; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: color-mix(in srgb, var(--led) 8%, transparent); }
.ch-input { display: flex; justify-content: space-between; align-items: center; margin: 0 14px 14px; border: 1px solid var(--field); border-radius: 10px; padding: 11px 12px; color: var(--ink-2); font-size: 13.5px; background: var(--screen); }
.ghost { position: absolute; right: 44px; bottom: 84px; width: 300px; display: flex; gap: 8px; align-items: center; background: var(--screen); border-radius: 10px; padding: 10px 12px; box-shadow: 0 18px 40px rgb(30 28 24 / .28), 0 0 0 1px var(--line-2); rotate: -2.5deg; font-size: 13px; }
.ghost svg { color: var(--ink-2); flex: none; }
.ghost span { display: flex; flex-direction: column; min-width: 0; }
.ghost b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ghost small { color: var(--ink-2); font-size: 12px; }
.cursor { position: absolute; right: 36px; bottom: 64px; width: 24px !important; height: 24px !important; }
.cursor path { fill: #FFFFFF; stroke: #1D1C1A; stroke-width: 1.5; stroke-linejoin: round; }

/* how it works: modules hung on one bus line */
.how { padding-top: 140px; }
.how h2 { margin-bottom: 56px; }
.steps { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; display: flex; flex-direction: column; gap: 72px; }
.steps::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 6px; border-radius: 3px; background: var(--trace); }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.step::before { content: ""; position: absolute; left: -38px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 4px var(--page), 0 0 0 6px var(--line-2); }
.step::after { content: ""; position: absolute; left: -24px; top: 10px; width: 18px; height: 4px; background: var(--trace); }
.st-text { align-self: start; display: flex; flex-direction: column; gap: 12px; }
.st-text .silk { color: var(--accent-ink); font-size: 12px; }
.st-text h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; font-weight: 500; }
.st-text p { color: var(--ink-2); max-width: 48ch; }
.mod-card { background: var(--module); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 0 6px 6px; min-width: 0; }
.mc-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 8px; }
.ui { background: var(--screen); border: 1px solid var(--line); border-radius: 11px; padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; min-width: 0; }
.ui .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ui .row > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.ui .row b { font-weight: 600; }
.ui .row small { font-size: 12.5px; color: var(--ink-2); }
.field.big { height: 42px; font-size: 15px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.find-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.sw { width: 30px; height: 18px; border-radius: 9px; background: var(--line-2); position: relative; }
.sw.on { background: var(--ok); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF; }
.sw.on::after { left: 14px; }
.why-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 4px; }
.why { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.why b { font-weight: 600; display: block; }
.why q { display: block; font-family: var(--quote); font-style: italic; font-size: 18px; line-height: 1.35; margin: 4px 0 4px; quotes: "“" "”"; }
.why small { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ic svg { width: 14px !important; height: 14px !important; stroke-width: 2.6 !important; }
.ic.ok { background: var(--ok-soft); color: var(--ok); }
.ic.risk { background: var(--warn-soft); color: var(--warn); }
.form-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; }
.fld { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.fld .l { color: var(--ink-2); font-size: 13px; }
.fld .v { font-weight: 550; }
.fld .from { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; padding: 2px 7px; border-radius: 5px; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.fld.todo .v { color: var(--warn); font-weight: 600; }
.fld.todo .from { background: var(--warn-soft); color: var(--warn); }
.cmt { display: flex; gap: 10px; align-items: flex-start; }
.cmt b { font-weight: 600; font-size: 13.5px; }
.cmt p { color: var(--ink); }
.approved { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.log { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.log time { font-family: var(--mono); font-size: 11.5px; margin-right: 12px; color: var(--ink-2); }
.paper { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.paper:first-child { border-top: 0; }
.paper > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.paper svg { color: var(--ink-2); flex: none; }
.sign-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.pack { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }

/* AI socket */
.ai { padding-top: 160px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ai-text p { color: var(--ink-2); margin-top: 18px; max-width: 48ch; }
.socket { background: var(--board); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative;
  background-image: radial-gradient(color-mix(in srgb, var(--line-2) 60%, transparent) 1px, transparent 1.4px); background-size: 14px 14px; }
.slot { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: color-mix(in srgb, var(--module) 60%, transparent); }
.slot .mt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.slot b { font-weight: 600; }
.slot small { font-size: 13px; color: var(--ink-2); }
.slot .st { margin-left: auto; }
.slot.seated { border-style: solid; border-color: var(--line); background: var(--module); box-shadow: var(--shadow); translate: 0 -2px; }

/* prices */
.prices { margin-top: 160px; padding-block: 110px; background: var(--band); border-block: 1px solid var(--line); }
.lead { color: var(--ink-2); max-width: 62ch; margin-top: 16px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { background: var(--module); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; font-weight: 600; }
.plan .for { color: var(--ink-2); font-size: 15px; }
.plan .price { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.plan .price b { font-size: 44px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); margin-right: 4px; }
.plan .yr { font-size: 14px; color: var(--ink-2); }
.slots { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 6px; }
.slots i { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--line-2); }
.slots i.on { background: var(--led); border-color: var(--led); }
.plan ul { list-style: none; margin: 8px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); rotate: -45deg; }
.plan li.plus { padding-left: 0; font-weight: 600; }
.plan li.plus::before { display: none; }
.plan .btn { margin-top: auto; }
.plan.main { background: var(--main-plan); color: var(--on-main); border-color: var(--main-plan); }
.plan.main .for, .plan.main .price, .plan.main .yr { color: var(--on-main-2); }
.plan.main .price b { color: var(--on-main); }
.plan.main li::before { border-color: var(--led); }
.plan.main .slots i { border-color: color-mix(in srgb, var(--on-main) 35%, transparent); }
.plan.main .slots i.on { border-color: var(--led); }
.trial { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 22px 26px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--module); }
.trial p { max-width: 70ch; }

/* questions */
.faq { padding-top: 140px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0 56px; }

details { border-bottom: 1px solid var(--line-2); }
details:first-child { border-top: 1px solid var(--line-2); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--accent-ink); transition: rotate .2s; }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 0 20px; color: var(--ink-2); max-width: 62ch; }

/* closing call */
.cta { padding-block: 140px 100px; }
.cta-board { position: relative; overflow: hidden; border-radius: 22px; background: var(--bezel); color: var(--on-main); padding: 72px 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-board::after { content: ""; position: absolute; right: -40px; top: 50%; width: 46%; height: 6px; background: var(--led); border-radius: 3px; translate: 0 -50%;
  box-shadow: 0 -40px 0 color-mix(in srgb, var(--on-main) 12%, transparent), 0 40px 0 color-mix(in srgb, var(--on-main) 12%, transparent); }
.cta-board h2 { color: var(--on-main); max-width: 16ch; }
.cta-board p { color: var(--on-main-2); }
.cta-board .btn { margin-top: 10px; }

.foot { border-top: 1px solid var(--line); padding-block: 26px calc(26px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-2); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.nav nav a[aria-current="page"] { color: var(--ink); font-weight: 550; }

/* legal pages: one reading column, a contents list beside it on wide screens */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px 64px; padding-block: 64px 120px; }
.legal-head { grid-column: 1 / -1; max-width: 70ch; }
.legal-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -0.045em; }
.legal-head .lead { color: var(--ink-2); margin-top: 16px; font-size: 18px; }
.legal-head .meta { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2); margin-top: 14px; }
.toc { grid-column: 2; grid-row: 2; align-self: start; position: sticky; top: 88px; background: var(--module); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.toc a { color: var(--ink-2); text-decoration: none; display: inline-block; padding-block: 3px; }
.toc a:hover { color: var(--accent-ink); }
.prose { grid-column: 1; grid-row: 2; max-width: 72ch; min-width: 0; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.03em; margin: 52px 0 14px; max-width: none; scroll-margin-top: 88px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--accent-ink); }
.tbl { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--module); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.tbl th { font-weight: 600; font-size: 13px; color: var(--ink-2); background: var(--sunk); }
.tbl tr:last-child td { border-bottom: 0; }
.confirm { background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: .92em; padding: 1px 5px; border-radius: 4px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); padding-block: 40px 80px; }
  .toc { grid-column: 1; grid-row: auto; position: static; }
  .toc ol { gap: 0; }
  .toc a { min-height: 44px; display: inline-flex; align-items: center; padding-block: 0; }
  .prose { grid-row: auto; }
}
.brand.small { font-size: 16px; } .brand.small .logo { width: 26px; height: 24px; }

/* hues per step */
.h-find { --h: var(--find); --h-ink: var(--find-ink); } .h-decide { --h: var(--decide); --h-ink: var(--decide-ink); }
.h-fill { --h: var(--fill); --h-ink: var(--fill-ink); } .h-approve { --h: var(--approve); --h-ink: var(--approve-ink); }
.h-sign { --h: var(--sign); --h-ink: var(--sign-ink); }
.mod.out .disp { color: var(--h); }
.mod.out { box-shadow: var(--shadow), inset 3px 0 0 var(--h); }
.t-out .tr.o1 { stroke: color-mix(in srgb, var(--decide) 45%, var(--trace)); } .t-out .tr.o2 { stroke: color-mix(in srgb, var(--fill) 45%, var(--trace)); }
.t-out .tr.o3 { stroke: color-mix(in srgb, var(--approve) 45%, var(--trace)); } .t-out .tr.o4 { stroke: color-mix(in srgb, var(--sign) 45%, var(--trace)); }
.t-out .tr.o5 { stroke: color-mix(in srgb, var(--find) 45%, var(--trace)); }
.t-out .o1.sig { stroke: var(--decide); } .t-out .o2.sig { stroke: var(--fill); } .t-out .o3.sig { stroke: var(--approve); } .t-out .o4.sig { stroke: var(--sign); } .t-out .o5.sig { stroke: var(--find); }
.chip { background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--led) 9%, var(--screen)), var(--screen) 60%); }
.board { background-image: radial-gradient(60% 70% at 50% 50%, color-mix(in srgb, var(--led) 10%, transparent), transparent 70%), radial-gradient(color-mix(in srgb, var(--line-2) 55%, transparent) 1px, transparent 1.5px); background-size: 100% 100%, 14px 14px; }

/* steps take their hue: label, LED, module head */
.step .st-text .silk { color: var(--h-ink); }
.step::before { background: var(--led-off); transition: background .4s, box-shadow .4s; }
.step.lit::before, html:not(.js) .step::before { background: var(--h); box-shadow: 0 0 0 4px var(--page), 0 0 0 6px var(--h), 0 0 18px 4px color-mix(in srgb, var(--h) 45%, transparent); }
.step .mod-card { border-top: 3px solid var(--h); }
.step .mc-head .led { background: var(--h); box-shadow: 0 0 0 2px color-mix(in srgb, var(--h) 25%, transparent); }
.bus-fill { position: absolute; left: 11px; top: 8px; width: 6px; height: calc((100% - 16px) * var(--p, 1)); border-radius: 3px; z-index: 0; list-style: none;
  background: linear-gradient(to bottom, var(--find) 0%, var(--decide) 25%, var(--fill) 50%, var(--approve) 75%, var(--sign) 100%) 0 0 / 100% calc(100% / var(--p, 1)); }
.how { position: relative; }
.ai-band + .prices { margin-top: 0; border-top: 0; }

/* at a glance: charts */
.glance { padding-top: 140px; }
.glance h2 { margin-bottom: 40px; }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g-card { margin: 0; background: var(--module); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.g-card.g-wide { grid-row: span 2; }
.g-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.g-card figcaption b { font-weight: 600; }
.g-card figcaption span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.g-big { color: var(--ink-2); font-size: 15px; }
.g-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.g-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.g-list li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.g-list b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-list small { font-size: 12.5px; color: var(--ink-2); }
.g-big b { font-size: 56px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); margin-right: 6px; font-variant-numeric: tabular-nums; }
.bars { width: 100%; height: auto; margin-top: auto; overflow: visible; }
.bars rect { fill: var(--find); transform-box: fill-box; transform-origin: bottom; }
.bars rect.we { fill: var(--field); }
.bars rect.today { fill: var(--led); }
.bars .axis { stroke: var(--line-2); stroke-width: 1; }
.bars .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.bars .tick { font-family: var(--mono); font-size: 9px; fill: var(--ink-2); }
.funnel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.funnel li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 2.6em; align-items: center; gap: 10px; font-size: 14px; }
.funnel li > span:first-child { color: var(--ink-2); }
.funnel b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.fb { height: 10px; border-radius: 5px; background: var(--sunk); overflow: hidden; }
.fb i { display: block; height: 100%; min-width: 4px; border-radius: 5px; background: var(--h); transform-origin: left; }
.f100 { width: 100%; } .f27 { width: 26.8%; } .f3 { width: 2.8%; } .f1 { width: 1.4%; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.cal .dow { font-family: var(--mono); font-size: 10px; color: var(--ink-2); }
.cal i { font-style: normal; display: grid; place-items: center; aspect-ratio: 1.25; border-radius: 6px; background: var(--screen); border: 1px solid var(--line); position: relative; }
.cal i.we { background: transparent; color: var(--ink-2); }
.cal i.now { border: 2px solid var(--ink); font-weight: 650; }
.cal i.dl::after { content: ""; position: absolute; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--find); }
.cal i.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; font-weight: 600; } .cal i.warn::after { background: var(--warn); }
.cal i.late { background: var(--late-soft); color: var(--late); border-color: transparent; font-weight: 600; } .cal i.late::after { background: var(--late); }
.gauge { display: flex; align-items: center; gap: 18px; }
.gauge svg { width: 104px; height: 104px; flex: none; rotate: -90deg; }
.gauge circle { fill: none; stroke-width: 12; }
.g-track { stroke: var(--sunk); }
.g-val { stroke: var(--approve); stroke-linecap: round; stroke-dasharray: 58.5 100; }
.gauge b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.gauge span { font-size: 14px; color: var(--ink-2); }
.g-note { font-size: 13.5px; color: var(--ink-2); }
.g-cap { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; }

/* the form fills; signatures and approval stamp in */
.prog { height: 4px; border-radius: 2px; background: var(--sunk); overflow: hidden; margin-top: -4px; }
.prog i { display: block; height: 100%; width: 92.3%; background: var(--h); transform-origin: left; }

/* AI on a dark band */
.ai-band { margin-top: 160px; background: var(--bezel); color: var(--on-main); padding-block: 110px; position: relative; overflow: hidden;
  background-image: radial-gradient(color-mix(in srgb, var(--on-main) 9%, transparent) 1px, transparent 1.5px); background-size: 14px 14px; }
.ai-band .ai { padding-top: 0; }
.ai-band .pill { color: var(--on-main-2); border-color: color-mix(in srgb, var(--on-main) 28%, transparent); }
.ai-band .ai-text p { color: var(--on-main-2); }
.ai-band .socket { background: color-mix(in srgb, var(--on-main) 6%, var(--bezel)); border-color: color-mix(in srgb, var(--on-main) 14%, transparent); background-image: none; }
.ai-band .slot { border-color: color-mix(in srgb, var(--on-main) 26%, transparent); background: transparent; color: var(--on-main); }
.ai-band .slot small { color: var(--on-main-2); }
.ai-band .slot.seated { background: var(--module); color: var(--ink); border-color: var(--module); }
.ai-band .slot.seated small { color: var(--ink-2); }
.wire { height: 34px; width: 6px; margin-left: 32px; border-radius: 3px; background: color-mix(in srgb, var(--on-main) 16%, transparent); position: relative; overflow: hidden; }
.wire i { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--decide); }
.mini-chat { background: var(--module); color: var(--ink); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mini-chat p { font-size: 14px; background: var(--accent-soft); padding: 8px 12px; border-radius: 10px; align-self: flex-end; }

/* one moment of motion: signals run along the traces into the chip and out to the modules */
@media (prefers-reduced-motion: no-preference) {
  /* scroll-ins: start from a visible state (bars short, marks bare), never from invisible */
  html.js [data-anim]:not(.seen) .bars rect { transform: scaleY(.08); }
  .bars rect { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
  .bars rect:nth-of-type(3n+1) { transition-delay: .05s; } .bars rect:nth-of-type(3n+2) { transition-delay: .12s; } .bars rect:nth-of-type(3n) { transition-delay: .19s; }
  .bars rect.today { transition-delay: .45s; }
  html.js [data-anim]:not(.seen) .fb i, html.js [data-anim]:not(.seen) .prog i { transform: scaleX(0); }
  .fb i, .prog i { transition: transform 1s cubic-bezier(.2,.7,.2,1) .2s; }
  html.js [data-anim]:not(.seen) .g-val { stroke-dasharray: 0 100; }
  .g-val { transition: stroke-dasharray 1.2s cubic-bezier(.2,.7,.2,1) .3s; }
  html.js [data-anim]:not(.seen) .fit .bar i { transform: scaleX(0); }
  .fit .bar i { transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1) .25s; }
  html.js .h-decide:not(.seen) .why mark { background-size: 0 100%; }
  .why mark { background-repeat: no-repeat; background-size: 100% 100%; transition: background-size .8s ease-out; }
  .why:nth-of-type(2) mark { transition-delay: .35s; } .why:nth-of-type(3) mark { transition-delay: .7s; } .why:nth-of-type(4) mark { transition-delay: 1.05s; }
  html.js .h-fill:not(.seen) .fld .from { opacity: .25; }
  .fld .from { transition: opacity .4s; } .fld:nth-of-type(2) .from { transition-delay: .2s; } .fld:nth-of-type(3) .from { transition-delay: .4s; } .fld:nth-of-type(4) .from { transition-delay: .6s; } .fld:nth-of-type(5) .from { transition-delay: .8s; } .fld:nth-of-type(6) .from { transition-delay: 1s; }
  html.js .h-approve:not(.seen) .approved { transform: scale(1.06); opacity: .5; }
  .approved { transition: transform .5s cubic-bezier(.3,1.6,.5,1) .5s, opacity .4s .5s; }
  html.js .h-sign:not(.seen) .st.ok { transform: scale(.6) rotate(-8deg); opacity: .4; }
  .ui-sign .st.ok { display: inline-block; transition: transform .45s cubic-bezier(.3,1.6,.5,1), opacity .3s; }
  .ui-sign .paper:nth-of-type(2) .st.ok { transition-delay: .35s; }
  html.js [data-anim]:not(.seen) .slots i.on { background: transparent; }
  .slots i { transition: background .25s; }
  .slots i:nth-child(2) { transition-delay: .06s; } .slots i:nth-child(3) { transition-delay: .12s; } .slots i:nth-child(4) { transition-delay: .18s; } .slots i:nth-child(5) { transition-delay: .24s; }
  .slots i:nth-child(n+6) { transition-delay: .3s; } .slots i:nth-child(n+10) { transition-delay: .4s; }
  html.js .ai-band:not(.seen) .slot.seated { translate: 0 -14px; }
  .slot.seated { transition: translate .5s cubic-bezier(.3,1.5,.5,1) .3s; }
  .wire i { animation: flow 1.4s linear infinite; background: linear-gradient(to bottom, transparent, var(--decide) 40%, var(--decide) 60%, transparent); height: 40%; }
  @keyframes flow { from { top: -40%; } to { top: 100%; } }
  .ghost { animation: bob 3s ease-in-out infinite; }
  @keyframes bob { 50% { translate: -6px -4px; } }
  .traces .sig { stroke-dasharray: 10 90; stroke-dashoffset: 100; animation: run 3.2s linear infinite; }
  .t-in .s2 { animation-delay: -.8s; } .t-in .s3 { animation-delay: -1.6s; } .t-in .s4 { animation-delay: -2.4s; }
  .t-out .sig { animation-delay: -1.2s; } .t-out .o2 { animation-delay: -1.8s; } .t-out .o3 { animation-delay: -2.4s; } .t-out .o4 { animation-delay: -3s; } .t-out .o5 { animation-delay: -.6s; }
  @keyframes run { to { stroke-dashoffset: 0; } }
  .chip .led.on { animation: blink 1.6s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: .35; } }
}

/* narrower screens */
@media (max-width: 1080px) {
  .board { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1.3fr) 80px minmax(0, 1fr); padding: 52px 24px; }
  .traces { width: 80px; }
  .mod small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (max-width: 900px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 48px; }
  .bezel { padding: 14px; border-radius: 18px; }
  .board { grid-template-columns: minmax(0, 1fr); padding: 44px 16px 20px; gap: 0; }
  .silk-in { left: 16px; } .silk-out { display: none; }
  .traces { display: none; }
  .col { height: auto; }
  .col-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .col-in .mod { height: 64px; }
  .col-out .mod { height: 56px; }
  .chip { height: auto; min-height: 320px; margin-inline: 10px; }
  .bus { display: block; height: 44px; width: 6px; border-radius: 3px; background: var(--trace); justify-self: center; position: relative; overflow: hidden; }
  .bus-1 { grid-row: 2; } .chip { grid-row: 3; } .bus-2 { grid-row: 4; } .col-out { grid-row: 5; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .g-grid { grid-template-columns: minmax(0, 1fr); }
  .g-card.g-wide { grid-row: auto; }
  .ai-band { margin-top: 110px; padding-block: 80px; }
  .glance { padding-top: 100px; }
  .ai { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .qs { margin-top: 32px; }
  .statement { padding-top: 88px; }
  .how, .faq, .cta { padding-top: 100px; }
  .ai { padding-top: 110px; }
  .prices { margin-top: 110px; padding-block: 80px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .bus::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; border-radius: 3px; background: var(--led); animation: drop 1.6s linear infinite; }
  @keyframes drop { from { top: -12px; } to { top: 100%; } }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .signin { display: none; }
  .brand { margin-right: auto; }
  .ctas .btn { flex: 1 1 100%; }
  .col-in { grid-template-columns: minmax(0, 1fr); }
  .steps { padding-left: 30px; }
  .steps::before, .bus-fill { left: 4px; }
  .step::before { left: -31px; }
  .step::after { left: -20px; width: 14px; }
  .ui { padding: 14px; }
  .fld { grid-template-columns: minmax(0, 1fr) auto; }
  .fld .l { grid-column: 1 / -1; }
  .cta-board { padding: 48px 24px; }
  .chip-disp b { letter-spacing: .03em; font-size: 12px; }
  .cta-board::after { display: none; }
  .trial .btn { width: 100%; }
}
/* the app window on a narrow screen shows the list alone, as the app does on a phone */
@container (max-width: 760px) {
  .aw-body { grid-template-columns: minmax(0, 1fr); }
  .aw-chat, .ghost, .cursor, .aw-nav span:not(.on), .aw-team { display: none; }
  .tl th:nth-child(3), .tl td:nth-child(3) { display: none; }
  .aw-main { padding: 14px; }
  .aw-bar span { margin-left: 8px; }
}
@container (max-width: 480px) {
  .tl th:nth-child(4), .tl td:nth-child(4) { display: none; }
  .aw-tools .fchip:not(.on) { display: none; }
}
