/**
 * Bento / editorial layout — light theme overlays
 */

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: var(--space-3) var(--space-4);
    background: var(--surface-inverse);
    color: var(--text-on-inverse);
    font-weight: 600;
    border-radius: var(--radius-md);
}
.skip-link:focus {
    left: var(--space-4);
    top: var(--space-4);
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    max-width: none;
    width: 100%;
    margin: 0;
    padding: var(--space-3) clamp(1rem, 4vw, 2rem);
}
.app-header::after {
    height: 3px;
    border-radius: 0;
    opacity: 1;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.promo-banner-block {
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
    border-bottom: 1px solid var(--border);
}

.app-main--home {
    max-width: var(--container-max);
    padding: var(--space-6) var(--space-5);
}

/* —— Home bento grid —— */
.home-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--bento-gap);
    margin-bottom: var(--space-10);
}

.bento-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.bento-tile--hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-8) var(--space-8);
    background:
        linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 45%, rgba(13, 148, 136, 0.06) 100%);
}

@media (max-width: 900px) {
    .bento-tile--hero {
        grid-template-columns: 1fr;
        padding: var(--space-6);
    }

    .bento-tile--hero .bento-hero-logo-wrap {
        order: -1;
    }
}

.bento-hero-copy {
    min-width: 0;
}

.editorial-kicker {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin: 0 0 var(--space-4);
}

.bento-tile--hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    max-width: 18ch;
    font-weight: 600;
}

.bento-tile--hero .hero-tagline {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 52ch;
    margin-bottom: var(--space-5);
}

.bento-tile--hero .hero-cta {
    margin-bottom: var(--space-4);
}

.bento-hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.bento-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero: large brand logo (contain — never crop pixel art) */
.bento-hero-visual.bento-hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-3);
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 55%),
        linear-gradient(165deg, #1e1b4b08 0%, var(--surface-2) 45%, var(--surface) 100%);
    box-shadow:
        var(--shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.bento-hero-logo-wrap img {
    width: 100%;
    max-width: min(440px, 100%);
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 12px 28px rgba(13, 148, 136, 0.12));
}

.bento-tile--promo {
    grid-column: span 12;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 14%, var(--surface)) 0%, var(--surface-2) 100%);
    border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
}

.bento-tile--promo p {
    margin: 0;
    font-size: 1.05rem;
    max-width: 70ch;
    line-height: 1.5;
}

.bento-promo-secondary {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.bento-promo-secondary a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Home: new-customer gift block */
.bento-tile--gift-welcome {
    grid-column: 1 / -1;
    padding: 0;
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
}

.home-gift-welcome-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-8) var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
    background: linear-gradient(
        145deg,
        var(--surface) 0%,
        var(--surface-2) 38%,
        color-mix(in srgb, var(--accent) 9%, var(--surface-2)) 100%
    );
    box-shadow:
        var(--shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-gift-welcome-visual {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--accent-muted) 65%, var(--surface));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.home-gift-welcome-visual svg {
    width: 40px;
    height: 40px;
}

.home-gift-welcome-kicker {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin: 0 0 var(--space-3);
}

.home-gift-welcome-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
    max-width: 28ch;
}

.home-gift-welcome-copy h2 strong {
    color: color-mix(in srgb, var(--accent) 92%, var(--text-primary));
}

.home-gift-welcome-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #57534e;
    margin: 0 0 var(--space-6);
    max-width: 56ch;
}

.home-gift-welcome-code-block {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    padding: var(--space-4) var(--space-5);
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px dashed color-mix(in srgb, var(--accent) 28%, var(--border));
    box-shadow: var(--shadow-sm);
}

.home-gift-welcome-code-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #78716c;
}

.home-gift-welcome-code {
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    background: var(--surface-2);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
}

.home-gift-welcome-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.home-gift-welcome-note {
    font-size: 0.88rem;
    color: #57534e;
    margin: 0;
}

.home-gift-welcome-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.game-town-v2 .bento-tile--gift-welcome .btn-primary {
    background: #1e1b4b !important;
    box-shadow: 0 4px 14px rgba(30, 27, 75, 0.35) !important;
}

.game-town-v2 .bento-tile--gift-welcome .btn-primary:hover {
    background: #312e81 !important;
}

.game-town-v2 .bento-tile--gift-welcome .btn-secondary {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: #1e1b4b !important;
    color: #1e1b4b !important;
}

.game-town-v2 .bento-tile--gift-welcome .btn-secondary:hover {
    background: #fff !important;
}

@media (max-width: 720px) {
    .home-gift-welcome-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-6);
    }

    .home-gift-welcome-visual {
        justify-self: center;
    }

    .home-gift-welcome-copy h2 {
        max-width: none;
    }

    .home-gift-welcome-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .home-gift-welcome-code-block {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .home-gift-welcome-cta {
        justify-content: center;
    }
}

.bento-tile--editorial {
    grid-column: 1 / span 7;
    min-height: 220px;
}

.bento-tile--editorial h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.bento-tile--editorial p {
    color: var(--text-muted);
    line-height: 1.65;
    max-width: var(--prose-width);
}

.bento-tile--media {
    grid-column: 8 / span 5;
    padding: 0;
    min-height: 220px;
}

.bento-tile--media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

/* Home: brand story — replaces editorial + photo */
.bento-tile--brand {
    grid-column: 1 / -1;
    padding: var(--space-8) var(--space-8);
    background: linear-gradient(
        180deg,
        var(--surface) 0%,
        color-mix(in srgb, var(--primary) 5%, var(--surface-2)) 100%
    );
    border-color: color-mix(in srgb, var(--primary) 18%, var(--border));
}

.home-brand-inner {
    max-width: 72rem;
    margin: 0 auto;
}

.home-brand-head {
    margin-bottom: var(--space-8);
}

.bento-tile--brand .home-brand-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
    line-height: 1.2;
    max-width: 28ch;
}

.home-brand-lead {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 62ch;
    margin: 0;
}

.home-brand-pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bento-gap);
}

.home-brand-pillar {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    height: 100%;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-brand-pillar:hover {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.home-brand-pillar:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.home-brand-pillar-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-brand-pillar-icon svg {
    width: 24px;
    height: 24px;
}

.home-brand-pillar-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.home-brand-pillar-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.home-brand-pillar-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.home-brand-about-cta {
    margin: var(--space-8) 0 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .bento-tile--editorial,
    .bento-tile--media {
        grid-column: 1 / -1;
    }

    .home-brand-pillars {
        grid-template-columns: 1fr;
    }

    .bento-tile--brand {
        padding: var(--space-6);
    }
}

/* Trust bento strip */
.bento-trust {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--bento-gap);
}

@media (max-width: 768px) {
    .bento-trust {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bento-trust-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.bento-trust-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.bento-trust-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.bento-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--primary-muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    flex-shrink: 0;
}
.bento-icon svg {
    width: 22px;
    height: 22px;
}

/* Section headings — editorial */
.home-section {
    margin-bottom: var(--space-10);
}

.home-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.home-section .section-desc {
    color: var(--text-muted);
    max-width: 60ch;
    margin-bottom: var(--space-6);
    font-size: 1.05rem;
    line-height: 1.55;
}

/* Product grid — bento cards */
.product-grid {
    gap: var(--bento-gap);
}

.product-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-image-wrap {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-2);
}

.product-card h3 {
    font-size: 1rem;
    line-height: 1.35;
    margin: var(--space-3) var(--space-4) 0;
    color: var(--text-primary);
}

.product-card .product-platform {
    margin: var(--space-1) var(--space-4);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-card .product-short-desc {
    margin: var(--space-2) var(--space-4);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.product-card-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

/* Category / page shells */
.page-category,
.page-product,
.page-cart,
.page-checkout,
.page-content,
.page-favorites,
.legal-content {
    max-width: var(--container-max);
}

.page-category h1,
.page-product h1,
.page-cart h1 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.page-category .page-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 55ch;
    margin-bottom: var(--space-8);
}

/* CTA bento */
.cta-section {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: var(--space-10) var(--space-6);
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.cta-section h2 {
    font-family: var(--font-display);
    margin-bottom: var(--space-3);
}

/* Footer editorial */
.app-footer {
    background: var(--surface-inverse);
    color: var(--text-on-inverse);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-top: var(--space-12);
    padding-top: var(--space-10);
}

.app-footer a {
    color: #94a3b8;
}
.app-footer a:hover {
    color: #e2e8f0;
}

.app-footer h4 {
    color: #f1f5f9;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-trust {
    border-bottom-color: rgba(148, 163, 184, 0.25);
}

.footer-grid {
    gap: var(--space-8);
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-newsletter input[type="email"] {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.3);
    color: var(--text-on-inverse);
}

/* Buttons — bento polish */
.btn-primary {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    min-height: 44px;
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    border-radius: var(--radius-md);
    min-height: 44px;
}

/* Reviews / FAQ on home (FAQ block styles live in style.css — grouped layout) */
.reviews-section,
.reviews-block,
.faq-home-section {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: var(--space-8);
    background: var(--surface);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.game-town-v2 .home-faq {
    padding: 0;
    margin-bottom: var(--space-8);
}

/* Trust section legacy — hide duplicate if using bento-trust */
section.trust-section.home-trust-legacy {
    display: none;
}

/* —— About / Contact editorial pages —— */
.app-main--about,
.app-main--contact {
    max-width: var(--container-max);
    padding: var(--space-6) clamp(1rem, 4vw, 2rem);
    margin-left: auto;
    margin-right: auto;
}

.about-page,
.contact-page {
    padding-bottom: var(--space-10);
}

.contact-page-cards-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 var(--space-6);
}

.contact-page-card-value {
    font-size: 1.05rem;
    margin: 0 0 var(--space-2);
    line-height: 1.45;
}

.contact-page-card-value a {
    font-weight: 600;
    word-break: break-word;
}

.contact-page-card-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.contact-page-address {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 var(--space-2);
}

.about-page-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    background: linear-gradient(
        145deg,
        var(--surface) 0%,
        var(--surface-2) 42%,
        color-mix(in srgb, var(--primary) 8%, var(--surface)) 100%
    );
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.about-page-hero-copy {
    min-width: 0;
}

.about-page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
    font-weight: 600;
    max-width: 18ch;
}

.about-page-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 var(--space-5);
    max-width: 52ch;
}

.about-page-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.about-page-promo {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 52ch;
    line-height: 1.5;
}

.about-page-promo code {
    font-size: 0.88em;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.about-page-hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.about-page-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .about-page-hero {
        grid-template-columns: 1fr;
        padding: var(--space-6);
    }
    .about-page-hero-visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}

.about-page-stats {
    list-style: none;
    margin: 0 0 var(--space-10);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bento-gap);
}

.about-page-stats li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.about-page-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-1);
}

.about-page-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .about-page-stats {
        grid-template-columns: 1fr;
    }
}

.about-page-story {
    margin-bottom: var(--space-10);
}

.about-page-story-main {
    max-width: 68ch;
    padding: var(--space-8);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.about-page-story-main h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
}

.about-page-story-main p {
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 var(--space-4);
    font-size: 1.05rem;
}

.about-page-story-main p:last-child {
    margin-bottom: 0;
}

.about-page-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bento-gap);
    margin-bottom: var(--space-10);
}

.about-page-value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.about-page-value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.about-page-value-icon svg {
    width: 22px;
    height: 22px;
}

.about-page-value-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0 0 var(--space-2);
}

.about-page-value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.about-page-value-card a {
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-page-values {
        grid-template-columns: 1fr;
    }
}

.about-page-explore {
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
    background: linear-gradient(
        120deg,
        color-mix(in srgb, var(--primary) 12%, var(--surface)) 0%,
        var(--surface-2) 100%
    );
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.about-page-explore-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-6);
}

.about-page-explore-copy {
    flex: 1 1 280px;
    min-width: 0;
}

.about-page-explore-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.about-page-explore-icon svg {
    width: 22px;
    height: 22px;
}

.about-page-explore-copy h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 var(--space-3);
}

.about-page-explore-copy p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
    max-width: 56ch;
}

.about-page-explore-copy a {
    font-weight: 600;
}

.about-page-explore-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .about-page-explore-actions {
        width: 100%;
    }
    .about-page-explore-actions .btn-primary,
    .about-page-explore-actions .btn-secondary {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
}

/* —— New customer gift page (/gift/new-customer/) —— */
.app-main--gift {
    max-width: var(--container-max);
    padding: var(--space-6) clamp(1rem, 4vw, 2rem);
    margin-left: auto;
    margin-right: auto;
}

.app-main--gift .page-gift.page-gift--v2 {
    max-width: none;
    width: 100%;
    padding-bottom: var(--space-10);
}

.page-gift-welcome-wrap {
    margin-bottom: var(--space-8);
}

.page-gift-welcome-wrap .bento-tile--gift-welcome {
    margin: 0;
}

.page-gift-welcome-wrap .home-gift-welcome-inner {
    background: linear-gradient(
        135deg,
        #fff7ed 0%,
        #fffcf7 38%,
        #e0e7ff 92%,
        #fef3c7 100%
    );
    border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--border));
    box-shadow:
        var(--shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.page-gift-welcome-wrap .home-gift-welcome-visual {
    background: linear-gradient(145deg, #c7d2fe 0%, #fdba74 100%);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    color: #3730a3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.page-gift-welcome-wrap .home-gift-welcome-copy h2 strong {
    color: #4f46e5;
}

.page-gift-welcome-wrap .home-gift-welcome-lead {
    color: #44403c;
}

.page-gift-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-6) var(--space-8);
    align-items: start;
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
    background: linear-gradient(
        155deg,
        color-mix(in srgb, var(--primary) 14%, var(--surface)) 0%,
        var(--surface) 40%,
        color-mix(in srgb, var(--accent) 10%, var(--surface-2)) 100%
    );
    box-shadow: var(--shadow-sm);
}

.page-gift-intro-kicker {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary);
    margin: 0 0 var(--space-3);
}

.page-gift-intro-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
    max-width: 20ch;
}

.page-gift-intro-lead {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #44403c;
    margin: 0;
    max-width: 62ch;
}

.page-gift-panels {
    margin-bottom: var(--space-10);
}

.page-gift-panels-heading {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin: 0 0 var(--space-5);
    padding-left: 2px;
}

.page-gift-panels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: start;
}

.page-gift-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.page-gift-panel-head {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-6) 0;
}

.page-gift-panel-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.page-gift-panel-icon svg {
    width: 24px;
    height: 24px;
}

.page-gift-panel-icon--accent {
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 35%, var(--surface)) 0%, var(--primary-muted) 100%);
    color: color-mix(in srgb, var(--accent) 85%, var(--primary));
}

.page-gift-panel-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
    padding-top: 0.35rem;
    color: var(--text-primary);
}

.page-gift-panel-copy {
    flex: 1;
    min-width: 0;
    padding: var(--space-4) var(--space-6) var(--space-6);
}

.page-gift-panel-copy p {
    margin: 0 0 var(--space-4);
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 58ch;
}

.page-gift-panel-copy p:last-child {
    margin-bottom: 0;
}

.page-gift-panel-copy a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-gift-panel-copy a:hover {
    color: var(--primary-hover);
}

.page-gift-panel--accent {
    border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--primary) 6%, var(--surface)) 0%,
        var(--surface) 28%
    );
}

.page-gift-panel-media {
    margin: 0;
    width: 100%;
    border-top: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
    background: var(--surface-2);
}

.page-gift-panel-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-gift--v2 .gift-grid-title {
    scroll-margin-top: 6rem;
}

.page-gift--v2 .gift-after-grid {
    margin-top: var(--space-8);
    padding: var(--space-6) var(--space-7);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
    .page-gift-panels-grid {
        grid-template-columns: 1fr;
    }

    .page-gift-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-gift-intro {
        padding: var(--space-6);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .product-card {
        transition: none;
    }
    .product-card:hover {
        transform: none;
    }
    .home-brand-pillar {
        transition: none;
    }
    .home-brand-pillar:hover {
        transform: none;
    }
}
