/* Targeted additions to the original homepage. */
.refinement-eyebrow {
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.13em;
    color: #c4c8ce;
}

.features-refined .section-header h2,
.customer-proof .section-header h2,
#pricing .section-header h2 { line-height: 1.08; }

.features-refined .section-header p,
.customer-proof .section-header p { color: #b4b8bf; }

.features-refined .features-carousel-hint {
    color: #b4b8bf;
    letter-spacing: 0.08em;
}

.features-refined .feature-carousel-card { min-height: 560px; }
.features-refined .bento-card-content { min-height: 230px; }
.features-refined .bento-card h3 { line-height: 1.12; }
.features-refined .bento-card p { color: #b4b8bf; font-weight: 400; font-size: 16px; }
.features-refined .feature-card-footer { color: #b4b8bf; letter-spacing: 0.08em; }
.features-refined .bento-card-image { margin-top: 30px; }
.features-refined .bento-card-image img { object-fit: contain; }
.features-refined .feature-dashboard-visual img {
    width: 150%;
    max-width: none;
    height: auto;
    transform: translateX(-33.333%);
}
.features-refined .feature-caption-exports {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 12px;
    background: #101011;
}
.feature-caption-exports video {
    display: block;
    min-width: 0;
    max-width: 44%;
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    border-radius: 8px;
    background: #080808;
}
.features-refined :is(video, button, [data-feature-track]):focus-visible {
    outline: 2px solid var(--silver);
    outline-offset: 4px;
}

/* Review wall adapted from the editorial layout in commit 72c5cf3. */
.customer-proof-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: rgba(255, 255, 255, 0.14);
}
.customer-proof-quote {
    display: flex;
    flex-direction: column;
    grid-column: span 3;
    min-width: 0;
    min-height: 230px;
    padding: clamp(24px, 2.5vw, 36px);
    border: 0;
    border-radius: 0;
    background: #101011;
}
.customer-proof-featured { grid-column: span 6; grid-row: span 2; }
.customer-proof-quote:nth-last-child(-n + 2) { grid-column: span 6; }
.customer-proof-source {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #c4c8ce;
}
.customer-proof-source span:last-child { letter-spacing: 0.1em; }
.customer-proof-quote blockquote { margin-bottom: 28px; font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--silver); }
.customer-proof-featured blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
}
.customer-proof-quote figcaption { margin-top: auto; font-size: 13px; font-weight: 500; }
.customer-proof-quote figcaption a { font-size: 13px; font-weight: 500; color: #b4b8bf; text-decoration: none; text-underline-offset: 4px; }
.customer-proof-quote figcaption a span { margin-left: 5px; font-size: 11px; }
.customer-proof-all-reviews { display: inline-block; margin-top: 24px; font-size: 12px; font-weight: 400; color: #b4b8bf; text-decoration: none; text-underline-offset: 4px; }
.customer-proof-all-reviews span { margin-left: 5px; }
.customer-proof-quote figcaption a:is(:hover, :focus-visible),
.customer-proof-all-reviews:is(:hover, :focus-visible) { color: var(--white); text-decoration: underline; }
.customer-proof-quote figcaption a:focus-visible,
.customer-proof-all-reviews:focus-visible { outline: 2px solid var(--silver); outline-offset: 4px; }

@media (max-width: 1024px) {
    .customer-proof-quote { padding: 24px; }
}

@media (max-width: 900px) {
    .customer-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-proof-quote,
    .customer-proof-quote:nth-last-child(-n + 2) { grid-column: span 1; }
    .customer-proof-featured { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 768px) {
    .features-refined .feature-carousel-card { flex-basis: calc(100% - 20px); min-height: 0; }
    .features-refined .bento-card-content { min-height: 0; }
    .features-refined .bento-card-image { margin-top: 28px; }
    .features-refined .features-carousel-toolbar { flex-direction: row; align-items: center; }
    .features-refined .features-carousel-nav { width: auto; }
    .features-refined .features-carousel-hint { max-width: 180px; font-size: 10px; }
}

@media (max-width: 600px) {
    .customer-proof-grid { grid-template-columns: 1fr; }
    .customer-proof-quote,
    .customer-proof-featured,
    .customer-proof-quote:nth-last-child(-n + 2) { grid-column: 1; min-height: auto; }
    .customer-proof-featured blockquote { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .features-refined .features-track { scroll-behavior: auto; }
}
