.trust-bar {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-pill {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.trust-pill strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 1.6rem;
}

.testimonial-card blockquote {
    margin: 0 0 1rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.plan-card--featured {
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.plan-card--featured p,
.plan-card--featured li {
    color: rgba(247, 250, 248, 0.78);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1.1fr 0.9fr;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: #fff;
}

.field textarea {
    min-height: 180px;
    resize: vertical;
}

.article-card img {
    border-radius: calc(var(--radius-md) - 8px);
    margin-bottom: 1rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.badge {
    display: inline-flex;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(12, 59, 46, 0.08);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* The homepage financing table keeps its desktop comparison view, but becomes
   a set of labeled product cards on narrow screens so rate and term details do
   not get trapped in a clipped five-column layout. */
.business-financing-table-wrap {
    overflow-x: auto;
}

@media (max-width: 767px) {
    .business-financing-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .business-financing-table,
    .business-financing-table tbody {
        display: block;
        width: 100%;
    }

    .business-financing-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .business-financing-table tbody {
        display: grid;
        gap: 0.75rem;
    }

    .business-financing-table tbody > tr {
        display: block;
        padding: 1rem 1rem 0;
        border: 1px solid var(--color-border);
        border-radius: 1rem;
        background: #fff;
    }

    .business-financing-table tbody.divide-y > tr {
        border-top-width: 1px;
    }

    .business-financing-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
        text-align: right;
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .business-financing-table td::before {
        flex: 0 0 42%;
        color: #64748b;
        font-size: 0.625rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        line-height: 1.35;
        text-align: left;
        text-transform: uppercase;
    }

    .business-financing-table td:first-child {
        display: block;
        padding: 0 0 1rem;
        text-align: left;
    }

    .business-financing-table td:nth-child(2)::before {
        content: "Fixed / Variable";
    }

    .business-financing-table td:nth-child(3)::before {
        content: "Maximum Term";
    }

    .business-financing-table td:nth-child(4)::before {
        content: "Funding Limit";
    }

    .business-financing-table td:nth-child(5) {
        align-items: center;
        border-bottom: 0;
        padding: 0.85rem 0 1rem;
        text-align: left;
    }

    .business-financing-table td:nth-child(5)::before {
        content: "Action";
    }

    .business-financing-table td:nth-child(5) a {
        display: inline-flex;
        min-height: 2.75rem;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    /* Use an explicit card view on mobile so every financing field remains
       visible without relying on browser-specific table layout behavior. */
    .business-financing-table {
        display: none !important;
    }

    .business-financing-mobile-cards {
        display: grid;
        gap: 0.75rem;
    }

    .business-financing-mobile-card {
        padding: 1rem;
        border: 1px solid var(--color-border);
        border-radius: 1rem;
        background: #fff;
    }

    .business-financing-mobile-card__heading {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding-bottom: 0.9rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .business-financing-mobile-card__code {
        display: inline-flex;
        width: 2.5rem;
        height: 2.5rem;
        flex: 0 0 2.5rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        background: rgba(var(--theme-primary-rgb), 0.1);
        color: var(--theme-primary);
        font-size: 0.7rem;
        font-weight: 800;
    }

    .business-financing-mobile-card h3 {
        margin: 0;
        color: var(--color-text);
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1.25;
    }

    .business-financing-mobile-card p {
        margin: 0.25rem 0 0;
        color: var(--color-text-muted);
        font-size: 0.7rem;
        font-weight: 700;
        line-height: 1.35;
    }

    .business-financing-mobile-card__status {
        flex: 0 0 auto;
        color: var(--theme-primary);
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .business-financing-mobile-card__details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem 0.75rem;
        margin: 0;
        padding: 1rem 0;
    }

    .business-financing-mobile-card__details div:last-child {
        grid-column: 1 / -1;
    }

    .business-financing-mobile-card__details dt {
        color: var(--color-text-muted);
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .business-financing-mobile-card__details dd {
        margin: 0.25rem 0 0;
        color: var(--color-text);
        font-size: 0.78rem;
        font-weight: 800;
        line-height: 1.35;
    }

    .business-financing-mobile-card__action {
        display: flex;
        min-height: 2.75rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        border-radius: 0.75rem;
        background: var(--theme-primary);
        color: #fff;
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        transition: filter 160ms ease;
    }

    .business-financing-mobile-card__action:hover {
        filter: brightness(1.1);
    }
}

@media (max-width: 900px) {
    .trust-bar,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   MOTION LAYER
   ----------------------------------------------------------------------------
   Curves and durations come from the --ease-* / --dur-* tokens in theme.css.
   Colours resolve from the super-admin driven --theme-* variables that
   includes/head.php injects, so nothing here hardcodes a brand colour.

   Contract:
   - `.js-motion` is set on <html> by a one-line inline script in head.php.
     Reveal states only hide content once that class exists, and the same
     inline script strips it again if assets/js/motion.js never runs, so a
     failed script can never leave the page blank.
   - Only transform/opacity/filter animate (GPU, no layout or paint).
   - Every hover-driven transform is gated behind a real pointer; every
     movement is dropped under prefers-reduced-motion.
   ========================================================================== */

/* --- Scroll reveal ------------------------------------------------------- */
/* Marketing surfaces only. Fires once per element (motion.js unobserves). */

@media (prefers-reduced-motion: no-preference) {

    /* Low specificity on purpose: a component that owns its own transition
       (.card-lift, say) must win here, or its hover timing would be replaced
       by the reveal timing. */
    [data-reveal],
    [data-reveal-group]>* {
        transition:
            opacity var(--dur-reveal) var(--ease-out),
            transform var(--dur-reveal) var(--ease-out);
    }

    /* Only the hidden state is declared. Once `.is-visible` lands, no rule here
       sets `transform` at all, so hover transforms and Tailwind's transform
       utilities are left alone instead of being outranked forever. */
    .js-motion [data-reveal]:not(.is-visible),
    .js-motion [data-reveal-group]:not(.is-visible)>* {
        opacity: 0;
        transform: translateY(16px);
    }

    /* Stagger a group's children. 60ms apart: enough to read as a cascade,
       short enough that the last card is not left waiting. */
    .js-motion [data-reveal-group].is-visible>*:nth-child(2) {
        transition-delay: 60ms;
    }

    .js-motion [data-reveal-group].is-visible>*:nth-child(3) {
        transition-delay: 120ms;
    }

    .js-motion [data-reveal-group].is-visible>*:nth-child(4) {
        transition-delay: 180ms;
    }

    .js-motion [data-reveal-group].is-visible>*:nth-child(5) {
        transition-delay: 240ms;
    }

    .js-motion [data-reveal-group].is-visible>*:nth-child(n+6) {
        transition-delay: 300ms;
    }
}

/* Reduced motion keeps the fade (it still signals "this just arrived") and
   drops every position change and every stagger delay. */
@media (prefers-reduced-motion: reduce) {

    [data-reveal],
    [data-reveal-group]>* {
        transition: opacity 200ms ease;
    }

    .js-motion [data-reveal]:not(.is-visible),
    .js-motion [data-reveal-group]:not(.is-visible)>* {
        opacity: 0;
    }
}

/* --- Hero entrance ------------------------------------------------------- */
/* A CSS animation, not a JS one: it plays while the browser is still loading
   the page, which is exactly when requestAnimationFrame work drops frames.
   It also needs no `.js-motion` guard, so the hero can never be stuck hidden. */

@media (prefers-reduced-motion: no-preference) {
    .hero-enter>* {
        opacity: 0;
        transform: translateY(18px);
        /* Literal fallbacks: if the tokens ever fail to resolve, the keyframe
           still runs rather than leaving the hero at opacity 0. */
        animation: hero-in var(--dur-hero, 520ms) var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)) forwards;
    }

    .hero-enter>*:nth-child(2) {
        animation-delay: 70ms;
    }

    .hero-enter>*:nth-child(3) {
        animation-delay: 140ms;
    }

    .hero-enter>*:nth-child(4) {
        animation-delay: 210ms;
    }
}

@keyframes hero-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Pressable elements -------------------------------------------------- */
/* scale() takes the label and icon with it, which is what reads as a press. */

.btn-press {
    transition:
        transform var(--dur-press) var(--ease-out),
        background-color var(--dur-hover) ease,
        border-color var(--dur-hover) ease,
        color var(--dur-hover) ease,
        box-shadow var(--dur-hover) ease;
}

@media (hover: hover) and (pointer: fine) {
    .btn-press:hover {
        transform: scale(1.03);
    }
}

.btn-press:active {
    transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {

    .btn-press:hover,
    .btn-press:active {
        transform: none;
    }
}

/* --- Cards --------------------------------------------------------------- */

.card-lift {
    transition:
        transform var(--dur-panel) var(--ease-out),
        opacity var(--dur-panel) var(--ease-out),
        box-shadow var(--dur-panel) var(--ease-out),
        border-color var(--dur-panel) ease,
        background-color var(--dur-panel) ease;
}

.card-lift__icon {
    transition: transform var(--dur-panel) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .card-lift:hover {
        transform: translateY(-4px);
    }

    .card-lift:hover .card-lift__icon {
        transform: scale(1.08);
    }
}

.card-lift:focus-within {
    border-color: rgba(var(--theme-primary-rgb), 0.35);
}

@media (prefers-reduced-motion: reduce) {

    .card-lift:hover,
    .card-lift:hover .card-lift__icon {
        transform: none;
    }
}

/* --- Arrow links --------------------------------------------------------- */
/* Replaces the old `hover:gap-4`: gap animates layout on every frame, a
   transform on the icon alone does not. */

.link-arrow .material-icons-round {
    transition: transform var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .link-arrow:hover .material-icons-round {
        transform: translateX(4px);
    }
}

.link-arrow:focus-visible .material-icons-round {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {

    .link-arrow:hover .material-icons-round,
    .link-arrow:focus-visible .material-icons-round {
        transform: none;
    }
}

/* --- Media --------------------------------------------------------------- */

.media-zoom img {
    transition: transform 600ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {

    /* The zoom answers a hover anywhere on the card, not only on the image
       itself -- otherwise the same card lifts or nudges its arrow but the
       photo only reacts once the pointer crosses onto it. */
    .media-zoom:hover img,
    .card-lift:hover .media-zoom img,
    .link-arrow:hover .media-zoom img {
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {

    .media-zoom:hover img,
    .card-lift:hover .media-zoom img,
    .link-arrow:hover .media-zoom img {
        transform: none;
    }
}

/* --- Hero ---------------------------------------------------------------- */

.hero-shell {
    min-height: clamp(34rem, 78vh, 46rem);
}

.hero-title {
    font-size: clamp(1.95rem, 7.4vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

@media (min-width: 640px) {
    .hero-title {
        line-height: 1.03;
    }
}

.hero-eyebrow {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
    letter-spacing: 0.16em;
}

@media (min-width: 640px) {
    .hero-eyebrow {
        letter-spacing: 0.3em;
    }
}

.hero-slide {
    opacity: 0;
    transition: opacity 900ms var(--ease-out);
}

.hero-slide.is-active {
    opacity: 1;
}

/* A 3px bar is the right visual but not a finger-sized target. The vertical
   padding is transparent and clipped out of the painted background, so the hit
   area is ~30px tall while the bar itself stays 3px. */
.hero-dot {
    position: relative;
    width: 2.25rem;
    height: 3px;
    box-sizing: content-box;
    border: 0;
    padding: 0.85rem 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    background-clip: content-box;
    cursor: pointer;
    overflow: hidden;
    transition: background-color var(--dur-hover) ease;
}

/* A real element, not ::after, so motion.js can freeze the fill mid-run by
   writing the computed transform back onto it. */
.hero-dot__fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
}

/* Progress is a progress bar, so it runs linear -- progress should not ease. */
.hero-dot.is-active .hero-dot__fill {
    transform: scaleX(1);
    transition: transform var(--hero-interval, 5000ms) linear;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity 200ms ease;
    }

    .hero-dot.is-active .hero-dot__fill {
        transform: scaleX(1);
        transition: none;
    }
}

/* --- Currency ticker ----------------------------------------------------- */
/* tabular-nums stops the row twitching sideways as digits change. The blur is
   the crossfade mask: without it you read two numbers overlapping rather than
   one number becoming another. */

.ticker-value {
    font-variant-numeric: tabular-nums;
    transition:
        filter var(--dur-hover) ease,
        opacity var(--dur-hover) ease;
}

.ticker-value.is-swapping {
    filter: blur(2px);
    opacity: 0.55;
}

.ticker-arrow {
    transition: color var(--dur-hover) ease;
}

@media (prefers-reduced-motion: reduce) {
    .ticker-value.is-swapping {
        filter: none;
        opacity: 1;
    }
}

/* --- Pocket & planet band ------------------------------------------------ */
/* The "check lines" pattern: faint ruled lines behind the panel, drawn from the
   theme colours so the band repaints with the super-admin palette. */

.eco-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(180deg,
            rgba(255, 255, 255, 0.055) 0px,
            rgba(255, 255, 255, 0.055) 1px,
            transparent 1px,
            transparent 46px),
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.035) 0px,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px,
            transparent 46px),
        radial-gradient(70% 60% at 85% 15%,
            rgba(var(--theme-secondary-rgb), 0.16) 0%,
            transparent 60%);
    -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 85%);
    mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 85%);
}

/* Hero treatment for the pocket-and-planet section. A min-height rather than a
   fixed one, so the content still governs on small screens. */
.eco-hero {
    display: flex;
    align-items: center;
    min-height: clamp(36rem, 84vh, 48rem);
    padding-block: clamp(4rem, 8vw, 6.5rem);
}

/* The illustration runs past the bottom edge. The section clips it, which reads
   as the hand coming from off-stage rather than sitting in a box. */
@media (min-width: 1024px) {
    .eco-hero__art .eco-phone {
        width: clamp(340px, 32vw, 460px);
        margin-bottom: -7%;
    }
}

.eco-proof {
    display: grid;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
    .eco-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

.eco-proof .check-line {
    font-size: 0.9rem;
}

.check-line {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.check-line__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
    margin-top: 0.18rem;
    border-radius: 999px;
    background: var(--theme-secondary);
    color: var(--theme-primary);
}

/* Decorative drift on the illustration. Marketing surface, seen once per visit,
   and it is the only thing on the band that moves. */
@media (prefers-reduced-motion: no-preference) {
    .eco-phone {
        animation: eco-phone-drift 7s var(--ease-in-out, ease-in-out) infinite;
    }
}

@keyframes eco-phone-drift {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* --- Underlined phrase --------------------------------------------------- */
/* A drawn rule rather than text-decoration: it sits clear of the descenders and
   picks up the theme's secondary colour. */

/* Native decoration, not an absolutely positioned ::after. The ::after version
   needed `white-space: nowrap` to stay aligned, and the phrase measures 308px
   against 272px of usable width at a 320px viewport -- inside a section with
   `overflow-hidden`, that silently truncated the closing headline instead of
   wrapping. Native decoration follows the text onto a second line. */
.rule-under {
    text-decoration: underline;
    text-decoration-color: var(--theme-secondary);
    text-decoration-thickness: 0.09em;
    text-underline-offset: 0.16em;
    text-decoration-skip-ink: none;
}

/* --- Compact product directory ------------------------------------------- */
/* One-pixel gaps over a slate background give hairline dividers without a
   border on every cell, so the six rows read as one object. */

.suite-row {
    transition:
        background-color var(--dur-hover) ease,
        opacity var(--dur-panel) var(--ease-out),
        transform var(--dur-panel) var(--ease-out);
}

.suite-row__icon,
.suite-row__chevron {
    transition:
        transform var(--dur-hover) var(--ease-out),
        color var(--dur-hover) ease;
}

@media (hover: hover) and (pointer: fine) {
    .suite-row:hover {
        background-color: rgba(var(--theme-primary-rgb), 0.035);
    }

    .suite-row:hover .suite-row__chevron {
        transform: translateX(3px);
        color: var(--theme-primary);
    }

    .suite-row:hover .suite-row__icon {
        transform: scale(1.06);
    }
}

.suite-row:focus-visible {
    background-color: rgba(var(--theme-primary-rgb), 0.045);
}

@media (prefers-reduced-motion: reduce) {

    .suite-row:hover .suite-row__chevron,
    .suite-row:hover .suite-row__icon {
        transform: none;
    }
}

/* --- First-30-days timeline ---------------------------------------------- */
/* Replaced a tabbed widget. Tabs kept two thirds of the content one click away,
   which on a marketing page means most people never read it. All three
   checkpoints now sit on the page, joined by a rail that carries the sequence. */

.timeline {
    display: grid;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.timeline__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.timeline__node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--theme-primary);
    color: #fff;
    font-family: "Manrope", "Roboto", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
}

/* The connector runs to the edge of each column and the grid gap completes the
   line, so no element has to span the whole row. */
.timeline__rail {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            rgba(var(--theme-primary-rgb), 0.28) 0%,
            rgba(var(--theme-primary-rgb), 0.1) 100%);
}

/* The last step has nothing to point at, so its rail fades out rather than
   running off into white space. */
.timeline__step:last-child .timeline__rail {
    background: linear-gradient(90deg,
            rgba(var(--theme-primary-rgb), 0.28) 0%,
            rgba(var(--theme-primary-rgb), 0) 70%);
}

.timeline__when {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--theme-accent);
}

.timeline__title {
    margin: 0 0 1.1rem;
    font-family: "Manrope", "Roboto", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--theme-primary);
}

.timeline__list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline__item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.925rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.timeline__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.16rem;
    border-radius: 999px;
    background: rgba(var(--theme-primary-rgb), 0.1);
    color: var(--theme-primary);
}

/* --- Ported from the landing-page sample -------------------------------- */
/* Renamed out of the sample's `.ls-*` namespace on purpose: the homepage must
   not depend on anything in landing-sample/, which is documented as safe to
   delete. These are copies, not shared rules. */

.intro-device {
    display: block;
    width: min(100%, 20rem);
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(6, 24, 19, 0.22));
}

.card-diagram {
    display: block;
    width: 100%;
    height: auto;
}

.card-diagram__list {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.card-diagram__list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--theme-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.card-diagram__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.75rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(var(--theme-primary-rgb), 0.45);
}

/* The hairlines only have room to reach their captions on a wide viewport;
   below that the list carries the same three labels. */
@media (min-width: 1024px) {
    .card-diagram__list {
        display: none;
    }
}

@media (max-width: 1023px) {
    .card-diagram__ann {
        display: none;
    }
}

/* A hair lighter than bg-slate-50, and warmer than its blue cast. Used where a
   section needs to lift off the one below it without going pure white. */
.section-tint-soft {
    background-color: rgba(var(--theme-primary-rgb), 0.02);
}

/* --- Benefit rows --------------------------------------------------------- */
/* Full-width media rows instead of a fourth image-card grid. Hairlines between
   rows rather than a border per card, so the three read as one list. */

.benefit-rows {
    border-top: 1px solid rgba(var(--theme-primary-rgb), 0.14);
}

.benefit-row {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "media media"
        "num   body"
        "go    go";
    gap: 1rem 1.25rem;
    align-items: start;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(var(--theme-primary-rgb), 0.14);
    transition: background-color var(--dur-hover) ease;
}

@media (min-width: 768px) {
    .benefit-row {
        grid-template-columns: 3.5rem 15rem 1fr auto;
        grid-template-areas: "num media body go";
        gap: 2rem;
        align-items: center;
        padding: 2rem 0;
    }
}

@media (hover: hover) and (pointer: fine) {
    .benefit-row:hover {
        background-color: rgba(var(--theme-primary-rgb), 0.03);
    }
}

.benefit-row__num {
    grid-area: num;
    font-family: "Manrope", "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(var(--theme-primary-rgb), 0.4);
}

.benefit-row__media {
    grid-area: media;
    display: block;
    overflow: hidden;
    border-radius: 1.25rem;
    aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
    .benefit-row__media {
        aspect-ratio: 5 / 3;
    }
}

.benefit-row__body {
    grid-area: body;
    display: block;
}

.benefit-row__title {
    display: block;
    margin-bottom: 0.35rem;
    font-family: "Manrope", "Roboto", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--theme-primary);
}

.benefit-row__copy {
    display: block;
    max-width: 44rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.benefit-row__go {
    grid-area: go;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--theme-primary);
}

/* --- Service numbers ------------------------------------------------------ */
/* Hairline-separated rather than boxed: in a bordered panel they read as a
   bolt-on under the section instead of part of it. */

.benefit-stats {
    display: grid;
    gap: 1.25rem;
    margin: 0;
}

@media (min-width: 640px) {
    .benefit-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.benefit-stats > div {
    padding-top: 1.1rem;
    border-top: 2px solid rgba(var(--theme-primary-rgb), 0.18);
}

.benefit-stats dt {
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.benefit-stats dd {
    margin: 0;
    font-family: "Manrope", "Roboto", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--theme-primary);
}

/* --- Article pages -------------------------------------------------------- */
/* Long-form measure and rhythm. Kept as its own scale rather than reusing the
   marketing type, because body copy read end to end wants a different one. */

.article-lead {
    margin: 2.5rem 0 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
}

.article-block {
    margin-top: 2.75rem;
}

.article-block h2 {
    margin: 0 0 1rem;
    font-family: "Manrope", "Roboto", sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--theme-primary);
}

.article-block p {
    margin: 0 0 1.1rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.article-block p:last-child {
    margin-bottom: 0;
}

.article-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.article-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.article-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.6rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(var(--theme-primary-rgb), 0.5);
}

.article-disclaimer {
    margin: 3rem 0 0;
    padding: 1.1rem 1.25rem;
    border-left: 3px solid rgba(var(--theme-primary-rgb), 0.25);
    background: rgba(var(--theme-primary-rgb), 0.035);
    border-radius: 0 0.75rem 0.75rem 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.article-related {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--theme-primary-rgb), 0.14);
}

/* --- Article teasers ------------------------------------------------------ */

.article-teasers {
    display: grid;
    gap: 0.5rem;
    border-top: 1px solid rgba(var(--theme-primary-rgb), 0.12);
}

.article-teaser {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--theme-primary-rgb), 0.12);
    transition: background-color var(--dur-hover) ease;
}

.article-teaser__media {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 1 / 1;
}

@media (hover: hover) and (pointer: fine) {
    .article-teaser:hover {
        background-color: rgba(var(--theme-primary-rgb), 0.03);
    }
}
