.forms-page { min-height: 100vh; background: radial-gradient(ellipse 900px 650px at 50% 0, #174719 0, #1e1e1e 70%); }
.forms-shell { width: min(100% - 64px, 1300px); margin-inline: auto; padding: 212px 0 120px; }
.form-back { display: inline-flex; align-items: center; gap: 10px; color: var(--sage); font-size: 15px; font-weight: 600; }
.form-back:hover { color: var(--yellow); }
.form-back .icon { width: 18px; height: 18px; }
.form-intro { max-width: 850px; margin: 52px 0 50px; }
.form-eyebrow { display: inline-block; color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .15em; }
.form-intro h1 { margin: 16px 0 17px; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.04em; }
.form-intro p { max-width: 740px; color: #d1d8d0; font-size: 20px; line-height: 1.55; }
.form-layout { display: grid; grid-template-columns: minmax(280px, .76fr) minmax(0, 1.65fr); gap: 24px; align-items: start; }
.form-aside { position: sticky; top: 35px; padding: 36px; border-radius: 24px; background: #12370d; border: 1px solid #557b4f66; }
.form-aside-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 35px; border-radius: 16px; background: #aec6a922; color: var(--sage); }
.form-aside-icon .icon { width: 28px; height: 28px; }
.form-aside h2 { margin: 15px 0 14px; font-size: 30px; line-height: 1.18; letter-spacing: -.03em; }
.form-aside p { color: #d4dfd0; font-size: 15px; line-height: 1.55; }
.form-event-meta { display: grid; gap: 18px; margin: 34px 0; padding-block: 29px; border-block: 1px solid #ffffff24; }
.form-event-meta span { display: flex; align-items: flex-start; gap: 12px; color: #e5eee2; font-size: 14px; line-height: 1.45; }
.form-event-meta .icon { width: 19px; height: 19px; color: var(--yellow); }
.form-aside a { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-size: 14px; font-weight: 700; }
.form-aside a:hover { color: white; }
.form-aside a .icon { width: 16px; height: 16px; }
.event-form { min-width: 0; padding: 42px; border-radius: 24px; background: #292d29; border: 1px solid #74846b3d; box-shadow: 0 20px 55px #0003; }
.form-section-heading { display: flex; align-items: flex-start; gap: 22px; margin: 0 0 28px; }
.form-section-heading:not(:first-child) { margin-top: 54px; padding-top: 49px; border-top: 1px solid #ffffff1c; }
.form-section-heading > span { flex: none; padding-top: 5px; color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.form-section-heading h2 { font-size: 27px; line-height: 1.25; }
.form-section-heading p { margin-top: 7px; color: #bfc8be; font-size: 14px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; min-width: 0; gap: 10px; color: #edf4ec; font-size: 13px; font-weight: 600; }
.form-field-wide { grid-column: 1 / -1; }
.form-field small, .member-fields small { margin-left: 5px; color: #a7b5a4; font-size: 11px; font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; min-width: 0; padding: 16px 18px; border: 1px solid #cedacb; border-radius: 10px; background: #f5f8f3; color: #173015; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.45; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form-field input { height: 54px; }
.form-field textarea { resize: vertical; min-height: 115px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #798b78; }
.form-field input:focus, .form-field textarea:focus { outline: 0; border-color: #ffcd40; box-shadow: 0 0 0 3px #ffcd4040; background: white; }
.form-question { min-width: 0; margin: 32px 0 0; padding: 0; border: 0; }
.form-question legend { display: block; width: 100%; margin-bottom: 16px; padding: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-card { display: flex; align-items: stretch; min-width: 0; min-height: 84px; border: 1px solid #77916f77; border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.choice-card:hover { border-color: var(--sage); transform: translateY(-2px); }
.choice-card:has(input:checked) { border-color: var(--yellow); background: #365334; }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 3px; }
.choice-card:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.choice-card input { appearance: none; width: 20px; height: 20px; flex: none; margin: 19px 0 0 18px; border: 2px solid var(--sage); border-radius: 50%; background: transparent; }
.choice-card input:checked { border: 5px solid var(--yellow); background: var(--green); }
.choice-card span { display: grid; align-content: center; gap: 6px; padding: 15px; }
.choice-card strong { font-size: 14px; line-height: 1.4; font-weight: 600; }
.choice-card small { color: #c6d2c3; font-size: 12px; line-height: 1.35; }
.form-hint { margin-top: 12px; color: var(--yellow); font-size: 12px; line-height: 1.5; }
.hackathon-fields { min-width: 0; margin: 35px 0 0; padding: 0; border: 0; }
.hackathon-fields[hidden], .track-info[hidden], .form-hint[hidden] { display: none; }
.track-info { margin-top: 17px; padding: 23px; border: 1px solid #e8bf45a1; border-radius: 12px; background: #423d20; }
.track-info > strong { display: flex; align-items: center; gap: 9px; color: var(--yellow); font-size: 15px; }
.track-info p { margin-top: 10px; color: #f1eddd; font-size: 13px; line-height: 1.5; }
.track-info > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.track-info span { display: inline-flex; gap: 8px; padding: 9px 12px; border-radius: 7px; background: #ffcd4021; color: #fff7da; font-size: 12px; }
.track-info b { color: var(--yellow); }
.form-subheading { margin: 34px 0 18px; }
.form-subheading h3 { font-size: 21px; }
.form-subheading p { margin-top: 5px; color: #bfc8be; font-size: 13px; line-height: 1.5; }
.member-fields { margin: 14px 0; padding: 20px; border: 1px solid #ffffff29; border-radius: 13px; }
.member-fields legend { padding: 0 9px; font-size: 14px; font-weight: 700; }
.member-fields .form-grid { gap: 15px; }
.member-fields .form-field:last-child { grid-column: 1 / -1; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid #ffffff1c; }
.form-submit-row p { max-width: 310px; color: #b9c3b6; font-size: 12px; line-height: 1.5; }
.form-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none; min-height: 53px; padding: 15px 22px; border: 0; border-radius: 10px; background: var(--yellow); color: #173015; font-size: 15px; font-weight: 700; }
.form-submit:hover { background: #ffe082; color: #173015; }
.form-submit:disabled { opacity: .6; transform: none; }
.form-submit .icon { width: 18px; height: 18px; }
.form-message { min-height: 20px; margin-top: 14px; color: #d3dfd0; font-size: 13px; line-height: 1.5; }
.form-message[data-state="error"] { color: #ffd0c8; }
.form-success { padding: 55px 25px; text-align: center; }
.form-success > .icon { width: 54px; height: 54px; color: var(--yellow); }
.form-success h2 { margin: 18px 0 10px; font-size: 31px; }
.form-success p { margin: auto; max-width: 520px; color: #d2dfcf; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.form-success a { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--yellow); font-weight: 700; }
.form-success a .icon { width: 17px; height: 17px; }
.submission-note { display: flex; gap: 16px; max-width: 900px; margin-bottom: 25px; padding: 21px 24px; border: 1px solid #ffcd4080; border-radius: 12px; background: #423d20; }
.submission-note .icon { flex: none; width: 23px; height: 23px; color: var(--yellow); }
.submission-note p { color: #f4edda; font-size: 14px; line-height: 1.6; }
.submission-form { max-width: 900px; }
.export-shell { max-width: 820px; }
.export-shell .event-form { max-width: 620px; }
.event-secondary-link { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 19px; color: #c5cfc2; font-size: 16px; }
.event-secondary-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 700; }
.event-secondary-link a:hover { color: white; }
.event-secondary-link .icon { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  .forms-shell { padding-top: 175px; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .form-event-meta { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .forms-shell { width: min(100% - 32px, 520px); padding: 112px 0 70px; }
  .form-intro { margin: 31px 0 31px; }
  .form-intro h1 { font-size: 34px; }
  .form-intro p { font-size: 14px; }
  .form-eyebrow { font-size: 10px; }
  .form-aside, .event-form { padding: 23px; border-radius: 18px; }
  .form-aside-icon { width: 44px; height: 44px; margin-bottom: 17px; }
  .form-aside h2 { font-size: 25px; }
  .form-aside p { font-size: 13px; }
  .form-event-meta { grid-template-columns: 1fr; gap: 13px; margin: 19px 0; padding-block: 17px; }
  .form-section-heading { gap: 12px; }
  .form-section-heading h2 { font-size: 23px; }
  .form-section-heading p { font-size: 12px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; gap: 13px; }
  .form-field-wide, .member-fields .form-field:last-child { grid-column: auto; }
  .form-question { margin-top: 27px; }
  .form-question legend { font-size: 14px; }
  .choice-card { min-height: 66px; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .form-submit-row p { max-width: none; }
  .form-submit { width: 100%; }
  .track-info > div { display: grid; }
  .submission-note { padding: 16px; }
  .event-secondary-link { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
}
