/*
 * Simplesweety - futuristic crystal / neon design system
 * Canonical design tokens live in this file.
 */

@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

:root {
    /* Surfaces */
    --bg: #07051a;
    --bg-deep: #04030f;
    --bg-raise: #110c33;
    --drawer: #0c0828;
    --glass: rgba(28, 22, 74, 0.5);
    --glass-strong: rgba(20, 15, 56, 0.82);
    --glass-line: rgba(182, 156, 255, 0.36);
    --glass-line-bright: rgba(125, 240, 255, 0.6);

    /* Ink */
    --ink: #f5f3ff;
    --ink-soft: #d9d4f4;
    --ink-muted: #b8b2da;

    /* Neon accents */
    --violet: #8b5cf6;
    --violet-bright: #b69cff;
    --violet-deep: #5b21b6;
    --cyan: #3ee6ff;
    --cyan-soft: #8ef3ff;
    --magenta: #f04fd6;
    --magenta-soft: #ff8be6;

    /* Glows */
    --glow-violet: 0 0 24px rgba(139, 92, 246, 0.55);
    --glow-cyan: 0 0 22px rgba(62, 230, 255, 0.45);
    --glow-magenta: 0 0 28px rgba(240, 79, 214, 0.5);

    /* Type */
    --font-display: "Exo 2", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Layout */
    --container: 1120px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(56px, 9vw, 104px);
    --radius-s: 10px;
    --radius-m: 16px;
    --radius-l: 24px;
    --pill: 999px;
    --header-bottom: 72px;

    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

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

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

body {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 0.5em;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 6.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.35rem); }
h3 { font-size: clamp(1.125rem, 2.2vw, 1.3rem); font-weight: 600; }

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

a {
    color: var(--cyan-soft);
    text-underline-offset: 0.15em;
}

a:hover {
    color: #fff;
}

strong {
    color: #fff;
}

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

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

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

.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: 100;
    padding: 10px 16px;
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
}

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

/* Full-page neon crystal lattice backdrop, stacked vertically */
.site-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: var(--bg);
    background-image: url("./assets/d28855b102e84ab06bb487e6062dc148.webp");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 150% auto;
}

@media (min-width: 768px) {
    .site-backdrop { background-size: 120% auto; }
}

@media (min-width: 1024px) {
    .site-backdrop { background-size: 100% auto; }
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */

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

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

.section--tight {
    padding-block: calc(var(--section-y) * 0.6);
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(24px, 4vw, 40px);
    text-align: center;
}

.section-head p {
    color: var(--ink-soft);
}

.lead {
    font-size: 1.125rem;
    color: var(--ink-soft);
}

.prose {
    max-width: 70ch;
}

.prose p,
.prose li {
    color: var(--ink-soft);
}

.micro {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.glass {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    border-radius: var(--radius-l);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 3px 12px;
    border-radius: var(--pill);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    background: rgba(62, 230, 255, 0.12);
    border: 1px solid rgba(62, 230, 255, 0.45);
    color: var(--cyan-soft);
}

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

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: var(--pill);
    border: 1.5px solid rgba(214, 196, 255, 0.9);
    background: linear-gradient(180deg, #8a46f0 0%, #6a2ad6 55%, #5a1fc0 100%);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.45),
        0 0 22px rgba(139, 92, 246, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
    -webkit-tap-highlight-color: transparent;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    border-color: #fff;
    box-shadow:
        0 0 0 1px rgba(182, 156, 255, 0.6),
        0 0 34px rgba(139, 92, 246, 0.85),
        0 0 60px rgba(240, 79, 214, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn:hover::after {
    transform: translateX(120%);
}

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

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

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

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

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

.btn--pulse::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -2;
    border-radius: inherit;
    box-shadow: 0 0 26px 6px rgba(240, 79, 214, 0.45);
    opacity: 0;
    animation: cta-pulse 2.8s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

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

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

.round-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(214, 196, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s;
}

.round-btn .icon {
    width: 20px;
    height: 20px;
}

.round-btn:hover {
    transform: scale(1.08);
    background: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 16px rgba(240, 79, 214, 0.55);
}

.round-btn--hot {
    color: var(--magenta-soft);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 10px var(--gutter) 0;
}

.site-header__bar {
    position: relative;
    isolation: isolate;
    max-width: 1000px;
    min-height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 12px;
    border-radius: 18px;
    border: 1px solid var(--glass-line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(139, 92, 246, 0.18);
}

.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(110deg, rgba(34, 26, 88, 0.78), rgba(14, 10, 44, 0.84) 60%, rgba(30, 20, 78, 0.8));
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.site-header__bar::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: -1px;
    height: 1px;
    z-index: -1;
    background: linear-gradient(90deg, transparent, var(--cyan-soft), var(--violet-bright), transparent);
    pointer-events: none;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    flex: none;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.site-brand:hover {
    color: #fff;
}

.site-brand__mark {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px rgba(240, 79, 214, 0.55));
}

.site-brand__simple {
    color: var(--cyan);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

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

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

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 55;
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 20px var(--gutter) 32px;
    background: var(--drawer);
    border-top: 1px solid var(--glass-line);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-nav.is-open {
    display: flex;
    animation: drawer-in 0.28s var(--ease);
}

@keyframes drawer-in {
    from { transform: translateY(-10px); }
    to { transform: none; }
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 6px;
    border-bottom: 1px solid rgba(182, 156, 255, 0.18);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

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

.site-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

@media (min-width: 360px) {
    .header-actions .header-cta {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .site-header__bar {
        padding: 8px 10px 8px 18px;
        gap: 12px;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-left: auto;
        padding: 0;
        gap: 0;
        background: none;
        border: 0;
        overflow: visible;
        z-index: auto;
    }

    .site-nav .site-nav__cta,
    .site-nav .site-nav__item--home {
        display: none;
    }

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

    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0 10px;
        border: 0;
        border-radius: 10px;
        font-family: var(--font-body);
        font-size: 0.9375rem;
        color: var(--ink-soft);
        transition: color 0.2s, background-color 0.2s;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 6px;
        height: 2px;
        border-radius: 2px;
        background: var(--cyan);
        box-shadow: 0 0 10px var(--cyan);
        transform: scaleX(0);
        transition: transform 0.25s var(--ease);
    }

    .site-nav__link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

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

    .site-nav__link[aria-current="page"] {
        color: var(--cyan-soft);
    }

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

@media (min-width: 1024px) {
    .site-nav__list { gap: 6px; }
    .site-nav__link { padding: 0 14px; }
    .site-nav__link::after { left: 14px; right: 14px; }
    .site-brand { font-size: 1.3rem; }
}

/* ============================================
   CRYSTAL HERO FRAME
   ============================================ */

.crystal-hero {
    position: relative;
    padding-block: clamp(18px, 3vw, 36px) clamp(40px, 6vw, 72px);
    --hero-clip: polygon(20% 5.33%, 80% 5.33%, 92% 17.33%, 92% 82.67%, 80% 94.67%, 20% 94.67%, 8% 82.67%, 8% 17.33%);
    --bloom-a: rgba(139, 92, 246, 0.5);
    --bloom-b: rgba(62, 230, 255, 0.24);
    --underglow: rgba(240, 79, 214, 0.7);
}

.crystal-hero--cyan {
    --bloom-a: rgba(62, 230, 255, 0.34);
    --bloom-b: rgba(139, 92, 246, 0.34);
    --underglow: rgba(139, 92, 246, 0.7);
}

.crystal-hero--magenta {
    --bloom-a: rgba(180, 80, 240, 0.45);
    --bloom-b: rgba(240, 79, 214, 0.28);
    --underglow: rgba(240, 79, 214, 0.75);
}

.crystal-hero__frame {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: clamp(560px, 150vw, 700px);
}

.crystal-hero__frame::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -34px;
    height: 70px;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 40%, var(--underglow), transparent 70%);
    filter: blur(14px);
    pointer-events: none;
}

.crystal-hero__bloom {
    position: absolute;
    inset: -12% -25%;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 45% at 50% 48%, var(--bloom-a), transparent 70%),
        radial-gradient(ellipse 40% 35% at 28% 60%, var(--bloom-b), transparent 70%),
        radial-gradient(ellipse 40% 35% at 74% 64%, rgba(240, 79, 214, 0.2), transparent 70%);
    filter: blur(24px);
    animation: bloom-pulse 3.2s ease-in-out 2 alternate;
}

@keyframes bloom-pulse {
    from { transform: scale(0.94); opacity: 0.7; }
    to { transform: scale(1.04); opacity: 1; }
}

.crystal-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.crystal-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-focus-mobile, 50% 35%);
    clip-path: var(--hero-clip);
    background: var(--bg-raise);
}

.crystal-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: var(--hero-clip);
    background: linear-gradient(180deg,
        rgba(16, 10, 50, 0.08) 0%,
        rgba(24, 12, 66, 0.3) 32%,
        rgba(16, 9, 48, 0.82) 62%,
        rgba(9, 6, 30, 0.94) 100%);
    pointer-events: none;
}

.bezel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6)) drop-shadow(0 0 24px rgba(62, 230, 255, 0.22));
}

.bezel--wide {
    display: none;
}

.bezel__facet {
    fill-opacity: 0.55;
}

.bezel__facet--a { fill: url(#gd-facet-a); }
.bezel__facet--b { fill: url(#gd-facet-b); }
.bezel__facet--c { fill: url(#gd-facet-c); }

.crystal-hero--cyan .bezel__facet--b,
.crystal-hero--cyan .bezel__facet--c {
    fill: url(#gd-facet-a);
}

.bezel__outer {
    fill: none;
    stroke: url(#gd-edge);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.bezel__inner {
    fill: none;
    stroke: #efeaff;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.bezel__line {
    fill: none;
    stroke: rgba(233, 253, 255, 0.16);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.crystal-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 11% 15%;
    text-align: center;
}

.crystal-hero__content h1 {
    margin: 0;
    text-shadow: 0 2px 18px rgba(8, 5, 30, 0.85);
}

.crystal-hero__content p {
    margin: 0;
    color: var(--ink-soft);
    text-shadow: 0 1px 10px rgba(8, 5, 30, 0.9);
}

.crystal-hero__caption {
    margin: 22px 0 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-muted);
}

/* Left variant: stacks below the photo on mobile */
.crystal-hero--left .crystal-hero__frame {
    display: block;
    min-height: 0;
}

.crystal-hero--left .crystal-hero__media {
    position: relative;
    aspect-ratio: 4 / 3;
}

.crystal-hero--left .crystal-hero__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(12, 8, 40, 0.5) 100%);
}

.crystal-hero--left .crystal-hero__content {
    align-items: flex-start;
    text-align: left;
    padding: 28px 4px 0;
}

.crystal-hero--compact .crystal-hero__frame {
    min-height: clamp(500px, 135vw, 620px);
}

@media (min-width: 768px) {
    .crystal-hero {
        --hero-clip: polygon(18.5% 8%, 50% 6.8%, 81.5% 8%, 93% 50%, 81.5% 92%, 50% 93.2%, 18.5% 92%, 7% 50%);
    }

    .bezel--wide { display: block; }
    .bezel--tall { display: none; }

    .crystal-hero__img {
        object-position: var(--hero-focus, 50% 40%);
    }

    .crystal-hero__frame {
        align-items: center;
        min-height: 480px;
    }

    .crystal-hero__media::after {
        background:
            radial-gradient(ellipse 42% 52% at 50% 52%, rgba(20, 10, 58, 0.8), rgba(20, 10, 58, 0.4) 70%, transparent 100%),
            linear-gradient(180deg, rgba(40, 18, 96, 0.3) 0%, rgba(26, 12, 72, 0.25) 50%, rgba(10, 6, 34, 0.55) 100%);
    }

    .crystal-hero__content {
        padding: 72px 18%;
    }

    .crystal-hero--left .crystal-hero__frame {
        display: grid;
        align-items: center;
        min-height: 480px;
    }

    .crystal-hero--left .crystal-hero__media {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
    }

    .crystal-hero--left .crystal-hero__media::after {
        background: linear-gradient(90deg, rgba(10, 6, 36, 0.94) 0%, rgba(14, 8, 44, 0.8) 40%, rgba(14, 8, 44, 0.2) 64%, transparent 78%);
    }

    .crystal-hero--left .crystal-hero__content {
        max-width: 56%;
        padding: 64px 0 64px 15%;
    }

    .crystal-hero--compact .crystal-hero__frame {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .crystal-hero__frame {
        min-height: 520px;
    }

    .crystal-hero__content {
        padding: 80px 20%;
    }

    .crystal-hero--left .crystal-hero__frame {
        min-height: 520px;
    }

    .crystal-hero--compact .crystal-hero__frame {
        min-height: 420px;
    }
}

/* ============================================
   CRYSTAL STEPS + CONDUIT
   ============================================ */

.crystal-steps {
    --node: 72px;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 28px;
}

.crystal-steps::before,
.crystal-steps::after {
    content: "";
    position: absolute;
    left: calc(var(--node) / 2 - 2px);
    top: calc(var(--node) / 2);
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
    pointer-events: none;
}

.crystal-steps::before {
    background: linear-gradient(180deg, var(--cyan), var(--violet) 50%, var(--magenta));
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.9), 0 0 26px rgba(62, 230, 255, 0.35);
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
    mask-image: linear-gradient(180deg, #000 82%, transparent);
}

.crystal-steps::after {
    background: linear-gradient(180deg, transparent 0 44%, rgba(255, 255, 255, 0.95) 50%, transparent 56% 100%);
    background-size: 100% 300%;
    animation: flow-y 3.6s linear infinite;
}

@keyframes flow-y {
    from { background-position: 50% 100%; }
    to { background-position: 50% 0%; }
}

@keyframes flow-x {
    from { background-position: 100% 50%; }
    to { background-position: 0% 50%; }
}

.crystal-steps__item {
    position: relative;
    display: grid;
    grid-template-columns: var(--node) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.crystal-steps__item:nth-child(1) { --node-c: var(--cyan); }
.crystal-steps__item:nth-child(2) { --node-c: var(--violet-bright); }
.crystal-steps__item:nth-child(3) { --node-c: #cf6bf3; }
.crystal-steps__item:last-child { --node-c: var(--magenta); }

.crystal-node {
    position: relative;
    z-index: 1;
    width: var(--node);
    height: var(--node);
    display: grid;
    place-items: center;
    color: #fff;
}

.crystal-node__hex {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--node-c, var(--cyan));
    filter: drop-shadow(0 0 5px var(--node-c, var(--cyan)));
    transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: calc(var(--i, 0) * 0.3s);
}

.crystal-node__shape {
    fill: url(#gd-hex);
    stroke: currentColor;
    stroke-width: 2;
}

.crystal-node__facet {
    fill: rgba(255, 255, 255, 0.16);
}

.crystal-node__facet--b {
    fill: rgba(8, 5, 30, 0.28);
}

.crystal-node__inner {
    fill: none;
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 1;
}

.crystal-node__icon {
    position: relative;
    width: 30px;
    height: 30px;
}

.crystal-node__num {
    position: relative;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
}

.crystal-steps.is-visible .crystal-node__hex {
    filter: drop-shadow(0 0 14px var(--node-c, var(--cyan))) brightness(1.18);
    transform: scale(1.05);
}

.crystal-steps__body {
    padding-top: 10px;
}

.crystal-steps__title {
    margin-bottom: 6px;
}

.crystal-steps__text {
    margin: 0;
    color: var(--ink-soft);
}

.crystal-steps__text p,
.crystal-steps__text ul {
    margin: 0 0 0.75em;
}

.crystal-steps__text > :last-child {
    margin-bottom: 0;
}

.crystal-steps__extra {
    margin-top: 16px;
}

@media (min-width: 768px) {
    .crystal-steps--compact {
        grid-template-columns: repeat(var(--count), minmax(0, 1fr));
        column-gap: 0;
    }

    .crystal-steps--compact .crystal-steps__item {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        padding-inline: 14px;
        gap: 12px;
    }

    .crystal-steps--compact::before,
    .crystal-steps--compact::after {
        left: calc(100% / var(--count) / 2);
        right: calc(100% / var(--count) / 2);
        top: calc(var(--node) / 2 - 2px);
        bottom: auto;
        width: auto;
        height: 4px;
    }

    .crystal-steps--compact::before {
        background: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--magenta));
        -webkit-mask-image: none;
        mask-image: none;
    }

    .crystal-steps--compact::after {
        background: linear-gradient(90deg, transparent 0 44%, rgba(255, 255, 255, 0.95) 50%, transparent 56% 100%);
        background-size: 300% 100%;
        animation-name: flow-x;
    }

    .crystal-steps--compact .crystal-steps__body {
        padding-top: 0;
    }
}

@media (min-width: 1024px) {
    .crystal-steps--detailed {
        grid-template-columns: repeat(var(--count), minmax(0, 1fr));
        column-gap: 0;
    }

    .crystal-steps--detailed .crystal-steps__item {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        padding-inline: 14px;
        gap: 14px;
    }

    .crystal-steps--detailed .crystal-node {
        justify-self: center;
    }

    .crystal-steps--detailed::before,
    .crystal-steps--detailed::after {
        left: calc(100% / var(--count) / 2);
        right: calc(100% / var(--count) / 2);
        top: calc(var(--node) / 2 - 2px);
        bottom: auto;
        width: auto;
        height: 4px;
    }

    .crystal-steps--detailed::before {
        background: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--magenta));
        -webkit-mask-image: none;
        mask-image: none;
    }

    .crystal-steps--detailed::after {
        background: linear-gradient(90deg, transparent 0 44%, rgba(255, 255, 255, 0.95) 50%, transparent 56% 100%);
        background-size: 300% 100%;
        animation-name: flow-x;
    }

    .crystal-steps--detailed .crystal-steps__body {
        padding-top: 0;
    }

    .crystal-steps--detailed .crystal-steps__title {
        text-align: center;
        width: 100%;
    }
}

/* ============================================
   SHIELD BADGES
   ============================================ */

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

.shield-card__label {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.25rem, 6vw, 3rem);
    line-height: 1;
    color: var(--cyan-soft);
    text-shadow: 0 0 18px rgba(62, 230, 255, 0.55);
}

.shield-card__badge {
    position: relative;
    width: 96px;
    height: 112px;
    display: grid;
    place-items: center;
    color: #fff;
    transition: transform 0.3s var(--ease);
}

.shield-card__badge::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -14px;
    height: 26px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.75), transparent 70%);
    filter: blur(8px);
}

.shield-card:hover .shield-card__badge {
    transform: translateY(-4px);
}

.shield-card__shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.55));
}

.shield-card__outer {
    fill: url(#gd-shield);
    stroke: url(#gd-edge);
    stroke-width: 2;
}

.shield-card__bevel {
    fill: rgba(255, 255, 255, 0.1);
}

.shield-card__inner {
    fill: rgba(10, 6, 34, 0.22);
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 1.2;
}

.shield-card__icon {
    position: relative;
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
}

.shield-card__title {
    margin: 8px 0 0;
}

.shield-card__text {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.shield-card__text ul {
    text-align: left;
    margin: 8px 0 0;
}

.shield-card--lg .shield-card__badge {
    width: 150px;
    height: 174px;
}

.shield-card--lg .shield-card__icon {
    width: 56px;
    height: 56px;
}

/* ============================================
   GLASS TABLE
   ============================================ */

.table-frame {
    position: relative;
    padding: 6px;
    border-radius: 20px;
    border: 1px solid var(--glass-line);
    background: rgba(12, 9, 40, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.35);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-frame:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.gtable {
    width: 100%;
    min-width: var(--table-min, 560px);
    border-collapse: separate;
    border-spacing: 6px 8px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.gtable caption {
    caption-side: bottom;
    padding: 6px 8px 4px;
    text-align: left;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.gtable th,
.gtable td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-radius: 12px;
    border: 1px solid rgba(170, 160, 220, 0.2);
    background: rgba(38, 34, 72, 0.7);
    color: var(--ink-soft);
}

.gtable__head {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background: rgba(28, 22, 70, 0.92);
    white-space: nowrap;
}

.gtable__head span,
.gtable__head .gtable__icon {
    vertical-align: middle;
}

.gtable__icon {
    margin-right: 6px;
}

.gtable__head--muted {
    color: #dcdaea;
    background: rgba(46, 44, 64, 0.9);
}

.gtable__head--muted .gtable__icon {
    color: #b9b6cc;
}

.gtable__head--brand {
    border-color: rgba(62, 230, 255, 0.6);
    box-shadow: inset 0 0 16px rgba(62, 230, 255, 0.2), 0 0 16px rgba(62, 230, 255, 0.25);
}

.gtable__head--brand .gtable__icon,
.gtable__head--safe .gtable__icon {
    color: var(--cyan);
}

.gtable__head--risky .gtable__icon {
    color: var(--magenta-soft);
}

.gtable__cell--label {
    font-weight: 700;
    color: #fff;
    background: rgba(24, 18, 62, 0.88);
}

.gtable__cell--muted {
    color: #cfccdf;
    background: rgba(48, 46, 64, 0.78);
}

.gtable__cell--brand {
    color: #eafcff;
    background: rgba(14, 42, 76, 0.78);
    border-color: rgba(62, 230, 255, 0.45);
    box-shadow: inset 0 0 14px rgba(62, 230, 255, 0.16), 0 0 12px rgba(62, 230, 255, 0.14);
}

.gtable tbody tr:nth-child(even) .gtable__cell--brand {
    background: rgba(12, 64, 96, 0.78);
    border-color: rgba(62, 230, 255, 0.65);
}

.gtable__cell--safe {
    color: #eafcff;
    background: rgba(14, 46, 78, 0.78);
    border-color: rgba(62, 230, 255, 0.45);
    box-shadow: inset 0 0 14px rgba(62, 230, 255, 0.14);
}

.gtable__cell--risky {
    color: #f6e2f1;
    background: rgba(70, 20, 66, 0.72);
    border-color: rgba(240, 79, 214, 0.32);
}

.gtable--sticky thead th:first-child,
.gtable--sticky tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #18123f;
}

/* ============================================
   PROFILE COVERFLOW
   ============================================ */

.coverflow {
    position: relative;
    --cf-card: min(250px, 66vw);
    --cf-k: 0.8;
    overflow-x: clip;
    padding-block: 8px;
}

.coverflow__track {
    list-style: none;
    margin: 0;
    padding: 12px 4px 18px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.coverflow__track:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
    border-radius: 16px;
}

.profile-card {
    flex: 0 0 var(--cf-card);
    width: var(--cf-card);
    scroll-snap-align: center;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.45));
}

.profile-card__frame {
    --cut: 16px;
    padding: 2px;
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
    background: linear-gradient(160deg, var(--cyan-soft), var(--violet) 48%, var(--magenta));
}

.profile-card__inner {
    --cut: 15px;
    position: relative;
    aspect-ratio: 10 / 13;
    overflow: hidden;
    background: var(--bg-raise);
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}

.profile-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
    transition: filter 0.5s var(--ease);
    -webkit-user-drag: none;
    user-select: none;
}

.profile-card__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 46px 14px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 6, 34, 0.86) 34%, rgba(10, 6, 34, 0.97) 100%);
}

.profile-card__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.profile-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 10px;
    border-radius: var(--pill);
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: rgba(139, 92, 246, 0.45);
    border: 1px solid rgba(214, 196, 255, 0.6);
}

.profile-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    color: #fff;
}

.profile-card__bio {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.profile-card__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.coverflow__nav {
    position: absolute;
    top: calc(50% - 20px);
    z-index: 20;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--glass-line);
    background: rgba(14, 10, 42, 0.82);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;
}

.coverflow__nav .icon {
    width: 24px;
    height: 24px;
}

.coverflow__nav:hover {
    border-color: var(--cyan);
    background: rgba(30, 22, 80, 0.92);
    box-shadow: var(--glow-cyan);
}

.coverflow__nav--prev { left: 2px; }
.coverflow__nav--next { right: 2px; }

.coverflow__caption {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

/* Enhanced 3D coverflow (JS adds .is-enhanced) */
.coverflow.is-enhanced .coverflow__track {
    display: block;
    position: relative;
    overflow: visible;
    height: calc(var(--cf-card) * 1.3 + 40px);
    padding: 0;
    perspective: 1100px;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.coverflow.is-enhanced .coverflow__track:active {
    cursor: grabbing;
}

.coverflow.is-enhanced .profile-card {
    position: absolute;
    top: 18px;
    left: 50%;
    margin-left: calc(var(--cf-card) / -2);
    transform:
        translateX(calc(var(--pos, 0) * var(--cf-card) * var(--cf-k)))
        translateZ(calc(var(--abs, 0) * -70px))
        rotateY(calc(var(--pos, 0) * 16deg))
        scale(calc(1 - var(--abs, 0) * 0.1));
    transition: transform 0.55s var(--ease), filter 0.55s var(--ease), visibility 0.55s;
}

.coverflow.is-enhanced .profile-card.is-active {
    filter: drop-shadow(0 0 16px rgba(240, 79, 214, 0.6)) drop-shadow(0 0 6px rgba(62, 230, 255, 0.45));
}

.coverflow.is-enhanced .profile-card:not(.is-active) .profile-card__img {
    filter: brightness(0.62) saturate(0.85);
}

.coverflow.is-enhanced .profile-card:not(.is-active) {
    cursor: pointer;
}

.coverflow.is-enhanced .profile-card[data-abs="2"],
.coverflow.is-enhanced .profile-card[data-abs="3"] {
    visibility: hidden;
}

@media (min-width: 768px) {
    .coverflow {
        --cf-card: 250px;
        --cf-k: 0.68;
    }

    .coverflow__nav--prev { left: 8px; }
    .coverflow__nav--next { right: 8px; }
}

@media (min-width: 1024px) {
    .coverflow {
        --cf-card: 270px;
        --cf-k: 0.6;
        overflow-x: visible;
    }

    .coverflow.is-enhanced .profile-card[data-abs="2"] {
        visibility: visible;
    }

    .coverflow__nav--prev { left: calc(50% - 520px); }
    .coverflow__nav--next { right: calc(50% - 520px); }
}

@media (min-width: 1024px) and (max-width: 1140px) {
    .coverflow__nav--prev { left: 0; }
    .coverflow__nav--next { right: 0; }
}

/* ============================================
   SIMULATED ACTIVITY PILL
   ============================================ */

.sim-counter-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    margin-bottom: 18px;
}

.sim-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 10px 7px 16px;
    border-radius: 14px;
    border: 1px solid var(--glass-line);
    background: rgba(20, 16, 56, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(139, 92, 246, 0.25);
}

.sim-counter__label {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #fff;
}

.sim-counter__digits {
    display: inline-flex;
    gap: 4px;
}

.sim-counter__digit {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(125, 240, 255, 0.4);
    background: #1b1546;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--cyan-soft);
    animation: digit-tick 4.2s ease-in-out infinite;
    animation-delay: calc(var(--d, 0) * 0.35s);
}

@keyframes digit-tick {
    0%, 84%, 100% { transform: none; box-shadow: none; }
    89% { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 10px rgba(62, 230, 255, 0.55); }
    94% { transform: none; }
}

.sim-counter__note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

/* ============================================
   CRYSTAL SHARDS
   ============================================ */

.shards {
    position: relative;
    display: grid;
    gap: 22px;
    max-width: 360px;
    margin-inline: auto;
    padding-block: 12px;
}

.shard {
    position: relative;
    isolation: isolate;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 58px 15% 54px;
    text-align: center;
    animation: shard-float 7s ease-in-out infinite alternate;
}

.shard--2 { animation-delay: -2.3s; }
.shard--3 { animation-delay: -4.6s; }

@keyframes shard-float {
    from { translate: 0 0; }
    to { translate: 0 -8px; }
}

.shard__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
    filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.45));
}

.shard__fill {
    fill: url(#gd-shard-a);
    fill-opacity: 0.4;
}

.shard__fill--b {
    fill: url(#gd-shard-b);
}

.shard__line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.shard__edge {
    fill: none;
    stroke: url(#gd-edge);
    stroke-width: 1.6;
    vector-effect: non-scaling-stroke;
}

.shard__avatar {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: none;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(20, 14, 60, 0.7);
    color: #fff;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
}

.shard__avatar .icon {
    width: 28px;
    height: 28px;
}

.shard__mark {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 0.6;
    color: var(--cyan-soft);
    height: 16px;
}

.shard__title {
    margin: 0;
    font-size: 1.0625rem;
}

.shard__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #ece9ff;
    text-shadow: 0 1px 8px rgba(8, 5, 30, 0.9);
}

.shard__note {
    margin: 4px 0 0;
    padding-top: 6px;
    border-top: 1px dashed rgba(142, 243, 255, 0.5);
    font-size: 0.875rem;
    color: var(--cyan-soft);
}

.shards__frag {
    position: absolute;
    z-index: 3;
    width: 26px;
    height: 32px;
    opacity: 0.85;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.7));
    animation: frag-drift 9s ease-in-out infinite alternate;
}

.shards__frag--1 { top: -8px; left: 6%; }
.shards__frag--2 { top: 30%; right: -6px; width: 20px; height: 24px; animation-delay: -3s; }
.shards__frag--3 { bottom: 4%; left: -4px; width: 22px; height: 26px; animation-delay: -5s; }
.shards__frag--4 { bottom: -10px; right: 18%; animation-delay: -7s; }

@keyframes frag-drift {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(6px, -12px) rotate(18deg); }
}

@media (min-width: 768px) {
    .shards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
        gap: 0;
        align-items: center;
    }

    .shard {
        min-height: 340px;
        padding: 60px 13% 56px;
    }

    .shard--1 { rotate: -5deg; margin-right: -10px; margin-top: 24px; }
    .shard--2 { z-index: 2; min-height: 370px; }
    .shard--3 { rotate: 5deg; margin-left: -10px; margin-top: 34px; }
}

/* ============================================
   CRYSTAL CHEST
   ============================================ */

.chest {
    position: relative;
    isolation: isolate;
    max-width: 540px;
    margin-inline: auto;
    padding-bottom: 24px;
    text-align: center;
}

.chest::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -4px;
    height: 54px;
    z-index: -2;
    background: radial-gradient(ellipse, rgba(240, 79, 214, 0.7), transparent 70%);
    filter: blur(14px);
}

.chest__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.55));
}

.chest__lid {
    position: relative;
    isolation: isolate;
    padding: 11% 14% 8%;
    transform-origin: 50% 100%;
    transition: transform 0.9s var(--ease);
}

.chest.is-visible .chest__lid {
    transform: translateY(-10px) rotateX(10deg);
}

.chest__title {
    margin: 0;
    font-size: clamp(1.35rem, 4.6vw, 1.95rem);
    text-shadow: 0 0 18px rgba(139, 92, 246, 0.8);
}

.chest__rim {
    fill: url(#gd-glass-c);
    fill-opacity: 0.55;
}

.chest__face {
    fill: url(#gd-glass-v);
    fill-opacity: 0.42;
}

.chest__face--box {
    fill-opacity: 0.36;
}

.chest__facet {
    fill: rgba(125, 240, 255, 0.16);
}

.chest__facet--r {
    fill: rgba(240, 79, 214, 0.14);
}

.chest__opening {
    fill: rgba(255, 246, 255, 0.55);
}

.chest__edge {
    fill: none;
    stroke: url(#gd-edge);
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
}

.chest__edge--soft {
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 1;
}

.chest__burst {
    position: relative;
    z-index: -1;
    width: 86%;
    height: 72px;
    margin: -14px auto -26px;
    pointer-events: none;
}

.chest__burst::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 70%, #fff 0%, rgba(230, 210, 255, 0.9) 18%, rgba(160, 110, 255, 0.55) 45%, transparent 72%);
    filter: blur(6px);
}

.chest__burst::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 20%;
    height: 150%;
    background: repeating-conic-gradient(from -60deg at 50% 100%, rgba(255, 255, 255, 0.55) 0deg 3deg, transparent 3deg 14deg);
    -webkit-mask-image: radial-gradient(ellipse 55% 90% at 50% 100%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 55% 90% at 50% 100%, #000 20%, transparent 75%);
    filter: blur(2px);
}

.chest__box {
    position: relative;
    isolation: isolate;
    padding: 16% 11% 11%;
}

.chest__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.chest__body p {
    margin: 0;
    color: #efeaff;
    text-shadow: 0 1px 8px rgba(8, 5, 30, 0.85);
}

/* ============================================
   CRYSTAL ARROW CTA
   ============================================ */

.crystal-arrow {
    position: relative;
    isolation: isolate;
    max-width: 420px;
    margin-inline: auto;
    text-align: center;
}

.crystal-arrow__head {
    position: relative;
    isolation: isolate;
    padding: 30% 9% 5%;
}

.crystal-arrow__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.55));
}

.crystal-arrow__plane--l {
    fill: url(#gd-glass-v);
    fill-opacity: 0.55;
}

.crystal-arrow__plane--r {
    fill: url(#gd-glass-c);
    fill-opacity: 0.42;
}

.crystal-arrow__plane--c {
    fill: rgba(44, 30, 116, 0.6);
}

.crystal-arrow__edge {
    fill: none;
    stroke: url(#gd-edge);
    stroke-width: 2;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.crystal-arrow__crease {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.crystal-arrow__apex {
    position: absolute;
    top: -10px;
    left: calc(50% - 14px);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, rgba(182, 156, 255, 0.8) 35%, transparent 70%);
    animation: apex-glow 3s ease-in-out infinite alternate;
}

@keyframes apex-glow {
    from { transform: scale(0.85); }
    to { transform: scale(1.2); }
}

.crystal-arrow__title {
    margin: 0;
    font-size: clamp(1.4rem, 4.2vw, 1.95rem);
    text-shadow: 0 0 18px rgba(139, 92, 246, 0.85);
}

.crystal-arrow__shaft {
    position: relative;
    width: 56%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 12px 64px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%),
        linear-gradient(90deg, rgba(118, 84, 232, 0.5) 0 50%, rgba(60, 140, 228, 0.36) 50% 100%);
    border-left: 1.5px solid rgba(182, 156, 255, 0.75);
    border-right: 1.5px solid rgba(125, 240, 255, 0.65);
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent);
}

.crystal-arrow__shaft p {
    margin: 0;
    font-size: 0.9375rem;
    color: #efeaff;
    text-shadow: 0 1px 8px rgba(8, 5, 30, 0.85);
}

.crystal-arrow__shaft .btn {
    padding-inline: 20px;
}

@media (max-width: 379px) {
    .crystal-arrow__shaft {
        width: 64%;
    }
}

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

.faq-grid {
    display: grid;
    gap: 14px;
}

.faq-card {
    padding: 18px 20px;
    border-radius: var(--radius-m);
    border: 1px solid rgba(139, 92, 246, 0.5);
    background: rgba(18, 14, 50, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 26px rgba(0, 0, 0, 0.3);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.faq-card:hover {
    border-color: rgba(62, 230, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 22px rgba(62, 230, 255, 0.25);
}

.faq-card__q {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    color: #fff;
}

.faq-card__a {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-muted);
}

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

/* ============================================
   CHECKLIST
   ============================================ */

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

.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink-soft);
}

.checklist__check {
    width: 28px;
    height: 28px;
    flex: none;
    margin-top: 1px;
    overflow: visible;
}

.checklist__circle {
    fill: rgba(62, 230, 255, 0.06);
    stroke: var(--cyan);
    stroke-width: 1.8;
    transition: fill 0.5s var(--ease), filter 0.5s var(--ease);
    transition-delay: calc(var(--i, 0) * 0.12s);
}

.checklist__tick {
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checklist.is-visible .checklist__circle {
    fill: rgba(62, 230, 255, 0.32);
    filter: drop-shadow(0 0 6px rgba(62, 230, 255, 0.8));
}

.checklist__text {
    padding-top: 2px;
}

/* ============================================
   RED-FLAG CHIPS
   ============================================ */

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

.flag-list__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid rgba(240, 79, 214, 0.38);
    background: rgba(32, 18, 60, 0.84);
    color: var(--ink);
    font-size: 0.9375rem;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.flag-list__item::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: none;
    border-radius: 50%;
    background: var(--magenta);
    box-shadow: 0 0 10px var(--magenta);
}

.flag-list__item:hover {
    border-color: rgba(240, 79, 214, 0.7);
    box-shadow: 0 0 16px rgba(240, 79, 214, 0.3);
}

/* ============================================
   NOTICE PANEL
   ============================================ */

.notice-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(16, 13, 48, 0.9);
}

.notice-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--border-angle), var(--cyan), var(--violet), var(--magenta), var(--cyan));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: border-spin 6s linear infinite;
}

@keyframes border-spin {
    to { --border-angle: 360deg; }
}

.notice-panel__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    border: 1px solid rgba(62, 230, 255, 0.55);
    background: rgba(62, 230, 255, 0.12);
    color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

.notice-panel__icon .icon {
    width: 24px;
    height: 24px;
}

.notice-panel__body > :last-child {
    margin-bottom: 0;
}

.notice-panel__body p {
    color: var(--ink-soft);
}

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

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    margin-top: clamp(24px, 5vw, 48px);
    padding: clamp(60px, 9vw, 110px) var(--gutter) 28px;
}

.site-footer__horizon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 48%;
    height: 160px;
    z-index: -1;
    background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(139, 92, 246, 0.55), rgba(240, 79, 214, 0.16) 50%, transparent 75%);
    pointer-events: none;
}

.site-footer__floor {
    position: absolute;
    left: -40%;
    right: -40%;
    bottom: 0;
    height: 78%;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(176, 92, 255, 0.6) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(240, 79, 214, 0.5) 1.5px, transparent 1.5px);
    background-size: 64px 64px;
    background-position: 0 0, 50% 0;
    transform: perspective(360px) rotateX(62deg);
    transform-origin: 50% 100%;
    -webkit-mask-image: radial-gradient(ellipse 55% 100% at 50% 100%, #000 35%, transparent 100%);
    mask-image: radial-gradient(ellipse 55% 100% at 50% 100%, #000 35%, transparent 100%);
    animation: grid-move 6s linear infinite;
}

@keyframes grid-move {
    to { background-position: 0 64px, 50% 0; }
}

.site-footer__panel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 28px;
    padding: 28px 22px 22px;
    border-radius: 20px;
    border: 1px solid var(--glass-line);
    background: rgba(16, 12, 46, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 -10px 40px rgba(139, 92, 246, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-footer__panel::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-soft), var(--violet-bright), transparent);
}

.site-footer__blurb {
    margin: 10px 0 0;
    font-size: 0.9375rem;
    color: var(--ink-muted);
    max-width: 36ch;
}

.site-footer__heading {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cyan-soft);
}

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

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

.site-footer__link:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__join {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.site-footer__join .site-footer__heading {
    margin-bottom: 2px;
}

.site-footer__micro {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.footer-badges {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

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

.footer-badges__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--glass-line);
    background: rgba(255, 255, 255, 0.06);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    color: #fff;
}

.footer-badges__icon .icon {
    width: 18px;
    height: 18px;
}

.site-footer__legal {
    padding-top: 18px;
    border-top: 1px solid rgba(182, 156, 255, 0.2);
}

.site-footer__legal p {
    margin: 0 0 6px;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

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

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

    .site-footer__join {
        grid-column: 1 / -1;
    }

    .site-footer__legal {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .site-footer__panel {
        grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.9fr)) minmax(0, 1.4fr);
        padding: 36px 40px 26px;
    }

    .site-footer__join {
        grid-column: auto;
    }
}

/* ============================================
   HOMEPAGE COMPOSITION
   ============================================ */

.home-steps .crystal-steps {
    max-width: 900px;
    margin-inline: auto;
}

.home-more {
    margin: 24px 0 0;
    text-align: center;
    color: var(--ink-soft);
}

.home-split {
    display: grid;
    gap: clamp(56px, 9vw, 80px);
}

.home-split__col > .section-head {
    margin-bottom: 28px;
}

.shield-row {
    display: grid;
    gap: 32px;
    max-width: 560px;
    margin-inline: auto;
}

.section--to-footer {
    padding-bottom: 0;
}

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

.hiw-mini-title {
    margin-bottom: 16px;
}

.hiw-split {
    display: grid;
    gap: 22px;
    align-items: start;
    max-width: 900px;
    margin-inline: auto;
}

.hiw-panel {
    padding: 24px 22px;
    border-radius: var(--radius-l);
    color: var(--ink-soft);
}

.hiw-panel h3 {
    margin-bottom: 12px;
}

.hiw-panel p {
    margin: 0;
}

.hiw-panel--free {
    border: 1.5px solid rgba(62, 230, 255, 0.7);
    background: rgba(14, 42, 76, 0.7);
    box-shadow: inset 0 0 22px rgba(62, 230, 255, 0.16), 0 0 26px rgba(62, 230, 255, 0.28);
}

.hiw-panel--optional {
    border: 1px solid rgba(182, 156, 255, 0.4);
    background: rgba(34, 26, 80, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 18px rgba(139, 92, 246, 0.2);
}

.checklist-plain {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.checklist-plain li {
    position: relative;
    padding-left: 22px;
}

.checklist-plain li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

.hiw-panel--optional .checklist-plain li::before {
    background: var(--violet-bright);
    box-shadow: 0 0 10px var(--violet);
}

/* Bevelled glass image card */
.bevel-card {
    --cut: 20px;
    margin: 0;
    filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.5));
}

.bevel-card__frame {
    padding: 2px;
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
    background: linear-gradient(160deg, var(--cyan-soft), var(--violet) 50%, var(--magenta));
}

.bevel-card__inner {
    aspect-ratio: var(--ar, 4 / 3);
    overflow: hidden;
    background: var(--bg-raise);
    clip-path: polygon(calc(var(--cut) - 1px) 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, calc(var(--cut) - 1px) 100%, 0 calc(100% - var(--cut) + 1px), 0 calc(var(--cut) - 1px));
}

.bevel-card__inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.hiw-tips {
    display: grid;
    gap: 28px;
    max-width: 960px;
    margin-inline: auto;
}

.hiw-tips .bevel-card {
    max-width: 420px;
    margin-inline: auto;
}

.hiw-tips__text h3,
.hiw-date__text h3 {
    margin-top: 1.1em;
    color: var(--cyan-soft);
}

.hiw-tips__text > h3:first-child,
.hiw-date__text h2 + h3 {
    margin-top: 0;
}

.hiw-tips__text p,
.hiw-date__text p {
    color: var(--ink-soft);
}

.hiw-opener-box {
    max-width: 960px;
    margin: 36px auto 0;
    padding: 22px;
    border-radius: var(--radius-l);
    border: 1px solid var(--glass-line);
    background: rgba(18, 14, 50, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 26px rgba(0, 0, 0, 0.3);
}

.hiw-opener-box ul {
    margin: 0;
    color: var(--ink-soft);
}

.hiw-opener-box li {
    margin-bottom: 8px;
}

.hiw-opener-box li:last-child {
    margin-bottom: 0;
}

.hiw-date {
    display: grid;
    gap: 28px;
    align-items: center;
    max-width: 1000px;
}

.hiw-date .bevel-card {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
}

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

@media (min-width: 1024px) {
    .hiw-tips {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 48px;
        align-items: start;
    }

    .hiw-tips .bevel-card {
        position: sticky;
        top: calc(var(--header-bottom) + 24px);
        margin-inline: 0;
    }

    .hiw-date {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 48px;
    }
}

@media (min-width: 560px) {
    .shield-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1024px) {
    .home-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
        align-items: center;
    }

    .home-split--trust {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        align-items: start;
    }

    .home-split--faq {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
        align-items: end;
    }
}

/* ============================================
   SAFETY AND PRIVACY PAGE
   ============================================ */

.safe-age {
    display: grid;
    gap: 28px;
    align-items: center;
    max-width: 900px;
    margin-inline: auto;
}

.safe-age__badge {
    display: flex;
    justify-content: center;
    padding-bottom: 14px;
}

.safe-age__text p {
    color: var(--ink-soft);
}

.safe-age__text .checklist-plain {
    color: var(--ink-soft);
}

.safe-grid {
    display: grid;
    gap: 20px;
    max-width: 1000px;
    margin-inline: auto;
}

.safe-grid .hiw-panel h3 {
    color: var(--cyan-soft);
}

.safe-fakes {
    max-width: 860px;
    margin-inline: auto;
}

.safe-fakes h3 {
    margin-top: 1.5em;
    color: var(--cyan-soft);
}

.safe-fakes > h3:first-of-type {
    margin-top: 0;
    margin-bottom: 14px;
}

.safe-fakes > p {
    color: var(--ink-soft);
}

.safe-note {
    max-width: 780px;
    margin: 28px auto 0;
    text-align: center;
    color: var(--ink-soft);
}

.safe-date {
    display: grid;
    gap: 28px;
    align-items: center;
    max-width: 1000px;
}

.safe-date .bevel-card {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.safe-date__text h2 {
    margin-top: 0;
}

.safe-date__text > p {
    color: var(--ink-soft);
}

.safe-date__text .checklist {
    margin: 22px 0;
}

.safe-date__after {
    margin-bottom: 0;
}

.notice-panel h2 {
    font-size: clamp(1.35rem, 3.6vw, 1.85rem);
}

@media (min-width: 768px) {
    .safe-age {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
        gap: 48px;
    }
}

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

    .safe-date {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 56px;
    }

    .safe-date .bevel-card {
        margin-inline: 0;
    }
}

/* ============================================
   SCROLL REVEAL (transform only; content always visible)
   ============================================ */

.js [data-reveal] {
    transform: translateY(26px);
    transition: transform 0.8s var(--ease);
}

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

/* Pause continuous animation offscreen or when tab hidden */
[data-anim].is-offscreen,
[data-anim].is-offscreen *,
[data-anim].is-offscreen *::before,
[data-anim].is-offscreen *::after,
[data-anim].is-offscreen::before,
[data-anim].is-offscreen::after,
.doc-hidden *,
.doc-hidden *::before,
.doc-hidden *::after {
    animation-play-state: paused !important;
}

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

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

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

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

    .shard {
        animation: none;
    }

    .chest.is-visible .chest__lid {
        transform: none;
    }
}

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

.faq-jumps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.crystal-hero--left .faq-jumps {
    justify-content: flex-start;
}

.faq-jumps .chip {
    min-height: 44px;
    padding-inline: 14px;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease), color 0.2s;
}

.faq-jumps .chip:hover {
    color: #fff;
    background: rgba(62, 230, 255, 0.28);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.faq-group .section-head {
    margin-bottom: 28px;
}

.faq-hub .faq-card {
    border-top: 2px solid var(--cyan);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 -8px 18px -10px rgba(62, 230, 255, 0.55),
        0 10px 26px rgba(0, 0, 0, 0.3);
}

.faq-hub .faq-card:hover {
    transform: translateY(-2px);
}

.faq-extra {
    max-width: 860px;
    margin: 28px auto 0;
    padding: 22px;
}

.faq-extra h3 {
    color: var(--cyan-soft);
}

.faq-extra .checklist-plain {
    color: var(--ink-soft);
}

.faq-extra .micro {
    margin: 0;
}

.faq-callout {
    max-width: 860px;
    margin: 28px auto 0;
}

.faq-conduit {
    max-width: 720px;
    margin: 0 auto 32px;
}

.faq-conduit__art {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.7));
}

.faq-conduit__link {
    stroke-width: 4;
    stroke-linecap: round;
}

.faq-conduit__hex {
    fill: url(#gd-hex);
    stroke-width: 2;
}

.faq-conduit__hex--1 { stroke: var(--cyan); }
.faq-conduit__hex--2 { stroke: var(--violet-bright); }
.faq-conduit__hex--3 { stroke: var(--magenta); }

.faq-conduit__num {
    fill: #fff;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
}

.faq-conduit__labels {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    text-align: center;
}

.faq-conduit__labels strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    line-height: 1.25;
}

.faq-conduit__labels span {
    display: block;
    margin-top: 2px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--ink-soft);
}

.faq-cta .btn {
    padding-block: 14px;
    line-height: 1.25;
}

.faq-cta .chest__body a {
    color: var(--cyan-soft);
}

/* ============================================
   COMPARE DATING APPS PAGE
   ============================================ */

.cmp-takeaway {
    max-width: 780px;
    margin: 28px auto 0;
    text-align: center;
    color: var(--ink-soft);
}

.cmp-suits {
    display: grid;
    gap: 22px;
    max-width: 1000px;
    margin-inline: auto;
}

.cmp-suits .shield-card {
    justify-content: flex-start;
    padding: 28px 22px 24px;
    border-radius: var(--radius-l);
    border: 1px solid var(--glass-line);
    background: rgba(18, 14, 50, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 26px rgba(0, 0, 0, 0.3);
}

.cmp-suits .shield-card__title {
    color: var(--cyan-soft);
}

.cmp-suits .shield-card__text {
    text-align: left;
}

.cmp-suits .shield-card__text p {
    margin: 0 0 6px;
}

.cmp-suits .shield-card__text ul {
    margin: 0 0 12px;
    padding-left: 1.2em;
}

.cmp-fatigue {
    max-width: 860px;
    margin-inline: auto;
    margin-bottom: 8px;
}

.cmp-fatigue p,
.cmp-fatigue li {
    color: var(--ink-soft);
}

.cmp-fatigue h3 {
    margin-top: 1.3em;
    color: var(--cyan-soft);
}

.cmp-panel {
    max-width: 860px;
    margin-inline: auto;
    padding: 26px 22px;
}

.cmp-redflags {
    max-width: 860px;
    margin: 32px auto 0;
}

.cmp-redflags h3 {
    color: var(--cyan-soft);
}

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