/*
 * Widow Singles - design system
 * Light-only theme. Warm ivory → peach → lavender → sky page gradient,
 * copper-rose accent, plum text, luminous white ribbon motif.
 */

:root {
    /* Palette */
    --ivory: #FBF5EE;
    --ivory-2: #FFFAF5;
    --peach: #F6D9C4;
    --peach-soft: #FBE8DA;
    --apricot: #F3C3A0;
    --lavender: #E6E2F5;
    --sky: #DCEBF3;
    --sand: #EADBCB;
    --sand-strong: #D9B9A6;
    --copper: #B5684D;          /* icons, rings, borders */
    --copper-strong: #A0573D;   /* button fill: white text 5.3:1 */
    --copper-deep: #874832;     /* hover, links, focus */
    --plum: #33262E;
    --text-muted: #5E4B54;
    --white: #FFFFFF;

    /* Type */
    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h1: clamp(2.35rem, 6.2vw, 4rem);
    --fs-h2: clamp(1.85rem, 4.2vw, 2.75rem);
    --fs-h3: 1.25rem;
    --lh-body: 1.65;

    /* Shape & depth */
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --shadow-soft: 0 12px 32px -14px rgba(120, 70, 50, 0.28);
    --shadow-lift: 0 24px 48px -18px rgba(120, 70, 50, 0.38);
    --glow-peach: 0 0 24px rgba(246, 190, 155, 0.7);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(4rem, 9vw, 7rem);
    --header-bottom: 68px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--plum);
    background-color: var(--ivory);
    background-image: linear-gradient(180deg,
        #FBF5EE 0%,
        #F9E6D6 12%,
        #F7DDCB 22%,
        #F1E2EA 34%,
        #E6E2F5 46%,
        #DCEBF3 58%,
        #EEE4E6 70%,
        #F8DCC6 84%,
        #FBF5EE 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin: 0 0 0.6em;
    color: var(--plum);
    line-height: 1.2;
}

h1 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: var(--fs-h1);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

h2 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--fs-h2);
    letter-spacing: -0.015em;
}

h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--fs-h3);
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--copper-deep);
}

a:hover {
    color: var(--plum);
}

:focus-visible {
    outline: 3px solid var(--copper-deep);
    outline-offset: 3px;
    border-radius: 6px;
}

main:focus {
    outline: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section-head {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.lead {
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    color: var(--text-muted);
}

.muted-note {
    font-size: var(--fs-small);
    color: var(--text-muted);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--plum);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
    color: var(--white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.6rem;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 3px;
    border-radius: var(--radius-pill);
}

.btn--primary {
    background: var(--copper-strong);
    color: var(--white);
    box-shadow: 0 10px 22px -10px rgba(160, 87, 61, 0.7);
}

.btn--primary:hover {
    background: var(--copper-deep);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(135, 72, 50, 0.75);
}

.btn--ghost {
    background: rgba(255, 250, 245, 0.7);
    color: var(--copper-deep);
    border-color: var(--copper-strong);
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--plum);
    border-color: var(--copper-deep);
}

.btn--light {
    background: var(--white);
    color: var(--plum);
    box-shadow: var(--shadow-soft);
}

.btn--light:hover {
    color: var(--copper-deep);
    transform: translateY(-1px);
}

.btn--text {
    background: transparent;
    color: var(--plum);
    padding-inline: 0.9rem;
}

.btn--text:hover {
    color: var(--copper-deep);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.btn--sm {
    min-height: 44px;
    padding: 0.55rem 1.15rem;
    font-size: 0.9375rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0.95rem 2.4rem;
    font-size: 1.0625rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(217, 185, 166, 0.45);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(251, 245, 238, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 68px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--plum);
    text-decoration: none;
    flex-shrink: 0;
    min-height: 44px;
}

.site-brand:hover {
    color: var(--plum);
}

.site-brand__mark {
    width: 34px;
    height: 23px;
    flex-shrink: 0;
}

.site-brand__text {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: -0.005em;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-login {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--sand-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 250, 245, 0.9);
    color: var(--plum);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    color: var(--plum);
    text-decoration: none;
    font-weight: 500;
}

.site-nav__link:hover {
    color: var(--copper-deep);
}

/* Mobile / tablet drawer */
@media (max-width: 1023.98px) {
    .site-nav {
        position: fixed;
        top: var(--header-bottom);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        z-index: 90;
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem var(--gutter) 2rem;
        background: var(--ivory);
        border-top: 1px solid var(--sand);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 0.25rem 0.25rem;
        font-size: 1.1875rem;
        border-bottom: 1px solid var(--sand);
    }

    .site-nav__actions {
        display: grid;
        gap: 0.75rem;
    }
}

@media (max-width: 359.98px) {
    .header-actions .header-cta {
        display: none;
    }
}

@media (min-width: 1024px) {
    .site-header__inner {
        min-height: 76px;
        gap: 1.5rem;
    }

    .site-brand__mark {
        width: 40px;
        height: 27px;
    }

    .site-brand__text {
        font-size: 1.5rem;
    }

    .site-nav {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: clamp(0.75rem, 1.8vw, 1.75rem);
    }

    .site-nav__link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 1rem;
        position: relative;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        height: 1.5px;
        background: var(--copper);
        transform: scaleX(0);
        transition: transform 0.25s var(--ease);
    }

    .site-nav__link:hover::after {
        transform: scaleX(1);
    }

    .site-nav__actions,
    .menu-toggle {
        display: none;
    }

    .header-actions .header-login {
        display: inline-flex;
    }

    .header-actions .header-cta {
        min-height: 46px;
        padding-inline: 1.5rem;
    }
}

/* ============================================
   SIGNATURE RIBBON
   ============================================ */
.ribbon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    fill: none;
    stroke: var(--white);
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px rgba(240, 160, 120, 0.85)) drop-shadow(0 0 12px rgba(246, 190, 155, 0.6));
}

@media (max-width: 767.98px) {
    .ribbon__strand--extra {
        display: none;
    }
}

.brand-mark {
    display: block;
    flex-shrink: 0;
}

/* ============================================
   PROFILE CARDS
   ============================================ */
.profile-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 78%);
    gap: 1.25rem;
    margin: 0;
    padding: 0.5rem 0.25rem 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.profile-grid > * {
    scroll-snap-align: center;
}

.profile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.75rem;
    background: var(--ivory-2);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.profile-card__media {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 8 / 9;
    background: var(--peach-soft);
}

.profile-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.profile-card__body {
    padding: 1rem 0.5rem 0.5rem;
}

.profile-card__name {
    margin: 0 0 0.6rem;
    font-size: 1.3125rem;
}

.profile-card__age {
    font-weight: 500;
    color: var(--text-muted);
}

.profile-card__intro {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.chip {
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--peach-soft);
    border: 1px solid #EFCDB6;
    color: var(--plum);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .profile-grid {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.25rem, 2.5vw, 2rem);
        overflow: visible;
        padding: 0.5rem 0 0;
    }
}

/* ============================================
   STEPS
   ============================================ */
.steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: start;
}

.step__badge {
    grid-row: span 3;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ivory-2);
    border: 1.5px solid var(--copper);
    color: var(--copper);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.55), var(--glow-peach);
}

.step__num {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--copper-deep);
}

.step__title {
    margin: 0.15rem 0 0.35rem;
}

.step__text {
    margin: 0;
    color: var(--text-muted);
}

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

    .step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .step__badge {
        grid-row: auto;
        margin-bottom: 1.1rem;
    }
}

/* ============================================
   FEATURES (cardless icon grid)
   ============================================ */
.feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.25rem;
}

.feature {
    text-align: center;
}

.feature__icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin-bottom: 0.75rem;
    color: var(--copper);
    transition: transform 0.3s var(--ease);
}

.feature__icon::before {
    content: "";
    position: absolute;
    inset: -6px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 205, 178, 0.85) 0%, rgba(246, 217, 196, 0.35) 45%, rgba(246, 217, 196, 0) 70%);
}

.feature__icon .icon {
    width: 48px;
    height: 48px;
}

.feature:hover .feature__icon {
    transform: translateY(-4px);
}

.feature__title {
    margin-bottom: 0.4rem;
}

.feature__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3rem 2rem;
    }

    .feature__icon .icon {
        width: 56px;
        height: 56px;
    }
}

/* ============================================
   INFO ROWS (benefits, safety tips)
   ============================================ */
.info-list {
    display: grid;
    gap: 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.info-row__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(181, 104, 77, 0.55);
    background: rgba(255, 250, 245, 0.85);
    color: var(--copper);
}

.info-row--check .info-row__icon {
    border: none;
    background: var(--peach);
    color: var(--copper-deep);
}

.info-row__title {
    margin: 0.35rem 0 0.25rem;
    font-size: 1.125rem;
}

.info-row__text {
    margin: 0;
    color: var(--text-muted);
}

/* ============================================
   STORE BADGES
   ============================================ */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 54px;
    padding: 0.5rem 1.15rem 0.5rem 0.9rem;
    border: 1px solid #3A3A3A;
    border-radius: var(--radius-sm);
    background: #111111;
    color: var(--white);
    font-family: var(--font-sans);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -14px rgba(17, 17, 17, 0.7);
}

.store-badge:focus-visible {
    outline: 3px solid var(--copper-deep);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.store-badge__glyph {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.store-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.store-badge__small {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.store-badge__big {
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 52rem;
    margin-inline: auto;
}

.faq-item {
    border: 1.5px solid var(--sand-strong);
    border-radius: 16px;
    background: rgba(255, 250, 245, 0.82);
    transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item.is-open {
    border-color: var(--copper);
    box-shadow: var(--shadow-soft);
}

.faq-item__heading {
    margin: 0;
    font-size: inherit;
}

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 0.9rem 1.25rem;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--plum);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.faq-item__trigger:hover {
    color: var(--copper-deep);
}

.faq-item__trigger:focus-visible {
    outline: 3px solid var(--copper-deep);
    outline-offset: 2px;
    border-radius: 16px;
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--copper);
    transition: transform 0.25s var(--ease);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__inner {
    padding: 0 1.25rem 1.2rem;
    color: var(--text-muted);
}

.faq-item__inner p:last-child {
    margin-bottom: 0;
}

.js .faq-item:not(.is-open) .faq-item__panel {
    display: none;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 9vw, 6rem);
    background: linear-gradient(160deg, var(--ivory) 0%, var(--peach-soft) 45%, #EFE4F0 80%, var(--lavender) 100%);
    isolation: isolate;
}

.legal-hero::before {
    content: "";
    position: absolute;
    width: min(620px, 90vw);
    aspect-ratio: 1;
    top: -40%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(246, 217, 196, 0.55) 40%, rgba(246, 217, 196, 0) 70%);
    pointer-events: none;
}

.legal-hero--glow-right::before { right: -10%; }
.legal-hero--glow-left::before { left: -10%; }
.legal-hero--glow-center::before { left: 50%; transform: translateX(-50%); }

.legal-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.legal-hero__eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper-deep);
}

.legal-hero__title {
    margin-bottom: 1rem;
}

.legal-hero__intro {
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    color: var(--text-muted);
    max-width: 44rem;
}

.legal-hero__updated {
    display: inline-block;
    margin: 0.5rem 0 0;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 250, 245, 0.9);
    border: 1px solid var(--sand);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--plum);
}

.legal-hero__ribbon {
    top: auto;
    height: 110px;
    bottom: 0;
}

.legal-layout {
    display: grid;
    gap: 2rem;
    padding-block: clamp(2rem, 5vw, 3.5rem) var(--section-y);
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 3.5rem;
        align-items: start;
    }
}

/* Table of contents */
.toc {
    background: var(--ivory-2);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    border-radius: var(--radius);
}

.toc__summary::-webkit-details-marker {
    display: none;
}

.toc__chevron {
    color: var(--copper);
    transition: transform 0.25s var(--ease);
}

.toc[open] .toc__chevron {
    transform: rotate(180deg);
}

.toc__list {
    list-style: none;
    margin: 0;
    padding: 0 0.75rem 1rem;
}

.toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.75rem;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    font-size: 0.9875rem;
    line-height: 1.35;
    text-decoration: none;
}

.toc__link:hover {
    color: var(--plum);
    background: var(--peach-soft);
}

.toc__link.is-active {
    border-left-color: var(--copper);
    color: var(--copper-deep);
    font-weight: 600;
    background: rgba(246, 217, 196, 0.45);
}

@media (min-width: 1024px) {
    .toc {
        position: sticky;
        top: calc(var(--header-bottom) + 24px);
        max-height: calc(100vh - var(--header-bottom) - 48px);
        overflow-y: auto;
    }
}

/* Legal prose */
.legal-content {
    max-width: 48rem;
    min-width: 0;
}

.legal-content h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin-top: 2.5rem;
    padding-top: 0.25rem;
    scroll-margin-top: calc(var(--header-bottom) + 20px);
}

.legal-content > h2:first-child,
.legal-content > section:first-child h2 {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1875rem;
    margin-top: 1.6rem;
    margin-bottom: 0.4rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.3rem;
    margin: 0 0 1.2em;
}

.legal-content li {
    margin-bottom: 0.45em;
}

.legal-content li::marker {
    color: var(--copper);
}

.note {
    margin: 1.5rem 0;
    padding: 1.1rem 1.25rem;
    border-left: 3px solid var(--copper);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(255, 250, 245, 0.9);
    color: var(--plum);
}

.note p:last-child {
    margin-bottom: 0;
}

/* Closing call-out on legal pages */
.legal-cta {
    margin-top: 3rem;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--ivory-2) 0%, var(--peach-soft) 100%);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.legal-cta__text {
    margin: 0 0 1.25rem;
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--plum);
}

@media (max-width: 479.98px) {
    .legal-cta .btn {
        width: 100%;
    }
}

/* Responsive data table (stacks on mobile) */
.data-table {
    width: 100%;
    margin: 1.25rem 0 1.5rem;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--ivory-2);
    border: 1px solid var(--sand);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 1rem;
}

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

.data-table thead th {
    background: var(--peach-soft);
    font-weight: 700;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 639.98px) {
    .data-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table th,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table tr {
        border-bottom: 1px solid var(--sand);
        padding: 0.5rem 0;
    }

    .data-table tbody tr:last-child {
        border-bottom: 0;
    }

    .data-table th,
    .data-table td {
        border-bottom: 0;
        padding: 0.35rem 1rem;
    }

    .data-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.8125rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--copper-deep);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    overflow: clip;
    padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem;
    background: linear-gradient(180deg, rgba(251, 245, 238, 0) 0%, var(--ivory) 30%);
    border-top: 1px solid rgba(217, 185, 166, 0.5);
}

.site-footer__ribbon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 160px;
    pointer-events: none;
    fill: none;
    stroke: var(--white);
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px rgba(240, 160, 120, 0.85)) drop-shadow(0 0 12px rgba(246, 190, 155, 0.6));
}

.site-footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.25rem;
}

.site-brand--footer .site-brand__mark {
    width: 44px;
    height: 29px;
}

.site-brand--footer .site-brand__text {
    font-size: 1.625rem;
}

.site-footer__desc {
    margin: 0.75rem 0 0.5rem;
    max-width: 24rem;
    color: var(--text-muted);
}

.site-footer__age {
    margin: 0;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--plum);
}

.site-footer__title {
    margin: 0 0 0.6rem;
    font-weight: 700;
    color: var(--plum);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer__list a:hover {
    color: var(--copper-deep);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__note {
    color: var(--text-muted);
    font-size: 1rem;
}

.site-footer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sand);
    font-size: var(--fs-small);
    color: var(--text-muted);
}

.site-footer__bottom p {
    margin: 0;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 3rem;
    }
}

/* ============================================
   HOME - SHARED
   ============================================ */
.section-cta {
    position: relative;
    z-index: 1;
    margin-top: clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.section-cta .muted-note {
    margin: 0.85rem 0 0;
}

.sample-label {
    display: inline-block;
    margin: 0.25rem 0 0;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 250, 245, 0.92);
    border: 1px solid var(--sand);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================================
   HOME - HERO
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    padding: 12rem 0 clamp(2.5rem, 6vw, 4.5rem);
    text-align: center;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    z-index: -2;
    background-image: url("/assets/ab30ed21e5e3d996f205ac33a2d66917.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 22% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 240, 230, 0) 45%, rgba(250, 234, 222, 0.6) 75%, rgba(249, 230, 216, 0.9) 100%);
}

.hero .hero__ribbon {
    top: 0;
    left: -18%;
    right: auto;
    width: 120%;
    height: 280px;
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 48rem;
}

.hero__title {
    margin-bottom: 0.45em;
    font-size: clamp(2.1rem, 6.2vw, 4rem);
}

.hero__lead {
    max-width: 38rem;
    margin: 0 auto 1.4rem;
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    line-height: 1.55;
    color: var(--text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero__actions .btn {
    padding-inline: 1.4rem;
}

.hero__reassure {
    margin: 1.1rem 0 0;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--plum);
}

.hero__reassure span {
    margin-inline: 0.35rem;
    color: var(--copper-deep);
}

@media (min-width: 768px) {
    .hero {
        min-height: 640px;
        padding-top: clamp(17rem, 42vh, 27rem);
    }

    .hero__bg {
        bottom: 0;
        height: auto;
        background-position: center 32%;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
    }

    .hero__bg::after {
        background: linear-gradient(180deg, rgba(251, 240, 230, 0) 38%, rgba(250, 234, 222, 0.55) 58%, rgba(249, 230, 216, 0.88) 78%, rgba(249, 230, 216, 0.95) 100%);
    }

    .hero .hero__ribbon {
        top: 4%;
        left: -12%;
        width: 100%;
        height: 60%;
    }

    .hero__actions .btn {
        padding-inline: 2.4rem;
    }
}

/* ============================================
   HOME - VALUE PROPOSITION
   ============================================ */
.value__grid {
    position: relative;
    display: grid;
    gap: 2.5rem;
}

.value .value__ribbon {
    top: auto;
    bottom: auto;
    left: calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
    height: 220px;
    top: 220px;
    z-index: 2;
}

.value__media {
    position: relative;
    z-index: 1;
}

.value__frame {
    max-width: 520px;
    aspect-ratio: 9 / 10;
    margin-inline: auto;
    border-radius: 24px;
    overflow: hidden;
    background: var(--peach-soft);
    box-shadow: var(--shadow-lift);
}

.value__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 45%;
}

.value__copy {
    position: relative;
    z-index: 3;
}

.value__copy .lead {
    margin-bottom: 1.75rem;
}

@media (min-width: 1024px) {
    .value__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 4.5rem;
        align-items: center;
    }

    .value .value__ribbon {
        top: auto;
        bottom: 6%;
        height: 240px;
    }
}

/* ============================================
   HOME - PROFILES
   ============================================ */
.profiles__stage {
    position: relative;
}

.profiles .profiles__ribbon {
    top: 28%;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 45%;
}

/* ============================================
   HOME - HOW IT WORKS
   ============================================ */
.steps-wrap {
    position: relative;
    max-width: 40rem;
    margin-inline: auto;
}

.steps-wrap .steps__ribbon--h {
    display: none;
}

.steps-wrap .steps__ribbon--v {
    top: 36px;
    left: 0;
    width: 72px;
    height: calc(100% - 72px);
}

@media (min-width: 1024px) {
    .steps-wrap {
        max-width: none;
    }

    .steps-wrap .steps__ribbon--v {
        display: none;
    }

    .steps-wrap .steps__ribbon--h {
        display: block;
        top: 0;
        left: -6%;
        width: 112%;
        height: 72px;
    }
}

/* ============================================
   HOME - FEATURES
   ============================================ */
.features__note {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: clamp(2.25rem, 5vw, 3.25rem) auto 0;
    font-size: var(--fs-small);
    text-align: center;
    color: var(--text-muted);
}

/* ============================================
   HOME - SAFETY
   ============================================ */
.safety__grid {
    display: grid;
    gap: 2rem;
}

.safety__visual {
    display: grid;
    place-items: center;
}

.safety__art {
    width: min(100%, 340px);
    height: auto;
}

.safety__copy .lead {
    margin-bottom: 1.75rem;
}

.safety__more {
    margin: 1.75rem 0 0;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .safety__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 4rem;
        align-items: center;
    }

    .safety__art {
        width: min(100%, 440px);
    }
}

/* ============================================
   HOME - EMOTIONAL STORY BAND
   ============================================ */
.story {
    position: relative;
    isolation: isolate;
    padding: clamp(4rem, 10vw, 6rem) 0 17rem;
}

.story__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("/assets/b1065fa37c710fb4ce6f730d38c2f353.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 78% center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.story__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 240, 230, 0.92) 0%, rgba(250, 232, 218, 0.86) 58%, rgba(250, 232, 218, 0) 85%);
}

.story__content {
    max-width: 32rem;
    color: var(--plum);
}

.story__content p {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.story__content .btn {
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .story {
        padding: clamp(6rem, 11vw, 9rem) 0;
    }

    .story__bg {
        background-position: 70% center;
    }

    .story__bg::after {
        background: linear-gradient(90deg, rgba(251, 240, 230, 0.9) 0%, rgba(250, 232, 218, 0.85) 42%, rgba(250, 232, 218, 0) 72%);
    }
}

/* ============================================
   HOME - APP DOWNLOAD
   ============================================ */
.app .app__ribbon {
    top: 22%;
    height: 60%;
}

.app__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.app__platform {
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--plum);
}

.app__stage {
    position: relative;
    display: grid;
    place-items: center;
    padding: 2.5rem 0;
}

.app__stage::before,
.app__stage::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 18px rgba(246, 190, 155, 0.75), inset 0 0 18px rgba(246, 190, 155, 0.5);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.app__stage::before {
    width: min(460px, 92vw);
}

.app__stage::after {
    width: min(370px, 74vw);
    border-width: 1.5px;
}

.phone {
    position: relative;
    z-index: 1;
    width: 270px;
    aspect-ratio: 9 / 19;
    margin: 0;
    padding: 10px;
    border-radius: 44px;
    background: #1E1A1D;
    box-shadow: 0 0 0 2px #3B3438, 0 40px 80px -30px rgba(80, 40, 30, 0.55), var(--shadow-lift);
}

.phone__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: var(--ivory-2);
}

.phone__island {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 3;
    width: 84px;
    height: 24px;
    border-radius: 20px;
    background: #111111;
    transform: translateX(-50%);
}

.phone__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 44px 14px 12px;
    background: linear-gradient(180deg, var(--peach) 0%, var(--lavender) 100%);
}

.phone__wordmark {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--plum);
}

.phone__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

.phone__card {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--peach-soft);
    box-shadow: var(--shadow-soft);
}

.phone__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.phone__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 40px 14px 12px;
    background: linear-gradient(180deg, rgba(30, 20, 25, 0) 0%, rgba(30, 20, 25, 0.82) 100%);
    color: var(--white);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.25;
}

.phone__caption span {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
}

.phone__actions {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.phone__action {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-muted);
    box-shadow: var(--shadow-soft);
}

.phone__action--like {
    background: var(--copper-strong);
    color: var(--white);
}

.phone__tabs {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px 16px;
    border-top: 1px solid var(--sand);
    background: var(--white);
    color: var(--text-muted);
}

.phone__tabs .is-active {
    color: var(--copper);
}

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

    .app__stage {
        grid-column: 1;
        grid-row: 1;
    }

    .app__copy {
        grid-column: 2;
        grid-row: 1;
    }

    .phone {
        width: 290px;
    }
}

/* ============================================
   HOME - FINAL CTA
   ============================================ */
.final-cta {
    position: relative;
    padding-top: clamp(2rem, 5vw, 3rem);
}

.final-cta__band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(5.5rem, 10vw, 8rem);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background:
        radial-gradient(circle at 14% 28%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 16%),
        radial-gradient(circle at 84% 20%, rgba(255, 244, 232, 0.75) 0, rgba(255, 244, 232, 0) 13%),
        radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0) 11%),
        radial-gradient(circle at 30% 85%, rgba(255, 236, 220, 0.55) 0, rgba(255, 236, 220, 0) 9%),
        linear-gradient(160deg, #F8DCC6 0%, #F3C3A0 55%, #EFB48F 100%);
    text-align: center;
}

.final-cta .final-cta__ribbon {
    top: auto;
    bottom: 0;
    height: 55%;
    z-index: -1;
}

.final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin-inline: auto;
}

.final-cta__text {
    margin-bottom: 1.75rem;
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    color: var(--plum);
}

.final-cta__age {
    margin: 1rem 0 0;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--plum);
}

/* ============================================
   RESPONSIVE TYPE
   ============================================ */
@media (min-width: 768px) {
    :root {
        --fs-body: 1.125rem;
        --fs-h3: 1.3125rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .profile-card:hover,
    .btn:hover,
    .store-badge:hover,
    .feature:hover .feature__icon {
        transform: none;
    }
}