/* Landing-page styles on top of the vendored design system (tokens, base type, button). Light only: the design system has no dark tokens. */

/* Theme: the colours and fonts of attendit-app ("Attendit Digest", attendit-app/src/routes/layout.css),
   mapped onto the design-system tokens. The vendored file stays unchanged; change the look here.
   Rules from the app: cream is the page and nothing else; white is the sheet; ink for text, links and borders;
   coral is a fill only (as text it is too light, text takes coral-text). */
:root {
  --digest-cream: #fef5e7;
  --digest-ink: #132a4f;
  --digest-muted: #5b6779;
  --digest-border: #dbe1e8;
  --digest-sunken: #f3f5f8;
  --digest-coral: #fd6e4b;
  --digest-coral-text: #b93d22;
  --digest-coral-tint: #feebe5;

  --att-paper: var(--digest-cream);
  --att-paper-2: #ffffff;
  --att-white: #ffffff;
  --att-brand-900: var(--digest-ink);
  --att-brand-700: var(--digest-ink);
  --att-brand-500: var(--digest-coral-text);
  --att-brand-300: var(--digest-coral);
  --att-brand-100: var(--digest-coral-tint);
  --att-brand-50: #fff6f2;
  --att-ink-900: var(--digest-ink);
  --att-ink-700: var(--digest-muted);
  --att-ink-100: var(--digest-border);
  --att-ink-50: var(--digest-sunken);

  --att-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --att-font-display: "Calistoga", Georgia, serif;
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
}
/* Headlines in Calistoga, as in the app. It has one weight, so no faux bold. */
h1, h2, .said, .stat-n { font-family: var(--att-font-display); font-weight: 400; }
/* The primary action: coral fill, ink text, bold (app Button "primary"). */
.att-button { background: var(--digest-coral); border-color: var(--digest-coral); color: var(--digest-ink); font-weight: 700; }
.att-button:hover { background: #fd8466; border-color: #fd8466; color: var(--digest-ink); }
a:hover { color: var(--digest-coral-text); }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 var(--att-space-5); }
header.top { padding-block: var(--att-space-5); }
header.top img { height: 2rem; width: auto; display: block; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--att-space-4); top: var(--att-space-4); padding: var(--att-space-2) var(--att-space-4); background: var(--att-white); border: var(--att-border); z-index: 1; }

h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: var(--att-space-6) 0 var(--att-space-4); }
h2 { font-size: var(--att-fs-xl); margin: var(--att-space-7) 0 var(--att-space-3); }
.sub { font-size: var(--att-fs-md); color: var(--att-ink-700); }
.note { color: var(--att-ink-700); font-size: var(--att-fs-sm); }

.points { list-style: none; padding: 0; }
.steps { padding-left: var(--att-space-5); }
.points li, .steps li { margin-bottom: var(--att-space-3); }

/* The rule marks where the action starts. No card box. */
.form-block { margin-block: var(--att-space-7); padding-top: var(--att-space-5); border-top: 2px solid var(--att-brand-700); }
.form-block h2 { margin-top: 0; }
.form-block form + .note { margin-top: var(--att-space-4); }

label { display: block; font-weight: 600; margin: var(--att-space-4) 0 var(--att-space-1); }
input[type=text], input[type=email], input[type=url], select {
  width: 100%;
  min-height: 44px;
  padding: var(--att-space-2) var(--att-space-3);
  font: inherit;
  color: var(--att-ink-900);
  background: var(--att-white);
  border: 1px solid var(--att-ink-500);
  border-radius: var(--att-radius-md);
}
::placeholder { color: var(--att-ink-500); }
.check { display: flex; gap: var(--att-space-3); align-items: flex-start; font-weight: 400; }
.check input { width: 1.5rem; height: 1.5rem; margin-top: 0; flex: none; }
.att-button { min-height: 44px; margin-top: var(--att-space-5); font-weight: 600; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--att-brand-700);
  outline-offset: 2px;
}
.hp { position: absolute; left: -9999px; }

details { border-top: var(--att-border); }
details:last-of-type { border-bottom: var(--att-border); }
summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
details p { margin-top: var(--att-space-2); }

footer { margin-top: var(--att-space-7); padding-block: var(--att-space-5) var(--att-space-7); border-top: var(--att-border); color: var(--att-ink-700); font-size: var(--att-fs-sm); }
footer a { color: inherit; display: inline-block; padding-block: 0.4rem; }

.fill { background: #fff3b0; color: #5a4300; padding: 0 0.2em; border-radius: 3px; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: var(--att-space-4); }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--att-space-2); }

.tagline { color: var(--att-ink-700); }

.form-block details { border: 0; margin-top: var(--att-space-2); }
.form-block details:last-of-type { border: 0; }

/* A visible cue that a row opens. The default marker is hidden by the flex layout. */
summary::after { content: "+"; margin-left: auto; padding-left: var(--att-space-3); font-weight: 400; font-size: var(--att-fs-lg); }
details[open] > summary::after { content: "\2013"; }
.form-block summary { font-weight: 400; color: var(--att-brand-700); text-decoration: underline; text-underline-offset: 0.18em; }
.form-block summary::after { content: none; }

/* Example briefing: a quote is verbatim from the tender (rule on the left), a source line is small. */
.items { list-style: none; padding: 0; }
.items li { margin-bottom: var(--att-space-5); }
blockquote { margin: var(--att-space-2) 0; padding-left: var(--att-space-4); border-left: 2px solid var(--att-brand-700); }
blockquote p { margin: 0; }
.src, .translation { color: var(--att-ink-700); font-size: var(--att-fs-sm); margin: var(--att-space-1) 0 0; }
.facts div { margin-bottom: var(--att-space-4); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }

/* Print: the example briefing becomes a clean checklist a team can work through. */
@media print {
  .skip, .lang, .att-button, footer, details summary::after { display: none; }
  body { background: #fff; font-size: 11pt; }
  .wrap { max-width: none; padding: 0; }
  .items li { break-inside: avoid; }
  li.doc::before { content: "\2610  "; font-size: 1.1em; }
  a { color: inherit; text-decoration: none; }
  details.howto { display: none; }
}

/* Minimal form: optional marks and hints are quiet; hidden means hidden. */
[hidden] { display: none; }
.opt { font-weight: 400; color: var(--att-ink-700); }
.hint { margin: var(--att-space-1) 0 0; color: var(--att-ink-700); font-size: var(--att-fs-sm); }

/* Home page. Fields of colour and space separate the sections, not rules. Motion is CSS only and every move has a reduced-motion fallback. */
body.home .wrap { max-width: 74rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; /* taste-skill-ignore: visually hidden text, not a rule */ clip-path: inset(50%); white-space: nowrap; }

/* Header: brand, section links (wide screens only, no script), language, call to action. */
header.top { flex-wrap: wrap; row-gap: var(--att-space-3); }
.brand { display: block; }
.top-end { display: flex; align-items: center; gap: var(--att-space-3); margin-left: auto; }
nav.site { display: none; }
@media (min-width: 56rem) {
  nav.site { display: flex; gap: var(--att-space-5); margin-left: var(--att-space-6); margin-right: auto; }
  nav.site a { display: inline-flex; align-items: center; min-height: 44px; color: var(--att-ink-700); text-decoration: none; }
  nav.site a:hover { color: var(--att-brand-700); text-decoration: underline; text-underline-offset: 0.18em; }
}
a.att-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; margin-top: 0; padding-inline: var(--att-space-5); transition: transform 120ms ease-out; }
a.att-button:active, .att-button:active { transform: translateY(1px); }
.cta { padding-inline: var(--att-space-4); }
@media (max-width: 39.99rem) { .cta { display: none; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--att-space-4); margin-top: var(--att-space-5); }
html { scroll-behavior: smooth; }
:target { scroll-margin-top: var(--att-space-5); }

/* Hero: the promise in two short lines, then the product working. */
.hero { padding-block: var(--att-space-5) var(--att-space-7); }
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; margin: var(--att-space-6) 0 var(--att-space-4); color: var(--att-brand-900); }
.hero h1 span { display: block; }
.hero .sub { max-width: 38rem; color: var(--att-ink-900); font-size: var(--att-fs-md); }
.hero .wrap + .wrap { margin-top: var(--att-space-7); }

/* The demo: tap a line in the briefing, see its source in the tender. Radios and labels, no script. */
.demo { margin: 0; padding: var(--att-space-5); min-width: 0; border: 0; background: var(--att-brand-100); position: relative; }
.pick { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; } /* taste-skill-ignore: visually hidden radio, not a rule */
.demo-grid { display: grid; gap: var(--att-space-4); }
@media (min-width: 48rem) { .demo { padding: var(--att-space-6); } .demo-grid { grid-template-columns: 1.15fr 1fr; gap: var(--att-space-5); align-items: start; } .pile { grid-column: 1 / -1; } }
@media (min-width: 72rem) { .demo-grid { grid-template-columns: 0.7fr 1.15fr 1fr; } .pile { grid-column: auto; } }
.tender, .brief, .pile { background: var(--att-white); padding: var(--att-space-5); }
/* The tender as a stack of sheets, with its table of contents. */
.pile { margin: 0 12px 12px 0; /* taste-skill-ignore: the stacked sheets are a drawn fragment (data-ui) */ box-shadow: 6px 6px 0 var(--att-white), 6px 6px 0 1px var(--att-brand-300), 12px 12px 0 var(--att-white), 12px 12px 0 1px var(--att-brand-300); }
.toc { list-style: none; padding: 0; margin: 0 0 var(--att-space-4); }
.toc-li { display: flex; justify-content: space-between; gap: var(--att-space-3); padding-block: var(--att-space-2); background: transparent; }
.toc-li + .toc-li { margin-top: 2px; }
.toc-li .meta { white-space: nowrap; }
.pane-h { margin: 0 0 var(--att-space-4); font-weight: 600; color: var(--att-ink-700); font-size: var(--att-fs-sm); }
.passage { margin: 0 0 var(--att-space-4); line-height: 1.55; }
.passage:last-child { margin-bottom: 0; }
.pg { display: block; font-size: var(--att-fs-sm); font-weight: 600; color: var(--att-ink-700); margin-bottom: 2px; }
.gloss { display: block; margin-top: var(--att-space-1); color: var(--att-ink-700); font-size: var(--att-fs-sm); }
mark { background: transparent; color: inherit; padding: 0 0.1em; transition: background-color 350ms ease-out; }
#f1:checked ~ .demo-grid .p1 mark, #f2:checked ~ .demo-grid .p2 mark, #f3:checked ~ .demo-grid .p3 mark { background: #fdcbbc; }
.brief-row { display: block; margin: 0 0 var(--att-space-2); padding: var(--att-space-3) var(--att-space-4); font-weight: 400; background: var(--att-ink-50); border-left: 4px solid transparent; cursor: pointer; transition: background-color 150ms ease-out, border-color 150ms ease-out; }
.brief-row strong { display: block; }
.brief-row span { display: block; margin-top: 2px; color: var(--att-ink-700); font-size: var(--att-fs-sm); }
.brief-row:hover { background: var(--att-brand-50); }
#f1:checked ~ .demo-grid label[for=f1], #f2:checked ~ .demo-grid label[for=f2], #f3:checked ~ .demo-grid label[for=f3] { background: var(--att-brand-100); border-left-color: var(--att-brand-700); }
#f1:focus-visible ~ .demo-grid label[for=f1], #f2:focus-visible ~ .demo-grid label[for=f2], #f3:focus-visible ~ .demo-grid label[for=f3] { outline: 3px solid var(--att-brand-700); outline-offset: 2px; }
.demo-hint { max-width: 46rem; margin-top: var(--att-space-4); }

/* The story: one flat dark field, one scene. */
.story { background: var(--att-brand-900); color: var(--att-paper); padding-block: var(--att-space-7); }
.story h2 { margin: 0 0 var(--att-space-5); font-size: clamp(1.75rem, 4vw, 2.25rem); color: var(--att-paper); }
.statement { max-width: 40rem; margin: 0 0 var(--att-space-4); font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.3; }
.story-end { margin: var(--att-space-5) 0 0; font-size: var(--att-fs-md); color: var(--att-brand-100); }

/* Sections: space, and a step in tone where two sit side by side. */
.band { padding-block: var(--att-space-7); }
.band h2 { margin: 0 0 var(--att-space-5); }
.tint { background: var(--att-paper-2); }

/* How it works: the call (what you do) and the answer (a piece of the product). */
.exchange { list-style: none; padding: 0; margin: 0 0 var(--att-space-5); display: grid; gap: var(--att-space-6); }
.step { display: grid; gap: var(--att-space-3) var(--att-space-6); margin: 0; }
.step-h { margin: 0; font-size: var(--att-fs-lg); font-weight: 600; }
.step-p { margin: 0; max-width: 36rem; }
.frag { padding: var(--att-space-4); background: var(--att-paper-2); border-radius: var(--att-radius-md); align-self: start; }
.fr-label { margin: 0; color: var(--att-ink-700); font-size: var(--att-fs-sm); }
.fr-value { margin: var(--att-space-1) 0 0; font-size: var(--att-fs-md); font-weight: 600; }
.fr-note { margin: var(--att-space-1) 0 0; color: var(--att-ink-700); font-size: var(--att-fs-sm); }
@media (min-width: 48rem) {
  .step { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
  .step-h, .step-p { grid-column: 1; }
  .frag { grid-column: 2; grid-row: 1 / span 2; }
}

/* FAQ rows: a white row on the tinted field, no lines. */
details { border: 0; background: var(--att-white); margin-bottom: var(--att-space-2); padding-inline: var(--att-space-4); }
details:last-of-type { border: 0; }
.form-block details { background: transparent; padding-inline: 0; margin-bottom: 0; }
#faq h2 { margin-bottom: var(--att-space-5); }

.team { list-style: none; padding: 0; display: grid; gap: var(--att-space-4); }
.person strong { display: block; font-size: var(--att-fs-md); }
@media (min-width: 40rem) { .team { grid-template-columns: repeat(3, 1fr); } }

/* Closing: one sentence, one action, plenty of quiet. */
.closing { padding-block: clamp(4rem, 18svh, 9rem); }
.closing h2 { margin: 0 0 var(--att-space-3); font-size: clamp(1.75rem, 3.2vw, 2.25rem); }

/* Footer: brand, legal, contact on a field of its own. */
footer.site-foot { margin-top: 0; border-top: 0; padding-block: var(--att-space-7); background: var(--att-paper-2); }
.foot { display: grid; gap: var(--att-space-6); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot-h { margin: 0 0 var(--att-space-2); font-weight: 600; color: var(--att-ink-900); }
.foot-brand img { height: 1.75rem; width: auto; margin-bottom: var(--att-space-2); }
@media (min-width: 40rem) { .foot { grid-template-columns: 2fr 1fr 1fr; } }

/* Motion: the headline lines rise one after the other; sections rise as they enter. Content is visible without any of it. */
@keyframes lift { from { transform: translateY(1.75rem); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: rise 900ms cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero h1 span + span { animation-delay: 110ms; }
  .hero .sub, .hero .actions { animation: rise 800ms 350ms cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  @supports (animation-timeline: view()) {
    .step, .person, .band h2, .closing h2, .demo, .statement, .stat, .form-block { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@media print { .demo, .story, .closing { display: none; } }

/* Second columns: every section uses the full width. Heading on the left, content on the right. */
.stat { margin: 0; }
.stat-n { margin: 0; font-size: clamp(7rem, 22vw, 16rem); line-height: 0.85; font-weight: 600; letter-spacing: -0.04em; color: var(--att-brand-300); }
.stat figcaption { max-width: 16rem; margin-top: var(--att-space-3); color: var(--att-brand-100); }
.tagline { max-width: 46rem; }
@media (min-width: 56rem) {
  .story .wrap { display: grid; grid-template-columns: 1.4fr 1fr; column-gap: var(--att-space-7); align-items: start; }
  .story .wrap > :not(.stat) { grid-column: 1; }
  .stat { grid-column: 2; grid-row: 1 / span 4; align-self: center; justify-self: end; }
  :is(#who, #faq, #product, .closing) > .wrap { display: grid; grid-template-columns: 1fr 2fr; column-gap: var(--att-space-7); align-items: start; }
  :is(#who, #faq, #product, .closing) > .wrap > h2 { grid-column: 1; grid-row: 1 / span 8; }
  :is(#who, #faq, #product, .closing) > .wrap > :not(h2) { grid-column: 2; max-width: 40rem; }
  #faq > .wrap > details { max-width: none; }
  .closing > .wrap { grid-template-columns: 2fr 1fr; }
  .form-block { display: grid; grid-template-columns: 1fr 1.4fr; column-gap: var(--att-space-7); align-items: start; }
  .form-block > h2 { grid-column: 1; grid-row: 1; }
  .form-block { grid-template-rows: auto auto 1fr; }
  .form-block > form, .form-block > .form-cta { grid-column: 2; grid-row: 1 / span 3; }
  .form-block > .note, .form-block > p { grid-column: 1; }
  .hero > .wrap:first-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--att-space-7); align-items: start; }
  .hero > .wrap:first-child h1 { grid-column: 1 / -1; }
  .hero > .wrap:first-child .sub { grid-column: 1; grid-row: 2 / span 2; margin: 0; }
  .hero > .wrap:first-child .actions { grid-column: 2; grid-row: 2; margin: 0; align-self: end; }
  .hero > .wrap:first-child .reassure { grid-column: 2; grid-row: 3; margin: var(--att-space-3) 0 0; max-width: 28rem; }
}

/* Story on a phone: the figure comes after the scene, with air around it. */
.story .wrap { display: grid; }
.stat { order: 4; margin-block: var(--att-space-5); }
.story-end { order: 5; }

/* What you get: four short statements, two by two. */
.value { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--att-space-5) var(--att-space-7); }
.value-li strong { display: block; margin-bottom: var(--att-space-1); font-size: var(--att-fs-lg); }
@media (min-width: 48rem) { .value { grid-template-columns: 1fr 1fr; } }

.reassure { margin-top: var(--att-space-3); max-width: 34rem; }

/* Product video: a plain 16:9 frame; the poster is the first frame of the film. */
.video { margin: 0 0 var(--att-space-4); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--att-brand-900); }
.video figcaption { margin-top: var(--att-space-2); }
.form-block > p { margin-top: 0; }

/* Documentation page for agents and developers: tables and a code excerpt. */
.table-wrap { overflow-x: auto; margin-block: var(--att-space-4); }
table { border-collapse: collapse; width: 100%; font-size: var(--att-fs-sm); }
th, td { text-align: left; vertical-align: top; padding: var(--att-space-2) var(--att-space-3); }
thead th { background: var(--att-ink-50); }
tbody tr:nth-child(even) { background: var(--att-paper-2); }
pre { overflow-x: auto; padding: var(--att-space-4); background: var(--att-paper-2); font-size: var(--att-fs-sm); line-height: 1.5; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; /* taste-skill-ignore: real code */ }

/* Concept mock of a chat with an embedded summary (docs page). A drawn fragment, not a product screenshot. */
.chat { display: grid; gap: var(--att-space-3); max-width: 34rem; margin: var(--att-space-4) 0; padding: var(--att-space-4); background: var(--att-ink-50); }
.bubble { margin: 0; padding: var(--att-space-3) var(--att-space-4); border-radius: var(--att-radius-lg); max-width: 92%; }
.bubble p { margin: 0 0 var(--att-space-2); }
.bubble.you { justify-self: end; background: var(--att-brand-100); }
.bubble.bot { background: var(--att-white); }
.bubble .toc { margin: 0; }

/* Concept page: mock-ups in a neutral chat frame (no vendor logos). Fragments are drawn, so they use data-ui. */
body.vision .wrap { max-width: 74rem; }
body.vision .wrap > p { max-width: 46rem; }
.chat-window { display: grid; gap: var(--att-space-3); max-width: 40rem; margin: var(--att-space-4) 0; padding: 0 var(--att-space-4) var(--att-space-4); background: var(--att-ink-50); }
.win-bar { margin: 0 calc(-1 * var(--att-space-4)) var(--att-space-2); padding: var(--att-space-2) var(--att-space-4); background: var(--att-ink-100); font-size: var(--att-fs-sm); color: var(--att-ink-700); }
.app-card { margin-top: var(--att-space-3); padding: var(--att-space-4); background: var(--att-paper-2); border-radius: var(--att-radius-md); }
.card-h { margin: 0; }
.card-actions { display: flex; flex-wrap: wrap; gap: var(--att-space-2); margin: var(--att-space-3) 0; }
.fake-btn { display: inline-flex; align-items: center; min-height: 36px; padding-inline: var(--att-space-3); background: var(--att-brand-700); color: var(--att-white); border-radius: var(--att-radius-sm); font-size: var(--att-fs-sm); font-weight: 600; }
.chat-window .check { margin: 0; }
/* Role views: four panes, one visible, chosen with radios (no script). */
.roles { margin: var(--att-space-4) 0; padding: var(--att-space-4); border: 0; min-width: 0; background: var(--att-brand-100); position: relative; }
.role-tabs { display: flex; flex-wrap: wrap; gap: var(--att-space-2); margin-bottom: var(--att-space-3); }
.role-tabs label { margin: 0; padding: var(--att-space-2) var(--att-space-4); min-height: 44px; display: inline-flex; align-items: center; background: var(--att-white); font-weight: 400; cursor: pointer; transition: background-color 150ms ease-out; }
.role-tabs label:hover { background: var(--att-brand-50); }
.rv-panes { background: var(--att-white); padding: var(--att-space-5); max-width: 40rem; }
.rv-pane { display: none; }
.rv-q { margin: 0 0 var(--att-space-3); font-size: var(--att-fs-lg); font-weight: 600; }
#rv-1:checked ~ .rv-panes .rv-1, #rv-2:checked ~ .rv-panes .rv-2, #rv-3:checked ~ .rv-panes .rv-3, #rv-4:checked ~ .rv-panes .rv-4 { display: block; }
#rv-1:checked ~ .role-tabs label[for=rv-1], #rv-2:checked ~ .role-tabs label[for=rv-2], #rv-3:checked ~ .role-tabs label[for=rv-3], #rv-4:checked ~ .role-tabs label[for=rv-4] { background: var(--att-brand-700); color: var(--att-white); }
#rv-1:focus-visible ~ .role-tabs label[for=rv-1], #rv-2:focus-visible ~ .role-tabs label[for=rv-2], #rv-3:focus-visible ~ .role-tabs label[for=rv-3], #rv-4:focus-visible ~ .role-tabs label[for=rv-4] { outline: 3px solid var(--att-brand-700); outline-offset: 2px; }

/* Concept page, part 2: status cells, tender block chips, caption. Status is always a word, colour only supports it. */
.check-table caption { text-align: left; padding: var(--att-space-2) var(--att-space-3); color: var(--att-ink-700); }
.st-ok { background: var(--att-sev-info-fill); }
.st-old { background: var(--att-sev-muss-fill); font-weight: 600; }
.st-miss { background: var(--att-sev-critical-fill); font-weight: 600; }
.two-tenders { display: grid; gap: var(--att-space-4); margin: var(--att-space-4) 0; }
@media (min-width: 48rem) { .two-tenders { grid-template-columns: 1fr 1fr; } }
.tender-mini { padding: var(--att-space-4); background: var(--att-white); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--att-space-2); padding: 0; margin: 0; }
.chip { display: block; padding: var(--att-space-1) var(--att-space-3); background: var(--att-brand-100); color: var(--att-ink-900); font-size: var(--att-fs-sm); border-radius: var(--att-radius-sm); margin: 0; }

.feas { max-width: 46rem; margin-top: var(--att-space-3); padding-left: var(--att-space-3); border-left: 3px solid var(--att-brand-300); color: var(--att-ink-700); font-size: var(--att-fs-sm); }

/* Emotion sections: the reader's own thoughts, and two ways to the submission (hoping or knowing). */
.thoughts { list-style: none; padding: 0; margin: 0 0 var(--att-space-5); display: grid; gap: var(--att-space-5) var(--att-space-7); }
@media (min-width: 48rem) { .thoughts { grid-template-columns: 1fr 1fr; } }
.thought { display: block; margin: 0; }
.said { margin: 0 0 var(--att-space-2); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.25; font-weight: 600; color: var(--att-brand-900); }
.reply { margin: 0; max-width: 28rem; color: var(--att-ink-900); }
.statement-end { margin: var(--att-space-5) 0 0; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.25; font-weight: 600; color: var(--att-brand-700); max-width: 40rem; }
.ways { display: grid; gap: var(--att-space-4); margin-top: var(--att-space-5); }
@media (min-width: 56rem) { .ways { grid-template-columns: 1fr 1.25fr; gap: var(--att-space-6); align-items: start; } }
.way { padding: var(--att-space-5); }
.way h3 { margin: 0 0 var(--att-space-4); font-size: var(--att-fs-lg); }
.way-without { background: var(--att-ink-100); }
.way-with { background: var(--att-brand-100); }
.way-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--att-space-4); }
.way-li { display: block; margin: 0; }
.time { display: block; font-weight: 600; color: var(--att-ink-700); font-size: var(--att-fs-sm); }
.mini { margin-top: var(--att-space-2); padding: var(--att-space-3); background: var(--att-white); }
.mini .toc { margin: 0; }
.toc-li.st-ok, .toc-li.st-old, .toc-li.st-miss { padding-inline: var(--att-space-2); }
.toc-li.st-old .meta, .toc-li.st-miss .meta { font-weight: 600; color: var(--att-ink-900); }

/* Storyboard of one evening: time and feeling on the left, the chat and the block that appears on the right. */
.frames { list-style: none; padding: 0; margin: var(--att-space-5) 0 0; display: grid; gap: var(--att-space-5); }
.frame { display: grid; gap: var(--att-space-2) var(--att-space-5); margin: 0; }
@media (min-width: 48rem) { .frame { grid-template-columns: 11rem 1fr; } }
.frame .time { margin: 0; font-size: var(--att-fs-md); color: var(--att-ink-900); }
.feel { display: block; font-weight: 600; color: var(--att-brand-700); }
.frame-chat { display: grid; gap: var(--att-space-2); max-width: 40rem; }
.frame-chat .bubble.you { justify-self: end; }
.statement-end + .note { margin-top: var(--att-space-4); }

/* Persona chooser: "I am ..." tabs choose which thoughts show. A choice by the reader, no script, all text stays in the page. */
.personas { margin: 0; padding: 0; border: 0; min-width: 0; position: relative; }
.pt-legend { padding: 0; margin-bottom: var(--att-space-3); font-weight: 600; color: var(--att-ink-700); }
.pt-tabs { display: flex; flex-wrap: wrap; gap: var(--att-space-2); margin-bottom: var(--att-space-5); }
.pt-tabs label { margin: 0; padding: var(--att-space-2) var(--att-space-4); min-height: 44px; display: inline-flex; align-items: center; background: var(--att-brand-100); font-weight: 400; cursor: pointer; transition: background-color 150ms ease-out; }
.pt-tabs label:hover { background: var(--att-brand-300); }
.pt-pane { display: none; }
#pt-1:checked ~ .pt-panes .pt-1, #pt-2:checked ~ .pt-panes .pt-2, #pt-3:checked ~ .pt-panes .pt-3, #pt-4:checked ~ .pt-panes .pt-4 { display: block; }
#pt-1:checked ~ .pt-tabs label[for=pt-1], #pt-2:checked ~ .pt-tabs label[for=pt-2], #pt-3:checked ~ .pt-tabs label[for=pt-3], #pt-4:checked ~ .pt-tabs label[for=pt-4] { background: var(--att-brand-700); color: var(--att-white); }
#pt-1:focus-visible ~ .pt-tabs label[for=pt-1], #pt-2:focus-visible ~ .pt-tabs label[for=pt-2], #pt-3:focus-visible ~ .pt-tabs label[for=pt-3], #pt-4:focus-visible ~ .pt-tabs label[for=pt-4] { outline: 3px solid var(--att-brand-700); outline-offset: 2px; }
@media print { .pt-pane { display: block; } .pt-tabs { display: none; } }

/* The forms now live in Tally or in an e-mail: a short list and one button take their place. */
.form-cta > p:first-child { margin-top: 0; }
.form-cta .att-button { margin-top: var(--att-space-3); }
.form-cta ul { padding-left: var(--att-space-5); }
.form-cta li { margin-bottom: var(--att-space-2); }
