/* The sign-up page (board/signup.html), version 1 of Look 2, copied from docs/sign-up-looks-2026-11-22/source/
   version-1-reel.html in the main checkout. Its look and motion are the drawing's, rule for rule; the rules after the
   line "The working form" at the end are new, for what the drawing's form didn't do. Its first comment follows.
   Version 1 in the new order (Nov 22). It is version-1-wide.html with its look and its motion kept, put in the order
   settled on: the headline, the line under it, the picture, the button, the form, three lines under the form, and a
   link to a longer page. The picture is the wide board the three texts land on, and after them the app's own phone
   screen for Cleanup, with the newest card arriving at its top.
   The look's basics are the variables in :root. Everything below uses them, so the app could take the same set. */
/* Since the brand build of Nov 26, 2026, the name and the headings are in Outfit and all other words are in Atkinson
   Hyperlegible. Outfit is under the SIL Open Font License 1.1. Its file comes from github.com/google/fonts (ofl/outfit),
   packed as WOFF2 by tools/fonts/ttf-to-woff2.mjs. Atkinson Hyperlegible is the app's own font, under the SIL Open Font
   License 1.1. The license files are beside the fonts in board/fonts. The words show in the fallback font at once and take
   these once they have come (font-display: swap), so a slow line never waits on a font to show a sentence. Atkinson
   Hyperlegible has a regular file and a bold file only: a weight of 500 draws with the regular file and a weight of 600
   with the bold file, and the page never lets a browser make a fake bold (font-synthesis on body). */
@font-face { font-family: "Outfit"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("fonts/outfit-wght.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/atkinson-hyperlegible-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/atkinson-hyperlegible-700.woff2") format("woff2"); }
:root {
  /* Typefaces (font files beside the page) */
  --font-display: "Outfit", system-ui, sans-serif;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, sans-serif;
  --font-app: "Atkinson Hyperlegible", system-ui, -apple-system, sans-serif;
  --weight-text: 400;
  --weight-label: 600;
  --weight-strong: 700;
  --weight-display: 800;

  /* Sizes of type (phone first; the laptop sizes are set in the media query at the end) */
  --text-s: 15px;       /* a hint under a box, the line beside the button, the foot of the page */
  --text-card: 15.5px;  /* the words in a text */
  --text-m: 17px;       /* body, what you type */
  --text-label: 16px;
  --text-l: 18px;       /* the button */
  --text-point: 17px;   /* the three lines under the form */
  --text-h1: min(34px, 8.75vw);
  --text-name: 17px;    /* the product's name at the top */
  --text-sub: 17px;     /* the line under the headline */
  /* The wide board in the picture. Its three lists always sit side by side, so its letters grow with the screen:
     12 px on a card at 390 px wide, never under 11.5 px, and the board's own 15 px from about 510 px wide up. */
  --text-wcard: clamp(11.5px, calc(2.5vw + 2.25px), 15px);
  --text-wlist: clamp(12px, calc(2.5vw + 2.75px), 16px);
  --text-wcount: clamp(11.5px, calc(2.5vw + 1.75px), 14px);
  --leading-display: 1.06;
  --leading-text: 1.5;
  --tracking-display: -.022em;

  /* Colors */
  --color-band: #0C1A33;
  --color-band-deep: #081226;
  --color-on-band: #FFFFFF;
  --color-on-band-quiet: rgba(255, 255, 255, .76);
  --color-page: #F5F7FA;
  --color-surface: #FFFFFF;
  --color-ink: #12151A;
  --color-muted: #545E6C;
  --color-line: #DDE3EA;
  --color-field: #C2CAD4;
  --color-field-hover: #9EA8B5;
  --color-accent: #1F5FA6;
  --color-on-accent: #FFFFFF;
  --color-ring: rgba(31, 95, 166, .2);
  --color-marker: #1F5FA6;
  --color-marker-edge: #143F70;
  --color-marker-soft: #DCE8F6;
  --color-on-marker: #FFFFFF;
  /* On the navy the board's blue stands at only 2.68 to 1, so a button and the line under a word there use a lighter
     blue of the same hue. It stands at 3.50 to 1 against the navy, and white letters on it stand at 4.96 to 1. Its
     pressed edge is the board's own blue. */
  --color-marker-on-band: #3471BC;
  --color-marker-edge-on-band: #1F5FA6;
  --color-focus-on-band: #FFFFFF;
  --color-list-cleanup: #5D6771;  /* each list keeps the color its place on the board had */
  --color-list-quote: #3B6A91;
  --color-list-followup: #755D85;
  --color-field-fill: #FBFCFD;
  --color-tick: #8F99A6;
  --color-board-grey: #EEF0F1;
  /* The phone screen in the picture takes the app's own colors (board/tokens.css) */
  --app-bg: #EEF0F1;
  --app-surface: #FFFFFF;
  --app-ink: #15171A;
  --app-muted: #5B626A;
  --app-wash: #FFF3C4;
  --app-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 6px rgba(16, 24, 40, .06);
  --app-raised: 0 12px 32px rgba(16, 24, 40, .18), 0 2px 6px rgba(16, 24, 40, .08);
  --color-phone-rim: #2B3A57;

  /* Spacing steps */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;
  --space-11: 96px;
  --gutter: 20px;
  --page-max: 1200px;
  --form-max: 560px;
  --band-overlap: 150px;

  /* Sizes to tap */
  --tap: 48px;
  --field-h: 56px;
  --button-h: 56px;

  /* Corners */
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --radius-text: 18px 18px 18px 5px;
  --radius-phone: 24px;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(18, 21, 26, .06), 0 1px 3px rgba(18, 21, 26, .1);
  --shadow-lift: 0 22px 34px -14px rgba(8, 18, 38, .55);
  --shadow-raised: 0 2px 4px rgba(8, 18, 38, .08), 0 28px 60px -24px rgba(8, 18, 38, .45);
  --shadow-button: inset 0 -4px 0 var(--color-marker-edge);
  --shadow-text: 0 8px 18px -10px rgba(0, 0, 0, .5);
  --shadow-bar: 0 6px 20px -10px rgba(0, 0, 0, .5);
  --shadow-phone: 0 24px 44px -18px rgba(0, 0, 0, .7);

  /* Motion */
  --ease-out: cubic-bezier(.2, .9, .2, 1);
  --ease-move: cubic-bezier(.65, 0, .25, 1);
  --ease-settle: cubic-bezier(.34, 1.5, .64, 1);
  --dur-press: 120ms;
  --dur-quick: 280ms;
  --dur-rise: 800ms;
  --dur-fly: 760ms;
  --dur-open: 380ms;
  --dur-fade-new: 1400ms;
  --stagger-word: 45ms;
  --delay-first: 100ms;
  --delay-short: 200ms;
  --dur-bar: 420ms;
  --dur-pop: 480ms;
  --dur-bump: 520ms;
  --dur-settle: 300ms;
  --dur-tick: 220ms;
  --dur-word: 700ms;
  --dur-scene: 820ms;   /* the board moving aside and the phone coming in */
  --dur-wash: 2s;       /* the app's own yellow wash on a new card */
  --rise-from: 28px;
}

* { box-sizing: border-box; }
/* one look, whether the device is set to light or to dark */
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; font-family: var(--font); font-size: var(--text-m); line-height: var(--leading-text); color: var(--color-ink); background: var(--color-page); -webkit-font-smoothing: antialiased; font-synthesis: style; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
a { color: var(--color-accent); }
.wrap { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--font-display); font-weight: var(--weight-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }


/* The name, set in type. Since the brand build of Nov 26, 2026, it is the logo in its version for a dark background: the
   2 pieces of the icon with no square, then the name in Outfit at weight 700 with a letter spacing of -0.01em. The
   pieces are 1.19 times as tall as the name's size, and the gap is 0.29 times. The first part of the name is white and
   the rest is the lighter blue; the worker fills in the 2 parts from the setting NAME (worker/src/logo.js). Since
   the brand changes of Nov 28, 2026, the rest of the name and the blue piece are #5B86B1, which has a contrast of 4.53
   to 1 on the navy. The drawing keeps #4C76A0, and the rule below gives the blue piece its fill. */
.name { color: inherit; text-decoration: none; font-size: var(--text-name); white-space: nowrap; }
.name.logo { gap: .29em; font-family: var(--font-display); font-weight: var(--weight-strong); letter-spacing: -.01em; line-height: 1; white-space: normal; min-width: 0; max-width: 100%; }
/* A long name wraps inside the page, at its spaces or, with none, anywhere (the brand build's fix round, fix 3) */
.logo-name { min-width: 0; overflow-wrap: anywhere; }
.logo-mark { flex: none; display: block; width: calc(1.19em * 72 / 88); height: 1.19em; }
.logo-mark path + path { fill: #5B86B1; }
.logo-lead { color: #FFFFFF; }
.logo-rest { color: #5B86B1; }

/* The bar that comes down once the button at the top has gone by, and goes up while the form is on screen */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; background: var(--color-band); color: var(--color-on-band); transform: translateY(-100%); transition: transform var(--dur-bar) var(--ease-out); }
.bar.down { transform: none; box-shadow: var(--shadow-bar); }
.bar-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.bar .btn { width: auto; height: var(--tap); padding: 0 16px 3px; font-size: var(--text-s); white-space: nowrap; border-radius: var(--radius-s); --shadow-button: inset 0 -3px 0 var(--color-marker-edge); }

/* Top of the page: the band with the headline, the line under it, the picture and the button */
.hero { color: var(--color-on-band); background: var(--color-band); padding-bottom: var(--space-7); }
.hero-top { height: 50px; display: flex; align-items: center; }
.h1 { font-size: var(--text-h1); padding-top: var(--space-1); text-wrap: balance; }
.h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.h1 .w > span { display: inline-block; }
.sub { margin-top: var(--space-3); font-size: var(--text-sub); line-height: 1.42; color: var(--color-on-band-quiet); text-wrap: pretty; max-width: 40em; }

/* The button at the top, with its one line beside it */
.cta { display: flex; align-items: center; gap: 14px; margin-top: var(--space-4); }
.cta .btn { flex: none; width: auto; padding: 0 22px 3px; }
.cta-line { font-size: var(--text-s); line-height: 1.35; color: var(--color-on-band-quiet); }
.cta-line .nw { white-space: nowrap; } /* each of its two sentences stays on a line of its own */

/* Buttons */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--button-h); padding-bottom: 3px; border: 0; border-radius: var(--radius-m); background: var(--color-marker); color: var(--color-on-marker); font: inherit; font-size: var(--text-l); font-weight: var(--weight-strong); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-button); transition: transform var(--dur-press) ease, box-shadow var(--dur-press) ease, filter var(--dur-press) ease; -webkit-tap-highlight-color: transparent; }
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 -1px 0 var(--color-marker-edge); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
/* A button on the navy (in the bar and at the top) is the lighter blue, so it stands out against the band */
.bar .btn, .cta .btn { background: var(--color-marker-on-band); --color-marker-edge: var(--color-marker-edge-on-band); }
.cta .btn { --shadow-button: inset 0 -4px 0 var(--color-marker-edge-on-band); }
.bar .btn:focus-visible, .cta .btn:focus-visible { outline-color: var(--color-focus-on-band); }

/* The picture. A text turns into a card and lands on the wide board, drawn the way the app's computer view looks
   (board/app/columns.css): the lists stand side by side, each with its name, its count in grey and a 3 px line in its
   own color under them, and the cards are white with round corners and no colored edge. Once the three texts are in,
   the board moves aside and the app's phone screen for Cleanup comes in beside it, and the newest card arrives at the
   top of that screen. On a phone there is room beside the phone screen for the board's Cleanup list only, so the board
   slides until Cleanup is the part that shows. */
.stage { --bw: min(286px, calc(100vw - 104px)); --wpad: 7px 8px 8px; --wradius: 8px; --wgap: 8px; --sp: 10px; position: relative; overflow: hidden; margin: var(--space-5) -10px 0; background: var(--color-band-deep); border-radius: var(--radius-xl); padding: var(--sp); display: grid; gap: 10px; }
.zone-msg { min-height: 104px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2px 6px; }
.bubble { width: var(--bw); font-size: var(--text-card); line-height: 1.38; padding: 10px 14px 11px; }
.bubble { position: relative; z-index: 3; background: var(--color-marker); color: var(--color-on-marker); font-weight: 500; border-radius: var(--radius-text); box-shadow: var(--shadow-text); transform-origin: top left; }
.motion .bubble { opacity: 0; transform: translateY(12px) scale(.92); transition: opacity var(--dur-quick) var(--ease-out), transform var(--dur-pop) var(--ease-settle); }
.motion .bubble.show { opacity: 1; transform: none; }
.bubbles { display: grid; }
.bubbles > .bubble { grid-area: 1 / 1; align-self: center; }
.wboard { position: relative; z-index: 2; background: var(--color-board-grey); color: var(--color-ink); border-radius: var(--radius-l); padding: 12px 8px 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; align-content: start; column-gap: 8px; transition: transform var(--dur-scene) var(--ease-move); }
.col { display: grid; grid-row: span 2; grid-template-rows: subgrid; min-width: 0; transition: opacity var(--dur-scene) ease; }
.col-head { display: flex; align-items: flex-end; gap: 6px; padding: 0 0 7px 3px; box-shadow: inset 0 -3px 0 var(--rail); }
.col-title { flex: 1 1 auto; min-width: 0; font-size: var(--text-wlist); line-height: 1.25; font-weight: var(--weight-strong); }
.col-title .nb { white-space: nowrap; }
.count { display: inline-block; margin-left: 2px; padding: 0 3px; border-radius: var(--radius-s); color: var(--color-muted); font-size: var(--text-wcount); font-weight: var(--weight-strong); }
.count.bump { animation: bump var(--dur-bump) var(--ease-settle); }
@keyframes bump { 40% { transform: scale(1.4) rotate(-4deg); color: var(--color-accent); background: var(--color-marker-soft); } }
.col-body { padding-top: 8px; min-width: 0; overflow: hidden; }
.slot { overflow: hidden; }
.motion .slot { height: 0; transition: height var(--dur-open) var(--ease-out); }
.bcard { position: relative; font-size: var(--text-wcard); line-height: 1.35; padding: var(--wpad); background: var(--color-surface); color: var(--color-ink); border-radius: var(--wradius); box-shadow: var(--shadow-card); margin-bottom: var(--wgap); overflow-wrap: break-word; }
/* A text on its way to its list: the box shrinks from the bubble's size to the card's, and the words as the bubble sets
   them shrink with it and fade out while the same words, set the way the card sets them, fade in. So the bubble seems to
   become the card. */
.flyer { position: absolute; z-index: 5; overflow: hidden; pointer-events: none; transform-origin: top left; }
.flyer > span { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow-wrap: break-word; }
.flyer .fa { padding: 10px 14px 11px; font-size: var(--text-card); line-height: 1.38; font-weight: 500; color: var(--color-on-marker); }
.flyer .fb { padding: var(--wpad); font-size: var(--text-wcard); line-height: 1.35; color: var(--color-ink); }
.bcard.new { transition: background-color var(--dur-fade-new) ease var(--delay-short), opacity var(--dur-quick) ease; }
.motion .bcard.new { opacity: 0; }
.motion .bcard.new.landed { opacity: 1; }
.bcard.new.washed { background: var(--color-marker-soft); transition: none; }

/* The second part of the picture: the board moves aside and the phone screen comes in at the right */
.scene2 .wboard { transform: translate(calc(-1 * var(--shift, 0px)), calc(-1 * var(--lift, 0px))); }
.scene2 .col.aside { opacity: 0; }
.phone { position: absolute; z-index: 4; top: var(--sp); bottom: var(--sp); right: var(--sp); width: var(--phw, 220px); border: 4px solid var(--color-phone-rim); border-radius: var(--radius-phone); background: var(--app-bg); overflow: hidden; box-shadow: var(--shadow-phone); opacity: 0; transform: translateX(40px); pointer-events: none; transition: opacity 420ms ease, transform var(--dur-scene) var(--ease-move); }
.scene2 .phone { opacity: 1; transform: none; transition-delay: 160ms, 0ms; }

/* The app's own phone screen for a list (board/app/app.css: .screen-bar, .back, .card, .done-btn, the composer), drawn
   at the app's real sizes and then made smaller to fit the frame. Only the app's own parts are drawn: the bar with Back,
   the list's dot, name and count, the cards with their circles, and the box to add a card. */
.ph { position: absolute; left: 0; top: 0; width: 360px; height: 600px; transform-origin: 0 0; padding: 0 12px; background: var(--app-bg); color: var(--app-ink); font-family: var(--font-app); font-size: 17px; line-height: 22px; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.ph-bar { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; }
.ph-back { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 18px 0 12px; border-radius: var(--radius-pill); background: var(--app-surface); font-weight: 700; box-shadow: var(--app-shadow); }
.ph-title { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 20px; line-height: 26px; font-weight: 700; }
.ph-dot { flex: none; width: 12px; height: 12px; border-radius: var(--radius-pill); background: var(--color-list-cleanup); }
.ph-count { color: var(--app-muted); }
.ph-count.bump { display: inline-block; animation: ph-bump var(--dur-bump) var(--ease-settle); }
@keyframes ph-bump { 40% { transform: scale(1.3); } }
.ph-slot { overflow: hidden; }
.motion .ph-slot { height: 0; transition: height var(--dur-open) var(--ease-out); }
.ph-card { display: flex; align-items: flex-start; margin-bottom: 10px; border-radius: 14px; background: var(--app-surface); box-shadow: var(--app-shadow); }
.ph-done { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 8px 0 8px 6px; }
.ph-circle { width: 26px; height: 26px; border: 3px solid var(--color-list-cleanup); border-radius: var(--radius-pill); background: var(--app-surface); }
.ph-text { flex: 1 1 auto; min-width: 0; padding: 14px 16px 14px 4px; font-size: 19px; line-height: 25px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.motion .ph-card.new { opacity: 0; transition: opacity var(--dur-quick) ease; }
.motion .ph-card.new.landed { opacity: 1; animation: ph-wash var(--dur-wash) cubic-bezier(.2, .7, .2, 1); }
@keyframes ph-wash { from { background-color: var(--app-wash); } }
.ph-composer { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: var(--app-bg); }
.ph-field { display: flex; align-items: center; gap: 2px; min-height: 56px; padding: 4px; border-radius: 28px; background: var(--app-surface); box-shadow: var(--app-raised); }
.ph-place { flex: 1 1 auto; min-width: 0; padding: 13px 8px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-add { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 48px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--app-ink); color: var(--app-surface); font-weight: 700; }

/* The form, in a white card that starts on the navy and comes down onto the light page */
.signup { background: linear-gradient(var(--color-band) 0, var(--color-band) var(--band-overlap), var(--color-page) var(--band-overlap)); padding: var(--space-2) 0 var(--space-9); }
.signup .wrap { max-width: calc(var(--form-max) + 2 * var(--gutter)); }
.form { color: var(--color-ink); background: var(--color-surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-raised); padding: var(--space-6) var(--space-5); display: grid; gap: var(--space-5); }
.field label { display: block; font-weight: var(--weight-label); font-size: var(--text-label); margin-bottom: var(--space-2); }
.field input { width: 100%; height: var(--field-h); padding: 0 var(--space-4); font: inherit; font-size: var(--text-m); color: var(--color-ink); background: var(--color-field-fill); border: 1.5px solid var(--color-field); border-radius: var(--radius-m); outline: none; -webkit-appearance: none; appearance: none; transition: border-color var(--dur-press) ease, box-shadow var(--dur-quick) var(--ease-out), background-color var(--dur-press) ease; }
.field input:hover { border-color: var(--color-field-hover); }
.field input:focus { border-color: var(--color-accent); background: var(--color-surface); box-shadow: 0 0 0 4px var(--color-ring); }
.hint { margin-top: var(--space-2); font-size: var(--text-s); line-height: 1.4; color: var(--color-muted); }
.tick { display: flex; align-items: center; gap: var(--space-3); min-height: var(--tap); cursor: pointer; font-size: var(--text-m); -webkit-tap-highlight-color: transparent; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { flex: none; width: 26px; height: 26px; border-radius: var(--radius-s); border: 2px solid var(--color-tick); display: grid; place-items: center; background: var(--color-surface); transition: background-color var(--dur-press) ease, border-color var(--dur-press) ease, transform var(--dur-settle) var(--ease-settle), box-shadow var(--dur-quick) var(--ease-out); }
.box svg { width: 18px; height: 18px; fill: none; stroke: var(--color-on-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset var(--dur-tick) ease 60ms; }
.tick:active .box { transform: scale(.86); }
.tick input:checked + .box { background: var(--color-accent); border-color: var(--color-accent); }
.tick input:checked + .box svg { stroke-dashoffset: 0; }
.tick input:focus-visible + .box { box-shadow: 0 0 0 4px var(--color-ring); }
.tick a { text-underline-offset: .18em; font-weight: var(--weight-label); }
.form .btn { height: 60px; }
.form-after { margin-top: calc(-1 * var(--space-2)); font-size: var(--text-s); line-height: 1.4; color: var(--color-muted); text-align: center; }

/* The three lines under the form, and the link to the longer page */
.points { list-style: none; display: grid; gap: var(--space-5); margin-top: var(--space-8); }
.points li { position: relative; padding-left: 26px; font-size: var(--text-point); line-height: 1.5; }
.points li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 10px; height: 10px; border-radius: 3px; background: var(--color-marker); }
/* One customer's sentence under the three lines: quiet, the same size as them, with a thin grey rule at its left and
   its words lined up with theirs, and who said it in small grey letters under it. No photo, no stars and no name. */
.said { margin: var(--space-7) 0 0; padding-left: 23px; border-left: 3px solid var(--color-field); }
.said blockquote { margin: 0; font-size: var(--text-point); line-height: 1.5; }
.said figcaption { margin-top: var(--space-2); font-size: var(--text-s); line-height: 1.4; color: var(--color-muted); }
.more { margin-top: var(--space-7); }
.more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--weight-strong); }

.foot { background: var(--color-band-deep); color: var(--color-on-band-quiet); font-size: var(--text-s); padding: var(--space-5) 0 var(--space-7); }
.foot-in { display: flex; flex-direction: column; gap: var(--space-1); }
.foot nav { display: flex; gap: var(--space-6); }
.foot nav a { color: var(--color-on-band); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Motion: the headline's words come up from behind a line one by one; parts rise into place as they come into view.
   The headline is plain white letters with nothing drawn under any word, as picked on Nov 22. */
.motion .h1 .w > span { transform: translateY(125%); animation: up var(--dur-word) var(--ease-out) forwards; animation-delay: calc(var(--delay-first) + var(--i) * var(--stagger-word)); }
@keyframes up { to { transform: none; } }
.motion [data-rise] { opacity: 0; transform: translateY(var(--rise-from)); transition: opacity var(--dur-rise) var(--ease-out) var(--d, 0s), transform var(--dur-rise) var(--ease-out) var(--d, 0s); }
.motion [data-rise].in { opacity: 1; transform: none; }

/* A narrow phone: the line beside the button goes under it, so it never takes three lines */
@media (max-width: 374px) {
  .cta { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .cta .btn { width: 100%; }
  .cta-line { text-align: center; }
}

/* A wider screen has room for the light "+" the real board puts beside a list's name. It is drawn, not typed. */
@media (min-width: 600px) {
  .col-head::after { content: ""; flex: none; width: 13px; height: 13px; margin: 0 6px 4px 0; opacity: .75; background: linear-gradient(var(--color-muted), var(--color-muted)) center / 13px 2px no-repeat, linear-gradient(var(--color-muted), var(--color-muted)) center / 2px 13px no-repeat; }
}

/* A laptop */
@media (min-width: 900px) {
  :root {
    --text-h1: 64px;
    --text-name: 18px;
    --text-sub: 20px;
    --text-point: 18px;
    --gutter: 40px;
    --band-overlap: 170px;
    --button-h: 60px;
  }
  .hero-top { height: 76px; }
  .h1 { max-width: 1000px; padding-top: var(--space-3); }
  .sub { margin-top: var(--space-4); }
  .stage { --bw: 252px; --wpad: 10px 12px 11px; --wradius: 10px; --wgap: 10px; --sp: 20px; margin: var(--space-7) 0 0; grid-template-columns: 284px minmax(0, 1fr); min-height: 376px; padding: var(--space-5); gap: var(--space-5); }
  .zone-msg { align-items: center; min-height: 0; padding: 0; }
  .wboard { padding: var(--space-6) var(--space-5) var(--space-3); column-gap: var(--space-4); }
  .col-head { padding: 0 0 9px 4px; }
  .col-body { padding-top: 12px; }
  .cta { margin-top: var(--space-6); gap: var(--space-5); }
  .cta .btn { padding: 0 28px 3px; }
  .cta-line { font-size: 17px; }
  .hero { padding-bottom: var(--space-9); }
  .form { padding: var(--space-7); gap: 22px; }
  .signup { padding-bottom: var(--space-11); }
  .foot-in { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- The working form (new; the drawing's form did nothing) ---------------------------------------------------------- */
/* the name at the top and the link at the bottom are 48 px tall to tap, as the drawing's other targets are, with no
   change to how they look */
.name { display: inline-flex; align-items: center; min-height: var(--tap); }
.more a, .foot nav a { min-height: var(--tap); }
.foot nav a { min-width: var(--tap); }
:root { --color-bad: #B42318; --color-bad-soft: #FEF3F2; }
/* the box a person never sees: a page that fills it in is not a person */
.trap { display: none; }
/* a sentence about one box, right under it, and the box marked */
.err { margin-top: var(--space-2); font-size: var(--text-s); line-height: 1.4; font-weight: var(--weight-label); color: var(--color-bad); }
.err[hidden] { display: none; }
.field input[aria-invalid="true"] { border-color: var(--color-bad); box-shadow: 0 0 0 3px var(--color-bad-soft); }
.tick input[aria-invalid="true"]:not(:checked) + .box { border-color: var(--color-bad); box-shadow: 0 0 0 4px var(--color-bad-soft); }
.tick-wrap .err { margin-top: 0; }
/* the sentence with scripts off sits at the top of the form */
.form > .err { margin: 0; }
/* Turnstile, Cloudflare's check: its box is 300 px wide, so on a phone it may use the form's side padding to fit, and it
   takes the compact size where even that is too narrow (signup.js). It keeps its height while it loads. */
.check { min-height: 65px; margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-3)) 0; }
.check:empty { min-height: 0; margin-top: 0; }
.check .check-note { margin: 0 var(--space-3); font-size: var(--text-s); line-height: 1.4; color: var(--color-muted); }
.btn:disabled { cursor: default; filter: saturate(.7) brightness(.95); }
/* what the page says after a tap, under the button */
.said:empty { display: none; }
.said { margin-top: calc(-1 * var(--space-2)); font-size: var(--text-m); line-height: 1.45; }
.said p + p { margin-top: var(--space-2); }
.said[data-tone="bad"] p:first-child { color: var(--color-bad); font-weight: var(--weight-strong); }
.said a { overflow-wrap: anywhere; }
/* while sign-up is closed, the form's place says so */
.form.closed { gap: var(--space-3); font-size: var(--text-m); }
.form.closed:focus { outline: none; }
.form.closed a { overflow-wrap: anywhere; font-weight: var(--weight-label); }
@media (min-width: 900px) {
  .check { margin: calc(-1 * var(--space-1)) 0 0; }
  .check .check-note { margin: 0; }
}
