/* Page CSS for the homepage: only what sits inside a visual and the kit lacks, the app frame's
   recipe, and one panel height per card group. Everything else comes from /assets (the design kit). */

/* The page's palette and type (the design kit's start.mjs brand: the ground, ink and pairing of palette
   swap-pastels, with the cobalt accent of the dealt palette cool-grey-cobalt in place of its teal; type
   familjen). The two font variables come from next/font in app/layout.tsx. Keep this block as printed. */
:root {
  --p-bg: #c3d7e5; --p-surface: #d0e0eb; --p-ink: #141414; --p-muted: #4a5068;
  --p-accent: #1d3557; --p-accent-ink: #ffffff; --p-action: #1d3557; --p-action-ink: #ffffff;
  --p-inv-bg: #141414; --p-inv-surface: #1e1f20; --p-inv-ink: #c3d7e5; --p-inv-muted: #808b94;
  --p-inv-accent: #c3d7e5; --p-inv-accent-ink: #141414; --p-inv-action: #c3d7e5; --p-inv-action-ink: #141414;
  --font-display: var(--font-familjen), "Familjen Grotesk", system-ui, sans-serif;
  --font-text: var(--font-familjen), "Familjen Grotesk", system-ui, sans-serif;
  --font-mono: var(--font-plex-mono), "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
}

.hero__proof { font-size: var(--t-small); color: var(--muted); }

/* the plugin's panel as it appears inside a chat: used in the hero window, the app frame and a card */
.tl-chat { width: 100%; height: 100%; display: flex; flex-direction: column; }
.tl-chat > .ui-head { padding-right: calc(16px + var(--ly-cut-room, 0px)); }
.hero__art > .ly-piece--main { bottom: calc(-1 * var(--ly-cut)); }
.tl-chat__input { margin: auto calc(16px + var(--ly-cut-room, 0px)) 44px 16px; padding: 10px 14px; border: 1px solid var(--u-line-2, var(--u-line)); border-radius: 12px; font-size: 13px; color: var(--u-muted); }
.tl-chat__body { display: grid; gap: 12px; padding: 16px calc(16px + var(--ly-cut-room, 0px)) 16px 16px; }
.tl-q { justify-self: end; max-width: 62%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--u-ink); color: var(--u-bg); font-size: 13px; line-height: 1.4; }
.tl-said { margin: 0; font-size: 13px; line-height: 1.5; color: var(--u-ink); }
.tl-app { display: grid; gap: 0; padding: 12px 14px; border: 1px solid var(--u-line-2, var(--u-line)); border-radius: 10px; background: var(--u-bg); font-size: 13px; line-height: 1.4; color: var(--u-ink); }
.tl-app--wide { width: min(100%, 420px); }
.tl-app__top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--u-muted); }
.tl-app__top b { font-weight: 500; color: var(--u-ink); }
.tl-mark { width: 14px; height: 12px; flex: none; color: var(--u-ink); }
.tl-app__title { display: block; margin: 8px 0 4px; font-size: 14px; font-weight: 500; }
.tl-app__text { margin: 0 0 4px; font-size: 13px; line-height: 1.5; color: var(--u-muted); }
.tl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--u-line); }
.tl-row b { display: block; font-weight: 500; }
.tl-row small { display: block; font-size: 12px; color: var(--u-muted); }
.tl-row .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-app__actions { display: flex; gap: 8px; padding: 10px 0 2px; }
/* status labels in the UI mocks: a plain word, no leading dot and no tinted box */
.ui-chip.ui-chip { height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ui-chip.ui-chip::before { display: none; }
.ui-win__st.ui-win__st { height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ui-win__st.ui-win__st:not(.is-work)::before, .ui-chat__online.ui-chat__online::before { display: none; }
.tl-chip.tl-chip { color: color-mix(in oklab, var(--u-accent) 78%, var(--u-ink)); }

/* the hero's small result card */
/* it sits low enough to cover the composer's placeholder whole, so no half-hidden letters show under its edge */
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-5); width: 300px; z-index: 2; }
.tl-note { padding: 14px 16px; font-size: 13px; line-height: 1.4; box-shadow: var(--u-shadow); }
.tl-note__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; font-size: 14px; }
.tl-note__row b { font-weight: 500; }
.tl-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--u-line); color: var(--u-muted); }
.tl-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--u-accent) 12%, var(--u-bg)); color: var(--u-accent); font-style: normal; font-size: 12px; }
.tl-note__line b { font-weight: 500; color: var(--u-ink); }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }

/* the agent chips under the scene's second statement, centred on its dark ground */
.lbf__agents { justify-content: center; margin-top: var(--s-6); }
.lbf__next a.flow__link { color: inherit; font-weight: 500; }
/* the real "l" stays under the scene's column (home/flood-scene.js lays the column exactly on its stroke) and lifts with it */
#standard.is-live .lbf__pivot { visibility: visible; display: inline-block; }
/* re-rasterise the line as it scales (no will-change layer), so the zoomed letter stays sharp instead of a blurred bitmap */
#standard.is-live .lbf__line { will-change: auto; }
/* on phones the held frame is what is actually on screen plus a bleed. iPhone Safari draws the page under its
   toolbars, below where 100vh, svh and lvh all end, so a frame one viewport tall showed a strip of the page ground
   under the letter. home/flood-scene.js measures the fixed header's foot (--lbf-top) and the visible height
   (--lbf-vis); the line and the statement are centred between the two and the ground (inset 0) fills the bleed.
   The section after it is pulled up over the bleed, so the end of the scene meets it without an empty band */
@media (max-width: 767px) {
  #standard.is-live {
    --bleed: 30lvh; --vis: max(100lvh, var(--lbf-vis, 100lvh));
    height: calc(var(--sc-hold, 1) * 100lvh + var(--vis) + var(--bleed));
  }
  #standard.is-live .sc__stage {
    box-sizing: border-box; height: calc(var(--vis) + var(--bleed));
    padding: var(--lbf-top, 0px) 0 var(--bleed) 0;
  }
  #standard.is-live .lbf__next { top: calc((var(--lbf-top, 0px) + var(--vis)) / 2); margin-top: 0; }
  /* pulled up over the bleed (set on #standard) and over its own top padding, so the space from the chips to its heading
     matches the space above the statement */
  #standard.is-live + #agents { position: relative; z-index: 1; margin-top: calc(-30lvh - 96px); }   /* 96px: its top padding on a phone */
}


/* the "Included" menu's picture cards (the kit's nav-cards): one small drawing of each part */
.menu-card .panel { --p-h: 200px; }
.tl-menu { width: 330px; }
/* the cards they link to land clear of the fixed nav, at the same height a section's heading lands */
#included article[id] { scroll-margin-top: calc(var(--nav) + var(--s-7)); }

/* while the AI in a chat mock-up is working, its send arrow becomes a stop button (a small filled square), as in
   the real chat apps: the homepage's chats set .is-working (home/desk-chat.js); the kit's chat (the offer page)
   is working while its typing dots run and while its reply is being written */
.ui-chat__send::before { content: ""; display: none; width: 10px; height: 10px; border-radius: 2px; background: currentColor; }
.ui-chat.is-working .ui-chat__send svg,
.ui-chat[data-ui="chat"]:is(.is-typing, :has(.ui-chat__w.is-off)) .ui-chat__send svg { display: none; }
.ui-chat.is-working .ui-chat__send::before,
.ui-chat[data-ui="chat"]:is(.is-typing, :has(.ui-chat__w.is-off)) .ui-chat__send::before { display: block; }

/* the sign-in card */
.tl-consent { padding: 14px 16px; font-size: 13px; line-height: 1.4; }

/* app-frame (sections-library.md): one window across the wrap, the list beside the open item */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}

/* the AI desktop app the plugin runs in (app--desk): the app's own sidebar with the installed plugin and recent chats,
   the chat as one centred column, tool-use lines above what the plugin returns, and a composer that stays in view */
.app--desk.ui { grid-template-columns: 232px minmax(0, 1fr); }
.app--desk > .app__pane::after { display: none; }
.tl-side { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 10px 10px; background: var(--u-fill); font-size: 13px; line-height: 20px; color: var(--u-text-2); }
.tl-side__bar { display: flex; align-items: center; gap: 10px; margin: 2px 6px 12px; color: var(--u-muted); }
.tl-side__bar .ui-dots { margin-right: 4px; }
.tl-side__bar .ui-icon { width: 15px; height: 15px; }
.tl-side__bar .ui-icon + .ui-icon { margin-left: -4px; }
/* the window buttons in their usual colours, as on the desktop apps this stands for */
.tl-side .ui-dots i { box-shadow: none; }
.tl-side .ui-dots i:nth-child(1) { background: #ff5f57; }
.tl-side .ui-dots i:nth-child(2) { background: #febc2e; }
.tl-side .ui-dots i:nth-child(3) { background: #28c840; }
.tl-side__item { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 8px; border-radius: 7px; white-space: nowrap; color: var(--u-ink); }
.tl-side__item .ui-icon { width: 15px; height: 15px; flex: none; }
.tl-side__item em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--u-muted); }
.tl-side__label { margin: 14px 8px 4px; font-size: 12px; color: var(--u-muted); }
.tl-side__chat { display: block; padding: 5px 8px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-side__chat.is-on { background: var(--u-fill-2); color: var(--u-ink); font-weight: 500; }
.tl-side__me { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px 8px 2px; border-top: 1px solid var(--u-line); font-weight: 500; color: var(--u-ink); }
.app--desk .ui-chat { height: 100%; --desk-pad: max(20px, (100% - 680px) / 2); }
.app--desk .ui-chat > .ui-head { padding-inline: 20px; }
/* the chat as the apps scroll it: it fills from the top, and once it is taller than its window it stays anchored to the
   newest line while older ones leave through the top (home/desk-chat.js plays it turn by turn) */
.app--desk .ui-chat__body { position: relative; display: block; flex: 1 1 0; min-height: 0; overflow: hidden; padding: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 14px); mask-image: linear-gradient(transparent, #000 14px); }
.tl-track { position: absolute; inset: auto 0 0 0; box-sizing: border-box; min-height: 100%; display: grid; align-content: start; gap: 14px; padding: 16px var(--desk-pad) 10px; }
.tl-turn { display: grid; gap: 12px; }
.tl-track .is-off { display: none; }
.tl-w { transition: opacity 160ms var(--u-ease, ease); }
/* the "Shows a panel" card's chat plays the same way (home/desk-chat.js): it fills its card down to a fixed
   margin so the composer, where each question is typed, stays in view */
.stage > .tl-chatfit { bottom: 24px; }
.tl-mini { height: 100%; --desk-pad: 16px; }
.tl-mini > .ui-chat__body { position: relative; display: block; flex: 1 1 0; min-height: 0; overflow: hidden; padding: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 14px); mask-image: linear-gradient(transparent, #000 14px); }
.tl-mini .tl-track { gap: 12px; padding-top: 12px; padding-bottom: 8px; }
.tl-mini .ui-msg--bot { max-width: none; }
.tl-mini .ui-msg--bot, .tl-mini .ui-msg__col { color: var(--u-ink); }
.tl-mini .ui-msg--me { max-width: 84%; background: var(--u-fill-2); box-shadow: none; border-radius: 16px; }
.tl-mini .ui-chat__ph.is-typed { color: var(--u-ink); }
/* on a phone the kit makes card frames 156px tall; this chat needs room for its last turn and its composer */
@media (max-width: 639px) { #panel > .panel, #panel > .panel > .stage { height: 330px; min-height: 330px; } .stage > .tl-chatfit { bottom: 16px; } }
.tl-w.is-wait { opacity: 0; }
.app--desk .ui-chat__ph.is-typed { color: var(--u-ink); }
.app--desk .tl-row { padding: 7px 0; }
.app--desk .tl-row b, .app--desk .tl-row small { display: inline; }
.app--desk .tl-row small { margin-left: 8px; }
.app--desk .ui-msg--bot { max-width: none; }
.app--desk .ui-msg--me { max-width: 72%; }
.app--desk .ui-chat__input { height: 48px; margin: 8px max(56px, var(--desk-pad)) 16px var(--desk-pad); padding: 0 8px; border-radius: 14px; background: var(--u-bg); }
.tl-tool { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--u-muted); }
.tl-tool .ui-icon { width: 13px; height: 13px; margin-left: -2px; }
.tl-tool .tl-mark { color: var(--u-muted); }
.tl-share { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--u-ink); }
.tl-share .ui-icon { width: 15px; height: 15px; }
.app--desk .ui-head > .ui-icon { width: 14px; height: 14px; margin-left: -2px; color: var(--u-muted); }
.tl-app__open { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.tl-app__open .ui-icon { width: 12px; height: 12px; }
.app--desk .tl-app__top > * { white-space: nowrap; }
.app--desk .ui-chat__ph { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a phone: the composer keeps 56px clear at its right for the loop's pause button, which sits in the window's corner */
@media (max-width: 639px) { .app--desk .tl-app__open { display: none; } }
/* the plugin named in the composer the way the apps show a mentioned plugin: its mark and its name in the link colour, no box */
.tl-plugin { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: color-mix(in oklab, var(--u-accent) 78%, var(--u-ink)); }
.tl-plugin .tl-mark { color: var(--u-ink); }
@media (max-width: 1023px) {
  .app--desk.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .app--desk > .app__pane--list { display: none; }
  .app--desk > .app__pane + .app__pane { border: 0; }
}

/* the desktop app and, beside it, the same chat on a phone (sections-library.md: a .device built in page CSS, an 8px
   bezel, radius 32). The phone joins from 1024px up; under that the chat alone fills the width. */
.tl-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-7); min-height: 0; }
.tl-stage > .app.ui { margin-top: 0; min-height: 0; }
/* a white window with a grey sidebar and plain grey question bubbles, as the desktop apps have */
.tl-stage .ui { --u-bg: #fff; }
.tl-stage .ui-msg--me { background: var(--u-fill-2); box-shadow: none; border-radius: 16px; }
.tl-stage .ui-msg--bot, .tl-stage .ui-msg__col { color: var(--u-ink); }
.tl-phone { display: none; min-height: 0; padding: 8px; border-radius: 32px; background: var(--u-ink); box-shadow: var(--u-shadow); }
.tl-phone__screen { height: 100%; border-radius: 24px; overflow: hidden; background: var(--u-bg); }
.tl-phone .ui-chat { width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
/* the phone app as the mobile apps draw it: a status row, round floating buttons over a centred title, the reply's
   action icons, and a pill composer with a microphone */
.tl-phone__status { flex: none; display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 6px 18px 0; font-size: 12px; font-weight: 600; color: var(--u-ink); }
.tl-phone__top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px 4px; }
.tl-phone__title { font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--u-ink); }
.tl-phone__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--u-bg); box-shadow: inset 0 0 0 1px var(--u-line-2), 0 1px 3px color-mix(in oklab, var(--u-ink) 8%, transparent); color: var(--u-ink); }
.tl-phone__btn .ui-icon { width: 15px; height: 15px; }
.tl-acts { display: flex; gap: 12px; color: var(--u-muted); }
.tl-acts .ui-icon { width: 14px; height: 14px; }
/* the phone chat is anchored to its newest line too, so a short screen cuts the oldest line, never the latest reply */
.tl-phone .ui-chat { --desk-pad: 12px; }
.tl-phone .ui-chat__body { position: relative; display: block; flex: 1 1 0; min-height: 0; overflow: hidden; padding: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 12px); mask-image: linear-gradient(transparent, #000 12px); }
.tl-phone .tl-track { gap: 12px; padding-top: 10px; padding-bottom: 6px; }
.tl-phone .ui-msg--bot { max-width: none; }
.tl-phone .ui-msg--me { max-width: 84%; }
.tl-phone .tl-row { padding: 7px 0; }
.tl-phone .tl-row > span:first-child { color: var(--u-muted); }
.tl-phone .ui-chat__input { height: 44px; margin: 6px 10px 12px; padding: 0 6px; border-radius: 999px; background: var(--u-bg); }
.tl-phone .ui-chat__input .ui-chat__tool { border-radius: 50%; color: var(--u-ink); }
.tl-phone .ui-msg--me { border-radius: 18px; }
.tl-phone .ui-chat__ph { min-width: 0; white-space: nowrap; overflow: hidden; }
@media (min-width: 1024px) {
  .tl-stage { grid-template-columns: minmax(0, 1fr) 252px; }
  .tl-phone { display: block; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .tl-stage > .app--desk.ui { grid-template-columns: minmax(0, 1fr); }
  .tl-stage > .app--desk > .app__pane--list { display: none; }
  .tl-stage > .app--desk > .app__pane + .app__pane { border: 0; }
}

/* one panel height for the four feature cards */
#included .panel { --p-h: 336px; }
@media (max-width: 639px) { #included .panel { --p-h: 180px; } #included .stage { --fade-h: 40px; } }

/* the words beside a section's heading keep the kit's reading measure instead of running the column's full width */
:is(#plugin, #agents) .grid--top p { max-width: 62ch; }

/* the diagram's frame in the dark band */
.tl-diagram { margin-top: var(--s-7); }

/* the name from line to line (close-word: hand-set, sized from its own row so it never runs past the wrap) */
.closing__cta.close--word { container-type: inline-size; }
.close__word { font-size: 22.8cqw; line-height: .8; overflow: visible; padding-top: .04em; }

/* the statement: the two agents named under it; larger type on a tablet held upright */
.tl-hosts { margin-top: var(--s-5); }
.tl-hosts__set { display: inline-flex; align-items: center; gap: 8px; }
.tl-hosts__set > .ic { --ic-s: 20px; }
/* iris-opens: once open, keep the stage measurable (hidden, not display:none). With display:none its box reads 0x0, so
   scrolling back up drew one frame with the whole section covered and every block hidden. */
.section.mo-io.is-open > .mo-io__stage { display: block; visibility: hidden; }
#asking .mo-la__sub { color: var(--ink); }
/* letters-assemble follows the scrollbar with no easing of its own, so a mouse wheel's steps made the letters jump.
   A short transition lets each letter glide to where the scroll has put it. */
#asking.mo-la.is-live .mo-i { transition: transform .45s cubic-bezier(.22, .8, .24, 1), opacity .45s linear; }
@media (prefers-reduced-motion: reduce) { #asking.mo-la.is-live .mo-i { transition: none; } }
@media (min-width: 640px) and (max-width: 1023px) { #asking .mo-la__type { font-size: 15vw; } }

/* 1024 to 1279: the card group's panels a step shorter, so the section stays two screens */
@media (min-width: 1024px) and (max-width: 1279px) { #included .panel { --p-h: 296px; } }

/* a tablet held upright: each feature card as a row, its words beside its panel, so two rows fill a screen */
@media (min-width: 640px) and (max-width: 1023px) {
  #included .grid > .card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-auto-rows: min-content; column-gap: var(--s-6); align-content: start; }
  #included .card > :not(.panel) { grid-column: 1; }
  #included .card > .panel { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  #included .panel { --p-h: calc(50svh - 190px); }
}
@media (max-width: 639px) { #included .panel { --p-h: 156px; } }
/* a phone: the sign-in, listing and tools cards show their whole fragment, not a 156px crop with a fade. The stage
   joins the flow, so the panel grows to the fragment plus 16px of ground under it (the panel card keeps its own
   fixed frame, where the chat plays) */
@media (max-width: 639px) {
  #included :is(#sign-in, #listing, #tools) > .panel { --p-h: 0px; }
  #included :is(#sign-in, #listing, #tools) > .panel > .stage { position: relative; inset: auto; -webkit-mask: none; mask: none; padding: 16px 16px 16px; }
  #included :is(#sign-in, #listing, #tools) > .panel > .stage > .fit { position: relative; inset: auto; }
  #included :is(#sign-in, #listing, #tools) > .panel > .stage > .fit > .ui { height: auto; }
}

/* the quote form, drawn beside the questions */
.tl-quote { margin-top: var(--s-5); }
/* the questions section carries the real quote form: a tighter card than on /quote, so the section stays one screen */
.tl-qhead > .quote-card { padding: var(--s-5); }
.tl-qhead .quote-form { gap: var(--s-4) var(--s-4); }
/* the form's card ends under its button at every width, never stretched to the section's foot */
.tl-qhead > .quote-card.tl-quote { flex: none; }
.tl-form { display: grid; align-content: start; gap: 12px; padding: 16px; font-size: 13px; }
.tl-form .tl-app__title { margin: 0; }
.tl-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tl-field { display: grid; gap: 4px; }
.tl-field > span { font-size: 12px; color: var(--u-muted); }
.tl-field > i { display: block; min-height: 34px; padding: 8px 10px; border: 1px solid var(--u-line-2, var(--u-line)); border-radius: 8px; font-style: normal; line-height: 1.4; color: var(--u-ink); }
.tl-field--area > i { min-height: 76px; }
/* a phone: the heading and the form on the first screen, the answers on the second */
@media (max-width: 639px) { #questions > .wrap > .grid { display: contents; } .tl-qhead { display: flex; flex-direction: column; min-height: 0; } .tl-quote { flex: 1 1 0; } }

/* the questions' left column runs the section's height: the form's panel takes what the words leave */
@media (min-width: 640px) {
  #questions > .wrap > .grid { flex: 1 1 0; min-height: 0; }
  .tl-qhead { align-self: stretch; display: flex; flex-direction: column; min-height: 0; }
  .tl-quote { flex: 1 1 0; }
  /* the answers run the same height as the heading and form beside them: the row is as tall as its content
     (not the section), so the first question sits level with the heading, the last rule level with the form
     card's foot, and the questions spread evenly between */
  #questions > .wrap > .grid { flex: none; }
  #questions > .wrap > .grid > .faq { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
}
/* a tablet keeps the split, 5 and 7 columns, so the section stays one screen */
@media (min-width: 640px) and (max-width: 1279px) {
  #questions > .wrap > .grid > .tl-qhead { grid-column: 1 / span 5; }
  #questions > .wrap > .grid > .faq { grid-column: 6 / -1; }
}

/* a phone: the name's line box holds its letters, so the close ends inside its screen */
@media (max-width: 639px) { .close__word { line-height: 1; padding-top: 0; padding-bottom: .14em; } }
/* a phone: the close and its links share the screen, so the name follows the button instead of waiting a whole
   screen down under it (the kit's .g2m gave the close a screen of its own, which left ~380px of empty ground) */
@media (max-width: 639px) {
  footer.closing.g2m { --hm: 1; }
  footer.closing.g2m > .wrap { grid-template-rows: auto auto; align-content: start; row-gap: var(--s-7); }
}
/* the iris moment's inset panel keeps a full gutter on a tablet too */
#agents { --mo-gap: 18px; }

/* ------------------------------------------------------------------ the other pages
   The offer page is a stack of whole screens like the homepage. The quote, company and legal pages
   are reading pages: `main.flow` runs as long as its words, on the same lines, type and colours. */

/* a split whose right column is a picture that takes the section's height (the offer page) */
@media (min-width: 640px) {
  .tl-split { flex: 1 1 0; min-height: 0; }
  .tl-col { align-self: stretch; display: flex; flex-direction: column; min-height: 0; }
  .tl-fillpanel { flex: 1 1 0; min-height: 240px; }
}
.tl-includes > li > p { max-width: none; }
/* the agents round "Your business" in the offer page's hero */
.tl-reach > .dg { position: absolute; inset: 0; }

main.flow { padding: calc(var(--nav) + var(--s-8)) 0 var(--s-9); min-height: 100svh; }
.flow__head { display: grid; gap: var(--s-4); align-content: start; max-width: 920px; margin-bottom: var(--s-8); }
/* the tight line leaves the last line's descenders (p, g, y) hanging below the heading's own box; the padding takes them
   back inside it and the matching negative margin keeps the gap to the next line as it was */
.flow__head h1 { font-size: var(--ly-h1-col); line-height: 1.04; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.flow__lead { font-size: var(--t-lead); line-height: 1.5; max-width: 58ch; }
.flow__link, .prose a, .quote-form__alert a { text-decoration: underline; text-underline-offset: 3px; }
.flow__link:hover, .prose a:hover { text-decoration-thickness: 2px; }

/* a heading on the left line, its words from the split line; each row closes with a rule */
.flow__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); row-gap: var(--s-4); padding-block: var(--s-7); border-bottom: 1px solid var(--line); }
.flow__row:first-child { border-top: 1px solid var(--line); }
.flow__row > h2 { grid-column: 1 / span 5; font-size: var(--t-h3); line-height: 1.15; }
.flow__row > :not(h2) { grid-column: 7 / -1; display: grid; gap: var(--s-5); align-content: start; max-width: 62ch; }
.flow__row p { line-height: 1.6; }
.flow__pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.flow__pairs dt { font-weight: 500; }
.flow__pairs dd { margin: var(--s-1) 0 0; line-height: 1.6; }
.flow address { font-style: normal; }
@media (max-width: 1023px) { .flow__row > h2, .flow__row > :not(h2) { grid-column: 1 / -1; } }
/* /why-now: footnote marks and the sources list. */
.tl-fn { font-size: .72em; line-height: 0; }
.tl-fn a { padding: 0 2px; color: var(--accent); font-weight: 500; text-decoration: none; }
.tl-fn a:hover { text-decoration: underline; }
/* two marks side by side read "2, 3", never "23" */
.ui-stat__label .tl-fn + .tl-fn::before { content: ","; }
.tl-sources { list-style: none; padding: 0; display: grid; gap: var(--s-3); font-size: var(--t-small); line-height: 1.6; }
.tl-sources li { scroll-margin-top: calc(var(--nav) + var(--s-5)); }
.tl-sources__n { color: var(--muted); font-variant-numeric: tabular-nums; }
/* its hero: the homepage's collage hero, holding the kit's stat card whole (its axis kept), with the same
   ground under it as beside it; the card leaves through the right edge, so its words keep that room */
main.flow.flow--hero { padding-top: 0; }
.flow__row > h2 { scroll-margin-top: calc(var(--nav) + var(--s-7)); }
main.flow--hero > .wrap { padding-top: var(--s-8); }
.hero__art > .ly-piece--main.tl-growth { bottom: var(--s-8); -webkit-mask-image: none; mask-image: none; }
.tl-growth { display: flex; flex-direction: column; gap: var(--s-5); }
.tl-growth > .ui-stat { width: 100%; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.tl-growth__label { display: inline-flex; align-items: center; gap: 8px; }
.tl-growth__label .ic { width: 16px; height: 16px; flex: none; }
.tl-growth .ui-stat__head { padding-right: calc(16px + var(--ly-cut-room, 0px)); }
.tl-growth .ui-stat__chart { flex: 1; display: flex; flex-direction: column; min-height: 0; padding-right: calc(16px + var(--ly-cut-room, 0px)); }
.tl-growth__plot { position: relative; flex: 1; min-height: 72px; }
.tl-growth__line { position: absolute; left: 0; right: 0; bottom: calc(var(--at) * 100%); border-top: 1px dashed var(--u-line); }
.tl-growth__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: clamp(2px, .35vw, 5px); }
.tl-growth__bars i { flex: 1 1 0; min-width: 0; height: max(4px, calc(var(--h) * 100%)); border-radius: 3px; background: var(--u-fill-3); }
.tl-growth__bars i:last-child { background: var(--u-accent); }
/* the second card: one line an agent, its bar to the same scale as the others */
.tl-growth .tl-users { justify-content: space-evenly; gap: var(--s-3); padding-top: var(--s-2); padding-bottom: var(--s-4); }
.tl-users__row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; align-items: center; column-gap: 12px; font-size: 13px; line-height: 20px; }
.tl-users__name { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tl-users__name .ic { width: 16px; height: 16px; flex: none; }
.tl-users__track { display: block; height: 12px; border-radius: 3px; background: var(--u-fill-3); }
.tl-users__track i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 3px; background: var(--u-accent); }
.tl-users__count { justify-self: end; font-weight: 600; font-variant-numeric: tabular-nums; }
/* the first card holds the chart, so it takes the room; the second is as tall as its three lines */
.tl-growth > .ui-stat[data-card="monthly"] { flex: none; }
/* this hero's ground is drawn still (its speed is 0), so the kit's pause button would pause nothing */
.hero__art:has(> .tl-growth) > .loop-pause { display: none; }
/* /listed: its card counts tools by month, one card only, so it takes the frame; each bar carries its count */
.tl-added > .ui-stat[data-card="sizes"] { flex: none; }
.tl-added__sub { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.tl-added__also { display: inline-flex; align-items: center; gap: 6px; }
.tl-added__also .ic { width: 14px; height: 14px; }
.tl-added__bars i { position: relative; }
.tl-added__bars { gap: clamp(16px, 4vw, 48px); }
.tl-added__bars i { background: var(--u-fill-3); }
.tl-added__axis { display: flex; gap: clamp(16px, 4vw, 48px); }
.tl-added__axis span { flex: 1 1 0; text-align: center; }
.tl-added__bars b { font-style: normal; position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); padding-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--u-ink); font-variant-numeric: tabular-nums; }
/* the list of tools: name and what it works on, the month Claude added it, then a link to each listing */
.flow__row .tl-listed { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.45; }
.tl-listed th, .tl-listed td { padding: var(--s-3) var(--s-3) var(--s-3) 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-weight: 400; }
.tl-listed thead th { padding-top: 0; border-top: 0; font-size: var(--t-label); color: var(--muted); }
.tl-listed td:last-child, .tl-listed th:last-child { padding-right: 0; }
.tl-listed__name { display: block; font-weight: 500; }
.tl-listed__does { display: block; color: var(--muted); }
.tl-listed__added { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tl-listed__links { white-space: nowrap; }
.tl-listed__link { display: inline-flex; align-items: center; gap: 6px; margin-right: var(--s-4); text-decoration: underline; text-underline-offset: 3px; }
.tl-listed__link:last-child { margin-right: 0; }
.tl-listed__link:hover { text-decoration-thickness: 2px; }
.tl-listed__link .ic { width: 14px; height: 14px; flex: none; }
@media (max-width: 639px) {
  .tl-listed thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tl-listed, .tl-listed tbody, .tl-listed tr, .tl-listed th, .tl-listed td { display: block; }
  .tl-listed tr { padding: var(--s-3) 0; border-top: 1px solid var(--line); }
  .tl-listed th, .tl-listed td { padding: 0; border-top: 0; }
  .tl-listed__added { margin-top: var(--s-1); color: var(--muted); }
  .tl-listed__added:not(.is-undated)::before { content: "Added to Claude "; }
  .tl-listed__links { margin-top: var(--s-2); }
  .tl-listed__link { min-height: 44px; }
}
/* the chart draws in once, left to right, the way the months went by; it never sinks or loops */
@keyframes tl-growth-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: no-preference) {
  .tl-growth__bars { animation: tl-growth-draw 1.6s cubic-bezier(.3, .6, .2, 1) .4s both; }
}
@media (max-width: 1023px) { .hero__art > .ly-piece--main.tl-growth { bottom: var(--s-6); } }
@media (max-width: 1023px) { .hero__art:has(> .tl-growth) { flex: none; height: 600px; } }
@media (max-width: 639px) {
  .hero__art > .ly-piece--main.tl-growth { bottom: var(--s-4); gap: var(--s-4); }
  .hero__art:has(> .tl-growth) { height: 520px; }
}

@media (max-width: 639px) { main.flow { padding-top: calc(var(--nav) + var(--s-7)); } .flow__pairs { grid-template-columns: minmax(0, 1fr); } }

/* long legal text */
.prose { display: grid; gap: var(--s-5); max-width: 70ch; font-size: var(--t-body); line-height: 1.65; }
.prose h2 { margin-top: var(--s-5); font: 500 var(--t-lead)/1.3 var(--font-text); scroll-margin-top: calc(var(--nav) + var(--s-5)); }
.prose ul { display: grid; gap: var(--s-2); padding-left: 20px; list-style: disc; }

/* the quote form on its card */
.quote-card { padding: var(--s-7); border-radius: var(--r-lg); background: var(--p-surface); }
.quote-form { --error: color-mix(in oklab, #d92d20 72%, var(--ink)); position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.quote-form > :is(.field--full, .btn-row, p) { grid-column: 1 / -1; }
.quote-form .field :is(input, textarea) { background: #fff; }
.field__required { color: var(--error); }
.quote-form .field__error { display: block; }
.quote-form__alert { font-size: var(--t-small); color: var(--error); }
.quote-form__trap { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.quote-form__sent { display: grid; gap: var(--s-3); }
.quote-form__sent h2 { font-size: var(--t-h3); }
@media (max-width: 639px) { .quote-card { padding: var(--s-5); } .quote-form { grid-template-columns: minmax(0, 1fr); } }

/* the quote page: the copy centred above the form, both on the hero frame's grain-gradient ground (its fx tokens,
   from the page's lit ground), full bleed under the nav and down to the closing section */
main.quote-page {
  --fx-bg: var(--ground-bg); --fx-surface: var(--ground-surface); --fx-ink: var(--ground-ink); --fx-accent: var(--ground-accent);
  display: grid; align-content: center; background: var(--ground-bg);
}
.quote-page > .wrap { display: grid; justify-items: center; }
.quote-page__head { justify-items: center; text-align: center; max-width: 640px; margin-bottom: var(--s-7); }
.quote-page__card { width: 100%; max-width: 720px; }
#quote-form { scroll-margin-top: calc(var(--nav) + var(--s-7)); }
/* the missing page: the quote page's ground, its words and the way back centred on one screen */
.missing-page .quote-page__head { margin-bottom: 0; }
.missing-page .btn-row { justify-content: center; margin-top: var(--s-3); }
/* the offer page on a phone: the words on one screen, the chat on the next */
@media (max-width: 639px) {
  #account > .wrap > .grid { display: contents; }
  #account .tl-col { display: flex; flex-direction: column; min-height: 0; }
  #account .tl-fillpanel { flex: 1 1 0; }
  #account .tl-intro { display: none; }
}

/* ---------------------------------------------------------------- the phone audit (Sam, November 21, 2026)
   The kit makes every section on a phone at least one screen tall (two for .g2 and .g2m) with its words at the top,
   so a section shorter than the screen left a band of empty ground under it, 150 to 300px at a time. On a phone a
   section is as tall as what it holds, with the kit's own padding: one steady step from section to section. The hero
   keeps its screen, and the scroll scene keeps its held stage. */
@media (max-width: 639px) {
  main > :is(section, .section):not(.hero, .section--hero, .sc) { min-height: 0; }
  /* the two-screen sections: their two groups follow one another instead of each waiting for its own screen */
  main > :is(section, .section).g2m > .wrap { grid-template-rows: auto auto; row-gap: var(--s-8); }
  main > :is(section, .section).g2:not(.g2m) > .wrap > :last-child { margin-block: 0; }
  /* parts that filled what the screen left get a height of their own: the desktop chat window and the diagram */
  #plugin .tl-stage { flex: none; height: 460px; }
  #plugin .tl-stage > .app--desk { height: 100%; }
  #agents .tl-diagram { flex: none; height: 520px; }
  /* the hero's chat rises out of the frame's foot: there it dissolves over its last rows instead of being sliced
     through a line of text by the frame's edge */
  .hero__art > .ly-piece--main {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--ly-cut) - 88px), transparent calc(100% - var(--ly-cut) - 8px));
    mask-image: linear-gradient(to bottom, #000 calc(100% - var(--ly-cut) - 88px), transparent calc(100% - var(--ly-cut) - 8px));
  }
}

/* ---------------------------------------------------------------- the visual audit (November 21, 2026)
   A phone held sideways (812x375 to 932x430): the kit's hero is exactly one screen, but its stacked words
   already fill that screen, so the picture under them hung over the next section's heading. Below 1024px wide
   on a short screen the hero is as tall as its words and a picture of its own height. */
@media (min-width: 640px) and (max-width: 1023px) and (max-height: 560px) {
  main > .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  main > .hero > .wrap { height: auto; }
  .hero__art { flex: none; height: 340px; }
}
/* a portrait phone: the first screen shows the customer's question and what the plugin did about it. The
   second button gives its room to the picture, and the small result card comes back, the width of the frame,
   over the foot of the chat (the list of clients above it is the part a visitor can let go) */
@media (max-width: 639px) {
  .hero[aria-labelledby="hero-h"] .btn-row > .btn--secondary { display: none; }
  .hero__art { min-height: 300px; }
  .hero__art > .ly-piece.ly-piece--note { display: block; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); width: auto; }
}
/* the questions: someone who picks "Questions" on a phone reads the answers first, then the form under them
   (the column and the heading's group dissolve, so the five parts line up in this order) */
@media (max-width: 639px) {
  #questions > .wrap { row-gap: 0; }
  #questions .tl-qhead { display: contents; }
  #questions .tl-qhead > :is(h2, p) + :is(p) { margin-top: var(--s-4); }
  #questions .faq { order: 1; margin-top: var(--s-7); }
  #questions .tl-quote { order: 2; margin-top: var(--s-8); }
}
/* the form beside the answers takes one field a row when its own column is narrow (a tablet or a small laptop),
   so the email field is never squeezed to a stub */
.tl-quote { container-type: inline-size; }
@container (max-width: 400px) { .tl-quote .quote-form { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- the device QA (November 22, 2026)
   Codex checked every page at eleven screen sizes; these are its layout findings. */
/* "One build serves all": the scene's script puts a zero-width box inside the pivot letter to read its baseline, and
   that box let the line break inside the word ("One buil / d serves all"); the word now holds together */
.lbf__word { white-space: nowrap; }
/* a phone held sideways (640 to 1023px wide, short): the chat window and the diagram filled what the screen left,
   which was nothing, so the chat showed as a 2px rule and the diagram was cut through its outer rows. Each gets a
   height of its own that fits the screen, and its section grows round it */
@media (min-width: 640px) and (max-width: 1023px) and (max-height: 560px) {
  #plugin .tl-stage { flex: none; height: max(300px, calc(100svh - 40px)); }
  #plugin .tl-stage > .app--desk { height: 100%; }
  #agents .tl-diagram { flex: none; height: max(300px, calc(100svh - 40px)); }
}
/* the listing links on a touch screen wide enough for the table: a 44px target, the row's top kept level with the name */
@media (pointer: coarse) and (min-width: 640px) {
  .tl-listed__link { min-height: 44px; }
  .tl-listed td.tl-listed__links { padding-top: max(0px, calc(var(--s-3) - 12px)); }
}
/* the source marks on /why-now: a 24px target round each number on a touch screen, without moving the text, and
   two marks side by side ("2, 3") set apart so their targets do not overlap */
.tl-fn a { position: relative; }
@media (pointer: coarse) {
  .tl-fn a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); }
  .tl-fn + .tl-fn { margin-left: 6px; }
}
/* 1024 to 1279px: the hero's words take a sixth column, so the headline is not stacked one word to a line */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero--collage .hero__text.span-5 { grid-column: 1 / span 6; }
}
/* a tablet held upright (640 to 1023px wide): the homepage's chat window was too short for the invoice card at its foot
   to clear the plugin's reply, so the card hid the reply's first words. The picture gets the height it needs and
   the hero grows round it, the way it already does on a phone held sideways */
@media (min-width: 640px) and (max-width: 1023px) and (min-height: 561px) {
  main > .hero[aria-labelledby="hero-h"] { height: auto; min-height: 100vh; min-height: 100svh; }
  main > .hero[aria-labelledby="hero-h"] > .wrap { height: auto; }
  .hero[aria-labelledby="hero-h"] .hero__art { flex: none; height: 620px; }
}
