/*
 * Mdates - Neumorphic design system
 * Warm off-white surfaces, champagne/peach accents, electric-blue highlights.
 */

:root {
    /* Surfaces */
    --bg: #EEECEF;
    --bg-soft: #F4F2F4;
    --surface-hi: #F8F6F8;
    --surface-sunk: #E7E4E8;

    /* Text */
    --text: #2B2630;
    --text-muted: #4F4853;
    --text-soft: #635B66;

    /* Champagne / peach */
    --gold-1: #F6DDBC;
    --gold-2: #E3AF79;
    --gold-3: #AE7641;
    --gold-4: #8A5224;
    --gold-text: #7E4B1F;
    --peach: #F2C29B;
    --peach-soft: #F8DCC2;
    --cream: #FBF1E4;
    --coral: #F28B7B;
    --decline: #8F512D;

    /* Electric blue */
    --blue: #4A68F0;
    --blue-deep: #2F4BD0;
    --lavender: #B9C2F3;
    --green: #22B861;

    /* Neumorphic shadows */
    --shadow-dark: rgba(160, 145, 153, 0.42);
    --shadow-light: rgba(255, 255, 255, 0.96);
    --raised: 9px 9px 22px var(--shadow-dark), -9px -9px 22px var(--shadow-light);
    --raised-sm: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
    --inset: inset 5px 5px 11px var(--shadow-dark), inset -5px -5px 11px var(--shadow-light);
    --inset-sm: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--shadow-light);
    --glow-coral: 0 16px 30px -10px rgba(242, 139, 123, 0.7);
    --glow-blue: 0 12px 28px -8px rgba(74, 104, 240, 0.5);

    /* Gradients */
    --grad-cta: linear-gradient(180deg, #F9E5CA 0%, #EFC898 48%, #E3AF79 100%);
    --grad-gold-text: linear-gradient(180deg, #B07843 0%, #9C6532 55%, #8A5224 100%);

    /* Shape & layout */
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;
    --container: 1200px;
    --gutter: clamp(16px, 4.5vw, 40px);
    --header-bottom: 64px;

    /* Type */
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Motion */
    --ease: cubic-bezier(0.22, 0.8, 0.24, 1);

    interpolate-size: allow-keywords;
}

/* ============================================
   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%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(248, 220, 194, 0.45), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(185, 194, 243, 0.18), transparent 60%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
    outline: none;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text);
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.75rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 4.2vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2.4vw, 1.3125rem); }

p {
    margin: 0 0 1em;
}

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

ul, ol {
    margin: 0;
    padding: 0;
}

img {
    display: block;
}

::selection {
    background: var(--peach-soft);
    color: var(--text);
}

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

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

.section {
    position: relative;
    padding-block: clamp(56px, 8vw, 104px);
}

.section-title {
    margin-bottom: 0.5em;
}

.section-intro {
    max-width: 640px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.6vw, 1.0625rem);
}

.section-head--center {
    text-align: center;
}

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

.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: 12px;
    top: -60px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    background: var(--text);
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* Embossed champagne text (wordmark, H1) */
.text-gold {
    color: var(--gold-3);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .text-gold {
        background: var(--grad-gold-text);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 1.5px 0 rgba(255, 255, 255, 0.95)) drop-shadow(2px 4px 5px rgba(150, 96, 46, 0.22));
    }
}

/* ============================================
   NEUMORPHIC PRIMITIVES
   ============================================ */

.neu-panel {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--raised), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: clamp(22px, 4vw, 40px);
}

.neu-panel--inset {
    background: var(--surface-sunk);
    box-shadow: var(--inset);
}

.neu-panel--accent {
    padding-left: clamp(30px, 5vw, 52px);
}

.neu-panel--accent::before {
    content: "";
    position: absolute;
    left: clamp(12px, 2vw, 20px);
    top: 24px;
    bottom: 24px;
    width: 5px;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
    box-shadow: 0 0 12px rgba(227, 175, 121, 0.6);
}

.icon {
    flex-shrink: 0;
}

.icon-well {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--inset);
    color: var(--gold-3);
}

.icon-well--raised {
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: #F3E8DC;
    box-shadow: inset 2px 2px 4px rgba(196, 160, 125, 0.4), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
    color: var(--gold-text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.example-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-soft);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.btn--primary {
    color: #4A2C12;
    background: var(--grad-cta);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.85),
        inset 0 -3px 6px rgba(196, 130, 70, 0.25),
        6px 6px 14px var(--shadow-dark),
        -6px -6px 14px var(--shadow-light),
        var(--glow-coral);
}

.btn--primary::after {
    content: "";
    position: absolute;
    inset: 6px 12% -10px;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(ellipse at center, rgba(242, 139, 123, 0.55), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -3px 6px rgba(196, 130, 70, 0.22),
        8px 10px 18px var(--shadow-dark),
        -6px -6px 14px var(--shadow-light),
        0 20px 36px -10px rgba(242, 139, 123, 0.85);
}

.btn--primary:active {
    transform: translateY(1px);
    box-shadow:
        inset 4px 4px 10px rgba(178, 120, 66, 0.35),
        inset -3px -3px 8px rgba(255, 244, 228, 0.9),
        0 6px 14px -8px rgba(242, 139, 123, 0.6);
}

.btn__icon {
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn__icon {
    transform: translateX(3px);
}

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

.btn--sm .btn__icon {
    display: none;
}

.btn--lg {
    min-height: 62px;
    padding: 0 44px;
    font-size: 1.125rem;
}

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

.btn--pulse::after {
    animation: cta-glow 3.2s ease-in-out infinite;
}

@keyframes cta-glow {
    0%, 100% { transform: scale(1); filter: blur(10px) brightness(1); }
    50% { transform: scale(1.06, 1.25); filter: blur(14px) brightness(1.15); }
}

.cta-microcopy {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: var(--text-soft);
}

.cta-decline {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--decline);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.cta-decline:hover {
    color: var(--gold-text);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(238, 236, 239, 0.86);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled::before {
    box-shadow: 0 8px 24px -14px rgba(120, 104, 112, 0.55), 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

.site-brand__text {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .header-cta {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    cursor: pointer;
    color: var(--text);
}

.menu-toggle:active {
    box-shadow: var(--inset-sm);
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s 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) { transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer (base) */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateY(-12px);
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.site-nav.is-open {
    visibility: visible;
    transform: none;
    transition: transform 0.3s var(--ease), visibility 0s;
}

.site-nav__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 18px;
    background: var(--bg);
    box-shadow: var(--raised-sm);
    color: var(--text);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, box-shadow 0.2s;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--gold-text);
}

.site-nav__link:active {
    box-shadow: var(--inset-sm);
}

.site-nav__cta {
    width: 100%;
    margin-top: 8px;
}

.site-nav__note {
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-soft);
}

@media (min-width: 768px) {
    .site-header__inner {
        min-height: 76px;
    }

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

    .menu-toggle {
        display: none;
    }

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

    .site-nav {
        position: static;
        visibility: visible;
        transform: none;
        transition: none;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
        background: none;
        overflow: visible;
        margin-left: auto;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 4px;
    }

    .site-nav__extra,
    .site-nav__cta,
    .site-nav__note {
        display: none;
    }

    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0 16px;
        background: none;
        box-shadow: none;
        font-size: 0.9375rem;
        color: var(--text-muted);
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 6px;
        height: 4px;
        border-radius: var(--radius-pill);
        background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s var(--ease);
    }

    .site-nav__link:hover::after,
    .site-nav__link[aria-current="page"]::after {
        transform: scaleX(1);
    }

    .site-nav__link:active {
        box-shadow: none;
    }
}

@media (min-width: 1024px) {
    .site-nav__list {
        gap: 12px;
    }

    .header-actions {
        margin-left: 24px;
    }
}

/* ============================================
   SIGNATURE RIBBON
   ============================================ */

.ribbon {
    position: absolute;
    left: 0;
    width: 100%;
    height: 320px;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.ribbon path {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.ribbon__glow  { stroke: rgba(242, 194, 155, 0.22); stroke-width: 56; }
.ribbon__halo  { stroke: rgba(255, 244, 232, 0.75); stroke-width: 26; }
.ribbon__blue  { stroke: var(--blue); stroke-width: 5; opacity: 0.85; }
.ribbon__band  { stroke: var(--peach); stroke-width: 11; }
.ribbon__shine { stroke: #FFF7EE; stroke-width: 3; }

.ribbon--soft .ribbon__blue {
    display: none;
}

@media (min-width: 768px) {
    .ribbon { height: 420px; }
    .ribbon__band { stroke-width: 14; }
    .ribbon__halo { stroke-width: 32; }
    .ribbon__glow { stroke-width: 72; }
}

/* ============================================
   WAVE LIST
   ============================================ */

.wave-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.wave-list__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--bg);
    box-shadow: var(--inset-sm);
}

.wave-icon {
    flex-shrink: 0;
    width: 30px;
    margin-top: 2px;
}

.wave-list__text {
    flex: 1;
    min-width: 0;
    color: var(--text);
}

@media (min-width: 768px) {
    .wave-list--2col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 20px;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
    display: grid;
    gap: 14px;
    align-items: start;
}

.faq-item {
    align-self: start;
    border-radius: 28px;
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 12px 18px 12px 22px;
    border-radius: 28px;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__summary::marker {
    content: "";
}

.faq-item__q {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}

.faq-item__chevron {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: var(--inset-sm);
    color: var(--text-soft);
    transition: transform 0.3s var(--ease);
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(90deg);
    color: var(--gold-3);
}

.faq-item__summary:hover .faq-item__q {
    color: var(--gold-text);
}

.faq-item__answer {
    margin: 0 12px 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: var(--bg);
    box-shadow: var(--inset-sm);
}

.faq-item__answer p {
    margin: 0;
    color: var(--text-muted);
}

@supports selector(::details-content) {
    .faq-item::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
    }

    .faq-item[open]::details-content {
        block-size: auto;
    }
}

/* ============================================
   TABLES
   ============================================ */

.neu-table-wrap {
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--raised), inset 0 1px 0 #FFFFFF;
    padding: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.neu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    font-size: 0.9375rem;
}

.neu-table caption {
    text-align: left;
    padding: 4px 12px 8px;
    font-size: 0.875rem;
    color: var(--text-soft);
}

.neu-table th {
    padding: 10px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    vertical-align: bottom;
}

.neu-table thead th {
    border-bottom: 2px solid rgba(227, 175, 121, 0.55);
}

.neu-table tbody th,
.neu-table tbody td {
    padding: 14px 16px;
    background: var(--surface-sunk);
    vertical-align: top;
}

.neu-table tbody th {
    color: var(--gold-text);
}

.neu-table tbody tr > :first-child {
    border-radius: 16px 0 0 16px;
}

.neu-table tbody tr > :last-child {
    border-radius: 0 16px 16px 0;
}

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

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

    .neu-table--stack tr {
        margin-bottom: 12px;
        padding: 6px;
        border-radius: 20px;
        background: var(--surface-sunk);
        box-shadow: var(--inset-sm);
    }

    .neu-table--stack tbody th,
    .neu-table--stack tbody td {
        background: none;
        padding: 8px 12px;
    }

    .neu-table--stack tbody tr > :first-child,
    .neu-table--stack tbody tr > :last-child {
        border-radius: 0;
    }

    .neu-table--stack td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--text-soft);
    }
}

/* ============================================
   PROFILE CARDS
   ============================================ */

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(244, 241, 244, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 10px 12px 26px rgba(150, 134, 142, 0.32), -8px -8px 20px rgba(255, 255, 255, 0.9);
}

.profile-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    background: #E2DEE3;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 26%;
}

.profile-card__verified {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue);
    color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92), 0 4px 10px rgba(74, 104, 240, 0.45);
}

.profile-card__verified .icon {
    stroke-width: 3;
}

.profile-card__online {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: var(--radius-pill);
    background: rgba(26, 22, 28, 0.78);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(34, 184, 97, 0.6);
    animation: breathe 2.4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 184, 97, 0.55); }
    50% { box-shadow: 0 0 0 5px rgba(34, 184, 97, 0); }
}

.profile-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 2px 4px 4px;
}

.profile-card__pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 14px;
    border-radius: var(--radius-pill);
    background: var(--cream);
    box-shadow: var(--raised-sm);
    color: var(--gold-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.profile-card__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ============================================
   SHIELD EMBLEM
   ============================================ */

.shield-emblem {
    display: block;
    width: min(320px, 80vw);
    filter: drop-shadow(10px 14px 18px rgba(160, 140, 150, 0.35)) drop-shadow(-8px -8px 14px rgba(255, 255, 255, 0.9));
}

.shield-emblem--sm {
    width: 112px;
}

.shield-emblem__halo {
    fill: rgba(242, 194, 155, 0.24);
    stroke: rgba(242, 194, 155, 0.6);
    stroke-width: 2;
}

.shield-emblem__outer {
    fill: #F4F2F5;
    stroke: #FFFFFF;
    stroke-width: 3;
}

.shield-emblem__mid {
    fill: #EEEBEF;
    stroke: #E8D0B5;
    stroke-width: 2.5;
}

.shield-emblem__inner {
    fill: #F7F5F7;
    stroke: var(--blue);
    stroke-width: 2.5;
}

.shield-emblem__shackle {
    fill: none;
    stroke: #DDA272;
    stroke-width: 7;
    stroke-linecap: round;
}

.shield-emblem__lock {
    fill: #EBB283;
}

/* ============================================
   SUBPAGE HERO & PROSE
   ============================================ */

.page-hero {
    position: relative;
    padding: clamp(40px, 8vw, 96px) 0 clamp(28px, 5vw, 56px);
}

.page-hero__ribbon {
    top: -40px;
    height: 240px;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    max-width: 920px;
}

.page-hero__title {
    font-size: clamp(2.25rem, 7vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.page-hero__updated {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg);
    box-shadow: var(--inset-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.page-hero__intro {
    max-width: 680px;
    font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
    color: var(--text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .page-hero__ribbon {
        height: 320px;
    }

    .page-hero__inner {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 36px;
    }

    .page-hero__inner > :only-child {
        grid-column: 1 / -1;
    }

    .shield-emblem--sm {
        width: 140px;
    }
}

.prose {
    max-width: 720px;
    margin-inline: auto;
}

.prose h2 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    margin: 0 0 14px;
}

.prose h3 {
    font-size: 1.125rem;
    margin: 22px 0 8px;
}

.prose p,
.prose ul,
.prose ol {
    margin: 0 0 16px;
}

.prose ul:not([class]),
.prose ol:not([class]) {
    padding-left: 1.3em;
}

.prose li + li {
    margin-top: 6px;
}

.prose > :last-child,
.neu-panel > :last-child {
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    padding: clamp(32px, 6vw, 64px) 0 calc(28px + env(safe-area-inset-bottom));
}

.footer-pill {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    gap: 28px;
    padding: 72px 24px 32px;
    border-radius: 40px;
    background: var(--bg);
    box-shadow: var(--raised), inset 0 1px 0 #FFFFFF, 0 24px 48px -26px rgba(242, 139, 123, 0.45);
}

.footer-pill__ribbon {
    top: 0;
    height: 80px;
    z-index: -1;
}

.footer-pill__ribbon .ribbon__glow { stroke-width: 36; }
.footer-pill__ribbon .ribbon__halo { stroke-width: 16; }
.footer-pill__ribbon .ribbon__band { stroke-width: 7; }
.footer-pill__ribbon .ribbon__shine { stroke-width: 2; }

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

.footer-pill__tagline {
    margin: 8px 0 4px;
    max-width: 320px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.footer-pill__age {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-soft);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    background: var(--bg);
    box-shadow: var(--inset-sm);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, box-shadow 0.2s;
}

.footer-links__link:hover,
.footer-links__link[aria-current="page"] {
    color: var(--gold-text);
    box-shadow: var(--raised-sm);
}

.footer-pill__legal {
    margin: 14px 0 0;
    font-size: 0.875rem;
    color: var(--text-soft);
}

.footer-pill__actions {
    display: flex;
    gap: 14px;
}

.footer-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--inset);
    color: var(--gold-3);
    transition: box-shadow 0.25s var(--ease), color 0.2s;
}

.footer-icon:hover {
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    color: var(--gold-text);
}

@media (min-width: 768px) {
    .footer-pill {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 80px 48px 40px;
        border-radius: 56px;
    }

    .footer-pill__nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .footer-pill__actions {
        align-self: start;
    }
}

@media (min-width: 1024px) {
    .footer-pill {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
        align-items: center;
        gap: 40px;
        padding: 48px 72px;
        border-radius: var(--radius-pill);
    }

    .footer-pill__nav {
        grid-column: auto;
        grid-row: auto;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-pill__actions {
        align-self: center;
    }

    .footer-pill__ribbon {
        inset: 0;
        height: 100%;
    }
}

/* ============================================
   SCROLL REVEAL (content visible without JS)
   ============================================ */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal="scale"] {
    transform: scale(0.92);
}

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

/* Pause continuous animation when the tab is hidden */
.is-doc-hidden *,
.is-doc-hidden *::before,
.is-doc-hidden *::after {
    animation-play-state: paused !important;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0s !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .btn--primary:hover {
        transform: none;
    }

    .faq-item::details-content {
        transition: none;
    }
}

/* ============================================
   HOME - shared
   ============================================ */

.home-section {
    position: relative;
    padding-block: clamp(56px, 8vw, 96px);
}

.section-head {
    margin-bottom: clamp(24px, 4vw, 36px);
}

.section-head .section-intro {
    margin-bottom: 0;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    margin: 0 0 16px;
    padding: 4px 16px 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.text-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--gold-text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.text-cta:hover {
    color: var(--gold-4);
}

/* ============================================
   PRIVACY POLICY
   ============================================ */

.policy {
    display: grid;
    gap: 24px;
    align-items: start;
    padding-bottom: clamp(48px, 8vw, 96px);
}

.policy__content {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 720px;
    min-width: 0;
    margin-inline: auto;
}

.policy-toc {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    border-radius: 28px;
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
}

.policy-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 18px 0 22px;
    border-radius: 28px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.policy-toc__summary::marker {
    content: "";
}

.policy-toc__chev {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: var(--inset-sm);
    color: var(--gold-3);
    transition: transform 0.3s var(--ease);
}

.policy-toc[open] .policy-toc__chev {
    transform: rotate(90deg);
}

.policy-toc__list {
    list-style: none;
    display: grid;
    gap: 2px;
    padding: 4px 12px 14px;
}

.policy-toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.policy-toc__link:hover {
    color: var(--gold-text);
    box-shadow: var(--inset-sm);
}

.policy-section.neu-panel {
    overflow: visible;
    scroll-margin-top: calc(var(--header-bottom) + 16px);
}

.policy-section h2 {
    margin-bottom: 14px;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
}

.policy-section h3 {
    margin: 22px 0 8px;
    font-size: 1.125rem;
}

.policy-section p,
.policy-section ul:not([class]) {
    margin: 0 0 16px;
    color: var(--text-muted);
}

.policy-section ul:not([class]) {
    padding-left: 1.3em;
}

.policy-section li + li {
    margin-top: 6px;
}

.policy-section li::marker {
    color: var(--gold-2);
}

.policy-section .wave-list {
    margin-bottom: 16px;
}

.policy-section .wave-list__text {
    color: var(--text);
}

.policy-section__after {
    margin-top: 4px;
}

.policy-table {
    margin: 0 0 8px;
    padding: 10px;
}

.policy-table .neu-table thead th {
    padding-bottom: 12px;
}

.policy-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.policy-cta h2 {
    margin-bottom: 10px;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
}

.policy-cta p {
    max-width: 440px;
    color: var(--text-muted);
}

.policy-cta .cta-microcopy {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .policy {
        grid-template-columns: 250px minmax(0, 720px);
        justify-content: center;
        gap: 48px;
    }

    .policy__content {
        margin-inline: 0;
    }

    .policy-toc {
        position: sticky;
        top: calc(var(--header-bottom) + 16px);
        margin-inline: 0;
    }

}

.is-offscreen *,
.is-offscreen *::before,
.is-offscreen *::after {
    animation-play-state: paused !important;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    padding: clamp(20px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(238, 236, 239, 0.55) 0%, rgba(238, 236, 239, 0.15) 45%, rgba(238, 236, 239, 0.75) 100%),
        url("./assets/1229d0ae12ca7966b988db750da87b28.webp") 30% 40% / cover no-repeat;
}

.hero__grid {
    display: grid;
    grid-template-areas: "copy" "cards" "actions";
    gap: 28px;
}

.hero__copy {
    grid-area: copy;
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin: 0 0 18px;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    color: var(--gold-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.hero__title {
    margin-bottom: 16px;
    padding-bottom: 0.06em;
}

.hero__lead {
    max-width: 520px;
    margin: 0 auto;
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    color: var(--text-muted);
}

.hero__cards {
    grid-area: cards;
    position: relative;
}

.hero__actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-card img {
    -webkit-user-drag: none;
    user-select: none;
}

.hero__deck-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.hero__deck-bar .example-note {
    margin: 0;
}

.deck-next {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    color: var(--gold-3);
    cursor: pointer;
}

.deck-next:active {
    box-shadow: var(--inset-sm);
}

/* Mobile swipe deck */
@media (max-width: 767.98px) {
    .hero-cluster {
        display: grid;
        width: min(76vw, 300px);
        margin: 4px auto 0;
    }

    .hero-card {
        grid-area: 1 / 1;
        touch-action: pan-y;
        user-select: none;
        transition: transform 0.4s var(--ease);
    }

    .hero-card--extra {
        display: none;
    }

    .hero-card[data-pos="0"] { z-index: 3; cursor: grab; }
    .hero-card[data-pos="1"] { z-index: 2; transform: translate(16px, 10px) rotate(5deg) scale(0.94); }
    .hero-card[data-pos="2"] { z-index: 1; transform: translate(-16px, 14px) rotate(-5deg) scale(0.9); }

    .hero-card.is-dragging {
        transition: none;
        cursor: grabbing;
    }
}

/* Floating cluster */
@media (min-width: 768px) {
    .hero-cluster {
        position: relative;
        width: min(100%, 600px);
        margin-inline: auto;
        aspect-ratio: 1 / 1.02;
    }

    .hero-card {
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: var(--w);
        z-index: var(--z);
        translate: calc(var(--px, 0) * var(--depth, 10) * 1px) calc(var(--py, 0) * var(--depth, 10) * 1px);
        transition: translate 0.6s var(--ease);
        animation: hero-float var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
    }

    .hero-card--1 { --x: 24%; --y: 12%; --w: 41%; --z: 6; --depth: 20; --dur: 7s; }
    .hero-card--2 { --x: 0%; --y: 5%; --w: 28%; --z: 3; --depth: 10; --delay: -2s; }
    .hero-card--3 { --x: 70%; --y: 25%; --w: 30%; --z: 5; --depth: 14; --delay: -4s; --dur: 9s; }
    .hero-card--4 { --x: 52%; --y: 0%; --w: 26%; --z: 2; --depth: 8; --delay: -1s; --dur: 10s; }
    .hero-card--5 { --x: 12%; --y: 55%; --w: 27%; --z: 4; --depth: 12; --delay: -3s; }
    .hero-card--6 { --x: 50%; --y: 57%; --w: 27%; --z: 5; --depth: 16; --delay: -5s; --dur: 9s; }

    .hero-card--1 .profile-card {
        box-shadow: 16px 20px 40px rgba(150, 134, 142, 0.4), -10px -10px 24px rgba(255, 255, 255, 0.95);
    }

    .hero__deck-bar {
        margin-top: 8px;
    }

    .deck-next {
        display: none;
    }
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Trust badges */
.trust {
    position: relative;
    width: min(100%, 360px);
    margin-top: 26px;
}

.trust__wave {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    overflow: visible;
}

.trust__wave path {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.trust__wave-peach { stroke: var(--peach); }
.trust__wave-blue { stroke: var(--blue); }

.trust__list {
    position: relative;
    z-index: 1;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.trust__well {
    width: 64px;
    height: 64px;
}

.trust__label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 40px;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        grid-template-areas: "copy cards" "actions cards";
        column-gap: 40px;
        row-gap: 32px;
    }

    .hero__copy {
        align-self: end;
        text-align: left;
    }

    .hero__lead {
        margin: 0;
    }

    .hero__actions {
        align-self: start;
        align-items: flex-start;
        text-align: left;
    }

    .hero__cards {
        align-self: center;
    }
}

/* ============================================
   PROFILES CAROUSEL
   ============================================ */

.profiles {
    --card-w: clamp(196px, 58vw, 248px);
}

.carousel {
    position: relative;
}

.carousel__viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.carousel__track {
    position: relative;
    list-style: none;
    display: flex;
    gap: calc(var(--card-w) * 0.12);
    padding: 44px calc(50% - var(--card-w) / 2) 36px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.carousel__track:focus-visible {
    outline-offset: -6px;
    border-radius: var(--radius-lg);
}

.carousel__track.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

.carousel__track img {
    -webkit-user-drag: none;
}

.carousel__pulse {
    position: absolute;
    left: calc(50% - var(--card-w) / 2);
    top: calc(44px + var(--card-w) * 0.6 - 40px);
    width: calc(var(--card-w) * 7.72);
    height: 80px;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.pulse__line,
.pulse__glow {
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.pulse__line {
    stroke: #EFC6A2;
    stroke-width: 3;
}

.pulse__glow {
    stroke: #FFF6EC;
    stroke-width: 5;
    stroke-dasharray: 4 96;
    filter: drop-shadow(0 0 4px rgba(242, 139, 123, 0.9));
    animation: pulse-travel 8s linear infinite;
}

@keyframes pulse-travel {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
}

.carousel__item {
    position: relative;
    z-index: 1;
    flex: 0 0 var(--card-w);
    scroll-snap-align: center;
    cursor: pointer;
}

.carousel__item .profile-card {
    border: 1.5px solid var(--lavender);
    transform: scale(0.9);
    transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}

.carousel__item.is-active {
    z-index: 2;
    cursor: default;
}

.carousel__item.is-active .profile-card {
    transform: scale(1.04);
    border-color: var(--blue);
    box-shadow:
        10px 12px 26px rgba(150, 134, 142, 0.32),
        -8px -8px 20px rgba(255, 255, 255, 0.9),
        0 0 0 3px rgba(74, 104, 240, 0.22),
        0 22px 34px -12px rgba(74, 104, 240, 0.55);
}

.carousel__actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
    visibility: hidden;
    transform: translateY(-8px);
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.carousel__item.is-active .carousel__actions {
    visibility: visible;
    transform: none;
    transition: transform 0.3s var(--ease), visibility 0s;
}

.swipe-btn {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.swipe-btn--pass {
    color: var(--text-soft);
}

.swipe-btn--like {
    color: #C2493A;
    background: var(--cream);
}

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

.swipe-btn:active {
    transform: none;
    box-shadow: var(--inset-sm);
}

.carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-inline: var(--gutter);
    text-align: center;
}

.carousel__nav .example-note {
    margin: 0;
    max-width: 280px;
}

.carousel__arrow {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    color: var(--gold-3);
    cursor: pointer;
}

.carousel__arrow--prev .icon {
    transform: rotate(180deg);
}

.carousel__arrow:active {
    box-shadow: var(--inset-sm);
}

.carousel__arrow:disabled {
    color: #A39AA5;
    cursor: default;
    box-shadow: var(--inset-sm);
}

.profiles__foot {
    margin-top: 18px;
    text-align: center;
}

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

/* ============================================
   HOW IT WORKS
   ============================================ */

.steps {
    position: relative;
    padding-block: 32px 64px;
}

.steps__ribbon {
    top: 0;
    height: 100%;
}

.steps__ribbon--h {
    display: none;
}

.steps__ribbon--v {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.steps__list {
    position: relative;
    z-index: 1;
    list-style: none;
    display: grid;
    gap: 36px;
    max-width: 300px;
    margin-inline: auto;
}

.step-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 30px 22px 32px;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 48px 48px 36px 36px;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        linear-gradient(180deg, #F1C99E 0%, rgba(255, 255, 255, 0.95) 38%, var(--lavender) 76%, var(--blue) 100%) border-box;
    box-shadow:
        var(--raised),
        0 20px 28px -16px rgba(74, 104, 240, 0.55),
        inset 0 12px 20px -14px rgba(242, 194, 155, 0.85);
}

.step-tile__well {
    width: 76px;
    height: 76px;
    margin-bottom: 6px;
}

.step-tile__well .icon {
    width: 32px;
    height: 32px;
}

.step-tile__num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold-text);
}

.step-tile__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.steps-section__cta {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .steps__ribbon--h { display: block; }
    .steps__ribbon--v { display: none; }

    .steps {
        padding-block: 28px 72px;
    }

    .steps__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(20px, 4vw, 56px);
        max-width: 1080px;
    }
}

/* ============================================
   DUO LAYOUT (two-column lower half)
   ============================================ */

.duo-band {
    position: relative;
    overflow: clip;
}

.duo-band__swoosh {
    top: 34%;
}

.duo {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(64px, 9vw, 88px);
    padding-block: clamp(48px, 7vw, 88px);
}

.duo__stack {
    display: grid;
    gap: clamp(56px, 8vw, 72px);
}

section.duo__col {
    overflow: visible;
}

.duo .section-title {
    font-size: clamp(1.5rem, 3.6vw, 2.125rem);
}

@media (min-width: 1024px) {
    .duo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 64px;
        align-items: start;
    }
}

/* ============================================
   COMPARISON
   ============================================ */

.compare-wrap {
    position: relative;
    padding: 14px 10px 22px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--raised), inset 0 1px 0 #FFFFFF;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
    padding: 12px;
    text-align: left;
    vertical-align: middle;
    line-height: 1.4;
}

.compare-table thead th {
    padding-top: 22px;
    padding-bottom: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-soft);
}

.compare-table tbody td {
    color: var(--text-muted);
    border-bottom: 1px solid rgba(160, 145, 153, 0.22);
}

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

.compare-table tbody th,
.compare-table__corner {
    position: sticky;
    left: 0;
    z-index: 2;
    padding-left: 4px;
    background: var(--bg);
}

.compare-label {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--surface-sunk);
    box-shadow: var(--inset-sm);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.compare-table .is-mdates {
    position: relative;
    z-index: 1;
    min-width: 172px;
    background: #F4D5AF;
    color: var(--gold-text);
    font-weight: 600;
    border-bottom: 0;
    box-shadow: 8px 0 16px -10px rgba(176, 116, 62, 0.55), -8px 0 16px -10px rgba(176, 116, 62, 0.55);
}

.compare-table thead .is-mdates {
    border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, #FCEEDD 0%, #F4D5AF 100%);
    color: var(--gold-text);
    font-size: 1.25rem;
    text-align: center;
}

.compare-table tbody tr:last-child .is-mdates {
    border-radius: 0 0 28px 28px;
    background: linear-gradient(180deg, #F4D5AF 0%, #EEC496 100%);
    box-shadow:
        8px 0 16px -10px rgba(176, 116, 62, 0.55),
        -8px 0 16px -10px rgba(176, 116, 62, 0.55),
        0 20px 26px -12px rgba(242, 139, 123, 0.75);
}

.compare-cell {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.compare-cell .icon {
    margin-top: 1px;
    color: var(--gold-4);
    stroke-width: 2.6;
}

.compare-cell--muted .icon {
    color: #8C8490;
    stroke-width: 2.2;
}

.compare-note {
    margin: 14px 4px 0;
    font-size: 0.875rem;
    color: var(--text-soft);
}

/* ============================================
   SAFETY
   ============================================ */

.safety__grid {
    display: grid;
    gap: 24px;
    justify-items: center;
}

.safety__emblem .shield-emblem {
    width: min(230px, 62vw);
}

.safety__text p {
    color: var(--text-muted);
}

.safety-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-muted);
}

.safety-list strong {
    color: var(--text);
}

.safety-list__icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    color: var(--gold-3);
}

@media (min-width: 768px) {
    .safety__grid {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        gap: 36px;
    }

    .safety__emblem .shield-emblem {
        width: 220px;
    }
}

@media (min-width: 1024px) {
    .safety__emblem .shield-emblem {
        width: 190px;
    }
}

/* ============================================
   PRICING
   ============================================ */

.price-panel {
    padding: 12px;
    border-radius: 30px;
    background: var(--surface-sunk);
    box-shadow: var(--inset);
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    font-size: 0.9375rem;
}

.price-table thead th {
    padding: 6px 16px 2px;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: left;
    color: var(--text-soft);
}

.price-table tbody th,
.price-table tbody td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
    line-height: 1.4;
}

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

.price-table tbody td {
    color: var(--text-muted);
}

.price-term {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: var(--grad-cta);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
    color: #4A2C12;
    font-size: 0.875rem;
    font-weight: 700;
}

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

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

    .price-table tbody tr {
        padding: 10px 6px;
        border-radius: 22px;
    }

    .price-table tbody tr + tr {
        margin-top: 8px;
    }

    .price-table tbody tr:nth-child(2) {
        background: var(--bg);
        box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    }

    .price-table tbody th,
    .price-table tbody td {
        padding: 6px 12px;
    }

    .price-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--text-soft);
    }
}

@media (min-width: 768px) {
    .price-table tbody tr:nth-child(2) > * {
        background: var(--bg);
        box-shadow: 0 10px 16px -10px var(--shadow-dark), 0 -6px 12px -8px #FFFFFF;
    }

    .price-table tbody tr:nth-child(2) > :first-child {
        border-radius: 999px 0 0 999px;
        padding-left: 22px;
    }

    .price-table tbody tr:nth-child(2) > :last-child {
        border-radius: 0 999px 999px 0;
    }

    .price-table tbody td:last-child {
        text-align: right;
    }
}

.pricing-section__note {
    margin: 16px 4px 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.pricing-section__cta {
    margin-top: 22px;
}

/* ============================================
   VOICES (speech bubbles)
   ============================================ */

.bubbles {
    display: grid;
    gap: 28px;
}

.bubble {
    position: relative;
    padding: 22px 22px 24px;
    border-radius: 30px;
    background: var(--bg);
    box-shadow: var(--raised), inset 0 1px 0 #FFFFFF;
}

.bubble__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.bubble__avatar {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--inset-sm);
    color: var(--gold-3);
}

.bubble__quote {
    fill: #E7B887;
    filter: drop-shadow(1px 2px 2px rgba(150, 96, 46, 0.25));
}

.bubble__text {
    margin: 0 0 10px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
}

.bubble__source {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-soft);
}

.bubble__tail {
    position: absolute;
    left: 34px;
    bottom: -24px;
    fill: var(--bg);
    filter: drop-shadow(5px 6px 5px rgba(160, 145, 153, 0.35));
}

.bubble--tail {
    margin-bottom: 18px;
}

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

/* ============================================
   FINAL CTA
   ============================================ */

.duo--last {
    padding-bottom: clamp(24px, 4vw, 40px);
}

.final-cta {
    position: relative;
    isolation: isolate;
    padding: clamp(32px, 6vw, 56px) 0;
    text-align: center;
}

.final-cta__ribbon {
    top: 0;
    height: 100%;
    z-index: -1;
}

.final-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    margin-inline: auto;
}

.final-cta__line {
    margin: 0 0 24px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.8vw, 1.0625rem);
}

.final-cta .cta-decline {
    margin-top: 4px;
}

@media (min-width: 1024px) {
    .final-cta {
        align-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-card {
        translate: none;
    }

    .carousel__item .profile-card,
    .hero-card {
        transition: none;
    }

    .pulse__glow {
        display: none;
    }
}

/* ============================================
   CONTACT
   ============================================ */

section.contact-section {
    position: relative;
    overflow: visible;
    padding-block: clamp(28px, 5vw, 56px);
}

.contact-card {
    display: grid;
    gap: 28px;
    max-width: 920px;
    margin-inline: auto;
}

.contact-card__title {
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 3.6vw, 2.125rem);
}

.contact-rows {
    list-style: none;
    display: grid;
    gap: 20px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-row__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.contact-row__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-soft);
}

.contact-row__value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
}

.contact-pill {
    max-width: 100%;
    padding-inline: 22px;
    margin-bottom: 8px;
}

.contact-card__times {
    padding: 22px;
    border-radius: 24px;
    background: var(--surface-sunk);
    box-shadow: var(--inset);
}

.contact-card__times h3 {
    margin-bottom: 10px;
}

.contact-card__times p {
    margin: 0;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .contact-card {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 40px;
        align-items: start;
    }
}

.help-grid {
    list-style: none;
    display: grid;
    gap: 22px;
}

.help-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--raised-sm), inset 0 1px 0 #FFFFFF;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.help-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--raised), inset 0 1px 0 #FFFFFF;
}

.help-tile p {
    margin: 0;
    color: var(--text-muted);
}

.help-tile strong {
    color: var(--text);
}

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

.contact-faq {
    max-width: 820px;
}

.next-steps {
    isolation: isolate;
    text-align: center;
    padding-block: clamp(48px, 8vw, 88px) clamp(56px, 8vw, 96px);
}

.next-steps__ribbon {
    top: 0;
    height: 100%;
    z-index: -1;
}

.next-steps__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 560px;
}

.next-steps__line {
    margin: 0 0 24px;
    color: var(--text-muted);
}

.next-steps__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 14px;
    margin: 18px 0 0;
}

.next-steps__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--gold-text);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .help-tile,
    .help-tile:hover {
        transform: none;
    }
}