/* --------------------------------------------------------------------------
   Coaching application
   Builds on landing.css tokens (ink, cream, paper, red, Work Sans/Inter).
-------------------------------------------------------------------------- */
.apply-page { background: var(--cream); }

.apply-head {
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
}
.apply-head .head-inner { min-height: 78px; gap: 20px; }
.apply-head .brand-logo { height: 38px; }
.apply-head-actions { gap: 18px; }
.apply-head .lang-switch { display: inline-flex; }
.apply-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .72);
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s ease;
}
.apply-back span[aria-hidden="true"] { color: var(--red-hot); font-size: .95rem; }
.apply-back:hover { color: #fff; }

.apply-main {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
}
.apply-main::before {
    content: '';
    position: absolute;
    top: -180px;
    inset-inline-end: -140px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(225, 6, 0, .09), transparent 68%);
    pointer-events: none;
}

.apply-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(40px, 6vw, 92px);
    align-items: start;
}

.apply-intro .eyebrow { margin: 0 0 20px; }
.apply-intro h1 {
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 5.4vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .9;
    text-transform: uppercase;
}
.apply-intro h1 .accent { color: var(--red); }
.apply-lede {
    max-width: 44ch;
    margin: 0;
    color: var(--muted-dark);
    font-size: .98rem;
    line-height: 1.7;
}

.apply-steps {
    margin: 36px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}
.apply-steps li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.apply-step-num {
    padding-top: 2px;
    color: var(--red);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
}
.apply-step-copy strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -.01em;
}
.apply-step-copy > span {
    display: block;
    max-width: 38ch;
    color: var(--muted-dark);
    font-size: .81rem;
    line-height: 1.55;
}

.apply-note {
    max-width: 40ch;
    margin: 26px 0 0;
    padding: 14px 16px;
    border-inline-start: 2px solid var(--red);
    background: rgba(225, 6, 0, .05);
    color: var(--muted-dark);
    font-size: .78rem;
    line-height: 1.6;
}

.apply-card {
    scroll-margin-top: 96px;
    padding: 36px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 34px 90px -68px rgba(11, 9, 8, .55);
}
.apply-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.apply-card-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.apply-card-head > span {
    color: var(--muted-dark);
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.apply-form { display: grid; gap: 17px; }
.apply-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.apply-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}
.apply-field label {
    color: var(--muted-dark);
    font-size: .57rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.apply-required {
    color: var(--red);
    font-size: .72rem;
}
.apply-optional {
    color: rgba(11, 9, 8, .4);
    font-size: .54rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.apply-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .92rem;
    line-height: 1.45;
    transition: border-color .18s ease, box-shadow .18s ease;
}
textarea.apply-control { min-height: 112px; resize: vertical; }
select.apply-control {
    padding-inline-end: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23776f66' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    appearance: none;
    -webkit-appearance: none;
}
[dir="rtl"] select.apply-control {
    padding-inline-end: 14px;
    padding-inline-start: 38px;
    background-position: left 14px center;
}
.apply-control:hover { border-color: rgba(11, 9, 8, .28); }
.apply-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: inset 0 0 0 1px var(--red);
}
.apply-control::placeholder { color: rgba(11, 9, 8, .34); }
.apply-error {
    color: var(--red-deep);
    font-size: .74rem;
    line-height: 1.4;
}
.apply-alert {
    padding: 12px 14px;
    border: 1px solid rgba(225, 6, 0, .35);
    background: rgba(225, 6, 0, .06);
    color: var(--red-deep);
    font-size: .82rem;
    line-height: 1.5;
}
.apply-hp {
    position: absolute;
    inset-inline-start: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.apply-consent-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}
.apply-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.apply-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--red);
    cursor: pointer;
}
.apply-consent label {
    color: var(--muted-dark);
    font-size: .78rem;
    line-height: 1.55;
    cursor: pointer;
}
.apply-consent a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.apply-consent a:hover { color: var(--red); }

.apply-submit {
    width: 100%;
    margin-top: 3px;
    justify-content: space-between;
}
.apply-privacy {
    margin: 0;
    color: var(--muted-dark);
    font-size: .71rem;
    line-height: 1.5;
    text-align: center;
}

.apply-success {
    padding: clamp(18px, 5vw, 44px) 4px clamp(8px, 2vw, 18px);
    text-align: center;
}
.apply-success-mark {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}
.apply-success h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
    text-transform: uppercase;
}
.apply-success p {
    max-width: 34ch;
    margin: 0 auto 26px;
    color: var(--muted-dark);
    font-size: .92rem;
    line-height: 1.65;
}
.apply-success .btn { width: 100%; }

.apply-foot {
    padding: 20px 0;
    background: var(--ink);
    color: rgba(255, 255, 255, .58);
    font-size: .68rem;
    letter-spacing: .07em;
}
.apply-foot .shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
}

@media (max-width: 1024px) {
    .apply-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .apply-lede { max-width: 58ch; }
    .apply-intro h1 { font-size: clamp(2.6rem, 8vw, 4rem); }
    .apply-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
    .apply-note { max-width: 56ch; }
}

@media (max-width: 700px) {
    .apply-head .head-inner { min-height: 68px; }
    .apply-head .brand-logo { height: 32px; }
    .apply-head-actions { gap: 12px; }
    .apply-back-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .apply-steps { grid-template-columns: minmax(0, 1fr); }
    .apply-intro h1 { font-size: clamp(2.4rem, 11vw, 3.3rem); }
}

@media (max-width: 520px) {
    .apply-row { grid-template-columns: minmax(0, 1fr); }
    .apply-card { padding: 20px 16px; }
    .apply-card-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .apply-foot .shell { justify-content: flex-start; }
}
