/* Awaya for developers — mockup. Inherits Awaya's tokens (tokens.css) and the home page's world. */

:root {
  --paper: #faf9fd;
  --surface: #ffffff;
  --ink: #292530;
  --plum: #40364e;
  --plum-deep: #332a3f;
  --muted: #68616f;
  --line: #e4deea;
  --soft: #eee9f6;
  --wash: #f3effa;
  --wing: #b3a4d2;
  --periwinkle: #777fb7;
  --night: #150c2c;
  --seam: #261a4a;
  --flap-ink: #f3effa;
  --night-text: #c9bfe3;
  --night-line: rgba(179, 164, 210, 0.16);
  --amber: #ffcf70;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-pill: 999px;
  --gutter: 40px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: #b9b0c8 var(--paper); }
body.dev {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 Manrope, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--plum);
}
.dev *, .dev *::before, .dev *::after { box-sizing: border-box; }
.dev ::selection { background: #e2daf2; color: var(--ink); }
.dev .night ::selection, .dev .board ::selection { background: var(--amber); color: var(--night); }
:where(.dev) a { color: var(--plum); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dev :focus-visible { outline: 3px solid var(--plum); outline-offset: 4px; border-radius: 6px; }
.dev .night :focus-visible, .dev .board :focus-visible { outline-color: var(--amber); }
:where(.dev) :where(h1, h2, h3) { margin: 0; font-weight: 650; text-wrap: balance; }
:where(.dev) p { margin: 0; }
:where(.dev) code { font-family: var(--mono); font-size: 0.88em; }
:where(.dev) img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--plum); color: #fff !important; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius-pill);
  font: 650 15px/1.3 Manrope, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.btn .arrow { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--plum); color: #fff !important; }
.btn-primary:hover { background: var(--plum-deep); box-shadow: 0 10px 22px -10px rgba(64, 54, 78, 0.55); }
.btn-secondary { border-color: #cfc7e2; background: transparent; color: var(--plum); }
.btn-secondary:hover { background: var(--soft); border-color: #bfb3da; }
.btn-small { min-height: 42px; padding: 9px 18px; font-size: 14px; }

/* Placeholders: anything to replace before launch */
.ph { border-bottom: 1.5px dashed #c49a3a; color: inherit; cursor: help; }
.ph--night { border-bottom-color: rgba(255, 207, 112, 0.75); }
.ph-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border: 1.5px dashed #c9bfdc; border-radius: var(--radius-pill); color: var(--muted); font-size: 14px; }
.ph-small { font-size: 12.5px; font-weight: 600; color: #8a6a1f; }

/* Header */
.dev-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.dev-header.is-scrolled { border-bottom-color: var(--line); }
.dev-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 105px; height: auto; }
.brand-suffix { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.dev-nav { display: flex; align-items: center; gap: 28px; }
.dev-nav a { padding: 10px 0; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.dev-nav a:hover { color: var(--plum); text-decoration: underline; }
.dev-nav a[aria-current="page"] { color: var(--plum); font-weight: 650; }
.dev-nav-out { display: inline-flex; align-items: center; gap: 4px; color: var(--muted) !important; }
.dev-nav-out svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* §1 Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "copy board" "works board"; column-gap: 56px; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-grid > .board { grid-area: board; align-self: center; }
.hero-works { grid-area: works; align-self: start; }
.hero h1 { font-size: clamp(40px, 4.45vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
.hero-lede { margin-top: 26px; max-width: 32em; color: var(--muted); font-size: 18.5px; line-height: 1.6; letter-spacing: -0.005em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-fine { margin-top: 16px; color: var(--muted); font-size: 14px; }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.works .works-label { color: var(--muted); font-weight: 500; }

/* The board */
.board {
  position: relative; margin: 0; padding: 22px 22px 18px;
  border-radius: 26px;
  background: linear-gradient(168deg, #1c1038 0%, var(--night) 48%, var(--seam) 100%);
  color: var(--flap-ink);
  box-shadow: 0 46px 80px -42px rgba(21, 12, 44, 0.7), 0 3px 8px rgba(21, 12, 44, 0.18);
}
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.board-title { color: var(--wing); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.board-clock { display: inline-flex; align-items: center; gap: 8px; }
.board-zone { color: var(--wing); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.board-query { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 6px; padding: 14px 16px; border-radius: 14px; background: rgba(243, 239, 250, 0.06); font-size: 15px; line-height: 1.45; }
.board-query svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--wing); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.board-table { width: 100%; border-collapse: collapse; }
.board-table th { padding: 14px 10px 10px; border-bottom: 1px solid var(--night-line); color: #9d91c2; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-align: left; text-transform: uppercase; }
.board-table td { padding: 13px 10px; border-bottom: 1px solid rgba(179, 164, 210, 0.1); vertical-align: top; }
.board-table tr > :first-child { padding-left: 4px; }
.board-table tr > :last-child { padding-right: 4px; text-align: right; }
.board-table .t-time { color: #a99dcc; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-tool code { display: block; color: var(--flap-ink); font-size: 13px; font-weight: 500; }
.t-tool span, .t-detail { display: block; margin-top: 5px; color: #b8acd8; font-size: 12.5px; line-height: 1.4; }
.board-row { transition: opacity 360ms var(--ease-out); }
.board-row.is-waiting { opacity: 0.32; }
.board-row--verdict { background: linear-gradient(90deg, rgba(255, 207, 112, 0.11), rgba(255, 207, 112, 0.03) 70%, rgba(255, 207, 112, 0.06)); clip-path: inset(0 round 12px); }
.board-row--verdict td { border-bottom: 0; }
.board-row--verdict code { color: var(--amber); }
.board-answer { margin-top: 18px; padding: 0 4px; color: var(--flap-ink); font-size: 17.5px; line-height: 1.5; letter-spacing: -0.01em; }
.board-answer.is-arriving { animation: answer-in 520ms var(--ease-out) both; }
@keyframes answer-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.board-answer strong { color: var(--amber); font-weight: 700; }
.board-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 14px 4px 0; border-top: 1px solid var(--night-line); color: #b8acd8; font-size: 12.5px; }
.board-ask { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.board-ask-label { margin-right: 2px; color: #b8acd8; font-size: 12.5px; }
.ask-chip { min-height: 34px; padding: 6px 14px; border: 1px solid rgba(179, 164, 210, 0.38); border-radius: var(--radius-pill); background: transparent; color: var(--flap-ink); font: 650 13px Manrope, sans-serif; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.ask-chip:hover { border-color: var(--wing); background: rgba(243, 239, 250, 0.06); }
.ask-chip[aria-pressed="true"] { background: var(--flap-ink); border-color: var(--flap-ink); color: var(--night); }

/* Split-flap cells */
.flap { display: inline-flex; gap: 2px; vertical-align: middle; }
.flap .c {
  position: relative; display: inline-grid; place-items: center;
  width: 0.76em; height: 1.4em; border-radius: 3px;
  background: linear-gradient(180deg, #30245a 0%, #261b4b 49%, #0b061a 49%, #0b061a 52%, #21173f 52%, #1b1238 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 0 rgba(0, 0, 0, 0.35);
  color: var(--flap-ink); font: 700 15px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums;
}
.flap .c.tick { animation: flap-tick 110ms var(--ease-out); }
.flap .c.n { width: 0.44em; }
.flap .c.i { width: 0.56em; overflow: hidden; }
.flap .c.w { width: 0.92em; }
.flap .c.sp { width: 0.38em; background: none; box-shadow: none; }
.flap--status .c { font-size: 12.5px; }
.flap--small .c { font-size: 12px; }
.flap--amber .c { color: var(--amber); }
.flap--tt .c { font-size: 13.5px; }
.flap--later .c { color: #9d91c2; }
.flap:not(.is-split) { padding: 3px 7px; border-radius: 4px; background: #241a48; font: 700 14px/1.2 Manrope, sans-serif; letter-spacing: 0.08em; }
@keyframes flap-tick { 0% { transform: scaleY(0.55); filter: brightness(1.6); } 100% { transform: none; filter: none; } }

/* §2 Proof: our own agent runs on it ("Behind the reply"). The home page's iPhone (landing/phone.css) answers a traveller, and the calls behind the answer light up in a trace beside it. */
.proof-sec { --proof-ease: cubic-bezier(0.22, 1, 0.36, 1); padding: 104px 0 24px; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.proof-copy h2 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.06; letter-spacing: -0.037em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 36px 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(2) { padding-right: 24px; }
.facts > div:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--line); }
.facts > .facts-wide { grid-column: 1 / -1; }
.facts dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.facts dt .flap--status .c { font-size: 11px; }
.facts dd { margin: 6px 0 0; font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.pilots { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.pilots-label { color: var(--muted); font-size: 14px; }

/* The program marks are the questions: choosing one plays that program's conversation */
.progs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.prog { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); cursor: pointer; transition: border-color 300ms var(--proof-ease), box-shadow 300ms var(--proof-ease); }
.prog img, .trace-mark { display: block; width: auto; max-width: none; mix-blend-mode: multiply; }
.prog img { height: var(--h); }
.prog:hover { border-color: #cfc5e2; }
.prog[aria-pressed="true"] { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }

/* The stage: the trace on the left, the phone on the right, a dotted wire between them */
.proof-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 316px; column-gap: 56px; align-items: end; margin: 0; }
.proof-stage > figcaption { grid-column: 1 / -1; margin-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: right; }
.proof-wire { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wire { fill: none; stroke: #a99dcc; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0 6.5; }
.wire-comet { fill: none; stroke: var(--plum); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 12 100; stroke-dashoffset: 12; opacity: 0; }
.wire-end { fill: var(--surface); stroke: var(--wing); stroke-width: 1.8; }

.proof-stage .ims { --ims-scale: 0.7413; position: relative; z-index: 1; grid-column: 2; grid-row: 1; gap: 14px; }
.proof-stage .ims-phone { width: 316px; }
.proof-thread { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 164px 18px 118px; }
.proof-thread .ims-stamp { margin-bottom: 0; }
.proof-thread .proof-today { margin-top: 22px; }
.proof-msg { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--proof-ease), transform 1000ms var(--proof-ease); }
.proof-msg.is-in { opacity: 1; transform: none; }
.proof-slot { position: relative; }
.proof-slot [data-reply]::before, .proof-slot [data-reply]::after { transition: opacity 500ms ease; }
.proof-slot:has(+ .is-in) [data-reply]::before, .proof-slot:has(+ .is-in) [data-reply]::after { opacity: 0; }
.proof-thread [data-seen] { margin-top: 3px; }
.proof-typing { position: absolute; left: 0; top: 10px; display: flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; border-radius: 20px; background: #e9e9eb; opacity: 0; transform: scale(0.82); transform-origin: 0 100%; transition: opacity 500ms var(--proof-ease), transform 700ms var(--proof-ease); }
.proof-typing::before, .proof-typing::after { content: ""; position: absolute; border-radius: 50%; background: #e9e9eb; }
.proof-typing::before { left: -1px; bottom: -1px; width: 14px; height: 14px; }
.proof-typing::after { left: -6px; bottom: -6px; width: 7px; height: 7px; }
.proof-typing i { width: 9px; height: 9px; border-radius: 50%; background: #8e8e93; animation: ims-dot 1.2s ease-in-out infinite; }
.proof-typing i:nth-child(2) { animation-delay: 0.18s; }
.proof-typing i:nth-child(3) { animation-delay: 0.36s; }
.proof-typing.is-on { opacity: 1; transform: none; }

.trace { position: relative; z-index: 1; grid-column: 1; grid-row: 1; align-self: end; max-width: 312px; margin: 0 0 104px auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); font-variant-numeric: tabular-nums; }
.trace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); border-radius: 20px 20px 0 0; background: #fcfbfe; font-size: 13px; font-weight: 650; }
.trace-ms { color: var(--muted); font-weight: 500; }
.trace-rows { margin: 0; padding: 0; list-style: none; }
.trace-row { padding: 13px 18px 14px; border-bottom: 1px solid var(--line); opacity: 0.34; transition: opacity 700ms var(--proof-ease); }
.trace-row.is-lit { opacity: 1; }
.trace-top, .trace-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.trace-bottom { min-height: 26px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.tool { padding: 3px 9px; border-radius: 7px; background: var(--wash); color: var(--plum); font: 600 12.5px/1.4 var(--mono); }
.trace-val { color: var(--ink); font-size: 15px; font-weight: 650; letter-spacing: -0.01em; opacity: 0; transform: translateY(5px); transition: opacity 700ms var(--proof-ease), transform 800ms var(--proof-ease); }
.trace-row.is-done .trace-val { opacity: 1; transform: none; }
.trace-row--verdict { border-bottom: 0; }
.trace-row--verdict.is-done { background: linear-gradient(90deg, #fff3d6, rgba(255, 243, 214, 0.35)); }
.trace .trace-val.sum-verdict { margin-left: 0; color: var(--amber); }
.trace-foot { padding: 11px 18px 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

/* Sections */
.section { padding: 128px 0; }
.section h2, .night h2, .close h2 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.06; letter-spacing: -0.037em; }
.section-lede { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: 18px; line-height: 1.6; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.section-head .section-lede { margin-top: 0; justify-self: end; max-width: 30em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 650; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translateX(3px); }

/* §3 Points against cash: the rail. Every trip sits on one line of what a point is worth; the chosen one gets an amber marker and a reading that glides along under it. */
.points { --rail-ease: cubic-bezier(0.22, 1, 0.36, 1); padding-top: 112px; }
.sum-verdict { display: inline-block; margin-left: 12px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--night); color: var(--amber); font-size: 13px; font-weight: 750; vertical-align: middle; }
.rail { --pins-h: 238px; padding: 24px 44px 30px; border-radius: 30px; background: linear-gradient(168deg, #1c1038 0%, var(--night) 46%, var(--seam) 100%); color: var(--flap-ink); font-variant-numeric: tabular-nums; box-shadow: 0 46px 80px -42px rgba(21, 12, 44, 0.7), 0 3px 8px rgba(21, 12, 44, 0.18); }
.dev .rail ::selection { background: var(--amber); color: var(--night); }
.dev .rail :focus-visible { outline-color: var(--amber); }
.rail-plate { margin-bottom: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--night-line); color: var(--wing); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.rail-field { position: relative; }
.rail-pins { position: relative; height: var(--pins-h); }
.rail-pin { position: absolute; bottom: 0; left: var(--x); display: grid; justify-items: center; padding: 0; border: 0; background: none; color: var(--flap-ink); font: inherit; cursor: pointer; transform: translateX(-50%); transition: opacity 800ms var(--rail-ease), transform 1000ms var(--rail-ease); transition-delay: calc(var(--d) * 160ms + 450ms); }
.rail-pin:focus-visible { outline: none; }
.rail-pin:focus-visible .rail-photo { outline: 3px solid var(--amber); outline-offset: 5px; }
.rail-label { margin-bottom: 8px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; transition: background-color 450ms ease, color 450ms ease; }
.rail-photo { display: block; width: 98px; height: 72px; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 2px rgba(243, 239, 250, 0.85), 0 18px 30px -14px rgba(0, 0, 0, 0.6); transition: box-shadow 500ms var(--rail-ease), transform 700ms var(--rail-ease); }
.rail-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rail-chip { position: relative; z-index: 1; display: inline-grid; place-items: center; height: 20px; margin-top: -9px; padding: 0 7px; border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.rail-chip img, .rr-mark img { display: block; width: auto; max-width: none; height: var(--h); mix-blend-mode: multiply; }
.rail-stem { width: 2px; height: var(--stem); margin-top: 10px; border-radius: 2px; background: rgba(179, 164, 210, 0.5); transition: background-color 500ms ease; }
.rail-pin:hover .rail-photo { transform: translateY(-3px); }
.rail-pin[aria-pressed="true"] .rail-label { background: var(--amber); color: var(--night); }
.rail-pin[aria-pressed="true"] .rail-photo { box-shadow: 0 0 0 2px var(--night), 0 0 0 5px var(--amber), 0 22px 34px -14px rgba(0, 0, 0, 0.65); transform: translateY(-4px) scale(1.07); }
.rail-pin[aria-pressed="true"] .rail-stem { background: var(--amber); }
.rail-track { position: relative; height: 52px; }
.rail-bar { position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: var(--radius-pill); background: linear-gradient(90deg, #2c2158 0%, #5a4a8c 45%, #c9bee2 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); transform-origin: left; transition: transform 1400ms var(--rail-ease); }
.rail-ticks { position: absolute; left: 0; right: 0; top: 17px; margin: 0; padding: 0; list-style: none; }
.rail-ticks li { position: absolute; top: 0; left: var(--x); width: 1px; height: 6px; background: rgba(179, 164, 210, 0.42); transition: opacity 600ms ease 700ms; }
.rail-ticks li.is-major { height: 11px; background: var(--wing); }
.rail-ticks span { position: absolute; top: 15px; left: 50%; color: var(--wing); font-size: 12px; font-weight: 650; white-space: nowrap; transform: translateX(-50%); }
.rail-marker { position: absolute; left: calc(var(--pos) - 9px); top: -4px; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--night); transition: transform 1100ms var(--rail-ease), opacity 600ms ease 900ms; }
.rail-ends { display: flex; justify-content: space-between; margin-top: 6px; color: #b8acd8; font-size: 12.5px; font-weight: 650; }

/* The reading under the chosen trip. Without the script it sits under Tokyo; with it, it glides by transform. */
.rail-call { position: relative; left: clamp(0px, calc(var(--pos) - 240px), calc(100% - 480px)); width: 480px; height: 150px; margin-top: 22px; transition: transform 1100ms var(--rail-ease), opacity 700ms ease 1100ms; }
.rail-caret { position: absolute; left: 50%; top: -7px; width: 16px; height: 16px; margin-left: -8px; border-radius: 3px; background: var(--surface); transform: rotate(45deg); transition: transform 1100ms var(--rail-ease); }
.rail-reads { position: relative; z-index: 1; height: 100%; overflow: hidden; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -14px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.2); }
.rail-read { position: absolute; inset: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px 16px 16px; opacity: 0; visibility: hidden; transition: opacity 380ms ease, visibility 0s linear 380ms; }
.rail-read.is-on { opacity: 1; visibility: visible; transition: opacity 700ms ease 250ms; }
.rr-photo { display: block; width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.rr-info { display: grid; gap: 5px; min-width: 0; }
.rr-place { display: flex; align-items: center; gap: 10px; }
.rr-place b { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.rr-mark { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px rgba(64, 54, 78, 0.1); }
.rr-leg { color: var(--muted); font-size: 12.5px; }
.rr-sum { color: #514959; font-size: 13.5px; line-height: 1.45; }
.rr-sum b { color: var(--ink); font-weight: 650; }
.rr-ans { display: grid; justify-items: end; gap: 4px; }
.rr-cents { font-size: 46px; font-weight: 700; line-height: 0.95; letter-spacing: -0.045em; }
.rr-cents small { font-size: 0.6em; letter-spacing: -0.02em; }
.rr-per { color: var(--muted); font-size: 12px; font-weight: 600; }
.rr-verdict { display: inline-flex; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--amber); color: var(--night); font-size: 13px; font-weight: 750; white-space: nowrap; }

/* With the script: hold the rail back until it is in view, then let the marker and the reading move by transform. */
.rail.is-ready .rail-marker { left: -9px; }
.rail.is-ready .rail-call { left: 0; }
.rail.is-ready .rail-caret { left: 0; }
.rail.is-ready:not(.is-in) .rail-pin { opacity: 0; transform: translate(-50%, 18px); }
.rail.is-ready:not(.is-in) .rail-bar { transform: scaleX(0); }
.rail.is-ready:not(.is-in) .rail-ticks li, .rail.is-ready:not(.is-in) .rail-marker, .rail.is-ready:not(.is-in) .rail-call { opacity: 0; }

.rail-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; }
.rail-foot .text-link { margin: 0; }
.resp summary { display: inline-flex; align-items: center; gap: 10px; color: var(--plum); font-size: 14px; font-weight: 650; list-style: none; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.resp summary::-webkit-details-marker { display: none; }
.resp summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 300ms var(--rail-ease), margin 300ms var(--rail-ease); }
.resp[open] { flex-basis: 100%; }
.resp[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.resp .json { margin-top: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fcfbfe; font-size: 13px; }

.json { margin: 0; padding: 22px 24px 24px; overflow-x: auto; color: var(--ink); font: 400 13.5px/1.85 var(--mono); tab-size: 2; }
.json code { font-size: inherit; }
.json .k { color: #5b4e86; }
.json .s { color: var(--ink); }
.json .n { color: var(--plum); font-weight: 700; }
.json .p { color: #9a93a3; }
.json .line { position: relative; display: inline-block; }
.json .line--hl { margin: 0 -10px; padding: 2px 10px; border-radius: 6px; background: #fff3d6; }
.json .line--seen { margin: 0 -10px; padding: 2px 10px; border-radius: 6px; background: var(--wash); }

/* §5 Who builds with it: four products, each with Awaya's answer inside a dashed "From Awaya" frame */
.builds { --b-ease: cubic-bezier(0.22, 1, 0.36, 1); padding-top: 64px; }
.builds-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.build-tabs { display: grid; gap: 4px; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.build-tabs li { border-bottom: 1px solid var(--line); }
.build-tab { position: relative; display: grid; gap: 3px; width: 100%; margin: 4px 0; padding: 14px 16px 16px; border: 0; border-radius: 14px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color 400ms var(--b-ease); }
.build-tab strong { font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; transition: color 400ms ease; }
.build-tab span { color: var(--muted); font-size: 14.5px; }
.build-tab:hover { background: #f7f4fb; }
.build-tab[aria-pressed="true"] { background: var(--wash); }
.build-tab[aria-pressed="true"] strong { color: var(--plum); }
.bt-bar { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--plum); opacity: 0; transform: scaleX(0); transform-origin: left; }
.build-tab.is-running .bt-bar { opacity: 0.55; animation: bt-fill 7s linear forwards; }
.builds-grid:hover .build-tab.is-running .bt-bar, .builds-grid:focus-within .build-tab.is-running .bt-bar, .builds-grid:not(.is-visible) .build-tab.is-running .bt-bar { animation-play-state: paused; }
@keyframes bt-fill { to { transform: scaleX(1); } }

.bs { margin: 0; }
.bs-shelf { position: relative; height: 560px; overflow: hidden; border-radius: 30px; background: var(--soft); }
.bs-scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 420ms; }
.bs-scene.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 800ms var(--b-ease) 120ms, transform 1000ms var(--b-ease) 120ms; }
.bs-scene .from-awaya { transition: opacity 700ms var(--b-ease), transform 900ms var(--b-ease); }
.bs-scene:not(.is-on) .from-awaya { opacity: 0; transform: translateY(8px); }
.bs-scene.is-on .from-awaya { transition-delay: 450ms; }
/* The panel is the place: each product floats over its destination photo, which crossfades and settles as the tab changes */
.bs-shelf { isolation: isolate; }
.bs--photo .bs-shelf { background: #2a2232; }
.bs-bg { position: absolute; inset: 0; z-index: -1; }
.bs-bg img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1200ms ease, transform 9s linear; }
.bs-bg img.is-on { opacity: 1; transform: scale(1); }
.bs--photo .bs-shelf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 95% at 50% 45%, rgba(21, 12, 44, 0.04) 35%, rgba(21, 12, 44, 0.5) 100%); pointer-events: none; }
.bs--photo .mock { box-shadow: 0 36px 70px -24px rgba(21, 12, 44, 0.7), 0 2px 8px rgba(21, 12, 44, 0.22); }
.bs--photo .mock--phone { box-shadow: 0 0 0 7px #1d1924, 0 36px 70px -24px rgba(21, 12, 44, 0.75); }
.bs--photo .from-awaya { border-style: solid; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(64, 54, 78, 0.1); }
.bs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.bs-legend { display: inline-flex; align-items: center; gap: 10px; }
.bs-legend i { width: 26px; height: 16px; border: 1.5px solid var(--plum); border-radius: 5px; }

/* The mocks: the builder's own product, drawn plain, so Awaya's part stands out */
.mock { position: relative; width: 100%; max-width: 540px; border-radius: 22px; background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; box-shadow: 0 14px 34px rgba(48, 38, 64, 0.13); }
.mock img { display: block; max-width: none; }
.from-awaya { position: relative; padding: 16px 12px 10px; border: 1.5px dashed var(--wing); border-radius: 16px; background: #fdfcff; }
.fa-tag { position: absolute; left: 12px; top: -11px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 6px; border-radius: var(--radius-pill); background: var(--plum); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.01em; }
.fa-tag img { width: 14px; height: 14px; padding: 1px; border-radius: 50%; background: #fff; }
.mini-list { display: grid; margin: 0; padding: 0; list-style: none; }
.mini-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list li > img { width: 52px; height: 40px; border-radius: 9px; object-fit: cover; }
.mini-list span { display: grid; gap: 1px; min-width: 0; }
.mini-list b { font-size: 14.5px; font-weight: 650; }
.mini-list small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mini-list em { font-size: 14.5px; font-style: normal; font-weight: 650; white-space: nowrap; }
.mini-list em small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.cents { display: inline-block; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--night); color: var(--amber); font-size: 13px; font-style: normal; font-weight: 750; }

/* 1 · Chat */
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-weight: 650; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e4deea; }
.mock-bar span { margin-left: 8px; }
.chat { display: grid; gap: 16px; padding: 18px 20px 22px; font-size: 14px; line-height: 1.5; }
.chat-me { justify-self: end; max-width: 78%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--plum); color: #fff; }
.chat-bot { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.chat-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ece7f4; }
.chat-avatar svg { width: 18px; height: 18px; fill: none; stroke: #8a8392; stroke-width: 1.8; stroke-linejoin: round; }
.chat-body { display: grid; gap: 14px; color: #514959; }

/* 2 · Card or loyalty app */
.mock--phone { max-width: 300px; padding: 14px 14px 18px; border-radius: 34px; box-shadow: 0 0 0 7px #1d1924, 0 28px 50px -20px rgba(44, 31, 55, 0.5); }
.app-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 2px 6px 12px; font-size: 12px; font-weight: 650; }
.app-title { font-size: 14px; }
.app-icons { display: flex; justify-content: flex-end; gap: 4px; }
.app-icons i { width: 14px; height: 8px; border-radius: 2px; background: #d9d2e3; }
.app-card { position: relative; display: grid; gap: 2px; padding: 16px 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #3a3150 0%, #292530 100%); color: #fff; }
.app-card small { color: rgba(255, 255, 255, 0.72); font-size: 12px; }
.app-card b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.app-mark { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; height: 26px; padding: 0 8px; border-radius: 8px; background: #fff; }
.app-mark img { width: auto; height: 17px; }
.app-ask { display: flex; gap: 8px; margin: 12px 0 18px; padding: 10px 12px; border-radius: 14px; background: #f3f1f6; color: #514959; font-size: 12.5px; line-height: 1.4; }
.app-ask svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: #8a8392; stroke-width: 2; stroke-linecap: round; }
.mini-head { margin: 0 2px 4px; font-size: 13px; font-weight: 650; }
.mini-list--tight li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 6px 0; }
.mini-list--tight li > img { width: 44px; height: 40px; }

/* 3 · Adviser's quote */
.mock--doc { max-width: 520px; padding: 22px 24px 20px; border-radius: 14px; }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.doc-head b { display: block; font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.doc-head small { color: var(--muted); font-size: 13px; }
.doc-ref { color: var(--muted); font-size: 12px; }
.doc-photo { position: relative; height: 120px; margin: 16px 0 22px; overflow: hidden; border-radius: 12px; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.doc-photo span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.92); font-size: 12px; font-weight: 650; }
.doc-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; align-items: stretch; }
.doc-col { display: grid; align-content: start; gap: 4px; padding: 16px 14px 14px; border-radius: 16px; background: #f6f4f8; }
.doc-col.from-awaya { background: #fdfcff; }
.doc-col small { color: var(--muted); font-size: 12px; font-weight: 600; }
.doc-col b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.doc-col b span { font-size: 14px; font-weight: 650; }
.doc-col > span:not(.fa-tag) { color: var(--muted); font-size: 12.5px; }
.doc-prog { display: flex; align-items: center; gap: 6px; }
.doc-prog img { width: auto; height: 13px; mix-blend-mode: multiply; }
.doc-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.doc-verdict strong { margin-left: auto; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--amber); color: var(--night); font-size: 12px; font-weight: 750; }
.doc-note { margin-top: 14px; color: var(--muted); font-size: 12px; }

/* 4 · Points newsletter */
.mock--mail { max-width: 460px; padding: 18px 20px 20px; border-radius: 18px; }
.mail-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mail-head b { font-size: 15px; font-weight: 650; }
.mail-head span { color: var(--muted); font-size: 12px; }
.mail-photo { height: 104px; margin: 14px 0 12px; overflow: hidden; border-radius: 12px; }
.mail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.mail-title { margin: 16px 0 20px; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.mail-awaya { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 14px 12px; }
.mail-cal { display: grid; grid-template-columns: repeat(7, 26px); gap: 3px; margin: 0; padding: 0; list-style: none; }
.mail-cal li { display: grid; place-items: center; height: 22px; border-radius: 6px; color: #8a8392; font-size: 11px; font-weight: 600; }
.mail-cal .dow { height: 16px; color: #9a93a3; font-size: 10px; font-weight: 700; }
.mail-cal .seat { background: var(--plum); color: #fff; }
.mail-from { display: grid; gap: 4px; font-size: 13.5px; line-height: 1.4; }
.mail-from b { font-size: 16px; font-weight: 650; }
.mail-from span { color: var(--muted); font-size: 12.5px; }
.copy-mini { min-height: 36px; padding: 6px 14px; border: 1px solid #cfc7e2; border-radius: var(--radius-pill); background: transparent; color: var(--plum); font: 650 13px Manrope, sans-serif; cursor: pointer; transition: background-color 160ms ease; }
.copy-mini:hover { background: var(--soft); }
.copy-mini.is-copied, .copy.is-copied { background: var(--amber); border-color: var(--amber); color: var(--night); }

/* Night sections */
.night { background: linear-gradient(180deg, var(--night) 0%, #1c1239 55%, var(--seam) 100%); color: var(--flap-ink); }
.night h2 { color: var(--flap-ink); }
.night code { color: var(--flap-ink); }

/* §6 Add Awaya */
.add { padding: 128px 0; }
.add-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.add-head h2 { grid-row: span 2; }
.add-steps { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.add-steps li { display: inline-flex; align-items: center; gap: 10px; }
.add-steps i { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--wing); border-radius: 50%; color: var(--wing); font: 700 12px/1 Manrope, sans-serif; font-style: normal; }
.add-time { color: var(--night-text); font-size: 14px; text-align: right; }
.doors { margin-top: 48px; }
.door-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.door-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border: 1.5px solid #5d4e8c; border-radius: var(--radius-pill); background: transparent; color: var(--flap-ink); font: 650 14px Manrope, sans-serif; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.door-tabs button:hover { border-color: var(--wing); }
.door-tabs button[aria-selected="true"] { background: var(--flap-ink); border-color: var(--flap-ink); color: var(--night); }
.rec { padding: 2px 8px; border-radius: var(--radius-pill); background: rgba(243, 239, 250, 0.14); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.door-tabs button[aria-selected="true"] .rec { background: rgba(21, 12, 44, 0.12); }
.door-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 20px; align-items: start; margin-top: 20px; }
.term { min-width: 0; overflow: hidden; border: 1px solid #33275f; border-radius: 20px; background: #0f0822; }
.term-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 12px 8px 20px; border-bottom: 1px solid #2a2050; color: var(--night-text); font-size: 13px; font-weight: 600; }
.term-same { color: #a99dcc; font-weight: 500; }
.copy { min-height: 34px; padding: 6px 14px; border: 1px solid #4b3d7c; border-radius: var(--radius-pill); background: transparent; color: var(--flap-ink); font: 650 12.5px Manrope, sans-serif; cursor: pointer; transition: background-color 160ms ease; }
.copy:hover { background: rgba(243, 239, 250, 0.08); }
.term pre { margin: 0; padding: 22px 22px 18px; overflow-x: auto; color: var(--flap-ink); font: 400 13.5px/1.8 var(--mono); white-space: pre; }
.term pre code { font-size: inherit; }
.term .pr { color: var(--wing); }
.term .cm { color: #8f84b5; }
.term-note { padding: 0 22px 20px; color: #b8acd8; font-size: 13px; line-height: 1.5; }
.term-note code { color: var(--flap-ink); }
/* The tools behind every door: the catalog in ruled rows on night, by step */
.catalog { margin-top: 44px; border-top: 1px solid var(--night-line); }
.catalog-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 48px; align-items: baseline; padding: 22px 0 18px; }
.catalog-head span:first-child { color: var(--flap-ink); font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
.catalog-head span:last-child { color: var(--night-text); font-size: 15px; line-height: 1.55; }
.catalog-rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--night-line); }
.catalog-rows > div { padding: 18px 20px 6px 0; }
.catalog-rows > div + div { padding-left: 20px; border-left: 1px solid var(--night-line); }
.catalog-rows dt { display: flex; align-items: center; gap: 10px; color: var(--wing); font-size: 14px; font-weight: 650; }
.catalog-rows .flap--status .c { font-size: 11px; }
.catalog-rows dd { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; color: var(--night-text); font-size: 13.5px; line-height: 1.5; }
.catalog-rows code { padding: 3px 9px; border-radius: 7px; background: rgba(243, 239, 250, 0.08); color: var(--flap-ink); font-size: 12.5px; font-weight: 600; }
.catalog-plain { color: var(--night-text); }
.json--night { color: var(--flap-ink); }
.json--night .k { color: var(--wing); }
.json--night .s { color: var(--flap-ink); }
.json--night .n { color: var(--flap-ink); font-weight: 700; }
.json--night .p { color: #7e72a6; }
#panel-prompt pre { white-space: pre-wrap; }

/* §7 Build it yourself vs Awaya: the pile, on scroll. The section pins under the header while you scroll through it, and developers.js
   draws the twelve cards into a deck and grows the one key out of it. Without the script, or with reduced motion, it doesn't pin and shows the key. */
.compare-legal { margin-top: 12px; }
.pl { --pl-stick: 76px; --pl-ease: cubic-bezier(0.22, 1, 0.36, 1); position: relative; }
.pl.is-live { height: 185vh; }
.pl-pin { padding: 96px 0 40px; }
.pl.is-live .pl-pin { position: sticky; top: var(--pl-stick); height: calc(100vh - var(--pl-stick)); height: calc(100svh - var(--pl-stick)); padding: 0; }
.pl-inner { display: flex; flex-direction: column; height: 100%; }
.pl.is-live .pl-inner { padding: 28px 0 22px; }
.pl .section-head { margin-bottom: 18px; }
.pl h2 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.06; letter-spacing: -0.037em; }
.pl-board { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.pl-count { display: grid; grid-template-columns: auto auto; align-items: baseline; justify-content: start; gap: 10px; margin-bottom: 12px; color: #514959; font-size: 15px; font-variant-numeric: tabular-nums; }
.pl-count b { min-width: 1.4ch; color: var(--ink); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; text-align: right; transition: color 500ms ease; }
.pl-count > span { grid-column: 2; grid-row: 1; transition: opacity 500ms ease; }
.pl-board:not([data-phase="awaya"]) .pl-count-awaya, .pl-board[data-phase="awaya"] .pl-count-diy { opacity: 0; }
.pl-board[data-phase="awaya"] .pl-count b { color: var(--plum); }
.pl-stage { position: relative; height: 560px; overflow: hidden; border-radius: 30px; background: var(--soft); }
.pl.is-live .pl-stage { flex: 1; height: auto; min-height: 380px; }
.pl-cards { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.pl-card { position: absolute; left: var(--x, 50%); top: var(--y, 50%); display: flex; align-items: center; gap: 12px; width: 236px; padding: 11px 14px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 14px 28px -16px rgba(44, 31, 55, 0.42), 0 1px 2px rgba(44, 31, 55, 0.06); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); }
.pl:not(.is-live) .pl-card { opacity: 0.3; }
.pl.is-live .pl-card, .pl.is-live .pl-key { will-change: transform, opacity; }
.pl-card:nth-child(odd) { --r: -1.2deg; }
.pl-card:nth-child(even) { --r: 0.9deg; }
.pl-card:nth-child(3n) { --r: -0.5deg; }
.pl-ic { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--wash); }
.pl-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--plum); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl-ic--logo { width: 58px; background: #fff; box-shadow: inset 0 0 0 1px rgba(64, 54, 78, 0.12); }
.pl-ic--logo img, .pl-chip img { display: block; width: auto; max-width: 50px; height: var(--h); mix-blend-mode: multiply; }
.pl-txt { display: grid; gap: 2px; min-width: 0; }
.pl-txt b { overflow: hidden; font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.pl-txt small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.pl-txt small::before { content: ""; width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; }
.pl-card--sign small { color: var(--plum); }
.pl-card--ask small { color: #5f67a3; }
.pl-key { position: absolute; left: 50%; top: 50%; z-index: 30; display: grid; justify-items: center; gap: 12px; width: min(420px, calc(100% - 32px)); padding: 26px 26px 22px; border-radius: 26px; background: linear-gradient(168deg, #1c1038 0%, var(--night) 46%, var(--seam) 100%); color: var(--flap-ink); text-align: center; transform: translate(-50%, -50%); box-shadow: 0 46px 80px -42px rgba(21, 12, 44, 0.75), 0 3px 8px rgba(21, 12, 44, 0.2); }
.pl-key-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--flap-ink); box-shadow: 0 0 0 7px rgba(243, 239, 250, 0.07); }
.pl-key-mark img { display: block; width: 30px; height: 30px; }
.pl-key-name { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; }
.pl-key-code { padding: 6px 12px; border-radius: 8px; background: rgba(243, 239, 250, 0.08); color: var(--amber); font-size: 13px; letter-spacing: 0.02em; }
.pl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pl-chip { display: inline-grid; place-items: center; height: 28px; padding: 0 9px; border-radius: 8px; background: #fff; }
.pl-key-does, .pl-key-doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pl-key-does span { padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(243, 239, 250, 0.09); font-size: 12.5px; font-weight: 600; }
.pl-key-does code { color: var(--flap-ink); font-size: 12px; }
.pl-key-doors span { padding: 2px 9px; border: 1px solid rgba(243, 239, 250, 0.22); border-radius: var(--radius-pill); color: var(--wing); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.pl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--plum); opacity: 0.5; transform: scaleX(var(--p, 1)); transform-origin: left; }
@media (min-width: 701px) {
  .pl-card:nth-child(4n + 1) { --x: 14%; }
  .pl-card:nth-child(4n + 2) { --x: 38%; }
  .pl-card:nth-child(4n + 3) { --x: 62%; }
  .pl-card:nth-child(4n + 4) { --x: 86%; }
  .pl-card:nth-child(-n + 4) { --y: 21%; }
  .pl-card:nth-child(n + 5):nth-child(-n + 8) { --y: 50%; }
  .pl-card:nth-child(n + 9) { --y: 79%; }
}
@media (prefers-reduced-motion: reduce) {
  .pl.is-live { height: auto; }
  .pl.is-live .pl-pin { position: static; height: auto; padding: 96px 0 40px; }
  .pl.is-live .pl-stage { flex: none; height: 560px; }
}

/* §11 Get a key */
.close { padding: 120px 0 112px; background: linear-gradient(180deg, var(--seam) 0%, #5a4c8a 30%, #a798cc 58%, #e9e3f5 82%, var(--paper) 100%); text-align: center; }
.close-inner { display: grid; justify-items: center; }
.close-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper); box-shadow: 0 16px 34px -18px rgba(21, 12, 44, 0.7); }
.close h2 { margin-top: 28px; color: var(--flap-ink); }
.close-lede { margin-top: 18px; color: #f0ebfa; font-size: 18px; }
.keyform, .keyform-done { width: min(760px, 100%); margin-top: 44px; padding: 34px 36px 30px; border-radius: 28px; background: var(--surface); text-align: left; box-shadow: 0 30px 60px -30px rgba(10, 6, 24, 0.45); }
.keyform-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field--wide { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #d9d2e3; border-radius: 14px; background: var(--paper); color: var(--ink); font: 400 16px Manrope, sans-serif; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.field input::placeholder { color: #8a8392; opacity: 1; }
.field input:hover, .field select:hover { border-color: #bfb3da; }
.field input:focus, .field select:focus { outline: none; border-color: var(--plum); background: #fff; box-shadow: 0 0 0 4px rgba(64, 54, 78, 0.12); }
.field input[aria-invalid="true"] { border-color: #a2384f; box-shadow: 0 0 0 4px rgba(162, 56, 79, 0.1); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field-hint { margin-top: 8px; color: var(--muted); font-size: 13px; }
.keyform-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.keyform-note { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.keyform-foot .btn { flex: none; white-space: nowrap; }
.keyform-error { margin-top: 14px; color: #a2384f; font-size: 14px; font-weight: 600; }
.keyform-done h3 { font-size: 28px; letter-spacing: -0.03em; }
.keyform-done p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.keyform-done .keyform-note { margin-top: 18px; font-size: 13px; }
.close-founders { margin-top: 30px; color: #3d3646; font-size: 15px; }
.close-founders a { font-weight: 650; }

/* Footer */
.dev-footer { padding: 56px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.dev-footer h2 { margin-bottom: 12px; color: var(--ink); font-size: 13px; font-weight: 700; }
.dev-footer nav { display: flex; flex-direction: column; gap: 8px; }
.dev-footer nav a { color: var(--muted); text-decoration: none; }
.dev-footer nav a:hover { color: var(--plum); text-decoration: underline; }
.dev-footer nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }

.term-stamp { margin-left: 8px; white-space: nowrap; color: #a99dcc; font-weight: 500; font-variant-numeric: tabular-nums; }
.updated { font-size: 13px; font-variant-numeric: tabular-nums; }
.th-short { display: none; }

/* Review aid (mockup only) */
.review-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 40; min-height: 38px; padding: 8px 16px; border: 1px solid #d9d2e3; border-radius: var(--radius-pill); background: var(--surface); color: var(--plum); font: 650 13px Manrope, sans-serif; cursor: pointer; }
.review-toggle[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--night); }
body.is-reviewing [data-review] { position: relative; outline: 2px dashed rgba(196, 154, 58, 0.9); outline-offset: -6px; }
body.is-reviewing [data-review]::before { content: attr(data-review); position: absolute; top: 12px; left: 12px; z-index: 5; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--amber); color: var(--night); font: 700 12px/1.3 Manrope, sans-serif; }

/* Responsive */
@media (max-width: 1180px) {
  .proof-grid { grid-template-columns: 1fr; gap: 56px; }
  .proof-stage { width: 100%; max-width: 720px; justify-self: center; }
}

@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
  .dev-nav { gap: 20px; }
}

@media (max-width: 960px) {
  .catalog-head { grid-template-columns: minmax(0, 1fr); }
  .catalog-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-rows > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .catalog-rows > div:nth-child(n + 3) { border-top: 1px solid var(--night-line); }
  .hero { padding-top: 40px; }
  .hero-grid, .builds-grid, .compare-grid, .section-head { grid-template-columns: 1fr; gap: 40px; }
  .section-head .section-lede { justify-self: start; }
  .hero-copy { max-width: 640px; }
  .hero-grid { grid-template-areas: "copy" "board" "works"; row-gap: 40px; }
  .hero-copy, .hero-works { align-self: start; }
  .hero-works { margin-top: 0; padding-top: 0; border-top: 0; }
  .add-head { grid-template-columns: 1fr; }
  .add-head h2 { grid-row: auto; }
  .add-time { text-align: left; }
  .door-body { grid-template-columns: 1fr; }
  .dev-nav a:not(.dev-nav-out) { display: none; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .proof-sec { padding-top: 72px; }
  .facts > div:nth-child(n) { grid-column: 1 / -1; padding: 16px 0; border-left: 0; }
  .prog { min-width: 0; height: 46px; padding: 0 16px; }
  .proof-stage { grid-template-columns: 1fr; row-gap: 28px; justify-items: center; }
  .proof-wire { display: none; }
  .proof-stage .ims { --ims-scale: 0.702; grid-column: 1; grid-row: 1; }
  .proof-stage .ims-phone { width: 300px; }
  .trace { grid-column: 1; grid-row: 2; width: 100%; max-width: 360px; margin: 0; }
  .proof-stage > figcaption { text-align: center; }
  .rail { --pins-h: 190px; padding: 18px 16px 20px; border-radius: 24px; }
  .rail-label { margin-bottom: 5px; padding: 2px 7px; font-size: 12px; }
  .rail-photo { width: 54px; height: 42px; border-radius: 10px; }
  .rail-chip { display: none; }
  .rail-stem { height: var(--stem-phone); margin-top: 6px; }
  .rail-ticks li:not(.is-int) span { display: none; }
  .rail-call { left: 0; width: 100%; height: 214px; }
  .rail-caret { left: var(--pos); }
  .rail-read { grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 12px 14px; padding: 16px; }
  .rr-photo { width: 72px; height: 72px; }
  .rr-ans { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; justify-items: start; gap: 12px; }
  .rr-cents { font-size: 40px; }
  .br-wide { display: none; }
  .term-same { display: none; }
  .th-long { display: none; }
  .th-short { display: inline; }
  .dev-header-inner { min-height: 64px; gap: 12px; }
  .brand img { width: 86px; }
  .brand-suffix { padding-left: 10px; font-size: 13px; }
  .dev-nav { display: none; }
  .btn-small { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 48px; padding: 11px 16px; font-size: 14.5px; }
  .hero-lede { margin-top: 20px; }
  .hero-grid { row-gap: 32px; }
  .board-answer { font-size: 16px; }
  .board { padding: 16px 14px 14px; border-radius: 20px; }
  .board-query { font-size: 14px; padding: 12px; }
  .board-table thead { display: none; }
  .board-table, .board-table tbody { display: block; }
  .board-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 6px; border-bottom: 1px solid rgba(179, 164, 210, 0.1); }
  .board-table td { padding: 0; border: 0; }
  .board-table tr > :first-child { padding-left: 0; }
  .board-table .t-time { display: none; }
  .board-table .t-tool { grid-column: 1; }
  .board-table .t-status { grid-column: 2; grid-row: 1; text-align: right; }
  .board-table .t-result { grid-column: 1 / -1; }
  .board-row--verdict { border-radius: 12px; background: linear-gradient(90deg, rgba(255, 207, 112, 0.1), rgba(255, 207, 112, 0.02)); }
  .board-row--verdict td { background: none; }
  .flap .c { font-size: 13px; }
  .flap--status .c, .flap--small .c { font-size: 11px; }
  .board-foot { flex-direction: column; align-items: flex-start; }
  .proof-line { font-size: 17px; }
  .section, .add { padding: 88px 0; }
  .points, .builds { padding-top: 48px; }
  .catalog-rows { grid-template-columns: minmax(0, 1fr); }
  .catalog-rows > div:nth-child(n) { padding: 16px 0 6px; border-left: 0; }
  .catalog-rows > div + div { border-top: 1px solid var(--night-line); }
  .json { font-size: 12.5px; padding: 18px; }
  .build-tabs { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 24px; border-top: 0; }
  .build-tabs li { border-bottom: 0; }
  .build-tab { height: 100%; margin: 0; padding: 12px 12px 14px; border: 1px solid var(--line); }
  .build-tab strong { font-size: 14.5px; }
  .build-tab span { display: none; }
  .bt-bar { left: 12px; right: 12px; bottom: 6px; }
  .bs-shelf { height: 600px; border-radius: 24px; }
  .bs-scene { padding: 16px 12px; }
  .chat { padding: 16px 14px 18px; }
  .chat-me { max-width: 92%; }
  .chat-bot { grid-template-columns: minmax(0, 1fr); }
  .chat-avatar { display: none; }
  .mini-list small { white-space: normal; }
  .mock--doc { padding: 18px 16px 16px; }
  .doc-cols { grid-template-columns: 1fr; }
  .mail-awaya { grid-template-columns: 1fr; }
  .add-steps { flex-wrap: wrap; gap: 12px 18px; }
  .term pre, .json { font-size: 12px; padding: 18px 16px; }
  .pl { --pl-stick: 64px; }
  .pl.is-live { height: 195vh; }
  .pl-pin { padding-top: 64px; }
  .pl.is-live .pl-inner { padding: 18px 0 14px; }
  .pl.is-live .section-lede { display: none; }
  .pl-count { font-size: 14px; }
  .pl-count b { font-size: 28px; }
  .pl-stage { height: 680px; border-radius: 24px; }
  .pl.is-live .pl-stage { min-height: 0; }
  .pl-card { width: 158px; gap: 8px; padding: 6px 10px 6px 8px; border-radius: 13px; }
  .pl-ic { width: 30px; height: 30px; border-radius: 9px; }
  .pl-ic svg { width: 15px; height: 15px; }
  .pl-ic--logo { width: 44px; }
  .pl-ic--logo img { max-width: 38px; height: calc(var(--h) * 0.8); }
  .pl-txt b { font-size: 12.5px; line-height: 1.25; white-space: normal; }
  .pl-txt small { font-size: 11px; }
  .pl-card:nth-child(odd) { --x: 27%; }
  .pl-card:nth-child(even) { --x: 73%; }
  .pl-card:nth-child(1), .pl-card:nth-child(2) { --y: 9%; }
  .pl-card:nth-child(3), .pl-card:nth-child(4) { --y: 25.5%; }
  .pl-card:nth-child(5), .pl-card:nth-child(6) { --y: 42%; }
  .pl-card:nth-child(7), .pl-card:nth-child(8) { --y: 58.5%; }
  .pl-card:nth-child(9), .pl-card:nth-child(10) { --y: 75%; }
  .pl-card:nth-child(11), .pl-card:nth-child(12) { --y: 91%; }
  .close { padding: 96px 0 80px; }
  .keyform, .keyform-done { padding: 24px 18px 22px; border-radius: 22px; }
  .keyform-fields { grid-template-columns: 1fr; }
  .keyform-foot { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dev *, .dev *::before, .dev *::after { animation: none !important; transition: none !important; }
}

/* The setup bar and the agent marks: one dark command bar that copies on click, and a row of agent marks. They were §6 and
   now sit in §11's step 2 ("Connect it"), sized there. The night "doors" and catalog styles above serve only the earlier tries in add/. */
.give-bar { position: relative; display: grid; place-items: center; width: min(100%, 820px); min-height: 100px; margin-top: 16px; padding: 0 84px; border: 0; border-radius: 20px; background: linear-gradient(168deg, #1c1038 0%, var(--night) 55%, #1e1440 100%); color: var(--flap-ink); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 54px -28px rgba(21, 12, 44, 0.6), 0 2px 6px rgba(21, 12, 44, 0.18); transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease; }
.give-bar code { font: 500 clamp(17px, 2.3vw, 28px)/1.3 var(--mono); letter-spacing: -0.01em; white-space: nowrap; }
.give-bar:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 36px 60px -28px rgba(21, 12, 44, 0.65), 0 2px 6px rgba(21, 12, 44, 0.18); }
.give-bar:active { transform: translateY(0); }
.dev .give-bar:focus-visible { outline: 3px solid var(--plum); outline-offset: 5px; border-radius: 20px; }
.give-icon { position: absolute; right: 28px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); }
.give-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1); }
.give-copy { color: #c9bfe3; }
.give-bar:hover .give-copy { color: #fff; }
.give-tick { opacity: 0; color: var(--amber); stroke-width: 2.4; transform: scale(0.6); }
.give-bar.is-copied .give-copy { opacity: 0; transform: scale(0.6); }
.give-bar.is-copied .give-tick { opacity: 1; transform: none; }
.give-bar.is-copied { box-shadow: inset 0 0 0 1.5px rgba(255, 207, 112, 0.55), 0 30px 54px -28px rgba(21, 12, 44, 0.6); }
.agents { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); list-style: none; box-shadow: 0 16px 32px -24px rgba(44, 31, 55, 0.35); }
.agent { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 17px; }
.agent img { display: block; width: 34px; height: 34px; }
.agent--claude { background: #fbe7dd; }
.agent--codex { background: #ece9fb; }
.agent--grok { background: #ececef; }
.agent--openclaw { background: #fde3e3; }
.agent--cursor { background: #ebe8f3; }
.agent--gemini { background: #e5edfc; }
@media (max-width: 700px) {
  .give-bar { min-height: 76px; padding: 0 60px 0 20px; place-items: center start; }
  .give-bar code { font-size: 15px; }
  .give-icon { right: 20px; width: 24px; height: 24px; }
  .agents { gap: 8px; padding: 10px; border-radius: 22px; }
  .agent { width: 48px; height: 48px; border-radius: 13px; }
  .agent img { width: 26px; height: 26px; }
}

/* §11 Get a key and connect it: the close holds both steps. Step 1, the key form, sits on the descent; its gradient has a fixed
   length so step 2, "Connect it", always lands on paper, where the two ways in sit level: in your agent, in your product. */
.close--ending { background: linear-gradient(180deg, var(--seam) 0, #5a4c8a 300px, #a798cc 620px, #e9e3f5 920px, var(--paper) 1120px) top / 100% 1120px no-repeat, var(--paper); }
.ending-steps { display: grid; justify-items: center; width: 100%; margin: 52px 0 0; padding: 0; list-style: none; }
.ending-step { display: grid; justify-items: center; width: 100%; }
.step-label { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.step-num { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--plum); color: #fff; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ending-step:first-child .step-label { color: var(--flap-ink); }
.ending-step:first-child .step-num { background: var(--paper); color: var(--plum); }
.close--ending .keyform, .close--ending .keyform-done { margin-top: 18px; }
.ending-step--connect { position: relative; padding-top: 108px; }
.ending-step--connect::before { content: ""; position: absolute; top: 22px; left: 50%; width: 4px; height: 64px; margin-left: -2px; background: radial-gradient(circle, var(--wing) 1.5px, transparent 1.9px) center top / 4px 9px repeat-y; }

.ways { display: grid; grid-template-columns: 1fr 1fr; width: min(1040px, 100vw - 80px); margin-top: 26px; padding-top: 32px; border-top: 1px solid var(--line); text-align: left; }
.way { min-width: 0; padding-right: 40px; }
.way + .way { padding: 0 0 0 40px; border-left: 1px solid var(--line); }
.way-title { color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.way-sub { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.way-more { margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.way-more code { padding: 2px 8px; border-radius: 7px; background: var(--wash); color: var(--plum); font-size: 12.5px; font-weight: 600; }
.way-link { margin-top: 18px; font-size: 15px; }
.way .give-bar { width: 100%; min-height: 84px; margin-top: 16px; padding: 0 60px 0 24px; place-items: center start; }
.way .give-bar code { font-size: 18px; }
.way .give-icon { right: 22px; width: 24px; height: 24px; }
.way .agents { width: fit-content; justify-content: flex-start; gap: 8px; margin-top: 14px; padding: 8px; border-radius: 20px; }
.way .agent { width: 48px; height: 48px; border-radius: 13px; }
.way .agent img { width: 26px; height: 26px; }

/* The HTTP sample: a night terminal card with a copy pill */
.http-card { margin-top: 16px; overflow: hidden; border-radius: 20px; background: linear-gradient(168deg, #1c1038 0%, var(--night) 55%, #1e1440 100%); color: var(--flap-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 54px -28px rgba(21, 12, 44, 0.6), 0 2px 6px rgba(21, 12, 44, 0.18); }
.http-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 0 20px; color: #9d91c2; font-size: 12.5px; font-weight: 650; }
.http-copy { min-height: 32px; padding: 4px 14px; border: 1px solid rgba(201, 191, 227, 0.28); border-radius: var(--radius-pill); background: transparent; color: var(--flap-ink); font: 650 12.5px Manrope, sans-serif; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.http-copy:hover { background: rgba(243, 239, 250, 0.1); }
.http-copy.is-copied { border-color: rgba(255, 207, 112, 0.7); color: var(--amber); }
.dev .http-card :focus-visible { outline-color: var(--amber); }
.http-card pre { margin: 0; padding: 10px 20px 20px; overflow-x: auto; font: 400 14px/1.75 var(--mono); white-space: pre; scrollbar-color: #4a3d75 transparent; }
.http-card .pr { color: var(--wing); }

/* The way out for people who aren't building, then the founders */
.close-exit { margin-top: 40px; color: #3d3646; font-size: 15px; }
.close-exit a { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.close-exit svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.close-exit + .close-founders { margin-top: 8px; }

/* After a request, the setup bar gives one small nudge: the next thing to do */
@keyframes ending-nudge { 0%, 100% { transform: none; } 40% { transform: translateY(-6px); } }
.is-next .give-bar { animation: ending-nudge 1100ms cubic-bezier(0.22, 1, 0.36, 1) 300ms 1; }

@media (max-width: 960px) {
  .ways { grid-template-columns: 1fr; width: 100%; }
  .way { padding: 0; }
  .way + .way { margin-top: 32px; padding: 32px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}
@media (max-width: 700px) {
  .ending-steps { margin-top: 40px; }
  .ending-step--connect { padding-top: 92px; }
  .ending-step--connect::before { top: 18px; height: 54px; }
  .way .give-bar { min-height: 72px; padding: 0 48px 0 16px; }
  .way .give-bar code { font-size: 14.5px; }
  .way .give-icon { right: 16px; width: 22px; height: 22px; }
  .http-card pre { padding: 8px 16px 18px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-next .give-bar { animation: none; }
}
