:root {
    --page-bg: #07101d;
    --page-bg-soft: #0d1828;
    --panel: rgba(10, 18, 31, 0.78);
    --panel-strong: rgba(8, 14, 25, 0.92);
    --text: #edf2ff;
    --muted: #b7c0d8;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --accent: #d4b483;
    --accent-soft: rgba(212, 180, 131, 0.16);
    --accent-strong: #b8935a;
    --hero-overlay: linear-gradient(135deg, rgba(5, 10, 22, 0.9), rgba(7, 13, 24, 0.74));
    --font-display: "Playfair Display", serif;
    --font-serif: "Cormorant Garamond", serif;
    --font-body: "Montserrat", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 36%),
        linear-gradient(180deg, var(--page-bg-soft), var(--page-bg));
    line-height: 1.7;
}

body,
p,
h1,
h2,
h3,
span,
a,
button,
figcaption,
li {
    overflow-wrap: anywhere;
    hyphens: auto;
}

a {
    color: inherit;
}

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

.page-shell {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(5, 10, 20, 0.72);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--muted);
}

.brand-link strong {
    color: var(--text);
    font-weight: 700;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-nav > * {
    flex: 0 1 auto;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.lang-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.ghost-link,
.solid-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.ghost-link {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.solid-link {
    color: #130c04;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.ghost-link:hover,
.solid-link:hover {
    transform: translateY(-2px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 44px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.95) contrast(1.04);
}

.hero-inner,
.content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: end;
}

.eyebrow {
    margin: 0 0 18px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 8vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    margin: 20px 0 0;
    max-width: 760px;
    font-family: var(--font-serif);
    font-size: clamp(1.18rem, 2.4vw, 1.65rem);
    color: rgba(237, 242, 255, 0.86);
}

.hero-lead {
    margin: 18px 0 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 1rem;
}

.reading-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    background: rgba(96, 165, 250, 0.06);
    color: var(--accent);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-card {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    min-width: 0;
}

.hero-card img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card figcaption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.92rem;
}

.overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.overview-card {
    padding: 18px;
    border-radius: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    min-width: 0;
}

.overview-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.overview-value {
    font-size: 0.98rem;
    color: var(--text);
}

.content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 20px 0 80px;
}

.toc {
    display: none;
}

.toc h2 {
    margin: 0 0 12px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.toc a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.92rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.toc a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
    transform: translateX(2px);
}

.toc a.active {
    color: var(--text);
    background: var(--accent-soft);
    border-color: var(--line);
    box-shadow: inset 3px 0 0 var(--accent);
}

.main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.section-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.section-card h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.02;
}

.section-card h3 {
    margin: 22px 0 10px;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.results-note {
    margin: -4px 0 18px;
    padding: 12px 14px;
    border-left: 2px solid var(--accent);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.92rem;
}

.insight-grid,
.persona-visual-grid,
.problem-grid,
.metric-grid,
.comparison-grid,
.gallery-grid,
.text-grid {
    display: grid;
    gap: 16px;
}

.insight-grid,
.persona-visual-grid,
.problem-grid,
.comparison-grid,
.gallery-grid,
.text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.persona-visual-grid {
    margin-top: 18px;
    grid-template-columns: 1fr;
}

.persona-visual-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    min-width: 0;
    overflow: hidden;
}

.persona-visual-photo {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.persona-visual-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.persona-visual-kicker {
    margin: 0;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.persona-visual-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.05;
}

.persona-visual-quote {
    margin: 0;
    padding-left: 14px;
    border-left: 2px solid var(--accent);
    color: var(--text);
    font-style: italic;
}

.persona-visual-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.persona-visual-stat {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    min-width: 0;
}

.persona-visual-stat span {
    display: block;
}

.persona-visual-stat span:first-child {
    margin-bottom: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.persona-visual-stat span:last-child {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

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

.mini-card,
.metric-card,
.comparison-card,
.pdf-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    min-width: 0;
}

.mini-card p:last-child,
.comparison-card p:last-child,
.pdf-card p:last-child {
    margin-bottom: 0;
}

.metric-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.8rem;
    color: var(--text);
    font-family: var(--font-display);
}

.figure {
    margin: 0;
}

.figure img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: zoom-in;
}

.figure figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.bullet-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.bullet-list li + li {
    margin-top: 8px;
}

.pdf-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

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

.pdf-card details[open] .pdf-summary {
    margin-bottom: 16px;
}

.pdf-preview {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: center;
}

.pdf-preview > div {
    min-width: 0;
}

.pdf-preview img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pdf-frame {
    width: 100%;
    height: min(72vh, 900px);
    border: 0;
    border-radius: 16px;
    background: #fff;
}

.pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.quote {
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(12px);
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: min(1400px, 94vw);
    max-height: 86vh;
    border-radius: 18px;
}

.lightbox button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.app-bottom-nav {
    display: none;
}

.theme-redoutable {
    --accent: #00e5ff;
    --accent-soft: rgba(0, 229, 255, 0.14);
    --accent-strong: #0097a7;
    --page-bg: #040c13;
    --page-bg-soft: #07141d;
    --hero-overlay: linear-gradient(135deg, rgba(2, 8, 12, 0.9), rgba(5, 17, 22, 0.72));
}

.theme-velora {
    --accent: #c8b08a;
    --accent-soft: rgba(200, 176, 138, 0.12);
    --accent-strong: #8d7456;
    --page-bg: #050b12;
    --page-bg-soft: #0b1420;
    --panel: rgba(10, 16, 24, 0.88);
    --panel-strong: rgba(7, 11, 18, 0.96);
    --text: #eef3f8;
    --muted: #a9b4c2;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
    --hero-overlay: linear-gradient(135deg, rgba(4, 8, 14, 0.9), rgba(8, 14, 22, 0.78));
}

.theme-velora .solid-link {
    color: #f6efe6;
    background: linear-gradient(135deg, #1a232f, #4d4132);
}

.theme-velora .ghost-link {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.theme-velora .topbar {
    background: rgba(5, 10, 18, 0.86);
}

.theme-velora .hero-subtitle {
    color: rgba(238, 243, 248, 0.88);
}

.theme-velora .hero-lead,
.theme-velora .hero-card figcaption,
.theme-velora .figure figcaption,
.theme-velora .section-card p,
.theme-velora .bullet-list,
.theme-velora .overview-value,
.theme-velora .mini-card p,
.theme-velora .comparison-card p,
.theme-velora .pdf-card p {
    color: var(--muted);
}

.theme-velora .overview-card,
.theme-velora .section-card,
.theme-velora .mini-card,
.theme-velora .comparison-card,
.theme-velora .metric-card,
.theme-velora .pdf-card,
.theme-velora .toc,
.theme-velora .app-bottom-nav {
    background: var(--panel-strong);
}

.theme-velora .tag-list span,
.theme-velora .quote,
.theme-velora .mini-card,
.theme-velora .comparison-card,
.theme-velora .pdf-card,
.theme-velora .overview-card,
.theme-velora .section-card,
.theme-velora .toc,
.theme-velora .app-bottom-nav {
    border-color: rgba(200, 176, 138, 0.14);
}

.theme-velora .toc a:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(200, 176, 138, 0.12);
}

.theme-velora .toc a.active {
    background: rgba(200, 176, 138, 0.1);
    border-color: rgba(200, 176, 138, 0.2);
    box-shadow: inset 3px 0 0 var(--accent);
}

.theme-velora .app-bottom-nav {
    background: linear-gradient(180deg, rgba(9, 14, 22, 0.96), rgba(5, 9, 16, 0.94));
    border-color: rgba(200, 176, 138, 0.12);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.theme-velora .app-bottom-nav a {
    color: rgba(238, 243, 248, 0.7);
}

.theme-velora .app-bottom-nav a.active {
    color: #fff;
    border-color: rgba(200, 176, 138, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(200, 176, 138, 0.08));
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 10px 18px rgba(0, 0, 0, 0.22);
}

@media (min-width: 768px) {
    .content {
        grid-template-columns: 240px minmax(0, 1fr);
        align-items: start;
        gap: 24px;
    }

    .toc {
        display: block;
        position: sticky;
        top: 112px;
        align-self: start;
        max-height: calc(100vh - 144px);
        overflow: auto;
        padding: 18px 14px;
        border-radius: 24px;
        background: var(--panel-strong);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .toc h2 {
        padding: 2px 10px 10px;
    }

    .toc a {
        margin-bottom: 6px;
        background: rgba(255, 255, 255, 0.02);
    }

    .toc a:hover {
        color: var(--text);
        background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.06));
        border-color: rgba(255, 255, 255, 0.08);
        transform: translateX(6px);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    }

    .toc a.active {
        background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.05));
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow:
            inset 3px 0 0 var(--accent),
            0 8px 18px rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 767px) {
    .hero-grid,
    .content,
    .metric-grid,
    .insight-grid,
    .persona-visual-grid,
    .problem-grid,
    .comparison-grid,
    .gallery-grid,
    .text-grid,
    .pdf-preview {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .topbar-nav {
        width: auto;
    }

    .page-shell {
        padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px));
    }

    .hero {
        padding-top: 34px;
        padding-bottom: 16px;
    }

    .hero-card {
        padding: 14px;
        border-radius: 22px;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
    }

    .hero-card figcaption {
        margin-top: 10px;
        font-size: 0.82rem;
    }

    .overview {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .overview::-webkit-scrollbar {
        display: none;
    }

    .overview-card {
        min-width: 210px;
        scroll-snap-align: start;
        background: var(--panel-strong);
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    }

    .content {
        padding-bottom: 50px;
    }

    .main {
        gap: 16px;
    }

    .section-card {
        padding: 20px;
        border-radius: 22px;
        background: var(--panel-strong);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    }

    .persona-visual-card {
        grid-template-columns: 1fr;
    }

    .persona-visual-photo {
        min-height: 220px;
    }

    .persona-visual-stats {
        grid-template-columns: 1fr;
    }

    .app-bottom-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        z-index: 40;
        display: block;
        padding: 9px;
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(180deg, rgba(14, 22, 38, 0.94), rgba(7, 12, 24, 0.92));
        backdrop-filter: blur(22px) saturate(160%);
        -webkit-backdrop-filter: blur(22px) saturate(160%);
        box-shadow:
            0 24px 50px rgba(0, 0, 0, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .app-bottom-nav::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: 27px;
        border: 1px solid rgba(255, 255, 255, 0.04);
        pointer-events: none;
    }

    .app-bottom-nav-list {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
    }

    .app-bottom-nav a {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 3px 7px;
        border-radius: 16px;
        text-decoration: none;
        color: var(--muted);
        border: 1px solid transparent;
        transition:
            background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .app-bottom-nav a i {
        font-size: 0.88rem;
        line-height: 1;
        opacity: 0.88;
    }

    .app-bottom-nav a span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.56rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .app-bottom-nav a:hover,
    .app-bottom-nav a:focus-visible {
        color: var(--text);
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.05);
        outline: none;
        transform: translateY(-1px);
    }

    .app-bottom-nav a.active {
        color: var(--text);
        background: linear-gradient(180deg, rgba(255,255,255,0.06), var(--accent-soft));
        border-color: rgba(255,255,255,0.08);
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.03),
            0 10px 18px rgba(0, 0, 0, 0.16);
        transform: translateY(-2px);
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

@media (max-width: 640px) {
    .topbar-inner,
    .hero-inner,
    .content {
        width: min(100vw - 24px, 1180px);
    }

    .hero {
        padding-top: 34px;
    }

    .brand-link {
        letter-spacing: 0.08em;
        font-size: 0.58rem;
        gap: 5px;
    }

    .brand-link span {
        display: none;
    }

    .topbar {
        position: sticky;
    }

    .topbar-nav {
        gap: 8px;
    }

    .topbar-nav .ghost-link {
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.58rem;
        letter-spacing: 0.08em;
        border-radius: 999px;
    }

    .lang-btn {
        min-height: 36px;
        min-width: 60px;
        padding: 0 10px;
        font-size: 0.58rem;
    }

    .topbar-inner {
        padding: 12px 0;
    }

    .hero-grid {
        gap: 18px;
    }

    .section-card,
    .hero-card {
        padding: 18px;
    }

    .hero-actions,
    .pdf-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .ghost-link,
    .hero-actions .solid-link,
    .pdf-actions .ghost-link,
    .pdf-actions .solid-link {
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-top: 14px;
    }

    .reading-time-pill {
        margin-top: 12px;
        padding: 7px 12px;
        font-size: 0.6rem;
        letter-spacing: 0.16em;
    }

    .ghost-link,
    .solid-link,
    .lang-btn {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .hero-lead,
    .section-card p,
    .bullet-list {
        font-size: 0.92rem;
    }

    .metric-card strong {
        font-size: 1.5rem;
    }

    .overview-value,
    .comparison-card p,
    .mini-card p,
    .pdf-preview p,
    .figure figcaption,
    .persona-visual-stat span:last-child {
        font-size: 0.92rem;
    }

    .comparison-card h3,
    .mini-card h3,
    .pdf-preview h3,
    .section-card h3 {
        font-size: 0.9rem;
        letter-spacing: 0.06em;
    }

    .app-bottom-nav {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        padding: 8px;
        border-radius: 24px;
    }

    .app-bottom-nav-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
    }

    .app-bottom-nav a {
        padding: 8px 1px 7px;
    }

    .app-bottom-nav a span {
        font-size: 0.5rem;
        letter-spacing: 0.04em;
    }

    .app-bottom-nav a i {
        font-size: 0.82rem;
    }

    .overview-card {
        min-width: 180px;
    }

    .persona-visual-card {
        gap: 14px;
        padding: 14px;
    }

    .persona-visual-photo {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-position: center top;
    }

    .persona-visual-content {
        gap: 10px;
        padding: 0 2px 2px;
    }

    .persona-visual-title {
        font-size: 1.2rem;
    }

    .persona-visual-quote {
        padding-left: 12px;
        font-size: 0.95rem;
    }

    .persona-visual-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .persona-visual-stat {
        padding: 10px;
    }

    .pdf-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .pdf-summary > .ghost-link {
        width: 100%;
    }

    .pdf-frame {
        height: min(62vh, 620px);
        border-radius: 12px;
    }

    .lightbox {
        padding: 12px;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 82vh;
        border-radius: 14px;
    }

    .lightbox button {
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(2.15rem, 12vw, 3rem);
    }

    .eyebrow,
    .overview-label,
    .app-bottom-nav a span {
        letter-spacing: 0.14em;
    }

    .eyebrow,
    .overview-label {
        font-size: 0.62rem;
    }

    .section-card,
    .hero-card,
    .overview-card,
    .mini-card,
    .metric-card,
    .comparison-card,
    .pdf-card {
        border-radius: 18px;
    }

    .overview {
        gap: 10px;
    }

    .metric-grid,
    .comparison-grid,
    .gallery-grid,
    .text-grid,
    .insight-grid,
    .problem-grid {
        gap: 12px;
    }
}
