/* Innovote public site: the Reveal design (docs/mockups/new-homepage/homepage-2-reveal), hand-written.
   Rules from the owner: headings and buttons at weight 600 at most, square nav items, buttons, pills and tags. Maven Pro, self-hosted, then system fonts. */
/* Maven Pro (SIL Open Font License, wwwroot/fonts/OFL.txt), self-hosted: weights 400 to 600, Latin and Latin Extended. */
@font-face { font-family: "Maven Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/maven-pro-latin-ext-400.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: "Maven Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/maven-pro-latin-400.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; }
@font-face { font-family: "Maven Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/maven-pro-latin-ext-500.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: "Maven Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/maven-pro-latin-500.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; }
@font-face { font-family: "Maven Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/maven-pro-latin-ext-600.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: "Maven Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/maven-pro-latin-600.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 {
  --night: #0e1736;
  --panel: #19265a;
  --edge: #34447f;
  --sun: #fdb813;
  --ink: #0e1736;
  --paper: #f6f7fb;
  --white: #fff;
  --soft: #c6cdea;
  --sky: #7cc4ff;
  --muted: #4a5375;
  --body-on-sun: #2a2f45;
  --link: #1b3fa8;
  --sans: "Maven Pro", "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --strong: 600;
  /* Buttons, pills, tags and the find box are square (owner decision 2026-11-17); circles and app mocks keep their shape. */
  --control-radius: 0;
  /* The mat behind a handbook figure: one step darker than the paper. */
  --mat: #e9ecf7;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--sans); color: var(--soft); background: var(--night); overflow-wrap: break-word; }
strong, b { font-weight: var(--strong); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.band-sun :focus-visible, .section-light :focus-visible { outline-color: #1b4fd6; }
.wrap { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: .6rem 1rem; z-index: 10; font-weight: var(--strong); }
.skip:focus { left: .5rem; top: .5rem; }

h1 { font-size: clamp(2.2rem, 1.2rem + 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; font-weight: var(--strong); color: var(--white); text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 1.1rem + 3vw, 2.9rem); line-height: 1.08; letter-spacing: -.025em; font-weight: var(--strong); text-wrap: balance; max-width: 22ch; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: var(--strong); letter-spacing: -.01em; }

/* Header */
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; min-height: 4.5rem; }
.logo img { height: 28px; width: auto; }
.top-nav { display: flex; flex-wrap: wrap; order: 3; flex-basis: 100%; gap: .25rem 1.25rem; padding-bottom: .8rem; }
.top-nav a, .top-login { color: var(--white); text-decoration: none; font-weight: var(--strong); font-size: .95rem; padding: .35rem 0; border-radius: 0; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--sun); }
.top-nav a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.top-login { margin-left: auto; border: 1.5px solid var(--edge); padding: .45rem 1.1rem; }
.top-login:hover { border-color: var(--sun); color: var(--sun); }
/* Product lockup: "by Innoscout" next to the Innovote logo, always the white Innoscout logo on the dark header. */
.lockup { display: inline-flex; align-items: center; gap: .35rem; align-self: center; margin-left: .6rem; padding-left: .6rem; border-left: 1px solid #4a5476; font-size: .8125rem; color: #c9cfe0; text-decoration: none; }
.lockup img { height: 16px; width: auto; }
.lockup:hover { color: var(--white); }
@media (min-width: 52rem) {
  .top-nav { order: 0; flex-basis: auto; margin-left: auto; gap: 0 1.6rem; padding-bottom: 0; }
  .top-login { margin-left: 0; }
}
/* Phones and tablets (docs/mockups/home-mobile/home-mobile-b): one row with the logo, the lockup and a square Menu button
   (a <details>, no script). The panel holds the main links, Sign in and the sign-up button, and sits in the page flow, so an
   open menu pushes the page down and never covers it (CSS cannot close it after a tap on an in-page link). */
.top-menu { display: none; }
@media (max-width: 51.99rem) {
  .top { border-bottom: 1px solid var(--edge); }
  .top-row { position: relative; min-height: 0; gap: 0 .75rem; padding: .5rem 6.25rem .5rem 0; }
  .top-row > .top-nav, .top-row > .top-login { display: none; }
  .logo { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .logo img { height: 24px; }
  .lockup { margin-left: 0; padding-left: .7rem; }
  .top-menu { display: block; flex: 0 0 calc(100% + 6.25rem); margin-right: -6.25rem; }
  .menu-btn { position: absolute; top: .5rem; right: 0; display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0 .85rem; border: 1.5px solid var(--edge); border-radius: var(--control-radius); color: var(--white); font-weight: var(--strong); font-size: .95rem; cursor: pointer; list-style: none; user-select: none; }
  .menu-btn::-webkit-details-marker { display: none; }
  .menu-btn:hover { border-color: var(--sun); color: var(--sun); }
  .menu-btn i { position: relative; width: 1rem; height: 2px; background: currentColor; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 1rem; height: 2px; background: currentColor; }
  .menu-btn i::before { top: -5px; }
  .menu-btn i::after { top: 5px; }
  .top-menu[open] .menu-btn { border-color: var(--sun); color: var(--sun); }
  .top-menu[open] .menu-btn i { background: transparent; }
  .top-menu[open] .menu-btn i::before { top: 0; transform: rotate(45deg); }
  .top-menu[open] .menu-btn i::after { top: 0; transform: rotate(-45deg); }
  .menu-panel { margin-top: .5rem; padding-bottom: .75rem; border-top: 1px solid var(--edge); }
  .menu-panel nav a { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; color: var(--white); text-decoration: none; font-weight: var(--strong); font-size: 1.05rem; border-bottom: 1px solid var(--edge); }
  .menu-panel nav a::after { content: ""; width: .5rem; height: .5rem; border-right: 2px solid var(--edge); border-top: 2px solid var(--edge); transform: rotate(45deg); margin-right: .25rem; }
  .menu-panel nav a:hover, .menu-panel nav a[aria-current] { color: var(--sun); }
  .menu-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: .75rem; margin-top: 1rem; }
  .menu-actions .btn { min-height: 3rem; padding: .5rem .75rem; }
}
@media (min-width: 30rem) and (max-width: 51.99rem) { .logo img { height: 28px; } .lockup { margin-left: .2rem; } }
/* Up to 384 px: the word does not fit next to the lockup, so the button is the icon alone (the word stays for screen readers). */
@media (max-width: 24rem) {
  .top-row { padding-right: 3.5rem; }
  .top-menu { flex-basis: calc(100% + 3.5rem); margin-right: -3.5rem; }
  .lockup { font-size: .75rem; gap: .3rem; padding-left: .6rem; }
  .lockup img { height: 14px; }
  .menu-btn { width: 2.75rem; padding: 0; justify-content: center; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Buttons (rounded is fine) */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 3.25rem; padding: .75rem 1.5rem; border-radius: var(--control-radius); border: 2px solid transparent; font-weight: var(--strong); font-size: 1.02rem; line-height: 1.15; text-decoration: none; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd04f; }
.btn-ghost { color: var(--white); border-color: var(--edge); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #1c2a63; }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: rgba(14, 23, 54, .08); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero and stage */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3.5rem, 7vw, 6rem); background: radial-gradient(60rem 30rem at 85% 0%, #24347a 0%, transparent 65%), var(--night); overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; } }
.kicker { display: inline-block; font-size: .82rem; font-weight: var(--strong); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-bottom: 1rem; }
.band-sun .kicker, .section-light .kicker { color: var(--ink); }
.lede { margin-top: 1.4rem; font-size: 1.2rem; max-width: 33rem; }
.hero .cta-row { margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-size: .95rem; }
.hero-sub { margin-top: 1rem; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; color: var(--white); max-width: 34rem; }
.stage { position: relative; padding-bottom: 5rem; }
.screen { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 1.1rem 1.1rem 1.25rem 1.1rem; padding-right: 13.75rem; color: var(--white); box-shadow: 0 0 0 6px rgba(253, 184, 19, .08), 0 40px 80px -40px #000; }
.screen-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-size: .88rem; font-weight: var(--strong); padding-bottom: .8rem; border-bottom: 1px solid var(--edge); }
.screen-head .count { margin-left: auto; color: var(--soft); font-variant-numeric: tabular-nums; }
.live { display: inline-flex; align-items: center; gap: .35rem; background: var(--sun); color: var(--ink); border-radius: 999px; padding: .1rem .6rem; font-weight: var(--strong); font-size: .78rem; }
.live i { width: .5rem; height: .5rem; border-radius: 50%; background: #c0261b; animation: pulse 1.6s ease-in-out infinite; }
.board { margin-top: .9rem; display: grid; gap: .7rem; }
.board li { display: grid; grid-template-columns: 1fr 2rem; gap: .25rem .5rem; align-items: center; font-size: .92rem; font-weight: var(--strong); }
.board li span { grid-column: 1 / -1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board li i { height: .8rem; border-radius: 99px; background: var(--sky); width: var(--w); transform-origin: left; animation: grow .9s cubic-bezier(.2, .8, .2, 1) var(--d) both; }
.board li:first-child i { background: var(--sun); }
.board li b { text-align: right; font-weight: var(--strong); font-variant-numeric: tabular-nums; }
.screen-link { margin-top: 1.1rem; font-size: .85rem; color: var(--soft); overflow-wrap: anywhere; }
.screen-link b { color: var(--white); font-weight: var(--strong); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board li i, .live i { animation: none; }
}
.phone { position: absolute; right: -.25rem; bottom: 0; width: min(13.5rem, 62%); transform: rotate(3deg); }
.phone-screen { background: var(--white); color: var(--ink); border: 8px solid #05091a; border-radius: 2rem; padding: 1.1rem .85rem .8rem; font-size: .82rem; box-shadow: 0 30px 60px -20px #000; }
.ph-event { font-size: .7rem; font-weight: var(--strong); color: var(--muted); }
.ph-q { font-size: 1.05rem; font-weight: var(--strong); letter-spacing: -.02em; line-height: 1.15; margin: .25rem 0 .55rem; }
.ph-opts { display: grid; gap: .35rem; }
.ph-save { margin-top: .6rem; background: var(--ink); color: var(--white); text-align: center; font-weight: var(--strong); padding: .55rem; border-radius: 999px; }
@media (max-width: 30rem) {
  .stage { padding-bottom: 0; }
  .screen { padding-right: 1.1rem; padding-bottom: 2rem; }
  .phone { position: relative; right: auto; margin: -.75rem auto 0; width: min(14.5rem, 78%); }
}

/* Option pills (ballot illustrations) */
.opt { border: 1.5px solid var(--edge); border-radius: 999px; padding: .5rem .9rem .5rem 2.4rem; position: relative; font-weight: var(--strong); }
.opt::before { content: ""; position: absolute; left: .8rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; border-radius: 50%; border: 2px solid var(--soft); }
.opt.on { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.opt.on::before { border-color: var(--ink); background: radial-gradient(var(--ink) 45%, transparent 50%); }
.phone .opt { border-color: #c9cee0; padding: .4rem .6rem .4rem 2rem; }
.phone .opt::before { left: .6rem; border-color: #8a91ad; }
.phone .opt.on { border-color: var(--sun); }
.phone .opt.on::before { border-color: var(--ink); }

/* Sections */
.band-sun { background: var(--sun); color: var(--ink); padding: clamp(3rem, 7vw, 5rem) 0; }
.section-dark { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-dark h2 { color: var(--white); }
.section-light { background: var(--paper); color: var(--muted); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-light h2, .section-light h3 { color: var(--ink); }
.section-light a:not(.btn) { color: var(--link); }
.section-lede { margin-top: 1rem; font-size: 1.15rem; max-width: 42rem; }
.fine { margin-top: 1.25rem; font-size: .98rem; max-width: 46rem; }
.cards { display: grid; gap: 1rem; margin-top: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 1.4rem; display: grid; gap: .6rem; align-content: start; color: var(--body-on-sun); }
.card-sun { background: var(--sun); }
.tag { justify-self: start; border-radius: var(--control-radius); padding: .1rem .7rem; font-size: .78rem; font-weight: var(--strong); background: var(--ink); color: var(--white); }

/* Run of show (docs/mockups/new-homepage/timeline-b): a vertical timeline, times on the left of the rail at every width.
   The dashed piece of the rail is the two weeks before the night. */
.run-grid { display: grid; gap: 2.25rem; }
@media (min-width: 62rem) { .run-grid { grid-template-columns: 1fr 1.7fr; gap: 4rem; align-items: start; } }
.timeline li { display: grid; grid-template-columns: 5.9rem 18px minmax(0, 1fr); column-gap: .8rem; }
.timeline .when { color: var(--ink); text-align: right; }
.timeline .when b { display: block; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.timeline .when span { display: block; margin-top: .2rem; font-size: .7rem; font-weight: var(--strong); letter-spacing: .05em; text-transform: uppercase; color: var(--body-on-sun); }
.timeline .rail { position: relative; }
.timeline .rail::before { content: ""; position: absolute; left: 7.5px; top: .5rem; bottom: -.5rem; border-left: 3px solid var(--ink); }
.timeline li:first-child .rail::before { border-left-style: dashed; }
.timeline li:last-child .rail::before { display: none; }
.timeline .rail::after { content: ""; position: absolute; left: 0; top: .15rem; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--sun); }
.timeline .body { padding-bottom: 2rem; }
.timeline li:last-child .body { padding-bottom: 0; }
.timeline p { color: var(--body-on-sun); font-size: 1rem; margin-top: .3rem; }
@media (min-width: 40rem) {
  .timeline li { grid-template-columns: 9.5rem 18px minmax(0, 1fr); column-gap: 1.5rem; }
  .timeline .when b { font-size: 1.6rem; }
  .timeline .when span { font-size: .78rem; letter-spacing: .07em; }
  .timeline .body { padding-bottom: 2.5rem; }
}

.tiles { display: grid; gap: 1rem; margin-top: 2.5rem; }
.tile { background: var(--panel); border: 1px solid var(--edge); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.tile h3 { color: var(--white); }
.tile-text { display: grid; gap: .6rem; align-content: start; }
@media (min-width: 44rem) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 2rem; }
  .tile-wide .tile-text { flex: 1.3; }
  .tile-wide .mini { flex: 1; }
}
@media (min-width: 66rem) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tile-wide { grid-column: span 2; flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .tile-wide .tile-text, .tile-wide .mini { flex: none; }
  .tile-wide .mini { margin-top: auto; }
}
.mini { font-size: .9rem; color: var(--white); margin-top: auto; }
.mini-choice { display: grid; gap: .45rem; }
/* Six digits on one row at every width: the cells shrink with the tile instead of wrapping (narrowest cell about 29 px, at 1056 px). */
.mini-pin { display: grid; grid-template-columns: repeat(6, minmax(0, 2.2rem)); gap: clamp(.2rem, 1.5%, .4rem); padding-top: .5rem; white-space: nowrap; }
.mini-pin i { font-style: normal; height: 3rem; border-radius: 10px; border: 1.5px solid var(--edge); display: grid; place-items: center; font-size: 1.3rem; font-weight: var(--strong); background: var(--night); }
.mini-pin i:last-child { border-color: var(--sun); }
/* Example scorecard: one entry, three criteria with their weight and a five-star score. */
.mini-score { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; font-variant-numeric: tabular-nums; }
.mini-score span { min-width: 0; padding: .4rem .6rem; border-top: 1px solid var(--edge); background: var(--night); align-self: stretch; display: flex; align-items: center; overflow: hidden; white-space: nowrap; }
.mini-score .head { border-top: 0; background: var(--edge); font-weight: var(--strong); }
.mini-score .head.name { grid-column: span 2; }
.mini-score .weight { color: var(--soft); font-size: .8rem; justify-content: flex-end; padding-inline: .2rem; }
.mini-score .stars { color: #4f5f9c; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; padding-left: .3rem; }
.mini-score .stars b { color: var(--sun); font-weight: 400; }
.mini-sheet { display: grid; grid-template-columns: 1fr auto auto; border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; font-variant-numeric: tabular-nums; }
.mini-sheet span { padding: .4rem .8rem; border-top: 1px solid var(--edge); background: var(--night); }
.mini-sheet span:nth-child(-n+3) { border-top: 0; background: #1f7a4a; font-weight: var(--strong); }
.mini-sheet span:nth-child(3n+2), .mini-sheet span:nth-child(3n) { text-align: right; border-left: 1px solid var(--edge); }

/* Pricing tickets */
.tickets { display: grid; gap: 1rem; margin-top: 2.5rem; }
.ticket { background: var(--white); border-radius: 16px; border: 2px solid var(--ink); display: grid; gap: 1.1rem; padding: 1.4rem; align-items: center; color: var(--ink); }
.ticket-free { background: var(--sun); }
.stub h3 { font-size: 1.35rem; }
.stub .sub { font-size: .9rem; color: var(--body-on-sun); }
.amount { font-size: 2.2rem; font-weight: var(--strong); letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.amount small { font-size: 1rem; letter-spacing: 0; }
.ticket-body { display: grid; gap: .7rem; justify-items: start; color: var(--body-on-sun); }
.ticks li { padding-left: 1.5rem; position: relative; }
.ticks li + li { margin-top: .3rem; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .35em; width: .5rem; height: .85rem; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
@media (min-width: 54rem) {
  .ticket { grid-template-columns: 13rem minmax(0, 1fr) auto; gap: 0; padding: 0; overflow: hidden; }
  .stub { padding: 1.5rem; }
  .ticket-body { padding: 1.5rem 1.75rem; border-left: 2px dashed var(--ink); align-self: stretch; align-content: center; position: relative; }
  .ticket > .btn { margin: 1.5rem 1.5rem 1.5rem 0; min-width: 14rem; }
}
.price-note { margin-top: 1.5rem; max-width: 46rem; color: var(--ink); }
.price-note strong { font-weight: var(--strong); }

/* Why it is free (Innoscout) */
.why-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 54rem) { .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.why h2 + p { margin-top: 1.25rem; }
.why a:not(.btn) { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.why-points { margin: 1rem 0 1.5rem; padding-left: 1.1rem; list-style: disc; line-height: 1.8; }
.why .btn img { height: 16px; width: auto; margin-left: .4rem; }
.why-shot { display: block; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.why-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* Cases (docs/mockups/new-homepage/use-cases-c): a royal blue band, the heading on the left, wide white cards with a sun edge.
   Text contrast: #dfe4f7 on the band 9:1, white 11.4:1; link blue on white 9:1. */
.section-cases { background: #24347a; color: #dfe4f7; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-cases h2 { color: var(--white); }
.cases-grid { display: grid; gap: 2.25rem; }
.cases { display: grid; gap: 1rem; }
.case { background: var(--white); color: var(--body-on-sun); border-left: 8px solid var(--sun); padding: 1.4rem 1.5rem; display: grid; gap: .9rem; }
.case h3 { color: var(--ink); margin: .6rem 0 .4rem; }
.case ul { display: grid; gap: .4rem; font-size: .95rem; color: var(--ink); }
.case li { padding-left: 1.3rem; position: relative; }
.case li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: currentColor; }
.case .more { margin-top: .7rem; font-size: .95rem; }
.case .more a { color: var(--link); font-weight: var(--strong); text-underline-offset: .2em; }
.fine a { text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 44rem) { .case { grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; } }
@media (min-width: 66rem) {
  .section-cases h2 { font-size: 2.3rem; }
  .cases-grid { grid-template-columns: 21rem minmax(0, 1fr); gap: 3rem; align-items: start; }
}
.proof-grid { display: grid; gap: 3rem; }
@media (min-width: 62rem) { .proof-grid { grid-template-columns: 1.2fr 1fr; gap: 4.5rem; } }
.big-quote { margin-top: 1.75rem; }
.big-quote p { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); line-height: 1.35; color: var(--white); font-weight: var(--strong); letter-spacing: -.01em; }
.big-quote footer { margin-top: 1rem; font-size: .95rem; }
.big-quote a { color: var(--sun); font-weight: var(--strong); }
.facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--edge); }
.facts dt { font-size: 1.9rem; font-weight: var(--strong); color: var(--sun); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }

/* FAQ (home accordion) */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }
.faq details { border-bottom: 2px solid var(--ink); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.75rem 1.1rem 0; font-weight: var(--strong); font-size: 1.1rem; color: var(--ink); position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .7rem; font-size: 1.7rem; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 2rem 1.25rem 0; }
.faq-more { margin-top: 1.5rem; }
.closing-row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.closing-copy { flex: 1 1 24rem; min-width: 0; }
.closing h2 { max-width: 20ch; }
.closing-sub { margin-top: .9rem; font-size: 1.15rem; color: var(--body-on-sun); max-width: 36rem; }

/* Footer (docs/mockups/new-homepage/footer-b): brand row on top, four labeled columns, the legal links in the base bar. */
.foot { padding: 3rem 0 1.5rem; font-size: .95rem; }
.foot a { color: var(--white); }
.foot-top { display: grid; gap: .25rem; padding-bottom: 2rem; border-bottom: 1px solid var(--edge); }
.foot-lockup { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 0; }
.foot-lockup > img { height: 24px; width: auto; }
.foot-lockup .lockup { margin-left: .7rem; padding-left: .7rem; }
.foot-about { margin-top: 1rem; max-width: 40rem; }
.foot-about a { text-decoration: underline; text-underline-offset: .2em; }
.foot h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); font-weight: var(--strong); }
.foot nav a { display: inline-block; padding: .3rem 0; text-decoration: none; border-radius: 0; }
.foot nav a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: .2em; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; padding-top: 2rem; }
.foot-cols ul { margin-top: .6rem; }
.foot-base { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; justify-content: space-between; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--edge); font-size: .88rem; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
@media (min-width: 44rem) { .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 60rem) {
  .foot-top { grid-template-columns: auto minmax(0, 1fr); gap: 3rem; align-items: center; }
  .foot-top .foot-about { margin-top: 0; justify-self: end; }
}
/* Phones: a lighter hero, full-width stacked buttons in the hero and the closing band, 44 px footer link rows. */
@media (max-width: 30rem) {
  .hero { padding-top: 1.5rem; }
  .hero .kicker { font-size: .75rem; letter-spacing: .06em; margin-bottom: .75rem; }
  .hero-sub { margin-top: .85rem; }
  .hero .lede { margin-top: .9rem; font-size: 1.0625rem; }
  .hero .cta-row { margin-top: 1.4rem; }
  .hero .cta-row, .closing .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn, .closing .cta-row .btn { width: 100%; }
  .closing .cta-row { flex: 1 1 100%; }
  .hero-note { font-size: .9rem; }
  .foot nav a { padding: .65rem 0; }
  .foot-cols ul { margin-top: .2rem; }
  .foot-legal { gap: 0 1.75rem; }
}

/* Inner pages: dark heading band, light reading area */
.page-head { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem); background: radial-gradient(60rem 24rem at 85% 0%, #24347a 0%, transparent 65%), var(--night); }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 3.5vw, 3.4rem); max-width: 24ch; }
.page-head .lede { max-width: 42rem; margin-top: 1rem; }
.section-light.page-body { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.prose { max-width: 46rem; }
/* /past-events (a Razor page in the generated shell): event cards with the logo, the month and the counts. */
.past-list { margin-top: 0; }
.past-logo { height: 3rem; width: auto; max-width: 10rem; object-fit: contain; object-position: left center; }
.past-list .past-name { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; max-width: none; }
.past-when, .past-stats { font-size: .95rem; }
.past-stats { color: var(--ink); font-variant-numeric: tabular-nums; }
.pager { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; align-items: center; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 1.9rem); margin-top: 2.5rem; max-width: none; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose a { text-decoration: underline; text-underline-offset: .2em; }
.prose strong { color: var(--ink); font-weight: var(--strong); }
.prose blockquote { border-left: 4px solid var(--sun); padding-left: 1.1rem; color: var(--ink); font-size: 1.15rem; }
.prose figure { margin-top: 1.5rem; }
.prose figure img, .prose > img { border: 1px solid #d5d9ea; border-radius: 8px; background: var(--white); }
.prose figcaption { margin-top: .4rem; font-size: .88rem; }
.prose .shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.prose code { font: .92em ui-monospace, Menlo, Consolas, monospace; background: #e7ebfb; padding: .05rem .3rem; border-radius: 4px; }
.prose .lead-in { font-size: 1.15rem; }

/* The Innovote handbook (docs/mockups/help-system): the index is a dark cue sheet of three chapters, each chapter one long
   page of numbered cues. No script: the A to Z list stands in for the mockup's find box, and the chapter contents are a
   plain list from 64rem and a <details> below it. */
.hb-head h1 { max-width: 20ch; }
.hb-head .lede { font-size: 1.2rem; }
.hb-crumbs { display: flex; flex-wrap: wrap; gap: .2rem .6rem; font-size: .92rem; margin-bottom: 1rem; }
.hb-crumbs a { color: var(--white); text-underline-offset: .25em; }
.hb-crumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--soft); }
.hb-find { max-width: 40rem; margin-top: 1.75rem; }
.hb-topics { background: var(--white); color: var(--ink); border-radius: var(--control-radius); }
.hb-topics summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 1rem; padding: .85rem 1rem; font-size: 1.05rem; font-weight: var(--strong); }
.hb-topics summary span { margin-left: auto; font-size: .88rem; font-weight: 400; color: var(--muted); }
.hb-topics summary::-webkit-details-marker { display: none; }
.hb-topics summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
.hb-topics[open] summary::after { content: "\2212"; }
.hb-az { border-top: 1px solid #d5d9e8; max-height: min(70vh, 34rem); overflow-y: auto; }
.hb-letters { display: flex; flex-wrap: wrap; padding: .35rem .6rem; border-bottom: 1px solid #d5d9e8; background: var(--white); }
.hb-letters a { min-width: 2rem; padding: .45rem .3rem; text-align: center; font-weight: var(--strong); color: var(--ink); text-decoration: none; }
.hb-az ul { padding: .25rem 1rem 1rem; }
.hb-az li { display: grid; gap: .1rem; padding: .5rem 0; border-bottom: 1px solid #e3e6f1; break-inside: avoid; }
.hb-az li.letter { padding: .9rem 0 .2rem; border-bottom: 2px solid var(--ink); font-weight: var(--strong); color: var(--muted); scroll-margin-top: .25rem; }
.hb-az li a { font-size: .9rem; color: var(--link); text-underline-offset: .2em; padding: .1rem 0; }
.hb-az a:hover, .hb-az a:focus-visible { background: #fff4d2; }
.hb-topics :focus-visible { outline-color: #1b4fd6; outline-offset: -3px; }
@media (min-width: 48rem) {
  .hb-topics[open] { width: min(100vw - 2.5rem, 60rem); }
  .hb-az ul { columns: 2; column-gap: 2rem; }
  .hb-letters { position: sticky; top: 0; z-index: 1; }
  .hb-az li.letter { scroll-margin-top: 3.5rem; }
}
@media (min-width: 64rem) { .hb-az ul { columns: 3; } }
.hb-tries { margin-top: .9rem; font-size: .95rem; display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.hb-tries a { color: var(--white); text-underline-offset: .25em; }

.hb-acts { padding: 0 0 clamp(3rem, 7vw, 5rem); }
.hb-act { display: grid; gap: 1rem; padding: clamp(2rem, 5vw, 3rem) 0; border-top: 1px solid var(--edge); }
.hb-act-no { display: flex; align-items: baseline; gap: .6rem; color: var(--sun); }
.hb-act-no span { font-size: .82rem; font-weight: var(--strong); letter-spacing: .08em; text-transform: uppercase; }
.hb-act-no b { font-size: clamp(3rem, 2rem + 5vw, 6rem); line-height: .85; letter-spacing: -.04em; }
.hb-when { font-size: .82rem; font-weight: var(--strong); letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: .5rem; }
.hb-act h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem); max-width: none; }
.hb-act h2 a { color: var(--white); text-decoration: none; }
.hb-act h2 a:hover { color: var(--sun); }
.hb-act-lede { margin-top: .7rem; max-width: 40rem; font-size: 1.1rem; }
/* The cues read down in columns, not across. */
.hb-cues { margin: 1.5rem 0 1.75rem; columns: 19rem; column-gap: 2rem; border-top: 1px solid var(--edge); }
.hb-cues li { break-inside: avoid; }
.hb-cues a { display: grid; grid-template-columns: 2.4rem 1fr; gap: .5rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid var(--edge); color: var(--white); text-decoration: none; font-weight: 500; line-height: 1.3; }
.hb-cues i { font-style: normal; color: var(--sun); font-weight: var(--strong); font-variant-numeric: tabular-nums; font-size: .95rem; }
.hb-cues a:hover { color: var(--sun); }
@media (min-width: 56rem) {
  .hb-act { grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; }
  .hb-act-no { flex-direction: column; gap: .9rem; }
}
.hb-two { display: grid; gap: 2rem; }
.hb-two > div:first-child p { margin-top: .8rem; max-width: 26rem; }
@media (min-width: 60rem) { .hb-two { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }
.hb-more { display: inline-block; margin-top: 1.25rem; font-weight: var(--strong); text-underline-offset: .25em; }
.hb-faq details { border-bottom: 2px solid var(--ink); }
.hb-faq details:first-of-type { border-top: 2px solid var(--ink); }
.hb-faq summary { cursor: pointer; list-style: none; padding: 1rem 2.75rem 1rem 0; font-weight: var(--strong); font-size: 1.08rem; color: var(--ink); position: relative; }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: "+"; position: absolute; right: .25rem; top: .6rem; font-size: 1.7rem; line-height: 1.2; }
.hb-faq details[open] summary::after { content: "\2212"; }
.hb-faq details p { padding: 0 2rem 1.2rem 0; }
.hb-contact { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: center; justify-content: space-between; color: var(--body-on-sun); }
.hb-contact h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.1rem); color: var(--ink); max-width: none; }
.hb-contact p { margin-top: .5rem; max-width: 40rem; }
.hb-contact a:not(.btn) { color: var(--ink); font-weight: var(--strong); }

/* Chapter pages and the appendix */
.hb-chapters { background: var(--night); border-top: 1px solid var(--edge); }
.hb-chapters .wrap { display: flex; flex-wrap: wrap; }
.hb-chapters a { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem .7rem; color: var(--white); text-decoration: none; font-weight: var(--strong); font-size: .95rem; border-bottom: 4px solid transparent; border-radius: 0; }
.hb-chapters a:first-child { padding-left: 0; }
.hb-chapters i { font-style: normal; color: var(--sun); }
.hb-chapters a:hover { border-bottom-color: var(--edge); }
/* Phones: two by two, every tab starting at the same edge. */
@media (max-width: 36rem) {
  .hb-chapters .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .hb-chapters a, .hb-chapters a:first-child { padding: .7rem 0 .55rem; font-size: .9rem; line-height: 1.25; }
}
.hb-chapters a[aria-current] { border-bottom-color: var(--sun); }
.hb { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.hb article { min-width: 0; }
.hb .prose { max-width: 48rem; font-size: 1.09rem; line-height: 1.62; }
.hb .prose .lead-in { font-size: 1.22rem; line-height: 1.5; color: var(--body-on-sun); }
.hb-toc h2 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; max-width: none; }
.hb-toc ol { border-top: 2px solid var(--ink); }
.section-light .hb-toc ol a { display: grid; grid-template-columns: 2.2rem 1fr; gap: .4rem; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid #d5d9e8; color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.section-light .hb-toc ol a:hover { color: var(--ink); background: var(--white); }
.hb-toc ol a i { font-style: normal; font-weight: var(--strong); color: var(--ink); font-variant-numeric: tabular-nums; }
.section-light .hb-toc ol.faq-index a { grid-template-columns: 1fr; padding-block: .45rem; font-size: .92rem; }
.hb-toc ol.faq-index .group { padding: .9rem 0 .35rem; font-size: .82rem; font-weight: var(--strong); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid #d5d9e8; }
.hb-toc-contact { margin-top: 1.25rem; font-size: .92rem; }
.hb-toc-wide { display: none; }
.hb-toc-fold > summary { cursor: pointer; font-weight: var(--strong); color: var(--ink); padding: .75rem 1rem; border: 1.5px solid var(--ink); background: var(--white); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.hb-toc-fold > summary::-webkit-details-marker { display: none; }
.hb-toc-fold > summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.hb-toc-fold[open] > summary::after { content: "\2212"; }
.hb-toc-fold > summary + ol { margin-top: .9rem; }
@media (min-width: 64rem) {
  .hb { grid-template-columns: 17rem minmax(0, 1fr); gap: 4rem; align-items: start; }
  .hb-toc-wide { display: block; position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; }
  .hb-toc-fold { display: none; }
}
.hb-check { background: var(--white); border: 2px solid var(--ink); padding: 1.25rem 1.4rem 1.4rem; margin-top: 1.75rem !important; }
.prose .hb-check h2 { margin: 0; font-size: 1.3rem; scroll-margin-top: 1rem; }
.prose .hb-check ul { list-style: none; padding: 0; margin-top: .9rem; }
.hb-check li { position: relative; padding-left: 2rem; color: var(--body-on-sun); }
.hb-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border: 2px solid var(--ink); background: var(--white); }
.hb-cue { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; margin-top: 3.25rem !important; padding-top: 1.5rem; border-top: 2px solid var(--ink); scroll-margin-top: 1rem; }
.hb-cue-no { background: var(--sun); color: var(--ink); font-weight: var(--strong); font-size: 1.25rem; line-height: 1; padding: .55rem .6rem; font-variant-numeric: tabular-nums; }
.prose .hb-cue h2 { margin: 0; color: var(--ink); }
.hb-where { font-size: .9rem; margin-top: .3rem; font-weight: var(--strong); color: var(--muted); }
/* Below 64rem the contents are folded at the top of the page: every cue has a way back to them. */
.hb-cue { grid-template-columns: auto 1fr auto; }
.prose .hb-up { align-self: center; font-size: .85rem; font-weight: var(--strong); text-underline-offset: .25em; }
.hb-toc-fold { scroll-margin-top: 1rem; }
@media (min-width: 64rem) { .hb-up { display: none; } }
/* A figure is a mat with the picture on it and the caption inside; a picture links to its full-size file. */
.prose .hb-shot { margin: 2rem 0 2.25rem; padding: 1.25rem; background: var(--mat); border: 1px solid #d5d9e8; }
.prose .hb-shot a { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
/* No width here: the width and height attributes reserve the place of a picture that has not loaded yet, so a jump to a cue lands on it. */
.prose .hb-shot img { max-width: 100%; border: 1px solid #c3c9e2; border-radius: 6px; background: var(--white); box-shadow: 0 1px 2px rgba(14, 23, 54, .08), 0 8px 24px -12px rgba(14, 23, 54, .25); }
.prose .hb-shot figcaption { margin-top: .9rem; padding: 0 .15rem; font-size: .9rem; line-height: 1.45; }
.hb-shot figcaption b { color: var(--ink); }
.prose .hb-phones .shots { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1rem; }
.hb-phones .shots > div { display: grid; gap: .45rem; flex: 1 1 8.5rem; max-width: 15rem; }
.hb-phones .shots span { font-size: .82rem; font-weight: var(--strong); color: var(--ink); text-align: center; }
.prose .hb-phones .shots img { width: 100%; }
@media (max-width: 40rem) {
  /* A thin mat on phones, so a screenshot of an organizer page keeps nearly the whole width. */
  .prose .hb-shot { padding: .4rem .4rem .7rem; margin: 1.5rem 0 1.75rem; }
  .prose .hb-shot figcaption { padding: 0 .35rem; }
  .prose .hb-phones .shots { gap: .5rem; }
}
.prose .hb-note { border-left: 4px solid var(--sun); background: var(--white); padding: .9rem 1.1rem; color: var(--body-on-sun); }
.hb-note b { color: var(--ink); }
.hb-related { margin-top: 3rem; max-width: 48rem; }
.hb-related > h2 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--ink); max-width: none; }
.hb-pager { display: grid; gap: 1rem; margin-top: 3rem; max-width: 48rem; }
.section-light .hb-pager a { display: grid; gap: .15rem; padding: 1rem 1.2rem; border: 2px solid var(--ink); background: var(--white); text-decoration: none; color: var(--ink); }
.hb-pager a:hover { background: var(--sun); }
.hb-pager span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: var(--strong); }
.hb-pager a:hover span { color: var(--body-on-sun); }
.hb-pager b { font-size: 1.12rem; line-height: 1.25; }
.hb-pager .next { text-align: right; }
@media (min-width: 36rem) { .hb-pager { grid-template-columns: 1fr 1fr; } }

.prose .faq-group { margin-top: 3.5rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); scroll-margin-top: 1rem; }
.prose .faq-group:first-child { margin-top: 0; }
.faq-list .q { scroll-margin-top: 1rem; padding-top: 1.5rem; margin-top: 2rem; border-top: 2px solid var(--ink); }
.faq-list .faq-group + .q { margin-top: .9rem; }
.faq-list h3 { margin-top: 0; font-size: 1.35rem; color: var(--ink); }
.faq-list p { margin-top: .6rem; }

.post-list article { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 1.4rem; }
.post-list h2 { font-size: 1.4rem; margin: 0; }
.post-list h2 a { text-decoration: none; }
/* Case study (docs/mockups/case-study/cs-4-combined): figures first, the problem, the comparison, the event as the home
   page's timeline, the results screenshot, the background and the verdict. Text and numbers: site/content/case-study.html. */
.cs-head { padding-bottom: 0; }
.cs-head h1 { max-width: 26ch; }
.cs-head .cta-row { margin-top: 1.75rem; }
.cs-facts { display: grid; gap: 1.25rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--edge); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.cs-facts dt { font-size: .78rem; font-weight: var(--strong); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-bottom: .4rem; }
.cs-facts dd { color: var(--white); font-weight: 500; line-height: 1.35; }
.cs-logo { height: 2.75rem; width: auto; background: var(--white); padding: .4rem .6rem; }
.cs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.75rem; border-top: 1px solid var(--edge); }
.cs-stats > div { padding: 1.4rem 1rem 1.6rem 0; border-bottom: 1px solid var(--edge); }
.cs-stats > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--edge); }
.cs-stats dt { font-size: clamp(2.8rem, 1.6rem + 6vw, 5.5rem); line-height: .9; letter-spacing: -.04em; font-weight: var(--strong); color: var(--white); font-variant-numeric: tabular-nums; }
.cs-stats dd { margin-top: .7rem; font-size: .98rem; line-height: 1.4; max-width: 17rem; }
.cs-stats .cs-hl dt { color: var(--sun); }
.cs-stats .cs-hl dd { color: var(--white); }
@media (min-width: 56rem) {
  .cs-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cs-stats > div { padding: 1.75rem 1.5rem 2.25rem 0; border-bottom: 0; }
  .cs-stats > div + div { padding-left: 1.5rem; border-left: 1px solid var(--edge); }
}
.cs-two { display: grid; gap: 2.25rem; }
@media (min-width: 62rem) { .cs-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4.5rem; align-items: start; } }
.cs-problem { align-items: center; }
.cs-quote { background: var(--night); color: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border-left: 8px solid var(--sun); }
.cs-quote blockquote p { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.75rem); line-height: 1.32; font-weight: 500; letter-spacing: -.01em; }
.cs-quote figcaption, .cs-who { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; font-size: 1rem; line-height: 1.4; color: var(--soft); }
.cs-quote figcaption img, .cs-who img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--sun); }
.cs-quote figcaption b, .cs-who b { color: var(--white); }
.section-light .cs-quote a, .cs-who a { color: var(--sun); }
.cs-setup { margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid #d5d9ea; }
.cs-note { margin-top: 1.75rem; padding-left: 1.1rem; border-left: 4px solid var(--sun); color: var(--ink); font-size: 1.08rem; }
.cs-note span { display: block; margin-top: .5rem; font-size: .92rem; color: var(--muted); }
/* The comparison: the figures stay "about", as in the interview; the bars and dots only repeat them. */
.cs-compare { display: grid; gap: 1rem; }
.cs-cmp { background: var(--white); border: 2px solid var(--ink); padding: 1.25rem 1.4rem 1.4rem; color: var(--ink); }
.cs-cmp h3 { font-size: 1.05rem; padding-bottom: .8rem; border-bottom: 1px solid #d5d9ea; }
.cs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: baseline; margin-top: 1rem; color: var(--muted); }
.cs-row b { font-size: 1.25rem; letter-spacing: -.02em; color: var(--muted); text-align: right; }
.cs-row.cs-us > span:first-child, .cs-row.cs-us b { color: var(--ink); font-weight: var(--strong); }
.cs-bar { grid-column: 1 / -1; height: 1rem; width: var(--w); min-width: .5rem; background: #b9c0dc; }
.cs-us .cs-bar { background: var(--sun); outline: 2px solid var(--ink); outline-offset: -2px; }
.cs-dots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }
.cs-dots i { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #b9c0dc; }
.cs-us .cs-dots i { background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }
@media (max-width: 30rem) { .cs-row { grid-template-columns: minmax(0, 1fr); } .cs-row b { text-align: left; } }
/* How the voting ran: the run of show timeline above, with a quote, a photo and an open dot for the survey at the end. */
.cs-run h2 { max-width: none; }
.cs-run .timeline { margin-top: clamp(2rem, 5vw, 3.25rem); }
.cs-run .timeline .body { min-width: 0; display: grid; gap: 1.25rem; }
.cs-step { max-width: 40rem; }
.cs-run .timeline h3 { font-size: clamp(1.2rem, 1rem + .9vw, 1.55rem); line-height: 1.2; }
.cs-run .timeline .cs-say { margin-top: 1rem; background: var(--white); border-left: 6px solid var(--ink); padding: .9rem 1.1rem; color: var(--ink); font-weight: 500; }
.cs-photo img { width: 100%; border: 2px solid var(--ink); }
.cs-run .timeline .cs-end .rail::after { background: var(--white); box-shadow: 0 0 0 4px var(--ink); }
.cs-run .timeline .cs-end .when b { font-size: 1.6rem; }
@media (min-width: 40rem) { .cs-run .timeline .cs-end .when b { font-size: 2.6rem; } }
@media (min-width: 66rem) { .cs-run .timeline .cs-media { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; } }
/* The results screenshot is taller than wide, so it stands beside its text. */
.cs-res { display: grid; gap: 2rem; align-items: center; }
.cs-res-text p { margin-top: 1rem; font-size: 1.1rem; max-width: 30rem; }
.cs-shot { max-width: 34rem; }
.cs-mat { background: var(--white); padding: clamp(.6rem, 2.5vw, 1.5rem); box-shadow: 0 30px 60px -30px #000; }
.cs-mat img { width: 100%; }
.cs-shot figcaption { margin-top: .75rem; font-size: .9rem; }
@media (max-width: 40rem) { .cs-shot { max-width: 24rem; } }
@media (min-width: 60rem) { .cs-res { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4rem; } .cs-shot { justify-self: end; width: 100%; } }
.cs-strip img { width: 100%; height: clamp(10rem, 22vw, 18.5rem); object-fit: cover; }
.cs-strip figcaption { margin-top: .4rem; font-size: .88rem; }
.cs-about { margin-top: 2.5rem; }
.cs-text > * + * { margin-top: 1rem; }
/* The verdict closes the page: the last sentence in sun, the sign-up button right under it. */
.cs-verdict .big-quote { margin-top: .25rem; max-width: 56rem; }
.cs-verdict .big-quote p { font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); line-height: 1.2; letter-spacing: -.02em; }
.cs-verdict .big-quote span { color: var(--sun); }
.cs-who { margin-top: 1.4rem; font-size: .98rem; }
.cs-verdict .cta-row { margin-top: 2.25rem; }
.quote-card { margin-top: 3rem; background: var(--panel); border: 1px solid var(--edge); border-radius: 18px; padding: 1.5rem; display: grid; gap: 1.25rem; }
.quote-card p { color: var(--white); font-size: 1.2rem; }
.section-light .post-list h2 a { color: var(--body-on-sun); }

/* Phase 2 pages: use cases, templates, compare */
.head-cta { margin-top: 1.75rem; }
.prose .rubric, .prose .compare { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: .98rem; color: var(--body-on-sun); background: var(--white); }
.rubric caption, .compare caption { text-align: left; font-weight: var(--strong); color: var(--ink); padding-bottom: .6rem; }
.rubric th, .rubric td, .compare th, .compare td { border: 1px solid #c3c9e2; padding: .6rem .75rem; text-align: left; vertical-align: top; }
.rubric thead th, .compare thead th { background: var(--ink); color: var(--white); font-weight: var(--strong); border-color: var(--ink); }
.rubric tbody th, .compare tbody th { color: var(--ink); font-weight: var(--strong); }
.rubric td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.print-only { display: none; }
.prose .note { border-left: 4px solid var(--sun); padding: .2rem 0 .2rem 1rem; }
@media (max-width: 40rem) {
  /* Stacked rubric rows on a phone: each criterion becomes a small card. */
  .rubric thead { position: absolute; left: -9999px; }
  .rubric tr, .rubric th, .rubric td { display: block; }
  .rubric tbody tr { border: 1px solid #c3c9e2; margin-top: .75rem; }
  .rubric th, .rubric td { border: 0; padding: .35rem .75rem; }
  .rubric tbody th { background: #e7ebfb; }
  .rubric td:nth-child(2)::before { content: "Weight: "; }
  .rubric td:nth-child(3)::before { content: "1 means: "; font-weight: var(--strong); }
  .rubric td:nth-child(4)::before { content: "5 means: "; font-weight: var(--strong); }
}

/* Printing a template page gives a score sheet: no header, footer, buttons or reading aids; the score column appears. */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .top, .foot, .skip, .btn, .cta-row, .no-print, .closing, .page-head .kicker { display: none !important; }
  .page-head, .section-light, .section-light.page-body { background: none; padding: 0; color: #000; }
  .page-head h1 { color: #000; font-size: 20pt; }
  .page-head .lede { color: #000; font-size: 11pt; }
  .wrap { width: 100%; }
  .prose { max-width: none; }
  .prose h2 { break-after: avoid; }
  .print-only { display: block; }
  td.print-only, th.print-only { display: table-cell; }
  .rubric { display: table; }
  .rubric thead { position: static; display: table-header-group; }
  .rubric tr { display: table-row; break-inside: avoid; }
  .rubric th, .rubric td { display: table-cell; border: 1px solid #000; color: #000; }
  .rubric thead th { background: none; color: #000; }
  .rubric td::before { content: none !important; }
  .score-box { width: 5.5rem; }
  .sheet-head { margin: 1rem 0; font-size: 12pt; }
  #rubric ~ h2, #rubric ~ h2 ~ * { display: none; }
  #rubric ~ .print-only { display: block; }
}
