/* Kitroll page CSS. Only what sits inside a visual (the hero's windows, the kit builder, the switching example,
   the small kits in the cards and the nav panel), the step list, the FAQ columns and one height rule per section
   where stacking changes its screen count. Tokens come from system.css and the :root palette in index.html. */

/* ------------------------------------------------------------------ shared window pieces */
.kw, .sw-win {
  --w-bg: #131824; --w-ink: #e9edf3; --w-muted: #9aa3b2; --w-line: rgb(233 237 243 / .09);
  background: var(--w-bg); color: var(--w-ink); border-radius: 14px; overflow: hidden;
  font: 400 14px/1.4 var(--font-text); text-align: left;
  box-shadow: 0 0 0 1px rgb(233 237 243 / .08), 0 30px 70px -30px rgb(4 8 16 / .75);
}
.kw__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--w-line); font-size: 13px; color: var(--w-muted); }
.kw__dots { display: flex; gap: 6px; }
.kw__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2c3445; }
.kw__body { padding: 18px 20px 20px; padding-right: var(--ly-cut-room, 20px); display: grid; gap: 14px; }
.kw__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.kw__head b { display: block; font-weight: 500; font-size: 16px; }
.kw__head small { display: block; color: var(--w-muted); font-size: 13px; margin-top: 2px; }
.kw__tag { flex: none; font-size: 13px; color: var(--w-muted); border: 1px solid var(--w-line); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.kw__rows { display: grid; border-top: 1px solid var(--w-line); }
.kw__row { display: grid; grid-template-columns: minmax(0, 1fr) 44px 64px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--w-line); }
.kw__row b { display: block; font-weight: 500; }
.kw__row small { color: var(--w-muted); font-size: 13px; }
.kw__was { color: var(--w-muted); text-decoration: line-through; text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.kw__now { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.kw__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: 13px; color: var(--w-muted); }
.kw__total b { color: var(--w-ink); font-size: 15px; font-weight: 500; }
.kw__total s { text-decoration-thickness: 1px; }
.kw__save { color: #8fd0ff; }

.kw-note { background: #ffffff; color: #141a24; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 18px 44px -20px rgb(0 0 0 / .5); }
.kw-note__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-bottom: 4px; }
.kw-note__head b { font-weight: 500; }
.kw-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3b4352; border-top: 1px solid rgb(0 0 0 / .06); }
.kw-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e4f1fb; color: #145a8a; font-style: normal; font-size: 12px; font-weight: 500; }
.kw-note__line b { font-weight: 500; color: #141a24; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }

.kw-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap;
  background: #e4f1fb; color: #145a8a; }
.kw-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sw-win .kw-chip { background: rgb(90 185 252 / .14); color: #9fd5ff; }
.kw-chip--ea { background: rgb(90 185 252 / .14); color: #9fd5ff; vertical-align: 1px; margin-right: 6px; }

/* the early-access dot beside the label (the accent, once per line) */
.ea-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); margin-right: 10px; vertical-align: 1px; }
.hero__proof { font-size: var(--t-small); color: #b4bcc8; margin-top: var(--s-5); }

/* ------------------------------------------------------------------ section heads beside a wide frame */
.app-head { align-items: start; margin-bottom: var(--s-7); }
.app-head__text { display: grid; gap: var(--s-3); justify-items: start; }
.app-head__text > p { margin: 0; font-size: var(--t-body); line-height: 1.65; color: var(--ink); max-width: 62ch; }
@media (max-width: 639px) { .app-head { margin-bottom: var(--s-6); row-gap: var(--s-4); } }

/* ------------------------------------------------------------------ the kit builder */
.kb.ui {
  --u-bg: var(--p-surface); --u-ink: var(--p-ink); --u-muted: #9aa3b2; --u-accent: var(--p-accent);
  --kb-line: rgb(233 237 243 / .09); --kb-line-2: rgb(233 237 243 / .16); --kb-fill: rgb(233 237 243 / .05);
  position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "inputs kit" "save kit";
  background: transparent; color: var(--p-ink); border: 1px solid var(--kb-line-2); border-radius: var(--r-lg);
  font: 400 14px/1.45 var(--font-text); min-height: 0; box-shadow: none;
}
.kb__inputs { grid-area: inputs; padding: var(--s-5) var(--s-5) var(--s-4); display: grid; gap: var(--s-4); align-content: start; border-right: 1px solid var(--kb-line); margin: 0; }
.kb__save-box { grid-area: save; padding: var(--s-5) var(--s-5) var(--s-5); border-right: 1px solid var(--kb-line); border-top: 1px solid var(--kb-line); display: grid; gap: var(--s-3); align-content: end; }
.kb__kit.ui { --u-bg: var(--p-surface); --u-ink: var(--p-ink); --u-muted: #9aa3b2; --u-accent: var(--p-accent);
  font: 400 14px/1.45 var(--font-text); color: var(--p-ink); letter-spacing: 0; }
.kb__kit { grid-area: kit; padding: var(--s-5) var(--s-5) var(--s-4); display: flex; flex-direction: column; min-width: 0; min-height: 0;
  background: var(--p-surface); border-radius: 0 calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0; }

.kb__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.kb__legend { padding: 0; margin-bottom: var(--s-3); font-size: 14px; font-weight: 500; color: var(--p-ink); }
.kb__legend span { font-weight: 400; color: var(--u-muted); margin-left: 4px; }
.kb__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.kb-chip { position: relative; display: inline-flex; }
.kb-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.kb-chip span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--kb-line-2);
  background: transparent; color: var(--p-ink); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .15s var(--ease, ease), border-color .15s var(--ease, ease), color .15s; }
.kb-chip span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--kb-line-2); flex: none; transition: inherit; }
.kb-chip input[type="radio"] + span::before { border-radius: 50%; }
.kb-chip:hover span { background: var(--kb-fill); border-color: rgb(233 237 243 / .28); }
.kb-chip input:checked + span { background: color-mix(in oklab, var(--p-ink) 12%, var(--p-surface)); border-color: transparent; }
.kb-chip input:checked + span::before { background: var(--p-accent); border-color: var(--p-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%230a0d14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.kb-chip input[type="radio"]:checked + span::before { background-image: none; box-shadow: inset 0 0 0 3px var(--p-surface); }
.kb-chip input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.kb__note { margin: 0; font-size: 13px; color: var(--u-muted); }

.kb__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-3); }
.kb__title { margin: 0; font: 500 18px/1.3 var(--font-text); letter-spacing: -0.01em; }
.kb__meta { margin: 2px 0 0; font-size: 13px; color: var(--u-muted); }
.kb__meta.is-over { color: #ffb98a; }
.kb__tag { flex: none; font-size: 13px; color: var(--u-muted); border: 1px solid var(--kb-line-2); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }

.kb__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--kb-line); flex: 1 1 auto; min-height: 0; }
.kb-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 72px auto; align-items: center; gap: var(--s-4); padding: 10px 0; border-bottom: 1px solid var(--kb-line); }
.kb-row__info { min-width: 0; }
.kb-row__name { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kb-row__name b { font-weight: 500; font-size: 15px; }
.kb-row__name span { font-size: 13px; color: var(--u-muted); }
/* the line under the name: tags, the one-line reason (cut with an ellipsis) and "Why this tool", always whole */
.kb-row__why { margin: 2px 0 0; color: rgb(233 237 243 / .84); font-size: 14px; white-space: nowrap; display: flex; align-items: baseline; gap: 4px 8px; min-width: 0; }
.kb-row__best { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kb-row__why .kb-tag, .kb-why-btn { flex: none; }
.kb-row__why a { color: #9fd5ff; text-decoration: underline; text-underline-offset: 2px; }
.kb-row__why.is-note { color: #cfe9ff; white-space: normal; flex-wrap: wrap; }
.kb-row__why.is-note .kb-row__best { overflow: visible; }
.kb-row__price { margin: 0; display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.kb-row__price b { font-weight: 500; font-size: 15px; }
.kb-row__price s { font-size: 13px; color: var(--u-muted); }
.kb-row__actions { display: flex; gap: var(--s-2); }
.kb-tag { font-size: 13px; font-weight: 500; padding: 1px 8px; border-radius: 99px; background: #ffe7c2; color: #6b3d00; }
.kb-tag--you { background: rgb(90 185 252 / .16); color: #9fd5ff; }
.kb-tag--new { background: transparent; color: #9fd5ff; padding: 0; }

.kb-btn { height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--kb-line-2); background: transparent; color: var(--p-ink);
  font: 500 13px/1 var(--font-text); cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.kb-btn:hover { background: var(--kb-fill); border-color: rgb(233 237 243 / .3); }
.kb-btn[aria-pressed="true"] { background: color-mix(in oklab, var(--p-ink) 12%, var(--p-surface)); border-color: transparent; color: #9fd5ff; }
.kb-btn[aria-pressed="true"]::before { content: "\2713\00a0"; }
.kb-btn[aria-expanded="true"] { background: var(--kb-fill); border-color: rgb(233 237 243 / .4); }
.kb-btn:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

/* the swap list: a small panel under the row's Swap button */
.kb-pop { position: absolute; z-index: 5; right: 0; top: calc(100% - 6px); width: min(360px, 100%); background: #1a2131; color: var(--p-ink);
  border: 1px solid var(--kb-line-2); border-radius: 12px; padding: 8px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .8); display: grid; gap: 2px; }
.kb-pop[hidden] { display: none; }
.kb-pop__title { margin: 4px 8px 6px; font-size: 13px; color: var(--u-muted); }
.kb-pop__opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; min-height: 44px; padding: 8px 10px; border-radius: 8px;
  border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.kb-pop__opt:hover, .kb-pop__opt:focus-visible { background: rgb(233 237 243 / .07); outline: none; }
.kb-pop__opt:focus-visible { box-shadow: inset 0 0 0 2px var(--action); }
.kb-pop__opt b { font-weight: 500; }
.kb-pop__opt small { grid-column: 1; color: var(--u-muted); font-size: 13px; }
.kb-pop__opt span { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-variant-numeric: tabular-nums; }
.kb-pop__opt span s { display: block; color: var(--u-muted); font-size: 13px; }

.kb__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s-6); padding: var(--s-3) 0; border-bottom: 1px solid var(--kb-line); font-variant-numeric: tabular-nums; }
.kb__total p { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.kb__total span { font-size: 13px; color: var(--u-muted); }
.kb__total s { color: var(--u-muted); }
.kb__total b { font-weight: 500; font-size: 16px; }
.kb__save b { color: #9fd5ff; }
.kb__pm { font-style: normal; }

.kb__bar { position: relative; display: flex; align-items: center; gap: var(--s-4); padding-top: var(--s-3); min-height: 56px; }
.kb-follow { position: absolute; z-index: 6; left: 0; right: 0; bottom: calc(100% + var(--s-2)); max-width: 640px; background: #1a2131; border: 1px solid var(--kb-line-2);
  border-radius: 12px; padding: 12px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .8); display: grid; gap: var(--s-2); }
.kb-follow__ask { margin: 0 4px; font-size: 13px; color: var(--u-muted); }
.kb-follow__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.kb-reason[aria-expanded="true"] { background: var(--kb-fill); border-color: rgb(233 237 243 / .4); }
.kb__refit { flex: none; }
.kb__bar-body { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2); min-width: 0; }
.kb__helper, .kb__ask { margin: 0; color: rgb(233 237 243 / .84); font-size: 14px; }
.kb__ask { color: var(--u-muted); margin-right: 4px; }
.kb-reason { height: 44px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--kb-line-2); background: transparent; color: var(--p-ink);
  font: 500 13px/1 var(--font-text); cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.kb-reason:hover { background: var(--kb-fill); border-color: rgb(233 237 243 / .3); }
.kb-reason:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.kb-reason--back { border-style: dashed; color: var(--u-muted); }
.kb__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }

/* the calm change: a short crossfade and a 4px settle, never a deal or a spin */
.kb-row.is-in { animation: kb-in .26s var(--ease, cubic-bezier(.2, .7, .2, 1)) both; }
.kb-row.is-in .kb-row__name b { color: #cfe9ff; }
@keyframes kb-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.kb__total.is-in { animation: kb-fade .26s ease both; }
@keyframes kb-fade { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kb-row.is-in, .kb__total.is-in { animation: none; } }

.kb__save-title { margin: 0; font: 500 16px/1.35 var(--font-text); }
.kb__ea { margin: 0; font-size: 13px; color: rgb(233 237 243 / .84); }
.kb__ea .ea-dot { width: 7px; height: 7px; margin-right: 8px; }
.kb__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-2); align-items: end; }
.kb__form .field { margin: 0; }
.kb__form .field label { font-size: 13px; }
.kb__form .btn-row { margin: 0; }
.kb__form .form__status:empty { display: none; }
.kb__form .form__status, .kb__privacy { grid-column: 1 / -1; margin: 0; }
.kb__privacy { font-size: 13px; color: rgb(233 237 243 / .84); }
.kb__privacy .link { color: var(--p-ink); }

/* the right pane is narrower from 1024 to 1279: the actions drop under the why line */
@container kbkit (max-width: 720px) {
  .kb-row { grid-template-columns: minmax(0, 1fr) 72px; row-gap: var(--s-2); }
  .kb-row__actions { grid-column: 1 / -1; }
}
.kb__kit { container: kbkit / inline-size; }

/* the kit and the signup sit in one column (.kb__main); on a desktop they join the frame's grid */
.kb__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
@media (min-width: 1280px) { .kb__main { display: contents; } }

/* a short desktop window (under 900px tall): the builder grows with its content instead of cutting it */
@media (min-width: 1280px) and (max-height: 899px) {
  #builder { height: auto; min-height: 100vh; min-height: 100svh; }
  #builder .kb.fill { flex: none; }
}

/* 640 to 1279: two screens. Screen 1 the heading and what you make; screen 2 the kit and the signup, starting
   --padt under the second screen's top (the last row is one screen tall; the row before it takes what is left) */
@media (min-width: 640px) and (max-width: 1279px) {
  #builder { --h: 2; }
  #builder > .wrap { display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) minmax(calc(100svh - var(--padt) - var(--padb) - var(--bar)), auto); }
  #builder .app-head { grid-area: 1 / 1 / 2 / -1; }
  #builder .kb { display: contents; }
  #builder .kb__inputs { grid-area: 2 / 1 / 3 / -1; border: 1px solid var(--kb-line-2); border-radius: var(--r-lg); }
  #builder .kb__main { grid-area: 4 / 1 / 5 / -1; gap: var(--s-4); }
  #builder .kb__kit, #builder .kb__save-box { grid-area: auto; }
  #builder .kb__kit { flex: 1 1 auto; background: transparent; border: 1px solid var(--kb-line-2); border-radius: var(--r-lg); }
  /* the signup in one band: the title, the early-access line and the privacy line left, the field and button right */
  #builder .kb__save-box { border: 1px solid var(--kb-line-2); border-radius: var(--r-lg); padding: var(--s-4) var(--s-5);
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; grid-template-rows: auto auto auto; column-gap: var(--s-4); row-gap: var(--s-1); align-content: start; }
  #builder .kb__save-title { grid-area: 1 / 1; }
  #builder .kb__ea { grid-area: 2 / 1; }
  #builder .kb__form { display: contents; }
  #builder .kb__privacy { grid-area: 3 / 1; }
  #builder .kb__form .field { grid-area: 1 / 2 / 4 / 3; align-self: end; }
  #builder .kb__form .btn-row { grid-area: 1 / 3 / 4 / 4; align-self: end; margin-bottom: 2px; }
  #builder .kb__form .form__status { grid-area: 4 / 2 / 5 / 4; }
}
/* the kit a little tighter where one screen holds it and the signup */
@media (min-width: 1024px) and (max-width: 1279px) {
  #builder .kb__kit { padding: var(--s-4) var(--s-5) var(--s-3); }
  #builder .kb-row { padding: 8px 0; }
  #builder .kb__total { padding: var(--s-2) 0; }
  #builder .kb__bar { min-height: 52px; padding-top: var(--s-2); }
  #builder .app-head { margin-bottom: var(--s-6); }
}
/* 1024 to 1279: what you make and the budget side by side */
@media (min-width: 1024px) and (max-width: 1279px) {
  #builder .kb__inputs { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-7); align-items: start; }
  #builder .kb__note { grid-column: 1 / -1; }
}

/* a phone: one column inside the frame */
@media (max-width: 639px) {
  .kb.ui { display: flex; flex-direction: column; }
  .kb__inputs { border-right: 0; border-bottom: 1px solid var(--kb-line); }
  .kb__save-box { border-right: 0; border-top: 1px solid var(--kb-line); }
  .kb__kit { border-radius: 0; }
}
@media (max-width: 639px) {
  #builder .app-head { margin-bottom: var(--s-5); }
  #builder .app-head__text > .link { display: none; }
  .kb__pm { display: none; }
  .kb__total { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
  .kb__total p { display: grid; gap: 2px; }
  .kb__bar { flex-direction: row; align-items: center; gap: var(--s-3); }
  .kb__refit { width: auto; }
  .kb__helper { font-size: 13px; }
  .kb__form { grid-template-columns: minmax(0, 1fr) auto; }
  .kb__form .btn { width: auto; }
  .kb__inputs { gap: var(--s-3); }
  .kb__save-box { gap: var(--s-2); }
  .kb__note { display: none; }
  .kb__legend { margin-bottom: var(--s-2); }
  .kb__inputs, .kb__kit, .kb__save-box { padding: var(--s-4); }
  .kb__head { flex-direction: column; gap: var(--s-2); }
  .kb-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; padding: 10px 0; }
  .kb-row__why { white-space: normal; }
  .kb-row__actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .kb__total { gap: 2px var(--s-5); }
  .kb-pop { width: 100%; }
}

/* ------------------------------------------------------------------ switching agent */
.sw-top { align-content: stretch; align-items: stretch; }
.sw-top > .sw-steps { align-self: start; }
.sw-steps { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.sw-steps li { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.sw-steps li:first-child { padding-top: 0; }
.sw-steps h3 { margin: 0; display: flex; align-items: center; gap: var(--s-3); font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.sw-steps .step-num { width: 28px; height: 28px; font-size: 14px; }
.sw-steps p { margin: 0; color: var(--ink); }
/* the agent's map on the lit ground, whole inside its frame */
.sw-map-frame { padding: var(--s-7); border-radius: var(--r-lg); background: var(--ground-bg); min-width: 0; height: 100%; align-items: flex-start; }
.sw-map { width: 100%; }
.sw-map__list { list-style: none; margin: 0; padding: 0; display: grid; }
.sw-map__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 96px; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--w-line); }
.sw-map__list b { font-weight: 500; }
.sw-map__list span { color: var(--w-muted); font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
.sw-map__list em { font-style: normal; font-size: 13px; font-weight: 500; text-align: right; color: #cfe9ff; }
.sw-map__list li.is-you em { color: #ffd59a; }
.sw-map__list li.is-stay em { color: var(--w-muted); }

.sw-example { align-content: start; }
.sw-promises { display: grid; gap: var(--s-5); align-content: start; }
.sw-promises__title { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.sw-rows { margin: 0; }
.sw-rows li { padding: var(--s-4) 0; }
.sw-rows .rows__name { font-size: var(--t-body); font-weight: 400; line-height: 1.5; }
.sw-honest { margin: 0; color: var(--ink); line-height: 1.65; }
.sw-frame { min-width: 0; }
.sw-win__body { padding: 18px 20px 20px; display: grid; gap: 12px; }
.sw-win__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sw-win__head b { display: block; font-weight: 500; font-size: 16px; }
.sw-win__head small { color: var(--w-muted); font-size: 13px; }
.sw-bar { height: 4px; border-radius: 99px; background: rgb(233 237 243 / .08); overflow: hidden; }
.sw-bar i { display: block; height: 100%; width: calc(var(--k) * 100%); background: var(--p-accent); border-radius: inherit; }
.sw-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sw-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--w-line); }
.sw-list li > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 500;
  background: rgb(233 237 243 / .08); color: var(--w-ink); }
.sw-list li.is-you > i { background: #ffe7c2; color: #6b3d00; }
.sw-list li.is-wait > i { background: transparent; border: 1.5px dashed rgb(233 237 243 / .35); }
.sw-list b { display: block; font-weight: 500; }
.sw-list small { color: var(--w-muted); font-size: 13px; font-family: var(--font-text); }
.sw-list li.is-you small { font-family: var(--font-mono); overflow-wrap: anywhere; }
.sw-list li > div { min-width: 0; }
.sw-act { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 8px; border: 1px solid rgb(233 237 243 / .18); white-space: nowrap; }
.sw-act--main { background: var(--p-accent); border-color: var(--p-accent); color: #0a0d14; }

@media (min-width: 1024px) and (max-width: 1279px) {
  .sw-map-frame { padding: var(--s-5); }
  .sw-list li { padding: 8px 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .sw-list li.sw-opt { display: none; }
  .sw-rows li { padding: var(--s-3) 0; }
  .sw-example { row-gap: var(--s-6); }
}
@media (max-width: 639px) {
  .sw-map-frame { padding: var(--s-4); height: auto; }
  .sw-map__list li { grid-template-columns: minmax(0, 1fr) auto; }
  .sw-map__list span { display: none; }
  .sw-list li { grid-template-columns: 22px minmax(0, 1fr); }
  .sw-act { grid-column: 2; justify-self: start; }
  .sw-list li.sw-opt { display: none; }
}

/* ------------------------------------------------------------------ why a kit costs less (word-highlight) */
:is(#cheaper, #pace) .wrap { justify-content: flex-start; }
:is(#cheaper, #pace) .t-label { margin: 0 0 var(--s-6); color: var(--muted); }
.price-terms { margin: var(--s-9) 0 0; }
.price-terms > div { display: grid; gap: var(--s-2); align-content: start; }
.price-terms dt { font-weight: 500; font-size: var(--t-body); }
.price-terms dd { margin: 0; color: var(--ink); line-height: 1.6; max-width: 34ch; }
@media (max-width: 639px) { .price-terms { margin-top: var(--s-7); row-gap: var(--s-5); } }

/* ------------------------------------------------------------------ who it's for */
.who-cards { align-content: start; }
/* three across from 1024: the small kits narrow (.fit) to a 290px panel, so the kit's two-up rule for span-4
   panels is not needed (these cards carry no span class); one per row below */
.who-cards > .card { grid-column: 1 / -1; }
@media (min-width: 1024px) { .who-cards > .card { grid-column: auto / span 4; } }
/* a tablet: two cards a row, the third across the row, each small kit cut by its panel's foot under a fade */
@media (min-width: 640px) and (max-width: 1023px) {
  .who-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-cards > .card { grid-column: auto; }
  .who-cards > .card:nth-child(3) { grid-column: 1 / -1; }
  .who-panel { --p-h: 200px; }
}
.who-panel { --p-h: 320px; background: var(--ground-bg); }
@media (min-width: 1280px) { .who-panel { --p-h: clamp(320px, calc(100svh - 470px), 460px); } }
.who-kit { background: #131824; color: #e9edf3; border-radius: 12px; padding: 14px 16px 6px; font: 400 14px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(233 237 243 / .08), 0 22px 50px -24px rgb(4 8 16 / .7); }
.who-kit__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; }
.who-kit__head b { font-weight: 500; }
.who-kit__head small { color: #9aa3b2; font-size: 13px; }
.who-kit__row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgb(233 237 243 / .08); }
.who-kit__row i { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid rgb(233 237 243 / .3); flex: none; }
.who-kit__row:nth-of-type(2) i { background: var(--p-accent); border-color: var(--p-accent); }
@media (max-width: 639px) { .who-panel { --p-h: 330px; } #who { --hm: 2; } }

/* ------------------------------------------------------------------ FAQ in two columns under the head */
.faq-cols { align-content: start; }
@media (min-width: 1024px) { .faq-cols .faq > .faq__item:not(:first-child) { padding-top: 20px; } .faq-cols .faq > .faq__item { padding-bottom: 20px; } }
@media (max-width: 1023px) { .faq-cols .faq > .faq__item { padding-block: var(--s-4); } }
@media (max-width: 639px) { .faq-cols .faq > .faq__item { padding-block: var(--s-3); } }

@media (max-width: 1023px) { .faq-cols > .faq + .faq { margin-top: calc(-1 * var(--s-5)); } }

/* ------------------------------------------------------------------ the nav panel's small pieces */
.menu-card .panel { --p-h: 200px; background: var(--ground-bg); }
.mini { --ax: 24px; --ay: 24px; width: 300px; background: #131824; color: #e9edf3; border-radius: 10px; padding: 12px 14px; font: 400 13px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(233 237 243 / .08); display: grid; gap: 6px; }
.mini__title { font-weight: 500; font-size: 14px; }
.mini__row { display: flex; gap: 6px; }
.mini__chip { padding: 3px 8px; border-radius: 6px; border: 1px solid rgb(233 237 243 / .16); }
.mini__chip.is-on { background: rgb(90 185 252 / .14); border-color: rgb(90 185 252 / .5); }
.mini__line { display: flex; align-items: center; gap: 8px; padding-top: 6px; border-top: 1px solid rgb(233 237 243 / .08); }
.mini__line b { font-weight: 500; }
.mini__line span { color: #9aa3b2; }
.mini__line i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.mini__line i.ok { background: rgb(90 185 252 / .5); }
.mini__line i.wait { border: 1.5px dashed rgb(233 237 243 / .4); }

/* ------------------------------------------------------------------ footer */
.footer__marks { font-size: var(--t-small); color: var(--muted); }

/* ------------------------------------------------------------------ hero window on a phone and the focus ring on the lit frame */
.hero__art { --ink: #1b2430; }
@media (max-width: 639px) {
  .kw__tag, .kw__was { display: none; }
  .kw__row { grid-template-columns: minmax(0, 1fr) 64px; }
  .kw__body { padding: 14px 16px 16px; padding-right: var(--ly-cut-room, 16px); }
}
/* the three pillars sit at the foot of the text column, on the art frame's bottom line */
@media (min-width: 1024px) {
  .hero--collage .hero__text { align-self: stretch; display: flex; flex-direction: column; }
  .hero--collage .hero__text > .hero-facts { margin-top: auto; padding-top: var(--s-6); }
  .hero-facts dd { line-height: 1.4; }
}

/* ------------------------------------------------------------------ FAQ head: the status card beside the heading */
.faq-head { margin-bottom: var(--head-gap); align-items: start; }
.faq-head__text { display: grid; gap: var(--s-4); justify-items: start; }
.faq-head__text h2 { margin: 0; }
.faq-head__text p { margin: 0; font-size: var(--t-lead); line-height: 1.5; }
.ea-card { background: var(--p-surface); color: var(--p-ink); border: 1px solid rgb(233 237 243 / .12); border-radius: 14px; padding: 16px 20px 8px; font: 400 14px/1.4 var(--font-text); }
.ea-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.ea-card__head b { font-weight: 500; font-size: 15px; }
.ea-card .kw-chip { background: rgb(90 185 252 / .14); color: #9fd5ff; }
.ea-card__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgb(233 237 243 / .08); }
.ea-card__row span { color: #9aa3b2; }
.ea-card__row b { font-weight: 500; text-align: right; }
@media (max-width: 1023px) { .faq-head { row-gap: var(--s-5); } }

/* ------------------------------------------------------------------ tablet and phone: blocks that fill a desktop screen take their own height */
@media (max-width: 1023px) {
  #who .who-cards.fill { flex: none; }
  .kb__kit { background: transparent; }
  .kw__row:nth-of-type(5) { display: none; }
}
@media (max-width: 639px) {
  .kw__row:nth-of-type(n+3) { display: none; }
  .kw__head small { display: none; }
}
/* the switching steps beside the agent's lanes on a tablet too, so the section stays one screen */
@media (min-width: 640px) and (max-width: 1023px) {
  #switching .sw-top { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; }
  #switching .sw-top > .sw-steps { align-self: start; }
  #switching .sw-top > .sw-steps { grid-column: 1 / span 5; }
  #switching .sw-top > .sw-map-frame { grid-column: 7 / span 6; height: auto; padding: var(--s-4); }
  .sw-map__list li { grid-template-columns: minmax(0, 1fr) auto; }
  .sw-map__list span { display: none; }
  #switching .sw-steps li { padding: var(--s-3) 0; }
  .closing__links .grid > .footer__col { grid-column: auto / span 4; }
}
/* a tablet's shorter panels show three of each kit's rows, whole */
@media (min-width: 640px) and (max-width: 1023px) {
  .who-kit { --ay: 24px !important; }   /* the cards set 40px inline for the desktop panel */
  .who-kit__row { padding: 8px 0; }
  .who-kit__row:nth-of-type(n+5) { display: none; }
}

/* ------------------------------------------------------------------ phone rhythm: every section exactly one or two screens */
@media (max-width: 639px) {
  #builder, #switching, #switch-example { --hm: 2; }
  /* the example move shows all seven steps on a phone too */
  #switch-example .sw-list li.sw-opt { display: grid; }
}

/* a tablet: the privacy line under the field, so the signup band stays three short lines */
@media (min-width: 640px) and (max-width: 1023px) {
  #builder .kb__save-box { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; grid-template-rows: auto auto auto; }
  #builder .kb__form .field { grid-area: 1 / 2 / 3 / 3; }
  #builder .kb__form .btn-row { grid-area: 1 / 3 / 3 / 4; }
  #builder .kb__privacy { grid-area: 3 / 2 / 4 / 4; }
  #builder .kb-row { padding: 8px 0; row-gap: 6px; }
  #builder .kb__kit { padding: var(--s-4) var(--s-5) var(--s-3); }
}

/* ------------------------------------------------------------------ the agent's map: three more rows where its frame is taller than wide */
@media (min-width: 1024px) { .sw-map__list li.sw-map__more { display: none; } }

/* a phone: the steps on screen 1, the agent's map on screen 2 (the last row is one screen tall) */
@media (max-width: 639px) {
  #switching > .wrap { display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) minmax(calc(100lvh - var(--padt) - var(--padb) - var(--bar)), auto); }
  #switching .sw-top { display: contents; }
  #switching .app-head { grid-area: 1 / 1 / 2 / -1; }
  #switching .sw-steps { grid-area: 2 / 1 / 3 / -1; }
  #switching .sw-map-frame { grid-area: 4 / 1 / 5 / -1; align-self: stretch; }
}

/* ------------------------------------------------------------------ who it's for on a tablet: text beside its panel, three rows in one screen */
@media (min-width: 640px) and (max-width: 1023px) {
  .who-cards { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-5); }
  .who-cards > .card, .who-cards > .card:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); grid-auto-rows: min-content; align-content: start; }
  .who-cards > .card > :not(.panel) { grid-column: 1 / span 5; }
  .who-cards > .card > .panel { grid-column: 7 / span 6; grid-row: 1 / span 3; margin: 0; --p-h: max(200px, calc((100svh - 400px) / 3)); }
}

/* ------------------------------------------------------------------ FAQ on a tablet: the head and the questions in two columns, one screen */
@media (min-width: 640px) and (max-width: 1023px) {
  #faq .faq-head, #faq .faq-cols { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  #faq .faq-head > :first-child, #faq .faq-cols > .faq:first-child { grid-column: 1 / span 6; }
  #faq .faq-head > :last-child, #faq .faq-cols > .faq:last-child { grid-column: 7 / span 6; }
  #faq .faq-cols > .faq + .faq { margin-top: 0; }
  #faq .faq-head__text p { font-size: var(--t-body); }
  #faq .faq-cols .faq > .faq__item { padding-block: var(--s-3); }
  #faq .faq__item > h3 { font-size: 17px; }
}

/* a taller tablet (820 and up): the FAQ takes more air, so it fills its screen like its neighbours */
@media (min-width: 800px) and (max-width: 1023px) {
  #faq .faq-cols .faq > .faq__item { padding-block: var(--s-5); }
  #faq .faq-cols .faq > .faq__item:first-child { padding-top: 0; }
  #faq .faq__item > h3 { font-size: var(--t-lead); }
  #faq .faq-head__text p { font-size: var(--t-lead); }
}

/* ------------------------------------------------------------------ kit builder, second pass: video and 3D focus
   "Start from" (a persona kit) and "Kind of work" (the subcategories in the kit) side by side under what you make;
   "Why this tool" with its sources; the New, Not verified yet and Sponsored tags; the signup's honeypot and the
   developer note shown when the database is not connected. */
.kb__pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3); }
.kb__field { display: grid; gap: var(--s-2); align-content: start; min-width: 0; }
.kb__field > .kb__legend { margin: 0; }
.kb-select { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 44px; padding: 0 34px 0 14px; border-radius: 10px;
  border: 1px solid var(--kb-line-2); background-color: transparent; color: var(--p-ink); font: 500 14px/42px var(--font-text); text-align: left;
  cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%239aa3b2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; transition: background-color .15s, border-color .15s; }
.kb-select:hover { background-color: var(--kb-fill); border-color: rgb(233 237 243 / .28); }
.kb-select:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.kb-select option { background: #131824; color: #e9edf3; }
.kb-select--btn[aria-expanded="true"] { background-color: var(--kb-fill); border-color: rgb(233 237 243 / .4); }
.kb-sub { position: absolute; z-index: 7; top: calc(100% + 6px); left: 0; right: 0; max-width: 560px; background: #1a2131; color: var(--p-ink);
  border: 1px solid var(--kb-line-2); border-radius: 12px; padding: 12px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .8); display: grid; gap: var(--s-3); }
.kb-sub__ask, .kb-sub__title { margin: 0 4px; font-size: 13px; color: var(--u-muted); }
.kb-sub__title { color: var(--p-ink); font-weight: 500; }
.kb-sub__group { display: grid; gap: var(--s-2); }
.kb-sub__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.kb-reason[aria-pressed="true"] { background: color-mix(in oklab, var(--p-ink) 12%, var(--p-surface)); border-color: transparent; color: #9fd5ff; }
.kb-reason[aria-pressed="true"]::before { content: "\2713\00a0"; }

.kb-tag--release { background: rgb(90 185 252 / .16); color: #9fd5ff; }
.kb-tag--check { background: rgb(233 237 243 / .08); color: #d4dae3; }

/* "Why this tool": a text button on the reason line, with a 44px tap area that does not move the line */
.kb-why-btn { position: relative; padding: 0; border: 0; background: none; color: #9fd5ff; font: 500 13px/1.45 var(--font-text); cursor: pointer; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kb-why-btn::after { content: ""; position: absolute; inset: -12px -6px; }
.kb-why-btn:hover, .kb-why-btn[aria-expanded="true"] { color: #cfe9ff; }
.kb-why-btn:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 3px; }
.kb-why { left: 0; right: auto; width: min(460px, 100%); max-height: min(440px, 72vh); overflow: auto; padding: 14px 16px; gap: 10px; outline: none; overscroll-behavior: contain; }
.kb-why:focus-visible { box-shadow: 0 0 0 2px var(--action), 0 24px 60px -20px rgb(0 0 0 / .8); }
.kb-why__title { margin: 0; font: 500 15px/1.35 var(--font-text); }
.kb-why__reason { margin: 0; color: rgb(233 237 243 / .92); line-height: 1.5; }
.kb-why__facts { margin: 0; display: grid; gap: 6px; font-size: 13px; }
.kb-why__facts > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
.kb-why__facts dt { color: var(--u-muted); }
.kb-why__facts dd { margin: 0; color: rgb(233 237 243 / .9); line-height: 1.45; }
.kb-why a { color: #9fd5ff; text-decoration: underline; text-underline-offset: 2px; }
.kb-why__check { margin: 0; font-size: 13px; line-height: 1.45; color: #ffd59a; }
.kb-why__sub { margin: 4px 0 0; font-size: 13px; font-weight: 500; }
.kb-why__sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.kb-why__sources span { color: var(--u-muted); }
.kb-why__sources p { margin: 2px 0 0; color: rgb(233 237 243 / .84); line-height: 1.45; }
.kb-pop__foot { margin: 6px 10px 2px; font-size: 12px; color: var(--u-muted); }

.kb__form { --error: color-mix(in oklab, #d92d20 72%, var(--ink)); }
.kb__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.kb__dev, .doc__dev { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px dashed #ffb98a; color: #ffd9bf; font-size: 13px; line-height: 1.45; }
.kb__dev { grid-column: 1 / -1; }

@media (min-width: 1024px) and (max-width: 1279px) {
  #builder .kb__set--cats { grid-area: 1 / 1 / 2 / 2; }
  #builder .kb__set--budget { grid-area: 1 / 2 / 2 / 3; }
  #builder .kb__pair { grid-area: 2 / 1 / 3 / -1; max-width: 640px; }
  #builder .kb__note { grid-area: 3 / 1 / 4 / -1; }
}
@media (min-width: 640px) and (max-width: 1279px) {
  #builder .kb__dev { grid-area: 5 / 1 / 6 / -1; }
}
@media (max-width: 639px) {
  .kb-row__why { flex-wrap: wrap; white-space: normal; }
  .kb-row__best { overflow: visible; }
  .kb-why { width: 100%; }
}

/* ------------------------------------------------------------------ the privacy note and the no-script signup pages */
.doc { width: min(100% - 2 * var(--gut, 20px), 720px); margin: 0 auto; padding: var(--s-9) 0 var(--s-10); }
.doc h1 { font: var(--display-weight) clamp(36px, 5vw, 56px)/1.05 var(--font-display); letter-spacing: var(--display-tracking); margin: var(--s-6) 0 var(--s-5); }
.doc h2 { font: 500 var(--t-card)/1.3 var(--font-text); margin: var(--s-8) 0 var(--s-3); letter-spacing: 0; }
.doc p, .doc li { line-height: 1.7; max-width: 62ch; }
.doc ul { padding-left: 1.2em; }
.doc .muted { color: var(--p-muted); }
.doc a { color: var(--p-ink); text-decoration: underline; text-underline-offset: 3px; }
.doc .back { display: inline-flex; align-items: center; min-height: 44px; }
.doc__dev { margin-top: var(--s-5); max-width: 62ch; }

/* the date the list prices were checked, under the kit's meta line (the inputs column has no room for it) */
.kb__checked { margin: 2px 0 0; font-size: 12px; color: var(--u-muted); }
@media (min-width: 1280px) { .kb__inputs { gap: var(--s-3); } }
@media (max-width: 639px) { .kb__checked { display: none; } }

/* the hero window's "Example pricing, not final." label: in the window's bar on a phone, where the head has no room */
.kw__bar-note { display: none; margin-left: auto; font-size: 12px; white-space: nowrap; }
@media (max-width: 639px) { .kw__bar-title { display: none; } .kw__bar-note { display: inline; } }
/* a taller tablet: the FAQ answers take a little more air, so the section fills its screen */
@media (min-width: 800px) and (max-width: 1023px) {
  #faq .faq-cols .faq > .faq__item { padding-block: var(--s-6); }
  #faq .faq-cols .faq > .faq__item:first-child { padding-top: 0; }
}

/* a phone: each row shows its tags and "Why this tool" under the name (the one-line reason is in that detail),
   so four rows keep the height they had and the builder stays two screens */
@media (max-width: 639px) {
  .kb-row__why:not(.is-note) .kb-row__best { display: none; }
  .kw__bar-note { margin-left: 0; }
}
/* 640 to 799 (a portrait tablet): the website move's promises a little tighter, so the section is one screen */
@media (min-width: 640px) and (max-width: 799px) {
  #switch-example .sw-promises { gap: var(--s-4); }
  #switch-example .sw-rows li { padding: var(--s-2) 0; }
}

/* ------------------------------------------------------------------ the builder grows with its kit, never squeezes it
   It holds at least its screens, but a short screen (a phone browser with fixed bars, a laptop at 800px), a
   five-tool kit or an open note can need more: then the section grows. A frame sized from the space left over
   (.fill's flex: 1 1 0) would instead squash the rows under the totals and the signup. */
#builder .kb.fill { flex: 1 0 auto; min-height: auto; }
@media (min-width: 1280px) {
  #builder { height: auto; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
  #builder > .wrap { flex: 1 0 auto; height: auto; }
}
@media (max-width: 639px) {
  #builder .kb__main, #builder .kb__kit { flex: 0 0 auto; min-height: auto; }
  #builder .kb__rows { flex: 0 0 auto; min-height: auto; }
}

/* a link inside a sentence (the signup's privacy line, the FAQ) keeps its 44px tap height, with its underline
   under the words instead of at the foot of that taller box */
html :is(.kb__privacy, .faq__item p, .eb-done__actions) .link,
html:not([data-motion="off"]) :is(.kb__privacy, .faq__item p, .eb-done__actions) .link,
html:not([data-motion="off"]) :is(.kb__privacy, .faq__item p, .eb-done__actions) .link:is(:hover, :focus-visible) {
  background-position: 0 calc(50% + 0.75em), 0 calc(50% + 0.75em);
}
/* a desktop screen holds the kit and its signup at their full height: rows, head and totals a little tighter */
@media (min-width: 1280px) {
  .kb-row { padding: 8px 0; }
  .kb__head { padding-bottom: var(--s-2); }
  .kb__total { padding: 10px 0; }
  .kb__inputs { padding-bottom: var(--s-3); gap: 10px; }
  .kb__save-box { padding-block: var(--s-4); }
}

/* ================================================================== benefits: the four reasons beside the month's AI spending */
.bf-top { align-items: stretch; flex: 1 1 auto; }
.bf-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.bf-list li { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bf-list li:first-child { padding-top: 0; }
.bf-list h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.bf-list p { margin: 0; color: var(--ink); line-height: 1.5; }
.bf-frame { padding: var(--s-6); border-radius: var(--r-lg); background: var(--ground-bg); min-width: 0; display: flex; align-items: center; }
.bf-win { width: 100%; }
.bf-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 13px; color: var(--w-muted); }
.bf-total b { font-size: 26px; font-weight: 500; color: var(--w-ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bf-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.bf-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 44px 64px; align-items: center; gap: 12px; padding: 7px 0 7px 14px; border-top: 1px solid var(--w-line); font-size: 13px; }
.bf-rows li > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-rows li > span small { color: var(--w-muted); font-size: 12px; margin-left: 6px; }
.bf-rows s { color: var(--w-muted); text-align: right; font-variant-numeric: tabular-nums; }
.bf-rows em { font-style: normal; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.bf-rows li.bf-rows__group { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 0 8px; font-size: 14px; }
.bf-rows__group b { font-weight: 500; }
.bf-rows__group small { color: var(--w-muted); font-size: 13px; }
.bf-new { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  background: rgb(90 185 252 / .1); border: 1px solid rgb(90 185 252 / .25); }
.bf-new__tag { font-size: 12px; font-weight: 500; color: #0a0d14; background: var(--p-accent); border-radius: 6px; padding: 2px 8px; }
.bf-new b { display: block; font-weight: 500; }
.bf-new small { color: var(--w-muted); font-size: 13px; }
.bf-more { list-style: none; margin: var(--s-5) 0 0; padding: 0; row-gap: var(--s-3); }
.bf-more li { color: var(--ink); line-height: 1.55; }
.bf-more b { font-weight: 500; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .bf-frame { padding: var(--s-5); }
  .bf-rows li > span small { display: none; }
}
/* a tablet: the list beside its view, as the switching steps are */
@media (min-width: 640px) and (max-width: 1023px) {
  #benefits .bf-top { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  #benefits .bf-top > .bf-list { grid-column: 1 / span 5; }
  #benefits .bf-top > .bf-frame { grid-column: 7 / span 6; padding: var(--s-4); }
  #benefits .bf-list li { padding: var(--s-3) 0; }
  .bf-rows li > span small, .bf-new small { display: none; }
  .bf-more { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
  .bf-more > li { grid-column: auto; font-size: var(--t-small); }
}
@media (max-width: 639px) {
  .bf-top { grid-template-rows: auto minmax(0, 1fr); }
  .bf-frame { padding: var(--s-4); }
  .bf-rows li > span small { display: none; }
  .bf-new { grid-template-columns: auto minmax(0, 1fr); }
  .bf-new .sw-act { grid-column: 2; justify-self: start; }
}

/* ================================================================== how it works: three steps, each with its piece of the product */
.how-cards { align-content: start; }
.how-cards > .card { grid-column: 1 / -1; }
@media (min-width: 1024px) { .how-cards > .card { grid-column: auto / span 4; } }
.how-cards h3 { display: flex; align-items: center; gap: var(--s-3); }
.how-cards .step-num { width: 28px; height: 28px; font-size: 14px; flex: none; }
.how-panel { --p-h: 320px; background: var(--ground-bg); }
@media (min-width: 1280px) { .how-panel { --p-h: clamp(320px, calc(100svh - 470px), 460px); } }
.hw { background: #131824; color: #e9edf3; border-radius: 12px; padding: 14px 16px 6px; font: 400 14px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(233 237 243 / .08), 0 22px 50px -24px rgb(4 8 16 / .7); }
.hw__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 10px; }
.hw__head b { font-weight: 500; }
.hw__head small { color: #9aa3b2; font-size: 13px; }
.hw__chips { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.hw__chips span { font-size: 12px; padding: 3px 8px; border-radius: 6px; border: 1px solid rgb(233 237 243 / .16); }
.hw__chips span.is-on { background: rgb(90 185 252 / .14); border-color: rgb(90 185 252 / .5); }
.hw__row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgb(233 237 243 / .08); }
.hw__row > i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgb(233 237 243 / .3); flex: none; }
.hw__row.is-on > i { background: var(--p-accent); border-color: var(--p-accent); }
.hw__row > i.ok { background: rgb(90 185 252 / .5); border-color: transparent; }
.hw__row > i.wait { border-style: dashed; }
.hw__row--budget, .hw__row--tool { justify-content: space-between; }
.hw__row--budget span { color: #9aa3b2; }
.hw__row--budget b, .hw__row--tool b { font-weight: 500; }
.hw__row--tool b { display: block; }
.hw__row--tool small { color: #9aa3b2; font-size: 12px; }
.hw__row--tool em { font-style: normal; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 99px; background: rgb(90 185 252 / .14); color: #9fd5ff; }
.hw__row--tool em.is-swap { background: #ffe7c2; color: #6b3d00; }
@media (max-width: 1023px) { #how .how-cards.fill { flex: none; } }
@media (max-width: 639px) {
  #benefits, #how { --hm: 2; }
  /* two phone screens: the three steps share them, their panels taking the room */
  #how .how-cards.fill { flex: 1 1 auto; align-content: stretch; grid-auto-rows: 1fr; }
}
/* a tablet: each step's words beside its panel, three rows in one screen (as who it's for) */
@media (min-width: 640px) and (max-width: 1023px) {
  .how-cards { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-5); }
  .how-cards > .card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); grid-auto-rows: min-content; align-content: start; }
  .how-cards > .card > :not(.panel) { grid-column: 1 / span 5; }
  .how-cards > .card > .panel { grid-column: 7 / span 6; grid-row: 1 / span 3; margin: 0; --p-h: max(200px, calc((100svh - 400px) / 3)); }
  .hw { --ay: 24px !important; }
  .hw__row { padding: 8px 0; }
  .hw__row--x, .hw__row--tool small { display: none; }
}

/* ================================================================== the other pages (tools, pricing, questions): blocks of their own
   height under the fixed nav, not screens; the same tokens, cards and footer as the landing page */
main.sub > section.sub-block { height: auto; min-height: 0; padding: var(--s-9) 0; }
main.sub > section.sub-block:first-child { padding-top: calc(var(--nav) + var(--s-9)); }
main.sub > section.sub-block > .wrap { height: auto; }
main.sub > section.sub-block.statement { padding-block: var(--s-10); }
main.sub > section.sub-head { padding-bottom: var(--s-7); }
main.sub > section.sub-head + section.sub-block { padding-top: var(--s-7); }
@media (max-width: 639px) {
  main.sub > section.sub-block { padding: var(--s-7) 0; }
  main.sub > section.sub-block:first-child { padding-top: calc(var(--nav) + var(--s-7)); }
}
.sub-head .t-label { color: var(--muted); margin: 0 0 var(--s-4); }
.sub-head h1 { max-width: 18ch; }
.sub-head__lead { font-size: var(--t-lead); line-height: 1.5; margin: var(--s-5) 0 0; max-width: 56ch; color: var(--ink); }
.sub-head__note { font-size: var(--t-small); color: var(--muted); margin: var(--s-4) 0 0; max-width: 90ch; }
.sub-head .link { display: inline-flex; margin-top: var(--s-5); }
.sub-head .grid { align-items: end; }
@media (max-width: 1023px) { .sub-head .ea-card { margin-top: var(--s-6); max-width: 420px; } }
.sub-side { display: grid; gap: var(--s-4); justify-items: start; align-content: start; }
.sub-side h2, .faq-group h2 { margin: 0; font-size: var(--t-h3); line-height: 1.2; }
@media (max-width: 1023px) { .sub-side, .faq-group h2 { margin-bottom: var(--s-5); } }

/* pricing: every starting kit */
.pk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
@media (max-width: 1023px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pk-grid { grid-template-columns: minmax(0, 1fr); } }
.pk { background: var(--p-surface); border: 1px solid rgb(233 237 243 / .08); border-radius: var(--r-lg, 16px); padding: var(--s-5) var(--s-5) var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.pk__cat { margin: 0; font-size: 13px; color: var(--muted); }
.pk h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.pk__rows { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.pk__rows li { display: grid; grid-template-columns: minmax(0, 1fr) 52px 64px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pk__rows b { display: block; font-weight: 500; }
.pk__rows small { color: var(--muted); font-size: 13px; }
.pk__rows s { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.pk__rows em { font-style: normal; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.pk__total { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 13px; color: var(--muted); padding-top: var(--s-2); }
.pk__total b { color: var(--p-ink); font-size: 16px; font-weight: 500; }
.pk__save { color: #8fd0ff; }
.pk-note { margin: var(--s-6) 0 0; color: var(--ink); max-width: 72ch; line-height: 1.6; }

/* questions: one group a block, its title beside its answers */
.faq-group > .wrap { border-top: 1px solid var(--line); padding-top: var(--s-7); }
main.sub > section.faq-group { padding-block: 0 var(--s-7); }

/* tools: the search, the kinds of work, and every tool as a card */
.td { --kb-line: rgb(233 237 243 / .09); --kb-line-2: rgb(233 237 243 / .16); --kb-fill: rgb(233 237 243 / .05); }
.td__bar { display: grid; gap: var(--s-5); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .td__bar { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: end; column-gap: var(--s-7); } }
.td__search input { width: 100%; }
.td__kinds { border: 0; margin: 0; padding: 0; min-width: 0; }
.td__kinds legend { font-size: var(--t-small); font-weight: 500; padding: 0; margin-bottom: var(--s-2); }
.td__count { margin: var(--s-5) 0 0; color: var(--muted); font-size: var(--t-small); }
.td__group { margin-top: var(--s-8); }
.td__group h2 { font-size: var(--t-h3); line-height: 1.2; margin: 0 0 var(--s-5); }
.td__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
@media (max-width: 1023px) { .td__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .td__grid { grid-template-columns: minmax(0, 1fr); } }
.td-card { background: var(--p-surface); border: 1px solid rgb(233 237 243 / .08); border-radius: var(--r-lg, 16px); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.td-card__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 24px; }
.td-card__sub { font-size: 13px; color: var(--muted); margin-right: auto; }
.td-tag { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--kb-line-2); color: var(--p-ink); white-space: nowrap; }
.td-tag--new { background: rgb(90 185 252 / .14); border-color: rgb(90 185 252 / .4); color: #9fd5ff; }
.td-tag--sp { background: #ffe7c2; color: #6b3d00; border-color: transparent; }
.td-card h3 { margin: var(--s-1) 0 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.td-card__by { margin: 0; font-size: 13px; color: var(--muted); }
.td-card__best { margin: var(--s-2) 0 0; font-weight: 500; line-height: 1.45; }
.td-card__why { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.55; }
.td-card__price { margin: auto 0 0; padding-top: var(--s-3); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); border-top: 1px solid var(--line); }
.td-card__price div { display: grid; gap: 2px; }
.td-card__price dt { font-size: 12px; color: var(--muted); }
.td-card__price dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.td-card__links { margin: 0; display: flex; gap: var(--s-5); font-size: 14px; }
.td-card__links a { display: inline-flex; align-items: center; min-height: 44px; }
.td__empty { margin-top: var(--s-8); display: grid; gap: var(--s-4); justify-items: start; }
.td__empty p { margin: 0; font-size: var(--t-lead); }
/* an anchor on these pages (/faq#switching, /pricing#cheaper) lands under the fixed nav, not behind it */
main.sub > section.faq-group[id] { scroll-margin-top: var(--nav); }

/* ================================================================== early access: the signup forms, the confirmation and the sticky bar
   (components/EarlyBird.tsx). One field and one button; the status line only takes room once it has something to say. */
.eb-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-3); align-items: center;
  --error: color-mix(in oklab, #d92d20 72%, var(--ink)); }
.eb-form .field { margin: 0; min-width: 0; }
.eb-form .btn-row { margin: 0; }
.eb-form .form__status { grid-column: 1 / -1; margin: 0; font-size: var(--t-small); }
.eb-form .form__status:empty { display: none; }
.eb-form .kb__dev { grid-column: 1 / -1; }
/* the hero's and the bar's field and button on one line: the field's label, input and error join the form's grid,
   so the button stays level with the input when an error shows under it */
:is(.eb--hero, .eb--bar) .eb-form__email { display: contents; }
:is(.eb--hero, .eb--bar) .eb-form__email > label { grid-area: 1 / 1; }
:is(.eb--hero, .eb--bar) .eb-form__email > input { grid-area: 2 / 1; }
:is(.eb--hero, .eb--bar) .eb-form__email > .field__error { grid-area: 3 / 1 / 4 / -1; }
:is(.eb--hero, .eb--bar) .eb-form__go { grid-area: 2 / 2; }
.eb--hero { margin-top: var(--s-6); max-width: 520px; }
.hero__more { white-space: nowrap; min-height: 44px; font-size: inherit; }
.hero__text:has(.eb-done) .hero__more { display: none; }
.eb--hero + .hero__proof { margin-top: var(--s-3); }
@media (max-width: 639px) {
  .hero__more { display: none; }
  .eb--hero { margin-top: var(--s-5); }
  .eb--hero + .hero__proof { margin-top: var(--s-2); }
  .eb--hero .eb-form { grid-template-columns: minmax(0, 1fr); }
  .eb--hero .eb-form__go { grid-area: 4 / 1; }
  .eb--hero .eb-form .btn { width: 100%; }
}

/* the confirmation: the place on the list first, then what to do next */
.eb-done { display: grid; gap: var(--s-2); justify-items: start; }
.eb-done__title { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; color: var(--ink); }
.eb-done__text { margin: 0; color: var(--muted); line-height: 1.5; }
.eb-done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-2); }
.eb-done__invite { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; min-height: 44px; }
.eb-done__copied { margin: 0; font-size: var(--t-small); color: var(--muted); }
.eb-done__copied:empty { display: none; }
.eb-done--compact { gap: var(--s-1); }
.eb-done--compact .eb-done__title { font-size: var(--t-body); }
.eb-done--compact .eb-done__actions { margin-top: 0; }
.eb-done--compact .btn { height: 40px; }

/* the builder's signup band: the confirmation takes the field's and the button's place */
.kb__form > .eb-done { grid-column: 1 / -1; }
@media (min-width: 640px) and (max-width: 1279px) {
  #builder .kb__form > .eb-done { grid-area: 1 / 2 / 4 / 4; align-self: center; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #builder .kb__form > .eb-done { grid-area: 1 / 2 / 3 / 4; }
}

/* the sticky bar: on the page's surface, below the screen's edge until EarlyBirdBar brings it up (data-bar="shown") */
.eb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--p-surface); color: var(--p-ink);
  border-top: 1px solid rgb(233 237 243 / .14); padding: var(--s-3) 0 calc(var(--s-3) + env(safe-area-inset-bottom));
  transition: transform 240ms var(--ease), visibility 0s; }
.eb-bar[data-bar="hidden"] { transform: translateY(100%); visibility: hidden; transition: transform 240ms var(--ease), visibility 0s 240ms; }
:root:has(.nav.is-open) .eb-bar { visibility: hidden; }
:root:has(.eb-bar[data-bar="shown"]) { scroll-padding-bottom: 128px; }
@media (prefers-reduced-motion: reduce) { .eb-bar, .eb-bar[data-bar="hidden"] { transition: none; } }
.eb-bar__in { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--s-2) var(--s-5); }
.eb-bar__text { margin: 0; display: grid; gap: 2px; min-width: 0; }
.eb-bar__text b { font-weight: 500; font-size: var(--t-body); line-height: 1.35; }
.eb-bar__text > span { font-size: 13px; color: #b4bcc8; }
.eb-bar__text .ea-dot { width: 7px; height: 7px; margin-right: 8px; }
.eb-bar__open { display: none; }
.eb-bar__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent;
  background: none; color: #b4bcc8; cursor: pointer; }
.eb-bar__close:hover { color: var(--p-ink); border-color: rgb(233 237 243 / .2); }
.eb-bar__close:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
/* the bar on a desktop: the label beside its input, then the button */
.eb--bar .eb-form { grid-template-columns: auto minmax(200px, 300px) auto; }
.eb--bar .eb-form__email > input { grid-area: 1 / 2; }
.eb--bar .eb-form__go { grid-area: 1 / 3; }
.eb--bar .eb-form__email > .field__error { grid-area: 2 / 1 / 3 / -1; }
.eb--bar .eb-done { grid-auto-flow: column; align-items: center; column-gap: var(--s-5); }
@media (max-width: 1023px) {
  .eb-bar__text b { font-size: 15px; }
  .eb--bar .eb-form { grid-template-columns: auto minmax(160px, 220px) auto; }
}
/* a phone: one line, Join and close; Join opens the form inside the bar */
@media (max-width: 767px) {
  .eb-bar { padding-block: var(--s-2) calc(var(--s-2) + env(safe-area-inset-bottom)); }
  .eb-bar__in { gap: var(--s-2) var(--s-3); }
  .eb-bar__text b { font-size: 14px; }
  .eb-bar__long { display: none; }
  .eb-bar__open { display: inline-flex; padding-inline: var(--s-4); }
  .eb-bar__form { display: none; grid-column: 1 / -1; padding-bottom: var(--s-1); }
  .eb-bar[data-open] .eb-bar__form { display: block; }
  .eb-bar[data-open] .eb-bar__open { display: none; }
  .eb-bar[data-open] .eb-bar__in { grid-template-columns: minmax(0, 1fr) auto; }
  .eb-bar[data-open] .eb-bar__close { grid-area: 1 / 2; }
  .eb-bar[data-open] .eb-bar__form { grid-area: 2 / 1 / 3 / -1; }
  .eb--bar .eb-form { grid-template-columns: minmax(0, 1fr) auto; }
  .eb--bar .eb-form__email > label { grid-area: 1 / 1 / 2 / -1; }
  .eb--bar .eb-form__email > input { grid-area: 2 / 1; }
  .eb--bar .eb-form__go { grid-area: 2 / 2; }
  .eb--bar .eb-form__email > .field__error { grid-area: 3 / 1 / 4 / -1; }
  .eb--bar .eb-done { grid-auto-flow: row; }
}

/* ================================================================== #early-bird: the five commitments on the pass early birds get */
.eb-top { align-items: stretch; flex: 1 1 auto; }
.eb-intro { display: grid; align-content: start; justify-items: start; gap: var(--s-5); }
.eb-intro h2 { margin: 0; }
.eb-intro__lead { margin: 0; font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; color: var(--ink); }
.eb-intro .btn-row { margin-top: var(--s-3); }
.eb-frame { padding: var(--s-6); border-radius: var(--r-lg); background: var(--ground-bg); min-width: 0; display: flex; align-items: center; justify-content: center; }
.eb-pass { width: 100%; max-width: 540px; background: var(--p-surface); color: var(--p-ink); border: 1px solid rgb(233 237 243 / .12); border-radius: 18px;
  padding: 24px 28px; display: grid; gap: 16px; font: 400 15px/1.45 var(--font-text); box-shadow: 0 24px 60px -32px rgb(10 13 20 / .6); }
.eb-pass__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eb-pass__brand { display: inline-flex; align-items: center; gap: 8px; font: var(--display-weight) 18px/1 var(--font-display); letter-spacing: -0.02em; }
.eb-pass .kw-chip { background: rgb(90 185 252 / .14); color: #9fd5ff; }
.eb-pass__price { display: grid; gap: 6px; padding: 16px 0; border-block: 1px solid rgb(233 237 243 / .1); }
.eb-pass__label { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #b4bcc8; }
.eb-pass__planned { font-size: 12px; line-height: 1; padding: 4px 8px; border: 1px solid rgb(233 237 243 / .22); border-radius: 99px; color: #d5dbe4; }
.eb-pass__num { margin: 0; font-size: 15px; color: #c9d1dc; }
.eb-pass__num b { font: var(--display-weight) clamp(44px, 4.2vw, 60px)/1 var(--font-display); letter-spacing: var(--display-tracking); color: var(--p-ink); margin-right: 6px; }
.eb-pass__terms { margin: 0; font-size: 14px; color: #c9d1dc; }
.eb-pass__free, .eb-pass__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; margin: 0; font-size: 14px; line-height: 1.45; color: #c9d1dc; }
.eb-pass__free b, .eb-pass__list b { color: var(--p-ink); font-weight: 500; }
.eb-pass__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eb-pass i.ok { position: relative; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgb(90 185 252 / .18); }
.eb-pass i.ok::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #9fd5ff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.eb-pass__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 16px;
  border-top: 1px solid rgb(233 237 243 / .1); }
.eb-pass__foot p { margin: 0; font-size: 13px; color: #b4bcc8; }
.eb-pass__foot .ea-dot { width: 7px; height: 7px; margin-right: 8px; }
/* a short laptop screen (1024x768 and the like): the pass a little tighter, so it sits inside one screen */
@media (min-width: 1024px) and (max-height: 860px) {
  .eb-frame { padding: var(--s-4); }
  .eb-pass { padding: 18px 24px; gap: 12px; }
  .eb-pass__price { padding: 12px 0; }
  .eb-pass__list { gap: 8px; }
  .eb-pass__foot { padding-top: 12px; }
}
/* narrower and short (1024 to 1279 wide, under 860 tall): each perk's title only; /early-access has the rest */
@media (min-width: 1024px) and (max-width: 1279px) and (max-height: 860px) {
  .eb-pass__more { display: none; }
}
@media (max-width: 1023px) {
  .eb-top { row-gap: var(--s-6); }
  .eb-frame { padding: var(--s-5); }
}
@media (max-width: 639px) {
  #early-bird { --hm: 2; }
  .eb-intro { gap: var(--s-4); }
  .eb-frame { padding: var(--s-3); }
  .eb-pass { padding: 18px 18px; gap: 14px; }
  .eb-pass__num b { font-size: 34px; }
  .eb-pass__foot .btn { width: 100%; }
}

/* ================================================================== /early-access */
.ea-head .grid { align-items: start; }
.ea-join { background: var(--p-surface); border: 1px solid rgb(233 237 243 / .12); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-4); }
.ea-join__title { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.eb--page .eb-form { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.eb--page .eb-form .btn { width: 100%; }
.ea-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.ea-perk { display: grid; align-content: start; gap: var(--s-3); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ea-perk .step-num { width: 28px; height: 28px; font-size: 14px; }
.ea-perk h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.ea-perk p { margin: 0; color: var(--muted); line-height: 1.55; }
.ea-note { margin: var(--s-6) 0 0; max-width: 78ch; font-size: var(--t-small); line-height: 1.6; color: var(--muted); }
.ea-note .kw-chip { background: rgb(90 185 252 / .14); color: #9fd5ff; margin-right: 6px; vertical-align: 1px; }
.ea-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.ea-steps li { display: grid; gap: var(--s-2); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.ea-steps li:first-child { padding-top: 0; }
.ea-steps li:last-child { border-bottom: 0; }
.ea-steps h3 { margin: 0; display: flex; align-items: center; gap: var(--s-3); font: 500 var(--t-card)/1.3 var(--font-text); }
.ea-steps .step-num { width: 28px; height: 28px; font-size: 14px; }
.ea-steps p { margin: 0; max-width: 60ch; line-height: 1.6; }
@media (max-width: 1279px) { .ea-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .ea-head .grid > [id="join"] { margin-top: var(--s-6); } }
@media (max-width: 767px) { .ea-perks { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .ea-join { padding: var(--s-5); } }
