/* ==========================================================================
   Visuals: the product mockups in the /visuals folder.
   These are illustrations built from HTML, one block per mockup.
   ========================================================================== */

/* Shared mockup parts
   ========================================================================== */

.mockup {
    position: relative;
}

.mockup-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 26px;
    border-radius: var(--radius-large);
    background: var(--color-white);
    color: var(--color-deep-blue);
    box-shadow: 0 24px 64px rgba(14, 27, 100, .12);
}

/* On a dark page header the card has a deeper shadow and sits at a slight angle */
.theme-dark .mockup-card {
    box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
    transform: rotate(-1.5deg);
}

.mockup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-head small {
    display: block;
    color: var(--color-text-muted);
    font-size: 14px;
}

.mockup-head strong {
    font-size: 20px;
    font-weight: 600;
}

.mockup-pill {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--color-pistachio-pale);
    font-size: 14px;
    font-weight: 600;
}

/* A small round icon badge */
.mockup-dot {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-pale);
}

.mockup-dot .icon {
    width: 16px;
    height: 16px;
}

/* A line of small print along the bottom of a card */
.mockup-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--color-grey);
    color: var(--color-text-muted);
    font-size: 14px;
}

.mockup-footer .icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* A floating label that overlaps the card */
.mockup-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-medium);
    background: var(--color-white);
    color: var(--color-deep-blue);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.mockup-chip .icon {
    width: 26px;
    height: 26px;
}

.mockup-chip strong {
    display: block;
    font-size: 20px;
    line-height: 1;
}

.mockup-chip small {
    color: var(--color-text-muted);
    font-size: 12px;
}

.mockup-chip-top {
    top: 0;
    left: -60px;
}

.mockup-chip-bottom {
    right: -40px;
    bottom: -6px;
}

/* Home dashboard
   ========================================================================== */

.dashboard-stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dashboard-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 14px;
    background: var(--accent-pale);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.dashboard-stage .icon {
    width: 26px;
    height: 26px;
}

.dashboard-budget {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--color-grey);
}

.dashboard-budget span {
    display: block;
    color: var(--color-text-muted);
    font-size: 12px;
}

.dashboard-budget-track {
    height: 10px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--color-white);
}

.dashboard-budget-fill {
    width: 68%;
    height: 100%;
    border-radius: var(--radius-pill);
    background: var(--color-funding-blue);
}

.dashboard-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--color-grey);
}

.dashboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.dashboard-row em {
    margin-left: auto;
    color: var(--color-text-muted);
    font-style: normal;
}

/* Large icon in a circle
   ========================================================================== */

.icon-orb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(340px, 70vw);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--accent-pale, var(--color-white));
    box-shadow: 0 24px 64px rgba(14, 27, 100, .1);
}

.icon-orb.accent-white {
    background: var(--color-white);
}

.icon-orb .icon {
    width: 60%;
    height: 60%;
}

/* API data flow
   ========================================================================== */

.api-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.api-system {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: 14px;
    background: var(--color-grey);
    text-align: center;
}

.api-system strong {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.api-system small {
    color: var(--color-text-muted);
    font-size: 11px;
}

.api-system-main {
    border: 1.5px solid var(--color-funding-blue);
    background: var(--color-magnolia);
}

.api-system img {
    width: 30px;
    height: 30px;
}

.api-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.api-arrow .icon {
    width: 18px;
    height: 18px;
    color: var(--color-funding-blue);
}

/* A dot that travels along each arrow */
.api-pulse {
    position: absolute;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-funding-blue);
    animation: api-pulse 2.4s ease-in-out infinite;
}

.api-pulse-delay {
    animation-delay: 1.2s;
}

@keyframes api-pulse {
    0% { left: -6px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: calc(100% - 2px); opacity: 0; }
}

/* Reporting dashboard
   ========================================================================== */

.reporting-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.reporting-numbers div {
    padding: 12px;
    border-radius: 12px;
    background: var(--color-magnolia);
}

.reporting-numbers span {
    display: block;
    color: var(--color-text-muted);
    font-size: 12px;
}

.reporting-numbers strong {
    font-size: 22px;
    font-weight: 700;
}

.reporting-chart {
    padding: 14px;
    border: 1px solid var(--color-grey);
    border-radius: 12px;
}

.reporting-chart-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}

.reporting-chart-head em {
    color: var(--color-text-muted);
    font-style: normal;
    font-weight: 400;
}

.reporting-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reporting-bar {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.reporting-bar i {
    display: block;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--color-funding-blue);
    animation: bar-grow 1s ease-out both;
}

.reporting-bar:nth-child(2) i { background: var(--color-sky); }
.reporting-bar:nth-child(3) i { background: var(--color-lavender); }
.reporting-bar:nth-child(4) i { background: var(--color-salmon); }

@keyframes bar-grow {
    from { width: 0; }
}

.reporting-export {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--color-pistachio-pale);
    font-size: 14px;
    font-weight: 600;
}

.reporting-export .icon {
    width: 18px;
    height: 18px;
}

.reporting-export em {
    margin-left: auto;
    color: var(--color-text-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
    .api-pulse {
        display: none;
    }

    .reporting-bar i {
        animation: none;
    }
}

/* Benefits check: assessor view
   (its rows reuse the Eligibility score rows below)
   ========================================================================== */

.summary-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--color-grey);
}

.summary-details span {
    display: block;
    color: var(--color-text-muted);
    font-size: 12px;
}

.summary-details strong {
    font-size: 14px;
    font-weight: 600;
}

.summary-heading {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
}

.summary-heading em {
    color: var(--color-funding-blue);
    font-style: normal;
}

/* Benefits calculator walkthrough
   Five scenes share one 14-second loop. Each scene fades in at its own
   start time (animation-delay), holds, then fades out.
   ========================================================================== */

.mockup-walkthrough {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.walkthrough-frame {
    padding: 10px;
    border-radius: 20px;
    background: var(--color-deep-blue);
    box-shadow: 0 30px 70px rgba(14, 27, 100, .22);
}

/* The browser bar: three dots and a page name */
.walkthrough-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 10px;
}

.walkthrough-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}

.walkthrough-bar em {
    margin-left: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-style: normal;
}

.walkthrough-stage {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--color-white);
    color: var(--color-deep-blue);
    --icon-accent: var(--color-funding-blue);
}

.walkthrough-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 30px;
    opacity: 0;
    transform: translateY(12px);
    animation: walkthrough-scene 14s infinite;
}

.scene-1 { animation-delay: 0s; }
.scene-2 { animation-delay: 2.8s; }
.scene-3 { animation-delay: 5.3s; }
.scene-4 { animation-delay: 7.8s; }
.scene-5 { animation-delay: 10.3s; animation-name: walkthrough-last-scene; }

@keyframes walkthrough-scene {
    0% { opacity: 0; transform: translateY(12px); }
    3% { opacity: 1; transform: none; }
    17% { opacity: 1; transform: none; }
    20% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

/* The result scene stays on screen a little longer */
@keyframes walkthrough-last-scene {
    0% { opacity: 0; transform: translateY(12px); }
    3% { opacity: 1; transform: none; }
    25% { opacity: 1; transform: none; }
    28% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

.walkthrough-scene h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.walkthrough-eyebrow {
    color: var(--color-funding-blue);
    font-size: 13px;
    font-weight: 600;
}

.walkthrough-text {
    max-width: 44ch;
    color: var(--color-text-muted);
    font-size: 14px;
}

.walkthrough-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    background: var(--color-button-blue);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
}

.walkthrough-button-small {
    margin-top: 8px;
}

/* A ring that pulses around the button, as if about to be pressed */
.walkthrough-button::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid var(--color-funding-blue);
    border-radius: var(--radius-pill);
    opacity: 0;
    animation: walkthrough-pulse 2.8s infinite;
}

@keyframes walkthrough-pulse {
    0%, 60% { opacity: 0; transform: scale(.9); }
    75% { opacity: .7; transform: scale(1); }
    90% { opacity: 0; transform: scale(1.15); }
}

.walkthrough-progress {
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.walkthrough-progress em {
    font-style: normal;
}

.walkthrough-track {
    height: 6px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--color-grey);
}

.walkthrough-track span {
    display: block;
    height: 100%;
    border-radius: var(--radius-pill);
    background: var(--color-funding-blue);
}

.walkthrough-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.walkthrough-options span {
    padding: 11px 14px;
    border: 1.5px solid var(--color-grey);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* An answer that becomes selected part-way through its scene */
.walkthrough-options .picked {
    animation: walkthrough-pick 2.5s infinite;
}

@keyframes walkthrough-pick {
    0%, 35% { border-color: var(--color-grey); background: var(--color-white); }
    50%, 100% { border-color: var(--color-funding-blue); background: var(--color-magnolia); }
}

.walkthrough-field {
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid var(--color-funding-blue);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* The amount appears as if being typed */
.walkthrough-typing {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid var(--color-funding-blue);
    white-space: nowrap;
    animation: walkthrough-type 2.5s steps(6) infinite;
}

@keyframes walkthrough-type {
    0%, 20% { width: 0; }
    60%, 100% { width: 6ch; }
}

.walkthrough-result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--color-magnolia);
}

.walkthrough-result small,
.walkthrough-result em {
    color: var(--color-text-muted);
    font-size: 12px;
    font-style: normal;
}

.walkthrough-result strong {
    color: var(--color-funding-blue);
    font-size: 34px;
    line-height: 1.1;
}

.walkthrough-benefit {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1.5px solid var(--color-grey);
    border-radius: 12px;
}

.walkthrough-benefit strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.walkthrough-benefit span {
    color: var(--color-text-muted);
    font-size: 12px;
}

.walkthrough-amount {
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.walkthrough-amount small {
    display: block;
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 400;
}

.walkthrough-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 500;
}

.walkthrough-note .icon {
    width: 16px;
    height: 16px;
}

/* Reduced motion: no animation, and only the result scene is shown */
@media (prefers-reduced-motion: reduce) {
    .walkthrough-scene {
        animation: none;
    }

    .walkthrough-scene.scene-5 {
        opacity: 1;
        transform: none;
    }

    .walkthrough-button::after,
    .walkthrough-options .picked {
        animation: none;
    }

    .walkthrough-typing {
        width: auto;
        border-right: 0;
        animation: none;
    }
}

/* Eligibility score
   ========================================================================== */

.score {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--color-magnolia);
}

.score-ring {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
}

.score-ring svg {
    width: 96px;
    height: 96px;
}

.score-number {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.score-number strong {
    font-size: 28px;
    font-weight: 700;
}

.score-number small {
    color: var(--color-text-muted);
    font-size: 10px;
}

.score-verdict strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.score-verdict span {
    color: var(--color-text-muted);
    font-size: 14px;
}

.score-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--accent-pale);
    font-size: 14px;
    font-weight: 500;
}

.score-row .mockup-dot {
    background: none;
}

.score-row em {
    margin-left: auto;
    color: var(--color-text-muted);
    font-size: 13px;
    font-style: normal;
}

/* Phone
   ========================================================================== */

.phone {
    position: relative;
    width: min(330px, 80vw);
    margin: 0 auto;
    padding: 14px;
    border-radius: 48px;
    background: #0A1450;
    box-shadow: 0 30px 70px rgba(14, 27, 100, .3), inset 0 0 0 2px rgba(255, 255, 255, .12);
}

/* The side button */
.phone::before {
    content: "";
    position: absolute;
    top: 120px;
    right: -3px;
    width: 3px;
    height: 70px;
    border-radius: 2px;
    background: #0A1450;
}

/* The camera cut-out */
.phone-island {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 2;
    width: 96px;
    height: 26px;
    border-radius: var(--radius-pill);
    background: #0A1450;
    transform: translateX(-50%);
}

.phone-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 18px 10px;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    font-weight: 600;
}

.phone-signal {
    color: rgba(255, 255, 255, .7);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 2px;
}

.phone-screen {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 460px;
    padding: 22px 20px;
    border-radius: 34px;
    background: var(--color-white);
    color: var(--color-deep-blue);
}

.phone-site {
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.phone-heading {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.phone-text {
    color: var(--color-text-muted);
    font-size: 13px;
}

.phone-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 6px 0;
    padding: 0;
    list-style: none;
}

.phone-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.phone-steps span {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.phone-steps .icon {
    width: 14px;
    height: 14px;
}

.phone-steps .done {
    background: var(--color-pistachio-pale);
}

.phone-steps .done span {
    background: var(--color-pistachio);
    --icon-accent: currentColor;
}

.phone-steps .current {
    background: var(--color-magnolia);
}

.phone-steps .current span {
    background: var(--color-button-blue);
}

.phone-steps .current .icon {
    color: var(--color-white);
    --icon-accent: currentColor;
}

.phone-button {
    margin-top: 4px;
    padding: 12px;
    border-radius: var(--radius-pill);
    background: var(--color-button-blue);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.mockup-chip-phone {
    right: -20px;
    bottom: -24px;
    box-shadow: 0 20px 50px rgba(14, 27, 100, .18);
}

.mockup-chip-phone strong {
    font-size: 15px;
    line-height: 1.1;
}

/* Stopwatch
   ========================================================================== */

.mockup-stopwatch {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mockup-stopwatch .eyebrow {
    margin-bottom: 0;
}

.stopwatch-headline {
    display: block;
    color: var(--color-funding-blue);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.mockup-stopwatch .stopwatch-title {
    margin: 6px 0 2px;
    max-width: none;
    font-size: var(--text-title);
    font-weight: 600;
    line-height: 1.2;
}

.mockup-stopwatch .stopwatch-subheading {
    margin-top: 10px;
}

.stopwatch-face {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stopwatch-ring {
    flex-shrink: 0;
    width: 116px;
    height: 116px;
}

.stopwatch-time strong {
    display: block;
    font-size: 52px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1;
}

.stopwatch-time small {
    margin-left: 2px;
    color: var(--color-funding-blue);
    font-size: 22px;
    font-weight: 600;
}

.stopwatch-label {
    display: block;
    min-height: 20px;
    margin-top: 6px;
    color: var(--color-text-muted);
    font-size: 15px;
}

.stopwatch-stages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stopwatch-stages li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 16px;
    transition: color .2s;
}

.stopwatch-dot {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-grey);
    transition: background .2s;
}

.stopwatch-dot .icon {
    width: 14px;
    height: 14px;
    color: var(--color-white);
    opacity: 0;
    --icon-accent: currentColor;
}

/* A stage the clip has reached */
.stopwatch-stages .reached {
    color: var(--color-deep-blue);
    font-weight: 500;
}

.stopwatch-stages .reached .stopwatch-dot {
    background: var(--color-funding-blue);
}

.stopwatch-stages .reached .icon {
    opacity: 1;
}

/* The last stage, once reached */
.stopwatch-stages .final {
    font-weight: 700;
}

.stopwatch-stages .final .stopwatch-dot {
    background: var(--color-pistachio);
}

.stopwatch-stages .final .icon {
    color: var(--color-deep-blue);
}

/* Flexible awards chooser
   ========================================================================== */

.award-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.award-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid var(--color-grey);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.award-option.selected {
    border-color: var(--color-funding-blue);
    background: var(--color-magnolia);
}

.award-option em {
    display: inline-flex;
    margin-left: auto;
}

.award-option em .icon {
    width: 18px;
    height: 18px;
    color: var(--color-funding-blue);
}

.award-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--color-pink-pale);
    font-size: 14px;
}

.award-selected span {
    color: var(--color-text-muted);
}

.award-selected strong {
    font-weight: 600;
}

/* Payment options
   ========================================================================== */

.mockup-payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: var(--radius-large);
    background: var(--color-white);
    color: var(--color-deep-blue);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
    --icon-accent: var(--color-funding-blue);
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid var(--color-grey);
    border-radius: 14px;
}

.payment-option.selected {
    border-color: var(--color-funding-blue);
    background: var(--color-magnolia);
}

.payment-option-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-pale);
}

.payment-option .icon {
    width: 20px;
    height: 20px;
}

.payment-option strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.payment-option div span {
    color: var(--color-text-muted);
    font-size: 13px;
}

.payment-option em {
    display: inline-flex;
    margin-left: auto;
}

.payment-option em .icon {
    color: var(--color-funding-blue);
}

/* Images and video clips
   ========================================================================== */

.media-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-large);
}

.video-frame {
    padding: 10px;
    border-radius: 20px;
    background: var(--color-deep-blue);
    box-shadow: 0 30px 70px rgba(14, 27, 100, .22);
}

.media-video {
    display: block;
    width: 100%;
    border-radius: 12px;
}

/* An embedded YouTube or Vimeo video: a still and a play button until the visitor presses play */
.video-embed {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #0a1247;
}

.video-embed-still,
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-embed-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgba(14, 27, 100, .18);
    cursor: pointer;
}

.video-embed-play:focus-visible {
    outline-offset: -6px;
}

/* The round button with a play triangle */
.video-embed-button {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--color-funding-blue);
    box-shadow: 0 10px 30px rgba(14, 27, 100, .35);
    transition: transform .2s, background-color .2s;
}

.video-embed-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin: 27px 0 0 33px;
    border: solid transparent;
    border-width: 15px 0 15px 24px;
    border-left-color: var(--color-white);
}

.video-embed-play:hover .video-embed-button {
    background-color: var(--color-deep-blue);
    transform: scale(1.06);
}

.video-embed-link {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: var(--color-white);
}

/* A caption beneath an image, video or mockup */
.media-caption {
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: var(--text-x-small);
}

.bg-deep-blue .media-caption,
.theme-dark .media-caption {
    color: rgba(255, 255, 255, .78);
}

/* Tablet
   ========================================================================== */

@media (max-width: 1024px) {
    .mockup-chip-top {
        left: 0;
    }

    .mockup-chip-bottom {
        right: 0;
    }
}

/* Mobile
   ========================================================================== */

@media (max-width: 820px) {
    .mockup-chip {
        display: none;
    }

    .mockup-chip-phone {
        position: static;
        display: flex;
        width: fit-content;
        margin: 16px auto 0;
    }

    .theme-dark .mockup-card {
        transform: none;
    }

    .api-flow,
    .award-options {
        grid-template-columns: 1fr;
    }

    .api-arrow {
        height: 24px;
        transform: rotate(90deg);
    }

    .api-pulse {
        display: none;
    }
}

/* Animation (Lottie)
   ========================================================================== */

.animation {
    width: 100%;
}

.animation svg,
.animation-still {
    display: block;
    width: 100%;
    height: auto;
}
