/* Hallmark · shape: Conversational FAQ · genre: playful · theme: Arcade (deal 1/3, seed curso-presencial-para-gente-d083·5368c350·2026-12-01·r0) · job: subscribe · draw: 1abb78
 * hero: Counter (swapped from the drawn Ledge: the survey is the action and the visual) · nav: masthead · footer: letter close · imagery: one generated still (Antigravity) in the sala slot, tint accent · signature: the survey as a cabinet, live in the hero, one question a screen under a Silkscreen counter, answers as cursor rows · arcade: ember/grille
 * axes: dark/pixel/chromatic-ember · posture: full-palette · contrast: pass · fold: pass · v2.0.0
 * hero-review: fix, 5 findings, 5 resolved · finish-review: subagent, fix, 8 findings, 7 resolved, 1 open (the sala photo needs the owners' own picture) */
/* Hallmark · pre-emit critique: P5 H4 E4 S4 R4 V4 · weakest: S, a course with no syllabus could read as any course page; led with the fact that it does not exist yet and made the survey the signature */
/* Hallmark · dismissed 58 · the page total counts all nine survey screens, but script shows one question at a time and each window stays near 80 words */
/* Hallmark · dismissed 23 · the step counter is a Silkscreen figure in the acid ink, the theme names figures in its two inks as material */
@import url("./tokens.css");
@import url("./base.css");

/* Chrome */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.mast { border-bottom: var(--rule-bar) solid var(--color-rule); }
.mast__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: 72px; gap: var(--space-md); }
.mast__mark { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.02; text-transform: uppercase; text-decoration: none; color: var(--color-ink); white-space: nowrap; }
.mast__link { justify-self: end; font-weight: 700; font-size: var(--text-sm); color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-2); text-decoration-thickness: var(--rule-bar); text-underline-offset: 0.3em; white-space: nowrap; transition: color var(--dur-micro) var(--ease-out); }
.mast__link:hover, .link:hover { color: var(--color-accent-2); }
.mast__link:active, .link:active { color: var(--color-accent); }

/* Type */
h1, .foot__close { font-family: var(--font-display); font-weight: 400; line-height: 1.02; text-transform: uppercase; text-shadow: -1.5px 0 0 var(--color-crt-r), 1.5px 0 0 var(--color-crt-c); }
h2, h3 { font-family: var(--font-body); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.figure { font-family: var(--font-outlier); font-weight: 700; font-variant-numeric: tabular-nums; }
.lead { color: var(--color-ink-2); }
.link { color: var(--color-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--color-accent-2); text-decoration-thickness: var(--rule-bar); text-underline-offset: 0.25em; transition: color var(--dur-micro) var(--ease-out); }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-card); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 var(--color-accent-2); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--color-accent-2); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--quiet { background: transparent; color: var(--color-ink); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transform: none; transition: box-shadow var(--dur-micro) linear; } }

/* Sections */
.sec { padding-block: var(--section-gap) 0; }
.sec--duel { padding-top: var(--section-gap); }
.sec--room { padding-top: var(--section-gap); }
.sec--faq { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-rule); }

/* Hero: Counter, the survey is the visual */
.hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; min-height: calc(100dvh - 74px); padding-block: var(--space-xl); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero h1 { max-width: none; font-size: clamp(2.25rem, 4.2vw, 4rem); }

.crt { position: relative; isolation: isolate; }
.crt::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, color-mix(in oklab, var(--color-crt-r) 5%, transparent) 0 1px, color-mix(in oklab, var(--color-crt-g) 5%, transparent) 1px 2px, color-mix(in oklab, var(--color-crt-b) 5%, transparent) 2px 3px),
    repeating-linear-gradient(to bottom, transparent 0 2px, color-mix(in oklab, var(--color-shade) 16%, transparent) 2px 3px); }

/* The survey cabinet */
.cab { display: grid; gap: var(--space-lg); padding: var(--space-xl); box-shadow: var(--shadow-card); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); }
.cab__top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); }
.cab__count { display: flex; align-items: baseline; gap: var(--space-sm); }
.cab__count .figure { font-size: var(--text-display); line-height: 1; color: var(--color-accent-2); font-variant-numeric: tabular-nums; }
.cab__of { font-weight: 700; color: var(--color-muted); }
.cab__bar { height: 8px; background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-rule); overflow: hidden; }
.cab__bar > span { display: block; height: 100%; background: var(--color-accent); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform var(--dur-short) steps(1); }

.step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--space-lg); }
.js .step:not(.is-on) { display: none; }
.step__q { padding: 0; margin-bottom: var(--space-md); font-weight: 900; font-size: var(--text-2xl); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.step__hint { margin-top: calc(-1 * var(--space-md)); color: var(--color-muted); font-size: var(--text-sm); }
.step__sub { font-weight: 700; margin-top: var(--space-xs); }
html:not(.js) .step + .step { padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }

.opts { display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.opts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-lg); }
.opts--row { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-xs); border-top: 0; row-gap: var(--space-xs); }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.opts label { display: flex; align-items: center; min-height: 52px; padding: var(--space-xs) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font-weight: 700; cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.opts--row label { justify-content: center; text-align: center; border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); }
.opts label:hover { background: var(--color-paper-3); }
.opts input:checked + label { background: var(--color-accent); color: var(--color-accent-ink); }
.opts--row input:checked + label { border-color: var(--color-ink); }
.opts input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.opts input:disabled + label { opacity: 0.55; cursor: not-allowed; }
.opts input:checked + label::before { content: "►"; margin-right: var(--space-sm); font-family: var(--font-outlier); font-size: var(--text-sm); }
.opts--row input:checked + label::before { content: none; }

.field { display: grid; gap: var(--space-xs); }
.field label { font-weight: 700; font-size: var(--text-sm); }
.req { font-weight: 400; color: var(--color-muted); }
.input { width: 100%; min-height: 52px; padding: 0 var(--space-md); background: var(--color-paper); color: var(--color-ink); border: var(--rule-bar) solid var(--color-muted); border-radius: 0; outline: 2px solid transparent; outline-offset: -4px; transition: background-color var(--dur-micro) var(--ease-out); }
.input::placeholder { color: var(--color-muted); }
.input:hover { background: var(--color-paper-3); }
.input:focus-visible { outline-color: var(--color-focus); }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
.input[aria-invalid="true"] { border-color: var(--color-error); }
.input--area { min-height: 8rem; padding-block: var(--space-sm); resize: vertical; line-height: 1.5; }
.field__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }

.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); align-items: start; font-size: var(--text-sm); }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--color-accent); cursor: pointer; }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.check input[aria-invalid="true"] { outline: 2px solid var(--color-error); outline-offset: 2px; }
.check a { color: var(--color-ink); text-decoration-color: var(--color-accent-2); text-decoration-thickness: var(--rule-bar); }

.cab__nav { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; }
.cab__nav [data-next], .cab__nav [data-submit] { margin-left: auto; }
html:not(.js) .cab__nav [data-back], html:not(.js) .cab__nav [data-next] { display: none; }
.cab__help { min-height: 1lh; margin-top: calc(-1 * var(--space-xs)); font-size: var(--text-sm); color: var(--color-ink-2); }
.cab__help.is-error { color: var(--color-error); }

/* Two-player comparison */
.head-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.duel { display: grid; }
.duel__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; min-height: 88px; border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lg); font-weight: 700; }
.duel__row > [role="cell"] { padding: var(--space-md) var(--space-lg); }
.duel__row--head { min-height: 0; border-bottom: 0; align-items: end; }
.duel__row--head h3 { padding: var(--space-md) var(--space-lg); font-size: var(--text-section); background: var(--color-paper-2); }
.duel__p1 { color: var(--color-accent); border-top: 6px solid var(--color-accent); }
.duel__p2 { color: var(--color-accent-2); border-top: 6px solid var(--color-accent-2); }
.duel__k { color: var(--color-muted); font-size: var(--text-md); }
.duel__row > [role="cell"]:nth-child(2) { border-left: var(--rule-bar) solid var(--color-accent); }
.duel__row > [role="cell"]:nth-child(3) { border-left: var(--rule-bar) solid var(--color-accent-2); }
.duel__foot { margin-top: var(--space-xl); font-size: var(--text-lg); }

/* Why in person */
.room { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.room__text { display: grid; gap: var(--space-lg); }
.room__text h2 { max-width: 14ch; }
.room .who__rows { margin-top: var(--space-md); }
.room .who__row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding-block: var(--space-md); }
.room .who__row dt { font-size: var(--text-title); }
.room .who__row dd { font-size: var(--text-md); }
.room__photo { margin: 0; aspect-ratio: 4 / 3; min-height: 440px; border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); }

/* Who */
.who__rows { margin: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.who__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.who__row dt { font-weight: 900; font-size: var(--text-section); letter-spacing: -0.02em; line-height: 1; }
.who__row dd { margin: 0; font-size: var(--text-lead); color: var(--color-ink-2); max-width: 40ch; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.faq__list { border-top: var(--rule-bar) solid var(--color-ink); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 80px; padding-inline: var(--space-md); cursor: pointer; list-style: none; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-outlier); font-size: var(--text-2xl); line-height: 1; color: var(--color-accent-2); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.faq summary:hover::after { color: var(--color-accent-ink); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.faq summary h3 { font-size: var(--text-title); max-width: none; }
.faq__a { padding: 0 var(--space-md) var(--space-lg); font-size: var(--text-lg); color: var(--color-ink-2); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Footer: a letter close */
.foot { padding-block: var(--section-gap) var(--space-2xl); }
.foot__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--gap-columns); align-items: end; }
.foot__close { grid-column: 1; font-size: var(--text-display-s); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.foot__sign { grid-column: 2; font-weight: 700; font-size: var(--text-lead); color: var(--color-ink-2); }
.foot__in > .btn { grid-column: 1; justify-self: start; margin-top: var(--space-md); }
.foot__legal { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }
.foot__legal:first-of-type { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__legal a { color: var(--color-ink-2); }
.foot__legal a:hover { color: var(--color-accent-2); }

/* Under 60rem everything stacks in reading order */
@media (max-width: 60rem) {
  .hero__in { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .room__photo { min-height: 0; }
  .head-split, .room, .faq, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__close, .foot__sign, .foot__in > .btn { grid-column: 1; }
  .duel__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--space-md); font-size: var(--text-md); }
  .duel__row > .duel__k, .duel__row--head > :first-child { grid-column: 1 / -1; padding-top: var(--space-md); }
  .duel__row--head > :first-child { display: none; }
  .duel__row--head h3 { font-size: var(--text-xl); }
  .duel__row > [role="cell"] { padding: var(--space-xs) var(--space-sm) var(--space-md); }
  .who__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
}
@media (max-width: 40rem) {
  .cab { padding: var(--space-lg) var(--space-md); }
  .opts--two { grid-template-columns: minmax(0, 1fr); }
  .opts--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mast__in { grid-template-columns: minmax(0, 1fr) auto; }
  .mast__in > span:first-child { display: none; }
  .mast__mark { font-size: var(--text-sm); }
}
