/* Writer intake page */
.writer-hero {
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 180, 90, .25), transparent 28rem),
        linear-gradient(135deg, #06204a 0%, #0a4dff 100%);
    color: #ffffff;
    padding: 5.5rem 0 7.25rem;
    position: relative;
    overflow: hidden;
}

.writer-hero::after {
    content: '';
    position: absolute;
    width: 28rem;
    height: 28rem;
    right: -12rem;
    bottom: -17rem;
    border: 3rem solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.writer-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr);
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.writer-eyebrow {
    align-items: center;
    color: #ffd9ad;
    display: inline-flex;
    font-size: .85rem;
    font-weight: 800;
    gap: .5rem;
    letter-spacing: .11em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.writer-hero h1 {
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    margin-bottom: 1rem;
}

.writer-hero p {
    color: rgba(255, 255, 255, .87);
    font-size: 1.15rem;
    line-height: 1.75;
    margin: 0;
    max-width: 43rem;
}

.writer-hero-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, .18);
    padding: 1.75rem;
}

.writer-hero-card h2 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.writer-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.writer-steps li {
    align-items: center;
    display: flex;
    gap: .8rem;
    margin-bottom: 1rem;
}

.writer-steps li:last-child { margin-bottom: 0; }

.writer-step-number {
    align-items: center;
    background: #ff8f26;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 1.8rem;
    font-size: .82rem;
    font-weight: 800;
    height: 1.8rem;
    justify-content: center;
}

.writer-main {
    background: #f4f7ff;
    padding: 0 0 5.5rem;
}

.writer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 2rem;
    margin-top: -3.1rem;
    position: relative;
    z-index: 2;
}

.writer-form-card,
.writer-assurance-card {
    background: #ffffff;
    border: 1px solid #e3e9f6;
    border-radius: 1.25rem;
    box-shadow: 0 .9rem 2.6rem rgba(15, 49, 115, .1);
}

.writer-form-card { padding: clamp(1.35rem, 4vw, 3rem); }
.writer-assurance-card { align-self: start; padding: 1.6rem; }

.writer-form-heading {
    color: #10244a;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    margin-bottom: .4rem;
}

.writer-form-intro,
.writer-field-hint {
    color: #64748b;
}

.writer-form-intro { margin-bottom: 2rem; }

.writer-alert {
    border: 1px solid transparent;
    border-radius: .75rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.1rem;
}

.writer-alert--success { background: #ecfdf5; border-color: #86efac; color: #166534; }
.writer-alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.writer-form-section {
    border: 0;
    border-top: 1px solid #e5eaf3;
    margin: 2rem 0 0;
    padding: 2rem 0 0;
}

.writer-form-section:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.writer-form-section legend {
    color: #10244a;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding: 0;
}

.writer-form-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.writer-field { margin-bottom: 1.15rem; }
.writer-form-grid .writer-field { margin-bottom: 0; }
.writer-field--full { grid-column: 1 / -1; }

.writer-field label {
    color: #263b62;
    display: block;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.writer-field input,
.writer-field select,
.writer-field textarea {
    background: #ffffff;
    border: 1.5px solid #cfd9eb;
    border-radius: .65rem;
    color: #172b4d;
    font: inherit;
    min-height: 3rem;
    padding: .75rem .9rem;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.writer-field textarea {
    line-height: 1.55;
    min-height: 9rem;
    resize: vertical;
}

.writer-field input[type='file'] {
    padding: .55rem .7rem;
}

.writer-field input:focus,
.writer-field select:focus,
.writer-field textarea:focus {
    border-color: #0a4dff;
    box-shadow: 0 0 0 3px rgba(10, 77, 255, .13);
    outline: 0;
}

.writer-field-hint {
    display: block;
    font-size: .82rem;
    line-height: 1.45;
    margin-top: .35rem;
}

.writer-request-panel {
    background: #f8faff;
    border: 1px solid #dbe6fc;
    border-radius: .85rem;
    margin-top: 1.15rem;
    padding: 1.35rem;
}

.writer-request-panel[hidden] { display: none; }

.writer-request-panel h3 {
    color: #10244a;
    font-size: 1.12rem;
    margin-bottom: .35rem;
}

.writer-request-panel > p {
    color: #64748b;
    font-size: .9rem;
    margin-bottom: 1.3rem;
}

.writer-consent {
    align-items: flex-start;
    color: #475569;
    cursor: pointer;
    display: flex;
    font-size: .9rem;
    gap: .65rem;
    line-height: 1.5;
}

.writer-consent input { margin-top: .2rem; }

.writer-submit {
    justify-content: center;
    margin-top: 1.75rem;
    width: 100%;
}

.writer-submission-note {
    color: #64748b;
    font-size: .85rem;
    line-height: 1.55;
    margin: .9rem auto 0;
    max-width: 40rem;
    text-align: center;
}

.writer-assurance-card h2 {
    color: #10244a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.writer-assurance-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.writer-assurance-list li {
    color: #475569;
    display: flex;
    font-size: .92rem;
    gap: .7rem;
    line-height: 1.45;
    margin-bottom: 1.15rem;
}

.writer-assurance-list i { color: #0a4dff; margin-top: .15rem; }
.writer-assurance-list li:last-child { margin-bottom: 0; }

.writer-honeypot {
    height: 0;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

@media (max-width: 900px) {
    .writer-hero-grid,
    .writer-layout { grid-template-columns: 1fr; }
    .writer-hero { padding-bottom: 5.4rem; }
    .writer-assurance-card { display: none; }
}

@media (max-width: 600px) {
    .writer-hero { padding: 3.8rem 0 4.9rem; }
    .writer-hero-card { padding: 1.3rem; }
    .writer-form-grid { grid-template-columns: 1fr; }
    .writer-field--full { grid-column: auto; }
    .writer-request-panel { padding: 1rem; }
    .writer-form-card { border-radius: 1rem; }
}
