/* RBZ068R3R4_TYPOGRAPHY_INTEGRATION */
/*
 * RAWBURTZ typography integration for the acquisition rail.
 *
 * Display / interface hierarchy: Oswald
 * Body / explanation / inputs:   Lato
 *
 * Presentation only. No offer, pricing, reservation, order, inventory,
 * Stripe, database, or state-machine behavior lives here.
 */

:root {
    --rb068r4-font-display: Oswald, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    --rb068r4-font-body: Lato, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Cards inherit the calm body face by default. */
.rb068r2-offer-panel,
.rb068r2-inquiry-shell {
    font-family: var(--rb068r4-font-body);
}

/* ---------------------------------------------------------------
   DISPLAY / COMMAND TYPOGRAPHY
   --------------------------------------------------------------- */

.rb068r2-eyebrow,
.rb068r2-offer-summary__copy strong,
.rb068r2-ask small,
.rb068r2-disclosure-action,
.rb068r2-offer-submit,
.rb068r2-inquiry-shell > h1,
.rb068r2-inquiry-shell > h2,
.rb068r2-inquiry-shell > h3,
.rb068r2-inquiry-shell > h4,
.rb068r2-inquiry-toggle,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] .field-label,
.rb068r2-offer-form .field-label,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] .button-secondary,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] button[type="submit"] {
    font-family: var(--rb068r4-font-display);
}

/* Offer hierarchy should visually speak the same language as the red card. */
.rb068r2-eyebrow {
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1;
}

.rb068r2-offer-summary__copy strong {
    font-weight: 700;
    letter-spacing: -.018em;
    line-height: .95;
}

.rb068r2-ask small {
    font-weight: 700;
    letter-spacing: .13em;
}

.rb068r2-disclosure-action,
.rb068r2-offer-submit,
.rb068r2-inquiry-toggle,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] .button-secondary,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] button[type="submit"] {
    font-weight: 700;
    letter-spacing: .10em;
    line-height: 1;
}

/* Inquiry title should feel like a sibling of MAKE AN OFFER, not a generic form h2. */
.rb068r2-inquiry-shell > h1,
.rb068r2-inquiry-shell > h2,
.rb068r2-inquiry-shell > h3,
.rb068r2-inquiry-shell > h4 {
    font-weight: 700 !important;
    letter-spacing: -.018em;
    line-height: .98;
    text-transform: uppercase;
}

/* Form labels use the display face, but stay small and disciplined. */
.rb068r2-offer-form .field-label,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] .field-label {
    font-size: .60rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.15;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------
   BODY / READING TYPOGRAPHY
   --------------------------------------------------------------- */

.rb068r2-summary-note,
.rb068r2-offer-context,
.rb068r2-notice,
.rb068r2-submit-row p,
.rb068r2-field-error,
.rb068r2-inquiry-shell > p,
.rb068r2-offer-form input,
.rb068r2-offer-form textarea,
.rb068r2-offer-form select,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] input,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] textarea,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] select {
    font-family: var(--rb068r4-font-body);
}

.rb068r2-summary-note,
.rb068r2-offer-context,
.rb068r2-inquiry-shell > p {
    font-weight: 400;
    letter-spacing: 0;
}

.rb068r2-offer-form input,
.rb068r2-offer-form textarea,
.rb068r2-offer-form select,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] input,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] textarea,
.rb068r2-inquiry-shell form[data-rbz-inquiry-form] select {
    font-weight: 400;
    letter-spacing: 0;
}

/* The asking-price number should read as commerce data, not paragraph copy. */
.rb068r2-ask b {
    font-family: var(--rb068r4-font-display);
    font-weight: 700;
    letter-spacing: -.015em;
}

/* Keep optional suffixes visually quiet even inside Oswald labels. */
.rb068r2-field .field-label span {
    font-family: var(--rb068r4-font-body);
    font-size: .82em;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
}

/* Ensure browser autofill/input inheritance does not jump to a system face. */
.rb068r2-offer-panel button,
.rb068r2-inquiry-shell button,
.rb068r2-offer-panel input,
.rb068r2-inquiry-shell input,
.rb068r2-offer-panel textarea,
.rb068r2-inquiry-shell textarea,
.rb068r2-offer-panel select,
.rb068r2-inquiry-shell select {
    font-synthesis: none;
}

/* Mobile keeps the same hierarchy without shrinking into generic UI type. */
@media (max-width: 760px) {
    .rb068r2-offer-summary__copy strong,
    .rb068r2-inquiry-shell > h1,
    .rb068r2-inquiry-shell > h2,
    .rb068r2-inquiry-shell > h3,
    .rb068r2-inquiry-shell > h4 {
        letter-spacing: -.012em;
    }

    .rb068r2-disclosure-action,
    .rb068r2-offer-submit,
    .rb068r2-inquiry-toggle,
    .rb068r2-inquiry-shell form[data-rbz-inquiry-form] button[type="submit"] {
        letter-spacing: .09em;
    }
}
