﻿/* Homepage — compact layout overrides */

.home-page .page-section {
    padding-top: clamp(1.75rem, 3vw, 2.75rem);
    padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.home-page .page-section.home-section--flush-top {
    padding-top: 0;
}

.home-page .section-heading {
    margin-bottom: 1.25rem;
}

.home-page .section-lead {
    font-size: 0.875rem;
    line-height: 1.55;
}

/* Hero stats — inline pills */
.home-stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.home-stat-strip .stat-item {
    flex-direction: row;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    border: 1px solid rgba(20, 18, 16, 0.08);
    background: rgba(250, 248, 245, 0.88);
    padding: 0.3125rem 0.6875rem;
}

.home-stat-strip .stat-value {
    font-size: 0.875rem;
    line-height: 1;
}

.home-stat-strip .stat-label {
    font-size: 0.6875rem;
    line-height: 1;
    color: #6b6560;
}

/* Value props — editorial numbered band (not SaaS/AI feature cards) */
.home-value-band {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(28, 24, 20, 0.12);
    border-bottom: 1px solid rgba(28, 24, 20, 0.12);
    background: transparent;
}

.home-value-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem 1rem;
    align-items: start;
    padding: 1.15rem 0.15rem;
    border-bottom: 1px solid rgba(28, 24, 20, 0.08);
}

.home-value-item:last-child {
    border-bottom: 0;
}

.home-value-index {
    font-family: Fraunces, "Noto Serif SC", Georgia, serif;
    font-size: 1.125rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #c45c26;
    font-variant-numeric: tabular-nums;
}

.home-value-title {
    margin: 0;
    font-family: Fraunces, "Noto Serif SC", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #1c1814;
}

.home-value-body {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #6b6560;
}

@media (min-width: 768px) {
    .home-value-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-value-item {
        padding: 1.35rem 1.25rem 1.35rem 0.15rem;
        border-bottom: 0;
        border-right: 1px solid rgba(28, 24, 20, 0.1);
    }

    .home-value-item:last-child {
        border-right: 0;
        padding-right: 0.15rem;
    }

    .home-value-item:not(:first-child) {
        padding-left: 1.25rem;
    }
}

/* How-it-works band */
.home-steps-band {
    display: grid;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(20, 18, 16, 0.08);
    background: #faf8f5;
    padding: 1rem;
}

.home-steps-band .step-card {
    padding-left: 0;
    text-align: left;
}

.home-steps-band .step-number {
    position: static;
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.home-steps-band .step-title {
    font-size: 0.875rem;
}

.home-steps-band .step-body {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .home-steps-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        padding: 1.125rem 1.25rem;
    }
}

/* Style modes — denser cards */
.home-mode-grid {
    gap: 0.625rem;
}

.home-mode-grid .qr-mode-card {
    padding: 1rem 1.125rem;
}

.home-mode-grid .qr-mode-title {
    font-size: 1rem;
}

.home-mode-grid .qr-mode-desc {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-mode-grid .qr-mode-cta {
    display: none;
}

@media (min-width: 640px) {
    .home-mode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-mode-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* AI showcase + related tools */
.home-page .ai-showcase-scroll {
    gap: 0.5rem;
}

.home-page .ai-showcase-card {
    width: 4.75rem;
}

@media (min-width: 640px) {
    .home-page .ai-showcase-card {
        width: 5.25rem;
    }
}

.home-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.home-spotlight-chip {
    display: flex;
    align-items: center;
    min-height: 2.625rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(20, 18, 16, 0.08);
    background: #faf8f5;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: #141210;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.home-spotlight-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(196, 92, 38, 0.22);
    box-shadow: 0 4px 12px rgba(196, 92, 38, 0.08);
}

.home-spotlight-chip-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
}

.home-spotlight-chip--more {
    justify-content: center;
    border-style: dashed;
    color: #c45c26;
    font-size: 0.8125rem;
    font-weight: 600;
}

.home-page .ai-showcase-tools {
    margin-top: 1rem;
}

.home-page .ai-showcase-tools-label {
    margin-bottom: 0.375rem;
    font-size: 0.6875rem;
}

@media (min-width: 640px) {
    .home-spotlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-spotlight-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Scene cards — tighter */
.home-scene-grid {
    gap: 0.625rem;
}

.home-scene-grid .qr-scene-card {
    padding: 0.75rem;
    gap: 0.625rem;
}

.home-scene-grid .qr-scene-name {
    font-size: 0.8125rem;
}

/* Creative tools — compact grid */
.home-tools-grid {
    display: grid;
    gap: 0.625rem;
}

.home-tools-grid .tool-featured {
    padding: 0.75rem 0.875rem;
    gap: 0.625rem;
}

.home-tools-grid .tool-featured-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
}

.home-tools-grid .tool-featured-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.home-tools-grid .tool-featured-group {
    display: none;
}

.home-tools-grid .tool-featured-title {
    font-size: 0.875rem;
}

.home-tools-grid .tool-featured-desc,
.home-tools-grid .tool-featured-action {
    display: none;
}

@media (min-width: 640px) {
    .home-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-tools-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Pricing — slightly tighter */
.home-pricing-grid {
    gap: 0.75rem;
}

.home-pricing-grid .pricing-card {
    padding: 1.25rem;
}

.home-pricing-grid .pricing-price {
    font-size: 1.75rem;
}

.home-pricing-grid .pricing-features {
    font-size: 0.8125rem;
}

/* FAQ — compact */
.home-faq-grid {
    gap: 0.625rem;
}

.home-faq-grid .faq-item {
    padding: 0;
}

.home-faq-grid .faq-question {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
}

.home-faq-grid .faq-answer {
    padding: 0.75rem 1rem 1rem;
    font-size: 0.8125rem;
}

/* Bottom CTA */
.home-cta-band {
    padding: 2rem 1.5rem;
}

.home-cta-band .cta-band-title {
    font-size: 1.375rem;
}

.home-cta-band .cta-band-lead {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.home-cta-band .cta-band-actions {
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .home-cta-band {
        padding: 2.25rem 2rem;
    }
}
