@font-face {
  font-family: "Emdash Sans";
  src: local("Helvetica Neue"), local("Arial");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #20201e;
  --muted: #71716b;
  --line: #e8e8e4;
  --accent: #3451f1;
  --accent-hover: #2540cf;
  font-family: "Emdash Sans", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #dfe5ff; }
.page { width: min(100% - 48px, 1440px); margin: 0 auto; }
.header { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; font-weight: 500; line-height: 1; white-space: nowrap; }
/* Matches Helvetica Neue’s visible em-dash ratio: 740:80, or 9.25:1. */
.wordmark-bar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 185px; aspect-ratio: 37 / 4; background: var(--accent); color: var(--paper); font-size: 15px; letter-spacing: -.4px; }
.wordmark-domain { font-size: 16px; font-weight: 400; letter-spacing: -.5px; }
.location { font-size: 14px; white-space: nowrap; }
.hero { text-align: center; padding: 24px 0 24px; }
.hero-intro { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; text-align: left; align-items: center; }
.invitation { padding-top: 0; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; letter-spacing: 1.3px; text-transform: uppercase; line-height: 1.5; margin: 0; }
.hero-heading .eyebrow { justify-content: flex-start; margin-bottom: 18px; }
.mini-dash { height: 2px; width: 20px; background: var(--accent); }
h1 { font-size: clamp(70px, 7.7vw, 108px); font-weight: 500; line-height: .98; letter-spacing: -.065em; margin: 0; }
.full-stop { color: var(--accent); }
.table-art { max-width: 1200px; margin: 22px auto 0; }
.table-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: contain; }
.table-art figcaption { display: flex; justify-content: space-between; padding: 0 6.5%; margin-top: -6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.description { font-size: 21px; line-height: 1.5; letter-spacing: -.3px; margin: 0 0 24px; }
.description > span { display: inline-block; margin-top: 10px; color: var(--muted); font-size: 18px; }
.join-button { display: inline-flex; gap: 35px; align-items: center; justify-content: center; min-height: 54px; border: 0; border-radius: 5px; padding: 16px 24px; background: var(--accent); color: white; font-size: 16px; line-height: 1.35; transition: background .2s, transform .2s; }
.join-button span { font-size: 21px; line-height: 1; }
.join-button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.join-button:active { transform: translateY(0); }
.join-button:disabled { cursor: wait; opacity: .65; transform: none; }
.join-button .submit-label, .join-button .button-label { font-size: 16px; line-height: 1.35; }
.invitation-note { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.cohort-card { max-width: 390px; border-top: 1px solid var(--line); padding-top: 16px; margin: 0 0 22px; }
.cohort-label { margin: 0 0 7px; font-size: 11px; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.cohort-availability { margin: 0; color: var(--accent); font-size: 21px; line-height: 1.35; font-weight: 500; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.cohort-spots { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.cohort-spots span { height: 12px; border: 1px solid #b6c0f9; border-radius: 2px; background: #eef1ff; }
.cohort-spots .is-filled { border-color: var(--accent); background: var(--accent); }
.cohort-detail { margin: 9px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.how-it-works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 0; }
.how-it-works > div { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 0 18px; }
.how-it-works > div + div { border-left: 1px solid var(--line); }
.step-number { font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.how-it-works p { font-size: 15px; line-height: 1.5; margin: 0; }
.details-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; max-width: 1200px; margin: 0 auto; padding: 64px 0; }
.host-note .eyebrow { justify-content: flex-start; color: var(--accent); }
.host-note h2 { font-size: 40px; margin-top: 18px; }
.host-note > p:not(.eyebrow) { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 420px; }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; list-style: none; cursor: pointer; padding: 21px 0; font-size: 17px; line-height: 1.4; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; font-size: 24px; color: var(--accent); }
.questions details[open] summary::after { content: '×'; }
.questions p { margin: 0 28px 22px 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
.questions summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.closing-invitation { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 35px; background: #f3f5ff; }
.closing-invitation h2 { font-size: 32px; letter-spacing: -1px; margin: 0 0 10px; }
.closing-invitation p { font-size: 16px; line-height: 1.5; color: var(--muted); margin: 0; }
.closing-invitation .join-button { flex-shrink: 0; }
.local-notice { border-top: 1px solid var(--line); padding: 14px 0; margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; gap: 20px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.application-dialog { border: 1px solid var(--line); padding: 36px 32px 28px; border-radius: 12px; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); color: var(--ink); background: var(--paper); box-shadow: 0 20px 100px #0002; }
.application-dialog::backdrop { background: #20201e65; backdrop-filter: blur(7px); }
body:has(dialog[open]) { overflow: hidden; }
.close-button { position: absolute; top: 13px; right: 13px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 30px; border-radius: 50%; }
.close-button:hover { background: #f5f5f2; color: var(--ink); }
.application-dialog .eyebrow { justify-content: flex-start; font-size: 12px; padding-right: 20px; }
h2 { font-size: 42px; line-height: 1.08; letter-spacing: -1.8px; font-weight: 500; margin: 13px 0 16px; }
.dialog-description { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 25px; }
form { display: flex; flex-direction: column; }
label { display: block; font-size: 14px; line-height: 1.5; margin: 0 0 7px; }
label span { font-size: 12px; color: var(--muted); padding-left: 5px; }
input, textarea, select { width: 100%; border: 1px solid #d9d9d3; border-radius: 5px; padding: 12px 13px; font-size: 16px; background: white; color: var(--ink); margin: 0 0 18px; line-height: 1.5; }
textarea { resize: vertical; min-height: 84px; }
select { min-height: 50px; }
input::placeholder, textarea::placeholder { color: #85857e; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.application-note { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.ai-tools { padding: 0; margin: 0 0 22px; border: 0; min-inline-size: 0; }
.ai-tools legend { font-size: 14px; line-height: 1.5; padding: 0; }
.field-hint { margin: 5px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.ai-tool-fields { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px 10px; align-items: center; }
.ai-tool-fields label { margin: 0; color: var(--muted); font-size: 12px; }
.ai-tool-fields input { margin: 0; padding: 9px 12px; min-height: 44px; }
.choices { padding: 0; margin: 0 0 18px; border: 0; min-inline-size: 0; }
.choices legend { font-size: 14px; margin-bottom: 9px; padding: 0; line-height: 1.5; }
.choice-options { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-options label { position: relative; margin: 0; cursor: pointer; }
.choice-options input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; padding: 0; }
.choice-options span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 12px; border: 1px solid #d9d9d3; border-radius: 5px; font-size: 14px; color: var(--ink); }
.choice-options input:checked + span { border-color: var(--accent); background: #eef1ff; color: #2540cf; box-shadow: inset 0 0 0 1px var(--accent); }
.choice-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.vienna-confirmation { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 20px; cursor: pointer; }
.vienna-confirmation input { width: 18px; height: 18px; flex-shrink: 0; padding: 0; margin: 2px 0 0; accent-color: var(--accent); }
.vienna-confirmation span { padding: 0; font-size: 14px; color: var(--ink); }
.required-label, .vienna-confirmation .required-label { padding-left: 5px; color: var(--muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 16px; padding: 12px; border: 1px solid #e4b0a9; border-radius: 4px; background: #fff7f5; color: #922918; font-size: 14px; line-height: 1.5; }
.next-steps { margin: 22px 0; padding-left: 22px; font-size: 16px; line-height: 1.6; }
.next-steps li { padding: 0 0 8px 5px; }
.form-button { width: 100%; justify-content: space-between; margin-top: 3px; }
.preview-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.application-result > p:not(.eyebrow):not(.preview-note) { font-size: 16px; line-height: 1.6; color: var(--muted); }
.application-result .join-button { margin-top: 20px; }

@media (max-width: 900px) {
  .hero-intro { gap: 35px; grid-template-columns: 1.2fr 1fr; }
  .description { font-size: 18px; }
  .join-button { gap: 24px; }
  .details-section { gap: 40px; }
  .closing-invitation { padding: 28px; }
}
@media (max-width: 680px) {
  .page { width: calc(100% - 32px); }
  .header { height: 64px; }
  .wordmark { gap: 4px; }
  .wordmark-bar { width: 148px; font-size: 13px; }
  .wordmark-domain { font-size: 14px; }
  .location { font-size: 12px; }
  .hero { padding: 18px 0 24px; }
  .hero-intro { display: contents; }
  .hero-heading { text-align: center; }
  .hero-heading .eyebrow { justify-content: center; }
  .eyebrow { font-size: 12px; letter-spacing: .4px; gap: 8px; }
  h1 { font-size: clamp(66px, 13vw, 96px); }
  .hero { display: flex; flex-direction: column; }
  .hero-heading { order: 0; }
  .table-art { order: 2; margin: 26px -10px 0; }
  .invitation { order: 1; padding-top: 22px; text-align: center; }
  .cohort-card { margin-inline: auto; }
  .table-art img { aspect-ratio: 2.7 / 1; }
  .table-art figcaption { font-size: 12px; padding: 0 5%; margin-top: 6px; }
  .description { font-size: 18px; line-height: 1.55; }
  .description > span { font-size: 16px; }
  .invitation-note { max-width: 330px; margin: 14px auto 0; font-size: 12px; }
  .how-it-works { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .how-it-works > div { justify-content: flex-start; padding-left: 8px; }
  .how-it-works > div + div { border-left: 0; }
  .how-it-works p { font-size: 15px; }
  .footer { font-size: 12px; padding: 23px 0; align-items: flex-start; }
  .footer > span:first-child { max-width: 150px; }
  .application-dialog { padding: 34px 24px 24px; }
  .details-section { grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .host-note h2 { font-size: 36px; }
  .closing-invitation { align-items: flex-start; flex-direction: column; padding: 26px 22px; gap: 22px; }
  .closing-invitation h2 { font-size: 30px; }
}
@media (max-width: 440px) {
  .application-dialog h2 { font-size: 36px; }
  .choice-options { gap: 7px; }
  .choice-options span { padding: 9px 10px; }
}
@media (max-width: 370px) {
  .header { gap: 6px; }
  .wordmark-bar { width: 138.75px; }
  h1 { font-size: 64px; }
  .table-art figcaption { font-size: 12px; flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.privacy-page { max-width: 680px; margin: 70px auto 90px; }
.privacy-page h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.1; margin: 20px 0 40px; }
.privacy-page h2 { font-size: 24px; margin: 32px 0 12px; }
.privacy-page p { color: var(--muted); line-height: 1.7; }
.privacy-page a { color: var(--accent); }
