.offer-hero {
    text-align: start;
}

.offer-hero-grid,
.offer-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}

.offer-hero-grid {
    align-items: center;
}

.offer-hero h1 {
    line-height: 1.08;
    text-wrap: balance;
}

.offer-hero .hero-subtitle {
    margin-inline: 0;
}

.offer-hero .hero-cta {
    margin-top: var(--space-xl);
    justify-content: flex-start;
}

.offer-product {
    margin-bottom: var(--space-sm);
    color: var(--accent-primary);
    font-weight: 650;
}

.offer-section-heading {
    max-width: 65ch;
    margin-bottom: var(--space-xl);
}

.offer-section-heading p,
.offer-card p,
.offer-steps dd,
.offer-form-intro {
    color: var(--text-secondary);
}

.offer-section-heading h2,
.offer-card h3,
.offer-form-layout h2 {
    margin-bottom: var(--space-sm);
}

.offer-hero .offer-panel h2 {
    margin-bottom: var(--space-sm);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
}

.offer-hero .offer-simulation-link {
    display: none;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: var(--space-lg);
}

.offer-card,
.offer-panel {
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--bg-elevated);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
}

.offer-card h3 a {
    color: var(--accent-primary);
}

.offer-simulation {
    scroll-margin-top: 95px;
}

.offer-simulation-note,
.offer-reading {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.offer-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-block: var(--space-lg);
}

.offer-toggle button {
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--bg-elevated);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    cursor: pointer;
}

.offer-toggle button[aria-pressed="true"] {
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    background: var(--accent-primary);
}

.offer-chart {
    direction: ltr;
}

.offer-bars,
.offer-hours {
    display: grid;
    grid-template-columns: repeat(16, minmax(0, 1fr));
}

.offer-bars {
    height: clamp(110px, 18vw, 166px);
    border-bottom: 1px solid var(--accent-primary);
}

.offer-bar-pair {
    display: flex;
    gap: 2px;
    padding-inline: 2px;
    align-items: end;
}

.offer-bar {
    flex: 1;
    height: var(--level);
    min-width: 0;
    border-radius: 2px 2px 0 0;
}

.offer-bar-baseline {
    background: #6d8790;
}

.offer-bar-shifted {
    background: #9ed1d1;
}

.offer-peak {
    background: rgba(252, 187, 101, 0.16);
}

.offer-hours {
    padding-block: var(--space-xs);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.offer-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    padding: 0;
    margin-block: var(--space-sm) var(--space-md);
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.offer-legend li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.offer-legend i {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 2px;
}

.offer-legend .offer-peak {
    background: transparent;
    border: 1px solid #fcbb65;
}

.offer-steps {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.offer-steps div {
    padding-inline-start: var(--space-md);
    border-inline-start: 2px solid var(--accent-primary);
}

.offer-steps dt {
    font-weight: 650;
}

.offer-steps dd {
    margin: var(--space-xs) 0 0;
}

.offer-eligibility {
    color: var(--accent-primary);
    margin-top: var(--space-md);
    font-weight: 600;
}

.offer-form-layout {
    scroll-margin-top: 95px;
}

.offer-form-intro {
    margin-bottom: var(--space-lg);
}

.offer-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.offer-form-field {
    margin: 0;
}

.offer-form-field label {
    color: var(--text-primary);
}

.offer-form-full {
    grid-column: 1 / -1;
}

.offer-form-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.offer-form-message {
    padding: var(--space-md);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.offer-form-message[role="alert"] {
    border-color: #fcbb65;
}

.offer-form-actions {
    margin-top: var(--space-lg);
}

.offer-section-heading a,
.offer-form-note a,
.offer-reading a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.offer-page [hidden] {
    display: none;
}

@media (max-width: 850px) {
    .offer-hero-grid,
    .offer-form-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .offer-hero .offer-simulation-link {
        display: inline-flex;
    }
}

@media (max-width: 510px) {
    .offer-form-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .offer-bar-pair {
        padding-inline: 1px;
    }
}
