:root {
    /* Shared Memolith palette — the public home is the brand source of truth. */
    --color-background: #f8f6f2;
    --color-surface: #ffffff;
    --color-primary: #a94d38;
    --color-primary-hover: #8f3f2f;
    --color-accent: #cb684d;
    --color-secondary: #a8b2a1;
    --color-secondary-deep: #38443a;
    --color-text: #292725;
    --color-muted: #625d57;
    --color-border: #ddd5ca;
    --color-gold: #d8b78a;
    --shadow-soft: 0 18px 45px rgb(41 39 37 / 0.07);
    --shadow-subtle: 0 8px 24px rgb(41 39 37 / 0.05);
    --radius-lg: 24px;
    --radius-md: 18px;
    --font-title: "Playfair Display", "Cormorant Garamond", Georgia, serif;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

[x-cloak] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgb(216 183 138 / 0.16), transparent 34rem),
        var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    letter-spacing: 0;
}

h1,
h2,
h3 {
    color: var(--color-text);
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 0;
}

.site-header {
    border-bottom: 1px solid rgb(221 213 202 / 0.75);
    background: rgb(248 246 242 / 0.9);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header-inner {
    position: relative;
}

.mobile-menu-toggle,
.mobile-navigation {
    display: none;
}

.mobile-menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: rgb(255 255 255 / 0.76);
    color: var(--color-text);
}

.mobile-menu-toggle:focus-visible {
    outline: 3px solid rgb(203 104 77 / 0.2);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

.mobile-menu-icon {
    display: grid;
    width: 1.2rem;
    gap: 0.25rem;
}

.mobile-menu-icon i {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-menu-icon.is-open i:first-child {
    transform: translateY(5.5px) rotate(45deg);
}

.mobile-menu-icon.is-open i:nth-child(2) {
    opacity: 0;
}

.mobile-menu-icon.is-open i:last-child {
    transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 767px) {
    .site-header .desktop-navigation {
        display: none;
    }

    .site-header .mobile-menu-toggle {
        display: grid;
        flex: 0 0 auto;
    }

    .site-header .mobile-navigation {
        display: grid;
        position: absolute;
        top: calc(100% - 0.45rem);
        right: 1rem;
        left: 1rem;
        z-index: 30;
        gap: 0.35rem;
        padding: 0.65rem;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .site-header .mobile-navigation a,
    .site-header .mobile-navigation button {
        display: flex;
        width: 100%;
        min-height: 2.9rem;
        align-items: center;
        padding: 0.75rem 0.9rem;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: var(--color-text);
        font-size: 0.88rem;
        font-weight: 600;
        text-align: left;
    }

    .site-header .mobile-navigation a:hover,
    .site-header .mobile-navigation button:hover,
    .site-header .mobile-navigation a:focus-visible,
    .site-header .mobile-navigation button:focus-visible {
        background: rgb(203 104 77 / 0.08);
        color: var(--color-primary-hover);
        outline: none;
    }

    .site-header .mobile-navigation .is-primary {
        background: var(--color-primary);
        color: white;
    }

    .site-header .mobile-navigation .is-primary:hover,
    .site-header .mobile-navigation .is-primary:focus-visible {
        background: var(--color-primary-hover);
        color: white;
    }
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
}

.brand-logo-image {
    display: block;
    width: 9.25rem;
    height: auto;
}

.mini-logo .brand-logo {
    pointer-events: none;
}

.mini-logo .brand-logo-image {
    width: 7.5rem;
}

.nav-link,
.link {
    color: var(--color-primary);
    font-weight: 600;
    transition: color 220ms ease;
}

.nav-link:hover,
.link:hover {
    color: var(--color-primary-hover);
}

.btn,
.btn-muted,
.danger {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    font-weight: 600;
    line-height: 1;
    transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.btn:hover,
.btn-muted:hover {
    transform: translateY(-1px);
}

.btn.compact {
    min-height: 2.45rem;
    padding: 0.65rem 0.9rem;
}

.btn-primary,
.btn {
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover,
.btn:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.btn-secondary,
.btn-muted {
    border: 1px solid rgb(203 104 77 / 0.35);
    background: white;
    color: var(--color-primary);
}

.btn-ghost {
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-primary);
}

.danger {
    min-height: 2.4rem;
    border: 1px solid rgb(203 104 77 / 0.26);
    background: rgb(255 255 255 / 0.9);
    color: #9d4b3d;
    font-size: 0.78rem;
}

.event-danger-zone {
    border-color: rgb(157 75 61 / 0.24);
    background: rgb(255 253 250 / 0.92);
}

.danger.event-delete-button {
    min-height: 3rem;
    flex-shrink: 0;
    border-color: rgb(157 75 61 / 0.38);
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
}

.danger.event-delete-button:hover {
    border-color: #9d4b3d;
    background: #9d4b3d;
    color: white;
}

.panel,
.feature-card,
.keepsake-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 0.86);
    box-shadow: var(--shadow-subtle);
}

.panel {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.notice {
    margin-bottom: 1.5rem;
    border-radius: 18px;
    padding: 1rem 1.15rem;
    font-weight: 500;
}

.notice.success {
    border: 1px solid rgb(168 178 161 / 0.55);
    background: rgb(168 178 161 / 0.18);
    color: #495440;
}

.notice.error {
    border: 1px solid rgb(203 104 77 / 0.35);
    background: rgb(203 104 77 / 0.1);
    color: #8c4436;
}

.field {
    display: grid;
    gap: 0.55rem;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    padding: 0.8rem 1rem;
    color: var(--color-text);
    font-weight: 400;
    outline: none;
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.field textarea {
    padding-top: 1rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px rgb(203 104 77 / 0.13);
}

.field-hint {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
}

.event-venue-fields {
    padding-block: 1.5rem;
    border-block: 1px solid var(--color-border);
}

.event-venue-fields legend {
    display: grid;
    gap: 0.25rem;
    width: 100%;
    margin-bottom: 1.25rem;
}

.event-venue-fields legend strong {
    color: var(--color-text);
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 600;
}

.event-venue-fields legend span {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 400;
}

.event-venue-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
}

.event-venue-fields .field-hint {
    margin-top: 0.8rem;
}

.inline-check {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    padding: 0.8rem 1rem;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.inline-check input {
    accent-color: var(--color-primary);
}

[hidden] {
    display: none !important;
}

.pwa-install-banner {
    position: fixed;
    right: 1.25rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    z-index: 50;
    display: grid;
    width: min(32rem, calc(100vw - 2.5rem));
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgb(255 255 255 / 0.97);
    padding: 0.9rem;
    box-shadow: 0 22px 60px rgb(41 39 37 / 0.16);
    backdrop-filter: blur(16px);
    animation: slide-up 280ms ease both;
}

.pwa-install-banner > img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
}

.pwa-install-copy {
    min-width: 0;
}

.pwa-install-copy strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.18rem;
    line-height: 1.15;
}

.pwa-install-copy p {
    margin-top: 0.25rem;
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.pwa-dismiss {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 50%;
    color: var(--color-muted);
    font-size: 1.35rem;
    line-height: 1;
    transition: background 220ms ease, color 220ms ease;
}

.pwa-dismiss:hover {
    background: var(--color-background);
    color: var(--color-text);
}

.eyebrow {
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-section {
    display: grid;
    min-height: min(760px, calc(100vh - 96px));
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    padding: clamp(2rem, 7vw, 5rem) 0;
}

.hero-copy h1 {
    max-width: 12ch;
    margin-top: 0.8rem;
    font-size: clamp(3.4rem, 13vw, 7.4rem);
    line-height: 0.92;
}

.hero-text {
    max-width: 35rem;
    margin-top: 1.4rem;
    color: var(--color-muted);
    font-size: clamp(1.05rem, 2.3vw, 1.32rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.4rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.trust-list li {
    border: 1px solid rgb(221 213 202 / 0.85);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.72);
    padding: 0.5rem 0.75rem;
}

.hero-keepsake {
    display: flex;
    justify-content: center;
}

.keepsake-card {
    width: min(100%, 24rem);
    padding: 1.4rem;
    transform: rotate(-1deg);
}

.keepsake-card h2 {
    margin-top: 1.25rem;
    font-family: var(--font-serif);
    font-size: 2.7rem;
}

.keepsake-date {
    margin-top: 2rem;
    color: var(--color-muted);
    font-size: 0.86rem;
}

.wave-preview {
    display: flex;
    height: 5rem;
    align-items: center;
    gap: 0.5rem;
    margin: 1.4rem 0;
    border-radius: 18px;
    background: rgb(248 246 242);
    padding: 1rem;
}

.wave-preview span {
    width: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(var(--color-gold), var(--color-primary));
}

.wave-preview span:nth-child(1) { height: 34%; }
.wave-preview span:nth-child(2) { height: 62%; }
.wave-preview span:nth-child(3) { height: 42%; }
.wave-preview span:nth-child(4) { height: 82%; }
.wave-preview span:nth-child(5) { height: 48%; }
.wave-preview span:nth-child(6) { height: 70%; }
.wave-preview span:nth-child(7) { height: 38%; }

.section-block {
    padding: clamp(2rem, 7vw, 5rem) 0;
}

.section-heading {
    max-width: 44rem;
    margin-bottom: 1.5rem;
}

.section-heading p:not(.eyebrow) {
    margin-top: 1rem;
    color: var(--color-muted);
    line-height: 1.8;
}

.section-heading h2,
.emotion-section h2 {
    margin-top: 0.5rem;
    font-size: clamp(2.1rem, 6vw, 4.4rem);
    line-height: 1;
}

.feature-grid {
    display: grid;
    gap: 1rem;
}

.feature-card {
    padding: 1.25rem;
}

.feature-card h3 {
    margin-top: 1rem;
    font-size: 1.45rem;
}

.feature-card p,
.emotion-section p,
.keepsake-card p {
    color: var(--color-muted);
    line-height: 1.75;
}

.feature-illustration {
    position: relative;
    height: 9rem;
    border-radius: 20px;
    background: #fbf3ed;
    overflow: hidden;
}

.feature-illustration::before,
.feature-illustration::after {
    content: "";
    position: absolute;
    border: 1px solid rgb(203 104 77 / 0.28);
}

.qr-lines::before {
    inset: 2.2rem;
    border-radius: 10px;
    box-shadow: 1.3rem 1.3rem 0 rgb(216 183 138 / 0.25), -1.3rem -0.7rem 0 rgb(168 178 161 / 0.22);
}

.paper-lines::before {
    inset: 1.5rem 3.2rem;
    border-radius: 10px;
    transform: rotate(-4deg);
}

.paper-lines::after {
    left: 4.6rem;
    right: 4.6rem;
    top: 4.4rem;
    height: 1px;
    border: 0;
    background: rgb(203 104 77 / 0.35);
    box-shadow: 0 1.1rem 0 rgb(203 104 77 / 0.22);
}

.voice-lines::before {
    left: 25%;
    right: 25%;
    top: 50%;
    height: 1px;
    border: 0;
    background: rgb(203 104 77 / 0.36);
    box-shadow: 0 -1rem 0 rgb(216 183 138 / 0.5), 0 1rem 0 rgb(168 178 161 / 0.45);
}

.emotion-section {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding: clamp(2.5rem, 8vw, 5.5rem) 0;
}

.seo-split {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: clamp(2.5rem, 8vw, 5rem) 0;
}

.seo-split h2 {
    margin-top: 0.5rem;
    font-size: clamp(2.1rem, 6vw, 4.2rem);
    line-height: 1;
}

.rich-text {
    display: grid;
    gap: 1rem;
    color: var(--color-muted);
    line-height: 1.85;
}

.benefit-grid {
    display: grid;
    gap: 1rem;
}

.benefit-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 0.78);
    padding: 1.25rem;
    box-shadow: var(--shadow-subtle);
}

.benefit-card h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
}

.benefit-card p {
    margin-top: 0.65rem;
    color: var(--color-muted);
    line-height: 1.75;
}

.placement-list {
    display: grid;
    gap: 1rem;
}

.placement-list > div {
    border-left: 1px solid rgb(203 104 77 / 0.38);
    padding-left: 1rem;
}

.placement-list strong {
    display: block;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
}

.placement-list p {
    margin-top: 0.35rem;
    color: var(--color-muted);
    line-height: 1.75;
}

.faq-section {
    padding: clamp(2.5rem, 8vw, 5rem) 0;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-list details {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: rgb(255 255 255 / 0.78);
    padding: 1rem 1.15rem;
    box-shadow: var(--shadow-subtle);
}

.faq-list summary {
    cursor: pointer;
    color: var(--color-text);
    font-weight: 600;
}

.faq-list p {
    margin-top: 0.75rem;
    color: var(--color-muted);
    line-height: 1.75;
}

.final-cta {
    display: grid;
    justify-items: start;
    gap: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 0.82);
    padding: clamp(1.4rem, 5vw, 3rem);
    box-shadow: var(--shadow-soft);
}

.final-cta h2 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 8vw, 5rem);
    line-height: 0.98;
}

.final-cta p:not(.eyebrow) {
    max-width: 42rem;
    color: var(--color-muted);
    line-height: 1.8;
}

.page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-heading h1 {
    font-size: clamp(2.3rem, 8vw, 4rem);
    line-height: 1;
}

.page-heading p {
    margin-top: 0.55rem;
    color: var(--color-muted);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.stat {
    display: grid;
    min-height: 5.2rem;
    gap: 0.2rem;
    border: 1px solid rgb(221 213 202 / 0.78);
    border-radius: 18px;
    background: var(--color-surface);
    padding: 1rem;
}

.stat strong {
    font-family: var(--font-title);
    font-size: 1.75rem;
    line-height: 1;
}

.stat span {
    color: var(--color-muted);
    font-size: 0.78rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgb(168 178 161 / 0.18);
    color: #596450;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.event-card {
    display: grid;
    gap: 1.1rem;
}

.event-card h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
}

.event-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 0.55rem;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.event-countdown strong {
    color: var(--color-text);
    font-family: var(--font-title);
    font-size: 1.15rem;
}

.media-row,
.message-card {
    display: grid;
    gap: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    padding: 1rem;
}

.message-card audio,
.media-row audio {
    width: 100%;
    accent-color: var(--color-primary);
}

.audio-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.audio-meta strong {
    font-family: var(--font-serif);
    font-size: 1.35rem;
}

.audio-meta span {
    color: var(--color-muted);
    font-size: 0.86rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th,
.table td {
    border-bottom: 1px solid var(--color-border);
    padding: 0.85rem;
    text-align: left;
}

.guest-shell {
    min-height: calc(100vh - 118px);
    display: grid;
    align-items: center;
}

.event-theme {
    --event-accent: var(--color-accent);
    --event-title-font: var(--font-title);
}

.event-theme .eyebrow,
.event-theme .link {
    color: var(--event-accent);
}

.event-theme h1,
.event-theme h2 {
    font-family: var(--event-title-font);
}

.event-theme .btn-primary,
.event-theme .record-button {
    border-color: var(--event-accent);
    background: var(--event-accent);
}

.event-theme .btn-secondary {
    border-color: color-mix(in srgb, var(--event-accent) 38%, white);
    color: var(--event-accent);
}

.record-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.record-card::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgb(216 183 138 / 0.24);
    border-radius: 22px;
    pointer-events: none;
}

.microphone-permission {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    padding: 0.9rem;
}

.microphone-permission.is-ready {
    border-color: rgb(168 178 161 / 0.65);
    background: rgb(168 178 161 / 0.12);
}

.microphone-permission.has-error {
    border-color: rgb(203 104 77 / 0.45);
    background: rgb(203 104 77 / 0.08);
}

.microphone-permission-icon {
    display: grid;
    width: 2.75rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: rgb(203 104 77 / 0.12);
    color: var(--color-primary);
}

.microphone-permission.is-ready .microphone-permission-icon {
    background: rgb(168 178 161 / 0.2);
    color: #596450;
}

.microphone-permission strong {
    display: block;
    color: var(--color-text);
    font-size: 0.9rem;
}

.microphone-permission p {
    margin-top: 0.2rem;
    color: var(--color-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.microphone-symbol {
    position: relative;
    display: block;
    width: 0.7rem;
    height: 1.05rem;
    border: 2px solid currentColor;
    border-radius: 999px;
}

.microphone-symbol::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.4rem;
    width: 1rem;
    height: 0.65rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    border-radius: 0 0 999px 999px;
    transform: translateX(-50%);
}

.permission-check {
    display: block;
    width: 0.65rem;
    height: 1.1rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-0.1rem, -0.1rem);
}

.record-button {
    position: relative;
    display: inline-flex;
    width: min(14rem, 70vw);
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(203 104 77 / 0.3);
    border-radius: 999px;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 20px 40px rgb(203 104 77 / 0.22);
    transition: background 220ms ease, transform 220ms ease;
}

.record-button:hover {
    background: var(--color-primary-hover);
}

.record-button.is-recording {
    background: var(--color-primary-hover);
}

.record-button.is-recording::after {
    content: "";
    position: absolute;
    inset: -0.75rem;
    border: 1px solid rgb(203 104 77 / 0.38);
    border-radius: inherit;
    animation: pulse-soft 1.8s ease-out infinite;
}

.record-wave {
    display: flex;
    height: 4rem;
    justify-content: center;
    align-items: center;
    gap: 0.42rem;
    margin: 1.5rem auto 0;
}

.record-wave span {
    width: 0.32rem;
    height: 30%;
    border-radius: 999px;
    background: var(--color-gold);
    opacity: 0.78;
    animation: wave-soft 1.2s ease-in-out infinite;
}

.record-wave span:nth-child(2) { animation-delay: 120ms; }
.record-wave span:nth-child(3) { animation-delay: 240ms; }
.record-wave span:nth-child(4) { animation-delay: 360ms; }
.record-wave span:nth-child(5) { animation-delay: 480ms; }

/* Guest page templates */
.guest-template {
    --guest-card-background: rgb(255 255 255 / 0.84);
}

.guest-event-logo {
    width: 5.5rem;
    height: 5.5rem;
    margin-inline: auto;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: white;
    object-fit: cover;
    padding: 0.25rem;
}

.guest-default-logo {
    display: flex;
    justify-content: center;
}

.guest-event-intro {
    padding: 0 1rem;
    text-align: center;
}

.guest-event-intro > .eyebrow {
    margin-top: 1.5rem;
}

.guest-event-intro h1 {
    max-width: 15ch;
    margin: 0.5rem auto 0;
    font-size: 3.7rem;
    line-height: 1;
}

.guest-event-intro > p:last-child {
    max-width: 38rem;
    margin: 1rem auto 0;
    color: var(--color-muted);
    line-height: 1.85;
}

.guest-feedback {
    max-width: 44rem;
    margin: 1.5rem auto 0;
}

.guest-save-date {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 38rem;
    max-width: none;
    place-items: center;
    overflow: hidden;
    padding: 4.5rem 2rem;
    border: 0;
    border-radius: 16px;
    background: #3a332f;
    color: white;
    text-align: center;
}

.guest-save-date::after {
    content: "";
    position: absolute;
    inset: 1rem;
    z-index: 0;
    border: 1px solid rgb(255 255 255 / 0.38);
    border-radius: 10px;
    pointer-events: none;
}

.guest-save-date-visual,
.guest-save-date-shade {
    position: absolute;
    inset: 0;
}

.guest-save-date-visual {
    z-index: -2;
}

.guest-save-date-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.guest-save-date-shade {
    z-index: -1;
    background: rgb(30 26 24 / 0.66);
}

.guest-save-date-content {
    position: relative;
    z-index: 1;
    width: min(100%, 40rem);
}

.guest-save-date-content h2 {
    margin: 0;
    color: white;
    font-family: var(--event-title-font, var(--font-title));
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 0.98;
}

.guest-save-date-event {
    margin-top: 1rem;
    color: rgb(255 255 255 / 0.84);
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.3;
}

.guest-save-date-wedding {
    display: inline-block;
    margin-top: 2rem;
    padding-block: 0.85rem;
    border-block: 1px solid rgb(255 255 255 / 0.48);
    color: white;
    font-family: var(--event-title-font, var(--font-title));
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.15;
}

.guest-save-date-intro {
    max-width: 38rem;
    margin: 1.75rem auto 0;
    color: rgb(255 255 255 / 0.88);
    font-size: 0.95rem;
    line-height: 1.8;
}

.guest-save-date-opening {
    width: min(100%, 30rem);
    margin: 2rem auto 0;
    padding-top: 1.35rem;
    border-top: 1px solid rgb(255 255 255 / 0.34);
}

.guest-save-date-opening > p:first-child {
    color: rgb(255 255 255 / 0.68);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
}

.guest-save-date-schedule {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.35rem;
    color: white;
    font-family: var(--event-title-font, var(--font-title));
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
}

.guest-save-date-detail {
    max-width: 32rem;
    margin: 1rem auto 0;
    color: rgb(255 255 255 / 0.76);
    font-size: 0.8rem;
    line-height: 1.75;
}

.guest-template-timeless .guest-save-date {
    margin: 2rem -2rem 0;
    border-radius: 0;
}

.guest-template-essential .guest-save-date {
    margin-top: 0;
}

.guest-template-immersion .guest-save-date {
    min-height: 0;
    width: min(100%, 40rem);
    margin: 2.25rem 0 0;
    padding: 2rem 0 0;
    border-top: 1px solid rgb(255 255 255 / 0.38);
    border-radius: 0;
    background: transparent;
    place-items: start;
    text-align: left;
}

.guest-template-immersion .guest-save-date::after,
.guest-template-immersion .guest-save-date-visual,
.guest-template-immersion .guest-save-date-shade {
    display: none;
}

.guest-template-immersion .guest-save-date-content {
    width: 100%;
}

.guest-template-immersion .guest-save-date-content h2 {
    font-size: 3.4rem;
}

.guest-template-immersion .guest-save-date-event {
    margin-top: 0.65rem;
}

.guest-template-immersion .guest-save-date-wedding {
    margin-top: 1.25rem;
    font-size: 1.75rem;
}

.guest-template-immersion .guest-save-date-intro,
.guest-template-immersion .guest-save-date-detail,
.guest-template-immersion .guest-save-date-opening {
    margin-inline: 0;
}

.guest-template-immersion .guest-save-date-opening {
    text-align: left;
}

.guest-template-immersion .guest-save-date-schedule {
    justify-content: flex-start;
}

.guest-location {
    margin-top: 2.5rem;
    padding-block: 2.25rem;
    border-block: 1px solid var(--color-border);
}

.guest-location.has-map {
    display: grid;
    grid-template-columns: minmax(13rem, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 2rem;
}

.guest-location-copy h2 {
    margin: 0;
    font-family: var(--event-title-font, var(--font-title));
    font-size: 2.35rem;
    font-weight: 500;
    line-height: 1.05;
}

.guest-location-name {
    margin-top: 1.1rem;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
}

.guest-location address {
    max-width: 34rem;
    margin-top: 0.45rem;
    color: var(--color-muted);
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.65;
}

.guest-location-link {
    width: fit-content;
    margin-top: 1.25rem;
}

.guest-location-map {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ece7e0;
}

.guest-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.guest-template-immersion .guest-location {
    margin: 0 0 3rem;
}

.guest-template-essential .guest-location {
    max-width: 58rem;
}

.guest-actions-stack {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.guest-action-card {
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--guest-card-background);
    text-align: center;
}

.guest-action-heading h2 {
    margin-top: 0.35rem;
    font-size: 2rem;
    line-height: 1.15;
}

.guest-action-heading > p:last-child {
    max-width: 29rem;
    margin: 0.65rem auto 0;
    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.guest-signature-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.75rem;
    margin-top: 1.25rem;
    text-align: left;
}

.guest-signature-fields .inline-check {
    min-height: 3.25rem;
}

.guest-record-control {
    display: flex;
    min-height: 15rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
}

.guest-action-card .microphone-permission {
    margin-top: 1.25rem;
}

.guest-audio-preview {
    width: 100%;
    margin-top: 1.5rem;
}

.guest-audio-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}

.guest-limit {
    margin-top: 1rem;
    color: var(--color-muted);
    font-size: 0.7rem;
    text-align: center;
}

.guest-photo-input {
    margin-top: 1.25rem;
    text-align: left;
}

.guest-photo-submit {
    width: 100%;
    margin-top: 1rem;
}

.guest-upload-feedback {
    margin-top: 1rem;
    text-align: left;
}

.guest-upload-progress {
    width: 100%;
    height: 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(203 104 77 / 0.14);
}

.guest-upload-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    border-radius: inherit;
    background: var(--guest-accent, var(--color-accent));
    transition: transform 180ms ease-out;
}

.guest-upload-status {
    margin-top: 0.55rem;
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.guest-upload-feedback.is-selection .guest-upload-progress {
    display: none;
}

.guest-upload-feedback.is-success .guest-upload-status {
    color: #50634d;
}

.guest-upload-feedback.is-error .guest-upload-progress span {
    background: #9d4b3d;
}

.guest-upload-feedback.is-error .guest-upload-status {
    color: #873f34;
}

[data-upload-submit]:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

/* Intemporel */
.guest-template-timeless {
    padding-block: 1rem 3rem;
}

.guest-timeless-card {
    position: relative;
    width: min(100%, 48rem);
    margin-inline: auto;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: rgb(255 255 255 / 0.86);
    box-shadow: var(--shadow-soft);
}

.guest-timeless-card::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgb(216 183 138 / 0.22);
    border-radius: 16px;
    pointer-events: none;
}

.guest-timeless-card > * {
    position: relative;
}

.guest-timeless-cover {
    height: 13rem;
    margin: -2rem -2rem 2rem;
    overflow: hidden;
}

.guest-timeless-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Immersion */
.guest-template-immersion {
    width: 100vw;
    margin: -2rem 0 -3rem calc(50% - 50vw);
    overflow: hidden;
    background: #f4f0ea;
}

.guest-immersion-hero {
    position: relative;
    display: grid;
    min-height: min(50rem, 82svh);
    align-items: end;
    overflow: hidden;
    isolation: isolate;
}

.guest-immersion-hero picture,
.guest-immersion-hero picture::after,
.guest-immersion-shade {
    position: absolute;
    inset: 0;
}

.guest-immersion-hero picture {
    z-index: -2;
}

.guest-immersion-hero picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.guest-immersion-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgb(31 28 26 / 0.78) 0%, rgb(31 28 26 / 0.42) 55%, rgb(31 28 26 / 0.12) 100%);
}

.guest-immersion-content {
    width: min(100% - 2.5rem, 68rem);
    margin-inline: auto;
    padding-block: 3rem;
    color: white;
}

.guest-immersion-content .guest-default-logo {
    justify-content: flex-start;
}

.guest-template-immersion .guest-default-logo .brand-logo-image {
    filter: brightness(0) invert(1);
}

.guest-immersion-content .guest-event-logo {
    margin-inline: 0;
    border-color: rgb(255 255 255 / 0.5);
}

.guest-immersion-content > .eyebrow {
    margin-top: 2rem;
    color: white;
}

.guest-immersion-content h1 {
    max-width: 13ch;
    margin-top: 0.5rem;
    color: white;
    font-size: 4.7rem;
    line-height: 0.98;
}

.guest-immersion-content > p:not(.eyebrow) {
    max-width: 36rem;
    margin-top: 1rem;
    color: rgb(255 255 255 / 0.84);
    font-size: 1rem;
    line-height: 1.8;
}

.guest-immersion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.guest-immersion-actions .btn {
    width: auto;
}

.guest-immersion-photo-link {
    border-color: rgb(255 255 255 / 0.65);
    background: rgb(255 255 255 / 0.08);
    color: white;
    backdrop-filter: blur(10px);
}

.guest-immersion-photo-link:hover {
    border-color: white;
    background: white;
    color: var(--color-text);
}

.guest-immersion-body {
    width: min(100% - 2.5rem, 48rem);
    margin-inline: auto;
    padding-block: 4.5rem 6rem;
}

.guest-immersion-heading {
    margin-bottom: 2.5rem;
    text-align: center;
}

.guest-immersion-heading h2 {
    max-width: 20ch;
    margin: 0.6rem auto 0;
    font-size: 2.7rem;
    line-height: 1.1;
}

.guest-template-immersion .guest-action-card {
    background: white;
    box-shadow: 0 12px 35px rgb(41 39 37 / 0.06);
}

/* Essentiel */
.guest-template-essential {
    width: 100vw;
    margin: -2rem 0 -3rem calc(50% - 50vw);
    background: #fff;
}

.guest-essential-shell {
    width: min(100% - 2.5rem, 68rem);
    margin-inline: auto;
    padding-block: 2.5rem 6rem;
}

.guest-essential-header {
    max-width: 48rem;
    padding-block: 1rem 3rem;
}

.guest-essential-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.guest-essential-brand-row .guest-default-logo {
    justify-content: flex-start;
}

.guest-essential-brand-row .guest-event-logo {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0;
}

.guest-essential-brand-row time {
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.guest-essential-header > .eyebrow {
    margin-top: 2.5rem;
}

.guest-essential-header h1 {
    max-width: 14ch;
    margin-top: 0.5rem;
    font-size: 4rem;
    line-height: 1;
}

.guest-essential-header > p:last-child {
    max-width: 42rem;
    margin-top: 1rem;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.guest-essential-prompt {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: 1.25rem;
    border-block: 1px solid var(--color-border);
}

.guest-essential-prompt > span {
    color: var(--event-accent);
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.guest-essential-prompt p {
    color: var(--color-muted);
    font-size: 0.86rem;
}

.guest-essential-prompt strong {
    color: var(--color-text);
}

.guest-essential-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
    align-items: start;
    gap: 1rem;
    margin-top: 2rem;
}

.guest-template-essential .guest-action-card {
    background: var(--color-surface);
}

.guest-template-essential .guest-action-heading {
    text-align: left;
}

.guest-template-essential .guest-action-heading > p:last-child {
    margin-inline: 0;
}

.guest-template-essential .guest-record-control {
    min-height: 12rem;
}

.guest-template-essential .record-button {
    width: 11rem;
}

/* Template selector */
.guest-template-picker {
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: rgb(255 255 255 / 0.6);
}

.guest-template-picker legend {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    padding-inline: 0.25rem;
}

.guest-template-picker legend strong {
    font-family: var(--font-title);
    font-size: 1.35rem;
}

.guest-template-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.event-type-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guest-template-option {
    position: relative;
}

.guest-template-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.guest-template-option label {
    display: grid;
    height: 100%;
    gap: 0.85rem;
    padding: 0.55rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.guest-template-option label:hover {
    transform: translateY(-1px);
    border-color: rgb(203 104 77 / 0.5);
}

.guest-template-option input:checked + label {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgb(203 104 77 / 0.12);
}

.guest-template-option input:focus-visible + label {
    outline: 3px solid rgb(203 104 77 / 0.18);
    outline-offset: 2px;
}

.guest-template-option label > span:last-child {
    display: grid;
    gap: 0.2rem;
    padding: 0 0.35rem 0.35rem;
}

.guest-template-option label strong {
    font-size: 0.86rem;
}

.guest-template-option label small {
    color: var(--color-muted);
    font-size: 0.66rem;
    line-height: 1.45;
}

.template-preview {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px;
    background: #f8f6f2;
}

.template-preview i {
    position: absolute;
    display: block;
}

.template-preview-timeless .preview-cover {
    inset: 0 0 62%;
    background: #cab6a8;
}

.template-preview-timeless .preview-logo {
    top: 29%; left: 44%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: white; border: 1px solid #ddd5ca;
}

.template-preview-timeless .preview-title {
    top: 48%; left: 27%; width: 46%; height: 5%; background: #4a4541;
}

.template-preview-timeless .preview-record {
    top: 62%; left: 41%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--color-primary);
}

.template-preview-immersion {
    background: linear-gradient(90deg, rgb(31 28 26 / 0.72), rgb(31 28 26 / 0.12)), url("/img/hero-wedding-memolith.webp") center / cover;
}

.template-preview-immersion .preview-title {
    top: 36%; left: 10%; width: 48%; height: 7%; background: white;
}

.template-preview-immersion .preview-copy {
    top: 49%; left: 10%; width: 38%; height: 3%; background: rgb(255 255 255 / 0.68);
}

.template-preview-immersion .preview-actions {
    top: 62%; left: 10%; width: 29%; height: 12%; border-radius: 999px; background: var(--color-primary);
}

.template-preview-essential {
    background: white;
}

.template-preview-essential .preview-mark {
    top: 12%; left: 10%; width: 18%; height: 5%; background: var(--color-primary);
}

.template-preview-essential .preview-title {
    top: 31%; left: 10%; width: 55%; height: 7%; background: #383532;
}

.template-preview-essential .preview-copy {
    top: 45%; left: 10%; width: 72%; height: 3%; background: #bcb6b0;
}

.template-preview-essential .preview-record {
    top: 61%; left: 10%; width: 25%; aspect-ratio: 1; border-radius: 50%; background: var(--color-primary);
}

@media (max-width: 820px) {
    .event-venue-grid,
    .guest-location.has-map {
        grid-template-columns: 1fr;
    }

    .guest-essential-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .guest-template-timeless {
        padding-top: 0;
    }

    .guest-timeless-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .guest-timeless-cover {
        height: 11rem;
        margin: -1.25rem -1.25rem 1.5rem;
    }

    .guest-event-intro h1,
    .guest-essential-header h1,
    .guest-immersion-content h1 {
        font-size: 2.8rem;
    }

    .guest-save-date {
        min-height: 34rem;
        padding: 3.5rem 1.5rem;
    }

    .guest-save-date::after {
        inset: 0.65rem;
        border-radius: 8px;
    }

    .guest-save-date-content h2 {
        font-size: 3.15rem;
    }

    .guest-save-date-event {
        font-size: 1.2rem;
    }

    .guest-save-date-wedding {
        margin-top: 1.5rem;
        font-size: 1.65rem;
    }

    .guest-save-date-opening {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .guest-save-date-schedule {
        font-size: 1.2rem;
    }

    .guest-template-timeless .guest-save-date {
        margin: 1.5rem -1.25rem 0;
        border-radius: 0;
    }

    .guest-location {
        margin-top: 2rem;
        padding-block: 1.75rem;
    }

    .guest-location.has-map {
        gap: 1.5rem;
    }

    .guest-location-copy h2 {
        font-size: 2rem;
    }

    .guest-location-map {
        aspect-ratio: 4 / 3;
    }

    .guest-template-immersion .guest-save-date {
        min-height: 0;
        margin-top: 1.5rem;
        padding: 1.5rem 0 0;
    }

    .guest-template-immersion .guest-save-date-content h2 {
        font-size: 2.6rem;
    }

    .guest-event-intro {
        padding-inline: 0;
    }

    .guest-action-card {
        padding: 1.1rem;
    }

    .guest-signature-fields,
    .guest-audio-actions {
        grid-template-columns: 1fr;
    }

    .guest-signature-fields .inline-check {
        min-height: auto;
    }

    .guest-record-control {
        min-height: 13rem;
    }

    .guest-action-card .record-button {
        width: min(12rem, 62vw);
    }

    .guest-template-immersion {
        margin-top: -2rem;
    }

    .guest-immersion-hero {
        min-height: min(44rem, 82svh);
    }

    .guest-immersion-shade {
        background: linear-gradient(0deg, rgb(31 28 26 / 0.82) 0%, rgb(31 28 26 / 0.28) 72%, rgb(31 28 26 / 0.14) 100%);
    }

    .guest-immersion-content,
    .guest-immersion-body,
    .guest-essential-shell {
        width: min(100% - 2rem, 68rem);
    }

    .guest-immersion-content {
        padding-block: 2rem;
    }

    .guest-immersion-actions {
        display: grid;
    }

    .guest-immersion-actions .btn {
        width: 100%;
    }

    .guest-immersion-body {
        padding-block: 3.25rem 5rem;
    }

    .guest-immersion-heading h2 {
        font-size: 2.15rem;
    }

    .guest-essential-shell {
        padding-block: 1rem 5rem;
    }

    .guest-essential-header {
        padding-bottom: 2rem;
    }

    .guest-template-options {
        grid-template-columns: 1fr;
    }

    .event-type-options {
        grid-template-columns: 1fr;
    }

    .guest-template-option label {
        grid-template-columns: 7.5rem minmax(0, 1fr);
        align-items: center;
    }
}

.fade-in {
    animation: fade-in 280ms ease both;
}

.slide-up {
    animation: slide-up 300ms ease both;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-soft {
    from {
        opacity: 0.75;
        transform: scale(0.98);
    }
    to {
        opacity: 0;
        transform: scale(1.12);
    }
}

@keyframes wave-soft {
    0%, 100% { height: 28%; }
    50% { height: 88%; }
}

@media (min-width: 760px) {
    .hero-section {
        grid-template-columns: 1.1fr 0.9fr;
    }

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

    .emotion-section {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .seo-split {
        grid-template-columns: 0.9fr 1.1fr;
    }

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

    .placement-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .media-row {
        grid-template-columns: minmax(220px, 1fr) auto auto auto;
        align-items: center;
    }
}

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

@media (max-width: 640px) {
    .site-header nav {
        gap: 0.35rem;
    }

    .brand-logo-image {
        width: 8rem;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .btn,
    .btn-muted {
        width: 100%;
    }

    .site-header .btn,
    .site-header .btn-muted {
        width: auto;
    }

    .microphone-permission {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .microphone-permission > .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .pwa-install-banner {
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        width: calc(100vw - 1.5rem);
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.7rem;
    }

    .pwa-install-banner > .btn {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .pwa-install-banner > img {
        width: 2.85rem;
        height: 2.85rem;
    }

    .hero-actions {
        display: grid;
    }

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

/* Home */
.home-page {
    width: 100vw;
    margin: -2rem 0 -3rem calc(50% - 50vw);
    overflow: hidden;
    background: #fff;
}

html,
body {
    overflow-x: clip;
}

.home-inner {
    width: min(100% - 2.5rem, 72rem);
    margin-inline: auto;
}

.home-hero {
    position: relative;
    display: grid;
    min-height: min(42rem, 72svh);
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #5d554f;
}

.home-hero-image,
.home-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: 58% center;
}

.home-hero-shade {
    z-index: -1;
    background: rgb(32 28 25 / 0.53);
}

.home-hero-content {
    padding-block: 3.5rem;
    color: #fff;
}

.home-kicker {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 11ch;
    margin-top: 0.75rem;
    color: #fff;
    font-size: clamp(3.15rem, 12vw, 6.1rem);
    line-height: 0.92;
    text-wrap: balance;
}

.home-hero-content > p:not(.home-kicker) {
    max-width: 38rem;
    margin-top: 1.35rem;
    color: rgb(255 255 255 / 0.9);
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    line-height: 1.75;
}

.home-hero .btn-primary {
    border-color: #fff;
    background: #fff;
    color: #7e4939;
}

.home-hero .btn-primary:hover {
    border-color: #f4ece5;
    background: #f4ece5;
}

.home-text-link {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-weight: 600;
    transition: opacity 220ms ease;
}

.home-text-link:hover {
    opacity: 0.72;
}

.home-text-link.dark {
    margin-top: 1.5rem;
    color: var(--color-primary-hover);
}

.home-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-top: 1.6rem;
    color: rgb(255 255 255 / 0.86);
    font-size: 0.82rem;
    font-weight: 500;
}

.home-reassurance span::before {
    content: "✓";
    margin-right: 0.45rem;
    color: #f3c9b9;
}

.home-intro-band {
    background: #eef1eb;
    padding-block: clamp(3.25rem, 8vw, 6.5rem);
}

.home-intro-grid {
    display: grid;
    gap: 1rem;
}

.home-intro-grid h2,
.home-section-heading h2,
.home-demo-copy h2,
.home-couple-grid h2,
.home-faq-grid h2,
.home-final-content h2 {
    font-size: clamp(2.5rem, 7vw, 4.8rem);
    line-height: 0.99;
    text-wrap: balance;
}

.home-intro-grid > p:last-child,
.home-section-heading > p,
.home-couple-grid > div:first-child > p,
.home-faq-grid > div:first-child > p {
    color: #596054;
    line-height: 1.85;
}

.home-section {
    padding-block: clamp(4rem, 10vw, 8rem);
}

.home-section-heading {
    display: grid;
    gap: 1.4rem;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.home-section-heading h2 {
    max-width: 13ch;
    margin-top: 0.55rem;
}

.home-steps {
    display: grid;
    gap: 2.5rem;
    counter-reset: steps;
}

.home-steps > li {
    position: relative;
    min-width: 0;
}

.step-number,
.home-feature-list article > span {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--color-primary);
    font-size: 0.74rem;
    font-weight: 600;
}

.step-visual {
    display: grid;
    height: 12rem;
    place-items: center;
    border: 1px solid var(--color-border);
    background: #f8f6f2;
    overflow: hidden;
}

.step-visual-event {
    align-content: center;
    gap: 0.5rem;
    background: #eef1eb;
    font-family: var(--font-serif);
}

.step-visual-event span {
    color: #43483f;
    font-size: 2rem;
    font-weight: 600;
}

.step-visual-event i {
    color: var(--color-primary);
    font-weight: 400;
}

.step-visual-event small,
.step-visual-qr small {
    color: var(--color-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.step-visual-qr {
    align-content: center;
    gap: 0.75rem;
    background: var(--color-surface);
}

.mini-qr {
    width: 5.2rem;
    aspect-ratio: 1;
    border: 0.72rem solid #fff;
    outline: 1px solid var(--color-border);
    background:
        linear-gradient(90deg, #292725 18%, transparent 18% 32%, #292725 32% 48%, transparent 48% 62%, #292725 62% 82%, transparent 82%),
        linear-gradient(#292725 16%, transparent 16% 30%, #292725 30% 52%, transparent 52% 68%, #292725 68% 84%, transparent 84%);
}

.step-visual-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    background: #5c6558;
}

.step-visual-wave span {
    width: 0.28rem;
    border-radius: 999px;
    background: #f2d5c9;
}

.home-steps h3 {
    margin-top: 1.25rem;
    font-size: 1.8rem;
}

.home-steps p {
    margin-top: 0.65rem;
    color: var(--color-muted);
    line-height: 1.75;
}

.home-demo-section {
    background: #292725;
    color: #fff;
}

.home-demo-grid {
    display: grid;
    align-items: center;
    gap: 4rem;
}

.phone-stage {
    position: relative;
    min-height: 36rem;
    display: grid;
    place-items: center;
}

.phone-shell {
    width: min(18rem, 82vw);
    min-height: 35rem;
    border: 0.55rem solid #171717;
    border-radius: 2.5rem;
    background: #f8f6f2;
    color: var(--color-text);
    padding: 1.1rem 1.15rem 1.35rem;
    box-shadow: 0 28px 70px rgb(0 0 0 / 0.34);
    text-align: center;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    font-weight: 600;
}

.phone-brand {
    margin-top: 1.6rem;
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
}

.phone-label {
    margin-top: 2rem;
    color: var(--color-primary);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
}

.phone-shell h3 {
    margin: 0.4rem auto 0;
    max-width: 10ch;
    font-size: 1.75rem;
    line-height: 1.05;
}

.phone-record {
    width: 8.5rem;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    gap: 0.5rem;
    margin: 2rem auto 0;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 18px 38px rgb(203 104 77 / 0.3);
}

.phone-mic {
    width: 1.05rem;
    height: 1.55rem;
    margin: auto;
    border: 2px solid #fff;
    border-radius: 999px;
}

.phone-record strong {
    font-size: 0.72rem;
}

.phone-help {
    margin-top: 0.8rem;
    color: var(--color-muted);
    font-size: 0.68rem;
}

.phone-photo {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.6rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 600;
}

.voice-note {
    position: absolute;
    right: max(0rem, calc(50% - 13rem));
    bottom: 1rem;
    display: grid;
    width: min(17rem, 78vw);
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgb(255 255 255 / 0.45);
    background: #fff;
    color: var(--color-text);
    padding: 0.85rem;
    box-shadow: 0 18px 38px rgb(0 0 0 / 0.22);
}

.voice-play {
    display: grid;
    width: 2.35rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
}

.voice-note strong {
    font-family: var(--font-serif);
    font-size: 1rem;
}

.voice-note small {
    color: var(--color-muted);
    font-size: 0.68rem;
}

.voice-line {
    display: flex;
    height: 1rem;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.3rem;
}

.voice-line i {
    width: 0.18rem;
    height: 45%;
    border-radius: 999px;
    background: var(--color-secondary);
}

.voice-line i:nth-child(2),
.voice-line i:nth-child(5) { height: 85%; }
.voice-line i:nth-child(3) { height: 60%; }

.home-demo-copy .eyebrow {
    color: #e9b29e;
}

.home-demo-copy h2 {
    max-width: 11ch;
    margin-top: 0.55rem;
    color: #fff;
}

.home-demo-copy .lead {
    max-width: 34rem;
    margin-top: 1.4rem;
    color: rgb(255 255 255 / 0.7);
    font-size: 1.05rem;
    line-height: 1.85;
}

.home-check-list {
    display: grid;
    gap: 1.2rem;
    margin-top: 2rem;
}

.home-check-list li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
}

.home-check-list li > span {
    display: grid;
    width: 1.7rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgb(233 178 158 / 0.5);
    border-radius: 50%;
    color: #e9b29e;
    font-size: 0.75rem;
}

.home-check-list strong {
    color: #fff;
}

.home-check-list p {
    margin-top: 0.2rem;
    color: rgb(255 255 255 / 0.62);
    line-height: 1.6;
}

.home-couple-section {
    background: #f8f6f2;
}

.home-couple-grid {
    display: grid;
    align-items: center;
    gap: 3rem;
}

.home-couple-grid h2 {
    max-width: 11ch;
    margin-top: 0.55rem;
}

.home-couple-grid > div:first-child > p {
    max-width: 35rem;
    margin-top: 1.25rem;
}

.couple-access {
    border: 1px solid var(--color-border);
    background: #fff;
    padding: clamp(1rem, 4vw, 2rem);
    box-shadow: var(--shadow-soft);
}

.couple-event-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.25rem;
}

.couple-event-top div,
.couple-people p {
    display: grid;
}

.couple-event-top small,
.couple-people small {
    color: var(--color-muted);
    font-size: 0.72rem;
}

.couple-event-top strong {
    margin-top: 0.2rem;
    font-family: var(--font-serif);
    font-size: 1.65rem;
}

.couple-event-top > span {
    border-radius: 999px;
    background: #eef1eb;
    color: #596450;
    padding: 0.4rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 600;
}

.couple-people {
    display: grid;
    gap: 0.8rem;
    padding-block: 1.25rem;
}

.couple-people > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.couple-people > div > span {
    display: grid;
    width: 2.6rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: #f2d5c9;
    color: #7e4939;
    font-family: var(--font-serif);
    font-weight: 600;
}

.couple-people > div:nth-child(2) > span {
    background: #dce3d8;
    color: #596450;
}

.couple-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
}

.couple-stats span {
    display: grid;
    color: var(--color-muted);
    font-size: 0.67rem;
}

.couple-stats strong {
    color: var(--color-text);
    font-family: var(--font-title);
    font-size: 1.7rem;
}

.home-quote-band {
    background: #cb684d;
    color: #fff;
    padding-block: clamp(4rem, 10vw, 7rem);
    text-align: center;
}

.home-quote-band blockquote {
    max-width: 24ch;
    margin-inline: auto;
    font-family: var(--font-serif);
    font-size: clamp(2.35rem, 7vw, 4.7rem);
    line-height: 1.05;
    text-wrap: balance;
}

.home-quote-band p {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: rgb(255 255 255 / 0.82);
    line-height: 1.75;
}

.home-feature-list {
    border-top: 1px solid var(--color-border);
}

.home-feature-list article {
    display: grid;
    gap: 0.6rem;
    border-bottom: 1px solid var(--color-border);
    padding-block: 1.5rem;
}

.home-feature-list article > span {
    margin: 0;
}

.home-feature-list h3 {
    font-size: 1.55rem;
}

.home-feature-list p {
    color: var(--color-muted);
    line-height: 1.7;
}

.home-faq-section {
    background: #eef1eb;
}

.home-faq-grid {
    display: grid;
    gap: 2.5rem;
}

.home-faq-grid h2 {
    max-width: 10ch;
    margin-top: 0.55rem;
}

.home-faq-grid > div:first-child > p:last-child {
    margin-top: 1.25rem;
}

.home-faq-section .faq-list details {
    border: 0;
    border-bottom: 1px solid rgb(89 100 80 / 0.2);
    border-radius: 0;
    background: transparent;
    padding: 1.15rem 0;
    box-shadow: none;
}

.home-faq-section .faq-list summary {
    position: relative;
    padding-right: 2rem;
    font-size: 1rem;
    list-style: none;
}

.home-faq-section .faq-list summary::-webkit-details-marker {
    display: none;
}

.home-faq-section .faq-list summary::after {
    content: "+";
    position: absolute;
    right: 0;
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 400;
}

.home-faq-section .faq-list details[open] summary::after {
    content: "−";
}

.home-final-section {
    background: #fff;
    padding-block: clamp(4.5rem, 12vw, 9rem);
    text-align: center;
}

.home-final-content {
    display: grid;
    justify-items: center;
}

.home-final-content .brand-logo {
    pointer-events: none;
}

.home-final-content .brand-logo-image {
    width: 10.5rem;
}

.home-final-content .eyebrow {
    margin-top: 2rem;
}

.home-final-content h2 {
    max-width: 14ch;
    margin-top: 0.65rem;
}

.home-final-content > p:not(.eyebrow) {
    margin-top: 1.25rem;
    color: var(--color-muted);
    line-height: 1.75;
}

.home-final-content > .btn {
    margin-top: 2rem;
}

@media (min-width: 760px) {
    .home-page {
        margin-top: -3rem;
    }

    .home-hero-image {
        object-position: center;
    }

    .home-hero-shade {
        width: 58%;
        background: rgb(32 28 25 / 0.57);
    }

    .home-hero-content {
        padding-block: 3rem;
    }

    .home-intro-grid {
        grid-template-columns: 0.55fr 1.25fr 1fr;
        align-items: start;
        gap: 2rem;
    }

    .home-section-heading {
        grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
        align-items: end;
    }

    .home-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .home-demo-grid,
    .home-couple-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-feature-list article {
        grid-template-columns: 3rem minmax(13rem, 0.8fr) minmax(0, 1.2fr);
        align-items: baseline;
        gap: 1.5rem;
    }

    .home-faq-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 4rem;
    }
}

@media (min-width: 1100px) {
    .home-hero-shade {
        width: 52%;
    }

    .home-hero-content {
        padding-left: 0;
    }

    .home-steps {
        gap: 1.8rem;
    }
}

@media (max-width: 640px) {
    .home-page {
        margin-top: -2rem;
    }

    .home-hero {
        min-height: min(40rem, 76svh);
    }

    .home-hero-image {
        object-position: 64% center;
    }

    .home-hero-content {
        align-self: end;
        padding-block: 2rem;
    }

    .site-header > div {
        padding-inline: 1rem;
    }

    .site-header .brand-logo-image {
        width: 7.25rem;
    }

    .site-header nav {
        gap: 0.2rem;
    }

    .site-header .nav-link {
        font-size: 0.72rem;
    }

    .site-header .btn.compact {
        min-height: 2.45rem;
        padding: 0.65rem 0.72rem;
        font-size: 0.72rem;
    }

    .home-kicker {
        font-size: 0.68rem;
    }

    .home-hero h1 {
        max-width: 100%;
        margin-top: 0.6rem;
        font-size: 3rem;
        line-height: 0.92;
    }

    .home-hero-content > p:not(.home-kicker) {
        margin-top: 1rem;
        line-height: 1.6;
    }

    .home-hero .hero-actions {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        margin-top: 1.25rem;
    }

    .home-hero .home-text-link {
        justify-content: center;
    }

    .home-reassurance {
        display: grid;
        gap: 0.35rem;
        margin-top: 0.9rem;
    }

    .phone-stage {
        min-height: 34rem;
    }

    .phone-shell {
        min-height: 33rem;
    }

    .voice-note {
        right: 0;
    }

    .couple-stats strong {
        font-size: 1.4rem;
    }

    .home-final-content .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Home redesign — Le récit partagé */
.home-page {
    --home-ink: var(--color-text);
    --home-paper: var(--color-background);
    --home-terracotta: var(--color-accent);
    --home-terracotta-dark: var(--color-primary);
    --home-sage: var(--color-secondary);
    --home-sage-dark: var(--color-secondary-deep);
    --home-gold: var(--color-gold);
    --home-line: var(--color-border);
    --home-display: var(--font-title);
    --home-body: "Manrope", system-ui, sans-serif;
    width: 100vw;
    margin: -2rem 0 -3rem calc(50% - 50vw);
    overflow: clip;
    background: var(--home-paper);
    color: var(--home-ink);
    font-family: var(--home-body);
}

.home-page ::selection {
    background: var(--home-terracotta);
    color: #fff;
}

.home-page :focus-visible {
    outline: 3px solid rgb(203 104 77 / 0.34);
    outline-offset: 4px;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    color: inherit;
    font-family: var(--home-display);
    font-weight: 500;
    letter-spacing: -0.025em;
}

.home-page h1,
.home-page h2 {
    text-wrap: balance;
}

.home-page p {
    text-wrap: pretty;
}

.home-page .btn {
    min-height: 3.5rem;
    border-radius: 9px;
    padding-inline: 1.45rem;
    font-family: var(--home-body);
    font-size: 0.88rem;
    font-weight: 700;
}

.home-page .btn-primary {
    border-color: var(--home-terracotta-dark);
    background: var(--home-terracotta-dark);
    color: #fff;
    box-shadow: 0 10px 22px rgb(117 53 37 / 0.16);
}

.home-page .btn-primary:hover {
    border-color: var(--color-primary-hover);
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgb(117 53 37 / 0.2);
}

.home-site .site-header-inner {
    max-width: none;
    padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.home-site .site-header .btn-primary {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.home-site .site-header .btn-primary:hover {
    border-color: var(--color-primary-hover);
    background: var(--color-primary-hover);
}

.home-inner {
    width: min(100% - 2.5rem, 74rem);
    margin-inline: auto;
}

.home-hero {
    display: grid;
    min-height: 38rem;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: stretch;
    border-bottom: 1px solid var(--home-line);
    background: var(--home-paper);
}

.home-hero-copy {
    display: grid;
    width: 100%;
    max-width: none;
    align-content: center;
    justify-self: end;
    padding: 2.75rem clamp(2.5rem, 5vw, 5rem) 2.5rem;
}

.home-hero h1 {
    max-width: 12ch;
    font-size: clamp(3.7rem, 5.6vw, 5.35rem);
    line-height: 0.98;
}

.home-hero-copy > p {
    max-width: 33rem;
    margin-top: 1.55rem;
    color: #55514d;
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 2.1rem;
    margin-top: 2rem;
}

.home-link {
    display: inline-flex;
    width: fit-content;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--home-terracotta);
    color: var(--home-ink);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease;
}

.home-link:hover {
    border-color: var(--home-terracotta-dark);
    color: var(--home-terracotta-dark);
}

.home-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 2.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--home-line);
    color: #5b5752;
    font-size: 0.72rem;
    font-weight: 600;
}

.home-proof-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.home-proof-list svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: var(--home-sage-dark);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-hero-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.home-hero-media > picture,
.home-hero-media > picture > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 38rem;
}

.home-hero-media > picture > img {
    object-fit: cover;
    object-position: 49% center;
}

.hero-voice-card {
    position: absolute;
    right: clamp(1.25rem, 4vw, 3.5rem);
    bottom: clamp(1.25rem, 4vw, 3rem);
    display: grid;
    width: min(22rem, calc(100% - 2.5rem));
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 11px;
    background: rgb(255 255 255 / 0.94);
    color: var(--home-ink);
    box-shadow: 0 18px 40px rgb(30 23 18 / 0.19);
}

.hero-voice-play {
    display: grid;
    width: 2.7rem;
    aspect-ratio: 1;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--home-terracotta-dark);
    color: #fff;
}

.hero-voice-play svg {
    width: 1.15rem;
    fill: currentColor;
}

.hero-voice-card strong,
.hero-voice-card small {
    display: block;
}

.hero-voice-card strong {
    font-family: var(--home-display);
    font-size: 1rem;
    font-weight: 600;
}

.example-tag {
    display: block;
    margin-bottom: 0.08rem;
    color: var(--home-terracotta-dark);
    font-family: var(--home-body);
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-voice-card small {
    color: #6c6762;
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}

.hero-wave {
    display: flex;
    height: 1.7rem;
    align-items: center;
    gap: 0.16rem;
    margin-top: 0.15rem;
}

.hero-wave i {
    width: 0.14rem;
    border-radius: 1rem;
    background: var(--home-sage-dark);
}

.home-occasions,
.home-faq {
    padding-block: clamp(4.8rem, 10vw, 8.5rem);
}

.home-intro {
    padding-block: clamp(2rem, 3vw, 2.25rem) clamp(4.8rem, 10vw, 8.5rem);
}

.home-intro h2 {
    max-width: 17ch;
    margin: 0 auto;
    font-size: clamp(2.8rem, 4vw, 3.9rem);
    line-height: 1.04;
    text-align: center;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    margin-top: clamp(1.8rem, 3vw, 3rem);
}

.home-steps > li {
    min-width: 0;
}

.home-step-visual {
    position: relative;
    display: grid;
    height: 17rem;
    place-items: center;
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    background: #fff;
    overflow: hidden;
}

.step-badge {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    display: grid;
    width: 2.2rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--home-sage);
    color: #fff;
    font-family: var(--home-display);
    font-size: 1.15rem;
}

.paper-qr {
    position: relative;
    display: grid;
    width: 11.25rem;
    min-height: 14.25rem;
    place-items: center;
    align-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem 1rem;
    border: 1px solid var(--home-line);
    background: #fff;
    box-shadow: 0 14px 30px rgb(45 38 31 / 0.14);
    transform: rotate(-1.5deg);
}

.paper-qr::after {
    content: "";
    position: absolute;
    right: 0.85rem;
    bottom: -0.38rem;
    left: 0.85rem;
    height: 0.38rem;
    border: 1px solid var(--home-line);
    border-top: 0;
    background: var(--home-line);
    transform: skewX(-22deg);
    transform-origin: top;
}

.paper-qr-brand {
    color: var(--home-terracotta-dark);
    font-family: var(--home-display);
    font-size: 0.72rem;
    font-weight: 600;
}

.paper-qr > strong {
    max-width: 9ch;
    font-family: var(--home-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.08;
    text-align: center;
}

.paper-qr-code {
    display: grid;
    width: 6.4rem;
    aspect-ratio: 1;
    place-items: center;
    padding: 0.28rem;
    border: 1px solid var(--home-line);
    background: #fff;
}

.paper-qr-code svg {
    display: block;
    width: 100%;
    height: auto;
}

.paper-qr small {
    color: #605b55;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
}

.home-step-record {
    background: #ebe2d6;
}

.step-phone {
    position: relative;
    display: grid;
    width: 8.8rem;
    height: 15rem;
    align-content: center;
    justify-items: center;
    gap: 1rem;
    border: 5px solid var(--home-ink);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: var(--home-paper);
}

.step-phone-speaker {
    position: absolute;
    top: 0.6rem;
    width: 2.5rem;
    height: 0.34rem;
    border-radius: 1rem;
    background: var(--home-ink);
}

.step-phone svg {
    width: 2.6rem;
    fill: none;
    stroke: var(--home-terracotta);
    stroke-width: 1.6;
    stroke-linecap: round;
}

.step-wave {
    display: flex;
    height: 2.5rem;
    align-items: center;
    gap: 0.2rem;
}

.step-wave i {
    width: 0.16rem;
    height: 45%;
    background: var(--home-terracotta);
}

.step-wave i:nth-child(2),
.step-wave i:nth-child(6) { height: 72%; }
.step-wave i:nth-child(3),
.step-wave i:nth-child(5) { height: 100%; }

.home-step-keep {
    background: var(--home-sage-dark);
}

.step-gallery-phone {
    align-content: start;
    gap: 0;
    padding: 2rem 0.75rem 0;
    border-color: #171816;
    background: var(--home-paper);
}

.step-gallery-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.step-gallery-grid > img,
.step-gallery-audio,
.step-gallery-play {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
}

.step-gallery-grid > img {
    object-fit: cover;
}

.step-gallery-audio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    background: #e8ded1;
}

.step-gallery-audio i {
    width: 0.12rem;
    height: 35%;
    border-radius: 1rem;
    background: var(--home-terracotta-dark);
}

.step-gallery-audio i:nth-child(2),
.step-gallery-audio i:nth-child(4) { height: 62%; }
.step-gallery-audio i:nth-child(3) { height: 82%; }

.step-gallery-play {
    display: grid;
    place-items: center;
    background: var(--home-terracotta-dark);
    color: #fff;
}

.step-gallery-play svg {
    width: 1.35rem;
    fill: currentColor;
}

.home-step-copy {
    padding-top: 1.35rem;
}

.home-step-copy h3 {
    font-size: 1.65rem;
}

.home-step-copy p {
    margin-top: 0.65rem;
    color: #66615b;
    font-size: 0.88rem;
    line-height: 1.75;
}

.home-demo {
    padding-block: clamp(5rem, 10vw, 8.5rem);
    background: var(--home-sage-dark);
    color: #f7f4ed;
}

.home-demo-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.home-phone-stage {
    position: relative;
    display: grid;
    min-height: 39rem;
    place-items: center;
}

.home-phone-stage::before {
    content: "";
    position: absolute;
    width: 25rem;
    max-width: 90%;
    aspect-ratio: 1;
    border: 1px solid rgb(216 183 138 / 0.45);
    border-radius: 50%;
}

.home-phone {
    position: relative;
    z-index: 1;
    width: min(18rem, 82vw);
    min-height: 36rem;
    padding: 1.05rem 1.2rem 1.3rem;
    border: 7px solid #171816;
    border-radius: 34px;
    background: var(--home-paper);
    color: var(--home-ink);
    text-align: center;
    box-shadow: 0 30px 65px rgb(8 12 9 / 0.38);
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.56rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.phone-top i {
    width: 4.6rem;
    height: 1.15rem;
    border-radius: 1rem;
    background: #171816;
}

.phone-top span:last-child {
    display: flex;
    align-items: end;
    gap: 0.22rem;
}

.phone-top b {
    display: flex;
    height: 0.65rem;
    align-items: end;
    gap: 0.08rem;
}

.phone-top b i {
    display: block;
    width: 0.12rem;
    height: 35%;
    border-radius: 0;
    background: currentColor;
}

.phone-top b i:nth-child(2) { height: 65%; }
.phone-top b i:nth-child(3) { height: 100%; }

.phone-event-mark {
    margin-top: 1.35rem;
    color: var(--home-terracotta);
    font-family: var(--home-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.phone-example-label {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.22rem 0.5rem;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    color: var(--home-terracotta-dark);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home-phone > p {
    margin-top: 1rem;
    color: #716b65;
    font-size: 0.62rem;
    font-weight: 700;
}

.home-phone time {
    display: block;
    margin-top: 0.25rem;
    color: #8a837b;
    font-size: 0.57rem;
}

.home-phone h3 {
    max-width: 9ch;
    margin: 0.7rem auto 0;
    font-size: 1.85rem;
    line-height: 1.05;
}

.phone-record-button {
    display: grid;
    width: 7.7rem;
    aspect-ratio: 1;
    place-content: center;
    gap: 0.45rem;
    margin: 1.55rem auto 0;
    border-radius: 50%;
    background: var(--home-terracotta);
    color: #fff;
    box-shadow: 0 14px 28px rgb(117 53 37 / 0.23);
}

.phone-record-button svg {
    width: 1.5rem;
    margin-inline: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.phone-record-button span {
    font-size: 0.63rem;
    font-weight: 700;
}

.phone-live-wave {
    display: flex;
    height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    margin-top: 1rem;
}

.phone-live-wave i {
    width: 0.16rem;
    height: var(--wave-height);
    border-radius: 1rem;
    background: var(--home-sage-dark);
    transform: scaleY(0.4);
    transform-origin: center;
}

.home-demo.is-active .phone-live-wave i {
    animation: home-wave 900ms cubic-bezier(.22, 1, .36, 1) both;
}

.home-demo.is-active .phone-live-wave i:nth-child(3n + 1) { animation-delay: 70ms; }
.home-demo.is-active .phone-live-wave i:nth-child(3n + 2) { animation-delay: 140ms; }

@keyframes home-wave {
    0% { transform: scaleY(0.4); filter: blur(1px); }
    55% { transform: scaleY(1); filter: blur(0); }
    100% { transform: scaleY(0.72); filter: blur(0); }
}

.home-phone > button {
    width: 100%;
    min-height: 2.6rem;
    margin-top: 0.75rem;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: transparent;
    color: var(--home-terracotta-dark);
    font-size: 0.64rem;
    font-weight: 700;
}

.home-demo-copy h2 {
    max-width: 12ch;
    color: #fff;
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.02;
}

.home-demo-copy > p {
    max-width: 39rem;
    margin-top: 1.5rem;
    color: #d7ddd5;
    font-size: 1rem;
    line-height: 1.8;
}

.home-detail-list {
    margin-top: 2rem;
    border-top: 1px solid rgb(255 255 255 / 0.2);
}

.home-detail-list li {
    display: grid;
    grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 1.3fr);
    gap: 1rem;
    padding-block: 1.2rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.2);
}

.home-detail-list strong {
    color: #fff;
    font-size: 0.88rem;
}

.home-detail-list span {
    color: #c8d0c6;
    font-size: 0.82rem;
    line-height: 1.65;
}

.home-occasions > .home-inner > h2 {
    max-width: 15ch;
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 1.04;
}

.home-occasions > .home-inner > p {
    max-width: 47rem;
    margin-top: 1.35rem;
    color: #615c56;
    line-height: 1.8;
}

.occasion-switcher {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    margin-top: 3rem;
    border-block: 1px solid var(--home-line);
}

.occasion-switcher article {
    position: relative;
    min-height: 37rem;
    overflow: hidden;
}

.occasion-switcher article > div {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3.5rem);
}

.occasion-switcher h3 {
    max-width: 12ch;
    margin-top: 0;
    font-size: clamp(2.3rem, 4vw, 3.8rem);
    line-height: 1.04;
}

.occasion-switcher p {
    max-width: 33rem;
    margin-top: 1rem;
    color: #625d57;
    line-height: 1.75;
}

.occasion-switcher .home-link {
    margin-top: 1.4rem;
}

.occasion-wedding {
    border-right: 1px solid var(--home-line);
    background: #eee9e1;
}

.occasion-wedding::after {
    content: "“";
    position: absolute;
    right: 0.5rem;
    bottom: -8rem;
    color: rgb(203 104 77 / 0.12);
    font-family: var(--home-display);
    font-size: 30rem;
    line-height: 1;
}

.occasion-birthday > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 61% center;
}

.occasion-birthday::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(30 24 19 / 0.53);
}

.occasion-birthday > div {
    display: grid;
    min-height: 100%;
    align-content: end;
    color: #fff;
}

.occasion-birthday h3,
.occasion-birthday .home-link {
    color: #fff;
}

.occasion-birthday p {
    color: rgb(255 255 255 / 0.84);
}

.occasion-birthday .home-link {
    border-color: #fff;
}

.home-ownership {
    padding-block: clamp(4.8rem, 10vw, 8rem);
    background: #e6ded2;
}

.home-ownership-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 8vw, 7rem);
}

.home-ownership h2 {
    max-width: 10ch;
    font-size: clamp(3rem, 5vw, 4.7rem);
    line-height: 1.02;
}

.home-ownership-grid > div > p {
    max-width: 35rem;
    margin-top: 1.3rem;
    color: #615b54;
    line-height: 1.8;
}

.home-ownership-grid > div > .btn {
    margin-top: 1.8rem;
}

.home-ownership-grid > ul {
    border-top: 1px solid rgb(41 39 37 / 0.25);
}

.home-ownership-grid li {
    display: grid;
    grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding-block: 1.35rem;
    border-bottom: 1px solid rgb(41 39 37 / 0.25);
}

.home-ownership-grid li > strong {
    font-family: var(--home-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.home-ownership-grid li > p {
    color: #625c55;
    font-size: 0.82rem;
    line-height: 1.7;
}

.home-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 7rem);
}

.home-faq h2 {
    max-width: 11ch;
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 1.04;
}

.home-faq-grid > div:first-child > p {
    max-width: 28rem;
    margin-top: 1.25rem;
    color: #625d57;
    line-height: 1.8;
}

.home-faq-grid > div:first-child > .home-link {
    margin-top: 1.35rem;
}

.home-faq-list {
    border-top: 1px solid var(--home-line);
}

.home-faq-list details {
    border-bottom: 1px solid var(--home-line);
}

.home-faq-list summary {
    position: relative;
    padding: 1.35rem 3rem 1.35rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--home-display);
    font-size: 1.25rem;
    font-weight: 600;
}

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

.home-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 1.2rem;
    right: 0;
    color: var(--home-terracotta);
    font-family: var(--home-body);
    font-size: 1.35rem;
    font-weight: 400;
}

.home-faq-list details[open] summary::after {
    content: "−";
}

.home-faq-list p {
    max-width: 46rem;
    padding: 0 3rem 1.35rem 0;
    color: #625d57;
    font-size: 0.9rem;
    line-height: 1.8;
}

.home-final {
    padding-block: clamp(5rem, 12vw, 9rem);
    background: var(--home-terracotta-dark);
    color: #fff;
    text-align: center;
}

.home-final .home-inner {
    display: grid;
    justify-items: center;
}

.home-final h2 {
    max-width: 15ch;
    margin-top: 0;
    color: #fff;
    font-size: clamp(3.1rem, 6vw, 5.7rem);
    line-height: 1;
}

.home-final .btn-primary {
    margin-top: 2.1rem;
    border-color: #fff;
    background: #fff;
    color: var(--home-terracotta-dark);
    box-shadow: 0 14px 28px rgb(99 34 21 / 0.2);
}

.home-final .btn-primary:hover {
    border-color: var(--home-paper);
    background: var(--home-paper);
}

.home-final .home-inner > span {
    margin-top: 1rem;
    color: rgb(255 255 255 / 0.84);
    font-size: 0.72rem;
}

@media (min-width: 760px) {
    .home-page {
        margin-top: -3rem;
    }
}

@media (max-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero-copy {
        max-width: none;
        justify-self: stretch;
        padding: 4.5rem max(1.25rem, calc((100vw - 44rem) / 2)) 3.5rem;
    }

    .home-hero h1 {
        max-width: 12ch;
    }

    .home-hero-media,
    .home-hero-media > picture,
    .home-hero-media > picture > img {
        min-height: 32rem;
        max-height: 40rem;
    }

    .home-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home-steps > li {
        display: grid;
        grid-template-columns: minmax(15rem, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 2rem;
    }

    .home-demo-grid,
    .home-ownership-grid,
    .home-faq-grid {
        grid-template-columns: 1fr;
    }

    .home-phone-stage {
        order: 2;
    }

    .occasion-switcher {
        grid-template-columns: 1fr;
    }

    .occasion-wedding {
        min-height: 27rem !important;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }
}

@media (max-width: 640px) {
    .home-page {
        margin-top: -2rem;
    }

    .home-inner {
        width: min(100% - 2rem, 74rem);
    }

    .home-hero-copy {
        padding: 3.25rem 1rem 2.5rem;
    }

    .home-hero h1 {
        font-size: clamp(3.05rem, 15vw, 4rem);
    }

    .home-hero-copy > p {
        margin-top: 1.15rem;
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .home-hero-actions {
        display: grid;
        gap: 0.55rem;
        margin-top: 1.5rem;
    }

    .home-hero-actions .btn,
    .home-hero-actions .home-link {
        width: 100%;
        justify-content: center;
    }

    .home-proof-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 1.65rem;
    }

    .home-proof-list li:last-child {
        grid-column: 1 / -1;
    }

    .home-hero-media,
    .home-hero-media > picture,
    .home-hero-media > picture > img {
        min-height: 25rem;
        max-height: 25rem;
    }

    .home-hero-media > picture > img {
        object-position: 46% center;
    }

    .hero-voice-card {
        right: 1rem;
        bottom: 1rem;
        width: calc(100% - 2rem);
    }

    .home-occasions,
    .home-faq {
        padding-block: 4.5rem;
    }

    .home-intro {
        padding-block: 3.75rem 4.5rem;
    }

    .home-intro h2,
    .home-demo-copy h2,
    .home-occasions > .home-inner > h2,
    .home-ownership h2,
    .home-faq h2 {
        font-size: 2.65rem;
    }

    .home-steps {
        margin-top: 3rem;
    }

    .home-steps > li {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-step-visual {
        height: 15rem;
    }

    .home-step-copy {
        padding-top: 1rem;
    }

    .home-demo {
        padding-block: 4.5rem;
    }

    .home-phone-stage {
        min-height: 37rem;
    }

    .home-detail-list li,
    .home-ownership-grid li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .occasion-switcher article {
        min-height: 33rem;
    }

    .occasion-switcher article > div {
        padding: 1.5rem;
    }

    .occasion-switcher h3 {
        font-size: 2.5rem;
    }

    .home-ownership {
        padding-block: 4.5rem;
    }

    .home-ownership-grid {
        gap: 3.5rem;
    }

    .home-ownership-grid > div > .btn,
    .home-final .btn {
        width: 100%;
    }

    .home-final {
        padding-block: 5rem;
    }

    .home-final h2 {
        font-size: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-demo.is-active .phone-live-wave i {
        animation: none;
        transform: scaleY(0.72);
    }
}

/* Public editorial pages */
.seo-page {
    max-width: 68rem;
    margin-inline: auto;
}

.seo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 2rem;
    color: var(--color-muted);
    font-size: 0.76rem;
}

.seo-breadcrumbs a {
    color: var(--color-primary-hover);
    text-decoration: underline;
    text-decoration-color: rgb(181 108 85 / 0.3);
    text-underline-offset: 0.2em;
}

.seo-hero {
    padding-block: 2.5rem 4.5rem;
}

.seo-hero-with-media {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    align-items: center;
    gap: 4rem;
}

.seo-hero-centered {
    max-width: 58rem;
    margin-inline: auto;
    text-align: center;
}

.seo-hero h1 {
    max-width: 16ch;
    margin-top: 0.75rem;
    font-size: 3.6rem;
    line-height: 1.04;
}

.seo-hero-centered h1,
.seo-guide-hero h1 {
    margin-inline: auto;
}

.seo-lead {
    max-width: 46rem;
    margin-top: 1.25rem;
    color: var(--color-muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

.seo-hero-centered .seo-lead,
.seo-guide-hero .seo-lead {
    margin-inline: auto;
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.75rem;
}

.seo-hero-centered .seo-actions {
    justify-content: center;
}

.seo-hero-media {
    margin: 0;
}

.seo-hero-media picture {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.seo-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seo-hero-media figcaption {
    margin-top: 0.75rem;
    color: var(--color-muted);
    font-size: 0.72rem;
    line-height: 1.6;
}

.seo-section {
    padding-block: 4.5rem;
    border-top: 1px solid var(--color-border);
}

.seo-section h2,
.seo-related h2,
.seo-final-cta h2 {
    max-width: 19ch;
    margin-top: 0.55rem;
    font-size: 2.55rem;
    line-height: 1.12;
}

.seo-prose > p:not(.eyebrow),
.seo-guide-content section > p:not(.eyebrow) {
    max-width: 49rem;
    margin-top: 1.2rem;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.seo-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: end;
    gap: 3rem;
}

.seo-heading-row > p {
    color: var(--color-muted);
    line-height: 1.85;
}

.seo-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.seo-benefit-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-benefit-grid article {
    min-height: 12.5rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: rgb(255 255 255 / 0.72);
}

.seo-benefit-grid article > span {
    display: block;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 600;
}

.seo-benefit-grid h3 {
    margin-top: 1.4rem;
    font-size: 1.55rem;
}

.seo-benefit-grid p {
    margin-top: 0.55rem;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.seo-split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    align-items: start;
    gap: 4rem;
}

.seo-split-reverse {
    grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
}

.seo-numbered-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    counter-reset: seo-steps;
}

.seo-numbered-list li {
    position: relative;
    min-height: 3rem;
    padding-left: 3.8rem;
    counter-increment: seo-steps;
}

.seo-numbered-list li::before {
    content: counter(seo-steps, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-primary);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
}

.seo-numbered-list strong,
.seo-numbered-list span {
    display: block;
}

.seo-numbered-list span {
    margin-top: 0.25rem;
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.seo-numbered-list.compact {
    gap: 1rem;
}

.seo-note {
    padding: 2rem;
    border: 1px solid rgb(216 183 138 / 0.6);
    border-radius: 8px;
    background: rgb(216 183 138 / 0.12);
}

.seo-note-green {
    border-color: rgb(168 178 161 / 0.55);
    background: rgb(168 178 161 / 0.15);
}

.seo-note h3 {
    margin-top: 0.6rem;
    font-size: 1.75rem;
}

.seo-note p:not(.eyebrow) {
    margin-top: 0.9rem;
    color: var(--color-muted);
    line-height: 1.8;
}

.seo-table-wrap {
    margin-top: 2rem;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: white;
}

.seo-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    text-align: left;
}

.seo-table th,
.seo-table td {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.84rem;
}

.seo-table thead th {
    color: var(--color-muted);
    background: var(--color-surface);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.seo-table tbody th {
    color: var(--color-text);
    font-weight: 600;
}

.seo-table .is-highlighted {
    background: rgb(203 104 77 / 0.08);
}

.seo-related {
    padding-block: 4.5rem;
    border-top: 1px solid var(--color-border);
}

.seo-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.home-guides-section .seo-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.seo-related-grid a {
    display: grid;
    min-height: 9rem;
    align-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: white;
    transition: border-color 220ms ease, transform 220ms ease;
}

.seo-related-grid a:hover {
    transform: translateY(-2px);
    border-color: rgb(203 104 77 / 0.5);
}

.seo-related-grid strong {
    font-family: var(--font-title);
    font-size: 1.3rem;
}

.seo-related-grid span {
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.seo-final-cta,
.seo-inline-cta {
    margin-block: 1rem 3rem;
    padding: 3.5rem;
    border-radius: 8px;
    background: #292725;
    color: white;
}

.seo-final-cta h2,
.seo-inline-cta h2 {
    color: white;
}

.seo-final-cta > p:not(.eyebrow),
.seo-inline-cta > p:not(.eyebrow) {
    max-width: 42rem;
    margin-top: 1rem;
    color: rgb(255 255 255 / 0.72);
    line-height: 1.8;
}

.seo-final-cta .btn,
.seo-inline-cta .btn {
    margin-top: 1.5rem;
}

.seo-qr-scene {
    display: grid;
    grid-template-columns: 16rem 3rem 13rem;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    padding: 3rem 1rem;
    border-block: 1px solid var(--color-border);
}

.seo-card-paper,
.seo-phone-mini {
    display: grid;
    justify-items: center;
    text-align: center;
    background: white;
    box-shadow: var(--shadow-subtle);
}

.seo-card-paper {
    min-height: 18rem;
    align-content: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.seo-card-paper .mini-qr {
    width: 6rem;
    height: 6rem;
}

.seo-card-paper strong {
    max-width: 12rem;
    font-family: var(--font-title);
    font-size: 1.25rem;
}

.seo-card-paper small,
.seo-phone-mini small {
    color: var(--color-muted);
}

.seo-flow-arrow {
    color: var(--color-primary);
    font-size: 1.6rem;
}

.seo-phone-mini {
    min-height: 23rem;
    align-content: start;
    gap: 1.5rem;
    padding: 2rem 1rem;
    border: 5px solid #292725;
    border-radius: 28px;
}

.seo-phone-mini strong {
    margin-top: 2rem;
    font-family: var(--font-title);
    font-size: 1.35rem;
}

.seo-phone-mini span {
    display: grid;
    width: 7rem;
    height: 7rem;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
}

.seo-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.seo-step-grid li {
    padding-top: 1.2rem;
    border-top: 2px solid var(--color-primary);
}

.seo-step-grid li > span {
    color: var(--color-primary);
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.seo-step-grid h3 {
    margin-top: 1.25rem;
    font-size: 1.45rem;
}

.seo-step-grid p {
    margin-top: 0.5rem;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.seo-guide-hero {
    max-width: 50rem;
    margin-inline: auto;
    text-align: center;
}

.seo-author {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    text-align: left;
}

.seo-author > span {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: 50%;
    background: var(--color-secondary);
    color: white;
    font-family: var(--font-title);
}

.seo-author strong,
.seo-author small {
    display: block;
}

.seo-author small {
    margin-top: 0.2rem;
    color: var(--color-muted);
    font-size: 0.7rem;
}

.seo-guide-layout {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    align-items: start;
    gap: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.seo-toc {
    position: sticky;
    top: 7rem;
    display: grid;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-gold);
}

.seo-toc strong {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
}

.seo-toc a {
    color: var(--color-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.seo-toc a:hover {
    color: var(--color-primary);
}

.seo-guide-content > section {
    padding-block: 2rem 4rem;
    scroll-margin-top: 7rem;
}

.seo-guide-content > section + section {
    border-top: 1px solid var(--color-border);
}

.seo-guide-content h2 {
    max-width: 22ch;
    margin-top: 0.55rem;
    font-size: 2.35rem;
    line-height: 1.15;
}

.seo-place-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.seo-place-list article {
    padding: 1.35rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: rgb(255 255 255 / 0.7);
}

.seo-place-list article > span {
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.seo-place-list h3 {
    margin-top: 0.75rem;
    font-size: 1.3rem;
}

.seo-place-list p {
    margin-top: 0.5rem;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.seo-callout {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-left: 3px solid var(--color-primary);
    background: rgb(203 104 77 / 0.08);
}

.seo-callout p {
    margin-top: 0.35rem;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.seo-check-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.seo-check-list li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.seo-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.seo-guide-content blockquote {
    margin-block: 1.75rem;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--color-gold);
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.55rem;
    line-height: 1.4;
}

/* Birthday landing page */
.birthday-page .seo-hero-with-media {
    grid-template-columns: minmax(20rem, 0.78fr) minmax(26rem, 1.22fr);
    gap: 3rem;
}

.birthday-page .seo-hero h1 {
    max-width: 13ch;
}

.birthday-hero-media picture {
    aspect-ratio: 1.38 / 1;
}

.birthday-hero-media img {
    object-position: 70% center;
}

.birthday-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 1.5rem;
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.birthday-proof span::before {
    content: "✓";
    margin-right: 0.35rem;
    color: var(--color-primary);
}

.birthday-intro {
    max-width: 54rem;
}

.birthday-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.birthday-benefit-grid article {
    min-height: 13.5rem;
}

.birthday-idea-card {
    position: relative;
    overflow: hidden;
}

.birthday-idea-card::after {
    content: "♪";
    position: absolute;
    right: -0.2rem;
    bottom: -2.8rem;
    color: rgb(203 104 77 / 0.1);
    font-family: var(--font-serif);
    font-size: 10rem;
    line-height: 1;
}

.birthday-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 2.5rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-border);
}

.birthday-timeline article {
    padding: 2rem;
    background: var(--color-surface);
}

.birthday-timeline span {
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.birthday-timeline h3 {
    margin-top: 1.25rem;
    font-size: 1.55rem;
}

.birthday-timeline p {
    margin-top: 0.65rem;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

.birthday-prompt-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.birthday-faq-list {
    display: grid;
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--color-border);
}

.birthday-faq-list details {
    border-bottom: 1px solid var(--color-border);
}

.birthday-faq-list summary {
    position: relative;
    padding: 1.35rem 3rem 1.35rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-title);
    font-size: 1.2rem;
}

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

.birthday-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 1.15rem;
    right: 0;
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-size: 1.5rem;
}

.birthday-faq-list details[open] summary::after {
    content: "−";
}

.birthday-faq-list details p {
    max-width: 48rem;
    padding: 0 3rem 1.4rem 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.birthday-final-cta {
    background: linear-gradient(125deg, #292725, #4b3831);
}

@media (max-width: 900px) {
    .seo-hero-with-media,
    .seo-heading-row,
    .seo-split,
    .seo-split-reverse,
    .seo-guide-layout {
        grid-template-columns: 1fr;
    }

    .seo-hero-with-media,
    .seo-split,
    .seo-split-reverse,
    .seo-guide-layout {
        gap: 2rem;
    }

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

    .seo-toc {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-toc strong {
        grid-column: 1 / -1;
    }

    .home-guides-section .seo-related-grid {
        grid-template-columns: 1fr;
    }

    .birthday-page .seo-hero-with-media,
    .birthday-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .birthday-page .seo-hero-with-media {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .seo-breadcrumbs {
        margin-bottom: 1rem;
    }

    .seo-hero {
        padding-block: 1.5rem 3rem;
    }

    .seo-hero h1 {
        font-size: 2.55rem;
        line-height: 1.05;
    }

    .seo-lead {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .seo-actions,
    .seo-hero-centered .seo-actions {
        display: grid;
        justify-content: stretch;
    }

    .seo-actions .btn {
        width: 100%;
    }

    .seo-section,
    .seo-related {
        padding-block: 3.25rem;
    }

    .seo-section h2,
    .seo-related h2,
    .seo-final-cta h2,
    .seo-guide-content h2 {
        font-size: 2rem;
    }

    .seo-benefit-grid,
    .seo-benefit-grid-three,
    .seo-related-grid,
    .seo-place-list,
    .seo-step-grid {
        grid-template-columns: 1fr;
    }

    .birthday-benefit-grid,
    .birthday-timeline,
    .birthday-prompt-list {
        grid-template-columns: 1fr;
    }

    .birthday-hero-media picture {
        aspect-ratio: 4 / 3;
    }

    .seo-benefit-grid article {
        min-height: 0;
    }

    .seo-qr-scene {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .seo-flow-arrow {
        transform: rotate(90deg);
    }

    .seo-card-paper {
        width: min(100%, 16rem);
        margin-inline: auto;
    }

    .seo-phone-mini {
        width: min(100%, 13rem);
        margin-inline: auto;
    }

    .seo-toc {
        grid-template-columns: 1fr;
    }

    .seo-final-cta,
    .seo-inline-cta {
        padding: 2rem 1.25rem;
    }

    .seo-final-cta .btn,
    .seo-inline-cta .btn {
        width: 100%;
    }
}

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    background:
        radial-gradient(circle at 12% 0%, rgb(203 104 77 / 0.09), transparent 28rem),
        #f7f2ec;
    color: var(--color-muted);
}

.site-footer-inner {
    width: min(100% - 2.5rem, 78rem);
    margin-inline: auto;
    padding-block: 3.5rem 1.5rem;
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.site-footer-brand {
    max-width: 19rem;
}

.site-footer-logo {
    display: inline-flex;
    margin-bottom: 1.15rem;
}

.site-footer-logo img {
    display: block;
    width: 8.25rem;
    height: auto;
}

.site-footer-brand p {
    font-size: 0.88rem;
    line-height: 1.75;
}

.site-footer-column h2 {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer-column ul {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-column-stack {
    display: grid;
    gap: 2rem;
}

.site-footer-column a {
    color: var(--color-muted);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.site-footer-column a:hover {
    color: var(--color-primary-hover);
}

.site-footer-pending {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.site-footer-pending small {
    border: 1px solid rgb(203 104 77 / 0.24);
    border-radius: 999px;
    background: rgb(203 104 77 / 0.08);
    color: var(--color-primary-hover);
    padding: 0.12rem 0.4rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(220 210 200 / 0.8);
    font-size: 0.72rem;
    line-height: 1.6;
}

.site-footer address {
    display: grid;
    gap: 0.1rem;
    font-style: normal;
}

.site-footer address strong {
    color: var(--color-text);
    font-weight: 600;
}

.site-footer-bottom p {
    margin: 0;
    text-align: right;
}

@media (max-width: 760px) {
    .site-footer-inner {
        width: min(100% - 2rem, 78rem);
        padding-block: 2.5rem 1.25rem;
    }

    .site-footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer-brand {
        max-width: 28rem;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 2.5rem;
    }

    .site-footer-bottom p {
        text-align: left;
    }
}
