:root {
    --rc-ink: #172033;
    --rc-muted: #5f6b7a;
    --rc-bg: #f5f7fb;
    --rc-card: #fff;
    --rc-primary: #006b5d;
    --rc-primary-dark: #004f45;
    --rc-accent: #f4b740;
    --rc-border: #d9e0e8;
    --rc-danger: #9f2d2d;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--rc-ink);
    background: var(--rc-bg);
    font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.rc-shell { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding: 38px 0 70px; }
.rc-hero { max-width: 820px; margin-bottom: 30px; }
.rc-kicker { color: var(--rc-primary); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 4px 0 14px; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.06; letter-spacing: -.03em; }
h2 { line-height: 1.2; }
.rc-hero > p:not(.rc-kicker) { color: var(--rc-muted); font-size: 1.1rem; }
.rc-notice, .rc-alert, .rc-bank-instructions {
    padding: 16px 18px;
    border: 1px solid #d8c07c;
    border-radius: 12px;
    background: #fff8df;
}
.rc-alert { margin: 18px 0; }
.rc-alert-error { color: var(--rc-danger); border-color: #e1a7a7; background: #fff1f1; }
.rc-order-form, .rc-empty, .rc-summary, .rc-bank, .rc-proof, .rc-next, .rc-trust {
    margin: 22px 0;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--rc-border);
    border-radius: 18px;
    background: var(--rc-card);
    box-shadow: 0 10px 32px rgba(23, 32, 51, .06);
}
.rc-empty { text-align: center; }
.rc-empty p { max-width: 620px; margin-left: auto; margin-right: auto; color: var(--rc-muted); }
.rc-empty-action { display: inline-flex; width: auto; margin-top: 14px; text-decoration: none; }
fieldset { margin: 0 0 28px; padding: 0; border: 0; }
legend { margin-bottom: 16px; font-size: 1.25rem; font-weight: 800; }
.rc-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; }
.rc-product {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.rc-product-body {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 9px;
    padding: 20px;
    border: 2px solid var(--rc-border);
    border-radius: 14px;
    transition: border-color .16s, box-shadow .16s;
}
.rc-product:hover .rc-product-body { border-color: var(--rc-primary); box-shadow: 0 8px 22px rgba(0, 107, 93, .12); }
.rc-product:focus-visible { outline: 3px solid var(--rc-accent); outline-offset: 3px; border-radius: 14px; }
.rc-product-title { font-weight: 800; font-size: 1.08rem; }
.rc-product-benefits { color: var(--rc-ink); }
.rc-product-terms, .rc-product small, .rc-customer small { color: var(--rc-muted); }
.rc-product-price { margin-top: auto; color: var(--rc-primary); font-size: 1.45rem; }
.rc-product-action { display: inline-flex; justify-content: center; margin-top: 5px; padding: 10px 12px; border-radius: 9px; color: #fff; background: var(--rc-primary); font-weight: 800; }
.rc-customer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rc-customer legend { grid-column: 1 / -1; }
.rc-customer label, .rc-proof form { display: flex; flex-direction: column; gap: 7px; font-weight: 700; }
input[type="email"], input[type="tel"], input[type="number"], input[type="file"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #aeb8c5;
    border-radius: 9px;
    background: #fff;
    color: var(--rc-ink);
    font: inherit;
}
.rc-phone { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.rc-phone > span { padding: 12px; border-radius: 9px; background: #e8edf2; }
.rc-consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; }
.rc-consent input { margin-top: 5px; }
.rc-primary, .rc-secondary {
    display: inline-flex;
    justify-content: center;
    min-height: 48px;
    align-items: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--rc-primary);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.rc-primary:hover { background: var(--rc-primary-dark); }
.rc-primary:disabled { cursor: wait; opacity: .62; }
.rc-secondary { background: #304a62; }
.rc-link-button { text-decoration: none; }
.rc-link { display: inline-block; margin: 12px; color: var(--rc-primary); font-weight: 700; }
.rc-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.rc-trust ol { padding-left: 22px; }
.rc-trust li { margin: 8px 0; }
.rc-order-status { max-width: 850px; }
.rc-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.rc-summary dl div { padding: 14px; border-radius: 10px; background: #f1f4f7; }
.rc-summary dt { color: var(--rc-muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; }
.rc-summary dd { margin: 4px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.rc-proof form { align-items: flex-start; }
.rc-request-dialog {
    width: min(650px, calc(100% - 24px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: var(--rc-ink);
    overflow: auto;
}
.rc-request-dialog::backdrop { background: rgba(5, 20, 28, .72); backdrop-filter: blur(3px); }
.rc-dialog-card { position: relative; padding: clamp(22px, 5vw, 38px); border-radius: 18px; background: #fff; box-shadow: 0 22px 70px rgba(0, 0, 0, .28); }
.rc-dialog-card h2 { margin: 2px 44px 8px 0; font-size: clamp(1.65rem, 4vw, 2.2rem); }
.rc-dialog-close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #233143; background: #edf1f5; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.rc-selected-copy { margin: 0 0 22px; padding: 12px 14px; border-radius: 10px; background: #eef7f5; color: #22443f; }
.rc-human-check { display: grid; gap: 8px; margin-top: 4px; font-weight: 700; }
.rc-human-check input { max-width: 150px; }
.rc-form-message { display: none; margin: 12px 0; padding: 11px 13px; border-radius: 9px; }
.rc-form-message.is-visible { display: block; }
.rc-form-message.is-error { color: var(--rc-danger); background: #fff1f1; }
.rc-form-message.is-success { color: #075e51; background: #e7f7f2; }

@media (max-width: 680px) {
    .rc-shell { width: min(100% - 20px, 1120px); padding-top: 24px; }
    .rc-order-form, .rc-empty, .rc-summary, .rc-bank, .rc-proof, .rc-next, .rc-trust { border-radius: 13px; }
    .rc-customer, .rc-summary dl { grid-template-columns: 1fr; }
    .rc-primary, .rc-secondary { width: 100%; }
    .rc-request-dialog { width: calc(100% - 16px); }
    .rc-dialog-card { border-radius: 13px; }
}
