/*
 * OnlySingles design system
 * Warm off-white, sky blue, deep navy, single honey-gold accent.
 */

:root {
    --c-bg: #FAF4EA;
    --c-bg-alt: #F3EADB;
    --c-sky: #D9E9F5;
    --c-sky-2: #C4DAEE;
    --c-sky-pale: #ECF4FB;
    --c-denim: #5B83AB;
    --c-denim-deep: #2F5680;
    --c-navy: #1D3A5C;
    --c-navy-deep: #142B46;
    --c-ink: #1D3A5C;
    --c-ink-soft: #3B5571;
    --c-gold: #D9B36C;
    --c-gold-light: #EBD3A0;
    --c-gold-deep: #B8914A;
    --c-line: #C9D9E8;
    --c-white: #FFFFFF;

    --font-head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --lh-body: 1.65;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(20, 43, 70, 0.08);
    --shadow: 0 10px 30px rgba(20, 43, 70, 0.12);
    --shadow-lg: 0 22px 50px rgba(20, 43, 70, 0.18);

    --space-section: clamp(3.5rem, 8vw, 6.5rem);
    --container: 1180px;
    --header-h: 68px;
    --header-bottom: 68px;
    --mobile-bar-h: 0px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============ Overflow 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 {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
    position: relative;
}

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

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    overflow-x: hidden;
    padding-bottom: var(--mobile-bar-h);
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--c-navy);
    line-height: 1.12;
    margin: 0 0 0.6em;
    font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.5rem); font-weight: 600; }

p {
    margin: 0 0 1em;
}

a {
    color: var(--c-denim-deep);
}

a:hover {
    color: var(--c-navy);
}

img {
    display: block;
}

ul, ol {
    padding-left: 1.25rem;
}

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

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    background: var(--c-navy);
    color: var(--c-white);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

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

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

/* ============ Section primitives ============ */
.section {
    padding-block: var(--space-section);
}

.section--sky { background: var(--c-sky); }
.section--cream { background: var(--c-bg); }

.section-head {
    max-width: 760px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.section-intro {
    color: var(--c-ink-soft);
    font-size: 1.125rem;
    margin: 0;
}

.on-dark,
.on-dark h2,
.on-dark h3 {
    color: var(--c-white);
}

.on-dark :focus-visible {
    outline-color: var(--c-white);
}

/* Decorative motif layers */
.ripple,
.waves {
    display: block;
    pointer-events: none;
}

.ripple ellipse,
.ripple circle,
.waves path {
    vector-effect: non-scaling-stroke;
    stroke-width: 1.2;
}

.waves {
    width: 100%;
    height: 100%;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn__glyph {
    width: 22px;
    height: 22px;
    flex: none;
}

.btn--gold {
    background: linear-gradient(180deg, #EACF96 0%, var(--c-gold) 100%);
    color: var(--c-navy-deep);
    border-color: rgba(184, 145, 74, 0.55);
    box-shadow: 0 6px 16px rgba(20, 43, 70, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--gold:hover {
    box-shadow: 0 10px 24px rgba(20, 43, 70, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--blue {
    background: linear-gradient(180deg, #4F7AA6 0%, var(--c-denim-deep) 100%);
    color: var(--c-white);
    box-shadow: 0 6px 16px rgba(20, 43, 70, 0.2);
}

.btn--navy {
    background: var(--c-navy);
    color: var(--c-white);
    box-shadow: var(--shadow-sm);
}

.btn--ghost {
    background: transparent;
    color: var(--c-navy);
    padding-inline: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--c-gold-deep);
}

.btn--ghost:hover {
    transform: none;
    text-decoration-color: var(--c-navy);
}

.btn--sm {
    min-height: 44px;
    padding: 0.5rem 1.05rem;
    font-size: 1.05rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0.85rem 1.9rem;
    font-size: 1.35rem;
}

.btn--block {
    width: 100%;
}

/* Store buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 58px;
    min-width: 210px;
    padding: 0.6rem 1.25rem;
    border-radius: 14px;
    background: var(--c-navy);
    color: var(--c-white);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.store-btn:hover {
    transform: translateY(-2px);
    background: var(--c-navy-deep);
    box-shadow: var(--shadow);
}

.store-btn__icon {
    width: 28px;
    height: 28px;
    flex: none;
}

.store-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.store-btn__small {
    font-size: 0.85rem;
    color: #DCE8F3;
}

.store-btn__big {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-bg);
    border-bottom: 1px solid rgba(29, 58, 92, 0.1);
}

.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;
    text-decoration: none;
    color: var(--c-navy);
    min-height: 44px;
    flex: none;
}

.site-brand__mark {
    width: 36px;
    height: auto;
}

.site-brand__text {
    font-family: var(--font-body);
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: -0.01em;
}

.site-brand__only {
    font-weight: 700;
    color: var(--c-navy);
}

.site-brand__singles {
    font-weight: 300;
    color: var(--c-denim-deep);
}

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

.header-actions .header-cta {
    padding-inline: 1rem;
}

.header-actions .header-cta .btn__glyph,
.header-actions .header-cta .header-cta__full {
    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 rgba(29, 58, 92, 0.18);
    border-radius: 12px;
    background: var(--c-white);
    cursor: pointer;
}

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

.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); }

/* Mobile drawer */
.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 150;
    background: var(--c-bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1rem 2rem;
    border-top: 1px solid var(--c-line);
}

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

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.25rem 0.5rem;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--c-navy);
    text-decoration: none;
    border-bottom: 1px solid rgba(29, 58, 92, 0.1);
}

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

.site-nav__cta {
    margin-top: 1.5rem;
}

.site-nav__note {
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: var(--fs-small);
    color: var(--c-ink-soft);
}

@media (min-width: 380px) {
    .site-brand__mark { width: 40px; }
}

@media (min-width: 768px) {
    .menu-toggle { display: none; }

    .header-inner { min-height: 76px; }

    .site-nav {
        display: block;
        position: static;
        padding: 0;
        background: transparent;
        overflow: visible;
        border: 0;
        margin-left: auto;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 0.1rem;
    }

    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0.25rem 0.6rem;
        font-size: 1.08rem;
        border: 0;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0.6rem;
        right: 0.6rem;
        bottom: 6px;
        height: 2px;
        background: var(--c-gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s var(--ease);
    }

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

    .site-nav__cta { display: none; }

    .header-actions .header-cta .header-cta__full { display: inline; }
    .header-actions .header-cta .header-cta__short { display: none; }
}

@media (min-width: 1024px) {
    .site-nav__list { gap: 0.4rem; }
    .site-nav__link { font-size: 1.15rem; }
    .header-actions .header-cta { padding-inline: 1.25rem; }
    .header-actions .header-cta .btn__glyph { display: block; }
    .site-brand__text { font-size: 1.5rem; }
}

/* ============ Profile cards ============ */
.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 2rem 1.5rem 1.75rem;
    border-radius: 22px;
    background: rgba(236, 244, 251, 0.82);
    border: 1px solid rgba(29, 58, 92, 0.22);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.profile-card__media {
    width: 150px;
    height: 150px;
    margin: 14px auto 1.5rem;
    border-radius: 50%;
    box-shadow:
        0 0 0 9px rgba(255, 255, 255, 0.55),
        0 0 0 10px rgba(91, 131, 171, 0.3),
        0 0 0 19px rgba(255, 255, 255, 0.3),
        0 0 0 20px rgba(91, 131, 171, 0.18),
        0 0 0 29px rgba(255, 255, 255, 0.15),
        0 0 0 30px rgba(91, 131, 171, 0.1);
}

.profile-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--c-gold);
}

.profile-card__name {
    margin: 0.75rem 0 0.5rem;
    font-size: 1.6rem;
}

.profile-card__interests {
    list-style: none;
    padding: 0;
    margin: 0 0 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.profile-card__interests li {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--c-white);
    border: 1px solid var(--c-line);
    color: var(--c-ink-soft);
}

.profile-card__intro {
    color: var(--c-ink-soft);
    margin-bottom: 0.75rem;
}

.profile-card__looking {
    margin: auto 0 0;
    font-weight: 600;
    color: var(--c-navy);
}

.profile-card__looking span {
    color: var(--c-denim-deep);
    font-weight: 700;
}

/* ============ FAQ ============ */
.faq-list {
    display: grid;
    gap: 0.85rem;
    align-items: start;
    max-width: 820px;
    margin-inline: auto;
}

.faq-item {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s var(--ease);
}

.faq-item[open] {
    box-shadow: var(--shadow);
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.9rem 1.4rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-navy);
    border-radius: var(--radius-lg);
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    margin: -1px 0 0 -8px;
    background: var(--c-navy);
    border-radius: 2px;
    transition: transform 0.25s var(--ease);
}

.faq-item__icon::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
    transform: rotate(0deg);
}

.faq-item__answer {
    padding: 0 1.4rem 1.25rem;
    color: var(--c-ink-soft);
}

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

/* ============ Legal pages ============ */
.legal-hero {
    background: linear-gradient(100deg, var(--c-sky) 0%, var(--c-sky) 45%, #A9C6E1 80%, var(--c-denim) 100%);
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
}

.legal-hero__rings {
    position: absolute;
    top: -260px;
    right: -220px;
    width: 640px;
    height: 640px;
    color: var(--c-white);
    opacity: 0.35;
}

.legal-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
}

.legal-hero__title {
    margin-bottom: 0.25em;
}

.legal-hero__subtitle {
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    font-weight: 600;
    color: var(--c-denim-deep);
    margin-bottom: 0.8rem;
}

.legal-hero__intro {
    max-width: 680px;
    font-size: 1.125rem;
    color: var(--c-ink);
}

.legal-hero__updated {
    display: inline-block;
    margin: 0;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    background: var(--c-white);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--c-navy);
}

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

.legal-toc {
    background: var(--c-bg);
    border: 1px solid var(--c-sky-2);
    border-radius: var(--radius);
    align-self: start;
}

.legal-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0.75rem 1.2rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--c-navy);
}

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

.legal-toc__summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--c-navy);
    border-bottom: 2px solid var(--c-navy);
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease);
}

.legal-toc[open] .legal-toc__summary::after {
    transform: rotate(-135deg);
}

.legal-toc__list {
    margin: 0;
    padding: 0 1.2rem 1rem 2.4rem;
}

.legal-toc__list li {
    margin: 0;
    color: var(--c-ink-soft);
}

.legal-toc__list a {
    display: block;
    padding: 0.4rem 0;
    min-height: 40px;
    color: var(--c-navy);
    text-decoration: none;
    font-size: 1rem;
}

.legal-toc__list a:hover {
    color: var(--c-denim-deep);
    text-decoration: underline;
}

.legal-body {
    max-width: 760px;
}

.legal-body h2 {
    font-size: clamp(1.6rem, 3.2vw, 2rem);
    margin-top: 2.25rem;
    padding-top: 0.25rem;
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 0.5rem;
    background: var(--c-gold);
    border-radius: 2px;
}

.legal-body h3 {
    margin-top: 1.5rem;
    font-size: 1.3rem;
}

.legal-body p,
.legal-body li {
    color: var(--c-ink);
}

.legal-body ul,
.legal-body ol {
    margin: 0 0 1.1rem;
}

.legal-body li {
    margin-bottom: 0.4rem;
}

.legal-callout {
    margin: 1.5rem 0;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius);
    background: var(--c-sky-pale);
    border-left: 4px solid var(--c-gold);
}

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

.legal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.25rem 0 1.5rem;
    border: 1px solid var(--c-sky-2);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-white);
}

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

.legal-table thead th {
    background: var(--c-sky);
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--c-navy);
}

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

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

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

    .legal-table tr {
        border-bottom: 1px solid var(--c-sky-2);
        padding: 0.5rem 0;
    }

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

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

    .legal-table [data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--c-denim-deep);
    }
}

.legal-back {
    margin-top: 2.5rem;
}

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

    .legal-toc {
        position: sticky;
        top: calc(var(--header-h) + 24px);
        max-height: calc(100vh - var(--header-h) - 48px);
        overflow-y: auto;
    }

}

/* ============ Footer ============ */
.site-footer {
    background: var(--c-bg);
    border-top: 1px solid rgba(29, 58, 92, 0.12);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
    display: grid;
    gap: 2.25rem;
}

.footer-brand__text {
    margin: 1rem 0 0;
    max-width: 380px;
    color: var(--c-ink-soft);
}

.footer-emblem {
    display: none;
}

.footer-emblem__rings {
    width: 200px;
    height: 200px;
    color: #9EBBD8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.footer-col__title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--c-ink-soft);
    text-decoration: none;
}

.footer-col li a:hover {
    color: var(--c-navy);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-col:last-child {
    grid-column: 1 / -1;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    color: var(--c-ink-soft);
}

.footer-badge__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--c-gold);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-navy);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-block: 1.25rem 1.5rem;
    border-top: 1px solid var(--c-navy);
}

.footer-bottom p {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--c-ink-soft);
}

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

    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-badge {
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.1fr) 220px minmax(0, 1.9fr);
        align-items: center;
        gap: 3rem;
    }

    .footer-emblem {
        display: flex;
        justify-content: center;
    }
}

/* ============ Mobile action bar ============ */
.mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--c-white);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -6px 20px rgba(20, 43, 70, 0.1);
}

.mobile-bar__text {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--c-navy);
    line-height: 1.2;
}

@media (max-width: 767px) {
    :root {
        --mobile-bar-h: calc(64px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 359px) {
    .mobile-bar__text { font-size: 1rem; }
}

@media (min-width: 768px) {
    .mobile-bar { display: none; }
}

/* ============ Home: Hero ============ */
.hero {
    background: linear-gradient(135deg, #E3EEF8 0%, #CADDEF 38%, #94B4D4 72%, #6A8FB7 100%);
    padding-block: 1.75rem 3rem;
}

.hero__grid {
    position: relative;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero__copy {
    position: relative;
    z-index: 2;
}

.hero__title {
    margin-bottom: 0.75rem;
}

.hero__brand {
    display: block;
    font-size: clamp(2.8rem, 10vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.01em;
}

.hero__tag {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--c-ink);
    max-width: 30rem;
}

.hero__subtitle {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--c-denim-deep);
    margin-bottom: 0.75rem;
}

.hero__text {
    max-width: 34rem;
    color: var(--c-ink);
    font-size: 1.0625rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1.25rem;
}

.hero__note {
    margin: 0.9rem 0 0;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--c-ink-soft);
}

.hero__media {
    position: relative;
    order: -1;
    width: min(56vw, 210px);
    aspect-ratio: 1;
    margin-inline: auto;
}

.hero__field {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420%;
    height: 420%;
    max-width: none;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    opacity: 0.4;
    z-index: 0;
    -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 68%);
    mask-image: radial-gradient(circle, #000 30%, transparent 68%);
}

.hero__img {
    position: absolute;
    inset: 7%;
    width: 86%;
    height: 86%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.hero__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--c-gold);
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero { padding-block: 3.5rem 4rem; }
    .hero__media { width: min(60vw, 340px); }
}

@media (min-width: 1024px) {
    .hero { padding-block: 4.5rem 5rem; }
    .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; }
    .hero__media { order: 0; width: min(100%, 480px); }
    .hero__field {
        -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 62%);
        mask-image: radial-gradient(circle, #000 25%, transparent 62%);
    }
}

/* ============ Home: Values ============ */
.values__deco {
    position: absolute;
    width: 560px;
    height: 560px;
    color: #CDBB9C;
    opacity: 0.45;
    pointer-events: none;
}

.values__deco .ripple { width: 100%; height: 100%; }
.values__deco--tr { top: -260px; right: -260px; }
.values__deco--bl { bottom: -280px; left: -280px; }

.values__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem 2.5rem;
}

.value {
    text-align: center;
    max-width: 380px;
    margin-inline: auto;
}

.value__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.6rem;
}

.value__title {
    margin-bottom: 0.4rem;
}

.value__text {
    color: var(--c-ink-soft);
    margin: 0;
}

.values__closing {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 3rem auto 0;
    padding: 1.1rem 1.4rem;
    text-align: center;
    background: var(--c-white);
    border-radius: var(--radius);
    border-top: 3px solid var(--c-gold);
    box-shadow: var(--shadow-sm);
}

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

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

/* ============ Home: People ============ */
.people__waves {
    position: absolute;
    inset: 0;
    color: #FFFFFF;
    opacity: 0.55;
    pointer-events: none;
}

.people__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.75rem;
    max-width: 420px;
    margin-inline: auto;
}

.people__cta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 2.75rem;
    text-align: center;
}

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

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

/* ============ Home: How it works ============ */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3.5rem;
    max-width: 420px;
    margin-inline: auto;
}

.step {
    position: relative;
    text-align: center;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2.6rem;
    width: 2px;
    height: 1.8rem;
    background: #8EADCB;
    border-radius: 2px;
}

.step__medallion {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin: 30px auto 1.25rem;
    border-radius: 50%;
    background: var(--c-bg);
    border: 1px solid rgba(29, 58, 92, 0.35);
    box-shadow:
        0 0 0 8px rgba(196, 218, 238, 0.7),
        0 0 0 9px rgba(29, 58, 92, 0.22),
        0 0 0 17px rgba(217, 233, 245, 0.55),
        0 0 0 18px rgba(91, 131, 171, 0.18),
        0 0 0 26px rgba(236, 244, 251, 0.5),
        0 0 0 27px rgba(91, 131, 171, 0.1);
}

.step__icon {
    width: 48px;
    height: 48px;
}

.step__title {
    margin-bottom: 0.9rem;
}

.step__title::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin: 0.55rem auto 0;
    background: var(--c-navy);
    border-radius: 2px;
}

.step__text {
    color: var(--c-ink-soft);
    margin: 0;
}

.step__arrow {
    display: none;
}

.convo-tip {
    max-width: 820px;
    margin: 3.5rem auto 0;
    padding: 1.4rem 1.6rem;
    background: var(--c-sky-pale);
    border-left: 4px solid var(--c-gold);
    border-radius: var(--radius);
}

.convo-tip__title {
    margin-bottom: 0.5rem;
}

.convo-tip p {
    margin: 0;
    color: var(--c-ink);
}

@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 3rem 2.5rem; }
    .step:not(:last-child)::after { display: none; }
}

@media (min-width: 1024px) {
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
    .step__arrow {
        display: block;
        position: absolute;
        top: 80px;
        right: -2.6rem;
        width: 40px;
        height: 12px;
    }
}

/* ============ Home: Features ============ */
.features {
    background: var(--c-bg);
}

.features__grid {
    display: grid;
}

.features__panel {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #5B83AB 0%, #7FA8C6 50%, #9CCBD2 100%);
}

.features__ripples {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220%;
    height: 220%;
    max-width: none;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    opacity: 0.45;
}

.features__photo {
    position: relative;
    z-index: 1;
    width: min(78%, 340px);
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--c-gold);
    box-shadow: var(--shadow-lg);
    margin-block: 2rem;
}

.features__content {
    padding: var(--space-section) 1rem;
    width: min(100%, 640px);
    margin-inline: auto;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: grid;
    gap: 1.4rem;
}

.feature__title {
    position: relative;
    padding-left: 1.3rem;
    padding-bottom: 0.45rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--c-gold);
}

.feature__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--c-navy);
}

.feature p {
    margin: 0;
    color: var(--c-ink-soft);
}

@media (min-width: 1024px) {
    .features__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .features__panel { min-height: 100%; }
    .features__photo { width: min(86%, 520px); margin-block: 0; }
    .features__content { padding-inline: 3.5rem 2rem; margin-inline: 0; }
}

/* ============ Home: Safety ============ */
.safety {
    background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-denim-deep) 100%);
    padding-bottom: calc(var(--space-section) + 1rem);
}

.safety__waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    color: #FFFFFF;
    opacity: 0.12;
    pointer-events: none;
}

.safety__intro {
    color: #E3ECF5;
    font-size: 1.125rem;
    margin: 0;
}

.safety__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.75rem 3rem;
}

.safety-tip h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.safety-tip p {
    margin: 0;
    color: #E3ECF5;
}

.safety__link {
    position: relative;
    z-index: 1;
    margin: 2.5rem 0 0;
    color: #E3ECF5;
}

.safety__link a {
    color: var(--c-gold-light);
    font-weight: 600;
}

.safety__link a:hover {
    color: var(--c-white);
}

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

/* Wave divider overlapping the emotional photo */
.wave-divider {
    position: relative;
    z-index: 3;
    height: 90px;
    margin-top: -1px;
    margin-bottom: -90px;
    pointer-events: none;
}

.wave-divider__svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wave-divider__medallion {
    position: absolute;
    left: 50%;
    top: 56%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--c-navy);
    box-shadow:
        0 0 0 6px rgba(196, 218, 238, 0.55),
        0 0 0 7px rgba(255, 255, 255, 0.5),
        0 0 0 13px rgba(196, 218, 238, 0.3),
        0 0 0 14px rgba(255, 255, 255, 0.3),
        0 0 0 20px rgba(196, 218, 238, 0.15);
}

/* ============ Home: Emotional ============ */
.emotional {
    display: flex;
    align-items: center;
    min-height: 560px;
    padding-block: 7.5rem 4.5rem;
    background-color: #6B4A2F;
    isolation: isolate;
}

.emotional::before,
.emotional::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.emotional::before {
    background-image: url("./assets/653bddac6b9a41524265482986c63393.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 70% center;
}

.emotional::after {
    z-index: -1;
    background: linear-gradient(180deg, rgba(62, 38, 20, 0.78) 0%, rgba(62, 38, 20, 0.62) 100%);
}

.emotional__rings {
    position: absolute;
    right: 8%;
    top: 58%;
    width: 420px;
    height: 420px;
    transform: translateY(-50%);
    color: var(--c-gold);
    opacity: 0.18;
    filter: blur(1px);
    z-index: -1;
    pointer-events: none;
}

.emotional .container {
    width: min(100% - 2rem, var(--container));
}

.emotional__content {
    max-width: 560px;
}

.emotional__content p {
    color: #FFF3E4;
}

.emotional__aside {
    margin-top: 1.75rem;
    padding: 1.1rem 1.3rem;
    border-left: 3px solid var(--c-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(40, 24, 12, 0.45);
}

.emotional__aside h3 {
    margin-bottom: 0.4rem;
}

.emotional__aside p {
    margin: 0;
}

@media (min-width: 1024px) {
    .emotional { min-height: 640px; }
    .emotional::after {
        background: linear-gradient(90deg, rgba(62, 38, 20, 0.72) 0%, rgba(62, 38, 20, 0.55) 38%, rgba(62, 38, 20, 0) 65%);
    }
    .emotional__rings { right: 18%; width: 460px; height: 460px; }
}

/* ============ Home: App ============ */
.app__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.app__visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding-block: 2rem;
}

.app__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 440px;
    height: 440px;
    max-width: none;
    transform: translate(-50%, -50%);
    color: #A9BDD0;
    opacity: 0.8;
}

.phone {
    position: relative;
    z-index: 1;
    width: 250px;
    aspect-ratio: 9 / 18.5;
    padding: 10px;
    border-radius: 42px;
    background: var(--c-navy-deep);
    box-shadow: 0 30px 50px rgba(20, 43, 70, 0.28), 0 8px 16px rgba(20, 43, 70, 0.15);
}

.phone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 92px;
    height: 22px;
    transform: translateX(-50%);
    background: var(--c-navy-deep);
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone__screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: var(--c-white);
}

.phone__top {
    display: flex;
    justify-content: center;
    padding: 52px 0 26px;
    background: linear-gradient(180deg, #8FB4D8 0%, #D9E9F5 100%);
}

.phone__portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--c-gold);
    overflow: hidden;
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.45),
        0 0 0 9px rgba(91, 131, 171, 0.3),
        0 0 0 17px rgba(255, 255, 255, 0.25),
        0 0 0 18px rgba(91, 131, 171, 0.15);
}

.phone__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.phone__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.9rem;
    text-align: center;
}

.phone__name {
    margin: 0 0 0.5rem;
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-navy);
    line-height: 1.1;
}

.phone__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 0 0.6rem;
}

.phone__chips span {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-pill);
    background: var(--c-sky);
    color: var(--c-navy);
}

.phone__looking {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-ink-soft);
}

.phone__dots {
    display: flex;
    gap: 6px;
    margin: auto 0 0.4rem;
}

.phone__dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-sky-2);
}

.phone__dots span:nth-child(2) {
    background: var(--c-gold);
}

.app__label {
    margin: 1.5rem 0 0.75rem;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-navy);
}

.app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.app__join {
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .app__rings { width: 560px; height: 560px; }
    .phone { width: 270px; }
}

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

/* ============ Home: FAQ ============ */
.faq__rings {
    position: absolute;
    width: 520px;
    height: 520px;
    color: #FFFFFF;
    opacity: 0.7;
    pointer-events: none;
}

.faq__rings--left { left: -300px; top: 8%; }
.faq__rings--right { right: -300px; bottom: 4%; }

.faq .container,
.faq .faq-list {
    position: relative;
    z-index: 1;
}

.faq-item__answer a {
    font-weight: 600;
}

.faq__legal {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 0.6rem;
    margin: 2rem 0 0;
    font-size: var(--fs-small);
    color: var(--c-ink-soft);
    text-align: center;
}

.faq__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--c-navy);
}

.faq__legal strong {
    color: var(--c-navy);
}

/* ============ Home: Final CTA ============ */
.final-cta {
    display: flex;
    align-items: center;
    min-height: 460px;
    padding-block: 4.5rem;
    background-color: var(--c-navy);
    isolation: isolate;
}

.final-cta::before,
.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
}

.final-cta::before {
    z-index: -2;
    background-image: url("./assets/02c1c42bd33e6201884bc2dfd66aa0d4.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 78% center;
}

.final-cta::after {
    z-index: -1;
    background: linear-gradient(180deg, rgba(20, 43, 70, 0.85) 0%, rgba(29, 58, 92, 0.7) 100%);
}

.final-cta .container {
    width: min(100% - 2rem, var(--container));
}

.final-cta__content {
    max-width: 540px;
}

.final-cta__content p {
    color: #E3ECF5;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .final-cta { min-height: 520px; }
    .final-cta::after {
        background: linear-gradient(90deg, rgba(20, 43, 70, 0.95) 0%, rgba(29, 58, 92, 0.85) 35%, rgba(29, 58, 92, 0) 62%);
    }
}

/* ============ Reveal (progressive enhancement) ============ */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    }

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

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