/*
 * Twitive Review - Metropolitan Sleek design system
 * Midnight navy + charcoal-slate bands, coral neon accent.
 */

:root {
    interpolate-size: allow-keywords;

    --navy: #1c2250;
    --navy-deep: #151a40;
    --navy-glass: rgba(38, 46, 104, 0.62);
    --navy-row: #222a5e;
    --slate: #4a4f63;
    --charcoal: #2a2c38;
    --charcoal-deep: #20222d;
    --glass: rgba(32, 34, 46, 0.78);
    --coral: #ff6b5b;
    --coral-hover: #ff8173;
    --coral-tint: rgba(255, 107, 91, 0.1);
    --coral-glow: 0 0 16px rgba(255, 107, 91, 0.55);
    --coral-glow-strong: 0 0 26px rgba(255, 107, 91, 0.8);
    --on-coral: #16182b;
    --text: #f5f6fa;
    --muted: #d4d7e3;
    --muted-2: #b9bdcf;
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.24);

    --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --container: 1180px;
    --gutter: 20px;
    --header-bottom: 64px;
    --ease: cubic-bezier(.22, .8, .26, 1);
    --shadow: 0 18px 40px rgba(6, 8, 24, 0.45);
}

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

body {
    margin: 0;
    background: var(--navy);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
    margin: 0 0 0.6em;
    color: var(--text);
}

h1 { font-size: clamp(2.3rem, 7vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 4.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.4rem); font-weight: 600; }

p { margin: 0 0 1em; }

a {
    color: var(--coral);
    transition: color .2s ease;
}

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

:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
    border-radius: 4px;
}

ul { padding-left: 1.2em; }

strong { color: var(--text); }

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--coral);
    color: var(--on-coral);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus { top: 12px; color: var(--on-coral); }

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

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

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    display: inline-block;
    vertical-align: middle;
}

.muted { color: var(--muted); }
.lead { font-size: 1.0625rem; color: var(--muted); }
.note { font-size: 0.875rem; color: var(--muted-2); }

/* ============ Bands & layout ============ */
.band {
    position: relative;
    padding: 56px 0;
    background: var(--navy);
    isolation: isolate;
}

.band--slate { background: var(--slate); }
.band--slate .muted,
.band--slate .lead { color: #e2e4ec; }
.band--slate .note { color: #dcdfe8; }

.band > .container { position: relative; z-index: 1; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.split > * { min-width: 0; }

.section-head { margin-bottom: 24px; }
.section-head h2 { margin-bottom: 0.35em; }

/* ============ Glass cards ============ */
.glass-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.glass-card--navy { background: var(--navy-glass); }

.lift {
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow), 0 0 22px rgba(255, 107, 91, 0.28);
}

.accent-top { border-top: 3px solid var(--coral); }
.accent-top--slate { border-top: 3px solid #8b90a6; }

/* Icon list (pros/cons, tips) */
.icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.icon-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon-list .icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--coral);
}

.icon-list--muted .icon { color: #a7acc2; }

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 2px solid var(--coral);
    border-radius: 12px;
    background: var(--coral);
    color: var(--on-coral);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-align: center;
    line-height: 1.1;
    cursor: pointer;
    box-shadow: var(--coral-glow);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s ease;
}

.btn:hover,
.btn:focus-visible {
    color: var(--on-coral);
    background: var(--coral-hover);
    box-shadow: var(--coral-glow-strong);
    transform: translateY(-2px);
}

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

.btn__icon {
    width: 20px;
    height: 20px;
    transition: transform .25s var(--ease);
}

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

.btn--lg {
    min-height: 58px;
    padding: 0 32px;
    font-size: 1.35rem;
}

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

.btn--ghost {
    background: transparent;
    color: var(--coral);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: var(--coral-tint);
    color: var(--coral-hover);
}

.btn--pulse { animation: ctaPulse 2.6s ease-in-out infinite; }

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(255, 107, 91, 0.5), 0 0 0 0 rgba(255, 107, 91, 0.45); }
    50% { box-shadow: 0 0 26px rgba(255, 107, 91, 0.8), 0 0 0 10px rgba(255, 107, 91, 0); }
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 24px;
}

.cta-group .btn { width: 100%; }

/* ============ Badges ============ */
.badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(32, 34, 46, 0.8);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
}

.badge__icon {
    width: 18px;
    height: 18px;
    color: var(--coral);
}

.badges--compact .badge {
    min-height: 32px;
    padding: 4px 12px;
}

/* ============ Trust strip ============ */
.trust-strip {
    background: var(--charcoal);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0 16px;
}

.badges--strip { justify-content: center; }

.trust-strip__note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--charcoal);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    max-width: var(--container);
    margin-inline: auto;
    padding: 8px 16px;
}

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

.site-brand__text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.75rem;
    letter-spacing: 0.01em;
    color: var(--coral);
    text-shadow: 0 0 6px rgba(255, 107, 91, 0.7), 0 0 18px rgba(255, 107, 91, 0.45);
}

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

.header-actions .header-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 1.05rem;
    white-space: nowrap;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    cursor: pointer;
}

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

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

.site-nav {
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 55;
    background: var(--charcoal-deep);
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
}

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

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.site-nav__list a:hover { color: var(--coral); }

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

    .site-nav {
        position: static;
        visibility: visible;
        opacity: 1;
        background: none;
        padding: 0;
        overflow: visible;
        z-index: auto;
    }

    .site-nav__list {
        display: flex;
        gap: 6px;
    }

    .site-nav__list a {
        min-height: 44px;
        padding: 0 14px;
        border: 0;
        border-radius: 8px;
        font-size: 1.15rem;
        color: var(--muted);
    }

    .site-nav__list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

    .site-nav__extra { display: none; }

    .header-actions .header-cta { padding: 0 26px; }
}

@media (min-width: 1024px) {
    .site-header__inner { min-height: 76px; padding-inline: var(--gutter); }
    .site-brand__text { font-size: 2.2rem; }
    .site-nav__extra { display: list-item; }
}

/* ============ Compass art (signature motif) ============ */
.compass-art {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    color: var(--coral);
    filter: drop-shadow(0 0 5px rgba(255, 107, 91, 0.65));
    height: auto;
    max-width: none;
}

.compass-art__rays { opacity: 0.55; }

/* ============ Profile swipe deck ============ */
.deck {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
}

.deck__stage {
    position: relative;
    aspect-ratio: 10 / 11.8;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.profile-card {
    position: absolute;
    top: 3%;
    left: 6%;
    width: 68%;
    height: 94%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--coral);
    border-radius: 18px;
    background: var(--charcoal);
    color: var(--text);
    text-decoration: none;
    transform-origin: right center;
    box-shadow: 0 0 12px rgba(255, 107, 91, 0.4), 0 18px 36px rgba(4, 6, 20, 0.5);
    transition: transform .5s var(--ease), filter .5s var(--ease), opacity .4s ease, box-shadow .4s ease;
    cursor: grab;
}

.profile-card:hover { color: var(--text); }

.profile-card[data-pos="0"] {
    z-index: 4;
    transform: rotate(-2deg);
    box-shadow: 0 0 22px rgba(255, 107, 91, 0.75), 0 22px 44px rgba(4, 6, 20, 0.55);
}

.profile-card[data-pos="1"] {
    z-index: 3;
    transform: translateX(17%) scale(0.85) rotate(2deg);
    filter: brightness(0.72);
}

.profile-card[data-pos="2"] {
    z-index: 2;
    transform: translateX(32%) scale(0.74) rotate(4deg);
    filter: brightness(0.55);
}

.profile-card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]) {
    z-index: 1;
    transform: translateX(32%) scale(0.7) rotate(4deg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.profile-card.is-leaving {
    transform: translateX(-125%) rotate(-16deg);
    opacity: 0;
}

.profile-card.is-leaving-right {
    transform: translateX(60%) rotate(14deg);
    opacity: 0;
}

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

.profile-card__photo {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: block;
}

.profile-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    pointer-events: none;
}

.profile-card__panel {
    display: grid;
    gap: 3px;
    padding: 12px 14px 14px;
    background: var(--charcoal);
    border-top: 1px solid var(--line);
}

.profile-card__label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
}

.profile-card__line {
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--muted);
}

.profile-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.875rem;
    color: var(--muted);
    filter: blur(2px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.deck__btn {
    position: absolute;
    top: 42%;
    z-index: 6;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coral);
    border-radius: 50%;
    background: rgba(28, 34, 80, 0.92);
    color: var(--coral);
    cursor: pointer;
    box-shadow: var(--coral-glow);
    transition: transform .25s var(--ease), box-shadow .25s ease;
}

.deck__btn:hover { transform: scale(1.08); box-shadow: var(--coral-glow-strong); }
.deck__btn .icon { width: 22px; height: 22px; }
.deck__btn--prev { left: 0; }
.deck__btn--next { right: 0; }

@media (min-width: 1024px) {
    .deck__btn--prev { left: -4%; }
    .deck__btn--next { right: -4%; }
    .profile-card__label { font-size: 1.3rem; }
}

/* ============ Snapshot carousel ============ */
.carousel {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel__track {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 2px 10px;
    list-style: none;
    margin: 0;
}

.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }

.carousel__btn {
    flex: none;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.carousel__btn:hover { color: var(--coral); background: rgba(255, 255, 255, 0.06); }
.carousel__btn[disabled] { color: #8d92a8; cursor: default; background: transparent; }
.carousel__btn .icon { width: 24px; height: 24px; }

@media (min-width: 768px) {
    .carousel__track { grid-auto-columns: calc((100% - 28px) / 3); }
}

.snapshot-card {
    height: 100%;
    padding: 12px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.snapshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(6, 8, 24, 0.45), 0 0 16px rgba(255, 107, 91, 0.25);
}

.snapshot-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.snapshot-card__line {
    margin: 10px 0 8px;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--text);
}

.tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 91, 0.6);
    color: #ffd9d4;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* New members pill */
.members-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 18px;
    padding: 12px 16px;
    background: var(--charcoal-deep);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.members-bar__title {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
}

.avatar-stack {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
}

.avatar-stack img {
    display: block;
    width: 44px;
    height: 44px;
    margin-left: -12px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}

/* ============ Tables ============ */
.table-scroll {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--navy-deep);
}

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

.data-table caption {
    caption-side: bottom;
    padding: 10px 14px;
    text-align: left;
    font-size: 0.875rem;
    color: var(--muted);
}

.data-table th,
.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: center;
    vertical-align: middle;
}

.data-table thead th {
    background: var(--navy-row);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.data-table tbody tr:nth-child(even) > * { background-color: rgba(255, 255, 255, 0.035); }
.data-table tbody tr:last-child > * { border-bottom: 0; }

.data-table th:first-child,
.data-table td:first-child { text-align: left; }

.data-table .th-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.data-table .th-icon .icon { width: 26px; height: 26px; }

.data-table .row-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.data-table .row-label .icon { color: var(--coral); width: 20px; height: 20px; }

.data-table .yes { color: var(--coral); }
.data-table .no { color: #a7acc2; }
.data-table .cell-text { font-size: 0.875rem; color: var(--muted); }

.data-table .col-hl {
    background-color: rgba(255, 107, 91, 0.09);
    box-shadow: inset 2px 0 0 var(--coral), inset -2px 0 0 var(--coral);
}

.data-table thead .col-hl {
    color: var(--coral);
    box-shadow: inset 2px 0 0 var(--coral), inset -2px 0 0 var(--coral), inset 0 2px 0 var(--coral);
}

.data-table tbody tr:last-child .col-hl {
    box-shadow: inset 2px 0 0 var(--coral), inset -2px 0 0 var(--coral), inset 0 -2px 0 var(--coral);
}

.data-table--sticky th:first-child,
.data-table--sticky td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: var(--navy-deep);
}

.data-table--sticky thead th:first-child { background-color: var(--navy-row); }

/* ============ FAQ accordion ============ */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.faq-item {
    background: var(--navy-glass);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item[open] {
    border-color: rgba(255, 107, 91, 0.75);
    box-shadow: 0 0 14px rgba(255, 107, 91, 0.2);
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__q {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item__toggle {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s var(--ease);
}

.faq-item__toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__toggle::after { transform: rotate(0deg); }
.faq-item[open] .faq-item__toggle::before { background: var(--coral); }
.faq-item[open] .faq-item__toggle::after { background: var(--coral); }

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

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

.faq-item__a { padding: 0 16px 16px; }
.faq-item__a p { margin: 0; color: var(--muted); }

/* ============ Footer ============ */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
    border-top: 1px solid var(--line);
    padding: 48px 0 32px;
    isolation: isolate;
}

.footer-rose {
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 360px;
    max-width: none;
    z-index: 0;
    color: var(--coral);
    opacity: 0.55;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(255, 107, 91, 0.6));
}

.site-footer__inner { position: relative; z-index: 1; }

.footer-disclosure { overflow: visible; }

.footer-disclosure__title {
    font-size: 1.6rem;
    margin-bottom: 0.4em;
}

.footer-disclosure p {
    max-width: 900px;
    font-size: 0.9375rem;
    color: var(--muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    margin-top: 32px;
}

.footer-col__title {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

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

.footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9375rem;
}

.footer-col a:hover { color: var(--coral); }

.site-footer__bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.footer-wordmark {
    margin: 0;
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 1;
    color: #80859b;
}

.footer-legal {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: var(--muted-2);
    max-width: 60%;
}

.footer-legal__age { color: var(--coral); }

@media (min-width: 768px) {
    .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-rose { width: 440px; right: -110px; bottom: -150px; }
    .footer-legal { max-width: none; }
}

/* ============ Reveal animations ============ */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

.js .reveal-stagger > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }

/* ============ Responsive ============ */
@media (min-width: 768px) {
    :root { --gutter: 32px; }
    .band { padding: 72px 0; }
    .cta-group .btn { width: auto; }
}

@media (min-width: 1024px) {
    .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
    .band { padding: 80px 0; }
}

@media (min-width: 1280px) {
    :root { --gutter: 40px; }
}

/* ============ Home: hero ============ */
.hero {
    padding: 36px 0 56px;
    background:
        radial-gradient(ellipse 60% 70% at 75% 50%, rgba(78, 90, 178, 0.45), transparent 70%),
        var(--navy);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero__copy h1 { margin-bottom: 0.45em; }

.hero__media {
    position: relative;
    padding: 20px 0 4px;
}

.hero-compass {
    left: 50%;
    top: 46%;
    width: min(135%, 640px);
    transform: translate(-50%, -50%);
    opacity: 0.75;
}

.hero-compass .compass-art__rays { opacity: 0.32; }

.hero__media .deck { z-index: 1; }

.deck__hint {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    text-align: center;
}

.art-corner {
    width: 420px;
    opacity: 0.18;
}

.art-corner--bl { left: -230px; bottom: -230px; }
.art-corner--tr { right: -230px; top: -230px; }

.live-pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 6px 8px 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--charcoal-deep);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

.live-pill .status-dot { animation: dotPulse 2s ease-in-out infinite; }
.live-pill__icon { width: 16px; height: 16px; color: var(--coral); }

.live-pill__tag {
    padding: 2px 8px;
    border-radius: 999px;
    background: #353848;
    color: var(--muted);
    font-size: 0.75rem;
    cursor: help;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 4px #4ade80; }
    50% { box-shadow: 0 0 12px #4ade80, 0 0 0 4px rgba(74, 222, 128, 0.2); }
}

@media (min-width: 1024px) {
    .hero { padding: 72px 0 80px; }
    .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
    .hero__copy .lead { font-size: 1.125rem; max-width: 560px; }
}

/* ============ Home: band art ============ */
.band--deep { background: var(--navy-deep); }

.band-art {
    width: 360px;
    top: 50%;
    translate: 0 -50%;
    opacity: 0.3;
}

.band-art--left { left: -230px; }
.band-art--right { right: -230px; }

/* ============ Home: verdict ============ */
.verdict-card {
    padding: 26px 24px 64px;
    background: rgba(32, 34, 46, 0.82);
}

.verdict-card p { color: var(--muted); }

.verdict-card__check {
    position: absolute;
    right: 20px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    color: var(--coral);
    filter: drop-shadow(0 0 6px rgba(255, 107, 91, 0.6));
}

/* ============ Home: how it works flow ============ */
.flow {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}

.flow::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 34px;
    bottom: 34px;
    width: 2px;
    background: var(--coral);
    box-shadow: 0 0 8px rgba(255, 107, 91, 0.7);
}

.flow__step {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.flow__ring {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coral);
    border-radius: 50%;
    background: #3a3e52;
    color: var(--coral);
    box-shadow: inset 0 0 0 5px #3a3e52, inset 0 0 0 6px rgba(255, 107, 91, 0.6), 0 0 8px rgba(255, 107, 91, 0.35);
    transition: box-shadow .6s var(--ease);
}

.flow__ring .icon { width: 32px; height: 32px; }

.flow.is-visible .flow__ring {
    box-shadow: inset 0 0 0 5px #3a3e52, inset 0 0 0 6px rgba(255, 107, 91, 0.8), 0 0 20px rgba(255, 107, 91, 0.75);
}

.flow__step h3 { margin: 6px 0 4px; font-size: 1.3rem; }
.flow__step p { margin: 0; font-size: 0.9375rem; color: #e2e4ec; }

@media (min-width: 1024px) {
    .how__title { text-align: center; }

    .flow {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .flow::before {
        left: 12.5%;
        right: 12.5%;
        top: 34px;
        bottom: auto;
        width: auto;
        height: 2px;
    }

    .flow__step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        gap: 10px;
    }

    .flow__step p { font-size: 0.875rem; }
}

/* ============ Home: pros & cons ============ */
.pc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.pc-grid h3 { font-size: 1.6rem; }
.pc-grid .icon-list li { color: var(--muted); }

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

/* ============ Home: tables ============ */
.data-table .yes .icon,
.data-table .no .icon { width: 20px; height: 20px; }

.data-table td .cell-text {
    display: block;
    margin-top: 2px;
}

.callout {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 3px solid var(--coral);
    border-radius: var(--radius-sm);
    background: var(--navy-glass);
}

.callout h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.callout p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.takeaway { margin-top: 20px; color: var(--muted); }

/* ============ Home: safety tips ============ */
.tip-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.tip-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
}

.tip-list__icon {
    width: 30px;
    height: 30px;
    color: var(--coral);
    filter: drop-shadow(0 0 4px rgba(255, 107, 91, 0.5));
}

.tip-list h3 { margin: 2px 0 4px; font-size: 1.25rem; }
.tip-list p { margin: 0; color: #e2e4ec; font-size: 0.9375rem; }

/* ============ Home: snapshots ============ */
.members-bar__btn { margin-left: auto; }
.snapshot-note { margin: 12px 0 0; }

@media (max-width: 479px) {
    .members-bar__btn { width: 100%; margin-left: 0; }
}

/* ============ Home: signup steps ============ */
.signup { position: relative; }

.signup::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 40px;
    width: 2px;
    background: var(--coral);
    box-shadow: 0 0 8px rgba(255, 107, 91, 0.7);
}

.signup__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}

.signup__step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
}

.signup__num {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coral);
    border-radius: 50%;
    background: var(--navy);
    color: var(--coral);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.7rem;
    box-shadow: 0 0 14px rgba(255, 107, 91, 0.55);
}

.signup__step h3 { margin: 4px 0 4px; }
.signup__step p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.signup__cta {
    position: relative;
    z-index: 1;
    padding-left: 74px;
}

.signup__cta .cta-group { margin-top: 20px; }

/* ============ Home: FAQ close ============ */
.faq-close { margin: 20px 0 16px; color: var(--muted); }

/* ============ Legal page ============ */
.legal-hero { padding: 40px 0 48px; }
.legal-hero__art {
    right: -200px;
    top: 50%;
    width: 420px;
    translate: 0 -50%;
    opacity: 0.3;
}
.legal-hero__copy { max-width: 640px; }
.legal-hero__date { color: var(--coral); margin-bottom: 0.4em; }
.chip-list {
    list-style: none;
    margin: 20px 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--glass);
    color: var(--text);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.chip:hover { border-color: var(--coral); color: var(--text); box-shadow: var(--coral-glow); }

.legal { max-width: 820px; }
.legal-block {
    position: relative;
    margin: 24px 0;
    padding: 2px 0 2px 56px;
    border-left: 2px solid var(--coral);
}
.legal-block__num {
    position: absolute;
    left: -17px;
    top: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coral);
    border-radius: 50%;
    background: var(--navy-deep);
    color: var(--coral);
    font-family: var(--font-head);
    font-weight: 700;
}
.legal-block h3 { margin-bottom: 0.3em; }
.legal-block p,
.legal-block li { color: var(--muted); }
.legal-block ul { margin: 0 0 1em; }
.legal-table { margin: 24px 0; }
.legal-table .data-table { min-width: 640px; }
.legal-table .data-table thead th { background: rgba(255, 107, 91, 0.18); }
.legal-table .data-table th,
.legal-table .data-table td { text-align: left; }
.contact-card { max-width: 640px; }
.contact-card__icon { width: 36px; height: 36px; color: var(--coral); margin-bottom: 8px; }
.contact-card p { color: var(--muted); margin: 0; }
.closing-cta { background: var(--navy-deep); }

@media (max-width: 479px) {
    .legal-block { padding-left: 40px; }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal,
    .js .reveal-stagger > * {
        opacity: 1;
        transform: none;
    }

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