/* The landing conversation (src/lander/ask-page.js, docs/ask.md §3 and §22),
   laid out as design/ask-landing draws it: frame 1 before an address, frame 3
   after one. The phone frames are 390px wide, and below 1000px the page is
   that one column at every width. From 1000px it is frames N1 and N2
   (AK63): two columns before an address, one 620px column after -- the
   last block of this file.

   Everything here is what stands still. What moves -- the turning models,
   the lights, the typed example, the wash, the sticker -- is written by
   public/ask-landing.js through each element's style object, and without
   script, or with reduced motion, the page is what this file alone says:
   the field in its grey outline (ringed in solid gold under reduced motion),
   the badge flat at its angle, no lights.

   Nov 16, 2026 (AK71, the "landing with the why" canvas): a line under the
   heading says why the property talks; the box has no visible label and
   wears the renters' door's grey outline, with a gold comet riding it; on a
   phone the stage comes after the box and its button.

   Tokens from /brand/tokens.css, the top bar from brand.css, the footer from
   lander.css. Colours that are the frames' own and no token: the five
   property tints (set per property by the script, the house's as default),
   gold for the one field to type in and for nothing else, the wash's blue
   and purple, and the grey of the visitor's own words. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/sora-latin-ext-800-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/sora-latin-800-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root { --column: 390px; }
.talk-body { background: var(--surface); }
.talk-body .topbar { min-height: 0; padding-block: 12px; }
.talk-body .topbar a { min-height: 44px; }
.talk-body .topbar .wordmark { min-height: 0; }
.talk {
  --tint: #fde6dc;
  --accent: #f4a58f;
  display: flex;
  flex-direction: column;
  padding: 20px var(--space-4) 0;
  /* The sticker and the bubbles travel past the column's edge on purpose;
     the page root clips them, as the frame's does, and never scrolls sideways. */
  overflow-x: hidden;
  overflow-x: clip;
}

/* "Renting?" drifts through the five property colours. Since AK72 the word
   itself is charcoal and the colour is a line under it: in its yellow and
   green phases the coloured word was below the contrast the brand book asks
   of text (README, 7). The colour is decoration: the link's name is its text
   and its focus ring is the page's own. */
.talk-renting { font: 600 15px/20px var(--font-sans); }
[data-rent] { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--rent, #a77acb); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* --- Frame 1: the line, the stage ---------------------------------------- */

/* The page's two groups (src/lander/ask-page.js). On a phone neither is a box:
   their parts are the page's one column, in this order -- the line and why it
   talks, the box and its button, then the stage, the sticker and the door (AK71). */
.talk-lead, .talk-show { display: contents; }
/* AK80: who invited the reader, over the page's own line -- the quiet purple tag a member's standing wears. */
.talk-invited { order: 0; align-self: center; max-width: 100%; box-sizing: border-box; margin: 0 0 14px; padding: 3px 12px; border-radius: 8px; background: #f3ecfa; font: 600 13px/20px var(--font-sans); color: #6f3f9a; text-align: center; text-wrap: balance; }
.is-talking .talk-invited { display: none; }
.talk-line { order: 1; }
.talk-sub { order: 2; }
.talk-thread { order: 3; }
.talk-ask { order: 4; }
#talk-form { order: 5; }
.talk-challenge { order: 6; }
.talk-error { order: 7; }
.talk-stage { order: 8; }
.talk-extras { order: 9; }
.talk-line {
  margin: 0;
  font: 800 32px/38px var(--font-sans);
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--charcoal);
}
/* The line's three rows (AK72); the last, "Membership is free.", in regular weight. */
.talk-line-row { display: block; }
.talk-line-row.is-plain { font-weight: 400; }
/* What a member's property does (AK72, in the place of AK71's why line): plain ink under the heading. */
.talk-sub { max-width: 470px; margin: 12px auto 0; font: 400 18px/28px var(--font-sans); text-align: center; color: var(--ink); text-wrap: pretty; }
/* The voice: the word's letters bob with a waveform that runs under them. */
.talk-voice { position: relative; display: inline-block; white-space: nowrap; }
.talk-voice > span { display: inline-block; }
.talk-voice svg { position: absolute; left: 0; bottom: -7px; width: 100%; height: 12px; overflow: visible; }
.talk-voice path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.talk-stage { position: relative; height: 204px; margin-top: var(--space-8); border-block: 1px solid var(--line); }
/* The frame's own 358px canvas, centred, and shrunk by the script on a
   narrower phone so a bubble never meets the edge. */
.talk-stage-fit { position: absolute; left: 50%; top: 0; width: 358px; height: 204px; margin-left: -179px; transform-origin: 50% 0; }
.talk-model { position: absolute; top: 26px; width: 120px; height: 120px; }
.talk-model svg, .talk-figure svg { position: absolute; left: 0; top: 0; overflow: visible; }
.talk-model svg { width: 120px; height: 120px; }
.m-wire { fill: none; stroke: var(--charcoal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Sound rings: grey, never black, and none is ever left standing. */
.m-ring { fill: none; stroke: var(--ink-muted); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.m-win { opacity: 0; }
.m-shade { fill: var(--charcoal); filter: blur(3px); opacity: 0; }
.m-bubble { filter: drop-shadow(0 0.5px 1px rgb(59 59 59 / 0.16)); opacity: 0; }
.m-pop { fill: none; stroke-width: 2.25; stroke-linecap: round; opacity: 0; }
.talk-says {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  transform-origin: 0 0;
  text-align: center; font-weight: 600; color: var(--charcoal);
  white-space: pre-line; /* a line may break where its words say (LANDING_HERO) */
  opacity: 0;
}
.talk-kinds { position: absolute; left: 0; right: 0; top: 168px; height: 26px; font: 600 16px/24px var(--font-sans); color: var(--charcoal); }
.talk-kind { position: absolute; left: 0; right: 0; top: 0; text-align: center; opacity: 0; }
.talk-kind span { display: inline-block; padding: 1px 12px; border-radius: var(--radius-sm); }

/* --- The address box ------------------------------------------------------ */

.talk-form { display: flex; flex-direction: column; gap: var(--space-2); margin: var(--space-6) 0 0; }
.talk-form label { font: 600 15px/22px var(--font-sans); }
/* The address box's label shows only while it is opened from the chip ("Another address"). */
.talk-again-label[hidden] { display: none; }
.talk-field { position: relative; height: 56px; }
.talk-field input {
  display: block; width: 100%; height: 56px; padding: 0 14px; /* 16 from the edge, with the ring */
  font: 400 17px/24px var(--font-sans); color: var(--ink);
  background: var(--surface);
  border: 2px solid #d5d9d3;
  border-radius: 8px;
}
.talk-field input::placeholder { color: var(--ink-muted); opacity: 1; }
/* Gold marks the one field to type in, and never two (round 2). Still, its
   ring is gold all the way round; moving, the light laps a grey one. */
.talk-field.is-gold input { border-color: #f4c74a; }
.is-live .talk-field.is-gold input { border-color: #d5d9d3; }
.talk-field:not(.is-gold) .talk-light { display: none; }
.talk-field input:disabled { background: #f1f3f0; }
/* Focus is the field's own ring, in a deeper gold -- not the page's charcoal outline around it (AK65).
   Deep enough to be seen against white by itself, since it is what says where the keyboard is. The
   address box is the exception (AK79, below): it never darkens. */
.talk-field input:focus-visible, .is-live .talk-field.is-gold input:focus-visible { outline: none; border-color: #b8860b; }

/* The address box (AK71): the renters' door's own outline, 1px of #b8bdb7 with 10px corners, and the
   comet riding it (public/ask-model.js `comet`). Moving, the grey outline is the comet's own drawing, so
   it can fade to nothing ahead of the gold head on any ground (AK78), and the input's border is let go.

   It has one look, and no other (AK79: Nick, Nov 19, 2026, "let's have there be no 'selected' state that
   darkens it"). The cursor in it is what says it is selected: the outline does not change when it is
   clicked or tabbed to, and the comet keeps riding. Before the script has run it is already that grey
   outline, so nothing snaps from one look to another as the page loads. Only where the reader has asked
   for less motion is it ringed in gold, two pixels to read as one ring, in place of the light that would
   have marked it -- and that is the stylesheet's own to know, from the first paint. */
#talk-field input { padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 10px; }
#talk-field input:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
  #talk-field.is-gold input { border-color: #f4c74a; box-shadow: 0 0 0 1px #f4c74a; }
}
.is-live #talk-field.is-gold input { border-color: transparent; box-shadow: none; }
.talk-field:not(.is-gold) .is-comet { display: none; }
.is-talking #talk-field input { padding-right: 58px; }

/* In the conversation a field sends from inside itself: a 48px button at its
   right, white with a grey arrow until there is something to send, then
   charcoal with a white one. Off, and grey, while the property works. */
.talk-send {
  position: absolute; right: 4px; top: 4px; width: 48px; height: 48px;
  display: none; align-items: center; justify-content: center;
  border: 0; border-radius: 6px; background: var(--surface); color: #b8bdb7; cursor: pointer;
}
.is-talking .talk-send { display: flex; }
.is-talking .talk-field input { padding-right: 58px; }
.talk-field.has-text .talk-send { background: var(--charcoal); color: #fff; }
.talk-send[disabled] { background: #f1f3f0; color: #b8bdb7; cursor: default; }
.m-arrow { flex: none; width: 14px; height: 12px; }
.m-arrow.is-up { width: 16px; height: 18px; }
.m-arrow path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-arrow.is-up path { stroke-width: 2.25; }

/* A light on an outline: the gold one laps the field, the white ones the
   outlined rows, erasing the border as they pass. The script sizes each to
   its host and moves it. */
.talk-light { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.talk-light rect { fill: none; }
.talk-light.is-white { left: -1px; top: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.talk-light.is-gold .glow { filter: blur(5px); opacity: 0.4; }
.talk-light.is-gold .glow rect { stroke: #f4c74a; }
.talk-light.is-gold .glow rect:nth-child(1) { stroke-width: 7; opacity: 0.45; }
.talk-light.is-gold .glow rect:nth-child(2) { stroke-width: 8; opacity: 0.6; }
.talk-light.is-gold .beam { opacity: 0.8; }
.talk-light.is-gold .beam rect { stroke: #f4c74a; stroke-width: 2; opacity: 0.2; }
.talk-light.is-gold .beam rect.head { stroke: #ffe7a0; opacity: 0.75; }
.talk-light.is-white rect { stroke: #fff; stroke-width: 2.5; opacity: 0.3; }
.talk-light.is-white rect.head { opacity: 1; }
/* The comet (AK71; smoothed in AK72; the outline its own in AK78). The grey outline is drawn first: 32
   strokes, each the whole outline but a gap ahead of the head, so it is gone at the head and comes back
   without a step. The gold tail, twelve layers, fades behind the head. Each layer's own strength is the
   script's (public/ask-model.js COMET). The renters' door wears the same outline with a gap that fades
   both ways (`is-fade`), and its own border is let go while it does. */
.talk-light.is-comet .line rect, .talk-light.is-fade rect { stroke: var(--line-strong); stroke-width: 1; }
.talk-light.is-fade { left: -1px; top: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.is-live .talk-door.has-fade { border-color: transparent; }
.talk-light.is-comet .glow { filter: blur(4px); opacity: 0.4; }
.talk-light.is-comet .glow rect { stroke: #f4c74a; stroke-width: 6; }
.talk-light.is-comet .glow rect:nth-child(1) { opacity: 0.12; }
.talk-light.is-comet .glow rect:nth-child(2) { opacity: 0.15; }
.talk-light.is-comet .glow rect:nth-child(3) { opacity: 0.2; }
.talk-light.is-comet .glow rect:nth-child(4) { stroke-width: 7; opacity: 0.7; }
.talk-light.is-comet .beam, .talk-light.is-comet .head { opacity: 0.8; }
.talk-light.is-comet .beam rect, .talk-light.is-comet .head rect { stroke: #f4c74a; stroke-width: 2; }
.talk-light.is-comet .head rect { opacity: 0.95; }

/* Mint is the one main button. The wash is a soft circle clipped to the
   button's own shape, so it can never show outside it. */
.talk-go {
  position: relative; display: block; width: 100%; height: 56px; padding: 0;
  overflow: hidden; isolation: isolate; contain: paint;
  border: 0; border-radius: var(--radius-md);
  background: var(--mint); color: var(--charcoal);
  font: 600 17px/24px var(--font-sans);
  cursor: pointer;
}
.talk-go[disabled] { opacity: 0.6; cursor: default; }
.talk-go-label { position: relative; }
.talk-wash {
  --wash: 167 122 203;
  position: absolute; left: 250px; top: 30px; width: 660px; height: 660px; margin: -330px 0 0 -330px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, rgb(var(--wash) / 0.58) 0%, rgb(var(--wash) / 0.32) 36%, rgb(var(--wash) / 0.1) 68%, rgb(var(--wash) / 0) 100%);
}
.talk-free { margin: 2px 0 0; text-align: center; font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.talk-free strong { font-weight: 600; color: var(--charcoal); }

.talk-error { margin: var(--space-3) 0 0; color: var(--danger); font: 400 15px/22px var(--font-sans); }
.talk-challenge { margin: var(--space-3) 0 0; min-height: 65px; }
.talk-challenge[hidden] { display: none; }
/* AK83: past the first screen the check runs out of sight, and takes no room until Cloudflare needs a click. */
.talk-challenge.is-quiet { margin: 0; min-height: 0; }

/* --- The sticker and the renters' door ------------------------------------ */

.talk-extras { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 44px 0 0; }
/* Applied like a sticker, and it sits three degrees crooked. */
.talk-sticker { position: relative; width: 180px; height: 50px; transform: rotate(-3deg); }
.talk-sticker-main, .talk-sticker-lift { position: absolute; left: 0; top: 0; width: 180px; height: 50px; }
.talk-sticker-lift { opacity: 0; transform-origin: 0 0; }
.talk-sticker-card { display: block; width: 180px; height: 50px; border-radius: 5px; overflow: hidden; }
.talk-sticker-card img { display: block; width: 180px; max-width: none; height: 50px; }
.talk-sticker-back { position: absolute; left: 0; top: 0; width: 180px; height: 50px; overflow: visible; opacity: 0; }
.talk-sticker-flap { fill: #f5f7f3; stroke: #c4c9c3; stroke-width: 1; stroke-linejoin: round; }
.talk-sticker-fold { fill: var(--charcoal); opacity: 0.1; }

/* The cue to scroll (AK73): the two words the section below is headed with, over a rail and a chevron.
   Only where the first screen fills the window (desktop width): on a phone the page is plainly cut
   mid-way, and says so itself. */
.talk-more { display: none; }
.talk-more-art { width: 24px; height: 44px; overflow: visible; }
.talk-more-art path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.talk-more-rail { stroke: var(--line-strong); stroke-width: 1.5; }
.talk-more-light { stroke: #f4c74a; stroke-width: 3; stroke-dasharray: 22 200; stroke-dashoffset: 22; opacity: 0; }
.talk-more-tail { stroke: #f4c74a; stroke-width: 2; stroke-dasharray: 60 200; stroke-dashoffset: 60; opacity: 0; }
.talk-more-tip { stroke: var(--charcoal); stroke-width: 2; }
.talk-door {
  position: relative; align-self: stretch;
  display: block; padding: 13px var(--space-4); /* 52 tall on one line; two lines on the narrowest phones */
  border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  font: 600 17px/24px var(--font-sans); color: var(--charcoal); text-align: center; text-decoration: none;
}

/* The footer (AK72): who runs this, four links, the fine print, the copyright; on the page's quiet ground.
   The disclaimer is CLAUDE.md §5's sentence and is hidden by the script only inside a conversation that
   says nothing about insurance; "Not legal advice. Not a government agency." follows it. Greys that still
   read on surface-100. */
.talk-foot { display: flex; flex-direction: column; gap: var(--space-6); padding: 40px var(--space-4) var(--space-8); background: var(--surface-100); border-top: 1px solid var(--line); }
.join-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4) var(--space-12); }
.join-foot-who { display: flex; flex-direction: column; gap: 10px; }
.join-foot-who img { display: block; }
.join-foot-who p { margin: 0; font: 400 15px/22px var(--font-sans); color: var(--ink); }
.join-foot-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0 28px; }
.join-foot-links a { font: 600 15px/48px var(--font-sans); color: var(--charcoal); }
.talk-fine { margin: 0; font: 400 14px/20px var(--font-sans); color: #707070; }
.talk-disclaimer[hidden] { display: none; }
.talk-legal { margin: 0; font: 400 13px/20px var(--font-sans); color: #707070; }

/* --- The wait: the first screen gathers into the address (docs/motion.md MO23) --------------------

   Between "Find my property" and the answer -- a second or two while the county is asked -- every
   piece of the first screen but the address box is drawn into the box and dissolves: a ripple out
   from the box, the button the visitor pressed tucking in under it first, the farthest piece last.
   Then the box glides to the middle of the page, where every answer is laid out, and its light runs
   quicker. The script measures each piece's way to the box (--gx, --gy), how far it sinks (--gs) and
   when it starts (--gd, and --gf for the dissolve); this file says how it moves. Only position, size
   and opacity move, on the motion tokens (§2, MO17), so no time here is the page's own.

   At rest each piece carries the way back, so an answer that is a refusal or the person check lets
   the page unfold where it was. The answer itself takes the box on (`talk-address`, below); the pieces
   are already gone by then, so nothing unfolds. Under reduced motion none of this runs (the script's
   LIVE): the page waits as it stands, and the answer crossfades in (brand.css MO8). */
.talk-invited, .talk-line-row, .talk-sub, .talk-go, #talk-form .talk-free, .talk-stage, .talk-door, .talk-more, .join, .join-close {
  transition:
    transform var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    opacity var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.talk.is-gathering :is(.talk-invited, .talk-line-row, .talk-sub, .talk-go, #talk-form .talk-free, .talk-stage, .talk-door, .talk-more) {
  transform: translate(var(--gx, 0px), var(--gy, 0px)) scale(var(--gs, 0.9));
  opacity: 0;
  pointer-events: none;
  /* Each piece starts toward the box at once and is seen to close up around it, dissolving as it goes: thin
     enough by the time it meets its neighbour that the two read as layers, not a collision. */
  transition:
    transform var(--motion-slow, 360ms) var(--ease-move, cubic-bezier(0.2, 0.8, 0.2, 1)) var(--gd),
    opacity var(--motion-base, 240ms) var(--ease-in, cubic-bezier(0.4, 0, 1, 1)) var(--gf);
}
/* What is under the first screen -- "Why join?" and the closing line -- does not travel up into view; it fades. */
.talk.is-gathering ~ :is(.join, .join-close) {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-base, 240ms) var(--ease-in, cubic-bezier(0.4, 0, 1, 1));
}
/* The box stays: over the pieces that tuck in under it, and gliding to the page's middle once they have
   (--gcx). Only on the first screen does it glide back; in an answer it is simply where the answer has it. */
.talk:not(.is-talking):not(.is-record) #talk-field { z-index: 1; transition: transform var(--motion-slow, 360ms) var(--ease-move, cubic-bezier(0.2, 0.8, 0.2, 1)); }
.talk.is-gathering:not(.is-talking):not(.is-record) #talk-field { transform: translateX(var(--gcx, 0px)); transition-delay: var(--gbox); }

/* The answer takes the box on (MO3's way: a box that becomes another thing travels, and what is in it
   is crossfaded, never stretched): into the address chip at the top of a conversation, into the box
   under "Which one?", or into the record's address line. */
::view-transition-group(talk-address) {
  animation-duration: var(--motion-slow, 360ms);
  animation-timing-function: var(--ease-move, cubic-bezier(0.2, 0.8, 0.2, 1));
  overflow: clip;
  border-radius: 10px;
}
::view-transition-old(talk-address),
::view-transition-new(talk-address) { width: 100%; height: 100%; object-fit: none; object-position: left center; }
::view-transition-old(talk-address) { animation-duration: var(--motion-quick, 120ms); }

/* --- Frame 3: the conversation -------------------------------------------- */

/* Once an address is in, the page is the conversation: the line, the stage,
   the sticker, the door and the mint button leave. Mint moves to what the
   property offers next. One box waits under the thread (round 2, item 5): the
   own-words box while a property is speaking, the address box before one is.
   Starting over is the address chip at the top, which opens in place into
   the address box. */
.is-talking { padding-top: var(--space-4); }
.is-talking .talk-line, .is-talking .talk-sub, .is-talking .talk-stage, .is-talking .talk-extras, .is-talking .talk-free, .is-talking .talk-go { display: none; }
.is-talking .talk-form { margin-top: var(--space-6); padding-top: 10px; border-top: 1px solid var(--line); gap: 6px; }
.is-talking.has-property #talk-form:not(.is-again) { display: none; }
.is-talking #talk-form.is-again { margin: 0 0 14px; padding-top: 0; border-top: 0; }
.talk-keep {
  display: none; align-self: flex-end; min-height: 48px; padding: 0 4px;
  border: 0; background: none; color: var(--charcoal);
  font: 600 15px/22px var(--font-sans); text-decoration: underline; cursor: pointer;
}
.is-again .talk-keep { display: block; }

.talk-thread { display: flex; flex-direction: column; }
.talk-thread[hidden] { display: none; }
.is-waiting { opacity: 0; pointer-events: none; }

/* The visitor's own words: a grey chip at the right. */
.talk-msg.from-visitor { display: flex; justify-content: flex-end; margin-top: 14px; }
.talk-msg.from-visitor:first-child { margin-top: 0; }
.talk-msg.from-visitor[hidden] { display: none; }
.talk-said {
  max-width: 100%; padding: 8px 14px;
  border: 0; border-radius: 18px 18px 5px 18px; background: #f1f3f0; color: var(--charcoal);
  font: 400 17px/24px var(--font-sans); overflow-wrap: anywhere;
}
/* The address chip is the way to start over: the address, and under it what a tap does. */
.talk-chip { text-align: right; cursor: pointer; }
.talk-chip span { display: block; }
.talk-chip-more { font: 400 15px/22px var(--font-sans); color: #5f5f5f; text-decoration: underline; }

/* The property: its model turning at the left with its address under it,
   and what it says beside it as tinted paper. There is one model (round 2,
   item 4): it stands in the rail of the newest reply, and earlier replies
   keep the rail's width, empty. */
.talk-property { display: flex; gap: 10px; margin-top: 14px; }
.talk-rail { flex: none; width: 104px; }
.talk-papers { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding-top: 4px; }
.talk-figure-col { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.talk-figure { position: relative; width: 104px; height: 100px; }
.talk-figure svg { width: 104px; height: 104px; }
/* One line where the address is short, as drawn; a long one wraps, and may sit a little wider than the model. */
.talk-tag { width: max-content; max-width: 124px; font: 600 14px/22px var(--font-sans); text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
.talk-tag span { display: inline-block; padding: 1px 8px; border-radius: var(--radius-sm); background: var(--tint); }

.talk-msg.from-property { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); min-width: 0; margin-top: 14px; }
.talk-papers .talk-msg.from-property { align-self: stretch; margin-top: 0; }
.talk-bubble {
  position: relative; max-width: 100%; padding: 10px 14px;
  border-radius: 20px 22px 22px 20px; background: var(--tint);
  filter: drop-shadow(0 0.5px 1px rgb(59 59 59 / 0.16));
  font: 600 17px/24px var(--font-sans); color: var(--charcoal); overflow-wrap: anywhere;
  transform-origin: 0 50%;
}
/* Paper is cut by hand: no two corners alike, no two bubbles alike. */
.talk-bubble:nth-child(3n + 2) { border-radius: 18px 24px 20px 22px; }
.talk-bubble:nth-child(3n) { border-radius: 22px 18px 24px 20px; }
.talk-bubble p { margin: 0; }
.talk-tail { position: absolute; left: -8px; top: 15px; width: 10px; height: 14px; }
.talk-tail path { fill: var(--tint); }
/* Working: a slip in muted ink, and a highlight in the property's accent running the model's edges. */
.talk-slip { color: #5f5f5f; }
.m-trace { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
/* A thing to open -- a guide, a phone line -- is a white row inside the paper, with an arrow at its right. */
.talk-open {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: var(--space-2); min-height: 48px; padding: 4px 12px;
  border-radius: 8px; background: var(--surface); color: var(--charcoal);
  font: 600 17px/22px var(--font-sans); text-decoration: underline; overflow-wrap: anywhere;
}
/* The emergency decline: the number is a phone link, large enough to hit. */
.talk-call { display: inline-flex; align-items: center; min-height: 48px; font: 800 26px/32px var(--font-sans); color: inherit; }

/* A source is a white chip inside the bubble of what it supports, and it is
   never folded away on a public page. */
.talk-sources { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: var(--space-2) 0 0; padding: 0; }
.talk-sources li, .talk-copy {
  min-height: 32px; padding: 4px 10px;
  border: 1px solid rgb(59 59 59 / 0.28); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--charcoal);
  font: 400 15px/22px var(--font-sans);
}
.talk-sources .source-label { color: var(--ink-muted); }
.talk-sources .source-line { font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
.talk-sources a { color: inherit; }
.talk-copy { margin: var(--space-2) 0 0; }

/* What the property offers next: one mint button under what it said, as wide
   as the paper's column; a second thing to do is outlined (round 2, item 7). */
.talk-actions { align-self: stretch; display: flex; flex-direction: column; gap: var(--space-2); }
.talk-actions .button {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px var(--space-4);
  border-radius: 10px; font: 600 17px/22px var(--font-sans); text-align: center;
}
.talk-actions .button.is-second { background: var(--surface); border: 1px solid var(--line-strong); color: var(--charcoal); }

/* What the property asks, and the answers to tap: equal outlined rows. */
.talk-msg.is-question { align-items: stretch; gap: 0; margin-top: 18px; }
.talk-question { margin: 0; font: 800 26px/32px var(--font-sans); letter-spacing: -0.015em; text-align: center; color: var(--charcoal); }
.talk-choices { align-self: stretch; display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.talk-bubble + .talk-choices { margin-top: var(--space-2); }
.talk-choice {
  position: relative; min-height: 50px; padding: 12px var(--space-4);
  text-align: left; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  background: var(--surface); color: var(--charcoal);
  font: 600 17px/24px var(--font-sans); overflow-wrap: anywhere;
  cursor: pointer;
}
.talk-choice[disabled] { opacity: 0.55; cursor: default; }
.talk-choice[aria-pressed="true"] { background: var(--tint); border-color: var(--accent); }
.talk-choice[aria-pressed="true"] .talk-light { display: none; }

/* TP3: frame 3's foot, "Or say it in your own words", shown while the property takes typed questions. */
.talk-ask[hidden] { display: none; }

/* --- AK72: "Why join?" (AK73's heading), under the first screen -------------------- */

/* Outside <main> (src/lander/ask-page.js): a section on the page's quiet
   ground with three white blocks, a closing line with the button again, then
   the footer. Plain markup, whole without script; the script plays the
   conversation, applies the sticker and draws the signature. Once the page is
   a conversation, the thread is the page and these two leave. */
.join { margin-top: var(--space-8); padding: 40px var(--space-4); background: var(--surface-100); border-top: 1px solid var(--line); overflow-x: hidden; overflow-x: clip; }
.talk.is-talking ~ .join, .talk.is-talking ~ .join-close { display: none; }
.talk.is-talking ~ .talk-foot { margin-top: 28px; }
.join-in { display: flex; flex-direction: column; gap: var(--space-6); max-width: 1120px; margin: 0 auto; }
.join-heading { margin: 0; font: 600 20px/26px var(--font-sans); color: var(--charcoal); }
.join-block {
  display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: var(--space-4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.join-block h3 { margin: 0; font: 700 22px/28px var(--font-sans); color: var(--charcoal); text-wrap: balance; }
.join-block > p, .join-words p { margin: 0; font: 400 17px/26px var(--font-sans); color: var(--ink); }
.join-first { gap: var(--space-8); }
.join-first h3 { font: 700 28px/34px var(--font-sans); letter-spacing: -0.005em; }
.join-words { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
/* The voice line is back under "talk" (AK73). Still, it is the block's own gold; moving, the script
   drifts it through the property colours. */
.join-words .talk-voice path { stroke: #f2cf63; }
.join-pair { display: flex; flex-direction: column; gap: var(--space-6); }
/* The fine print under verification: a light grey that still reads on white (4.5:1). */
.join-block > .join-small { font: 400 14px/20px var(--font-sans); color: #767676; }
.join-link { align-self: flex-start; display: flex; align-items: center; min-height: 48px; font: 600 17px/24px var(--font-sans); color: var(--charcoal); }

/* The conversation that plays: the parts of a thread (round 2), on the duplex's paper. A picture of
   one, so nothing in it can be tapped. */
.join-show { --tint: #fbf1cc; --accent: #f2cf63; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.join-ask { display: flex; align-items: center; gap: var(--space-3); }
.join-model { position: relative; flex: none; width: 64px; height: 64px; }
.join-model svg { position: absolute; left: 0; top: 0; width: 64px; height: 64px; overflow: visible; }
.join-model .m-wire { stroke-width: 3; }
.join-ask-name { font: 800 24px/30px var(--font-sans); letter-spacing: -0.01em; color: var(--charcoal); }
.join-said {
  align-self: flex-end; max-width: min(310px, 100%); padding: 8px 14px;
  border-radius: 18px 18px 5px 18px; background: #f1f3f0; color: var(--charcoal);
  font: 400 17px/24px var(--font-sans);
}
/* The question types itself: what is not typed yet is there, unseen, so the chip never changes size. */
.join-rest { color: transparent; }
.join-typed.is-typing { box-shadow: 2px 0 0 var(--charcoal); }
.join-bubble { max-width: min(420px, 100%); }
.join-tag {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); min-height: 48px; padding: 0 12px;
  border: 1px solid rgb(59 59 59 / 0.28); border-radius: 8px; background: var(--surface);
  font: 600 15px/22px var(--font-sans);
}
.join-chevron { width: 12px; height: 8px; }
.join-chevron path { fill: none; stroke: var(--charcoal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* What the property offers next is about a policy, so it is the insurance pair (design/brand-book.md). */
.join-offer {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 20px;
  border: 1px solid var(--purple); border-radius: 10px; background: var(--purple-soft); color: var(--charcoal);
  font: 600 17px/22px var(--font-sans);
}

/* What stands at the head of the two smaller blocks: the sticker on verification's mint-soft, the
   signature over its rule. The sticker is AK71's, at 1.4 times its size. */
.join-plate {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 132px; border-radius: var(--radius-md); background: var(--surface-100);
}
.join-plate.is-verified { background: var(--mint-soft); }
.join-sticker-fit { width: 252px; height: 70px; }
.join-sticker-zoom { width: 180px; height: 50px; transform: scale(1.4); transform-origin: 0 0; }
.join-sign { width: 200px; height: 56px; overflow: visible; }
.join-sign path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.join-sign-rule { stroke: var(--line-strong); stroke-width: 1.5; }
.join-sign-ink { stroke: var(--charcoal); stroke-width: 2; stroke-dasharray: 1000 1000; }
.join-signed { font: 600 15px/22px var(--font-sans); color: var(--charcoal); }

/* The closing line, and the one button again: it leads back to the address box. */
.join-close { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: var(--space-12) var(--space-4); border-top: 1px solid var(--line); text-align: center; }
.join-close h2 { margin: 0; max-width: 640px; font: 700 28px/34px var(--font-sans); letter-spacing: -0.005em; color: var(--charcoal); text-wrap: balance; }
.join-again { display: flex; flex-direction: column; gap: 10px; width: 358px; max-width: 100%; }
.join-again .talk-free { margin: 0; }
.join-find {
  display: flex; align-items: center; justify-content: center; height: 56px;
  border-radius: var(--radius-md); background: var(--mint); color: var(--charcoal);
  font: 600 17px/24px var(--font-sans); text-decoration: none;
}

/* --- Desktop: frames N1 and N2 (AK63) -------------------------------------- */

/* From 1000px the page stops being the phone column. Before an address it is
   two lockups side by side -- the line and the address box on the left, the
   stage on the right at one and a half times its size (the script scales it
   to the room this gives it) -- and, under them, the sticker and the renters'
   door, centred on the page and low on it. After one it is a single 620px
   column, the model larger in its rail and the three answers to "Who am I
   talking to?" side by side. Nothing below 1000px reads any of this.

   Where this leaves frame N1 (AK64; Nick, Nov 13, 2026, looking at the live
   page): the two lockups sit close together -- the left column is as wide as
   its words, with a narrow gap -- and a little above the middle; N1 drew
   them 100px apart and centred. And the door is no longer under the stage:
   it is the page's last thing before the footer, centred. */
/* --- AK74: the record sheet, after an address ---------------------------------
   The county's record for the property, set like a record: a white sheet, the
   drawing on its paper at the top, hairlines between the lines, the folio in
   the code face. Beside it (under it on a phone), what was found and the one
   question. The first screen and "Why join?" are not shown while it is up. */
.talk.is-record > .talk-lead, .talk.is-record > .talk-show { display: none; }
.talk.is-record ~ .join, .talk.is-record ~ .join-close { display: none; }
.talk.is-record ~ .talk-foot { margin-top: 28px; }
.talk.is-record { padding-bottom: var(--space-8); }
.record { width: 100%; max-width: var(--column); margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-6); text-align: left; }
.record-lead { display: flex; flex-direction: column; gap: var(--space-3); }
.record-address {
  display: flex; align-items: center; gap: 12px; min-height: 56px; box-sizing: border-box; padding: 6px 6px 6px var(--space-4);
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
}
/* The whole address, on two lines where one will not hold it: it is what was found, so none of it is cut. */
.record-address span { flex: 1 1 auto; min-width: 0; font: 400 17px/22px var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
.record-quiet {
  flex: none; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: none;
  font: 600 15px/20px var(--font-sans); color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.record-quiet[hidden] { display: none; }
.record-title { margin: var(--space-4) 0 0; font: 800 30px/36px var(--font-sans); letter-spacing: -0.015em; color: var(--charcoal); }
.record-sub { margin: 0; font: 400 18px/28px var(--font-sans); color: var(--ink); }

.record-sheet { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.record-stage { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 8px 14px; background: #fbf1cc; }
.record-turn { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; }
.record-arrow { flex: none; width: 48px; height: 72px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.record-arrow[hidden] { display: none; }
.record-arrow svg { width: 24px; height: 32px; overflow: visible; }
.record-arrow path { fill: none; stroke: var(--charcoal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
/* One shape leaves as the next arrives, inside this window: neither is seen past its edges. */
.record-slot { position: relative; flex: 0 1 300px; min-width: 0; height: 190px; overflow: hidden; }
.record-figure { position: absolute; left: 50%; top: 0; width: 190px; height: 190px; margin-left: -95px; }
.record-figure .m-art { display: block; width: 190px; height: 190px; overflow: visible; }
.record-figure .m-wire { stroke-width: 1.7; }
.record-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; }
.record-kind { padding: 2px 12px; border-radius: var(--radius-sm); background: var(--surface); font: 600 16px/24px var(--font-sans); color: var(--charcoal); }
.record-at { font: 600 14px/20px var(--font-sans); color: var(--charcoal); }

.record-grid { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); border-bottom: 1px solid var(--line); background: var(--surface-100); }
.record-grid[hidden] { display: none; }
.record-fit { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
/* Four across at every width: sixteen shapes are four even rows. */
.record-tiles { align-self: stretch; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.record-tile { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 8px 2px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.record-tile[aria-pressed="true"] { border-color: var(--charcoal); }
.record-tile .m-art { width: 64px; max-width: 100%; height: 64px; overflow: visible; }
.record-tile .m-wire { stroke-width: 3; }
/* In a column of left-aligned lines the quiet button's own words sit on the edge, not its padding. */
.record-grid .record-quiet { margin-left: -10px; }
.record-note { margin: 0; padding: var(--space-3) var(--space-4) 0; font: 400 14px/20px var(--font-sans); color: var(--warn); }
.record-note[hidden] { display: none; }

.record-body { display: flex; flex-direction: column; gap: var(--space-4); padding: 20px var(--space-4); }
.record-street { font: 700 30px/34px var(--font-sans); letter-spacing: -0.01em; color: var(--charcoal); overflow-wrap: anywhere; }
.record-locality { margin-top: 2px; font: 400 16px/24px var(--font-sans); color: var(--ink); }
.record-rows { margin: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.record-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-4); padding: 12px 0; border-top: 1px solid var(--line); }
.record-row dt { flex: 0 0 132px; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.record-row dd { flex: 1 1 200px; margin: 0; font: 600 16px/24px var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
/* The owner's name is the line a visitor reads to decide whether to trust the page. */
.record-row.is-owner dd { font: 600 20px/26px var(--font-sans); }
.record-row.is-code dd { font: 500 16px/24px var(--font-mono); letter-spacing: 0.04em; }
.record-source { margin: 0; font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }

.record-actions { display: flex; flex-direction: column; gap: var(--space-3); }
.record-question { margin: 0 0 4px; font: 600 20px/26px var(--font-sans); color: var(--charcoal); overflow-wrap: anywhere; }
.record-actions .button {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px var(--space-4); box-sizing: border-box;
  border-radius: var(--radius-md); font: 600 17px/24px var(--font-sans); text-align: center; text-decoration: none;
}
.record-actions .button.is-second { background: var(--surface); border: 1px solid var(--line-strong); color: var(--charcoal); }
.record-action-note { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.record-renter { align-self: flex-start; display: flex; align-items: center; min-height: 44px; margin-top: var(--space-2); font: 600 15px/20px var(--font-sans); color: var(--charcoal); text-underline-offset: 3px; }

/* AK76: joining from the sheet. "Yes, that's me" opens a form where the question was: a name, an email, and
   the member code of ethics, signed by typing the name and ticking it or by drawing on a pad. While it is
   up the sheet's own headline gives way to the form's. Then "Check your email". */
.record-asked { display: flex; flex-direction: column; gap: var(--space-3); }
.record-asked[hidden] { display: none; }
.record.is-joining .record-title, .record.is-joining .record-sub { display: none; }
.record-join { display: flex; flex-direction: column; gap: var(--space-3); }
.record-join-back { align-self: flex-start; margin-left: -10px; }
.record-join-title { margin: 0; font: 800 28px/34px var(--font-sans); letter-spacing: -0.015em; color: var(--charcoal); outline: none; }
.record-join-sub { margin: 0; font: 400 17px/26px var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
.record-join-form { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-2); }
.record-join-head { display: flex; flex-direction: column; gap: var(--space-3); }
.record-join-form[hidden], .record-sent[hidden], .record-join-head[hidden] { display: none; }
.record-field { display: flex; flex-direction: column; gap: 6px; }
.record-field label { font: 600 15px/20px var(--font-sans); color: var(--charcoal); }
.record-field input {
  min-height: 56px; box-sizing: border-box; width: 100%; padding: 0 var(--space-4);
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font: 400 17px/24px var(--font-sans); color: var(--ink);
}
.record-field input:focus-visible, .record-pad:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
/* The door's trap: off the page, out of the tab order, read by nobody. */
.record-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.record-sign { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.record-sign-title { margin: 0; font: 700 18px/24px var(--font-sans); color: var(--charcoal); }
.record-sign-sub { margin: -8px 0 0; font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.record-sign-sub a, .record-terms a { color: var(--charcoal); font-weight: 600; text-underline-offset: 3px; }
.record-sign-typed, .record-sign-drawn { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.record-sign-typed[hidden], .record-sign-drawn[hidden] { display: none; }
.record-tick { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font: 400 17px/26px var(--font-sans); color: var(--ink); cursor: pointer; overflow-wrap: anywhere; }
.record-tick input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--charcoal); }
.record-signer.is-blank { font-weight: 400; color: var(--ink-muted); }
.record-sign .record-quiet { margin-left: -10px; }
/* The pad: a line to sign on, the name under it, and the pen's own path. It takes the finger, so the page does not scroll under it. */
.record-pad { position: relative; align-self: stretch; height: 132px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--surface-100); touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; overflow: hidden; }
.record-ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.record-ink path { fill: none; stroke: var(--charcoal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.record-pad-rule { position: absolute; left: 16px; right: 16px; bottom: 34px; border-top: 1px solid var(--line-strong); pointer-events: none; }
.record-pad-hint { position: absolute; left: 0; right: 0; top: 38px; text-align: center; font: 400 15px/20px var(--font-sans); color: var(--ink-muted); pointer-events: none; }
.record-pad-hint[hidden] { display: none; }
.record-pad-name { position: absolute; left: 16px; right: 16px; bottom: 8px; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.record-pad-row { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }
.record-signed { margin: 0; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--mint-soft); font: 600 15px/22px var(--font-sans); color: var(--charcoal); overflow-wrap: anywhere; }
.record-signed[hidden] { display: none; }
.record-join-note, .record-terms, .record-join-free { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.record-join-free { text-align: center; }
.record-join-free strong { color: var(--charcoal); }
.record-join-send { min-height: 56px; border: 0; border-radius: var(--radius-md); font: 600 17px/24px var(--font-sans); cursor: pointer; }
.record-join-send:disabled { opacity: 0.6; cursor: default; }
.record-join-error { margin: 0; font: 400 15px/22px var(--font-sans); color: var(--warn); }
.record-join-error[hidden], .record-sent-told[hidden] { display: none; }
.record-sent { display: flex; flex-direction: column; gap: var(--space-3); }
.record-sent-row { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin-left: -10px; }
.record-sent-told { margin: 0; font: 600 15px/22px var(--font-sans); color: var(--charcoal); }
.record-join .talk-challenge { margin: 0; }

/* AK77: three more of the canvas's boards, all on the sheet. The count of units, where no county gives one:
   a number between two steps, under the record. A company on the record: a name for the state registry, what
   it found, and the two ways on. And a pending member's note, on the form and on "Check your email". */
.record-units { display: flex; flex-direction: column; gap: var(--space-2); }
.record-units-intro { margin: 0 0 var(--space-1); font: 400 15px/22px var(--font-sans); color: var(--ink); }
.record-units label { font: 600 15px/20px var(--font-sans); color: var(--charcoal); }
.record-units-row { display: flex; align-items: center; gap: var(--space-2); }
.record-units-row input {
  width: 88px; min-height: 48px; box-sizing: border-box; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); font: 600 18px/24px var(--font-sans); color: var(--charcoal); text-align: center;
}
.record-units-step { flex: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); cursor: pointer; }
.record-units-step svg { display: block; width: 24px; height: 24px; margin: auto; }
.record-units-step path { fill: none; stroke: var(--charcoal); stroke-width: 2.5; stroke-linecap: round; }
.record-units-row input:focus-visible, .record-units-step:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.record-registry { display: flex; flex-direction: column; gap: var(--space-3); }
.record-registry .button { border: 0; cursor: pointer; }
.record-registry .button:disabled { opacity: 0.6; cursor: default; }
.record-registry-result { display: flex; flex-direction: column; gap: var(--space-3); }
.record-registry-result[hidden] { display: none; }
.record-registry-not { align-self: flex-start; margin-left: -10px; }
.record-officer { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--mint-soft); }
.record-officer-name { font: 700 18px/24px var(--font-sans); color: var(--charcoal); overflow-wrap: anywhere; }
.record-officer-title { margin: 0; font: 400 15px/22px var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
.record-officer-label { color: var(--ink-muted); }
.record-join-pending { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-100); font: 400 15px/22px var(--font-sans); color: var(--ink); }
.record-join-pending[hidden] { display: none; }

/* -- The member code of ethics as a card over the page (Nick, Nov 21, 2026) ----------------
   The page's own <dialog>, opened by any link marked data-code-card. The dialog is the whole
   viewport and carries the dim itself (a ::backdrop does not transition everywhere); the sheet
   rises in on a sharp ease-out and drops back on a quicker ease-in. On a phone it is a sheet
   from the bottom edge. The script adds .is-in to arrive and .is-leaving to go. */
html.code-card-open { overflow: hidden; }
.code-card {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(28, 30, 28, 0);
  color: var(--ink);
  overflow: hidden;
  transition: background-color var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.code-card[open] { display: flex; align-items: flex-end; justify-content: center; }
.code-card::backdrop { background: transparent; }
.code-card.is-in { background: rgba(28, 30, 28, 0.42); }
.code-card.is-leaving { background: rgba(28, 30, 28, 0); transition-duration: var(--motion-quick, 120ms); transition-timing-function: var(--ease-in, cubic-bezier(0.4, 0, 1, 1)); }

.code-card-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: calc(100dvh - 40px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(28, 30, 28, 0.28), 0 2px 8px rgba(28, 30, 28, 0.08);
  outline: none;
  transform: translateY(100%);
  transform-origin: 50% 100%;
  transition: transform var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.code-card.is-in .code-card-sheet { transform: none; }
.code-card.is-leaving .code-card-sheet { transform: translateY(100%); transition: transform var(--motion-quick, 120ms) var(--ease-in, cubic-bezier(0.4, 0, 1, 1)); }

.code-card-head {
  position: relative;
  padding: 22px 64px 16px 20px;
  border-bottom: 1px solid var(--line);
}
.code-card-head h2 { margin: 0; font: 800 22px/28px var(--font-sans); letter-spacing: -0.015em; color: var(--charcoal); }
.code-card-head p { margin: 6px 0 0; font: 400 15px/22px var(--font-sans); color: var(--ink-muted); text-wrap: balance; }
.code-card-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-100);
  color: var(--charcoal);
  cursor: pointer;
  transition: background-color var(--motion-quick, 120ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), transform var(--motion-quick, 120ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (hover: hover) { .code-card-close:hover { background: var(--mint); } }
.code-card-close:active { transform: scale(0.92); }
.code-card-close:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.code-card-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }

.code-card-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
  font: 400 15px/23px var(--font-sans);
}
.code-card-body p { margin: 0 0 10px; }
.code-card-intro { color: var(--ink-muted); }
.code-card-pledges { list-style: none; counter-reset: pledge; margin: 0 0 20px; padding: 0; }
.code-card-pledges li {
  counter-increment: pledge;
  position: relative;
  padding: 12px 0 12px 40px;
  border-top: 1px solid var(--line);
}
.code-card-pledges li:first-child { border-top: 0; }
.code-card-pledges li::before {
  content: counter(pledge);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: #3b3b3b;
  font: 700 13px/26px var(--font-sans);
  text-align: center;
}
.code-card-pledges strong { display: block; font-weight: 700; color: var(--charcoal); }
/* The pledges arrive one after another, just behind the sheet, so the list reads as it is set down. */
.code-card.is-in .code-card-pledges li { animation: code-card-pledge 360ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.code-card.is-in .code-card-pledges li:nth-child(2) { animation-delay: 30ms; }
.code-card.is-in .code-card-pledges li:nth-child(3) { animation-delay: 60ms; }
.code-card.is-in .code-card-pledges li:nth-child(4) { animation-delay: 90ms; }
.code-card.is-in .code-card-pledges li:nth-child(5) { animation-delay: 120ms; }
.code-card.is-in .code-card-pledges li:nth-child(6) { animation-delay: 150ms; }
.code-card.is-in .code-card-pledges li:nth-child(7) { animation-delay: 180ms; }
.code-card.is-in .code-card-pledges li:nth-child(8) { animation-delay: 210ms; }
@keyframes code-card-pledge { from { opacity: 0; transform: translateY(8px); } }
.code-card-body h3 { margin: 4px 0 8px; font: 700 17px/24px var(--font-sans); color: var(--charcoal); }
.code-card-body > p:not(.code-card-intro) { color: var(--ink-muted); font-size: 14px; line-height: 21px; }
.code-card-page {
  display: inline-block;
  margin-top: 6px;
  font: 400 13px/20px var(--font-sans);
  color: var(--ink-muted);
  text-underline-offset: 3px;
}
@media (hover: hover) { .code-card-page:hover { color: var(--charcoal); } }


@media (prefers-reduced-motion: reduce) {
  /* One step more specific than the 1000px rules after it, so reduced motion holds at every width: a fade, no travel. */
  html .code-card-sheet, html .code-card.is-leaving .code-card-sheet { opacity: 0; transform: none; transition: opacity var(--motion-quick, 120ms) linear; }
  html .code-card.is-in .code-card-sheet { opacity: 1; transform: none; }
  html .code-card.is-in .code-card-pledges li { animation: none; }
}

@media (min-width: 1000px) {
  .talk-body { min-height: 100vh; display: flex; flex-direction: column; }
  .talk-body .topbar { padding-inline: max(clamp(24px, 6.25vw, 80px), calc((100% - 1280px) / 2 + 80px)); }
  .talk-body .topbar-actions { gap: 28px; }
  .talk-body .topbar a, .talk-renting { font: 600 15px/20px var(--font-sans); }
  .talk-body .topbar .wordmark img { width: 130px; height: 24px; }

  .talk {
    flex: 1;
    width: 100%; max-width: 1280px; margin: 0 auto;
    padding: 32px clamp(24px, 6.25vw, 80px);
    display: grid;
    /* The left column is as wide as the line; the right is the stage's room. */
    grid-template-columns: max-content minmax(0, 537px);
    column-gap: clamp(24px, 3.2vw, 48px);
    /* Space above the lockups, the lockups, space, the door: two parts above to three between,
       so the lockups sit a little above the middle and the door low, just over the footer. */
    grid-template-rows: minmax(16px, 2fr) auto minmax(48px, 3fr) auto;
    justify-content: center; align-items: center;
  }
  .talk-lead { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; min-width: 0; }
  /* Not a box here: the stage is the right lockup, and the sticker and the door are the page's own row. */
  .talk-show { display: contents; }
  .talk-stage { grid-column: 2; grid-row: 2; }
  .talk-extras { grid-column: 1 / -1; grid-row: 4; justify-self: center; }

  /* The association's line is longer than the campaign's was: the canvas sets it at 46/52 (AK72). */
  .talk-invited { align-self: flex-start; margin-bottom: 18px; text-align: left; }
  .talk-line { font: 800 46px/52px var(--font-sans); text-align: left; }
  .talk-sub { margin: 20px 0 0; text-align: left; }
  /* The box and its button keep the width the phone frame gives them, under the line. */
  #talk-form, .talk-lead .talk-challenge, .talk-lead .talk-error { width: 358px; max-width: 100%; }
  #talk-form { margin-top: 28px; }

  .talk-stage { width: 100%; max-width: 537px; height: 306px; margin-top: 0; }
  .talk-extras { width: 358px; max-width: 100%; margin: 0; }
  .talk-more {
    display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 16px 0;
    font: 600 15px/20px var(--font-sans); color: var(--charcoal); text-decoration: none;
  }

  /* The page goes on under the first screen now (AK72), so the first screen holds the window's height
     itself: the lockups a little above its middle and the door at its foot, as AK64 placed them. */
  .talk:not(.is-talking) { min-height: calc(100vh - 69px); }
  .join { margin-top: 0; padding: 80px clamp(24px, 6.25vw, 80px); }
  .join-block { padding: 40px; }
  .join-first { flex-direction: row; align-items: center; gap: 56px; }
  .join-words, .join-show { flex: 1 1 0; }
  .join-pair { flex-direction: row; }
  .join-pair .join-block { flex: 1 1 0; }
  .join-close { padding: 72px clamp(24px, 6.25vw, 80px); }
  .talk-foot { padding: 40px max(clamp(24px, 6.25vw, 80px), calc((100% - 1120px) / 2)) var(--space-8); }

  /* Frame N2: the conversation, one 620px column from the top. */
  .talk.is-talking {
    display: flex; flex-direction: column; flex: 1;
    /* The column is 620px whatever is in it: a short thread -- "Which one?" and three addresses -- is not shrunk to its words. */
    align-items: stretch;
    max-width: 620px; padding: 28px 0 32px;
  }
  .is-talking .talk-lead { display: flex; flex-direction: column; }
  .is-talking #talk-form, .is-talking .talk-lead .talk-challenge, .is-talking .talk-lead .talk-error { width: auto; }
  .is-talking #talk-form { margin-top: var(--space-6); }
  .is-talking #talk-form.is-again { margin: 0 0 14px; }
  .talk-said { max-width: 340px; }
  .talk-rail, .talk-figure-col { width: 168px; }
  .talk-figure { width: 168px; height: 164px; }
  .talk-figure svg { width: 168px; height: 168px; }
  .talk-tag { max-width: 188px; font: 600 15px/22px var(--font-sans); }
  /* The answers to a question, side by side: three across, as drawn. */
  .talk-msg.is-question .talk-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .talk-msg.is-question .talk-choice { min-height: 56px; padding: 8px var(--space-4); text-align: center; line-height: 22px; }
  /* AK74: the record sheet at desktop width. What was found and the question on the left, the sheet on the
     right, as the first screen had its line on the left and its stage on the right. */
  .talk.is-record { display: block; padding-top: 48px; padding-bottom: 64px; }
  .record {
    max-width: none; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 520px); grid-template-rows: auto 1fr;
    column-gap: 72px; row-gap: 28px; justify-content: center; align-items: start;
  }
  .record-lead { grid-column: 1; grid-row: 1; }
  .record-sheet { grid-column: 2; grid-row: 1 / span 2; }
  .record-actions { grid-column: 1; grid-row: 2; }
  .record-title { margin-top: var(--space-6); font: 800 40px/46px var(--font-sans); }
  .record-grid { padding: var(--space-4) 28px; }
  .record-body { padding: 28px; }
  .record-street { font: 700 36px/40px var(--font-sans); }
  /* AK76: the join form's headline, at the sheet's own size. */
  .record-join-title { font: 800 36px/42px var(--font-sans); }
  /* The code of ethics card: from here, a card in the middle of the page that rises in and settles back. */
  .code-card { padding: 24px; }
  .code-card[open] { align-items: center; }
  .code-card-sheet {
    max-width: 600px;
    max-height: min(760px, calc(100dvh - 48px));
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(28px) scale(0.965);
    transition:
      transform var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
      opacity var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
  }
  .code-card.is-in .code-card-sheet { opacity: 1; transform: none; }
  .code-card.is-leaving .code-card-sheet {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition:
      transform var(--motion-quick, 120ms) var(--ease-in, cubic-bezier(0.4, 0, 1, 1)),
      opacity var(--motion-quick, 120ms) var(--ease-in, cubic-bezier(0.4, 0, 1, 1));
  }
  .code-card-head { padding: 28px 72px 20px 32px; }
  .code-card-head h2 { font: 800 26px/32px var(--font-sans); }
  .code-card-close { top: 20px; right: 20px; }
  .code-card-body { padding: 20px 32px 28px; }
}
