/*
 * Latisoul - Hi-Tech / Futurism design system
 * Dark-only theme. All design tokens live here.
 */

:root {
    color-scheme: dark;
    interpolate-size: allow-keywords;

    --bg: #0b1020;
    --bg-deep: #070a16;
    --bg-raise: #111936;
    --surface: rgba(19, 27, 54, 0.78);
    --surface-strong: rgba(15, 22, 46, 0.94);
    --surface-solid: #121a35;
    --line: rgba(140, 170, 255, 0.16);
    --line-strong: rgba(140, 170, 255, 0.3);

    --cyan: #22e6ff;
    --cyan-soft: #8af2ff;
    --violet: #8b5cff;
    --violet-soft: #b9a0ff;
    --magenta: #e04dff;
    --magenta-soft: #f2a3ff;
    --blend: #5aa2ff;

    --text: #eef3ff;
    --text-muted: #b6c1dc;
    --text-dim: #9aa6c6;
    --on-cyan: #04121a;

    --grad-cv: linear-gradient(90deg, var(--cyan), var(--violet));
    --grad-cv-diag: linear-gradient(135deg, var(--cyan), var(--violet));
    --grad-vm: linear-gradient(135deg, var(--violet), var(--magenta));
    --glow-cyan: 0 0 24px rgba(34, 230, 255, 0.38);
    --glow-violet: 0 0 26px rgba(139, 92, 255, 0.42);

    --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --container: 1160px;
    --gutter: 16px;
    --header-bottom: 76px;
    --section-pad: clamp(56px, 9vw, 112px);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 24px; }
}

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

[hidden] {
    display: none !important;
}

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

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

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 45% at 50% -8%, rgba(139, 92, 255, 0.2), transparent 62%),
        radial-gradient(ellipse 50% 35% at 0% 35%, rgba(34, 230, 255, 0.08), transparent 70%),
        radial-gradient(ellipse 50% 35% at 100% 70%, rgba(139, 92, 255, 0.08), transparent 70%);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
}

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

h1 { font-size: clamp(2rem, 6.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.45rem); font-weight: 700; }
h3 { font-size: clamp(1.12rem, 2.4vw, 1.32rem); font-weight: 600; }

p { margin: 0 0 1em; }

a {
    color: var(--cyan-soft);
    transition: color 0.2s ease;
}

a:hover { color: #fff; }

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

::selection {
    background: rgba(139, 92, 255, 0.55);
    color: #fff;
}

main:focus { outline: none; }

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

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

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

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.section {
    position: relative;
    padding-block: var(--section-pad);
}

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

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(28px, 5vw, 48px);
    text-align: center;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

.lead {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 60ch;
}

.split {
    display: grid;
    gap: clamp(32px, 6vw, 64px);
    align-items: start;
}

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

.hero {
    position: relative;
    padding-block: clamp(28px, 6vw, 72px) var(--section-pad);
}

.hero__lead {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 56ch;
}

.updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-strong);
    background: rgba(17, 25, 54, 0.85);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   PROSE & LISTS
   ============================================ */
.prose {
    max-width: 760px;
}

.prose p,
.prose li {
    color: var(--text-muted);
}

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

.prose h3 { margin-top: 1.6em; }

.prose ul,
.prose ol {
    margin: 0 0 1.3em;
    padding-left: 1.3em;
}

.prose li { margin-bottom: 0.5em; }

.prose li::marker { color: var(--cyan); }

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

.prose .hex-list { padding-left: 0; }

.hex-list li {
    position: relative;
    padding-left: 36px;
    margin: 0;
    color: var(--text-muted);
}

.hex-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M12%201.8l8.8%205.1v10.2L12%2022.2%203.2%2017.1V6.9z%27%20fill=%27%2322e6ff%27%20fill-opacity=%270.12%27%20stroke=%27%2322e6ff%27%20stroke-width=%271.5%27/%3E%3Cpath%20d=%27M8%2012.3l2.7%202.7L16%209.6%27%20fill=%27none%27%20stroke=%27%2322e6ff%27%20stroke-width=%271.9%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.55));
}

.callout {
    position: relative;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(34, 230, 255, 0.35);
    border-left: 3px solid var(--cyan);
    background: rgba(17, 30, 56, 0.9);
    color: var(--text-muted);
}

.callout strong { color: var(--text); }
.callout p:last-child { margin-bottom: 0; }

.glass-card {
    position: relative;
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.glass-card--cyan { box-shadow: inset 0 2px 0 var(--cyan), 0 14px 36px rgba(0, 0, 0, 0.3); }
.glass-card--violet { box-shadow: inset 0 2px 0 var(--violet), 0 14px 36px rgba(0, 0, 0, 0.3); }

/* ============================================
   SHARED GRADIENT BORDER (mask technique)
   ============================================ */
.site-header__bar::after,
.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--bw, 1px);
    background: var(--border-grad, var(--grad-cv));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: translate 0.25s var(--ease), box-shadow 0.25s ease, background-color 0.25s ease, color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 0; }

.btn__arrow {
    width: 18px;
    height: 18px;
    flex: none;
    transition: translate 0.25s var(--ease);
}

.btn:hover .btn__arrow { translate: 3px 0; }

.btn--primary {
    background: var(--cyan);
    color: var(--on-cyan);
    box-shadow: 0 0 22px rgba(34, 230, 255, 0.45);
}

.btn--primary:hover {
    background: #5cedff;
    box-shadow: 0 0 34px rgba(34, 230, 255, 0.7);
}

.btn--primary:not(.btn--sm) {
    animation: btn-breathe 3.2s ease-in-out infinite;
}

.btn--violet {
    background: linear-gradient(90deg, #6d3cf0, #a632d9);
    color: #fff;
    box-shadow: 0 0 24px rgba(139, 92, 255, 0.5);
}

.btn--violet:hover { box-shadow: 0 0 36px rgba(192, 77, 255, 0.7); }

.btn--ghost {
    background: rgba(34, 230, 255, 0.06);
    border-color: rgba(34, 230, 255, 0.6);
    color: var(--cyan-soft);
}

.btn--ghost:hover {
    background: rgba(34, 230, 255, 0.14);
    color: #fff;
}

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

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

@keyframes btn-breathe {
    0%, 100% { box-shadow: 0 0 18px rgba(34, 230, 255, 0.4); }
    50% { box-shadow: 0 0 38px rgba(34, 230, 255, 0.75), 0 0 70px rgba(139, 92, 255, 0.25); }
}

.cta-group {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.cta-group--center {
    justify-items: center;
    text-align: center;
}

.cta-note {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-dim);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: 10px;
}

.site-header__bar {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 8px 8px 14px;
    border-radius: 18px;
    --bw: 1.5px;
}

.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(11, 16, 32, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 0 26px rgba(34, 230, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--cyan);
    text-decoration: none;
    flex: none;
}

.site-brand:hover { color: var(--cyan-soft); }

.site-brand__mark {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 6px rgba(34, 230, 255, 0.6));
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 0 14px rgba(34, 230, 255, 0.55);
}

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

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

.header-user,
.menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(24, 34, 66, 0.9);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.header-user svg { width: 22px; height: 22px; }

.header-user:hover,
.menu-toggle:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

.menu-toggle { border-radius: 14px; }

.menu-toggle__bars {
    display: grid;
    gap: 5px;
    width: 20px;
}

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

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span: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: 99;
    padding: 20px var(--gutter) 36px;
    background: #0a0f1f;
    border-top: 1px solid rgba(34, 230, 255, 0.35);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    translate: 0 -12px;
    transition: translate 0.3s var(--ease), visibility 0s linear 0.3s;
}

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

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(17, 25, 54, 0.9);
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__link:hover {
    color: #fff;
    border-color: rgba(34, 230, 255, 0.5);
}

.site-nav__link[aria-current="page"] {
    color: var(--cyan);
    border-color: rgba(34, 230, 255, 0.6);
    background: rgba(34, 230, 255, 0.1);
}

.site-nav__cta {
    margin-top: 28px;
    display: grid;
    gap: 10px;
    justify-items: start;
}

@media (min-width: 1024px) {
    .site-header { padding-top: 16px; }

    .site-header__bar {
        padding: 8px 10px 8px 24px;
        gap: 20px;
    }

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

    .site-nav {
        position: static;
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        visibility: visible;
        translate: none;
        transition: none;
    }

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

    .site-nav__link {
        min-height: 40px;
        padding: 0 16px;
        border-color: transparent;
        border-radius: var(--radius-pill);
        background: transparent;
        color: var(--text-muted);
        font-size: 0.9rem;
        font-weight: 600;
    }

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

    .site-nav__link[aria-current="page"] {
        color: var(--on-cyan);
        background: var(--cyan);
        border-color: var(--cyan);
        box-shadow: 0 0 16px rgba(34, 230, 255, 0.6);
    }

    .site-nav__cta { display: none; }

    .header-actions { margin-left: 0; }
    .header-actions .header-cta { display: inline-flex; }
    .header-actions .menu-toggle { display: none; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    overflow: clip;
    margin-top: clamp(32px, 6vw, 64px);
    padding: clamp(48px, 7vw, 72px) 0 28px;
    border-top: 1px solid rgba(34, 230, 255, 0.5);
    background: linear-gradient(180deg, #0a0f21 0%, #070a16 100%);
    box-shadow: 0 -1px 26px rgba(34, 230, 255, 0.25);
}

.site-footer__arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(34, 230, 255, 0.45));
}

.arc {
    fill: none;
    stroke-width: 1.6;
    stroke-opacity: 0.4;
    vector-effect: non-scaling-stroke;
}

.arc--cyan { stroke: var(--cyan); }
.arc--violet { stroke: var(--violet); }
.arc--faint { stroke-opacity: 0.22; }

.arc-node {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.arc-node--cyan { stroke: var(--cyan); }
.arc-node--violet { stroke: var(--violet); }

.site-footer__inner {
    position: relative;
    display: grid;
    gap: 32px;
}

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

@media (min-width: 1024px) {
    .site-footer__inner { grid-template-columns: 1.4fr 1fr 0.9fr 1.2fr 1.1fr; gap: 36px; }
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    text-decoration: none;
    text-shadow: 0 0 14px rgba(34, 230, 255, 0.5);
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-nodes {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.footer-nodes span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--cyan);
    box-shadow: 0 0 8px rgba(34, 230, 255, 0.6);
}

.footer-nodes span:nth-child(even) {
    border-color: var(--violet);
    box-shadow: 0 0 8px rgba(139, 92, 255, 0.7);
}

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

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

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-footer__links a:hover {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

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

/* ============================================
   ICONS
   ============================================ */
.icon {
    width: 24px;
    height: 24px;
    flex: none;
}

.hex-icon {
    --accent: var(--cyan);
    --accent-glow: rgba(34, 230, 255, 0.55);
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex: none;
    color: var(--accent);
}

.hex-icon__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: rgba(139, 92, 255, 0.16);
    stroke: var(--accent);
    stroke-width: 2;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

.hex-icon__inner {
    fill: none;
    stroke: rgba(139, 92, 255, 0.55);
    stroke-width: 1;
}

.hex-icon .icon {
    position: relative;
    width: 28px;
    height: 28px;
}

.hex-icon--violet { --accent: var(--violet-soft); --accent-glow: rgba(139, 92, 255, 0.65); }
.hex-icon--magenta { --accent: var(--magenta-soft); --accent-glow: rgba(224, 77, 255, 0.6); }

.hex-icon--sm { width: 46px; height: 46px; }
.hex-icon--sm .icon { width: 21px; height: 21px; }
.hex-icon--lg { width: 80px; height: 80px; }
.hex-icon--lg .icon { width: 34px; height: 34px; }

/* Icon tiles */
.icon-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr);
}

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

.icon-tile--plain {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 6px;
    padding: 8px 6px;
}

.icon-tile--card {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, translate 0.25s var(--ease);
}

.icon-tile--card:hover {
    translate: 0 -3px;
    border-color: rgba(34, 230, 255, 0.45);
    box-shadow: 0 0 24px rgba(34, 230, 255, 0.15);
}

.icon-tile__title {
    margin: 8px 0 2px;
    font-size: 1.12rem;
}

.icon-tile__text {
    margin: 0;
    color: var(--text-muted);
}

/* ============================================
   CIRCUIT PRIMITIVES (inline SVG)
   Pulse paths require pathLength="400".
   ============================================ */
.circuit {
    pointer-events: none;
    overflow: visible;
}

.circuit-line {
    fill: none;
    stroke: var(--cyan);
    stroke-opacity: 0.5;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.circuit-line--violet { stroke: var(--violet); stroke-opacity: 0.6; }

.circuit-dot {
    fill: #0b1020;
    stroke: var(--cyan);
    stroke-width: 1.5;
}

.circuit-dot--violet { stroke: var(--violet); }

.circuit-pulse {
    fill: none;
    stroke: #c6f9ff;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 18 382;
    stroke-dashoffset: 400;
    filter: drop-shadow(0 0 4px var(--cyan));
    animation: circuit-pulse 4.8s linear infinite;
}

@keyframes circuit-pulse {
    to { stroke-dashoffset: 0; }
}

.circuit-fan {
    width: 420px;
    max-width: none;
    height: 240px;
}

.circuit-fan--right { transform: scaleX(-1); }

/* ============================================
   STEP FLOW
   ============================================ */
.step-flow-wrap {
    --node: 84px;
    --gap: 30px;
    position: relative;
}

.step-flow {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--gap);
}

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

.step-flow__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: calc(var(--node) / 2 - 1px);
    top: calc(var(--node) / 2);
    width: 2px;
    height: calc(100% + var(--gap));
    background: linear-gradient(180deg, var(--cyan), var(--violet));
    box-shadow: 0 0 10px rgba(34, 230, 255, 0.55);
}

.step-flow__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(var(--node) / 2 - 10px);
    top: calc(var(--node) / 2 + (100% + var(--gap)) / 2 - 10px);
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27%2322e6ff%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M5%206l6%206-6%206M12%206l6%206-6%206%27/%3E%3C/svg%3E") center / contain no-repeat;
    rotate: 90deg;
    filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.8));
}

.step-node {
    --c1: var(--cyan);
    --c2: var(--cyan);
    --lit: 1;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: var(--node);
    height: var(--node);
    border-radius: 50%;
    color: var(--c1);
    background: radial-gradient(circle, #111a38 58%, #0d1430 100%);
    box-shadow: 0 0 calc(var(--lit) * 30px) color-mix(in srgb, var(--c1) 55%, transparent);
    transition: box-shadow 0.7s ease, filter 0.7s ease;
    transition-delay: calc(var(--i, 0) * 0.35s);
}

.step-flow__item:nth-child(n+2):not(:last-child) .step-node { --c1: var(--blend); --c2: var(--violet); }
.step-flow__item:last-child:not(:first-child) .step-node { --c1: var(--violet-soft); --c2: var(--violet); }

.step-node__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.step-node__outer {
    fill: none;
    stroke: var(--c1);
    stroke-width: 2;
}

.step-node__inner {
    fill: none;
    stroke: var(--c2);
    stroke-width: 1.2;
    stroke-dasharray: 4 5;
}

.step-node__tick { fill: var(--c1); }

.step-node .icon {
    position: relative;
    width: 34px;
    height: 34px;
}

.step-node__num {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 12px var(--c1);
}

.js .step-flow-wrap:not(.is-revealed) .step-node {
    --lit: 0;
    filter: saturate(0.35) brightness(0.75);
}

.step-flow__body { padding-top: 10px; }

.step-flow__title { margin: 0 0 6px; }

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

.step-flow__fan { display: none; }

@media (min-width: 1024px) {
    .step-flow-wrap { --node: 96px; --gap: 28px; }

    .step-flow { grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr)); }

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

    .step-flow__item:not(:last-child)::before {
        left: 50%;
        top: calc(var(--node) / 2 - 1px);
        width: calc(100% + var(--gap));
        height: 2px;
        background: linear-gradient(90deg, var(--cyan), var(--violet));
    }

    .step-flow__item:not(:last-child)::after {
        left: calc(100% + var(--gap) / 2 - 10px);
        top: calc(var(--node) / 2 - 10px);
        rotate: 0deg;
    }

    .step-flow__body { padding-top: 0; }

    .step-flow__fan {
        display: block;
        position: absolute;
        top: calc(var(--node) / 2 - 120px);
        opacity: 0.85;
    }

    .step-flow__fan--left { right: calc(100% - (100% / var(--count, 3) / 2) + var(--node) / 2); }
    .step-flow__fan--right { left: calc(100% - (100% / var(--count, 3) / 2) + var(--node) / 2); }
}

/* ============================================
   PORTRAITS
   ============================================ */
.portrait {
    --accent: var(--cyan);
    --accent-glow: rgba(34, 230, 255, 0.45);
    position: relative;
    margin: 0;
    padding: 5px;
    border-radius: 22px;
    border: 2px solid var(--accent);
    background: rgba(12, 18, 38, 0.85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 22px var(--accent-glow), 0 14px 30px rgba(0, 0, 0, 0.45);
    animation: portrait-float 7s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
    transition: scale 0.35s var(--ease), box-shadow 0.35s ease;
}

.portrait--violet {
    --accent: var(--violet);
    --accent-glow: rgba(139, 92, 255, 0.55);
}

.portrait img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 16px;
}

.portrait:hover {
    scale: 1.05;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 36px var(--accent-glow), 0 18px 36px rgba(0, 0, 0, 0.5);
}

@keyframes portrait-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

/* ============================================
   CHIPS, BADGES
   ============================================ */
.jump-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(34, 230, 255, 0.6);
    background: rgba(17, 30, 56, 0.9);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.chip:hover,
.chip:focus-visible {
    color: #fff;
    border-color: var(--violet);
    background: rgba(56, 34, 110, 0.9);
    box-shadow: var(--glow-violet);
}

.demo-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(34, 230, 255, 0.6);
    background: rgba(8, 40, 52, 0.95);
    color: var(--cyan-soft);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid rgba(34, 230, 255, 0.45);
    background: rgba(13, 20, 44, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(34, 230, 255, 0.18);
}

.demo-badge__pulse {
    width: 10px;
    height: 10px;
    flex: none;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 0 rgba(34, 230, 255, 0.6);
    animation: badge-pulse 2.4s ease-out infinite;
}

@keyframes badge-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 230, 255, 0.6); }
    100% { box-shadow: 0 0 0 12px rgba(34, 230, 255, 0); }
}

.demo-badge__text {
    display: grid;
    line-height: 1.35;
    font-size: 0.875rem;
    color: var(--text);
}

.demo-badge__value {
    font-family: var(--font-display);
    color: var(--cyan);
}

.demo-badge__note { color: var(--text-dim); }

/* ============================================
   COMPARISON TABLE (separate glass columns)
   ============================================ */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
}

.compare-table table {
    width: 100%;
    min-width: 540px;
    border-collapse: separate;
    border-spacing: 10px 0;
}

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

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

.compare-table thead th {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-top: 1px solid transparent;
}

.compare-table__feature {
    background: rgba(19, 27, 54, 0.85);
    border-left: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    color: var(--text);
}

.compare-table tbody th.compare-table__feature { font-weight: 500; }

.compare-table thead .compare-table__feature {
    border-top-color: var(--line-strong);
    border-radius: 14px 14px 0 0;
    color: var(--text-muted);
}

.compare-table__ours {
    background: rgba(12, 44, 60, 0.85);
    border-left: 1px solid rgba(34, 230, 255, 0.75);
    border-right: 1px solid rgba(34, 230, 255, 0.75);
    color: var(--text);
}

.compare-table thead .compare-table__ours {
    border-top-color: var(--cyan);
    border-radius: 14px 14px 0 0;
    color: var(--cyan);
    text-align: center;
    background: linear-gradient(180deg, rgba(34, 230, 255, 0.24), rgba(12, 44, 60, 0.85));
    box-shadow: 0 -8px 22px rgba(34, 230, 255, 0.28);
}

.compare-table__theirs {
    background: rgba(22, 24, 46, 0.85);
    border-left: 1px solid rgba(170, 160, 215, 0.4);
    border-right: 1px solid rgba(170, 160, 215, 0.4);
    color: var(--text-muted);
}

.compare-table thead .compare-table__theirs {
    border-top-color: rgba(170, 160, 215, 0.4);
    border-radius: 14px 14px 0 0;
    text-align: center;
}

.compare-table tbody tr:last-child > * { border-radius: 0 0 14px 14px; }
.compare-table tbody tr:last-child .compare-table__feature { border-bottom-color: var(--line-strong); }
.compare-table tbody tr:last-child .compare-table__ours { border-bottom-color: rgba(34, 230, 255, 0.75); }
.compare-table tbody tr:last-child .compare-table__theirs { border-bottom-color: rgba(170, 160, 215, 0.4); }

.compare-table td > span:last-child { vertical-align: middle; }

.compare-mark {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 50%;
}

.compare-mark .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.compare-mark--yes { color: var(--cyan); filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.8)); }
.compare-mark--neutral { color: var(--violet-soft); }

/* Generic glass data table */
.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(17, 25, 52, 0.92);
    overflow: hidden;
}

.data-table caption {
    caption-side: top;
    padding: 0 4px 14px;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

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

.data-table thead th {
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, rgba(20, 70, 96, 0.95), rgba(52, 36, 110, 0.95));
    border-bottom: 1px solid var(--cyan);
}

.data-table thead th.is-cyan { box-shadow: inset 0 -3px 0 var(--cyan); }
.data-table thead th.is-violet { box-shadow: inset 0 -3px 0 var(--violet); }
.data-table thead th.is-magenta { box-shadow: inset 0 -3px 0 var(--magenta); }

.data-table tbody tr:last-child > * { border-bottom: 0; }

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

.mark {
    display: inline-grid;
    place-items: center;
    vertical-align: middle;
    margin-right: 6px;
}

.mark .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.mark--yes { color: var(--cyan); }
.mark--no { color: var(--magenta-soft); }
.mark--neutral { color: var(--violet-soft); }

/* ============================================
   FAQ ACCORDION (native details)
   ============================================ */
.faq-list {
    display: grid;
    gap: 12px;
    align-items: start;
}

.faq-item {
    align-self: start;
    border: 1px solid rgba(34, 230, 255, 0.45);
    border-radius: 16px;
    background: rgba(17, 25, 52, 0.92);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover { border-color: rgba(34, 230, 255, 0.8); }

.faq-item[open] {
    border-color: transparent;
    background:
        linear-gradient(#121b38, #121b38) padding-box,
        var(--grad-cv) border-box;
    box-shadow: 0 0 24px rgba(34, 230, 255, 0.16);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    border-radius: 16px;
}

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

.faq-item__q:focus-visible { outline-offset: -2px; }

.faq-item__title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
}

.faq-item__chevron {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    border: 1px solid rgba(34, 230, 255, 0.45);
    color: var(--cyan);
    transition: rotate 0.3s var(--ease), border-color 0.2s ease;
}

.faq-item__chevron .icon { width: 18px; height: 18px; }

.faq-item[open] .faq-item__chevron {
    rotate: 180deg;
    border-color: var(--violet);
}

.faq-item__a {
    padding: 0 18px 18px;
    color: var(--text-muted);
}

.faq-item__a p { margin: 0; }

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

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

/* ============================================
   CTA PANEL
   ============================================ */
.cta-panel {
    --bw: 2px;
    --border-grad: var(--grad-vm);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(32px, 5vw, 52px) clamp(22px, 4vw, 48px);
    border-radius: var(--radius-lg);
    text-align: center;
    background:
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(139, 92, 255, 0.3), transparent 72%),
        linear-gradient(180deg, #171d42, #0f1430);
    box-shadow: 0 0 44px rgba(139, 92, 255, 0.32), inset 0 0 60px rgba(139, 92, 255, 0.18);
}

.cta-panel--soft {
    background:
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(139, 92, 255, 0.16), transparent 72%),
        linear-gradient(180deg, #141a3a, #0f1430);
    box-shadow: 0 0 22px rgba(139, 92, 255, 0.18);
    --border-grad: linear-gradient(135deg, var(--violet), #6a7dff);
}

.cta-panel__traces {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 240px;
    max-width: 60%;
    height: auto;
}

.cta-panel__body {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 14px;
}

.cta-panel__title {
    margin: 0;
    max-width: 18ch;
}

.cta-panel__text {
    margin: 0 0 6px;
    max-width: 46ch;
    color: var(--text-muted);
}

/* ============================================
   SWIPE DECK
   ============================================ */
.swipe-deck {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 18px;
}

.swipe-deck__label {
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.swipe-deck__scene {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    padding-block: 64px;
}

.swipe-deck__ribbons {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    max-width: none;
    height: 100%;
    translate: -50% 0;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(34, 230, 255, 0.5));
}

.ribbon-strand {
    fill: none;
    stroke-width: 1.6;
    vector-effect: non-scaling-stroke;
}

.ribbon-node {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 12;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    animation: node-glow 3s ease-in-out infinite;
}

.ribbon-node--violet { stroke: var(--violet-soft); }

@keyframes node-glow {
    0%, 100% { stroke-width: 10; }
    50% { stroke-width: 15; }
}

.swipe-deck__arrow {
    position: absolute;
    z-index: 1;
    width: 110px;
    height: 46px;
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.swipe-deck__arrow--a {
    stroke: var(--cyan);
    filter: drop-shadow(0 0 6px rgba(34, 230, 255, 0.8));
    top: 8px;
    left: 50%;
    translate: -150% 0;
}

.swipe-deck__arrow--b {
    stroke: var(--violet-soft);
    filter: drop-shadow(0 0 6px rgba(139, 92, 255, 0.85));
    bottom: 8px;
    left: 50%;
    translate: -20% 0;
}

.swipe-deck--stack .swipe-deck__arrow--a {
    top: 50%;
    left: 0;
    translate: 0 -50%;
}

.swipe-deck--stack .swipe-deck__arrow--b {
    top: 50%;
    bottom: auto;
    left: auto;
    right: 0;
    translate: 0 -50%;
}

.swipe-deck__stage {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(68vw, 280px);
    touch-action: pan-y;
    border-radius: 24px;
}

.swipe-deck__stage:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 10px;
}

.demo-card {
    --tx: 0%;
    --rot: 0deg;
    --scale: 1;
    --dx: 0px;
    --drot: 0deg;
    --tiltx: 0deg;
    --tilty: 0deg;
    grid-area: 1 / 1;
    margin: 0;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 24px;
    background:
        linear-gradient(180deg, #141c3c, #0d1430) padding-box,
        linear-gradient(160deg, var(--violet), #5a3fd6 55%, var(--magenta)) border-box;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 22px rgba(139, 92, 255, 0.35);
    transform: perspective(900px) translateX(calc(var(--tx) + var(--dx))) rotate(calc(var(--rot) + var(--drot))) rotateX(var(--tilty)) rotateY(var(--tiltx)) scale(var(--scale));
    transition: transform 0.45s var(--ease), box-shadow 0.3s ease, opacity 0.35s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    z-index: 0;
}

.demo-card[data-pos="0"] {
    z-index: 3;
    background:
        linear-gradient(180deg, #141c3c, #0d1430) padding-box,
        linear-gradient(160deg, var(--cyan), #3fa8ff 55%, var(--violet)) border-box;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55), 0 0 36px rgba(34, 230, 255, 0.45);
}

.demo-card[data-pos="1"] { z-index: 2; }
.demo-card[data-pos="2"] { z-index: 1; }

.demo-card.is-dragging {
    transition: box-shadow 0.2s ease;
    cursor: grabbing;
}

.demo-card.is-liking { box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55), 0 0 48px rgba(34, 230, 255, 0.85); }
.demo-card.is-passing { box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55), 0 0 48px rgba(224, 77, 255, 0.8); }

.demo-card.is-leaving {
    opacity: 0;
    transition: transform 0.38s ease-in, opacity 0.38s ease-in;
}

.demo-card.is-resetting {
    opacity: 0;
    transition: none;
}

.demo-card__media {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
}

.demo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    pointer-events: none;
    -webkit-user-drag: none;
}

.demo-card__body {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 12px 6px 6px;
}

.demo-card__tag {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Fan arrangement (one card focused on mobile) */
.swipe-deck--fan .demo-card[data-pos="1"] { --tx: -20%; --rot: -6deg; --scale: 0.9; }
.swipe-deck--fan .demo-card[data-pos="2"] { --tx: 20%; --rot: 6deg; --scale: 0.9; }
.swipe-deck--fan .demo-card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]) { --scale: 0.85; }

/* Stack arrangement */
.swipe-deck--stack .demo-card[data-pos="0"] { --tx: -4%; --rot: -4deg; }
.swipe-deck--stack .demo-card[data-pos="1"] { --tx: 10%; --rot: 5deg; --scale: 0.95; }
.swipe-deck--stack .demo-card:not([data-pos="0"]):not([data-pos="1"]) { --tx: 10%; --rot: 5deg; --scale: 0.9; }

@media (min-width: 768px) {
    .swipe-deck--fan .demo-card[data-pos="1"] { --tx: -78%; --rot: -8deg; --scale: 0.92; }
    .swipe-deck--fan .demo-card[data-pos="2"] { --tx: 78%; --rot: 8deg; --scale: 0.92; }
    .swipe-deck--stack .swipe-deck__arrow--a { left: 8%; }
    .swipe-deck--stack .swipe-deck__arrow--b { right: 8%; }
}

@media (min-width: 1024px) {
    .swipe-deck--fan .demo-card[data-pos="1"] { --tx: -96%; }
    .swipe-deck--fan .demo-card[data-pos="2"] { --tx: 96%; }
    .swipe-deck--fan .swipe-deck__arrow--a { translate: -230% 0; }
    .swipe-deck--stack .swipe-deck__arrow--a { left: 16%; }
    .swipe-deck--stack .swipe-deck__arrow--b { right: 16%; }
}

.swipe-deck__controls {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.swipe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: translate 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease;
}

.swipe-btn .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.swipe-btn:hover { translate: 0 -2px; }
.swipe-btn:active { scale: 0.96; }

.swipe-btn--pass {
    border: 1.5px solid var(--magenta);
    background: rgba(44, 16, 58, 0.95);
    color: var(--magenta-soft);
}

.swipe-btn--pass:hover { box-shadow: 0 0 22px rgba(224, 77, 255, 0.5); }

.swipe-btn--like {
    border: 1.5px solid var(--cyan);
    background: var(--cyan);
    color: var(--on-cyan);
}

.swipe-btn--like:hover { box-shadow: 0 0 26px rgba(34, 230, 255, 0.65); }

.swipe-deck__prompt {
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: 460px;
    padding: 20px 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(34, 230, 255, 0.45);
    background: rgba(17, 25, 52, 0.95);
    box-shadow: 0 0 24px rgba(34, 230, 255, 0.15);
    text-align: center;
    animation: prompt-in 0.45s var(--ease);
}

.swipe-deck__prompt > p:first-child {
    margin: 0;
    color: var(--text);
    font-weight: 500;
}

@keyframes prompt-in {
    from { translate: 0 12px; }
    to { translate: 0 0; }
}

/* ============================================
   REVEAL & MOTION CONTROL
   ============================================ */
.js [data-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity 0.7s ease, translate 0.7s var(--ease);
}

.js [data-reveal].is-revealed {
    opacity: 1;
    translate: 0 0;
}

.js [data-anim]:not(.is-inview) *,
.js [data-anim]:not(.is-inview) *::before,
.js [data-anim]:not(.is-inview) *::after,
.is-doc-hidden *,
.is-doc-hidden *::before,
.is-doc-hidden *::after {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }

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

    .circuit-pulse { display: none; }

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

    .portrait:hover,
    .btn:hover,
    .swipe-btn:hover,
    .icon-tile--card:hover {
        translate: none;
        scale: none;
    }
}

/* ============================================
   HOME PAGE
   ============================================ */
.home-hero {
    position: relative;
    padding-block: clamp(20px, 4vw, 44px) clamp(48px, 7vw, 88px);
}

.home-hero__stage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-hero__circuit { display: none; }

.home-hero__core {
    position: relative;
    z-index: 1;
    isolation: isolate;
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 16px;
    padding: clamp(48px, 12vw, 88px) 10px clamp(36px, 8vw, 60px);
    text-align: center;
}

.home-hero__core::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/b93c89bd9fada260c9a2f32d27ed6f84.webp");
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.home-hero__core::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 52% at 50% 46%, rgba(11, 16, 32, 0.82), rgba(11, 16, 32, 0.55) 58%, transparent 82%),
        radial-gradient(ellipse 45% 32% at 50% 38%, rgba(34, 230, 255, 0.14), rgba(139, 92, 255, 0.12) 60%, transparent 100%);
    pointer-events: none;
}

.home-hero__core .eyebrow { margin: 0; }

.home-hero__title {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2rem, 7.4vw, 3.15rem);
    text-shadow: 0 2px 18px rgba(7, 10, 22, 0.9);
}

.home-hero__lead {
    margin: 0 0 6px;
    max-width: 46ch;
    color: #d5ddf2;
    font-size: clamp(1.02rem, 2.4vw, 1.15rem);
    text-shadow: 0 1px 10px rgba(7, 10, 22, 0.9);
}

.home-hero__core .demo-badge {
    margin-top: 6px;
    text-align: left;
}

.home-hero__pic {
    z-index: 1;
    align-self: center;
}

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

@media (min-width: 1024px) {
    .home-hero__stage {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr);
        grid-template-rows: repeat(3, minmax(190px, auto));
        gap: 0;
    }

    .home-hero__circuit {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
    }

    .home-hero__core {
        grid-column: 2;
        grid-row: 1 / 4;
        padding: 48px 56px;
    }

    .home-hero__pic { width: 140px; }

    .home-hero__pic--l1 { grid-column: 1; grid-row: 1; justify-self: end; }
    .home-hero__pic--l2 { grid-column: 1; grid-row: 2; justify-self: start; margin-left: 8px; }
    .home-hero__pic--l3 { grid-column: 1; grid-row: 3; justify-self: end; }
    .home-hero__pic--r1 { grid-column: 3; grid-row: 1; justify-self: start; }
    .home-hero__pic--r2 { grid-column: 3; grid-row: 2; justify-self: end; margin-right: 8px; }
    .home-hero__pic--r3 { grid-column: 3; grid-row: 3; justify-self: start; }
}

/* Shared "more" link */
.home-more {
    display: flex;
    justify-content: center;
    margin: 32px 0 0;
}

.home-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--cyan-soft);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.home-more a .icon {
    width: 18px;
    height: 18px;
    transition: translate 0.25s var(--ease);
}

.home-more a:hover .icon { translate: 3px 0; }

/* Safety + comparison */
.home-trust__grid {
    display: grid;
    gap: 40px;
}

.home-trust__head {
    max-width: 560px;
    margin: 0 auto 28px;
    text-align: center;
}

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

.home-trust__foot {
    margin: 18px 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.home-trust__conduit {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 230, 255, 0.6) 15%, rgba(139, 92, 255, 0.6) 85%, transparent);
}

.home-trust__conduit::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32%;
    height: 4px;
    translate: -50% -50%;
    border-radius: 4px;
    background: var(--grad-cv);
    box-shadow: 0 0 16px rgba(34, 230, 255, 0.8);
}

.home-trust__node {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    translate: -50% -50%;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    background: var(--bg);
    box-shadow: 0 0 10px rgba(34, 230, 255, 0.7);
}

.home-trust__node--a { left: 15%; }
.home-trust__node--b { left: 85%; border-color: var(--violet); box-shadow: 0 0 10px rgba(139, 92, 255, 0.8); }

.home-trust__branches { display: none; }

@media (min-width: 1024px) {
    .home-trust__grid {
        grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.1fr);
        gap: 32px;
    }

    .home-trust__conduit {
        width: 2px;
        height: auto;
        justify-self: center;
        background: linear-gradient(180deg, transparent, rgba(34, 230, 255, 0.6) 10%, rgba(139, 92, 255, 0.6) 90%, transparent);
    }

    .home-trust__conduit::before {
        width: 4px;
        height: 28%;
    }

    .home-trust__node { left: 50%; }
    .home-trust__node--a { top: 12%; }
    .home-trust__node--b { top: 88%; }

    .home-trust__branches {
        display: block;
        position: absolute;
        top: 2px;
        left: 50%;
        width: 600px;
        max-width: none;
        height: 80px;
        translate: -50% 0;
        opacity: 0.55;
    }
}

/* FAQ + final CTA */
.home-close__grid {
    display: grid;
    gap: 40px;
    align-items: start;
}

.home-close__more {
    margin: 20px 0 0;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .home-close__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }

    .home-close__cta { padding-top: 64px; }
}

/* ============================================
   HOW IT WORKS PAGE
   ============================================ */
.hiw-hero {
    position: relative;
    padding-block: clamp(24px, 5vw, 64px) clamp(48px, 7vw, 96px);
}

.hiw-hero__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.hiw-hero__copy {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.hiw-hero__copy .eyebrow { margin: 0; }

.hiw-hero__title {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2rem, 7vw, 3.4rem);
}

.hiw-hero__lead {
    margin: 0 0 4px;
    max-width: 52ch;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 2.4vw, 1.15rem);
}

.hiw-art {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 6 / 5;
    margin-inline: auto;
}

.hiw-art__heart {
    position: absolute;
    inset: 0;
    background-image: url("./assets/e4dcf5c97a682ffe46c38aae71f14be0.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hiw-art__circuit {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hiw-art__circuit .is-faint { stroke-opacity: 0.28; }

.hiw-art__pic {
    position: absolute;
    z-index: 2;
    width: 30%;
}

.hiw-art__pic--tr { top: -3%; right: -2%; }
.hiw-art__pic--bl { bottom: -3%; left: -2%; }

@media (min-width: 1024px) {
    .hiw-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 56px;
    }
}

/* Steps */
.hiw-steps__note {
    max-width: 760px;
    margin: clamp(32px, 5vw, 56px) auto 0;
}

/* Swipe */
.hiw-swipe__cols {
    display: grid;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto 12px;
}

.hiw-swipe__cols .glass-card p:last-child { margin-bottom: 0; }

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

/* Free vs optional */
.hiw-free__wrap {
    display: grid;
    gap: 24px;
    max-width: 920px;
    margin-inline: auto;
}

.hiw-table .data-table caption { padding-inline: 10px; }

.hiw-table .data-table thead th.is-cyan {
    background: linear-gradient(180deg, rgba(34, 230, 255, 0.3), rgba(20, 70, 96, 0.95));
    border-top: 2px solid var(--cyan);
}

.hiw-table .data-table thead th.is-violet {
    background: linear-gradient(180deg, rgba(139, 92, 255, 0.34), rgba(52, 36, 110, 0.95));
    border-top: 2px solid var(--violet);
}

.hiw-table .data-table td { width: 50%; }

.hiw-free__tips h3 { margin-bottom: 14px; }
.hiw-free__tips .hex-list { margin-bottom: 0; }

/* Features */
.hiw-features__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 14px;
    max-width: 1020px;
}

.hiw-features__list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text-muted);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hiw-features__list li:hover {
    border-color: rgba(34, 230, 255, 0.45);
    box-shadow: 0 0 22px rgba(34, 230, 255, 0.14);
}

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

/* Comparison */
.hiw-compare__wrap {
    max-width: 960px;
    margin-inline: auto;
}

/* Trust row */
.trust-row { position: relative; }

.trust-row__line { display: none; }

.trust-row__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.trust-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--surface-strong);
}

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

.trust-tile a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
}

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

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

    .trust-row__line {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        z-index: 0;
        width: 100%;
        height: 24px;
        translate: 0 -50%;
        filter: drop-shadow(0 0 5px rgba(34, 230, 255, 0.55));
    }

    .trust-row__trace {
        stroke: var(--cyan);
        stroke-opacity: 0.7;
        stroke-width: 2;
        vector-effect: non-scaling-stroke;
    }

    .trust-row__pulse { vector-effect: non-scaling-stroke; }

    .trust-row__node {
        fill: none;
        stroke: var(--cyan);
        stroke-width: 10;
        stroke-linecap: round;
        vector-effect: non-scaling-stroke;
    }

    .trust-row__node--violet { stroke: var(--violet-soft); }
}

/* FAQ + final CTA */
.hiw-faq__list {
    max-width: 820px;
    margin-inline: auto;
}

.hiw-final__wrap {
    max-width: 820px;
    margin-inline: auto;
}

.hiw-final__back {
    margin: 20px 0 0;
    text-align: center;
    color: var(--text-muted);
}

/* ============================================
   ONLINE DATING SAFETY PAGE
   ============================================ */
.safe-hero {
    position: relative;
    padding-block: clamp(24px, 5vw, 64px) clamp(64px, 9vw, 112px);
}

.safe-hero__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.safe-hero__copy {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.safe-hero__copy .eyebrow { margin: 0; }

.safe-hero__title {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.9rem, 6.6vw, 3.2rem);
}

.safe-hero__lead {
    margin: 0;
    max-width: 54ch;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 2.4vw, 1.15rem);
}

.safe-hero__copy .updated { margin: 0; }
.safe-hero__copy .jump-list { margin-top: 6px; }

.safe-art {
    position: relative;
    display: grid;
    width: min(100%, 560px);
    margin-inline: auto;
}

.safe-art__shield {
    position: relative;
    aspect-ratio: 6 / 5;
    background-image: url("./assets/0be1c9294cb6b9028bc4db3bad8eeaba.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.safe-art__circuit { display: none; }

.safe-art__pic {
    position: relative;
    z-index: 2;
    justify-self: center;
    width: min(60%, 250px);
    margin-top: -10%;
}

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

    .safe-art__circuit {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
    }

    .safe-art__pic {
        position: absolute;
        left: -6%;
        bottom: -10%;
        width: 36%;
        margin: 0;
    }
}

/* Shared safety section pieces */
.safe-band {
    background: linear-gradient(180deg, rgba(17, 25, 54, 0.55), rgba(11, 16, 32, 0));
}

.safe-head {
    max-width: 800px;
    margin: 0 0 clamp(24px, 4vw, 40px);
}

.safe-head--center {
    margin-inline: auto;
}

.safe-capsule {
    margin: 0;
    padding-left: 16px;
    border-left: 2px solid var(--cyan);
    color: var(--text-muted);
    font-size: clamp(1.05rem, 2.2vw, 1.18rem);
}

.safe-note {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--text-muted);
}

.safe-note--center {
    margin-inline: auto;
    text-align: center;
}

/* Spot fake profiles */
.safe-spot__inner { position: relative; }

.safe-trace { display: none; }

@media (min-width: 1024px) {
    .safe-trace {
        display: block;
        position: absolute;
        left: -18px;
        top: 0;
        width: 20px;
        height: 100%;
        filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.5));
    }

    .safe-trace path { vector-effect: non-scaling-stroke; }
}

.safe-cards {
    display: grid;
    gap: 18px;
}

.safe-cards .glass-card h3 { margin-top: 0; }
.safe-cards .glass-card p { margin: 0; color: var(--text-muted); }

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

.safe-checks { margin-top: 24px; }
.safe-checks__label { margin: 0 0 14px; color: var(--cyan-soft); }
.safe-checks .hex-list { margin-bottom: 0; }

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

/* Red flags */
.flag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.flag-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px 16px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--text-muted);
    overflow: hidden;
}

.flag-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--grad-vm);
    box-shadow: 0 0 14px rgba(224, 77, 255, 0.8);
}

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

.flag-list__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    color: var(--magenta-soft);
    filter: drop-shadow(0 0 4px rgba(224, 77, 255, 0.6));
}

.flag-list__icon .icon { width: 26px; height: 26px; }

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

.safe-next {
    max-width: 860px;
    margin: 32px auto 0;
}

.safe-next h3 { margin-top: 0; }

.safe-steps {
    margin: 0 0 1em;
    padding-left: 1.3em;
}

.safe-steps li { margin-bottom: 0.45em; }
.safe-steps li::marker { color: var(--cyan); font-weight: 600; }

/* First date */
.safe-date {
    display: grid;
    gap: 24px;
    align-items: center;
}

.safe-frame {
    margin: 0;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(#0f1430, #0f1430) padding-box,
        linear-gradient(150deg, var(--violet), #5a3fd6 55%, var(--magenta)) border-box;
    box-shadow: 0 0 34px rgba(139, 92, 255, 0.4), 0 16px 36px rgba(0, 0, 0, 0.45);
}

.safe-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 28% center;
    border-radius: 18px;
}

.safe-date__link { display: none; }

.safe-date__list .hex-list { margin-bottom: 0; }
.safe-date__list strong { color: var(--text); }

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

    .safe-date__link {
        display: block;
        width: 56px;
        height: 120px;
        filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.5));
    }
}

/* Privacy */
.privacy-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.privacy-grid li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    color: var(--text-muted);
}

.privacy-grid li strong { color: var(--text); }

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

/* Report and block */
.safe-report-more {
    max-width: 760px;
    margin: clamp(28px, 5vw, 48px) auto 0;
    color: var(--text-muted);
}

.safe-report-more p:last-child { margin-bottom: 0; }

/* Table */
.safe-table {
    max-width: 1000px;
    margin-inline: auto;
}

.safe-table .data-table { min-width: 680px; }
.safe-table .data-table tbody th { width: 20%; }

/* FAQ + CTA */
.safe-faq__list {
    max-width: 820px;
    margin-inline: auto;
}

.safe-final { padding-bottom: calc(var(--section-pad) * 0.6); }

.safe-final__wrap {
    max-width: 820px;
    margin-inline: auto;
}

/* ============================================
   DATING PROFILE TIPS PAGE
   ============================================ */
.tips-hero {
    position: relative;
    padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px);
}

.tips-hero__grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

.tips-hero__copy {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.tips-hero__copy .eyebrow { margin: 0; }

.tips-hero__title {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(1.9rem, 6.6vw, 3.2rem);
}

.tips-hero__lead {
    margin: 0;
    max-width: 54ch;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 2.4vw, 1.15rem);
}

.tips-hero__copy .updated { margin: 0; }
.tips-hero__copy .jump-list { margin-top: 2px; }

.tips-art {
    position: relative;
    width: min(100%, 440px);
    margin-inline: auto;
    padding: 28px;
}

.tips-art__glow {
    position: absolute;
    inset: -6%;
    z-index: 0;
    background:
        radial-gradient(circle at 32% 38%, rgba(34, 230, 255, 0.28), transparent 60%),
        radial-gradient(circle at 70% 66%, rgba(139, 92, 255, 0.34), transparent 62%);
    filter: blur(10px);
    pointer-events: none;
}

.tips-art__circuit {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.tips-line { vector-effect: non-scaling-stroke; }

.tips-dot,
.tips-node {
    fill: none;
    stroke: var(--cyan);
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.tips-dot { stroke-width: 8; }

.tips-node {
    stroke-width: 12;
    filter: drop-shadow(0 0 6px var(--cyan));
    animation: node-glow 3s ease-in-out infinite;
}

.tips-dot--violet { stroke: var(--violet-soft); }

.tips-node--violet {
    stroke: var(--violet-soft);
    filter: drop-shadow(0 0 6px var(--violet));
}

.tips-art .portrait {
    z-index: 2;
}

.tips-art .portrait img {
    aspect-ratio: 9 / 10;
    object-position: center 28%;
}

@media (min-width: 1024px) {
    .tips-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 56px;
    }
}

/* Takeaways */
.tips-take__box {
    max-width: 760px;
    margin-inline: auto;
}

.tips-take__box > p:first-child { margin-bottom: 12px; color: var(--cyan-soft); }
.tips-take__box .hex-list { margin-bottom: 0; }

/* Photos */
.photo-wrap { position: relative; }

.photo-trace { display: none; }

.photo-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 4px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.photo-card {
    flex: 0 0 80%;
    min-width: 240px;
    max-width: 340px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 12px 20px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--cyan);
    background: var(--surface-strong);
    box-shadow: 0 0 22px rgba(34, 230, 255, 0.2), 0 14px 30px rgba(0, 0, 0, 0.4);
    transition: translate 0.3s var(--ease), box-shadow 0.3s ease;
}

.photo-card--violet {
    border-color: var(--violet);
    box-shadow: 0 0 22px rgba(139, 92, 255, 0.3), 0 14px 30px rgba(0, 0, 0, 0.4);
}

.photo-card:hover { translate: 0 -5px; }

.photo-card figure { margin: 0; }

.photo-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 16px;
}

.photo-card figcaption {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.photo-card h3 { margin: 4px 6px 0; }
.photo-card p { margin: 0 6px; color: var(--text-muted); font-size: 0.95rem; }

.photo-check {
    max-width: 760px;
    margin: 32px 0 0;
}

.photo-check .hex-list { margin-bottom: 0; }

@media (min-width: 768px) {
    .photo-card { flex-basis: 44%; }
}

@media (min-width: 1024px) {
    .photo-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        overflow: visible;
        padding: 0;
    }

    .photo-card { max-width: none; min-width: 0; }

    .photo-trace {
        display: block;
        position: absolute;
        left: 0;
        top: -22px;
        z-index: 0;
        width: 100%;
        height: 24px;
        overflow: visible;
        filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.5));
    }

    .photo-row { position: relative; z-index: 1; }
}

.photo-trace__line {
    fill: none;
    stroke-width: 2;
    stroke-opacity: 0.75;
    vector-effect: non-scaling-stroke;
}

/* Bio */
.bio-split {
    display: grid;
    gap: 36px;
    align-items: start;
}

.formula {
    list-style: none;
    margin: 0 0 1.4em;
    padding: 0;
    counter-reset: formula;
    display: grid;
    gap: 14px;
}

.formula li {
    counter-increment: formula;
    position: relative;
    padding: 16px 18px 16px 66px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--text-muted);
}

.formula li strong { color: var(--text); }

.formula li::before {
    content: counter(formula);
    position: absolute;
    left: 16px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-display);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(34, 230, 255, 0.45);
}

.bio-grid {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.bio-card {
    display: grid;
    gap: 10px;
    justify-items: start;
    background: var(--surface-strong);
}

.bio-card p { margin: 0; color: var(--text); }

.bio-card__mark {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.6));
}

@media (min-width: 1024px) {
    .bio-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
}

/* Openers */
.open-wrap { position: relative; }

.open-conduit { display: none; }

.open-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
}

.open-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(#121a36, #121a36) padding-box,
        linear-gradient(150deg, var(--cyan), #3fa8ff 55%, var(--violet)) border-box;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    transition: translate 0.3s var(--ease), box-shadow 0.3s ease;
}

.open-card--violet {
    background:
        linear-gradient(#121a36, #121a36) padding-box,
        linear-gradient(150deg, var(--violet), #5a3fd6 55%, var(--magenta)) border-box;
}

.open-card:hover {
    translate: 0 -4px;
    box-shadow: 0 0 28px rgba(34, 230, 255, 0.2), 0 14px 32px rgba(0, 0, 0, 0.4);
}

.open-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.open-card__head h3 { margin: 0; }

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

.open-list li {
    padding: 10px 14px;
    border-left: 3px solid var(--cyan);
    border-radius: 0 12px 12px 0;
    background: rgba(34, 230, 255, 0.07);
    color: var(--text);
    font-size: 0.95rem;
}

.open-card--violet .open-list li {
    border-left-color: var(--violet);
    background: rgba(139, 92, 255, 0.1);
}

.open-why {
    margin: auto 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.open-why strong { color: var(--cyan-soft); }

.open-follow {
    max-width: 820px;
    margin: 32px auto 0;
}

.open-follow h3 { margin-top: 0; }
.open-follow p { color: var(--text-muted); }
.open-follow p:last-child { margin-bottom: 0; }

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

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

    .open-conduit {
        display: block;
        position: absolute;
        left: 0;
        top: 36px;
        z-index: 0;
        width: 100%;
        height: 20px;
        overflow: visible;
        filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.5));
    }
}

/* Do and Don't table */
.dd-panel {
    max-width: 1000px;
    margin-inline: auto;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.dd-table { min-width: 640px; }
.dd-table tbody th { width: 17%; }

.dd-table thead th.dd-do {
    background: linear-gradient(180deg, rgba(34, 230, 255, 0.28), rgba(20, 70, 96, 0.95));
    border-top: 2px solid var(--cyan);
    color: var(--cyan-soft);
}

.dd-table thead th.dd-dont {
    background: linear-gradient(180deg, rgba(224, 77, 255, 0.3), rgba(52, 36, 110, 0.95));
    border-top: 2px solid var(--magenta);
    color: var(--magenta-soft);
}

.dd-table thead th .mark { margin-right: 8px; }

.dd-table td .mark {
    margin-right: 8px;
    vertical-align: -3px;
}

/* Timing */
.timeline {
    max-width: 960px;
    margin: 0 auto 32px;
}

.timeline__arc { display: none; }

.timeline__line {
    fill: none;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.timeline__list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 30px;
    position: relative;
    display: grid;
    gap: 18px;
}

.timeline__list::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--cyan), var(--violet));
    box-shadow: 0 0 10px rgba(34, 230, 255, 0.5);
}

.timeline__list li {
    position: relative;
    display: grid;
    gap: 2px;
    color: var(--text-muted);
}

.timeline__list li::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 4px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    background: var(--bg);
    box-shadow: 0 0 10px rgba(34, 230, 255, 0.7);
}

.timeline__list li:nth-child(even)::before {
    border-color: var(--violet-soft);
    box-shadow: 0 0 10px rgba(139, 92, 255, 0.8);
}

.timeline__list strong {
    font-family: var(--font-display);
    color: #fff;
}

.timing-body {
    max-width: 760px;
    margin-inline: auto;
}

.timing-body li strong { color: var(--text); }
.timing-body p { color: var(--text-muted); }
.timing-body .hex-list:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
    .timeline__arc {
        display: block;
        width: 100%;
        height: 80px;
        overflow: visible;
        filter: drop-shadow(0 0 5px rgba(34, 230, 255, 0.45));
    }

    .timeline__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        padding: 10px 0 0;
        text-align: center;
    }

    .timeline__list::before,
    .timeline__list li::before { display: none; }

    .timeline__list li { padding-inline: 12px; }
}

/* FAQ */
.tips-faq__list {
    max-width: 820px;
    margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
    .photo-card:hover,
    .open-card:hover {
        translate: none;
    }

    .tips-node { animation: none; }
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-hero {
    position: relative;
    padding-block: clamp(24px, 5vw, 64px) clamp(72px, 10vw, 120px);
}

.faq-hero__grid {
    position: relative;
    display: grid;
    gap: 40px;
    align-items: center;
}

.faq-hero__copy {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.faq-hero__copy .eyebrow { margin: 0; }

.faq-hero__title {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.9rem, 6.6vw, 3.2rem);
}

.faq-hero__lead {
    margin: 0;
    max-width: 54ch;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 2.4vw, 1.15rem);
}

.faq-hero__copy .jump-list { margin-top: 4px; }

.faq-hero__link { display: none; }

.faq-art {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 4 / 3;
    margin: 0 auto 36px;
}

.faq-art__bubbles {
    position: absolute;
    inset: 0;
    background-image: url("./assets/01fe397c42fe77e7a9fe1211502cda53.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faq-art__circuit {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.faq-art .faq-art__pic {
    position: absolute;
    z-index: 2;
    right: 2%;
    bottom: -16%;
    width: min(42%, 190px);
}

@media (min-width: 1024px) {
    .faq-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 56px;
    }

    .faq-hero__link {
        display: block;
        position: absolute;
        left: 44%;
        bottom: 6px;
        width: 22%;
        min-width: 160px;
        height: 56px;
    }
}

/* Quick answers */
.faq-quick__box {
    max-width: 820px;
    margin-inline: auto;
}

.faq-quick__box h2 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); }
.faq-quick__box > p { color: var(--text-muted); }
.faq-quick__box .hex-list { margin-bottom: 0; }

/* Groups */
.faq-group {
    padding-block: clamp(40px, 6vw, 72px);
}

.faq-group__inner {
    max-width: 860px;
}

.faq-group__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.faq-group__head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet) 70%, transparent);
    box-shadow: 0 0 12px rgba(34, 230, 255, 0.45);
}

.faq-group__head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.faq-group__lead {
    margin: 0 0 22px;
    color: var(--text-muted);
}

.faq-flow {
    margin: 8px 0 36px;
}

/* Final CTA */
.faq-final {
    padding-bottom: calc(var(--section-pad) * 0.6);
}

.faq-final__wrap {
    max-width: 820px;
    margin-inline: auto;
}