:root {
    color-scheme: light;
    --brand: #f37021;
    --brand-dark: #c94e0a;
    --ink: #17202a;
    --muted: #5b6570;
    --green: #167a5a;
    --blue: #23649b;
    --bg: #f5f7f8;
    --panel: #ffffff;
    --line: #dfe5e8;
    --shadow: 0 18px 48px rgba(23, 32, 42, 0.11);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.site-header,
.site-footer {
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto;
}

.site-header {
    padding: 22px 0;
}

.brand-strip {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(180px, 1.2fr) minmax(120px, 1fr);
    gap: 18px;
    align-items: center;
}

.brand-slot {
    display: grid;
    min-height: 75px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.brand-slot img {
    width: auto;
    max-width: 220px;
    max-height: 88px;
    object-fit: contain;
}

.brand-slot strong,
.brand-slot small {
    display: block;
}

.brand-slot strong {
    font-size: 18px;
}

.brand-slot small {
    color: var(--muted);
    font-size: 13px;
}

.brand-slot-center {
    justify-items: center;
    text-align: center;
}

.brand-slot-center strong {
    font-size: 26px;
}

.brand-slot-right {
    justify-items: end;
    text-align: right;
}

.site-brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.site-brand img {
    width: 72px;
    max-height: 54px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 800;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    font-size: 17px;
}

.site-brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.hero {
    display: grid;
    width: min(1180px, calc(100vw - 40px));
    min-height: 520px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 48px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 72px 0 84px;
}

.hero-content {
    max-width: 680px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    letter-spacing: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: 64px;
    line-height: 1.02;
}

h2 {
    margin-bottom: 12px;
    font-size: 32px;
}

h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.hero-copy {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button,
button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand);
    border-radius: 8px;
    background: var(--brand);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 11px 18px;
    text-decoration: none;
}

.button:hover,
button:hover {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.button-secondary {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
}

.button-secondary:hover {
    border-color: var(--ink);
    background: #ffffff;
}

.button-finish {
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.button-finish:hover {
    border-color: #b42318;
    background: #b42318;
    color: #ffffff;
    transform: translateY(-1px);
}

.hero-panel {
    display: grid;
    gap: 14px;
    border-radius: 8px;
    background: #1c2a35;
    padding: 30px;
    box-shadow: var(--shadow);
}

.signal-card {
    border-left: 4px solid var(--blue);
    border-radius: 6px;
    background: #ffffff;
    padding: 18px;
}

.signal-card-primary {
    border-left-color: var(--brand);
}

.signal-card:last-child {
    border-left-color: var(--green);
}

.signal-card span,
.signal-card strong {
    display: block;
}

.signal-card span {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
}

.signal-card strong {
    font-size: 18px;
}

.section {
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 30px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.steps article {
    border-top: 3px solid var(--line);
    background: var(--panel);
    padding: 24px;
}

.steps article:nth-child(1) {
    border-top-color: var(--brand);
}

.steps article:nth-child(2) {
    border-top-color: var(--blue);
}

.steps article:nth-child(3) {
    border-top-color: var(--green);
}

.steps p,
.trust-section p,
.auth-intro p,
.form-hint {
    color: var(--muted);
    line-height: 1.55;
}

.step-number {
    display: block;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.trust-section {
    display: grid;
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto 70px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
    border-radius: 8px;
    background: #e9f3ef;
    padding: 38px;
}

.trust-section p {
    margin: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 24px 0 34px;
    font-size: 14px;
}

.site-footer a {
    color: var(--ink);
    font-weight: 800;
}

.auth-page {
    min-height: 100vh;
    background: #eef2f4;
}

.auth-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
}

.auth-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1c2a35;
    color: #ffffff;
    padding: 64px;
}

.site-brand-light,
.site-brand-light small,
.auth-intro p {
    color: #ffffff;
}

.auth-intro h1 {
    max-width: 560px;
    font-size: 56px;
}

.auth-intro p {
    max-width: 520px;
    opacity: 0.82;
}

.eyebrow-light {
    color: #ffb27f;
}

.auth-form-wrap {
    display: grid;
    place-items: center;
    padding: 32px;
}

.auth-form {
    display: grid;
    width: min(440px, 100%);
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 32px;
    box-shadow: var(--shadow);
}

.auth-form h2 {
    margin-bottom: 6px;
}

.form-hint {
    margin: 0;
}

.field {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cfd7dc;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    padding: 12px;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(243, 112, 33, 0.16);
}

.public-card {
    display: grid;
    width: min(920px, calc(100vw - 40px));
    gap: 18px;
    margin: 34px auto 70px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 28px;
    box-shadow: var(--shadow);
}

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

.check {
    display: flex;
    gap: 9px;
    align-items: center;
}

.check input {
    width: auto;
}

.feedback-category {
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-left: 4px solid transparent;
    border-radius: 8px;
    background: #fbfcfd;
    padding: 12px 14px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.feedback-category:hover {
    border-left-color: var(--blue);
    background: #ffffff;
}

.feedback-category.is-selected {
    gap: 14px;
    border-left-color: var(--brand);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(23, 32, 42, 0.07);
}

.feedback-category-fields {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

[hidden],
.is-hidden {
    display: none !important;
}

.alert {
    border-radius: 8px;
    padding: 12px 14px;
    line-height: 1.45;
}

.alert-error {
    background: #fff0ee;
    color: #a1261b;
}

.alert-success {
    background: #e9f6ef;
    color: #176b4d;
}

.back-link {
    justify-self: center;
    color: var(--muted);
    font-size: 14px;
}

.compact-auth-form {
    margin-top: 12px;
    background: transparent;
    box-shadow: none;
    padding-top: 0;
}

@media (max-width: 850px) {
    .hero,
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 34px;
        padding: 50px 0 64px;
    }

    .auth-intro {
        min-height: 340px;
        gap: 54px;
        padding: 36px;
    }

    .steps,
    .trust-section,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .site-header,
    .site-footer,
    .hero,
    .section,
    .trust-section {
        width: min(100% - 28px, 1180px);
    }

    h1 {
        font-size: 42px;
    }

    .auth-intro h1 {
        font-size: 40px;
    }

    .hero-actions,
    .site-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-panel,
    .trust-section,
    .auth-form,
    .public-card {
        padding: 22px;
    }

    .brand-strip {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-slot,
    .brand-slot-right {
        justify-items: center;
        text-align: center;
    }

    .auth-form-wrap {
        padding: 20px 14px 34px;
    }
}
.brand-text {
    margin-left: 25px;                   
}
.brand-mark {
    background: none; 
    padding: 0; 
    display: inline-block; 
    vertical-align: middle; 
}
