/* Beta pages: the Saint Hertz home and the tester page. Same tokens as the product pages. */
.b-tag { display: inline-block; padding: 0.5rem 0.85rem; background: var(--accent); color: var(--accent-ink); font-size: var(--step-small); font-weight: 700; letter-spacing: 0.02em; max-width: none; }
.b-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.b-section { padding-block: var(--section) 0; }
.b-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.b-head > :first-child { grid-column: 1 / span 7; }
.b-head > p { grid-column: 9 / span 4; color: var(--muted); }

/* hero: the five vertical scenes side by side under the title */
.b-hero { position: relative; min-height: min(72svh, 720px); padding-top: calc(var(--header-h) + 2rem); display: grid; align-items: end; overflow: hidden; background: var(--stage); padding-bottom: clamp(3rem, 8vw, 6rem); }
.b-hero__strip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.b-hero__strip video { width: 100%; height: 100%; object-fit: cover; }
.b-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 8%, rgba(11, 12, 14, 0.55) 55%, rgba(11, 12, 14, 0.35)); pointer-events: none; }
.b-hero__content { position: relative; z-index: 1; display: grid; gap: 1.75rem; justify-items: start; }
.b-hero h1 { max-width: 12ch; }
.b-hero .lead { max-width: 36ch; }

/* plugin line-up: numbered slots, pending ones dimmed */
.b-plugins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 2px; background: var(--bg); }
.b-plugin { display: grid; gap: 0.5rem; align-content: end; min-height: 15rem; padding: 1.5rem; background: var(--surface); }
.b-plugin__n { color: var(--accent); font-weight: 700; margin-bottom: auto; }
.b-plugin h3 { font-size: var(--step-lead); }
.b-plugin.is-pending { background: transparent; box-shadow: inset 0 0 0 1px var(--surface-2); }
.b-plugin.is-pending h3 { color: var(--muted); }

.b-plugin.has-media { padding: 0; min-height: 0; align-content: stretch; }
.b-plugin.has-media a { display: grid; gap: 0.5rem; height: 100%; padding: 0 1.5rem 1.5rem; text-decoration: none; grid-template-rows: auto auto auto 1fr; }
.b-plugin.has-media img { width: calc(100% + 3rem); max-width: none; height: auto; margin: 0 -1.5rem 0.75rem; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; transition: transform 600ms var(--ease-out); }
.b-plugin.has-media { overflow: hidden; }
.b-plugin__ph { display: grid; place-items: center; margin: 0 -1.5rem 0.75rem; aspect-ratio: 16 / 10; padding: 1rem; background: radial-gradient(circle at 30% 20%, rgba(170, 122, 255, 0.28), transparent 60%), var(--stage); font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.03em; color: rgba(236, 231, 255, 0.35); text-align: center; }
@media (hover: hover) and (pointer: fine) { .b-plugin.has-media a:hover img { transform: scale(1.03); } .b-plugin.has-media a:hover h3 { color: var(--accent); } }
.b-plugin__meta { display: flex; align-items: baseline; gap: 0.75rem; }
.b-plugin__tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Plugin line-up on home and /plugins/: full-width rows, copy on one side, framed screenshot on the other, sides alternating. */
.b-rows { display: block; margin-top: clamp(3rem, 6vw, 5rem); background: none; border-top: 1px solid var(--surface-2); counter-reset: plug; }
.b-rows .b-plugin, .b-rows .b-plugin.has-media { min-height: 0; padding: 0; background: none; overflow: visible; border-bottom: 1px solid var(--surface-2); }
.b-rows .b-plugin.has-media a { display: grid; height: auto; padding: clamp(3.5rem, 9vw, 8rem) 0; column-gap: clamp(1.5rem, 5vw, 6rem); row-gap: 1.25rem;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: 1fr auto auto auto 1fr; grid-template-areas: ". img" "meta img" "name img" "what img" ". img"; }
.b-rows .b-plugin.has-media:nth-child(even) a { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "img ." "img meta" "img name" "img what" "img ."; }
.b-rows .b-plugin__meta { grid-area: meta; }
.b-rows .b-plugin h3 { grid-area: name; font-size: clamp(2.75rem, 1.2rem + 4.6vw, 6.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; transition: color var(--t-hover) ease; }
.b-rows .b-plugin.has-media h3::after { content: "\00a0→"; color: var(--accent); font-weight: 500; }
.b-rows .b-plugin p { grid-area: what; max-width: 30rem; font-size: var(--step-lead); line-height: 1.3; }
.b-rows .b-plugin__tag { font-size: 0.875rem; }
.b-rows .b-plugin__n { font-size: 1.25rem; }
.b-rows .b-plugin.has-media img, .b-rows .b-plugin__ph { grid-area: img; box-sizing: border-box; width: 100%; margin: 0; aspect-ratio: 16 / 10; object-fit: contain; padding: clamp(0.5rem, 1.4vw, 1.25rem); border: 1px solid var(--surface-2); background: var(--stage); transition: transform 500ms var(--ease-out), border-color var(--t-hover) ease, box-shadow 500ms var(--ease-out); }
.b-rows .b-plugin.is-pending { display: flex; align-items: baseline; gap: 1.5rem; padding-block: 1.5rem; box-shadow: none; }
.b-rows .b-plugin.is-pending h3 { font-size: var(--step-lead); }
@media (hover: hover) and (pointer: fine) {
  .b-rows .b-plugin.has-media a:hover img { transform: translateY(-6px) scale(1); border-color: var(--accent); }
}
@media (max-width: 48rem) {
  .b-rows .b-plugin.has-media a, .b-rows .b-plugin.has-media:nth-child(even) a { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "img" "meta" "name" "what"; row-gap: 0.75rem; }
  .b-rows .b-plugin.has-media img, .b-rows .b-plugin__ph { margin-bottom: 0.75rem; }
}
.cta-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; margin-block: var(--section); padding-top: 1.25rem; border-top: 2px solid var(--accent); text-decoration: none; }
.cta-line span { color: var(--muted); font-size: var(--step-lead); }
.cta-line b { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .cta-line:hover b { color: var(--accent); } }

/* one plugin: a short product page in the HertzVisuals style */
.p-page { padding-bottom: 0; }
/* Plugin page: one centred column, like a product page. Blocks: bar, hero, walk, show, demos, daws, cards, split, box, faq. */
.p-page { --col: 72rem; }
.p-page .wrap:not(.p-bar__in) { max-width: calc(var(--col) + 2 * var(--margin)); margin-inline: auto; }
.p-block { display: grid; justify-items: center; gap: clamp(1.25rem, 2.5vw, 2rem); padding-top: var(--section); text-align: center; }
.p-block > .head { max-width: 18ch; text-wrap: balance; }
.p-block > .lead { max-width: 44ch; margin-top: -0.5rem; text-wrap: balance; }
.p-kicker { color: var(--accent); font-weight: 800; font-size: var(--step-small); letter-spacing: 0.18em; text-transform: uppercase; }

.p-bar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(16, 17, 19, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--surface-2); }
.p-bar__in { display: flex; align-items: center; gap: var(--gutter); min-height: 3.25rem; }
.p-bar__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.p-bar .button { flex-shrink: 0; }
.p-bar__links { display: flex; gap: 1.25rem; margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.p-bar__links a { color: var(--muted); font-size: var(--step-small); text-decoration: none; white-space: nowrap; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .p-bar__links a:hover { color: var(--ink); } }
:where(.p-page) [id] { scroll-margin-top: calc(var(--header-h) + 4rem); }

.p-hero { display: grid; justify-items: center; gap: 1rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.p-back { justify-self: start; color: var(--muted); margin-bottom: 1rem; }
.p-hero h1 { max-width: 20ch; font-size: clamp(2.5rem, 1rem + 4.6vw, 6rem); text-wrap: balance; }
.p-hero .lead { max-width: 40ch; text-wrap: balance; }
.p-hero__buy { display: grid; justify-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.p-device--hero { margin-top: clamp(1rem, 3vw, 2rem); }

/* Device: the real plugin on a screen. Tabs swap what the screen shows; focus zooms into one part. */
.p-device { width: min(100%, calc((100svh - 15rem) * var(--ratio, 1.48) + 3rem)); padding: clamp(0.6rem, 1.6vw, 1.25rem); background: linear-gradient(160deg, var(--surface-2), var(--surface) 40%, var(--stage)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 50px 100px -40px rgba(109, 61, 245, 0.55); }
.p-device__screen { aspect-ratio: var(--ratio, 1.48); background: #05070c; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.p-device__screen img, .p-device__screen video { width: 100%; height: 100%; max-width: none; object-fit: cover; animation: p-fade var(--t-ui) var(--ease-out); }
.p-device__screen [data-fit="contain"] { object-fit: contain; background: #060a19; }
.p-device__screen .is-zoom { transform-origin: var(--fx) var(--fy); animation: p-zoom 1.1s var(--ease-expo) forwards; }
@keyframes p-fade { from { opacity: 0; } }
@keyframes p-zoom { from { transform: scale(1); } to { transform: scale(var(--fs)); } }
.p-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 2px; width: 100%; text-align: left; }
.p-tab { display: grid; align-content: start; gap: 0.5rem; padding: 1.25rem 1rem; background: none; border: 0; border-top: 2px solid var(--surface-2); color: var(--muted); font: inherit; cursor: pointer; transition: color var(--t-hover) ease, border-color var(--t-hover) ease; }
.p-tab b { color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--step-small); }
.p-tab__plus { color: var(--accent); font-weight: 900; transition: transform var(--t-ui) var(--ease-out); }
.p-tab[aria-selected="true"] { border-color: var(--accent); color: var(--ink); }
.p-tab[aria-selected="true"] .p-tab__plus { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .p-tab:hover { color: var(--ink); } }

.p-walk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding-top: var(--section); }
.p-walk__say { display: grid; gap: 1rem; }
.p-walk__say .head { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.p-walk__video { width: 100%; height: auto; background: var(--stage); box-shadow: 0 0 0 1px var(--surface-2); }

/* A/B demos */
.p-ab__list { display: grid; gap: 2px; width: 100%; }
.p-ab { display: grid; grid-template-columns: minmax(6rem, 10rem) auto 1fr auto; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: var(--surface); text-align: left; }
.p-ab__name { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--step-small); }
.p-ab__play { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; position: relative; }
.p-ab__play::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 0.7rem solid var(--bg); border-block: 0.45rem solid transparent; translate: 2px 0; }
.p-ab__play.is-on::before { width: 0.65rem; height: 0.75rem; border: 0; border-inline: 0.22rem solid var(--bg); translate: 0; }
.p-ab__play.is-loading { opacity: 0.5; cursor: progress; }
.p-ab__wave { width: 100%; height: 3rem; color: var(--muted); cursor: pointer; }
.p-ab__vs { display: flex; gap: 2px; }
.p-ab__vs button { min-height: 2.5rem; padding: 0 1rem; border: 0; background: var(--surface-2); color: var(--muted); font: inherit; font-size: var(--step-small); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.p-ab__vs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.p-daws { display: grid; justify-items: center; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-block: 2rem; text-align: center; background: var(--surface); }
.p-daws h2 { color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.p-daws__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem clamp(1.25rem, 3vw, 2.5rem); font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.02em; }

.p-cards__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; width: 100%; text-align: left; }
.p-cards__list li { flex: 0 1 calc(25% - 2px); min-width: min(15rem, 100%); display: grid; align-content: start; gap: 0.6rem; padding: 1.5rem; min-height: 10rem; background: var(--surface); }
.p-cards__list .nums { color: var(--accent); font-weight: 900; font-size: var(--step-small); }
.p-cards__list b { text-transform: uppercase; letter-spacing: 0.06em; }
.p-cards__list p { color: var(--muted); line-height: 1.45; }

.p-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; text-align: left; justify-items: stretch; }
.p-split__say { display: grid; gap: 1rem; }
.p-split__say .head { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.p-split__say ul { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.p-split__say li { padding-left: 1.25rem; position: relative; font-weight: 600; }
.p-split__say li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.p-split .p-device { width: 100%; }

.p-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: var(--section); padding-block: clamp(1.5rem, 3vw, 2.5rem); border-block: 2px solid var(--accent); }
.p-box > div { display: grid; gap: 0.4rem; }
.p-box__big { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; }
.p-box__go { justify-items: end; }

.p-faq { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; justify-items: stretch; text-align: left; }
.p-faq .head { margin-bottom: 1rem; }
.p-faq details { border-bottom: 1px solid var(--surface-2); }
.p-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 700; cursor: pointer; list-style: none; }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: "+"; color: var(--accent); font-weight: 900; transition: transform var(--t-ui) var(--ease-out); }
.p-faq details[open] summary::after { transform: rotate(45deg); }
.p-faq details p { padding-bottom: 1rem; max-width: 60ch; }
.p-runs { display: grid; gap: 1.25rem; padding: 1.5rem; background: var(--surface); }
.p-runs h3 { color: var(--muted); font-size: var(--step-small); letter-spacing: 0.18em; text-transform: uppercase; }
.p-runs__os { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.p-runs__os div { display: grid; gap: 0.25rem; }
.p-runs__os b { font-size: var(--step-lead); font-weight: 900; }
.p-runs dl { display: grid; gap: 0.75rem; }
.p-runs dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--surface-2); padding-top: 0.75rem; font-size: var(--step-small); }
.p-runs dt { color: var(--muted); }
.p-runs dd { font-weight: 700; text-align: right; }

.p-cta { position: relative; display: block; height: 52svh; min-height: 20rem; margin-top: var(--section); background: var(--accent); color: var(--accent-ink); text-decoration: none; overflow: hidden; }
.p-cta__say { position: absolute; top: 2rem; left: var(--margin); max-width: 30ch; font-weight: 700; line-height: 1.35; }
.p-cta__arrow { position: absolute; top: 2rem; right: var(--margin); transition: transform var(--t-ui) var(--ease-out); }
.p-cta__word { position: absolute; left: var(--margin); right: var(--margin); bottom: 0.3rem; font-size: clamp(5rem, 27vw, 28rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.74; text-align: center; }
.p-cta:hover, .p-cta:focus-visible { background: var(--accent-ink); color: var(--accent); outline-offset: -6px; }
.p-cta:hover .p-cta__arrow { transform: translate(6px, -6px); }
.p-next { display: grid; justify-items: center; gap: 0.5rem; padding-block: clamp(3rem, 7vw, 6rem); text-align: center; text-decoration: none; }
.p-next > span:first-child { color: var(--muted); }
.p-next b { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .p-next:hover b { color: var(--accent); } }
@media (max-width: 56rem) {
  .p-walk, .p-split, .p-faq { grid-template-columns: 1fr; }
  .p-bar__links { display: none; }
  .p-bar__in { justify-content: space-between; }
  .p-box, .p-box__go { justify-content: center; justify-items: center; text-align: center; }
}
@media (max-width: 40rem) { .p-ab { grid-template-columns: auto 1fr; } .p-ab__wave, .p-ab__vs { grid-column: 1 / -1; } .p-ab__vs button { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .p-device__screen img, .p-device__screen video { animation: none; } .p-device__screen .is-zoom { transform: scale(var(--fs)); } }
.p-missing { display: grid; gap: 2rem; justify-items: start; padding-block: var(--section); }

/* HertzVisuals block */
.b-visuals { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; margin-top: var(--section); background: var(--surface); }
.b-visuals__media { grid-column: 1 / span 6; }
.b-visuals__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.b-visuals__copy { grid-column: 7 / span 6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; justify-items: start; padding-block: 3rem; }
.b-visuals__copy .head { font-size: min(var(--step-head), 5.6vw); }
.b-figs { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.b-figs p { display: grid; font-size: var(--step-small); color: var(--muted); }
.b-figs b { font-size: var(--step-lead); color: var(--ink); font-weight: 800; }

/* steps */

/* FAQ: native details */
.b-faq { margin-top: 3rem; max-width: 52rem; }
.b-faq details { border-top: 1px solid var(--surface-2); }
.b-faq details:last-child { border-bottom: 1px solid var(--surface-2); }
.b-faq summary { cursor: pointer; padding: 1.25rem 0; font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: "+"; color: var(--accent); }
.b-faq details[open] summary::after { content: "–"; }
.b-faq details p { padding-bottom: 1.5rem; color: var(--muted); }


/* tester page */
.b-hub { padding-top: var(--header-h); padding-bottom: var(--section); }
.b-hub .b-section { padding-top: clamp(4rem, 8vw, 7rem); }
.b-thanks { margin-top: 2rem; padding: 1rem 1.25rem; background: var(--accent); color: var(--accent-ink); font-weight: 700; max-width: none; }
.b-surveys, .b-downloads { display: grid; gap: 2px; }
.b-survey, .b-download { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem 2rem; align-items: center; padding: 1.5rem; background: var(--surface); }
.b-download { grid-template-columns: minmax(0, 1fr) auto; }
.b-survey h3, .b-download h3 { font-size: var(--step-lead); margin-bottom: 0.35rem; }
.b-survey.is-open { box-shadow: inset 4px 0 0 var(--accent); }
.b-survey.is-upcoming, .b-survey.is-done, .b-download.is-pending { background: transparent; box-shadow: inset 0 0 0 1px var(--surface-2); }
.b-survey.is-upcoming h3, .b-survey.is-done h3 { color: var(--muted); }
.b-soon { color: var(--muted); }

/* ---------- join page ---------- */
.j-mark { display: flex; align-items: baseline; gap: 0.75rem; padding-top: 1rem; border-top: 2px solid var(--accent); font-size: var(--step-small); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; max-width: none; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.j-mark .nums { color: var(--accent); }
.j-intro { padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)); display: grid; gap: 1.75rem; justify-items: start; }
.j-intro .lead { max-width: 34ch; color: var(--muted); }
.j-index { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-top: 2rem; }
.j-index a { display: flex; flex-direction: column; gap: 2.5rem; padding: 1.25rem; min-height: 8rem; background: var(--surface); text-decoration: none; font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.02em; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.j-index a .nums { font-size: var(--step-small); color: var(--accent); }
.j-index li:last-child a { background: var(--accent); color: var(--accent-ink); }
.j-index li:last-child a .nums { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .j-index a:hover { background: var(--surface-2); } .j-index li:last-child a:hover { background: var(--lavender); } }
.j-product { padding-top: var(--section); }
.j-product__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }
.j-product__copy { grid-column: 1 / span 6; display: grid; gap: 1.5rem; }
.j-product__copy .lead { max-width: 26ch; }
.j-slots, .j-visuals { grid-column: 7 / span 6; }
.j-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.j-slots .b-plugin { min-height: 9rem; }
.j-visuals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.j-visuals video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.j-facts { display: grid; gap: 1.25rem; margin-top: 1rem; }
.j-facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--surface-2); }
.j-facts dt { font-weight: 700; }
.j-facts dd { color: var(--muted); }

/* apply: the loudest block on the site */
.j-apply { margin-top: var(--section); background: var(--accent); color: var(--accent-ink); padding: clamp(4rem, 9vw, 8rem) var(--margin); }
.j-apply ::selection { background: var(--accent-ink); color: var(--accent); }
.j-apply__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }
.j-apply__head, .j-done { grid-column: 1 / span 5; display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.j-apply .j-mark { border-color: var(--accent-ink); }
.j-apply .j-mark .nums { color: var(--accent-ink); }
.j-apply__title { font-size: clamp(3rem, 1rem + 5vw, 7rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.88; }
.j-apply__say { font-size: var(--step-lead); font-weight: 600; line-height: 1.3; max-width: 22ch; }
.j-done { grid-column: 1 / -1; }
.j-done:focus { outline: none; }
.j-form { grid-column: 6 / span 7; display: grid; gap: 1.75rem; padding: clamp(1.5rem, 3vw, 2.75rem); background: var(--bg); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(20, 11, 34, 0.55); }
.j-form :focus-visible { outline-color: var(--accent); }
.j-pick { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.j-pick legend { padding: 0; margin-bottom: 0.9rem; font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.02em; }
.j-pick__card { position: relative; display: grid; gap: 0.3rem; padding: 1.25rem; min-height: 8.5rem; align-content: end; background: var(--surface); box-shadow: inset 0 0 0 2px var(--surface-2); cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.j-pick__card b { font-size: var(--step-lead); letter-spacing: -0.02em; }
.j-pick__card .small { color: var(--muted); }
.j-pick__n { position: absolute; top: 1.1rem; left: 1.25rem; color: var(--accent); font-weight: 700; font-size: var(--step-small); }
.j-pick__card input { position: absolute; top: 1rem; right: 1rem; width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--accent-ink); cursor: pointer; }
.j-pick__card:has(input:checked) { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.j-pick__card:has(input:checked) .small, .j-pick__card:has(input:checked) .j-pick__n { color: var(--accent-ink); }
.j-pick__card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .j-pick__card:hover { box-shadow: inset 0 0 0 2px var(--accent); } }
.j-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.j-field { display: grid; gap: 0.45rem; font-size: var(--step-small); font-weight: 600; }
.j-field--wide { grid-column: 1 / -1; }
.j-field i { font-style: normal; font-weight: 400; color: var(--muted); }
.j-field input, .j-field select, .j-field textarea { width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 0; border-radius: 0; background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; box-shadow: inset 0 -2px 0 var(--surface-2); transition: box-shadow var(--t-hover) ease; }
.j-field textarea { resize: vertical; min-height: 6rem; }
.j-field input::placeholder, .j-field textarea::placeholder { color: #6f727b; }
.j-field input:focus, .j-field select:focus, .j-field textarea:focus { outline: none; box-shadow: inset 0 -2px 0 var(--accent); }
.j-form.was-checked :is(input, select):invalid { box-shadow: inset 0 -2px 0 var(--pink); }
.j-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.j-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8rem; align-items: start; font-size: var(--step-small); color: var(--muted); cursor: pointer; }
.j-consent input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--accent); }
.j-error { color: var(--pink); font-weight: 600; grid-column: 1 / -1; }
.j-submit { width: 100%; min-height: 4rem; font-size: var(--step-lead); letter-spacing: -0.01em; }
.j-submit[disabled] { opacity: 0.6; cursor: progress; }
.j-note { min-height: 1.5em; font-size: 0.9375rem; font-weight: 600; }
.j-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 2rem; color: var(--muted); }

/* the home page now sends people to the join page */
.b-join-cta { justify-self: start; }

@media (max-width: 56rem) {
  .j-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-product__copy, .j-slots, .j-visuals, .j-apply__head, .j-form, .j-done { grid-column: 1 / -1; }
  .j-facts div { grid-template-columns: 1fr; gap: 0.35rem; }
  .j-fields { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) { .j-pick { grid-template-columns: 1fr; } .j-pick__card { min-height: 6.5rem; } }
@media (max-width: 56rem) {
  .b-head > :first-child, .b-head > p { grid-column: 1 / -1; }
  .b-head > p { margin-top: 1.25rem; }
  .b-plugins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-plugin { min-height: 11rem; }
  .b-visuals__media, .b-visuals__copy { grid-column: 1 / -1; }
  .b-visuals__copy .head { font-size: var(--step-head); }
  .b-hero__strip { grid-template-columns: repeat(3, 1fr); }
  .b-hero__strip video:nth-child(n + 4) { display: none; }
  .b-survey, .b-download { grid-template-columns: 1fr; }
}
.b-section .cta-line { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }

/* generated studio photos: step cards and the join intro backdrop */
.j-intro { position: relative; isolation: isolate; }
.j-intro__bg { position: absolute; z-index: -1; top: 0; right: 0; width: min(78vw, 1400px); height: auto; max-width: none; opacity: 0.85; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 35%), linear-gradient(to top, transparent, #000 40%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 35%), linear-gradient(to top, transparent, #000 40%); mask-composite: intersect; }
@media (max-width: 56rem) { .j-intro__bg { width: 140vw; opacity: 0.5; } }
