:root {
  --ink: #11120f;
  --paper: #efe9dc;
  --white: #fffdf8;
  --orange: #d94f2b;
  --acid: #9fbecb;
  --muted: #68685f;
  --line: rgba(17,18,15,.18);
  --display: "Archivo Black", sans-serif;
  --body: "DM Sans", sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.flow-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 700; text-decoration: none; }
.brand-mark { display: grid; width: 32px; aspect-ratio: 1; place-items: center; background: var(--ink); color: var(--acid); font-family: var(--display); transform: rotate(-7deg); }
.step-note { color: var(--muted); font-size: .76rem; }
.progress { height: 5px; background: #ddd3c3; }
.progress span { display: block; width: var(--progress); height: 100%; background: var(--orange); }
.flow-main { padding-block: 64px 100px; }
.flow-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(2.5rem, 7vw, 5.5rem); align-items: start; }
.eyebrow { margin: 0 0 1rem; color: var(--orange); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -.055em; text-wrap: balance; }
h1 { max-width: 760px; margin-bottom: 1rem; font-size: clamp(2.7rem, 6.5vw, 5.8rem); line-height: .9; }
h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); line-height: .95; }
.lede { max-width: 670px; margin: 0 0 2.3rem; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.form-panel { padding: clamp(1.25rem, 3.5vw, 2.4rem); border: 2px solid var(--ink); background: var(--white); box-shadow: 12px 12px 0 var(--orange); }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.1rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.15rem; }
.field.full { grid-column: 1/-1; }
.field label, .field-label { font-size: .8rem; font-weight: 700; }
.field small { color: var(--muted); font-size: .72rem; line-height: 1.45; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; border: 1px solid rgba(17,18,15,.4); border-radius: 0; background: #f6f1e6; padding: .8rem .9rem; outline: none; }
.field textarea { min-height: 125px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(217,79,43,.14); }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin: .5rem 0 1.2rem; }
.choice { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem; border: 1px solid var(--line); background: #f6f1e6; font-size: .8rem; line-height: 1.35; }
.choice input { margin-top: .1rem; accent-color: var(--orange); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; border: 2px solid transparent; padding: .9rem 1.25rem; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.button-dark { background: var(--ink); color: white; box-shadow: 6px 6px 0 var(--orange); }
.button-primary { background: var(--acid); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.button-block { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.microcopy { margin-bottom: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; text-align: center; }
.form-message { display: none; margin-top: 1rem; padding: .9rem; border-left: 4px solid var(--orange); background: #f8e3db; font-size: .82rem; line-height: 1.5; }
.form-message.show { display: block; }
.summary-rail { position: sticky; top: 24px; }
.summary-card { overflow: hidden; border: 2px solid var(--ink); background: var(--ink); color: white; box-shadow: 10px 10px 0 var(--acid); }
.summary-card header { padding: .9rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.2); color: var(--acid); font-size: .68rem; font-weight: 700; letter-spacing: .13em; }
.summary-body { padding: 1.3rem; }
.summary-body h2 { margin-bottom: 1.3rem; font-size: 1.65rem; }
.summary-price { margin: 0 0 1.4rem; font-family: var(--display); font-size: 4.5rem; letter-spacing: -.08em; line-height: .8; }
.summary-price span { display: block; margin-top: .65rem; font-family: var(--body); font-size: .72rem; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.65); }
.summary-list { display: grid; gap: .8rem; padding: 0; list-style: none; }
.summary-list li { padding-bottom: .75rem; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .82rem; line-height: 1.45; }
.flow-path { margin: 1.2rem 0 0; color: rgba(255,255,255,.62); font-size: .7rem; line-height: 1.5; }
.class-list { display: grid; gap: 1.1rem; }
.class-card { display: grid; grid-template-columns: 130px 1fr auto; gap: 1.3rem; align-items: center; padding: 1.35rem; border: 2px solid var(--ink); background: var(--white); }
.class-card:nth-child(even) { background: var(--acid); }
.class-meta { display: grid; gap: .35rem; }
.class-meta strong { font-family: var(--display); font-size: 1.05rem; }
.class-meta span { color: var(--orange); font-size: .68rem; font-weight: 700; letter-spacing: .09em; }
.class-card h2 { margin-bottom: .45rem; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.class-card p { margin: 0; color: #53544d; font-size: .84rem; line-height: 1.5; }
.class-card .button { min-width: 150px; }
.schedule-status { margin: 0 0 1.4rem; padding: .9rem 1rem; border-left: 5px solid var(--orange); background: #f8e3db; font-size: .82rem; line-height: 1.5; }
.price-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 0 0 2rem; }
.price-options article { min-height: 160px; padding: 1.2rem; border: 2px solid var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.price-options article:nth-child(2) { background: var(--acid); }
.price-options article:nth-child(3) { background: var(--ink); color: white; box-shadow: 6px 6px 0 var(--orange); }
.price-options span { display: block; color: var(--orange); font-size: .66rem; font-weight: 700; letter-spacing: .12em; }
.price-options strong { display: block; margin: .55rem 0 .2rem; font-family: var(--display); font-size: 2.7rem; letter-spacing: -.07em; line-height: 1; }
.price-options p { margin: 0; color: var(--muted); font-size: .78rem; }
.price-options article:nth-child(3) p { color: rgba(255,255,255,.68); }
.catalog-heading { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 2rem; align-items: end; margin: 4rem 0 1.4rem; }
.catalog-heading h2, .catalog-heading .eyebrow { margin-bottom: 0; }
.catalog-heading > p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.class-card.is-selected, .workflow-card.is-selected { border-color: var(--orange); box-shadow: 8px 8px 0 var(--orange); }
[data-select-class][aria-pressed="true"], #add-program[aria-pressed="true"] { background: var(--orange); color: white; box-shadow: none; }
.program-offer { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: clamp(2rem,6vw,5rem); align-items: center; margin-top: 4.5rem; padding: clamp(1.5rem,4vw,3rem); border: 2px solid var(--ink); background: var(--ink); color: white; box-shadow: 12px 12px 0 var(--acid); }
.program-offer h2 { max-width: 650px; }
.program-offer p:not(.eyebrow) { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.68); line-height: 1.6; }
.program-picker { display: grid; gap: .75rem; }
.program-picker label { color: var(--acid); font-size: .73rem; font-weight: 700; }
.program-picker select { min-height: 52px; border: 0; padding: .75rem .9rem; background: var(--white); color: var(--ink); }
.advanced-section { margin-top: 5rem; }
.advanced-section .catalog-heading { margin-top: 0; }
.workflow-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.workflow-card { display: flex; min-height: 325px; flex-direction: column; align-items: flex-start; padding: 1.25rem; border: 2px solid var(--ink); background: var(--white); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.workflow-card:nth-child(3n+2) { background: var(--acid); }
.workflow-card > span { color: var(--orange); font-size: .63rem; font-weight: 700; letter-spacing: .12em; }
.workflow-card h3 { margin: .75rem 0 .6rem; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.04em; line-height: 1; }
.workflow-card p { margin: 0 0 1.1rem; color: #53544d; font-size: .82rem; line-height: 1.5; }
.workflow-card small { margin-top: auto; margin-bottom: 1rem; color: var(--muted); font-size: .68rem; font-weight: 700; }
.workflow-card .button { width: 100%; min-height: 48px; }
.class-cart { position: sticky; z-index: 10; bottom: 16px; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; margin-top: 2rem; padding: 1rem 1.1rem; border: 2px solid var(--ink); background: var(--ink); color: white; box-shadow: 8px 8px 0 var(--orange); }
.class-cart > div { display: grid; grid-template-columns: auto auto; gap: .2rem 1rem; align-items: baseline; }
.class-cart span { color: var(--acid); font-size: .78rem; font-weight: 700; }
.class-cart strong { grid-row: 1/3; grid-column: 2; font-family: var(--display); font-size: 2.35rem; letter-spacing: -.07em; }
.class-cart small { color: rgba(255,255,255,.68); font-size: .68rem; }
.selected-list { display: grid; gap: .55rem; margin: 0 0 1rem; }
.selected-list > div { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .75rem .9rem; border-left: 4px solid var(--orange); background: var(--white); font-size: .78rem; line-height: 1.4; }
.selected-list button { border: 0; background: transparent; color: var(--orange); font-size: .72rem; font-weight: 700; text-decoration: underline; }
.idea-panel { margin-top: 3.5rem; }
.idea-panel[hidden] { display: none; }
.flow-footer { padding-block: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.flow-footer .shell { display: flex; justify-content: space-between; gap: 1rem; }
.flow-footer nav { display: flex; gap: 1rem; }
@media (max-width: 850px) {
  .flow-grid { grid-template-columns: 1fr; }
  .summary-rail { position: static; }
  .summary-card { max-width: 620px; }
  .class-card { grid-template-columns: 110px 1fr; }
  .class-card .button { grid-column: 1/-1; }
  .workflow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .program-offer { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 28px,1120px); }
  .step-note { display: none; }
  .flow-main { padding-block: 44px 76px; }
  .field-grid, .choice-grid { grid-template-columns: 1fr; }
  .form-panel { box-shadow: 7px 7px 0 var(--orange); }
  .price-options, .workflow-grid, .catalog-heading { grid-template-columns: 1fr; }
  .price-options article { min-height: 0; }
  .class-card { grid-template-columns: 1fr; }
  .class-card .button { grid-column: auto; width: 100%; }
  .program-offer { box-shadow: 7px 7px 0 var(--acid); }
  .class-cart { bottom: 8px; flex-direction: column; align-items: stretch; }
  .class-cart .button { width: 100%; }
  .flow-footer .shell { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }
