@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');

:root {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #242721;
  background: #ece9e2;
  font-synthesis: none;
  --accent: #ce4214;
  --ink: #242721;
  --muted: #6d7168;
  --line: #e0e3da;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 18px 40px 10px;
  background-color: #edf0f5;
  background-image: url('assets/physics-bg.png');
  background-repeat: repeat;
  background-position: center top;
  background-size: 384px auto;
}
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible { outline: 3px solid #ec8054; outline-offset: 4px; }
h1, h2, p { margin: 0; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px; background: white; }
.skip-link:not(:focus) { clip-path: inset(100%); width: 1px; height: 1px; overflow: hidden; padding: 0; }
.site-header { width: 100%; max-width: 1180px; min-height: 54px; flex-shrink: 0; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.partners { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.official-logo { object-fit: contain; display: block; }
.tashtech-logo { height: 32px; width: auto; }
.nielit-logo-header { height: 46px; width: auto; object-fit: contain; }
.brand-divider { color: #858c7e; font-size: 17px; line-height: 1; font-weight: 300; padding: 0 1px; }
.partner-name { color: #2b3327; font-size: 19px; font-weight: 650; letter-spacing: 1px; line-height: 1; }
.partner-country { display: block; font-size: 8px; letter-spacing: 3px; margin-top: 5px; }
.header-note { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 1.5px; color: #5a6153; }
.header-dot { width: 6px; height: 6px; border-radius: 50%; background: #66794c; }
.layout { display: grid; grid-template-columns: .85fr 1.15fr; width: 100%; max-width: 1180px; flex: 1; min-height: 0; max-height: 720px; margin: 18px auto; border-radius: 26px; background: #fffefa; border: 1px solid #ffffffb0; box-shadow: 0 24px 70px #26301a15, 0 3px 8px #26301a05; }
.intro { position: relative; isolation: isolate; overflow: hidden; padding: 36px 38px 28px; border-radius: 25px 0 0 25px; display: flex; flex-direction: column; background: radial-gradient(ellipse at 55% 65%, #87533548, transparent 65%), #20281f; color: #f6f5ed; }
.intro::before { content: ''; position: absolute; inset: 0; background: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 40px 40px; z-index: -1; mask-image: linear-gradient(transparent, black); }
.intro::after { content: ''; position: absolute; width: 440px; height: 440px; border: 1px solid #e6ad6f16; border-radius: 50%; left: -230px; top: -200px; z-index: -1; }
.eyebrow { color: #c4cbbb; font-size: 9px; letter-spacing: 1.7px; display: flex; align-items: center; gap: 8px; }
.eyebrow > span { width: 5px; height: 5px; border-radius: 50%; background: #fd8e54; }
h1 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.12; letter-spacing: -1.8px; font-weight: 500; margin-top: 19px; }
h1 > span { color: #ff925d; }
.program-facts { display: flex; gap: 10px; margin-top: 19px; color: #c8d0c0; font-size: 10px; }
.program-facts > span + span::before { content: '·'; color: #85927e; margin-right: 10px; }
.program-facts .free { color: #ffb38a; }
.brand-scene { position: relative; isolation: isolate; pointer-events: none; flex: 1; min-height: 150px; max-height: 310px; margin-top: 10px; }
.scene-halo { position: absolute; inset: 0; background: radial-gradient(ellipse, #e46a292b, transparent 65%); }
.orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid #e8b28826; border-radius: 50%; }
.orbit-outer { width: 260px; height: 260px; }
.orbit-inner { width: 190px; height: 190px; }
.orbit-track { position: absolute; left: calc(50% - 130px); top: calc(50% - 130px); width: 260px; height: 260px; animation: orbit-turn 48s linear infinite; }
.orbit-dot { position: absolute; top: 13px; left: 62px; width: 6px; height: 6px; background: #f9ab73; border-radius: 50%; box-shadow: 0 0 15px #ff905d60; }
.scene-sphere { position: absolute; left: 15%; top: 8%; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 29% 24%, #ffd1a8, #ff8a4c 43%, #e2470c 83%); box-shadow: 0 14px 30px #f76d1112; animation: sphere-float 9s ease-in-out infinite; }
.scene-cross { position: absolute; right: 9%; top: 20%; color: #d7a078; font-size: 18px; animation: cross-turn 16s ease-in-out infinite; }
.tt-symbol { position: absolute; left: 50%; top: 50%; width: 182px; height: 140px; transform: translate(-50%, -43%); overflow: visible; color: #ff692d; filter: drop-shadow(0 9px 18px #e95a1220); }
.tt-left { transform: translateX(3px); animation: tt-left-float 8s ease-in-out infinite; transform-origin: 65px 100px; }
.tt-right { transform: translateX(-4px); animation: tt-right-float 8s ease-in-out infinite; transform-origin: 192px 100px; }
.scene-shadow { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); width: 140px; height: 9px; border-radius: 50%; background: #100e0b75; filter: blur(8px); }
.motion-toggle { position: absolute; right: 20px; bottom: 20px; padding: 8px; min-height: 32px; background: #ffffff08; border: 1px solid #ffffff12; border-radius: 20px; color: #cbd2c3; font-size: 9px; }
.motion-toggle:hover { color: white; background: #ffffff12; }
.intro-bottom { flex-shrink: 0; margin-top: 8px; }
.small-line { display: block; width: 22px; height: 1px; background: #96a28a; margin-bottom: 10px; }
.intro-bottom p { font-size: 11px; color: #cbd1c5; line-height: 1.6; }
.motion-paused .brand-scene * { animation-play-state: paused !important; }
@keyframes tt-left-float { 0%,100% { transform: translate(3px, 0) rotate(-.4deg); } 50% { transform: translate(3px, -4px) rotate(.4deg); } }
@keyframes tt-right-float { 0%,100% { transform: translate(-4px, -3px) rotate(.4deg); } 50% { transform: translate(-4px, 1px) rotate(-.4deg); } }
@keyframes sphere-float { 0%,100% { transform: translate(0, 0); } 50% { transform: translate(3px, -6px); } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes cross-turn { 0%,100% { transform: rotate(24deg); } 50% { transform: rotate(60deg); } }
.application-card { min-width: 0; min-height: 0; display: flex; flex-direction: column; border-radius: 0 25px 25px 0; background: #fffefa; }
.stepper { flex-shrink: 0; padding: 24px 30px 21px; }
.stepper ol { display: flex; list-style: none; justify-content: space-between; gap: 10px; padding: 0; margin: 0; }
.stepper li { display: flex; align-items: center; gap: 7px; color: #767d70; font-size: 10px; }
.step-number { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; border: 1px solid #d9dfd0; font-size: 10px; }
.stepper li.active { color: #ac350e; font-weight: 600; }
.active .step-number { color: white; background: var(--accent); border-color: var(--accent); }
.done .step-number { background: #e9eee2; color: #4b6140; border-color: #e9eee2; }
.question-progress { height: 2px; background: #eceee7; flex-shrink: 0; }
#question-progress-fill { background: var(--accent); height: 100%; width: 6.667%; transition: width .25s ease; }
#vlsi-application-form { flex: 1; min-height: 0; display: flex; }
.form-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 30px 36px 22px; }
.form-step { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; padding-block: 8px 24px; }
.section-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 26px; color: #737b6b; font-size: 10px; }
.section-meta h2 { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.2px; line-height: 1.5; }
h2:focus { outline: none; }
.section-meta > span { white-space: nowrap; font-size: 9px; padding: 4px 8px; border-radius: 20px; background: #eef0e8; }
.field { margin: 0; min-width: 0; }
.field > label, legend { display: block; padding: 0; font-size: 24px; font-weight: 500; line-height: 1.35; letter-spacing: -.6px; margin-bottom: 20px; }
.field label small { font: inherit; color: #6c7563; }
.field > label > span:not(.optional), legend > span { color: var(--accent); }
input:not([type=radio],[type=checkbox]), select, textarea { display: block; width: 100%; min-width: 0; color: var(--ink); font-size: 16px; border: 1px solid #cbd2c2; border-radius: 10px; padding: 15px 16px; background: #fff; outline: none; min-height: 52px; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #7c8275; }
input:not([type=radio],[type=checkbox]):focus, select:focus, textarea:focus { border-color: #d6653c; box-shadow: 0 0 0 3px #ed906818; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: #ad311d; }
input[type=date] { color-scheme: light; }
textarea { height: clamp(100px, 17svh, 160px); min-height: 90px; resize: none; line-height: 1.6; }
input[type=radio], input[type=checkbox] { flex-shrink: 0; margin: 0; width: 17px; height: 17px; accent-color: var(--accent); }
input[type=radio]:focus-visible, input[type=checkbox]:focus-visible { outline: 2px solid #d6653c; outline-offset: 3px; }
.field-hint { font-size: 11px; line-height: 1.6; color: #66705e; margin: 10px 0 0; }
.role-field { border: 0; padding: 0; }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.role-option { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 12px; border: 1px solid #cdd5c4; border-radius: 9px; cursor: pointer; font-size: 12px; line-height: 1.5; background: white; }
.role-option:hover { border-color: #aab69d; background: #f7f9f3; }
.role-option:has(input:checked) { border-color: #de7652; background: #fff0e7; color: #a1310d; }
.role-option:has(input:focus-visible) { outline: 2px solid #d6653c; outline-offset: 3px; }
.availability-choices { margin-top: 15px; }
.confirmation .consent-label { display: flex; align-items: center; gap: 12px; padding: 16px; min-height: 55px; border: 1px solid #cdd5c4; border-radius: 10px; cursor: pointer; font-size: 16px; letter-spacing: 0; background: white; }
.confirmation .consent-label:has(input:checked) { background: #fff0e7; border-color: #de7652; }
#education-other-wrap { margin-top: 16px; }
#education-other-wrap label { font-size: 13px; letter-spacing: 0; margin-bottom: 8px; }
.error { color: #a52c18; font-size: 11px; line-height: 1.5; margin-top: 8px; }
.error:empty { display: none; }
.form-actions { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.primary-button { margin-left: auto; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 50px; padding: 13px 20px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: white; font-size: 13px; font-weight: 500; transition: background .15s; }
.primary-button:hover { background: #b5360d; }
#button-arrow { font-size: 21px; line-height: 1; }
.back-button { border: 0; padding: 12px 4px; background: none; min-height: 44px; font-size: 12px; white-space: nowrap; }
.back-button:hover { color: var(--accent); }
.form-footnote { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; color: #727b69; font-size: 9px; flex-shrink: 0; }
#question-count { font-variant-numeric: tabular-nums; }
.submit-error { font-size: 11px; line-height: 1.5; padding: 10px; border-radius: 8px; color: #9a2d18; background: #fcece6; margin-bottom: 12px; }
.site-footer { width: 100%; max-width: 1180px; margin: auto auto 0; min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #666f5d; font-size: 9px; flex-shrink: 0; }
.success-panel { margin: auto 0; padding: 35px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 60px; height: 60px; background: #e9efdf; border-radius: 50%; color: #4c6234; font-size: 28px; margin: 0 auto 20px; }
.success-panel .section-meta { display: block; }
.success-panel h2 { font-size: 32px; font-weight: 500; letter-spacing: -1px; }
#success-message { font-size: 13px; line-height: 1.8; color: #69715f; margin: 14px 0 25px; }
.receipt { display: flex; justify-content: space-between; gap: 10px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 11px; margin-bottom: 15px; }
.noscript { padding: 12px; text-align: center; }
@media (max-width: 1050px) {
  body { padding-inline: 24px; }
  .intro { padding: 28px; }
  .layout { grid-template-columns: .78fr 1.22fr; }
  .stepper { padding-inline: 24px; }
  .form-body { padding-inline: 28px; }
  h1 { font-size: 32px; }
  .program-facts { gap: 5px; font-size: 9px; }
  .program-facts > span + span::before { margin-right: 5px; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .intro { padding-top: 25px; }
  h1 { font-size: 31px; margin-top: 14px; }
  .program-facts { margin-top: 14px; }
  .brand-scene { min-height: 125px; margin: 0; }
  .orbit-outer, .orbit-track { width: 180px; height: 180px; }
  .orbit-track { left: calc(50% - 90px); top: calc(50% - 90px); }
  .orbit-inner { width: 130px; height: 130px; }
  .tt-symbol { width: 130px; height: 100px; }
  .scene-sphere { width: 32px; height: 32px; }
  .intro-bottom { margin-top: 0; }
  .small-line { display: none; }
  .stepper { padding-block: 18px; }
  .form-body { padding-block: 22px 18px; }
  .section-meta { margin-bottom: 18px; }
  .field > label, legend { font-size: 21px; margin-bottom: 14px; }
  .form-step { padding-bottom: 18px; }
}
@media (max-width: 760px) {
  body { padding: 10px 14px 8px; min-height: 540px; }
  .site-header { min-height: 42px; }
  .partners { gap: 8px; }
  .tashtech-logo { height: 26px; width: auto; }
  .nielit-logo-header { height: 38px; width: auto; }
  .brand-divider { font-size: 15px; }
  .header-note { display: none; }
  .layout { display: flex; flex-direction: column; margin: 10px auto; max-width: 540px; max-height: none; border-radius: 20px; }
  .intro { flex: 0 0 112px; display: block; padding: 20px 22px; border-radius: 19px 19px 0 0; }
  .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  h1 { font-size: 21px; letter-spacing: -.6px; line-height: 1.25; margin-top: 10px; max-width: calc(100% - 105px); }
  h1 br { display: none; }
  .program-facts, .intro-bottom { display: none; }
  .brand-scene { position: absolute; right: 0; top: -6px; width: 130px; height: 122px; min-height: 0; margin: 0; }
  .orbit-outer, .orbit-track { width: 112px; height: 112px; }
  .orbit-track { left: calc(50% - 56px); top: calc(50% - 56px); }
  .orbit-inner { width: 82px; height: 82px; }
  .orbit-dot { width: 4px; height: 4px; top: 6px; left: 28px; }
  .tt-symbol { width: 85px; height: 65px; }
  .scene-sphere { width: 22px; height: 22px; left: 11%; top: 12%; }
  .scene-cross { font-size: 12px; right: 12%; }
  .scene-shadow { width: 60px; height: 6px; bottom: 9%; }
  .motion-toggle { right: 6px; bottom: 4px; min-height: 22px; font-size: 8px; padding: 4px 6px; background: #20281f; }
  .application-card { flex: 1; border-radius: 0 0 19px 19px; }
  .stepper { padding: 15px 20px 13px; }
  .stepper li { font-size: 9px; gap: 5px; }
  .step-number { width: 20px; height: 20px; font-size: 9px; }
  .form-body { padding: 20px 22px 18px; }
  .section-meta { margin-bottom: 20px; }
  .section-meta h2 { font-size: 9px; letter-spacing: .8px; }
  .section-meta > span { font-size: 8px; }
  .field > label, legend { font-size: 22px; margin-bottom: 18px; }
  textarea { height: clamp(90px, 17svh, 145px); }
  .form-step { padding-bottom: 20px; }
  .form-footnote { margin-top: 14px; font-size: 8px; }
  .role-option { min-height: 56px; padding: 10px; font-size: 11px; gap: 7px; }
  .site-footer { min-height: 16px; max-width: 540px; font-size: 8px; }
  .site-footer > span:last-child { display: none; }
}
@media (max-width: 370px) {
  body { padding-inline: 10px; }
  .partners { gap: 9px; }
  .official-logo { width: 173px; }
  .partner-name { font-size: 14px; }
  .intro { padding-inline: 18px; }
  h1 { font-size: 19px; max-width: calc(100% - 82px); }
  .brand-scene { right: -7px; width: 115px; }
  .stepper { padding-inline: 14px; }
  .stepper li { gap: 4px; font-size: 8px; }
  .step-number { width: 18px; height: 18px; }
  .form-body { padding-inline: 18px; }
  .field > label, legend { font-size: 20px; }
  .role-option { font-size: 10px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .intro { flex-basis: 82px; padding-top: 14px; }
  .intro .eyebrow { display: none; }
  h1 { margin-top: 0; }
  .brand-scene { height: 88px; }
  .orbit-outer, .orbit-track { width: 83px; height: 83px; }
  .orbit-track { left: calc(50% - 41.5px); top: calc(50% - 41.5px); }
  .orbit-inner { width: 60px; height: 60px; }
  .tt-symbol { width: 67px; height: 52px; }
  .scene-sphere { width: 17px; height: 17px; }
  .scene-cross, .scene-shadow { display: none; }
  .motion-toggle { right: 2px; bottom: 2px; padding: 2px 4px; min-height: 20px; font-size: 7px; }
  .stepper { padding-block: 12px; }
  .form-body { padding-block: 14px; }
  .form-step { padding-block: 0 14px; }
  .section-meta { margin-bottom: 13px; }
  .field > label, legend { font-size: 18px; margin-bottom: 12px; }
  .field-hint { font-size: 10px; line-height: 1.5; margin-top: 7px; }
  .role-option { min-height: 48px; padding: 8px; font-size: 10px; }
  .availability-choices { margin-top: 10px; gap: 7px; }
  .primary-button { min-height: 46px; }
  .form-footnote { margin-top: 10px; }
  input:not([type=radio],[type=checkbox]), select { padding: 12px; min-height: 46px; }
  #education-other-wrap { margin-top: 10px; }
  textarea { height: 90px; }
}
/* Short landscape screens prioritize the question without clipping content. */
@media (max-height: 540px) {
  body { min-height: 360px; padding-block: 6px; }
  .site-header { min-height: 32px; }
  .official-logo { width: 180px; height: auto; }
  .layout { margin-block: 6px; }
  .intro, .site-footer { display: none; }
  .layout { display: flex; }
  .application-card { width: 100%; border-radius: 20px; }
  .stepper { padding-block: 10px; }
  .form-body { padding: 12px 26px; }
  .form-step { padding-block: 0 10px; }
  .section-meta { margin-bottom: 8px; }
  .field > label, legend { font-size: 17px; margin-bottom: 10px; }
  .field-hint { font-size: 10px; margin-top: 5px; }
  .form-footnote { display: none; }
  .primary-button { min-height: 42px; padding-block: 8px; }
  .role-option { min-height: 40px; padding: 8px; }
  .availability-choices { margin-top: 7px; }
  input:not([type=radio],[type=checkbox]), select { min-height: 43px; padding: 10px 12px; }
  textarea { height: 70px; min-height: 65px; }
  #education-other-wrap { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .brand-scene * { animation: none !important; }
  .motion-toggle { display: none; }
}
/* Small phones keep long questions and validation in the same view. */
@media (max-width: 760px) and (max-height: 600px) {
  .site-header { min-height: 36px; }
  .site-footer { display: none; }
  .layout { margin-block: 8px 2px; }
  .intro { flex-basis: 56px; padding-block: 8px; }
  h1 { font-size: 16px; line-height: 1.2; max-width: calc(100% - 78px); }
  .brand-scene { height: 62px; width: 96px; top: -4px; right: 0; }
  .tt-symbol { width: 52px; height: 40px; }
  .orbit-outer, .orbit-track { width: 62px; height: 62px; }
  .orbit-track { left: calc(50% - 31px); top: calc(50% - 31px); }
  .orbit-inner { width: 45px; height: 45px; }
  .scene-sphere { width: 13px; height: 13px; }
  .motion-toggle { font-size: 6px; min-height: 16px; }
  .stepper { padding-block: 10px; }
  .section-meta { margin-bottom: 10px; }
  .form-step { padding-bottom: 10px; }
  .field > label, legend { font-size: 17px; }
  body:has(#submit-error:not([hidden])) .intro { display: none; }
}
/* A virtual keyboard must not cover navigation. Zoom retains browser scrolling. */
body { height: var(--viewport-height, 100svh); }
.keyboard-open body { min-height: 240px; padding-block: 6px; }
.keyboard-open .site-header, .keyboard-open .intro, .keyboard-open .site-footer, .keyboard-open .stepper { display: none; }
.keyboard-open .layout { margin-block: 0; }
.keyboard-open .application-card { border-radius: 20px; }
.keyboard-open .form-body { padding: 14px 20px; }
.keyboard-open .section-meta { display: none; }
.keyboard-open .form-step { padding-block: 0 12px; }
.keyboard-open .field > label { font-size: 18px; margin-bottom: 12px; }
.keyboard-open textarea { height: 72px; min-height: 65px; }
.keyboard-open .form-footnote { margin-top: 8px; }
@media (max-height: 600px) {
  .success-panel { padding: 20px; }
  .success-icon { width: 44px; height: 44px; font-size: 23px; margin-bottom: 12px; }
  .success-panel .section-meta { margin-bottom: 12px; }
  .success-panel h2 { font-size: 27px; }
  #success-message { font-size: 12px; line-height: 1.65; margin: 12px 0 18px; }
  .receipt { padding-block: 12px; margin-bottom: 10px; }
}
@media (max-height: 540px) {
  .success-icon { display: none; }
  .success-panel { max-width: 520px; margin: auto; padding: 16px 22px; }
}

/* Section-based flow: all questions in each of the four menus stay together. */
.form-body { padding: 24px 30px 18px; }
.form-step { justify-content: flex-start; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #cbd2c2 transparent; padding: 0 4px 8px 0; }
.section-meta { flex-shrink: 0; margin-bottom: 18px; }
.section-meta h2 { font-size: 19px; text-transform: none; letter-spacing: -.4px; line-height: 1.25; color: #293025; }
.section-meta > span { font-size: 9px; }
.step-fields { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field > label, legend { font-size: 13px; line-height: 1.45; letter-spacing: 0; margin-bottom: 7px; }
input:not([type=radio],[type=checkbox]), select { min-height: 45px; padding: 11px 12px; font-size: 15px; }
textarea { min-height: 65px; height: 90px; padding: 10px 12px; font-size: 15px; }
[data-step="0"] .step-fields { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
[data-field="fullName"] { grid-column: 1 / -1; }
[data-field="email"] { grid-column: 1 / -1; }
[data-field="dob"] { grid-column: 1; }
[data-field="phone"] { grid-column: 2; }
[data-field="telegram"] { grid-column: 1 / -1; }
[data-step="1"] .step-fields { gap: 13px; }
#education-other-wrap { margin-top: 0; }
.role-option { min-height: 40px; padding: 9px 11px; font-size: 11px; }
.field-hint { font-size: 10px; line-height: 1.5; margin-top: 6px; }
.availability-choices { margin-top: 10px; gap: 7px; }
.confirmation .consent-label { min-height: 38px; padding: 8px 10px; margin: 0; font-size: 12px; }
[data-step="3"] .step-fields { gap: 14px; }
[data-step="3"] textarea { height: 65px; }
.error { font-size: 10px; margin-top: 5px; }
.form-actions { padding-top: 13px; }
.form-footnote { margin-top: 12px; }
.submit-error { flex-shrink: 0; }
@media (max-width: 760px) {
  .intro { flex-basis: 78px; padding-block: 13px; }
  .intro .eyebrow { display: none; }
  h1 { margin: 0; font-size: 19px; }
  .brand-scene { height: 84px; }
  .tt-symbol { width: 67px; height: 52px; }
  .orbit-outer, .orbit-track { width: 80px; height: 80px; }
  .orbit-track { left: calc(50% - 40px); top: calc(50% - 40px); }
  .orbit-inner { width: 60px; height: 60px; }
  .scene-sphere { width: 18px; height: 18px; }
  .motion-toggle { bottom: 2px; min-height: 20px; font-size: 7px; }
  .form-body { padding: 17px 20px 15px; }
  .section-meta { margin-bottom: 14px; }
  .section-meta h2 { font-size: 17px; }
  .field > label, legend { font-size: 12px; margin-bottom: 6px; }
  input:not([type=radio],[type=checkbox]), select, textarea { font-size: 16px; }
  [data-step="0"] .step-fields { grid-template-columns: 1fr; gap: 14px; }
  [data-step="0"] .field { grid-column: 1 / -1; width: 100%; }
  .step-fields { gap: 14px; }
  .role-option { font-size: 10px; min-height: 42px; padding: 8px; }
  .form-actions { padding-top: 10px; }
  .primary-button { min-height: 46px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .intro { flex-basis: 50px; padding: 7px 16px; }
  h1 { font-size: 15px; max-width: calc(100% - 85px); }
  .brand-scene { width: 95px; height: 58px; }
  .tt-symbol { width: 50px; height: 38px; }
  .orbit-outer, .orbit-track { width: 60px; height: 60px; }
  .orbit-track { left: calc(50% - 30px); top: calc(50% - 30px); }
  .orbit-inner { width: 43px; height: 43px; }
  .scene-sphere { width: 13px; height: 13px; }
  .motion-toggle { font-size: 6px; min-height: 15px; padding: 2px 4px; }
  .form-body { padding: 12px 16px; }
  .section-meta { margin-bottom: 10px; }
  .section-meta h2 { font-size: 15px; }
  .field > label, legend { font-size: 11px; margin-bottom: 5px; }
  .step-fields, [data-step="0"] .step-fields, [data-step="1"] .step-fields, [data-step="3"] .step-fields { gap: 10px; }
  input:not([type=radio],[type=checkbox]), select { min-height: 42px; padding-block: 9px; }
  .form-footnote { margin-top: 8px; }
  .role-option { min-height: 40px; }
  textarea { height: 75px; }
}
@media (max-height: 540px) {
  .form-body { padding: 12px 24px; }
  .section-meta h2 { font-size: 16px; }
  .field > label, legend { font-size: 12px; }
  .step-fields { gap: 12px; }
  [data-step="1"] .step-fields { grid-template-columns: 1fr 1fr; }
  #education-other-wrap { grid-column: 1 / -1; }
  [data-step="2"] .step-fields { grid-template-columns: 1fr 1fr; }
  [data-field="computerSkills"] { grid-column: 1 / -1; }
}
.keyboard-open .form-step { overflow-y: auto; }
.keyboard-open .field > label { font-size: 12px; margin-bottom: 6px; }
