/* ==========================================================================
   application-redesign.css — Privacy Shade
   Conversion-focused components for application detail pages:
   photo hero, before/after comparison, review cards, feature strip, sticky bar.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Photo hero
   -------------------------------------------------------------------------- */

.c-apphero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg, #1e4d33 0%, #2C6E49 55%, #14301f 100%);
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.25rem, 5vw, 4rem);
}

.c-apphero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: -2;
}

.c-apphero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 22, 15, 0.92) 0%, rgba(10, 22, 15, 0.80) 38%, rgba(10, 22, 15, 0.30) 68%, rgba(10, 22, 15, 0.12) 100%),
        linear-gradient(180deg, rgba(10, 22, 15, 0.35) 0%, rgba(10, 22, 15, 0.10) 45%, rgba(10, 22, 15, 0.55) 100%);
}

/* Without a photo the gradient background already carries enough contrast. */
.c-apphero:not(.c-apphero--photo) .c-apphero__scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.c-apphero__inner {
    position: relative;
    max-width: var(--size-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.c-apphero__eyebrow {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8fd6ab;
    margin-bottom: var(--space-md);
}

.c-apphero__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--color-text-inverse);
    max-width: 15ch;
    margin-bottom: var(--space-lg);
    text-wrap: balance;
}

.c-apphero__subtext {
    font-size: var(--text-lg);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.90);
    max-width: 46ch;
    margin-bottom: var(--space-xl);
}

/* Feature pills */
.c-apphero__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
    list-style: none;
    margin: 0 0 var(--space-xl);
    padding: 0;
    max-width: 46rem;
}

.c-apphero__feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.c-apphero__feature-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: rgba(143, 214, 171, 0.16);
    border: 1px solid rgba(143, 214, 171, 0.34);
    color: #8fd6ab;
}

.c-apphero__feature-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.c-apphero__feature-label {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    color: var(--color-text-inverse);
    font-size: var(--text-sm);
}

.c-apphero__feature-label strong {
    font-weight: 700;
}

.c-apphero__feature-label span {
    color: rgba(255, 255, 255, 0.82);
}

/* Actions */
.c-apphero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.c-apphero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.c-apphero__scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text-inverse);
    text-decoration: none;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: border-color var(--transition), color var(--transition);
}

.c-apphero__scroll-link:hover,
.c-apphero__scroll-link:focus-visible {
    color: #8fd6ab;
    border-bottom-color: #8fd6ab;
}

/* Trust row */
.c-apphero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.c-apphero__stars {
    display: inline-flex;
    gap: 2px;
    color: #f2b705;
}

.c-apphero__trust-sep {
    color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 768px) {
    .c-apphero__title { max-width: 100%; }
    .c-apphero__features { gap: var(--space-md); }
    .c-apphero__feature { flex: 1 1 45%; }
    .c-apphero__actions { gap: var(--space-md); }
    .c-apphero__cta { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .c-apphero__feature { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   2. "See the Difference" — comparison + benefits
   -------------------------------------------------------------------------- */

.c-difference {
    background: var(--color-bg-alt);
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.c-difference__container {
    max-width: var(--size-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* With no comparison photos the benefits carry the section on their own, so give
   them the full container and a two-column grid rather than a narrow strip. */
.c-difference--no-media .c-difference__container {
    grid-template-columns: minmax(0, 1fr);
}

.c-difference--no-media .c-difference__title {
    text-align: center;
    max-width: 24ch;
    margin-inline: auto;
}

/* Two balanced columns rather than three-plus-an-orphan. */
.c-difference--no-media .c-difference__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--space-2xl);
    max-width: 60rem;
    margin-inline: auto;
}

@media (max-width: 720px) {
    .c-difference--no-media .c-difference__list {
        grid-template-columns: minmax(0, 1fr);
    }
}

.c-difference__eyebrow {
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.c-difference__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
    text-wrap: balance;
}

.c-difference__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-lg);
}

.c-difference__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.c-difference__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-md);
    background: var(--color-accent-light);
    color: var(--color-accent);
    flex: 0 0 auto;
}

.c-difference__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.c-difference__item-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.c-difference__item-text {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

@media (max-width: 900px) {
    .c-difference__container { grid-template-columns: minmax(0, 1fr); }
}

/* Dev-only banner shown when the slider is running on stand-in imagery. */
.c-compare__placeholder-note {
    margin-bottom: var(--space-md);
    padding: 0.6rem 0.85rem;
    border: 1px dashed #c8a200;
    border-radius: var(--radius-md);
    background: #fffaeb;
    color: #6b5200;
    font-size: var(--text-xs);
    line-height: 1.5;
    text-align: center;
}

.c-compare__placeholder-note code {
    font-family: var(--font-mono);
    font-size: 0.95em;
    background: rgba(0, 0, 0, 0.06);
    padding: 0.05rem 0.3rem;
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   3. Comparison slider
   -------------------------------------------------------------------------- */

.c-compare {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: var(--color-border-light);
    user-select: none;
    touch-action: pan-y;
}

.c-compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* The "before" image is revealed by clipping its wrapper from the left. */
.c-compare__reveal {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    will-change: width;
}

.c-compare__reveal .c-compare__img {
    /* Keep the revealed image locked to the full frame while its wrapper narrows. */
    width: var(--compare-frame-width, 100%);
    max-width: none;
}

.c-compare__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

.c-compare__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

/* The range input is the real control: invisible, full-bleed, keyboard accessible. */
.c-compare__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.c-compare__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 3rem;
    height: 100%;
    cursor: ew-resize;
}

.c-compare__range::-moz-range-thumb {
    width: 3rem;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: ew-resize;
}

.c-compare__range:focus-visible ~ .c-compare__handle {
    box-shadow: var(--shadow-md), var(--shadow-focus);
}

.c-compare__caption {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: var(--space-md);
    color: #fff;
    font-size: var(--text-sm);
    line-height: 1.3;
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.62) 100%);
    width: 50%;
}

.c-compare__caption strong { font-weight: 700; }
.c-compare__caption span   { color: rgba(255, 255, 255, 0.88); font-size: var(--text-xs); }

.c-compare__caption--before,
.c-compare__caption--after  { transition: opacity 200ms ease; }

/* On the slider, one full-width shade sits under both captions; per-caption
   gradients would leave a hard edge mid-frame once a caption fades out. */
.c-compare[data-compare]::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.c-compare[data-compare] .c-compare__caption { background: none; z-index: 2; }
.c-compare[data-compare] .c-compare__divider,
.c-compare[data-compare] .c-compare__handle  { z-index: 3; }
.c-compare[data-compare] .c-compare__range   { z-index: 4; }

.c-compare__caption--before { left: 0;  align-items: flex-start; }
.c-compare__caption--after  { right: 0; align-items: flex-start; }

/* Single-photo variant — same frame, radius, shadow and caption treatment as the
   slider, without the wipe affordances. Used until paired photography exists;
   dropping in the compare pair switches the slider back on with no CSS change. */
.c-compare--single {
    margin: 0;
    cursor: default;
    user-select: auto;
    touch-action: auto;
}

.c-compare__caption--single {
    left: 0;
    width: 100%;
    align-items: flex-start;
}

@media (max-width: 480px) {
    .c-compare { aspect-ratio: 3 / 4; }
    .c-compare__caption { width: 60%; }
    .c-compare__caption--single { width: 100%; }
}

/* --------------------------------------------------------------------------
   4. Review cards
   -------------------------------------------------------------------------- */

.c-reviews {
    background: var(--color-bg);
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.c-reviews__container {
    max-width: var(--size-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.c-reviews__header {
    text-align: center;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.c-reviews__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.c-reviews__subtitle {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin: 0;
}

.c-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: var(--space-lg);
}

.c-review-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: 0;
    padding: var(--space-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.c-review-card__stars {
    display: inline-flex;
    gap: 2px;
    color: var(--color-border-dark);
}

.c-review-card__star.is-filled { color: var(--color-accent); }

.c-review-card__quote {
    margin: 0;
    flex: 1 1 auto;
    /* Reset the global blockquote rule (green left bar + italic). */
    border-left: 0;
    padding-left: 0;
    font-style: normal;
}

.c-review-card__quote p {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--color-text-secondary);
}

.c-review-card__person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
}

.c-review-card__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.c-review-card__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.c-review-card__meta strong {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text);
}

.c-review-card__meta span {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   4b. Operation + fabric openness, side by side
   -------------------------------------------------------------------------- */

.c-choices {
    background: var(--color-bg);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.c-choices__container {
    max-width: var(--size-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.c-choices__title {
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.c-choices__subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

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

.c-op-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.c-op-card:hover { border-color: var(--color-accent-mid); box-shadow: var(--shadow-sm); }

.c-op-card--featured {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

.c-op-card__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: #fff;
    margin-bottom: 0.25rem;
}

.c-op-card__icon svg { width: 1.3rem; height: 1.3rem; }

.c-op-card__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text);
}

.c-op-card__text {
    font-size: var(--text-xs);
    line-height: 1.55;
    color: var(--color-text-secondary);
    margin: 0;
    flex: 1 1 auto;
}

.c-op-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.c-op-card__features li {
    position: relative;
    padding-left: 1.1rem;
    line-height: 1.45;
}

.c-op-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: var(--radius-full);
    background: var(--color-accent-mid);
}

.c-op-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
}

.c-op-card__link:hover,
.c-op-card__link:focus-visible { text-decoration: underline; }

/* Openness scale */
.c-fabric-scale {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* Three across, two rows — keeps this column's height close to the
       operation cards beside it instead of leaving a tall empty gap. */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg) var(--space-md);
}

.c-fabric-scale__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    text-decoration: none;
    color: inherit;
    padding: 0.25rem;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

a.c-fabric-scale__link:hover,
a.c-fabric-scale__link:focus-visible { background: var(--color-bg-alt); }

/* Woven-mesh swatch; density tracks the fabric's privacy rating. */
.c-fabric-scale__swatch {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.35rem;
    border: 1px solid var(--color-border);
    background-color: hsl(150 8% calc(92% - (var(--swatch-density, 50) * 0.55%)));
    background-image:
        repeating-linear-gradient(0deg,   rgba(0,0,0,0.34) 0 1px, transparent 1px 3px),
        repeating-linear-gradient(90deg,  rgba(0,0,0,0.34) 0 1px, transparent 1px 3px);
}

.c-fabric-scale__openness {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.1;
}

.c-fabric-scale__openness small {
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}

.c-fabric-scale__label {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-text);
    margin-top: 0.15rem;
}

.c-fabric-scale__note {
    font-size: var(--text-xs);
    line-height: 1.4;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .c-choices__container { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
    .c-choices__options { grid-template-columns: minmax(0, 1fr); }
    .c-fabric-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   5. Feature strip
   -------------------------------------------------------------------------- */

.c-feature-strip {
    background: var(--color-bg-alt);
    border-block: 1px solid var(--color-border-light);
    padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.c-feature-strip__container {
    max-width: var(--size-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.c-feature-strip__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: var(--space-lg);
}

.c-feature-strip__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.c-feature-strip__icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-md);
    background: var(--color-accent-light);
    color: var(--color-accent);
    flex: 0 0 auto;
}

.c-feature-strip__icon svg { width: 1.15rem; height: 1.15rem; }

.c-feature-strip__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.15rem;
}

.c-feature-strip__text {
    font-size: var(--text-xs);
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. Sticky call bar
   -------------------------------------------------------------------------- */

.c-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    background: var(--color-accent);
    color: var(--color-text-inverse);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.c-sticky-bar.is-visible { transform: translateY(0); }

.c-sticky-bar__container {
    max-width: var(--size-max-width);
    margin-inline: auto;
    padding: 0.85rem var(--container-padding);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.c-sticky-bar__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.c-sticky-bar__icon svg { width: 1.35rem; height: 1.35rem; }

.c-sticky-bar__copy { flex: 1 1 auto; min-width: 0; }

.c-sticky-bar__title {
    /* Explicit: the global p colour would otherwise override the bar's white. */
    color: var(--color-text-inverse);
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.c-sticky-bar__text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

.c-sticky-bar__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-accent-dark);
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}

.c-sticky-bar__cta:hover,
.c-sticky-bar__cta:focus-visible {
    background: #f0f6f2;
    transform: translateY(-1px);
}

/* Keep the sticky bar from covering the end of the page. */
body.has-sticky-bar { padding-bottom: 5.5rem; }

@media (max-width: 768px) {
    .c-sticky-bar__icon,
    .c-sticky-bar__text { display: none; }

    .c-sticky-bar__container {
        gap: var(--space-sm);
        padding-block: 0.65rem;
    }

    .c-sticky-bar__title { font-size: var(--text-sm); }
    .c-sticky-bar__cta { padding-inline: 1.1rem; }

    body.has-sticky-bar { padding-bottom: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .c-sticky-bar { transition: none; }
}

/* --------------------------------------------------------------------------
   7. Print
   -------------------------------------------------------------------------- */

@media print {
    .c-sticky-bar { display: none; }
    body.has-sticky-bar { padding-bottom: 0; }
}
