/* ==========================================================================
   POSE TOOL 3D — DESIGN SYSTEM
   A studio-dark interface built from the app's own visual language:
   perspective grids, gizmo axes (X red / Y green / Z blue), hairline rules.
   --------------------------------------------------------------------------
   1.  Fonts
   2.  Tokens
   3.  Reset & base
   4.  Typography
   5.  Layout primitives
   6.  Buttons & badges
   7.  Header & navigation
   8.  Hero
   9.  Proof bar
   10. Store / platform cards
   11. Feature cards & split sections
   12. Draw-mode strip
   13. Audience cards
   14. Honest / trust blocks
   15. Comparison table
   16. Reviews & press
   17. Creator section
   18. FAQ
   19. Gallery & lightbox
   20. CTA band & footer
   21. Sticky mobile CTA
   22. Motion & utilities
   ========================================================================== */

/* 1. FONTS ---------------------------------------------------------------- */
/* 2. TOKENS --------------------------------------------------------------- */
:root {
    --bg: #06070A;
    --bg-raise: #0A0C11;
    --bg-panel: #0E1117;
    --panel: rgba(255, 255, 255, .028);
    --panel-hover: rgba(255, 255, 255, .052);
    --line: rgba(255, 255, 255, .085);
    --line-strong: rgba(255, 255, 255, .17);

    --ink: #F3F4F6;
    --ink-soft: #C9CED6;
    --muted: #98A0AB;
    --muted-dim: #7A828D;

    --green: #38E08C;
    --green-deep: #12A55F;
    --red: #FF5D5D;
    --blue: #5FA0FF;
    --amber: #FFC24B;

    --x-axis: var(--red);
    --y-axis: var(--green);
    --z-axis: var(--blue);

    --radius-lg: 22px;
    --radius: 16px;
    --radius-sm: 10px;
    --wrap: 1200px;

    --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, .95);
    --shadow-md: 0 18px 40px -22px rgba(0, 0, 0, .9);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

    --header-h: 68px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 3. RESET & BASE --------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-feature-settings: "cv05" 1, "ss03" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* faint technical grid + studio glow behind everything */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
}

body > * {
    position: relative;
    z-index: 1;
}

img,
svg,
video {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

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

::selection {
    background: rgba(56, 224, 140, .28);
    color: #fff;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 200;
    background: var(--green);
    color: #04140C;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 0 0 12px 12px;
    transition: top .2s var(--ease);
}

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

/* 4. TYPOGRAPHY ----------------------------------------------------------- */
h1,
h2,
h3,
h4 {
    margin: 0 0 .6em;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.028em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.35rem, 5.6vw, 4.35rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.02;
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.85rem);
    letter-spacing: -.03em;
}

h3 {
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 650;
}

h4 {
    font-size: 1.0625rem;
    font-weight: 650;
    letter-spacing: -.015em;
}

p {
    margin: 0 0 1.1em;
    text-wrap: pretty;
}

p:last-child {
    margin-bottom: 0;
}

.lede {
    font-size: clamp(1.05rem, 1.55vw, 1.22rem);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 62ch;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: .875rem;
    line-height: 1.55;
}

.tiny {
    font-size: .78rem;
    line-height: 1.5;
}

.serif {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 650;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.1rem;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--green), transparent);
}

.text-green {
    color: var(--green);
}

.text-gradient {
    background: linear-gradient(100deg, #FFFFFF 20%, #8FE9BE 70%, #5FA0FF 105%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 5. LAYOUT --------------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.wrap-narrow {
    max-width: 860px;
}

section {
    position: relative;
}

.section {
    padding-block: clamp(3.75rem, 8vw, 7rem);
}

.section-tight {
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head {
    max-width: 68ch;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

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

.section-head.center .eyebrow {
    justify-content: center;
}

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

.rule {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}

.surface {
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 288px), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: start;
}

@media (min-width: 900px) {
    .split {
        grid-template-columns: 1fr 1.08fr;
    }

    .split.reverse > .split-media {
        order: -1;
    }
}

/* 6. BUTTONS & BADGES ----------------------------------------------------- */
.btn {
    --btn-bg: rgba(255, 255, 255, .06);
    --btn-fg: var(--ink);
    --btn-line: var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .92rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--btn-line);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.005em;
    cursor: pointer;
    text-align: center;
    transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
}

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

.btn-primary {
    --btn-bg: linear-gradient(180deg, #4BEDA0, #1FBE72);
    --btn-fg: #04160D;
    --btn-line: transparent;
    font-weight: 700;
    box-shadow: 0 12px 34px -12px rgba(56, 224, 140, .6);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #5CF7AC, #24CF7C);
    border-color: transparent;
    box-shadow: 0 18px 44px -14px rgba(56, 224, 140, .75);
}

.btn-lg {
    padding: 1.08rem 1.75rem;
    font-size: 1.02rem;
}

.btn-sm {
    padding: .62rem 1.05rem;
    font-size: .85rem;
}

.btn-block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: center;
}

.btn-note {
    flex-basis: 100%;
    color: var(--muted-dim);
    font-size: .8rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem .8rem .42rem .6rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .045);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink-soft);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 3px rgba(255, 194, 75, .18);
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--amber);
    font-size: .82rem;
    letter-spacing: .06em;
}

.stars--muted {
    color: rgba(255, 255, 255, .28);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    font-size: .74rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.tag-accent {
    border-color: rgba(56, 224, 140, .35);
    background: rgba(56, 224, 140, .1);
    color: #8FF0C0;
}

.visual-note {
    color: var(--muted-dim);
    font-size: .86rem;
    line-height: 1.5;
}

.visual-note strong {
    color: var(--ink-soft);
    font-weight: 600;
}

[data-visual] {
    cursor: zoom-in;
    background: none;
    border: 0;
    padding: 0;
    display: block;
    width: 100%;
    text-align: left;
}

/* 7. HEADER --------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(6, 7, 10, .72);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    background: rgba(6, 7, 10, .9);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 750;
    letter-spacing: -.03em;
    font-size: 1.02rem;
    white-space: nowrap;
}

.brand-mark {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 9px;
    background: #0B0E13;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
}

.brand-mark svg {
    width: 18px;
    height: 18px;
}

.brand span.b3d {
    color: var(--green);
}

.brand-sub {
    display: block;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-top: -2px;
}

.header-cta {
    margin-left: auto;
}

/* The header is deliberately just the logo and one button — no menu to open. */
@media (max-width: 1000px) {
    .site-header {
        position: static;
    }

    .site-header .wrap {
        padding-block: .7rem;
        min-height: 0;
    }

    .header-cta {
        margin-left: auto;
    }
}

/* 8. HERO ----------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    width: min(1200px, 130vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(56, 224, 140, .13), rgba(95, 160, 255, .07) 42%, transparent 68%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

@media (min-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1.02fr .98fr;
    }
}

.hero h1 {
    margin-bottom: 1.1rem;
}

.hero .lede {
    max-width: 56ch;
}

.hero-cta {
    margin-top: 1.9rem;
}

.hero-trust {
    margin-top: 2.2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 2rem;
    align-items: center;
}

.hero-trust-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .86rem;
    color: var(--muted);
}

.hero-trust-item strong {
    color: var(--ink);
    font-weight: 650;
}

.hero-trust-item .stars {
    font-size: .8rem;
}

/* video facade — a poster that swaps to an iframe on click (no 3rd-party cost up front) */
.video-facade {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #000;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-facade img,
.video-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-facade .play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    border: 0;
    background: linear-gradient(180deg, rgba(6, 7, 10, .08), rgba(6, 7, 10, .62));
    cursor: pointer;
    transition: background .2s var(--ease);
}

.video-facade .play:hover {
    background: linear-gradient(180deg, rgba(6, 7, 10, .02), rgba(6, 7, 10, .5));
}

.play-btn {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(56, 224, 140, .96);
    color: #04160D;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .9);
    transition: transform .2s var(--ease);
}

.video-facade .play:hover .play-btn {
    transform: scale(1.07);
}

.play-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    font-size: .84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}

.hero-media {
    display: grid;
    gap: 1rem;
}

.hero-media-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.hero-media-strip figure {
    margin: 0;
}

.hero-media-strip img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.media-pair {
    display: grid;
    /* images are never shown side by side — one per row at every width */
    grid-template-columns: 1fr;
    gap: .75rem;
}

.media-pair figure {
    margin: 0;
}

.media-frame {
    padding: .55rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .014));
    box-shadow: var(--shadow-md);
}

.media-frame img {
    border-radius: calc(var(--radius-lg) - 8px);
    width: 100%;
}

/* 9. PROOF BAR ------------------------------------------------------------ */
.proof-bar {
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, .016);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 1px;
    background: var(--line);
}

.proof-cell {
    background: var(--bg);
    padding: clamp(1.1rem, 2.4vw, 1.7rem);
}

.proof-cell .k {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 750;
    letter-spacing: -.03em;
}

.proof-cell .v {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
    margin-top: .35rem;
}

/* 10. STORE CARDS --------------------------------------------------------- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
}

.store-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
    transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
    position: relative;
}

.store-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 224, 140, .45);
    background: linear-gradient(180deg, rgba(56, 224, 140, .08), rgba(255, 255, 255, .02));
}

.store-card.is-detected::after {
    content: "Your device";
    position: absolute;
    top: -9px;
    right: 14px;
    padding: .16rem .55rem;
    border-radius: 999px;
    background: var(--green);
    color: #04160D;
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .02em;
}

.store-icon {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    color: var(--ink);
}

.store-icon svg {
    width: 22px;
    height: 22px;
}

.store-body {
    min-width: 0;
}

.store-name {
    font-weight: 650;
    font-size: .98rem;
    letter-spacing: -.015em;
}

.store-meta {
    color: var(--muted);
    font-size: .8rem;
    margin-top: .12rem;
}

.store-arrow {
    margin-left: auto;
    color: var(--muted-dim);
    transition: transform .2s var(--ease), color .2s var(--ease);
}

.store-card:hover .store-arrow {
    color: var(--green);
    transform: translateX(3px);
}

/* 11. FEATURE CARDS & SPLITS --------------------------------------------- */
.feature-card {
    padding: clamp(1.3rem, 2.4vw, 1.85rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
    transition: transform .2s var(--ease), border-color .2s var(--ease);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    color: var(--green);
}

.feature-icon svg {
    width: 21px;
    height: 21px;
}

.feature-card h3 {
    margin-bottom: .5rem;
}

.feature-card p {
    color: var(--muted);
    font-size: .95rem;
    margin: 0;
}

.split-title {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.split-copy ul {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .7rem;
}

.split-copy li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    font-size: .95rem;
    color: var(--ink-soft);
    flex-wrap: wrap;
    min-width: 0;
}

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

.split-copy li svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: .28rem;
    color: var(--green);
}

.kbd {
    display: inline-block;
    padding: .12rem .45rem;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    border-bottom-width: 2px;
    background: rgba(255, 255, 255, .06);
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-soft);
}

/* 12. DRAW-MODE STRIP ----------------------------------------------------- */
.mode-strip {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mode-track {
    display: flex;
    gap: .7rem;
    width: max-content;
    animation: mode-scroll 46s linear infinite;
}

.mode-strip:hover .mode-track {
    animation-play-state: paused;
}

.mode-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
}

.mode-chip .chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    opacity: .8;
}

@keyframes mode-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.mode-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mode-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem .8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
    font-size: .85rem;
    color: var(--ink-soft);
}

.mode-list li svg {
    width: 15px;
    height: 15px;
    color: var(--green);
    flex: none;
}

/* 13. AUDIENCE CARDS ------------------------------------------------------ */
.audience-card {
    padding: 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .022);
    display: flex;
    flex-direction: column;
    gap: .55rem;
    height: 100%;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}

.audience-card:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .04);
}

.audience-card h3 {
    margin: 0;
    font-size: 1.02rem;
}

.audience-card p {
    margin: 0;
    font-size: .9rem;
    color: var(--muted);
}

.audience-card .audience-tool {
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px solid var(--line);
    font-size: .8rem;
    color: var(--ink-soft);
}

.audience-card .audience-tool span {
    color: var(--muted-dim);
}

/* 14. HONEST / STEPS ------------------------------------------------------ */
.steps {
    counter-reset: step;
    display: grid;
    gap: 1rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .022);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(56, 224, 140, .14);
    border: 1px solid rgba(56, 224, 140, .4);
    color: var(--green);
    font-size: .84rem;
    font-weight: 700;
}

.step h3 {
    margin: 0 0 .3rem;
    font-size: 1rem;
}

.step p {
    margin: 0;
    font-size: .9rem;
    color: var(--muted);
}

.callout {
    padding: clamp(1.4rem, 2.6vw, 2rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 194, 75, .3);
    background: linear-gradient(180deg, rgba(255, 194, 75, .07), rgba(255, 255, 255, .015));
}

.callout h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.callout h3 svg {
    width: 20px;
    height: 20px;
    color: var(--amber);
    flex: none;
}

.callout ul {
    margin: .9rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: .55rem;
    color: var(--ink-soft);
    font-size: .93rem;
}

.callout--calm {
    border-color: var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}

.callout--calm h3 svg {
    color: var(--blue);
}

/* 15. COMPARISON TABLE ---------------------------------------------------- */
.table-scroll {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .015);
    -webkit-overflow-scrolling: touch;
}

table.compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: .9rem;
}

table.compare th,
table.compare td {
    padding: 1rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

table.compare thead th {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 650;
    background: rgba(255, 255, 255, .025);
}

table.compare thead th.hl {
    color: var(--green);
}

table.compare tbody th {
    font-weight: 600;
    color: var(--ink-soft);
    width: 20%;
}

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

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

table.compare td.hl {
    color: var(--ink);
    background: rgba(56, 224, 140, .045);
    font-weight: 550;
}

/* 16. REVIEWS & PRESS ----------------------------------------------------- */
.rating-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.rating-cell {
    background: var(--bg-raise);
    padding: 1.3rem 1.4rem;
}

.rating-cell .score {
    font-size: 1.7rem;
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: .45rem;
}

.rating-cell .src {
    font-size: .82rem;
    color: var(--muted);
    margin-top: .4rem;
}

.review-grid {
    columns: 1;
    gap: 1rem;
}

@media (min-width: 760px) {
    .review-grid {
        columns: 2;
    }
}

@media (min-width: 1120px) {
    .review-grid {
        columns: 3;
    }
}

.review-card {
    break-inside: avoid;
    /* figures carry UA margins; reset them so the card fills its column */
    margin: 0 0 1rem;
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}

.review-card blockquote {
    margin: 0 0 1rem;
    font-family: var(--font-serif);
    font-size: 1.16rem;
    line-height: 1.45;
    color: var(--ink);
    letter-spacing: -.005em;
}

.review-card blockquote::before {
    content: "\201C";
    color: var(--green);
    margin-right: .1em;
}

.review-card blockquote::after {
    content: "\201D";
    color: var(--green);
}

.review-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    color: var(--muted-dim);
}

.review-meta .who {
    color: var(--ink-soft);
    font-weight: 600;
}

.review-card--critical {
    border-color: rgba(255, 194, 75, .28);
}

.review-card--critical blockquote::before {
    color: var(--amber);
}

.review-card--critical blockquote::after {
    color: var(--amber);
}

.press {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    background: linear-gradient(120deg, rgba(56, 224, 140, .07), rgba(95, 160, 255, .05) 60%, rgba(255, 255, 255, .02));
}

@media (min-width: 800px) {
    .press {
        grid-template-columns: 220px 1fr;
    }
}

.press img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.press-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    line-height: 1.3;
    margin: 0 0 .7rem;
}

/* 17. CREATOR ------------------------------------------------------------- */
.creator {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

@media (min-width: 820px) {
    .creator {
        grid-template-columns: 260px 1fr;
    }
}

.creator-photo {
    width: 100%;
    max-width: 260px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-md);
}

.creator-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: .8rem;
    margin-top: 1.4rem;
}

.creator-fact {
    padding: .9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
}

.creator-fact b {
    display: block;
    font-size: .95rem;
}

.creator-fact span {
    font-size: .78rem;
    color: var(--muted);
}

/* 18. FAQ ----------------------------------------------------------------- */
.faq {
    display: grid;
    gap: .6rem;
}

.faq details {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .022);
    overflow: hidden;
}

.faq details[open] {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .04);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

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

.faq summary::after {
    content: "";
    width: 12px;
    height: 12px;
    flex: none;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .2s var(--ease);
    margin-top: -4px;
}

.faq details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq .faq-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--muted);
    font-size: .95rem;
    max-width: 78ch;
}

.faq .faq-body a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 19. GALLERY ------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: .85rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0A0C11;
    aspect-ratio: 733 / 415;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
    pointer-events: none;
}

dialog.lightbox {
    /* pinned to the viewport so opening it can never drag the page around */
    position: fixed;
    inset: 0;
    margin: auto;
    border: 0;
    padding: 0;
    background: transparent;
    width: min(1100px, 94vw);
    max-height: 92vh;
    overflow: auto;
    overscroll-behavior: contain;
}

html.lightbox-open {
    overflow: hidden;
}

dialog.lightbox::backdrop {
    background: rgba(3, 4, 6, .88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.lightbox-inner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #0A0C11;
    box-shadow: var(--shadow-lg);
}

.lightbox-inner img {
    width: 100%;
    height: auto;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(6, 7, 10, .8);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
}

/* 20. CTA BAND & FOOTER --------------------------------------------------- */
.cta-band {
    padding-block: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--line);
    background:
        radial-gradient(ellipse 70% 120% at 50% 120%, rgba(56, 224, 140, .16), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}

.cta-band .wrap {
    display: grid;
    gap: 1.75rem;
    text-align: center;
    justify-items: center;
}

.cta-band h2 {
    max-width: 22ch;
    margin: 0;
}

.cta-band .btn-row {
    justify-content: center;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #04050700;
    padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
    font-size: .9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 2rem;
}

.footer-col h3,
.footer-col h4 {
    font-size: .78rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-bottom: 1rem;
    font-weight: 650;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.footer-col a {
    color: var(--ink-soft);
    transition: color .16s var(--ease);
}

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

.footer-brand p {
    color: var(--muted);
    font-size: .87rem;
    max-width: 34ch;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    color: var(--muted-dim);
    font-size: .82rem;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 21. STICKY MOBILE CTA --------------------------------------------------- */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: none;
    align-items: center;
    gap: .85rem;
    padding: .7rem clamp(1rem, 4vw, 1.5rem) calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 10, 14, .94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line-strong);
    transform: translateY(110%);
    transition: transform .3s var(--ease);
}

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

.sticky-cta .sticky-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
}

.sticky-cta .sticky-brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.sticky-cta .sticky-brand b {
    display: block;
    font-size: .88rem;
    line-height: 1.2;
}

.sticky-cta .sticky-brand span {
    font-size: .74rem;
    color: var(--muted);
}

.sticky-cta .btn {
    margin-left: auto;
    flex: none;
}

@media (max-width: 760px) {
    .sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 0;
    }

    .site-footer {
        padding-bottom: 5.5rem;
    }
}

/* 22. MOTION & UTILITIES -------------------------------------------------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

.center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: .5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.75rem;
}

.mt-4 {
    margin-top: 2.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.flex-between {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

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

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

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

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

    .mode-track {
        animation: none;
    }
}

@media print {

    .site-header,
    .sticky-cta,
    .video-facade,
    .mode-strip {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}

/* ==========================================================================
   DOCS / MANUAL PAGES
   ========================================================================== */
.docs-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

@media (min-width: 1000px) {
    .docs-layout {
        grid-template-columns: 260px 1fr;
    }
}

.docs-toc {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .022);
    padding: 1.1rem;
}

@media (min-width: 1000px) {
    .docs-toc {
        position: sticky;
        top: calc(var(--header-h) + 20px);
    }
}

.docs-toc h2 {
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-bottom: .9rem;
}

.docs-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .15rem;
    counter-reset: toc;
}

.docs-toc a {
    display: block;
    padding: .5rem .6rem;
    border-radius: 8px;
    font-size: .87rem;
    color: var(--ink-soft);
}

.docs-toc a:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--ink);
}

.docs-body h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.docs-body > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.docs-body h3 {
    margin-top: 2rem;
    color: var(--ink);
}

.docs-body img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    margin: .75rem 0 1.25rem;
    max-width: 100%;
}

.docs-body img.icon {
    width: 46px;
    display: inline-block;
    margin: 0 .4rem .4rem 0;
    border: 0;
    border-radius: 10px;
    vertical-align: middle;
}

.controls-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    margin: 1rem 0 1.5rem;
}

.controls-table th,
.controls-table td {
    text-align: left;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--line);
}

.controls-table th {
    color: var(--muted);
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.controls-table td:first-child {
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
}

.docs-body ul {
    color: var(--ink-soft);
}

.docs-body li {
    margin-bottom: .45rem;
}

.docs-callout {
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .03);
    margin: 1.5rem 0;
    font-size: .93rem;
    color: var(--ink-soft);
}

.docs-callout strong {
    color: var(--ink);
}

/* ==========================================================================
   LONG-FORM ARTICLE PAGES
   ========================================================================== */
.article-hero {
    padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
    border-bottom: 1px solid var(--line);
}

.article-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    max-width: 22ch;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    align-items: center;
    color: var(--muted-dim);
    font-size: .82rem;
    margin-top: 1.25rem;
}

.prose {
    max-width: 74ch;
}

.prose h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    margin-top: 2.75rem;
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.prose h3 {
    margin-top: 2rem;
    font-size: 1.2rem;
}

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

.prose ul,
.prose ol {
    padding-left: 1.2rem;
    display: grid;
    gap: .5rem;
    margin-bottom: 1.2rem;
}

.prose blockquote {
    margin: 2rem 0;
    padding-left: 1.25rem;
    border-left: 2px solid var(--green);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--ink);
}

.prose figure {
    margin: 2rem 0;
}

.prose figure img {
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.prose figcaption {
    color: var(--muted-dim);
    font-size: .82rem;
    margin-top: .6rem;
}

.figure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: .75rem;
    margin: 1.75rem 0;
}

.figure-grid figure {
    margin: 0;
}

.figure-grid figcaption {
    color: var(--muted-dim);
    font-size: .78rem;
    margin-top: .4rem;
}

.figure-grid img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.toc-inline {
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .022);
    margin: 2rem 0;
}

.toc-inline h2 {
    font-size: .76rem !important;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted-dim) !important;
    margin: 0 0 .8rem !important;
}

.toc-inline ol {
    margin: 0;
    padding-left: 1.1rem;
    font-size: .92rem;
}

.key-takeaways {
    padding: clamp(1.3rem, 2.6vw, 1.9rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(56, 224, 140, .28);
    background: linear-gradient(180deg, rgba(56, 224, 140, .07), rgba(255, 255, 255, .015));
    margin: 2rem 0;
}

.key-takeaways h2 {
    margin-top: 0 !important;
    font-size: 1.15rem !important;
}

.key-takeaways ul {
    margin-bottom: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1rem;
}

.related-card {
    padding: 1.3rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.related-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.related-card h3 {
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.related-card p {
    font-size: .88rem;
    color: var(--muted);
    margin: 0;
}

/* utility overrides inside cards (reset rules above win otherwise) */
.feature-card p.mt-2,
.audience-card p.mt-2,
.feature-card p.mt-3,
.related-card p.mt-2 {
    margin-top: 1rem;
}

.feature-card p.tiny,
.audience-card p.tiny {
    margin-top: .5rem;
}

/* in-text links must be distinguishable without relying on color */
.prose a,
.docs-callout a,
.key-takeaways a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* horizontally scrollable tables need a visible keyboard focus state */
.table-scroll {
    scrollbar-width: thin;
}

.table-scroll:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* ==========================================================================
   VIDEO PROOF CARDS
   ========================================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.video-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0A0C11;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.video-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.video-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
    transition: opacity .25s var(--ease), transform .5s var(--ease);
}

.video-card:hover img {
    opacity: 1;
    transform: scale(1.03);
}

.video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card .vc-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(6, 7, 10, .05), rgba(6, 7, 10, .45));
}

.video-card .vc-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(56, 224, 140, .96);
    color: #04160D;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .9);
    transition: transform .2s var(--ease);
}

.video-card:hover .vc-badge {
    transform: scale(1.08);
}

.video-card .vc-dur {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: .2rem .5rem;
    border-radius: 6px;
    background: rgba(6, 7, 10, .86);
    border: 1px solid var(--line-strong);
    color: #fff;
    font-size: .72rem;
    font-weight: 650;
}

.video-meta {
    margin-top: .75rem;
}

.video-meta .tag {
    margin-bottom: .55rem;
}

.video-meta h3 {
    font-size: 1rem;
    margin-bottom: .3rem;
}

.video-meta p {
    margin: 0;
    font-size: .84rem;
    color: var(--muted);
}

.video-meta p a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   ON-PAGE USER MANUAL (accordion)
   ========================================================================== */
.manual {
    display: grid;
    gap: .6rem;
}

.manual-chapter {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .022);
    overflow: hidden;
}

.manual-chapter[open] {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .04);
}

.manual-chapter > summary {
    cursor: pointer;
    list-style: none;
    padding: 1.05rem 1.25rem;
    font-weight: 650;
    font-size: 1.02rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.manual-chapter > summary::-webkit-details-marker {
    display: none;
}

.manual-chapter > summary::after {
    content: "";
    width: 12px;
    height: 12px;
    flex: none;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .2s var(--ease);
    margin-top: -4px;
}

.manual-chapter[open] > summary::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.manual-chapter > summary .chapter-num {
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

.manual-body {
    padding: 0 1.25rem 1.4rem;
    max-width: 82ch;
}

.manual-body h3 {
    margin-top: 1.75rem;
    font-size: 1.05rem;
}

.manual-body h3:first-child {
    margin-top: .5rem;
}

.manual-body p,
.manual-body li {
    color: var(--muted);
    font-size: .95rem;
}

.manual-body img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    margin: .6rem .4rem .9rem 0;
    max-width: 100%;
}

.manual-body img.icon {
    width: 44px;
    display: inline-block;
    border: 0;
    border-radius: 10px;
    vertical-align: middle;
}

/* keep the header to one tidy row on the narrowest phones */
@media (max-width: 380px) {
    .brand {
        font-size: .94rem;
        gap: .5rem;
    }

    .brand-sub {
        display: none;
    }

    .header-cta {
        padding: .5rem .85rem;
        font-size: .82rem;
    }
}

/* ==========================================================================
   PHONES: images never sit side by side — one column, always
   ========================================================================== */
@media (max-width: 900px) {

    .media-pair,
    .figure-grid,
    .gallery-grid,
    .hero-media-strip,
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   POSTER
   ========================================================================== */
.poster {
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    max-width: 420px;
}

.poster img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   HERO POSTER + POSTER
   The artwork leads the page and doubles as the play button for the walkthrough.
   ========================================================================== */
.poster-facade {
    position: relative;
    display: block;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.poster-facade img {
    width: 100%;
    height: auto;
    display: block;
}

.poster-facade .play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(6, 7, 10, 0) 45%, rgba(6, 7, 10, .6));
    transition: background .2s var(--ease);
}

.poster-facade .play:hover {
    background: linear-gradient(180deg, rgba(6, 7, 10, .05) 45%, rgba(6, 7, 10, .72));
}

.poster-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.poster-facade.is-playing {
    aspect-ratio: 16 / 9;
    max-width: 100%;
}

.poster-facade.is-playing img,
.poster-facade.is-playing .play {
    display: none;
}

@media (max-width: 600px) {
    .poster-facade {
        max-width: 300px;
    }

    .poster-facade .play-label {
        font-size: .76rem;
        bottom: 12px;
    }
}

/* six cards read better as two even rows than four-and-two */
@media (min-width: 1000px) {
    .store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
