.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: fit-content;
    padding: 18px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 850;
    line-height: 1;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 42%, transparent 64%);
    transform: translateX(-120%);
    transition: transform 520ms var(--ease);
    pointer-events: none;
}

.button:hover::before {
    transform: translateX(120%);
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 90ms;
}

.button.primary,
.button--nav {
    color: #fff;
    background: linear-gradient(135deg, var(--color-dark), #4a2f1e);
    box-shadow: 0 12px 24px rgba(32, 21, 14, 0.18);
}

.button.primary:hover,
.button--nav:hover {
    box-shadow: 0 18px 34px rgba(32, 21, 14, 0.24);
}

.button.secondary {
    color: var(--color-dark);
    background: rgba(255, 253, 248, 0.74);
    border-color: var(--color-line);
}

.button--footer {
    color: var(--color-dark);
    background: var(--color-brand-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}

.hero,
.page-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: clamp(520px, 66vh, 700px);
    padding: clamp(64px, 8vw, 108px) 0 clamp(36px, 6vw, 64px);
}

.hero h1 {
    font-size: clamp(2.9rem, 6.2vw, 6rem);
}

.page-hero h1 {
    font-size: clamp(2.3rem, 4.7vw, 4.6rem);
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.68;
    transform: none;
}

.page-hero {
    min-height: clamp(360px, 48vh, 520px);
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 26px calc(var(--gutter) * -0.3) auto auto;
    width: min(560px, 58vw);
    aspect-ratio: 1;
    border-radius: 42%;
    background: radial-gradient(circle, rgba(246, 162, 26, 0.22), transparent 68%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    right: max(-120px, -9vw);
    top: 12%;
    width: min(650px, 54vw);
    opacity: 1;
    filter: drop-shadow(0 28px 64px rgba(32, 21, 14, 0.18));
    pointer-events: none;
}

.hero-content,
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.notice-link {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(246, 162, 26, 0.35);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.76);
    color: var(--color-brand-strong);
    font-size: 0.86rem;
    font-weight: 800;
}

.metric-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(32px, 5vw, 56px);
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-line);
    box-shadow: var(--shadow-md);
}

.metric-strip > div {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    background: rgba(255, 253, 248, 0.92);
}

.metric-strip strong {
    font-size: clamp(1.4rem, 2.8vw, 2.3rem);
    line-height: 1;
}

.metric-strip span {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.product-callout,
.cashback-panel,
.content-band,
.feature-band,
.cta-panel {
    padding: clamp(30px, 4.8vw, 52px);
    border: 1px solid rgba(216, 194, 173, 0.88);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 245, 232, 0.36)),
        rgba(255, 253, 248, 0.92);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-sm);
    margin-block: clamp(28px, 4vw, 48px);
    transition: box-shadow 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}

/* Stacked panels inside the same section should never touch —
   margins collapse into one another, so equal top/bottom margins
   above produce a single clean gap between consecutive panels. */
.section > .product-callout:first-child,
.section > .cashback-panel:first-child,
.section > .content-band:first-child,
.section > .feature-band:first-child,
.section > .cta-panel:first-child {
    margin-top: 0;
}

.section > .product-callout:last-child,
.section > .cashback-panel:last-child,
.section > .content-band:last-child,
.section > .feature-band:last-child,
.section > .cta-panel:last-child {
    margin-bottom: 0;
}

.product-callout,
.cashback-panel,
.feature-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr);
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
}

.product-callout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.78fr) auto;
}

.product-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-points span,
.product-points a,
.provider-status,
.provider-card__badge,
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(216, 194, 173, 0.8);
    border-radius: 999px;
    background: rgba(255, 245, 232, 0.84);
    color: var(--color-dark);
    font-size: 0.82rem;
    font-weight: 800;
    transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.product-points a:hover,
.tag:hover {
    transform: translateY(-2px);
    border-color: var(--color-brand);
    background: var(--color-brand-soft);
    box-shadow: var(--shadow-sm);
}

.layer-list,
.service-grid,
.marketplace-grid,
.provider-grid,
.insight-grid,
.provider-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.layer-list article,
.service-grid article,
.market-card,
.info-card,
.insight-card,
.provider-card {
    position: relative;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-sm);
    transition: transform 190ms var(--ease), box-shadow 190ms var(--ease), border-color 190ms var(--ease), background 190ms var(--ease);
}

.layer-list article,
.service-grid article,
.market-card,
.info-card {
    padding: 22px;
}

.layer-list article:hover,
.service-grid article:hover,
.market-card:hover,
.info-card:hover,
.insight-card:hover,
.provider-card:hover {
    transform: translateY(-6px) scale(1.012);
    border-color: var(--color-line-strong);
    box-shadow: var(--shadow-md);
}

.layer-list span,
.service-grid span,
.process-list strong {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--color-brand-strong);
    font-size: 0.82rem;
    font-weight: 900;
}

.included-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.included-list article {
    position: relative;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-sm);
    transition: transform 190ms var(--ease), box-shadow 190ms var(--ease), border-color 190ms var(--ease), background 190ms var(--ease);
}

.included-list article:hover {
    transform: translateY(-4px);
    border-color: var(--color-line-strong);
    box-shadow: var(--shadow-md);
}

.included-list span {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--color-brand-strong);
    font-size: 0.82rem;
    font-weight: 900;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--color-muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
    box-shadow: inset 0 0 0 4px var(--color-surface);
}

.quote-card,
.cashback-math {
    padding: clamp(24px, 4vw, 38px);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--color-dark), var(--color-dark-soft));
    color: #fff7ec;
    box-shadow: var(--shadow-md);
}

.quote-card p,
.cashback-math span {
    color: rgba(255, 247, 236, 0.78);
}

.quote-card p {
    font-size: clamp(1.2rem, 2.3vw, 1.9rem);
    line-height: 1.25;
}

.quote-card span {
    color: var(--color-brand-soft);
    font-weight: 800;
}

.process-list {
    display: grid;
    gap: 14px;
}

.process-list article {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

.cta-panel {
    display: grid;
    justify-items: start;
    margin-top: clamp(48px, 7vw, 82px);
    background:
        linear-gradient(135deg, rgba(246, 162, 26, 0.14), rgba(47, 125, 109, 0.1)),
        rgba(255, 253, 248, 0.92);
    animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-sm);
    }
    50% {
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-sm), 0 0 0 6px rgba(246, 162, 26, 0.06);
    }
}

.cta-panel h2 {
    max-width: 900px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
    gap: clamp(34px, 7vw, 88px);
}

.contact-form,
.contact-note {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--color-dark);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.marketplace-search input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-ink);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
