/* ============================================
   MatureSearch - design system
   Dark slate-navy canvas, coral accent,
   frosted glass surfaces, serif display type.
   ============================================ */

:root {
    /* Canvas & surfaces */
    --canvas: #262b3e;
    --canvas-deep: #1e2232;
    --canvas-soft: #2c3146;
    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(255, 255, 255, 0.085);
    --hairline: rgba(245, 131, 111, 0.34);
    --hairline-soft: rgba(255, 255, 255, 0.12);

    /* Accent */
    --accent: #f5836f;
    --accent-bright: #ffa08f;
    --accent-ink: #2a1210;
    --accent-dim: rgba(245, 131, 111, 0.16);

    /* Text */
    --text: #f4f6fb;
    --text-muted: #c4cbdd;
    --text-dim: #a4adc4;

    /* Radii & shadows */
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 20px;
    --shadow: 0 18px 46px rgba(10, 13, 24, 0.45);
    --glow: 0 0 26px rgba(245, 131, 111, 0.35);

    /* Type */
    --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
    --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Layout */
    --shell: 1200px;
    --section-pad: 68px;
    --header-bottom: 70px;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--canvas);
    background-image:
        radial-gradient(900px 520px at 85% -5%, rgba(245, 131, 111, 0.10), transparent 70%),
        radial-gradient(760px 480px at 5% 30%, rgba(74, 110, 170, 0.12), transparent 72%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 0.5em;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
h3 { font-size: clamp(1.18rem, 2.6vw, 1.4rem); }

p { margin: 0 0 1em; }

a {
    color: var(--accent-bright);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

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

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 12px 18px;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.btn--primary {
    background: linear-gradient(180deg, #ff9584 0%, #f16f5c 100%);
    color: var(--accent-ink);
    box-shadow: 0 10px 28px rgba(241, 111, 92, 0.35);
}

.btn--primary:hover {
    box-shadow: 0 14px 34px rgba(241, 111, 92, 0.46);
    transform: translateY(-2px);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--hairline);
    color: var(--accent-bright);
}

.btn--outline:hover {
    background: rgba(245, 131, 111, 0.14);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn--quiet {
    background: transparent;
    border-color: var(--hairline-soft);
    color: var(--text);
}

.btn--quiet:hover {
    border-color: var(--accent);
}

.btn:active {
    transform: scale(0.97);
}

.btn--sm {
    min-height: 48px;
    padding: 10px 18px;
    font-size: 0.95rem;
}

.btn--lg {
    min-height: 58px;
    padding: 15px 34px;
    font-size: 1.08rem;
}

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

.btn__icon {
    width: 1.15em;
    height: 1.15em;
}

.btn--pulse {
    position: relative;
}

.btn--pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(245, 131, 111, 0.6);
    animation: pulse-ring 2.6s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 0.75; }
    70%  { transform: scale(1.16); opacity: 0; }
    100% { transform: scale(1.16); opacity: 0; }
}

/* ============================================
   HEADER + NAV
   ============================================ */

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

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 34, 50, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 131, 111, 0.18);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: min(100% - 1.6rem, var(--shell));
    margin-inline: auto;
    padding: 12px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-brand__accent {
    color: var(--accent);
}

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

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

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle__bars {
    display: grid;
    gap: 5px;
    width: 22px;
}

.nav-toggle__bars span {
    display: block;
    height: 2px;
    background: var(--accent-bright);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    display: none;
    background: #1e2232;
    padding: 20px max(1rem, calc((100vw - var(--shell)) / 2)) 40px;
    overflow-y: auto;
    z-index: 55;
}

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

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

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 6px 4px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

body.nav-open {
    overflow: hidden;
}

/* ============================================
   SECTIONS & HEADINGS
   ============================================ */

.section {
    position: relative;
    padding: var(--section-pad) 0;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-head__eyebrow {
    margin: 0 0 8px;
    color: var(--accent-bright);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-head__title {
    margin-bottom: 12px;
}

.section-head__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Frosted surface primitive */
.glass {
    background: var(--glass);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

/* ============================================
   ORNAMENTS
   ============================================ */

.ornament {
    color: var(--accent);
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(245, 131, 111, 0.45));
}

.ornament-knot,
.ornament-compass,
.ornament-anchor {
    position: absolute;
    z-index: 0;
}

.ornament-compass {
    width: clamp(200px, 30vw, 420px);
    opacity: 0.22;
}

.ornament-knot {
    width: clamp(220px, 28vw, 420px);
    opacity: 0.25;
}

.ornament-anchor {
    opacity: 0.55;
}

.knot-medallion {
    width: 110px;
}

.profiles__compass {
    left: -16%;
    top: 96px;
    opacity: 0.18;
}

.band-compare__compass {
    left: -12%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
}

.profiles-note {
    max-width: 62ch;
    margin: 26px auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.steps-cta {
    margin: 30px 0 0;
    text-align: center;
}

.compare-intro {
    max-width: 68ch;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

.cta-band__note {
    margin: 16px 0 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Hero braided frame */
.knot-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(245, 131, 111, 0.5));
    z-index: 3;
}

.knot-frame__defs {
    position: absolute;
    width: 0;
    height: 0;
}

.knot-frame__edge {
    position: absolute;
    display: block;
}

.knot-frame__edge--top,
.knot-frame__edge--bottom {
    left: 0;
    right: 0;
    height: 24px;
}

.knot-frame__edge--top { top: 0; }
.knot-frame__edge--bottom { bottom: 0; }

.knot-frame__edge--left,
.knot-frame__edge--right {
    top: 0;
    bottom: 0;
    width: 24px;
}

.knot-frame__edge--left { left: 0; }
.knot-frame__edge--right { right: 0; }

.knot-frame__medallion {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 128px;
    background: var(--canvas);
    padding: 0 10px;
}

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

.hero {
    position: relative;
    padding: 26px 0 54px;
}

.hero__frame {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 0 60px rgba(245, 131, 111, 0.16);
}

.hero__media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    background-color: #313a52;
    background-image: url("/assets/9e6997342b2bf7f63841373ca7ccb239.webp");
    background-size: cover;
    background-position: 70% 42%;
    background-repeat: no-repeat;
}

.hero__panel {
    position: relative;
    z-index: 2;
    margin: 20px;
    padding: 22px;
    max-width: 520px;
    border-radius: var(--radius);
    background: rgba(24, 28, 42, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero__title {
    margin-bottom: 14px;
}

.hero__sub {
    color: #e6eaf5;
    font-size: 1.06rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 12px;
}

.hero__reassure {
    margin: 0;
    color: #d6dcec;
    font-size: 0.95rem;
}

.online-pill {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: -24px auto 0;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(26, 30, 44, 0.9);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(8, 10, 18, 0.5);
    color: var(--text);
    font-weight: 600;
    font-size: 0.98rem;
}

.online-pill__wrap {
    display: flex;
    justify-content: center;
}

.online-pill__eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.online-pill__eq span {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: var(--accent);
    animation: eq 1.3s ease-in-out infinite;
}

.online-pill__eq span:nth-child(1) { height: 8px; animation-delay: 0s; }
.online-pill__eq span:nth-child(2) { height: 16px; animation-delay: 0.22s; }
.online-pill__eq span:nth-child(3) { height: 11px; animation-delay: 0.44s; }

@keyframes eq {
    0%, 100% { transform: scaleY(0.5); }
    50%      { transform: scaleY(1); }
}

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

.profiles-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    align-items: stretch;
}

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px 18px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.profile-card__lock {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--accent);
}

.profile-card__avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    padding: 4px;
    background: var(--canvas-soft);
    border: 2px solid var(--accent);
    box-shadow: var(--glow);
    overflow: hidden;
}

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

.profile-card__name {
    margin: 16px 0 2px;
    font-size: 1.22rem;
}

.profile-card__age {
    margin: 0 0 6px;
    color: var(--accent-bright);
    font-weight: 600;
    font-size: 0.98rem;
}

.profile-card__meta,
.profile-card__line {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.profile-card__actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}

.profile-card__actions .btn {
    flex: 1 1 0;
    padding-inline: 10px;
}

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

.steps {
    position: relative;
}

.steps-connector {
    position: absolute;
    left: -6%;
    right: -6%;
    top: 50%;
    transform: translateY(-50%);
    width: 112%;
    height: 320px;
    z-index: 0;
    opacity: 0.8;
    filter: drop-shadow(0 0 14px rgba(245, 131, 111, 0.55));
}

.steps-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.step-panel {
    position: relative;
    padding: 24px 22px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.step-panel__icon {
    display: inline-flex;
    color: var(--accent);
}

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

.step-panel__step {
    margin: 10px 0 4px;
    color: var(--accent-bright);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.step-panel__title {
    margin-bottom: 8px;
}

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

/* ============================================
   COMPARISON BAND + QUIZ
   ============================================ */

.band-compare {
    position: relative;
    padding: var(--section-pad) 0;
    background-image:
        radial-gradient(640px 420px at 8% 40%, rgba(58, 96, 160, 0.55), transparent 70%),
        radial-gradient(640px 420px at 94% 60%, rgba(221, 108, 92, 0.42), transparent 72%),
        linear-gradient(100deg, #2a3146 0%, #2b3045 55%, #3a2b36 100%);
    background-color: var(--canvas-deep);
}

.compare-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    align-items: start;
}

.compare-stage {
    position: relative;
}

.compare-anchor {
    position: absolute;
    left: 50%;
    top: -34px;
    transform: translateX(-50%);
    width: 150px;
    height: calc(100% + 86px);
    z-index: 2;
    opacity: 0.4;
}

.compare-card {
    position: relative;
    z-index: 3;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: rgba(26, 30, 44, 0.66);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    text-align: left;
}

.compare-table caption {
    caption-side: top;
    padding: 12px 10px 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: left;
}

.compare-table th,
.compare-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
    font-size: 0.98rem;
}

.compare-table thead th {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
    border-bottom: 1px solid var(--hairline);
}

.compare-table tbody th {
    color: var(--text);
    font-weight: 700;
    width: 28%;
}

.compare-table__ours,
.compare-table__theirs {
    color: var(--text-muted);
}

.compare-table__ours span:last-child {
    color: var(--text);
}

.compare-glyph {
    display: inline-flex;
    margin-right: 8px;
    vertical-align: -4px;
}

.compare-glyph--yes { color: var(--accent); }
.compare-glyph--no { color: #98a2bb; }

/* Mini quiz */
.quiz-card {
    position: relative;
    z-index: 3;
    border-radius: var(--radius-lg);
    background: rgba(26, 30, 44, 0.72);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.quiz-card__head {
    padding: 14px 20px;
    background: linear-gradient(180deg, rgba(245, 131, 111, 0.3), rgba(245, 131, 111, 0.12));
    border-bottom: 1px solid var(--hairline);
}

.quiz-card__head h3,
.quiz-card__head p {
    margin: 0;
}

.quiz-card__body {
    padding: 20px;
}

.quiz-group {
    margin-bottom: 20px;
}

.quiz-group__label {
    display: block;
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--text);
}

.quiz-options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 92px;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hairline);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.quiz-option__icon {
    display: inline-flex;
    color: var(--accent-bright);
}

.quiz-option:hover {
    border-color: var(--accent);
}

.quiz-option:active {
    transform: scale(0.97);
}

.quiz-option.is-selected {
    background: linear-gradient(180deg, #ff9584, #f16f5c);
    border-color: transparent;
    color: var(--accent-ink);
}

.quiz-option.is-selected .quiz-option__icon {
    color: var(--accent-ink);
}

.quiz-slider-wrap {
    margin: 6px 0 20px;
}

.quiz-slider-wrap label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.quiz-slider-value {
    color: var(--accent-bright);
}

.quiz-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--fill, 50%), rgba(255, 255, 255, 0.14) var(--fill, 50%), rgba(255, 255, 255, 0.14) 100%);
    border: 1px solid var(--hairline);
    cursor: pointer;
}

.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ff9584;
    border: 3px solid #fff1ed;
    box-shadow: var(--glow);
}

.quiz-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff9584;
    border: 3px solid #fff1ed;
    box-shadow: var(--glow);
}

.quiz-note {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 0.93rem;
}

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

.faq {
    position: relative;
}

.faq-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    max-width: 820px;
    margin-inline: auto;
}

.faq-item {
    align-self: start;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.faq-item[open] {
    background: var(--glass-strong);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    list-style: none;
}

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

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

.faq-item__glyph::before,
.faq-item__glyph::after {
    content: "";
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
}

.faq-item__glyph::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

.faq-item__glyph::after {
    left: 8px;
    top: 0;
    width: 2px;
    height: 18px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item[open] .faq-item__glyph::after {
    transform: scaleY(0);
    opacity: 0;
}

.faq-item__a {
    padding: 0 18px 18px;
    color: var(--text-muted);
    animation: faq-reveal 0.26s ease;
}

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

@keyframes faq-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.faq__ornament-left,
.faq__ornament-right {
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.faq__ornament-left { left: -140px; }
.faq__ornament-right { right: -140px; }

/* ============================================
   CLOSING CTA
   ============================================ */

.cta-band {
    position: relative;
    text-align: center;
    padding: var(--section-pad) 0;
}

.cta-band__panel {
    max-width: 760px;
    margin-inline: auto;
    padding: 32px 22px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

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

/* ============================================
   LEGAL / CONTENT PAGES
   ============================================ */

.page-header {
    position: relative;
    padding: 46px 0 10px;
    text-align: center;
}

.page-header__panel {
    position: relative;
    width: min(100% - 2rem, 760px);
    margin-inline: auto;
    padding: 38px 22px 26px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 60px rgba(245, 131, 111, 0.14);
}

.page-header__medallion {
    display: block;
    margin: 0 auto 14px;
}

.page-header__meta {
    margin: 0;
    color: var(--accent-bright);
    font-weight: 600;
    font-size: 0.95rem;
}

.page-header__lead {
    margin: 14px auto 0;
    max-width: 58ch;
    color: var(--text-muted);
}

.legal-page {
    padding: 30px 0 var(--section-pad);
}

.prose {
    width: min(100% - 2rem, 820px);
    margin-inline: auto;
}

.prose section {
    margin-bottom: 42px;
}

.prose h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hairline);
}

.prose h3 {
    margin-top: 28px;
}

.prose p,
.prose li {
    color: var(--text-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.prose ul,
.prose ol {
    padding-left: 22px;
    margin: 0 0 1.1em;
}

.prose li {
    margin-bottom: 8px;
}

.prose a {
    color: var(--accent-bright);
}

.info-block {
    display: flex;
    gap: 14px;
    padding: 18px;
    margin: 0 0 16px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--hairline-soft);
    border-left: 3px solid var(--accent);
}

.info-block__icon {
    color: var(--accent);
    flex: none;
}

.info-block__icon .icon {
    width: 26px;
    height: 26px;
}

.info-block__title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.info-block__body p:last-child,
.info-block__body ul:last-child {
    margin-bottom: 0;
}

.rights-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
}

.right-tile {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--hairline);
}

.right-tile__icon {
    color: var(--accent-bright);
}

.right-tile__title {
    margin: 8px 0 6px;
    font-size: 1.06rem;
}

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

.badge-panel {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    margin: 26px 0 0;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--accent);
    box-shadow: 0 0 34px rgba(245, 131, 111, 0.2);
}

.badge-panel__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--accent-bright);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

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

.step-list {
    list-style: none;
    counter-reset: steps;
    margin: 0 0 18px;
    padding: 0;
}

.step-list__item {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 0 0 18px;
}

.step-list__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: var(--hairline);
}

.step-list__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    color: var(--accent-bright);
    font-weight: 700;
    background: rgba(245, 131, 111, 0.1);
}

.step-list__text {
    color: var(--text-muted);
    padding-top: 5px;
}

/* Cookie banner mock (cookie policy page) */
.banner-mock {
    max-width: 340px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--glass-strong);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow);
}

.banner-mock__title {
    margin: 0 0 10px;
    color: var(--accent-bright);
    font-weight: 700;
}

.banner-mock__bar {
    display: block;
    height: 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 8px;
}

.banner-mock__bar--short { width: 62%; }

.banner-mock__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.banner-mock__head .icon {
    width: 18px;
    height: 18px;
    color: var(--text-dim);
}

.banner-mock__actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

/* ============================================
   LEGAL TABLE (two-column purpose/basis list)
   ============================================ */

.legal-table {
    display: grid;
    gap: 18px 32px;
    grid-template-columns: 1fr;
    margin: 0 0 20px;
}

.legal-table__item {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--hairline-soft);
}

.legal-table__item h3 {
    margin: 0 0 8px;
    font-size: 1.04rem;
}

.legal-table__item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

@media (min-width: 768px) {
    .legal-table {
        grid-template-columns: 1fr 1fr;
        position: relative;
    }

    .legal-table::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--hairline);
        transform: translateX(-0.5px);
    }
}

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

.site-footer {
    padding: 30px 0 110px;
}

.footer-frame {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    box-shadow: var(--glow);
}

.footer-note {
    max-width: 62ch;
    margin: 0 auto 18px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-bottom: 18px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-bright);
    text-decoration: underline;
}

.footer-brand {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-copy {
    margin: 6px 0 0;
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* ============================================
   STICKY MOBILE CTA + COOKIE CONSENT
   ============================================ */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(24, 28, 42, 0.94);
    border-top: 1px solid var(--hairline);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(120%);
    transition: transform 0.28s ease;
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

.sticky-cta__note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.cookie-consent {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 80;
    display: none;
    max-width: 380px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(26, 30, 44, 0.96);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.cookie-consent.is-visible {
    display: block;
}

.cookie-consent__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
}

.cookie-consent__close:hover {
    color: var(--accent-bright);
}

.cookie-consent__title {
    margin: 0 0 8px;
    font-weight: 700;
    color: var(--text);
}

.cookie-consent__text {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-consent__actions .btn {
    flex: 1 1 140px;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   BREAKPOINTS
   ============================================ */

@media (min-width: 600px) {
    .cookie-consent {
        left: auto;
        right: 20px;
        bottom: 20px;
    }
}

@media (min-width: 768px) {
    :root {
        --section-pad: 92px;
        --header-bottom: 78px;
    }

    body {
        font-size: 18px;
    }

    .nav-toggle {
        display: none;
    }

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

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 26px;
        background: none;
        padding: 0;
        overflow: visible;
        height: auto;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 22px;
        margin: 0;
    }

    .site-nav__list a {
        min-height: 44px;
        border-bottom: 0;
        font-size: 0.98rem;
    }

    .site-nav__cta {
        display: none;
    }

    .sticky-cta {
        display: none;
    }

    .site-footer {
        padding-bottom: 40px;
    }

    .hero__frame {
        padding: 30px;
    }

    .hero__media {
        min-height: 520px;
        align-items: center;
    }

    .hero__panel {
        margin: 28px;
    }

    .knot-frame__edge--top,
    .knot-frame__edge--bottom {
        height: 34px;
    }

    .knot-frame__edge--left,
    .knot-frame__edge--right {
        width: 34px;
    }

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

    .step-panel {
        clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%, 34px 50%);
        padding: 26px 46px;
        border-radius: 0;
    }

    .steps-grid .step-panel:first-child {
        clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%);
        border-radius: var(--radius) 0 0 var(--radius);
        padding-left: 28px;
    }

    .steps-grid .step-panel:last-child {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34px 50%);
        border-radius: 0 var(--radius) var(--radius) 0;
        padding-right: 28px;
    }

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

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

    .footer-frame {
        padding: 34px 28px;
    }
}

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

    .hero__media {
        min-height: 580px;
        background-position: 72% 40%;
    }

    .hero__panel {
        margin: 40px;
        padding: 30px;
        max-width: 46%;
    }

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

    .compare-layout {
        grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
        gap: 28px;
    }

    .compare-table {
        min-width: 0;
    }

    .compare-card {
        padding: 18px 22px 10px;
    }

    .faq__ornament-left,
    .faq__ornament-right {
        display: block;
    }

    .faq__ornament-right {
        transform: translateY(-50%) scaleX(-1);
    }

    .cta-band__panel {
        padding: 44px 40px;
    }
}

@media (min-width: 1280px) {
    .page-header {
        padding-top: 60px;
    }
}

/* ============================================
   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;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .faq-item__a {
        animation: none;
    }

    .sticky-cta {
        transform: none;
        display: none;
    }

    .sticky-cta.is-visible {
        display: flex;
    }
}