.hpc-feedback,
.hpc-feedback * {
    box-sizing: border-box;
}

.hpc-feedback {
    --feedback-bg: #0c0907;
    --feedback-surface: rgba(21, 15, 11, 0.94);
    --feedback-surface-soft: rgba(255, 255, 255, 0.035);
    --feedback-text: #fff7e8;
    --feedback-muted: rgba(255, 247, 232, 0.66);
    --feedback-gold: #d6a85f;
    --feedback-gold-light: #f0d393;
    --feedback-border: rgba(214, 168, 95, 0.24);
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    overflow: clip;
    background:
        radial-gradient(circle at 12% 18%, rgba(157, 91, 49, 0.16), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(214, 168, 95, 0.1), transparent 34%),
        var(--feedback-bg);
    color: var(--feedback-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.hpc-feedback [hidden] {
    display: none !important;
}

.hpc-feedback::before,
.hpc-feedback::after {
    position: absolute;
    content: "";
    pointer-events: none;
    opacity: 0.22;
}

.hpc-feedback::before {
    top: 10%;
    left: -90px;
    width: 270px;
    height: 270px;
    border: 1px solid var(--feedback-border);
    transform: rotate(45deg);
}

.hpc-feedback::after {
    right: -130px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border: 1px solid var(--feedback-border);
    border-radius: 50%;
}

.hpc-feedback a {
    color: inherit;
    text-decoration: none;
}

.hpc-feedback button,
.hpc-feedback input,
.hpc-feedback textarea {
    font: inherit;
}

.hpc-feedback__topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    min-height: 82px;
    margin: 0 auto;
}

.hpc-feedback__brand {
    display: inline-flex;
    align-items: center;
}

.hpc-feedback__brand img {
    display: block;
    width: 112px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

.hpc-feedback__homeLink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--feedback-border);
    border-radius: 3px;
    color: var(--feedback-muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hpc-feedback__homeLink:hover {
    border-color: rgba(240, 211, 147, 0.6);
    background: rgba(240, 211, 147, 0.06);
    color: var(--feedback-text);
}

.hpc-feedback__homeLink svg {
    width: 18px;
    fill: currentColor;
}

.hpc-feedback__main {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: calc(100svh - 138px);
    padding: 18px 24px 34px;
    place-items: center;
}

.hpc-feedback__panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    width: min(1040px, 100%);
    border: 1px solid var(--feedback-border);
    border-radius: 8px;
    background: var(--feedback-surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.hpc-feedback__panel.is-success {
    grid-template-columns: minmax(0, 1fr);
    width: min(680px, 100%);
}

.hpc-feedback__panel.is-success .hpc-feedback__intro {
    display: none;
}

.hpc-feedback__panel.is-success .hpc-feedback__formSide {
    min-height: 520px;
    padding: 48px;
}

.hpc-feedback__panel.is-success .hpc-feedback__success {
    width: min(100%, 440px);
    max-width: 440px;
    padding: 0;
}

.hpc-feedback__intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 590px;
    padding: 58px 54px;
    border-right: 1px solid var(--feedback-border);
    background:
        linear-gradient(145deg, rgba(214, 168, 95, 0.08), transparent 55%),
        rgba(8, 6, 5, 0.36);
}

.hpc-feedback__intro::after {
    position: absolute;
    right: 34px;
    bottom: 30px;
    width: 74px;
    height: 64px;
    border-right: 1px solid rgba(214, 168, 95, 0.22);
    border-bottom: 1px solid rgba(214, 168, 95, 0.22);
    content: "";
}

.hpc-feedback__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 25px;
    color: var(--feedback-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.hpc-feedback__eyebrow span {
    display: block;
    width: 38px;
    height: 1px;
    background: var(--feedback-gold);
}

.hpc-feedback__intro h1 {
    max-width: 420px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(43px, 4.2vw, 64px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.hpc-feedback__intro > p {
    max-width: 410px;
    margin: 27px 0 0;
    color: var(--feedback-muted);
    font-size: 16px;
    line-height: 1.72;
}

.hpc-feedback__promise {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 380px;
    margin-top: 39px;
    padding-top: 24px;
    border-top: 1px solid rgba(214, 168, 95, 0.16);
    color: rgba(255, 247, 232, 0.82);
    font-size: 13px;
    line-height: 1.5;
}

.hpc-feedback__promise svg {
    flex: 0 0 auto;
    width: 22px;
    fill: var(--feedback-gold);
}

.hpc-feedback__formSide {
    display: grid;
    min-height: 590px;
    padding: 42px 48px;
    align-items: center;
}

.hpc-feedback__form {
    display: grid;
    gap: 17px;
}

.hpc-feedback__field {
    display: grid;
    gap: 8px;
}

.hpc-feedback__field label {
    color: rgba(255, 247, 232, 0.82);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hpc-feedback__field input,
.hpc-feedback__field textarea {
    width: 100%;
    border: 1px solid rgba(214, 168, 95, 0.23);
    border-radius: 4px;
    outline: 0;
    background: rgba(255, 255, 255, 0.035);
    color: var(--feedback-text);
    font-size: 16px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hpc-feedback__field input {
    height: 50px;
    padding: 0 15px;
}

.hpc-feedback__field textarea {
    min-height: 106px;
    padding: 13px 15px;
    line-height: 1.5;
    resize: vertical;
}

.hpc-feedback__field input::placeholder,
.hpc-feedback__field textarea::placeholder {
    color: rgba(255, 247, 232, 0.32);
}

.hpc-feedback__field input:focus,
.hpc-feedback__field textarea:focus {
    border-color: rgba(240, 211, 147, 0.72);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 0 3px rgba(214, 168, 95, 0.08);
}

.hpc-feedback__upload {
    position: relative;
    display: flex;
    min-height: 64px;
    border: 1px dashed rgba(214, 168, 95, 0.32);
    border-radius: 4px;
    background: rgba(214, 168, 95, 0.035);
    align-items: center;
}

.hpc-feedback__upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hpc-feedback__upload label {
    display: flex;
    width: 100%;
    min-width: 0;
    padding: 11px 48px 11px 13px;
    cursor: pointer;
    align-items: center;
    gap: 12px;
}

.hpc-feedback__uploadIcon {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(214, 168, 95, 0.24);
    border-radius: 50%;
    color: var(--feedback-gold-light);
    place-items: center;
}

.hpc-feedback__uploadIcon svg {
    width: 19px;
    fill: currentColor;
}

.hpc-feedback__upload label > span:last-child {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.hpc-feedback__upload strong {
    overflow: hidden;
    color: rgba(255, 247, 232, 0.88);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpc-feedback__upload small {
    color: rgba(255, 247, 232, 0.44);
    font-size: 11px;
}

.hpc-feedback__fileRemove {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 13px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--feedback-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hpc-feedback__consent {
    display: flex;
    gap: 9px;
    color: rgba(255, 247, 232, 0.5);
    font-size: 11px;
    line-height: 1.45;
    cursor: pointer;
    align-items: flex-start;
}

.hpc-feedback__consent input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--feedback-gold);
}

.hpc-feedback__website {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.hpc-feedback__error {
    padding: 10px 12px;
    border: 1px solid rgba(224, 94, 75, 0.35);
    border-radius: 4px;
    background: rgba(224, 94, 75, 0.08);
    color: #f3b1a5;
    font-size: 12px;
    line-height: 1.45;
}

.hpc-feedback__submit {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    border: 1px solid rgba(255, 229, 168, 0.92);
    border-radius: 3px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% -38%, rgba(255, 229, 168, 0.34), transparent 48%),
        linear-gradient(180deg, rgba(42, 32, 20, 0.99), rgba(0, 0, 0, 0.99)),
        #050505;
    box-shadow:
        0 0 0 1px rgba(255, 241, 202, 0.08),
        0 0 34px rgba(225, 184, 111, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(225, 184, 111, 0.20);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hpc-feedback button.hpc-feedback__submit {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0.08em;
}

.hpc-feedback__submit::before {
    position: absolute;
    inset: -1px;
    background: linear-gradient(115deg, transparent 14%, rgba(255, 238, 194, 0.46), rgba(255, 255, 255, 0.38), rgba(255, 238, 194, 0.24), transparent 78%);
    content: "";
    pointer-events: none;
    transform: translateX(-125%);
    animation: hpcFeedbackShimmer 4.2s ease-in-out infinite;
}

.hpc-feedback__submit span,
.hpc-feedback__submit svg {
    position: relative;
    z-index: 1;
}

.hpc-feedback__submit span {
    white-space: nowrap;
}

.hpc-feedback__submit:hover {
    border-color: rgba(255, 236, 190, 1);
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(255, 241, 202, 0.12),
        0 0 42px rgba(225, 184, 111, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

.hpc-feedback__submit:disabled {
    cursor: wait;
    filter: saturate(0.55);
    opacity: 0.8;
}

.hpc-feedback__submit svg {
    width: 20px;
    fill: currentColor;
}

.hpc-feedback__submit.is-loading svg {
    animation: hpcFeedbackPulse 0.9s ease-in-out infinite alternate;
}

.hpc-feedback__success {
    width: min(100%, 420px);
    max-width: 420px;
    margin: auto;
    padding: 24px 8px;
    text-align: center;
}

.hpc-feedback__success:focus {
    outline: 0;
}

.hpc-feedback__successIcon {
    display: grid;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    aspect-ratio: 1;
    margin: 0 auto 25px;
    border: 1px solid rgba(240, 211, 147, 0.52);
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 30%, rgba(240, 211, 147, 0.14), transparent 58%),
        rgba(214, 168, 95, 0.05);
    box-shadow:
        0 0 0 7px rgba(214, 168, 95, 0.035),
        0 0 32px rgba(214, 168, 95, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--feedback-gold-light);
    justify-self: center;
    place-items: center;
}

.hpc-feedback__successIcon svg {
    display: block;
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hpc-feedback__successEyebrow {
    color: var(--feedback-gold-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.hpc-feedback__success h2 {
    margin: 15px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 48px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

.hpc-feedback__success p {
    margin: 0;
    color: var(--feedback-muted);
    font-size: 16px;
    line-height: 1.65;
}

.hpc-feedback__successNote {
    display: flex;
    max-width: 350px;
    margin: 23px auto 0;
    padding-top: 19px;
    border-top: 1px solid rgba(214, 168, 95, 0.16);
    color: rgba(255, 247, 232, 0.5);
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
    align-items: flex-start;
    gap: 10px;
}

.hpc-feedback__successNote span {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--feedback-gold);
    box-shadow: 0 0 10px rgba(214, 168, 95, 0.42);
}

.hpc-feedback__success a {
    display: inline-flex;
    margin-top: 30px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(214, 168, 95, 0.5);
    color: var(--feedback-gold-light);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hpc-feedback__footer {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1180px, calc(100% - 48px));
    min-height: 56px;
    margin: 0 auto;
    color: rgba(255, 247, 232, 0.42);
    font-size: 11px;
    letter-spacing: 0.05em;
    align-items: center;
    justify-content: space-between;
}

.hpc-feedback__footer a:hover {
    color: var(--feedback-gold-light);
}

@keyframes hpcFeedbackPulse {
    from { transform: translateX(0); }
    to { transform: translateX(4px); }
}

@keyframes hpcFeedbackShimmer {
    0%, 58% { transform: translateX(-125%); }
    78%, 100% { transform: translateX(125%); }
}

@media (max-width: 820px) {
    .hpc-feedback__topbar {
        width: min(100% - 32px, 720px);
        min-height: 68px;
    }

    .hpc-feedback__brand img {
        width: 88px;
        max-height: 52px;
    }

    .hpc-feedback__homeLink {
        min-height: 38px;
        padding: 0 11px;
        font-size: 10px;
    }

    .hpc-feedback__main {
        min-height: 0;
        padding: 10px 16px 24px;
    }

    .hpc-feedback__panel {
        grid-template-columns: 1fr;
        width: min(100%, 640px);
    }

    .hpc-feedback__intro {
        min-height: 0;
        padding: 31px 28px 29px;
        border-right: 0;
        border-bottom: 1px solid var(--feedback-border);
    }

    .hpc-feedback__intro::after,
    .hpc-feedback__promise {
        display: none;
    }

    .hpc-feedback__eyebrow {
        margin-bottom: 14px;
        font-size: 9px;
    }

    .hpc-feedback__intro h1 {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1;
    }

    .hpc-feedback__intro > p {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.58;
    }

    .hpc-feedback__formSide {
        min-height: 0;
        padding: 27px 28px 30px;
    }

    .hpc-feedback__panel.is-success .hpc-feedback__formSide {
        min-height: calc(100svh - 180px);
        padding: 40px 24px;
    }

    .hpc-feedback__footer {
        width: min(100% - 32px, 640px);
        min-height: 64px;
        gap: 8px;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 460px) {
    .hpc-feedback__homeLink span {
        display: none;
    }

    .hpc-feedback__homeLink {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .hpc-feedback__intro {
        padding: 26px 21px 24px;
    }

    .hpc-feedback__formSide {
        padding: 24px 20px 26px;
    }

    .hpc-feedback__panel.is-success .hpc-feedback__formSide {
        padding: 34px 20px;
    }

    .hpc-feedback__form {
        gap: 15px;
    }

    .hpc-feedback__field input {
        height: 48px;
    }

    .hpc-feedback__success h2 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hpc-feedback *,
    .hpc-feedback *::before,
    .hpc-feedback *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
