:root,
html[data-theme] {
    color-scheme: light;
    --submit-text: #10243b;
    --submit-copy: #526579;
    --submit-copy-muted: #718196;
    --submit-accent: #1877f2;
    --submit-accent-strong: #075fcd;
    --submit-danger: #d92d20;
    --submit-border: #dfe6ee;
    --submit-soft: #f6f8fb;
    --submit-panel: rgba(255, 255, 255, 0.96);
    --submit-control-border: #ced8e4;
    --submit-control-bg: #ffffff;
    --submit-option-bg: #ffffff;
    --submit-option-text: #10243b;
    --submit-chip-border: #dfe6ee;
    --submit-chip-bg: #f7f9fc;
    --submit-success-border: #cfe0f4;
    --submit-success-bg: #f2f7fd;
    --submit-button-text: #ffffff;
    --submit-button-shadow: 0 12px 28px rgba(24, 119, 242, 0.22);
}

html {
    background: #edf2f7;
}

body {
    min-width: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--submit-text);
    background: #edf2f7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    inset: 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(45, 137, 255, 0.13), transparent 31rem),
        radial-gradient(circle at 92% 88%, rgba(72, 191, 164, 0.10), transparent 28rem),
        #edf2f7;
    filter: none;
    transform: none;
    opacity: 1;
}

body::after {
    background-image: radial-gradient(rgba(16, 36, 59, 0.07) 0.7px, transparent 0.7px);
    background-size: 18px 18px;
    opacity: 0.34;
}

.submit-shell {
    width: 100%;
    min-height: 100dvh;
}

.submit-hero {
    width: min(100%, 1320px);
    min-height: 100dvh;
    margin: 0 auto;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 980px);
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.quick-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 56px);
    overflow: hidden;
    padding: clamp(28px, 2.8vw, 38px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    color: #ffffff;
    background:
        radial-gradient(circle at 105% -5%, rgba(53, 142, 255, 0.50), transparent 23rem),
        linear-gradient(155deg, #132f4d 0%, #0b2138 52%, #071a2d 100%);
    box-shadow: 0 24px 70px rgba(16, 36, 59, 0.18);
}

.quick-intro::before,
.quick-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.quick-intro::before {
    width: 280px;
    height: 280px;
    right: -150px;
    top: 24%;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 54px rgba(255, 255, 255, 0.025), 0 0 0 108px rgba(255, 255, 255, 0.018);
}

.quick-intro::after {
    width: 190px;
    height: 190px;
    left: -90px;
    bottom: -90px;
    background: rgba(49, 193, 164, 0.12);
    filter: blur(2px);
}

.quick-intro-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    align-self: flex-start;
    color: #ffffff;
    text-decoration: none;
}

.quick-intro-logo {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.quick-intro-logo img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.quick-intro-brand > span:last-child,
.quick-intro-brand strong,
.quick-intro-brand small {
    display: block;
}

.quick-intro-brand strong {
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.075em;
}

.quick-intro-brand small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.quick-intro-copy {
    margin-top: clamp(38px, 6vh, 62px);
}

.quick-intro-eyebrow {
    margin: 0 0 14px;
    color: #74b3ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.quick-intro h1 {
    max-width: 420px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(31px, 3.3vw, 48px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

.quick-intro-copy > p:last-child {
    max-width: 410px;
    margin: 20px 0 0;
    color: rgba(235, 243, 251, 0.70);
    font-size: 14px;
    line-height: 1.72;
}

.quick-process-list {
    display: grid;
    gap: 0;
    margin: clamp(28px, 4vh, 40px) 0 24px;
    padding: 0;
    list-style: none;
}

.quick-process-list li {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    min-height: 54px;
    color: rgba(255, 255, 255, 0.45);
}

.quick-process-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.13);
}

.quick-process-list li > span {
    display: grid;
    place-items: center;
    align-self: start;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

.quick-process-list strong,
.quick-process-list small {
    display: block;
}

.quick-process-list strong {
    padding-top: 1px;
    font-size: 13px;
    font-weight: 600;
}

.quick-process-list small {
    margin-top: 3px;
    color: inherit;
    font-size: 11px;
}

.quick-process-list .is-current {
    color: #ffffff;
}

.quick-process-list .is-current > span,
.quick-process-list .is-complete > span {
    border-color: #3d93ff;
    background: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.28);
}

.quick-process-list .is-complete {
    color: rgba(255, 255, 255, 0.72);
}

.quick-trust-note {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    margin-top: auto;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
}

.quick-trust-note svg {
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 8px;
    color: #79dec8;
    background: rgba(64, 196, 166, 0.11);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.quick-trust-note strong,
.quick-trust-note small {
    display: block;
}

.quick-trust-note strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
}

.quick-trust-note small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 10px;
    line-height: 1.45;
}

.quick-home-link {
    align-self: flex-start;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.quick-home-link:hover,
.quick-home-link:focus-visible {
    color: #ffffff;
    outline: none;
}

.submit-form-wrap {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
}

.submit-form-panel,
.submit-success-card {
    width: 100%;
    min-height: calc(100dvh - 56px);
    margin: 0;
    padding: clamp(28px, 3vw, 42px);
    border: 1px solid rgba(214, 224, 234, 0.9);
    border-radius: 28px;
    background: var(--submit-panel);
    box-shadow: 0 24px 70px rgba(16, 36, 59, 0.11);
    backdrop-filter: blur(20px);
}

.submit-form-panel {
    display: block;
}

.seller-property-form {
    width: min(100%, 780px);
    margin: 0 auto;
    gap: 20px;
}

.quick-form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9eef4;
    color: #718196;
    font-size: 11px;
    font-weight: 600;
}

.quick-form-heading span:first-child {
    color: #10243b;
    font-size: 13px;
    font-weight: 700;
}

.quick-form-heading span:last-child::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #36b997;
    box-shadow: 0 0 0 3px rgba(54, 185, 151, 0.10);
    vertical-align: 1px;
}

.submit-progress {
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.submit-progress-copy {
    color: #7a899b;
    font-size: 11px;
    font-weight: 600;
}

.submit-progress-copy strong {
    color: #1d334b;
    font-size: 12px;
    font-weight: 650;
}

.submit-progress-track {
    height: 4px;
    background: #e7edf4;
}

.submit-progress-bar {
    background: #1877f2;
    box-shadow: none;
}

.submit-step-markers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.submit-step-marker {
    color: #98a5b4;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
}

.submit-step-marker:nth-child(2) {
    text-align: center;
}

.submit-step-marker:last-child {
    text-align: right;
}

.submit-step-marker.is-active,
.submit-step-marker.is-complete {
    color: #1877f2;
}

.submit-step-header {
    margin-bottom: 18px;
}

.submit-step-eyebrow,
.quick-offer-label,
.submit-success-kicker {
    margin-bottom: 8px;
    color: #1877f2;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.submit-step-header h3 {
    font-size: clamp(25px, 2.6vw, 34px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.submit-step-header p:last-child {
    max-width: 620px;
    margin-top: 9px;
    color: #718196;
    font-size: 13px;
    line-height: 1.6;
}

.submit-grid {
    gap: 18px 16px;
}

.submit-field {
    gap: 7px;
}

.submit-field label,
.submit-checkbox-group > span {
    color: #263c53;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.005em;
    text-transform: none;
}

.submit-field-hint {
    margin: -1px 0 4px;
    color: #8390a1;
    font-size: 11px;
}

.quick-property-lookup-status {
    margin: -2px 0 2px;
    padding: 10px 12px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    color: #31516f;
    font-size: 11px;
    line-height: 1.45;
}

.quick-property-lookup-status.is-loading {
    color: #1d4ed8;
}

.quick-property-lookup-status.is-success {
    border-color: rgba(22, 163, 74, 0.22);
    background: rgba(22, 163, 74, 0.07);
    color: #166534;
}

.quick-property-lookup-status.is-warning {
    border-color: rgba(180, 83, 9, 0.2);
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
}

.submit-field input,
.submit-field select,
.submit-field textarea {
    min-height: 50px;
    padding: 13px 15px;
    border-color: #ced8e4;
    border-radius: 11px;
    background: #ffffff;
    color: #10243b;
    font-family: inherit;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(16, 36, 59, 0.025);
}

.submit-field input:hover,
.submit-field select:hover,
.submit-field textarea:hover {
    border-color: #aab9c9;
}

.submit-field input:focus,
.submit-field select:focus,
.submit-field textarea:focus {
    border-color: #4b91ea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.10);
}

.submit-field input::placeholder,
.submit-field textarea::placeholder {
    color: #a0acb9;
}

.submit-field select option,
.submit-field select optgroup {
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 14px;
}

.quick-role-grid,
.quick-renovation-modes {
    gap: 12px;
}

.quick-choice-card {
    min-height: 86px;
    padding: 15px;
    gap: 12px;
    border-color: #d9e2eb;
    border-radius: 13px;
    background: #f9fbfd;
}

.quick-choice-card:hover,
.quick-choice-card:focus-within {
    border-color: #7bace9;
    background: #f5f9ff;
    transform: none;
}

.quick-choice-card:has(input:checked) {
    border-color: #3485e9;
    background: #f1f7ff;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.08);
}

.quick-choice-card input {
    margin-top: 3px;
}

.quick-choice-card strong {
    font-size: 13px;
    font-weight: 650;
}

.quick-choice-card small {
    margin-top: 3px;
    color: #718196;
    font-size: 11px;
    line-height: 1.5;
}

.quick-budget-shell,
.quick-repair-shell,
.quick-estimate-breakdown,
.quick-terms-card {
    padding: 20px;
    border-color: #dfe6ee;
    border-radius: 15px;
    background: #f8fafc;
}

.quick-budget-heading strong,
.quick-repair-heading strong,
.quick-terms-card h4,
.quick-estimate-breakdown h4 {
    color: #1d334b;
    font-size: 14px;
    font-weight: 650;
}

.quick-budget-heading span,
.quick-repair-heading span,
.quick-budget-note {
    color: #718196;
    font-size: 11px;
}

.quick-optional-label {
    margin-left: 5px;
    color: #8a98a8;
    font-size: 10px;
    font-weight: 500;
}

.quick-property-features .submit-checkbox {
    cursor: pointer;
}

.quick-garage-count {
    min-height: 48px;
    padding: 9px 13px;
    border: 1px solid #dfe6ee;
    border-radius: 11px;
    background: #ffffff;
}

.quick-garage-count label {
    font-size: 11px;
}

.quick-garage-count input {
    min-height: 34px;
    padding: 5px 9px;
}

.quick-private-budget {
    grid-column: 1 / -1;
}

.quick-budget-toggle {
    cursor: pointer;
}

.quick-budget-toggle strong,
.quick-budget-toggle small {
    display: block;
}

.quick-budget-toggle strong {
    color: #263c53;
    font-size: 12px;
    font-weight: 650;
}

.quick-budget-toggle small {
    margin-top: 2px;
    color: #7a899b;
    font-size: 10px;
}

.quick-custom-budget-field {
    max-width: 360px;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    background: #f8fafc;
}

.quick-local-budget {
    display: none;
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px dashed #7bace9;
    border-radius: 14px;
    background: #f1f7ff;
}

.is-localhost .quick-local-budget {
    display: block;
}

.quick-local-budget-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.quick-local-budget-heading span {
    color: #526579;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-local-budget-heading strong {
    color: #075fcd;
    font-size: 22px;
    letter-spacing: -0.035em;
}

.quick-local-budget > p {
    margin: 9px 0 0;
    color: #526579;
    font-size: 11px;
    line-height: 1.55;
}

.quick-local-budget ul {
    display: grid;
    gap: 5px;
    margin: 12px 0 0;
    padding: 12px 0 0 18px;
    border-top: 1px solid #d7e5f5;
    color: #263c53;
    font-size: 11px;
}

.submit-checkbox {
    min-height: 48px;
    padding: 11px 13px;
    border-color: #dfe6ee;
    border-radius: 11px;
    background: #ffffff;
    color: #526579;
    font-size: 12px;
}

.quick-repair-cost,
.quick-estimate-line strong,
.quick-offer-amount {
    font-family: Inter, "Segoe UI", sans-serif;
}

.quick-repair-cost {
    display: none;
    color: #1877f2;
    font-size: 10px;
}

.is-localhost .quick-repair-cost {
    display: inline-flex;
    margin-left: 5px;
    white-space: nowrap;
}

.submit-actions {
    padding-top: 4px;
    border-top: 1px solid #edf1f5;
}

.submit-feedback {
    color: #718196;
    font-size: 12px;
}

.submit-primary-btn,
.submit-secondary-btn {
    min-height: 46px;
    border-radius: 11px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

.submit-primary-btn {
    min-width: 132px;
    padding: 13px 22px;
    background: #1877f2;
    box-shadow: 0 10px 22px rgba(24, 119, 242, 0.20);
}

.submit-primary-btn:hover,
.submit-primary-btn:focus-visible {
    background: #0d69db;
    box-shadow: 0 12px 26px rgba(24, 119, 242, 0.24);
    transform: translateY(-1px);
}

.quick-offer-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-offer-download-btn[hidden] {
    display: none;
}

.quick-offer-download-btn svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.submit-secondary-btn {
    border-color: #ced8e4;
    background: #ffffff;
    color: #263c53;
}

.quick-offer-card {
    padding: clamp(28px, 5vw, 44px);
    border-color: #cfe0f4;
    border-radius: 18px;
    background: linear-gradient(145deg, #f4f9ff, #edf6ff);
    box-shadow: none;
}

.quick-offer-amount {
    color: #075fcd;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 750;
    letter-spacing: -0.06em;
    text-shadow: none;
}

.quick-offer-disclaimer {
    color: #687b8f;
    font-size: 11px;
}

.quick-estimate-line {
    padding: 12px 13px;
    border: 1px solid #e6ebf1;
    border-radius: 10px;
    background: #ffffff;
    color: #687b8f;
    font-size: 11px;
}

.quick-terms-list li {
    border: 1px solid #e5ebf2;
    border-radius: 10px;
    background: #ffffff;
    color: #263c53;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .submit-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 18px;
    }

    .quick-intro {
        min-height: auto;
        padding: 24px;
    }

    .quick-intro-copy {
        margin-top: 34px;
    }

    .quick-intro h1 {
        max-width: 650px;
        font-size: clamp(30px, 6vw, 46px);
    }

    .quick-intro-copy > p:last-child {
        max-width: 650px;
    }

    .quick-process-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin: 30px 0 24px;
    }

    .quick-process-list li {
        grid-template-columns: 34px 1fr;
        min-height: 0;
    }

    .quick-process-list li:not(:last-child)::after {
        display: none;
    }

    .quick-trust-note {
        max-width: 520px;
    }

    .quick-home-link {
        position: absolute;
        top: 34px;
        right: 24px;
        margin: 0;
    }

    .submit-form-panel,
    .submit-success-card {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .submit-hero {
        padding: 10px;
        gap: 10px;
    }

    .quick-intro {
        padding: 20px;
        border-radius: 20px;
    }

    .quick-intro-brand {
        gap: 10px;
    }

    .quick-intro-logo {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .quick-intro-logo img {
        width: 31px;
        height: 31px;
    }

    .quick-intro-copy {
        margin-top: 34px;
    }

    .quick-intro h1 {
        font-size: 30px;
    }

    .quick-intro-copy > p:last-child {
        margin-top: 14px;
        font-size: 12px;
    }

    .quick-process-list,
    .quick-trust-note,
    .quick-home-link {
        display: none;
    }

    .submit-form-panel,
    .submit-success-card {
        min-height: 0;
        padding: 24px 18px;
        border-radius: 20px;
    }

    .seller-property-form {
        gap: 22px;
    }

    .quick-form-heading {
        padding-bottom: 18px;
    }

    .submit-step-header h3 {
        font-size: 26px;
    }

    .submit-grid,
    .submit-checkbox-grid,
    .submit-review-grid,
    .quick-role-grid,
    .quick-renovation-modes,
    .quick-estimate-grid,
    .quick-terms-list,
    .quick-budget-row {
        grid-template-columns: 1fr;
    }

    .submit-actions,
    .submit-step-actions,
    .submit-step-actions .submit-primary-btn,
    .submit-step-actions .submit-secondary-btn {
        width: 100%;
    }

    .submit-actions {
        gap: 10px;
    }
}
