.intake-panel {
  --panel-rule: var(--line, #444);
  --pad: clamp(16px, 2.9vw, 48px);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg, #0c0c0c);
  color: var(--text, white);
  color-scheme: dark;
  font: inherit;
  font-size: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.intake-panel[open] { display: flex; flex-direction: column; }
.intake-panel::backdrop { background: #0c0c0c; }
html:has(.intake-panel[open]) { overflow: hidden; }
.intake-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  flex: none;
  align-items: center;
  column-gap: 12px;
  height: 64px;
  padding: 0 var(--pad);
  background: var(--bg, #0c0c0c);
}
.intake-back { grid-column: 1; justify-self: start; }
.intake-progress { grid-column: 2; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); }
.intake-close { grid-column: 3; justify-self: end; }
.intake-meter { appearance: none; position: sticky; top: 64px; z-index: 2; width: calc(100% - 2 * var(--pad)); height: 1px; min-height: 1px; margin: 0 var(--pad); border: 0; background: var(--panel-rule); color: white; }
.intake-meter::-webkit-progress-bar { background: var(--panel-rule); }
.intake-meter::-webkit-progress-value { background: white; }
.intake-meter::-moz-progress-bar { background: white; }
.intake-body { width: 100%; max-width: 820px; margin-inline: auto; padding: clamp(28px, 7vh, 88px) var(--pad) 44px; }
.intake-context { overflow-wrap: anywhere; color: var(--muted); font-size: 14px; }
.intake-plan { font-weight: 500; }
.intake-activity { position: sticky; bottom: 0; z-index: 1; margin-top: auto; border-top: 1px solid var(--panel-rule); background: var(--bg, #0c0c0c); padding: 14px max(var(--pad), calc((100% - 820px) / 2 + var(--pad))) max(14px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.intake-activity::before { content: ''; display: inline-block; vertical-align: .12em; width: 6px; height: 6px; background: currentColor; margin-right: 10px; }
.intake-panel button { font: inherit; color: inherit; cursor: pointer; }
.intake-close, .intake-back, .intake-text { background: none; border: 0; padding: 0; min-height: 44px; text-decoration: none; }
.intake-text { text-decoration: underline; text-underline-offset: .24em; }
.intake-close span { display: inline-block; font-size: 21px; margin-left: 5px; }
.intake-panel h2 { margin: 10px 0 clamp(20px, 4vh, 40px); font-size: clamp(32px, 4vw, 52px); letter-spacing: -.025em; line-height: 1.03; font-weight: 400; max-width: 22ch; text-wrap: balance; }
.intake-panel h2:focus { outline: none; }
.intake-choices { display: grid; gap: 0; border-top: 1px solid var(--panel-rule); }
.intake-panel .intake-choice { position: relative; text-align: left; border: 0; border-bottom: 1px solid var(--panel-rule); background: transparent; min-height: clamp(48px, 6.2vh, 60px); padding: 10px 28px 10px 4px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; }
.intake-choice::after { content: '→'; position: absolute; right: 3px; opacity: .5; }
.intake-choice:hover, .intake-choice[aria-pressed="true"] { background: #262626; }
.intake-panel button:focus-visible, .intake-panel input:focus-visible { outline: 2px solid #f4f2eb; outline-offset: 2px; }
.intake-content > * + * { margin-top: 20px; }
.intake-primary { display: block; background: #f4f2eb; color: #101010 !important; min-height: 48px; padding: 10px 20px; border: 0; font-weight: 600 !important; }
.intake-primary:hover { background: #dbdad7; }
.intake-primary:disabled { opacity: .62; }
.intake-copy { line-height: 1.5; color: #c2c2bf; }
.intake-results > div { border-top: 1px solid var(--panel-rule); padding: 14px 0; }
.intake-results dt { font-weight: 600; }
.intake-results dd { margin: 3px 0 0; color: #c2c2bf; }
.intake-email-form { display: grid; gap: 10px; }
.intake-email-form input { min-width: 0; width: 100%; background: transparent; border: 1px solid #858582; border-radius: 0; padding: 12px; font-size: 16px; }
.intake-error { color: #ffc7c7; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .intake-panel[open] .intake-body { animation: intake-enter .24s ease-out both; }
  .intake-choice { transition: padding .18s, background .18s; }
  .intake-choice:hover { padding-left: 12px; }
  @keyframes intake-enter { from { transform: translateY(7px); opacity: .6; } to { transform: none; opacity: 1; } }
}
.intake-link { display: inline-flex; min-height: 44px; align-items: center; }
.intake-switch { border: 0; background: transparent; color: inherit; padding: 4px 0; text-decoration: underline; cursor: pointer; }
.intake-input-error:not(:empty) { color: #ffc7c7; font-size: 13px; margin-top: 5px; }
