/**
 * Homepage sections: proof strip, demos, benefits, reviews, pricing, FAQ, link row and the
 * closing call to action. Built on the tokens and chrome in styles.css; nothing here is used
 * by another page.
 *
 * Anything that sets `display` on an element the scripts toggle with `hidden` repeats the
 * `[hidden]` rule, because an author `display` beats the browser's own.
 */

/* ==================== SHARED HEADINGS ==================== */
.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-strong);
}

/* A short run of stitches before the label. */
.home-eyebrow::before {
    content: "";
    width: 22px;
    border-top: 2px dashed currentColor;
    opacity: 0.7;
}

.home-eyebrow--light {
    color: var(--sunflower-gold);
}

.home-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-heading .section-title {
    font-size: clamp(30px, 4.2vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.home-heading .section-description {
    font-size: 18px;
    line-height: 1.6;
}

.home-heading .section-description a {
    color: var(--primary-strong);
    font-weight: 600;
}

.home-heading--left {
    margin: 0;
    text-align: left;
}

/* ==================== HERO ADDITIONS ==================== */
.since-badge--compact {
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    font-size: 13.5px;
    line-height: 1.3;
    flex-wrap: wrap;
}

.since-badge--compact .since-badge-mark,
.since-badge--compact .since-badge-mark svg {
    width: 22px;
    height: 22px;
}

.since-badge--compact .since-badge-line {
    font-weight: 600;
    color: var(--text-secondary);
}

.since-badge--compact .since-badge-line time {
    color: var(--text-primary);
    font-weight: 700;
}

.since-badge--compact .since-badge-dot {
    font-size: 15px;
}

.since-badge--compact .since-badge-stat strong {
    font-size: 15px;
}

.since-badge--compact .since-badge-stat span {
    font-size: 12.5px;
}

.hero-note-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 10px;
    font-size: 15px;
}

.hero-slide-group,
.hero-slide figure {
    height: 100%;
    margin: 0;
}

/* Also in learn.css, which this page loads late; the review stars need it at first paint. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==================== COMMUNITY PROOF ==================== */
.proof-strip {
    padding: 40px 0 44px;
    background: #fff;
    border-top: 1px solid rgba(46, 58, 89, 0.08);
    border-bottom: 1px solid rgba(46, 58, 89, 0.08);
}

.proof-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proof-inner .home-eyebrow {
    margin-bottom: 10px;
}

.proof-neutral {
    max-width: 640px;
    font-size: 18px;
    color: var(--text-primary);
}

.proof-neutral[hidden] {
    display: none;
}

.proof-neutral a {
    color: var(--primary-strong);
    font-weight: 600;
    white-space: nowrap;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 920px;
    margin: 6px 0 0;
}

.proof-stats[hidden] {
    display: none;
}

/* Each total on its own patch, with a stitched edge in one of the quilt colours. */
.proof-stat {
    --proof-tone: var(--quilt-rose);
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
    padding: 18px 16px 16px;
    background: var(--cream-linen);
    border-radius: 14px;
    border-top: 3px dashed var(--proof-tone);
}

.proof-stat--rose { --proof-tone: var(--quilt-rose); }
.proof-stat--gold { --proof-tone: var(--sunflower-gold); }
.proof-stat--sage { --proof-tone: var(--sage-thread); }
.proof-stat--blue { --proof-tone: var(--patch-blue); }

.proof-stat dt {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.proof-stat dd {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.proof-freshness {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-secondary);
}

.proof-freshness:empty {
    display: none;
}

/* ==================== DEMOS ==================== */
.demos {
    background:
        radial-gradient(60% 50% at 85% 0%, rgba(243, 201, 105, 0.16), transparent 70%),
        var(--cream-linen);
}

.demo-player {
    max-width: 960px;
    margin: 0 auto;
}

.demo-choices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

/* Without the script the buttons would do nothing, so the first demo stands alone. */
.demo-player:not(.is-ready) .demo-choices,
.demo-player:not(.is-ready) .demo-toggle {
    display: none;
}

.demo-choice {
    min-height: 40px;
    padding: 8px 16px;
    border: 1.5px solid rgba(46, 58, 89, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--text-primary);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.demo-choice:hover {
    border-color: var(--midnight-indigo);
}

.demo-choice[aria-pressed="true"] {
    background: var(--midnight-indigo);
    border-color: var(--midnight-indigo);
    color: #fff;
}

.demo-choice:focus-visible {
    outline: 2px solid var(--primary-strong);
    outline-offset: 2px;
}

.demo-panel {
    margin: 0;
}

.demo-frame {
    background: #fff;
    border: 1px solid rgba(46, 58, 89, 0.1);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.demo-frame-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f7f8fa 0%, #eef0f4 100%);
    border-bottom: 1px solid rgba(46, 58, 89, 0.08);
}

.demo-frame-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.demo-frame-bar span:nth-child(1) { background: #ff5f57; }
.demo-frame-bar span:nth-child(2) { background: #febc2e; }
.demo-frame-bar span:nth-child(3) { background: #28c840; }

.demo-media {
    position: relative;
    background: var(--cream-linen);
}

.demo-poster,
.demo-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The poster stays until the first frame has decoded, so a slow network never shows black. */
.demo-video {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-panel.has-video .demo-video {
    opacity: 1;
}

.demo-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(46, 58, 89, 0.82);
    color: #fff;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.demo-toggle[hidden] {
    display: none;
}

.demo-toggle:hover {
    background: var(--midnight-indigo);
    transform: scale(1.05);
}

.demo-toggle:focus-visible {
    outline: 3px solid var(--sunflower-gold);
    outline-offset: 2px;
}

.demo-toggle-pause,
.demo-panel.is-playing .demo-toggle-play {
    display: none;
}

.demo-panel.is-playing .demo-toggle-pause {
    display: block;
}

.demo-caption {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 4px 28px;
    align-items: baseline;
    padding: 22px 6px 0;
}

.demo-caption-kicker {
    grid-row: span 2;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-strong);
}

.demo-caption strong {
    font-size: 20px;
    color: var(--text-primary);
}

.demo-caption span:not(.demo-caption-kicker) {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.demo-caption a {
    color: var(--primary-strong);
    font-weight: 600;
}

.demo-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    text-align: center;
}

/* ==================== BENEFITS ==================== */
.benefits {
    background: #fff;
}

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

.benefit {
    --benefit-wash: rgba(226, 114, 91, 0.12);
    display: flex;
    flex-direction: column;
    padding: 14px 14px 26px;
    background: var(--cream-linen);
    border-radius: 22px;
    border: 1px solid rgba(46, 58, 89, 0.06);
}

.benefit:nth-child(2) { --benefit-wash: rgba(243, 201, 105, 0.22); }
.benefit:nth-child(3) { --benefit-wash: rgba(126, 168, 190, 0.2); }

.benefit-photo {
    position: relative;
    margin: 0 0 22px;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: var(--benefit-wash);
}

.benefit-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* A stitch line basted just inside the photo edge. */
.benefit-photo::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1.5px dashed rgba(255, 255, 255, 0.7);
    border-radius: 9px;
    pointer-events: none;
}

.benefit-photo--phone {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 22px;
}

.benefit-photo--phone img {
    width: 46%;
    height: auto;
    border-radius: 18px;
    border: 5px solid #202944;
    box-shadow: 0 18px 36px rgba(46, 58, 89, 0.28);
}

.benefit-kicker,
.benefit h3,
.benefit p,
.benefit a {
    margin-left: 10px;
    margin-right: 10px;
}

.benefit-kicker {
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-strong);
}

.benefit h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.25;
    color: var(--text-primary);
}

.benefit p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit a {
    margin-top: auto;
    padding-top: 16px;
    color: var(--primary-strong);
    font-weight: 600;
    text-decoration: none;
}

.benefit a:hover {
    text-decoration: underline;
}

/* ==================== REVIEWS ==================== */
.reviews {
    background:
        radial-gradient(50% 60% at 10% 10%, rgba(226, 114, 91, 0.1), transparent 70%),
        radial-gradient(45% 55% at 95% 90%, rgba(164, 180, 148, 0.18), transparent 70%),
        var(--cream-linen);
}

.review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}

.review {
    --review-tone: var(--quilt-rose);
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 26px 26px 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

/* The stitched binding along the top edge, in the review's own colour. */
.review::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 18px;
    right: 18px;
    border-top: 2px dashed var(--review-tone);
    opacity: 0.8;
}

.review--rose { --review-tone: var(--quilt-rose); }
.review--gold { --review-tone: var(--sunflower-gold); }
.review--sage { --review-tone: var(--sage-thread); }
.review--blue { --review-tone: var(--patch-blue); }

.review--long {
    grid-row: span 3;
    padding: 34px 34px 28px;
}

.review-stars {
    margin-bottom: 10px;
    color: #C9962B;
    font-size: 17px;
    letter-spacing: 2px;
}

.review blockquote {
    margin: 0 0 18px;
}

.review blockquote p {
    color: var(--text-primary);
    line-height: 1.65;
}

.review blockquote p + p {
    margin-top: 12px;
}

.review--long blockquote p:not(.review-title) {
    font-size: 17px;
}

.review .review-title {
    margin-bottom: 6px;
    font-weight: 800;
    font-size: 18px;
}

.review figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(46, 58, 89, 0.08);
}

.review-author {
    font-weight: 700;
    color: var(--text-primary);
}

.review-meta {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.review-meta a,
.reviews-more a {
    color: var(--primary-strong);
    font-weight: 600;
}

.reviews-more {
    margin-top: 28px;
    text-align: center;
}

/* ==================== PRICING ==================== */
.pricing {
    background: #fff;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    background: var(--cream-linen);
    border: 1px solid rgba(46, 58, 89, 0.08);
    border-radius: 20px;
}

.plan-name {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--text-primary);
}

.plan-price strong {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.plan-price span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.plan-alt {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.plan-lead {
    margin-top: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

.plan-list {
    flex: 1;
    margin: 18px 0 22px;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1.5px dashed rgba(46, 58, 89, 0.2);
}

.plan-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-primary);
}

/* A cross-stitch in place of a bullet. */
.plan-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.42em;
    width: 9px;
    height: 9px;
    background:
        linear-gradient(45deg, transparent 42%, var(--primary-strong) 42% 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, var(--primary-strong) 42% 58%, transparent 58%);
}

.plan-cta {
    justify-content: center;
    width: 100%;
}

.plan--featured {
    background: var(--midnight-indigo);
    border-color: var(--midnight-indigo);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.plan--featured .plan-name,
.plan--featured .plan-price span,
.plan--featured .plan-alt {
    color: rgba(255, 255, 255, 0.78);
}

.plan--featured .plan-price,
.plan--featured .plan-list li {
    color: #fff;
}

.plan--featured .plan-list {
    border-top-color: rgba(255, 255, 255, 0.3);
}

.plan--featured .plan-list li::before {
    background:
        linear-gradient(45deg, transparent 42%, var(--sunflower-gold) 42% 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, var(--sunflower-gold) 42% 58%, transparent 58%);
}

.plan-flag {
    position: absolute;
    top: -13px;
    left: 24px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sunflower-gold);
    color: var(--midnight-indigo);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.pricing-note {
    max-width: 720px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-note a {
    color: var(--primary-strong);
    font-weight: 600;
}

/* ==================== FAQ ==================== */
.faq {
    background: var(--cream-linen);
}

.faq-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: 48px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(46, 58, 89, 0.08);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Plus that turns to a minus: two stitches, one of which folds away. */
.faq-item summary::before,
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-strong);
    transition: transform 0.2s ease;
}

.faq-item summary::after {
    transform: rotate(90deg);
}

.faq-item[open] summary::after {
    transform: rotate(0deg);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--primary-strong);
    outline-offset: -2px;
    border-radius: 16px;
}

.faq-item p {
    padding: 0 22px 20px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.faq-item a {
    color: var(--primary-strong);
    font-weight: 600;
}

/* ==================== TUTORIALS ==================== */
section.home-videos {
    background: #fff;
}

.home-videos-more {
    margin-top: 32px;
    text-align: center;
}

/* ==================== MORE FROM QUILTLER ==================== */
.link-row {
    padding: 64px 0;
    background: var(--cream-linen);
    border-top: 1.5px dashed rgba(46, 58, 89, 0.16);
}

.link-row-title {
    margin-bottom: 28px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.link-row-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-group h3 {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-strong);
}

.link-group a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.link-group a:hover {
    color: var(--primary-strong);
    text-decoration: underline;
}

/* ==================== CLOSING CALL TO ACTION ==================== */
.final-cta {
    padding: 24px 0 96px;
    background: var(--cream-linen);
}

.final-cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px 56px;
    align-items: center;
    padding: 56px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(226, 114, 91, 0.35), transparent 70%),
        var(--midnight-indigo);
    border-radius: 28px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.final-cta-inner::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    pointer-events: none;
}

.final-cta-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.final-cta-copy p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.final-cta-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.final-cta .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.final-cta .btn-secondary:hover {
    background: #fff;
    color: var(--midnight-indigo);
}

.final-cta-store {
    color: var(--sunflower-gold);
    font-weight: 600;
}

/* ==================== FOOTER ==================== */
.footer-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    opacity: 0.9;
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: 1.4fr 3.6fr;
    gap: 48px;
}

.site-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .plan--featured {
        transform: none;
    }

    .site-footer .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 968px) {
    /* One column, and the studio picture comes before the small print so it is in the first
       screen. The text column dissolves so its children can be ordered around the picture. */
    .hero-content {
        gap: 0;
    }

    .hero-text {
        display: contents;
    }

    .hero-content > *,
    .hero-text > * {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin: 36px 0 8px;
    }

    .hero-note {
        order: 3;
    }

    .hero-description {
        margin-bottom: 28px;
    }

    .hero-note-links {
        justify-content: center;
    }

    .proof-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .demo-caption {
        grid-template-columns: 1fr;
    }

    .demo-caption-kicker {
        grid-row: auto;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .review--long {
        grid-row: auto;
    }

    .faq-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-heading--left {
        text-align: center;
    }

    .link-row-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .final-cta-inner {
        grid-template-columns: 1fr;
        padding: 44px 32px;
    }

    .site-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .since-badge--compact {
        justify-content: center;
        border-radius: 18px;
    }

    .proof-stat dd {
        font-size: 24px;
    }

    .home-heading {
        margin-bottom: 32px;
    }

    .demo-choices {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0 -24px 20px;
        padding: 0 24px 4px;
        scrollbar-width: none;
    }

    .demo-choice {
        flex: 0 0 auto;
    }

    .demo-toggle {
        right: 10px;
        bottom: 10px;
        width: 44px;
        height: 44px;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .review,
    .review--long {
        padding: 28px 22px 20px;
    }

    .final-cta {
        padding-bottom: 64px;
    }

    .final-cta-inner {
        padding: 40px 24px;
    }

    .final-cta-actions {
        align-items: stretch;
    }

    .final-cta-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .link-row-grid,
    .site-footer .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-choice,
    .demo-video,
    .demo-toggle,
    .faq-item summary::before,
    .faq-item summary::after {
        transition: none;
    }

    .demo-toggle:hover {
        transform: none;
    }
}
