/* Start-a-lab application + status pages (extends ../styles.css) */
[hidden] { display: none !important; }
.apply { position: relative; padding: 128px 0 96px; min-height: 100svh; overflow: hidden;
  background: radial-gradient(700px 500px at 0% 0%, rgba(198,255,77,.07), transparent 65%); }
.apply .grid-bg { mask-image: radial-gradient(ellipse 60% 50% at 20% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 20% 20%, #000 20%, transparent 70%); }
.apply-in { position: relative; display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .apply-in { grid-template-columns: .85fr 1.15fr; gap: 72px; } .apply-side { position: sticky; top: 112px; } }
.apply h1 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -.035em; }
.apply-side .lead { font-size: 17px; }

.flow { list-style: none; margin-top: 40px; display: grid; gap: 4px; }
.flow li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.flow li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 13px var(--mono); color: var(--acid); box-shadow: inset 0 0 0 1px rgba(198,255,77,.4); }
.flow b { color: var(--fg); font-weight: 600; display: block; }
.flow small { color: var(--fg-3); font-size: 14px; }
.why, .bookmark { display: grid; grid-template-columns: 24px 1fr; gap: 14px; margin-top: 32px; padding: 20px; border-radius: 16px; background: rgba(198,255,77,.05); box-shadow: inset 0 0 0 1px rgba(198,255,77,.18); font-size: 15px; }
.why svg, .bookmark svg { width: 24px; height: 24px; color: var(--acid); }
.why b, .bookmark b { color: var(--fg); }

/* card + form */
.apply-card { position: relative; padding: 40px; border-radius: 24px; background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px rgba(0,0,0,.5); }
@media (max-width: 600px) { .apply-card { padding: 24px 20px; } }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 32px; }
.steps-bar i { height: 3px; border-radius: 3px; background: var(--line-2); transition: background .3s var(--ease); }
.steps-bar i.on { background: var(--acid); }
fieldset { border: 0; min-width: 0; }
legend { display: block; width: 100%; font: 700 30px/1.1 var(--display); color: var(--fg); letter-spacing: -.03em; margin-bottom: 28px; }
legend .kicker { display: block; margin-bottom: 12px; }
.row2 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--fg); }
.field em { font-style: normal; color: var(--acid); }
.field small { font-size: 13px; color: var(--fg-3); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 12px; color: var(--fg); font: 16px/1.5 var(--body);
  background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s var(--ease), background .2s; }
.field textarea { resize: vertical; min-height: 76px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2380869a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { background: var(--bg-2); }
.field input::placeholder, .field textarea::placeholder { color: #5f6578; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--acid), 0 0 0 4px var(--acid-dim); }
.field [aria-invalid=true] { box-shadow: inset 0 0 0 1px #ff8f7f; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 12px; text-align: center; border-radius: 12px; font-size: 15px; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: all .2s var(--ease); }
.seg input:checked + span { color: var(--fg); background: var(--acid-dim); box-shadow: inset 0 0 0 1px var(--acid); }
.seg input:focus-visible + span { outline: 2px solid var(--acid); outline-offset: 2px; }
.company { padding: 20px; margin: -4px 0 20px; border-radius: 16px; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line); }
.note { font-size: 14px; color: var(--fg-3); }

.consent { margin-top: 8px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--acid); cursor: pointer; }
.check a { color: var(--acid); }
.form-err { min-height: 24px; margin-top: 16px; font-size: 15px; color: #ff8f7f; }
.actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 8px; }
.actions #next { margin-left: auto; }
@media (max-width: 520px) { .actions { flex-direction: column-reverse; } .actions .btn { width: 100%; } }

/* status page */
.status-in { position: relative; max-width: 760px; }
.timeline { list-style: none; margin-top: 48px; display: grid; gap: 0; }
.tl { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding-bottom: 32px; }
.tl::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line-2); }
.tl:last-child::before { display: none; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; margin-top: 2px; box-shadow: inset 0 0 0 2px var(--line-2); background: var(--bg); position: relative; z-index: 1; }
.tl.ok .tl-dot { background: var(--acid); box-shadow: none; }
.tl.ok .tl-dot::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 10px; border: solid #0a0d02; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tl.wip .tl-dot { box-shadow: inset 0 0 0 2px var(--acid); }
.tl.wip .tl-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--acid); animation: ping 1.6s var(--ease) infinite; }
.tl.bad .tl-dot { box-shadow: inset 0 0 0 2px #ff8f7f; }
.tl b { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--fg); font: 600 19px/1.3 var(--display); letter-spacing: -.01em; }
.tl p { color: var(--fg-3); font-size: 15px; margin-top: 6px; }
.tl .btn { margin-top: 16px; }
.pill { font: 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-3); }
.pill.ok { color: #0a0d02; background: var(--acid); box-shadow: none; }
.pill.wip { color: var(--acid); box-shadow: inset 0 0 0 1px rgba(198,255,77,.4); }
.pill.bad { color: #ff8f7f; box-shadow: inset 0 0 0 1px rgba(255,143,127,.4); }
