:root {
    --charcoal: #302e2f;
    --charcoal-soft: #494748;
    --red: #f02c38;
    --red-deep: #c9192a;
    --paper: #f5f5f3;
    --white: #ffffff;
    --ink: #242224;
    --muted: #747174;
    --line: #dedddc;
    --shadow: 0 24px 80px rgba(48, 46, 47, .14);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, .78fr) minmax(540px, 1.22fr); }
.brand-panel { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 100vh; padding: clamp(2rem, 6vw, 6rem); color: var(--white); background: var(--charcoal); }
.brand-panel::before, .brand-panel::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(255, 255, 255, .1); transform: rotate(45deg); }
.brand-panel::before { width: 420px; height: 420px; right: -245px; top: -70px; border-radius: 74px; }
.brand-panel::after { width: 300px; height: 300px; left: -210px; bottom: -100px; border-radius: 58px; }
.brand-panel__glow { position: absolute; width: 360px; height: 360px; top: 22%; right: -200px; border-radius: 50%; background: var(--red); opacity: .12; filter: blur(10px); }
.brand-panel__content { position: relative; z-index: 1; max-width: 470px; }
.brand-logo { display: block; width: min(100%, 355px); height: auto; margin: 0 0 clamp(3.5rem, 9vw, 7rem); object-fit: contain; }
.eyebrow { margin: 0 0 1rem; color: rgba(255, 255, 255, .65); font-size: .71rem; font-weight: 800; letter-spacing: .22em; }
.eyebrow--dark { color: var(--red); }
.brand-panel h1 { max-width: 440px; margin: 0; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.06em; }
.brand-copy { max-width: 390px; margin: 1.8rem 0 0; color: rgba(255, 255, 255, .72); font-size: 1.05rem; line-height: 1.7; }
.brand-note { display: flex; align-items: center; gap: .7rem; margin-top: clamp(3rem, 8vw, 6rem); color: rgba(255, 255, 255, .56); font-size: .85rem; }
.brand-note__dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 .35rem rgba(240, 44, 56, .15); }
.form-panel { display: flex; align-items: center; padding: clamp(1.25rem, 5vw, 5rem); background: var(--paper); }
.form-wrap { width: min(100%, 720px); margin: 0 auto; }
.form-heading h2 { margin: 0; color: var(--charcoal); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.05em; }
.form-heading p:not(.eyebrow) { max-width: 540px; margin: 1rem 0 2.4rem; color: var(--muted); line-height: 1.6; }
.alert { display: flex; flex-direction: column; gap: .25rem; margin: 0 0 1.4rem; padding: 1rem 1.1rem; border-radius: 12px; font-size: .9rem; }
.alert--error { border: 1px solid rgba(240, 44, 56, .25); color: #9d1422; background: #fff1f2; }
.support-form { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid rgba(48, 46, 47, .08); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin: 0 0 .5rem; color: var(--charcoal); font-size: .86rem; font-weight: 750; }
.field label span, .required-note span { color: var(--red); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: #fcfcfb; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input { height: 3.1rem; padding: 0 .95rem; }
.field textarea { min-height: 9rem; padding: .9rem .95rem; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #aaa7a8; }
.field input:focus, .field textarea:focus { border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgba(240, 44, 56, .1); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-error { display: block; margin-top: .4rem; color: #bd1c2c; font-size: .76rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.7rem; }
.required-note { margin: 0; color: var(--muted); font-size: .76rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.2rem; padding: .75rem 1.15rem; border: 0; border-radius: 10px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(240, 44, 56, .35); outline-offset: 3px; }
.button--primary { color: var(--white); background: var(--red); box-shadow: 0 12px 24px rgba(240, 44, 56, .22); }
.button--primary:hover { background: var(--red-deep); }
.button__arrow { font-size: 1.2rem; line-height: 1; }
.success-page { display: grid; place-items: center; padding: 1.5rem; background: var(--charcoal); }
.success-shell { width: 100%; max-width: 590px; }
.success-card { position: relative; overflow: hidden; padding: clamp(2rem, 7vw, 4.5rem); border-radius: 28px; text-align: center; background: var(--white); box-shadow: 0 30px 100px rgba(0, 0, 0, .3); }
.success-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -150px; top: -140px; border: 1px solid rgba(240, 44, 56, .22); border-radius: 50%; }
.success-logo { position: relative; z-index: 1; width: min(100%, 245px); height: auto; margin: 0 auto 2.7rem; }
.success-icon { display: grid; place-items: center; width: 3.7rem; height: 3.7rem; margin: 0 auto 1.5rem; border-radius: 50%; color: var(--white); background: var(--red); font-size: 1.8rem; font-weight: 800; }
.success-card h1 { margin: 0; color: var(--charcoal); font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.06em; }
.success-copy { max-width: 400px; margin: 1rem auto 1.8rem; color: var(--muted); line-height: 1.6; }
.success-copy--small { margin-top: 1.7rem; font-size: .9rem; }
.ticket-number { display: grid; gap: .25rem; margin: 1.8rem 0; padding: 1.4rem 1rem; border: 1px solid rgba(240, 44, 56, .18); border-radius: 15px; background: #fff5f5; }
.ticket-number span { color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.ticket-number strong { color: var(--red); font-size: clamp(3.8rem, 14vw, 6.5rem); line-height: .95; letter-spacing: -.08em; }
.button--secondary { color: var(--charcoal); border: 1px solid var(--line); background: var(--white); }
.button--secondary:hover { border-color: var(--charcoal); }
@media (max-width: 900px) {
    .page-shell { grid-template-columns: 1fr; }
    .brand-panel { min-height: auto; padding: 2.8rem 1.4rem 3.5rem; }
    .brand-logo { width: min(100%, 275px); margin-bottom: 3rem; }
    .brand-panel h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
    .brand-note { margin-top: 3rem; }
    .form-panel { padding: 2rem 1.4rem 3.5rem; }
}
@media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
    .field--full { grid-column: auto; }
    .form-footer { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .success-card { padding: 2rem 1.25rem 2.5rem; }
}
