/* ==========================================================================
   2026 Redesign — Audit entry form (template-audit-results.php, no-params state)
   --------------------------------------------------------------------------
   Loaded conditionally only when the audit page renders the form
   (no business_name + no audit_id query params). The post-submit
   states (loading, results, gate) keep their legacy audit.css styles.
   ========================================================================== */


/* The audit entry page becomes a full-bleed dark hero. */
body.redesign-2026.page-template-template-audit-results-php {
    background: var(--night);
    color: #fff;
}


/* --- Page wrapper ---------------------------------------------------- */

.audit-entry-2026 {
    min-height: 100vh;
    padding: 140px 48px 80px;
    background: radial-gradient(ellipse 1200px 700px at 50% 100%, rgba(244, 168, 92, 0.12), transparent 60%), var(--night);
    position: relative;
    overflow: hidden;
}

.audit-entry-2026 .stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.audit-entry-2026 .stars canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.5;
}


/* --- Split layout (narrative + card) -------------------------------- */

.audit-entry-2026__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 80px;
    align-items: start;
}


/* LEFT — narrative */

.audit-entry-2026__left .eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sun);
    margin-bottom: 24px;
}

.audit-entry-2026__left h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0 0 28px;
    text-wrap: pretty;
    color: #fff;
}

.audit-entry-2026__left h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--sun);
}

.audit-entry-2026__left .lede {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 46ch;
    line-height: 1.55;
    margin: 0 0 40px;
}

.audit-entry-2026__what {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    margin-top: 40px;
}

.audit-entry-2026__what h5 {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stacks-fg);
    margin: 0 0 20px;
}

.audit-entry-2026__what ol {
    list-style: none;
    counter-reset: s;
    margin: 0;
    padding: 0;
}

.audit-entry-2026__what li {
    counter-increment: s;
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.82);
}

.audit-entry-2026__what li:last-child { border-bottom: none; }

.audit-entry-2026__what li::before {
    content: counter(s, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--sun);
    min-width: 28px;
}

.audit-entry-2026__what li strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}


/* RIGHT — form card */

.audit-entry-2026__card {
    background: linear-gradient(180deg, rgba(26, 33, 56, 0.85), rgba(17, 23, 41, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    color: #fff;
}

.audit-entry-2026__card .corner {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stacks-fg);
}

.audit-entry-2026__card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    margin: 0 0 6px;
    color: #fff;
}

.audit-entry-2026__card .sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px;
}


/* form fields */

.audit-entry-2026 .form-group { margin-bottom: 22px; }

.audit-entry-2026 .form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stacks-fg);
    margin-bottom: 8px;
}

.audit-entry-2026 .form-input,
.audit-entry-2026 .form-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 14px 16px;
    border-radius: 10px;
    outline: none;
    transition: border-color 150ms, background 150ms;
}

.audit-entry-2026 .form-input:focus,
.audit-entry-2026 .form-select:focus {
    border-color: var(--sun);
    background: rgba(0, 0, 0, 0.45);
}

.audit-entry-2026 .form-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.audit-entry-2026 .form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--stacks-fg-2);
}

.audit-entry-2026__submit {
    width: 100%;
    margin-top: 10px;
    padding: 18px 24px;
    border: none;
    background: var(--sun);
    color: var(--night);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 150ms, background 150ms;
}

.audit-entry-2026__submit:hover {
    background: #fff;
    transform: translateY(-1px);
}

.audit-entry-2026__trust {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 18px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stacks-fg-2);
    flex-wrap: wrap;
}

.audit-entry-2026__trust span { display: flex; align-items: center; gap: 6px; }

.audit-entry-2026__trust span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #28C840;
}


/* --- Below band (3 trust bullets) ------------------------------------ */

.audit-entry-2026__below {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 80px auto 0;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.audit-entry-2026__below .item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
}

.audit-entry-2026__below .item strong {
    display: block;
    font-family: var(--font-display);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}


/* --- Mobile breakpoints ---------------------------------------------- */

@media (max-width: 880px) {
    .audit-entry-2026 { padding: 100px 24px 60px; }
    .audit-entry-2026__inner { grid-template-columns: 1fr; gap: 48px; }
    .audit-entry-2026__left h1 { font-size: 40px; }
    .audit-entry-2026__card { padding: 28px 24px; }
    .audit-entry-2026 .form-row2 { grid-template-columns: 1fr; }
    .audit-entry-2026__below { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px; }
}
