/* Hallmark · shape: Split Studio into a showcase (the real panel, then the real Mission view) · genre: modern-minimal · theme: custom, locked by design.md (Bearly Studio: dark stage, glossy app icon, one coral band, one light band) · job: subscribe (waitlist) · draw: manual, design.md
 * hero: Counter (head, one line and the waitlist field beside the real menu bar panel) · nav: edge-aligned · footer: statement · imagery: screenshots 3 (Bento Kettle --snapshot), app icon 1 · signature: the menu bar panel naming the charger, the cable and the watts the Mac really gets
 * axes: dark/geometric-sans/warm · posture: committed (one coral band) · copy: Noah Kagan register, product voice, measured numbers only · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V3 · weakest: V, it reuses the studio home's band and FAQ recipes by design.md; the hero is a Counter with the real panel, not the studio's Poster, and the coral band carries a measured swap test instead of a slogan */
/* Hallmark · dismissed 58 · the page count includes the nine closed FAQ answers, hidden until opened for search and answer engines; the render tier screen budget is the check */
@import url("../tokens.css");
@import url("../base.css");
:root { --font-mono: ui-monospace, "SF Mono", Menlo, monospace; }

h1, h2, h3 { font-weight: var(--display-weight); }

.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); }

/* Controls: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-xl); border: 1px solid transparent; border-radius: var(--radius-pill); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-focus); }
.btn--quiet { border-color: var(--color-rule-2); color: var(--color-ink); background: transparent; }
.btn--quiet:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-rule-2); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.link:active { opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

/* Nav: edge-aligned */
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: -0.02em; text-decoration: none; }
.wordmark img { width: 32px; height: 32px; }
.wordmark:focus-visible, .nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__links { display: flex; align-items: center; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.nav__links a:not(.btn) { font-size: var(--text-sm); text-decoration: none; white-space: nowrap; color: var(--color-ink-2); }
.nav__links a:not(.btn):hover { color: var(--color-ink); }
.nav .btn { min-height: 44px; padding: 0 var(--space-lg); font-size: var(--text-sm); }

/* Hero: counter, the field beside the real panel */
.hero { min-height: min(calc(100svh - 72px), 56rem); display: grid; align-items: center; padding-block: var(--space-xl) var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); }
.hero h1 { max-width: 13ch; }
.hero .lead { color: var(--color-ink-2); max-width: 36ch; }
.hero__note { font-size: var(--text-sm); color: var(--color-muted); }
.hero__shot { margin: 0; display: grid; place-items: center; }
.hero__shot img { width: auto; height: min(70svh, 640px); border-radius: var(--radius-card); box-shadow: var(--rim), var(--cast-icon); }

/* Waitlist field: posts nowhere until data-endpoint is set */
.signup { display: grid; gap: var(--space-xs); width: min(100%, 30rem); }
.signup label { font-size: var(--text-sm); color: var(--color-ink-2); }
.signup__row { display: flex; gap: var(--space-xs); }
.signup input { flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.signup input:focus-visible { outline-color: var(--color-focus); }
.signup input[aria-invalid] { border-color: var(--color-error); }
.signup__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }

/* The coral band, cut on a slant: the swap test result */
.band { padding-block: calc(var(--section-gap-s) + var(--cut)); background: var(--color-field); color: var(--color-accent-ink); clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.statement { max-width: 20ch; font-family: var(--font-display); font-size: var(--text-display); font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1.02; text-wrap: balance; }
.band .caption { margin-top: var(--space-lg); max-width: 60ch; font-size: var(--text-md); }

/* Sections */
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: var(--section-gap-s); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head .lead { color: var(--color-ink-2); }

/* Showcase: the Mission view across the container */
.showcase { margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-2); box-shadow: var(--rim), var(--cast-icon); }
.showcase img { width: 100%; }
.showcase figcaption { padding: var(--space-md) var(--space-xl); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

/* Rows: head on 4 columns, the four answers on 8 */
.rows { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.rows__list { margin: 0; border-bottom: 1px solid var(--color-rule); }
.rows__item { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
.rows__item dt { font-family: var(--font-display); font-size: var(--text-title); font-weight: 800; letter-spacing: -0.01em; }
.rows__item dd { margin: 0; color: var(--color-ink-2); }

/* Light band: widgets and the CLI */
.light { margin-top: calc(-1 * var(--cut)); padding-block: calc(var(--section-gap-s) + var(--cut)) var(--section-gap-s); background: var(--color-light); color: var(--color-light-ink); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.light h2 { color: var(--color-light-ink); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.split__shot { margin: 0; }
.split__shot img { width: 100%; filter: drop-shadow(0 18px 24px color-mix(in oklab, var(--color-light-ink) 18%, transparent)); }
.split__text { display: grid; gap: var(--space-lg); }
.split__text .lead { color: var(--color-light-muted); }
.code { margin: 0; padding: var(--space-lg); border-radius: var(--radius-input); background: var(--color-light-ink); color: var(--color-light); font-size: var(--text-sm); overflow-x: auto; }
.code code { font-family: var(--font-mono); }
.split__text p:not([class]) { color: var(--color-light-muted); }

/* FAQ: closed disclosures; answers hidden while closed so the screen budget counts questions only */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.faq__list { border-bottom: 1px solid var(--color-rule); }
.faq details { border-top: 1px solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); font-family: var(--font-display); font-size: var(--text-title); font-weight: 800; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--color-ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.faq details p { max-width: 62ch; padding-bottom: var(--space-lg); color: var(--color-ink-2); }
.faq details:not([open]) > :not(summary) { display: none; }

/* Close: the waitlist again, centred under the icon */
.close { text-align: center; border-top: 1px solid var(--color-rule); }
.close__inner { display: grid; justify-items: center; gap: var(--space-lg); }
.close img { width: 240px; height: 240px; filter: drop-shadow(0 22px 30px var(--color-scrim)); }
.close .lead { color: var(--color-ink-2); max-width: 40ch; }
.close .signup { text-align: start; }

/* Footer: statement */
.footer { padding-block: var(--section-gap-s) var(--space-2xl); border-top: 1px solid var(--color-rule); text-align: center; }
.footer__line { margin-inline: auto; font-family: var(--font-display); font-size: var(--text-section); font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1.05; max-width: 20ch; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xl); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.footer__links a { font-weight: 400; color: var(--color-ink-2); }
.footer__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.legal { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  .hero { min-height: 0; }
  .hero__grid, .split, .rows, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__shot img { height: auto; width: min(100%, 420px); }
  .rows__item { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .nav__links li:not(:last-child) { display: none; }
}
@media (max-width: 40rem) {
  .signup__row { flex-direction: column; }
  .close img { width: 160px; height: 160px; }
  .showcase figcaption { padding-inline: var(--space-md); }
}

/* The CLI sample: a real kettle status run, full width under the split */
.term { margin: var(--space-2xl) 0 0; display: grid; gap: var(--space-sm); }
.term .code { font-size: var(--text-sm); line-height: 1.6; }
.code__prompt { color: var(--color-accent); }
.term figcaption { font-size: var(--text-sm); color: var(--color-light-muted); }
.term figcaption code { font-family: var(--font-mono); }
.split__text code { font-family: var(--font-mono); }
