/* ══════════════════════════════════════════════════
   BackTrackR — App landing page styles
   ══════════════════════════════════════════════════ */

:root {
    --btr-accent: #0ea5e9;
    --btr-accent-glow: rgba(14, 165, 233, 0.15);
    --btr-accent-dim: rgba(14, 165, 233, 0.08);
    --btr-cue-now: #10b981;
    --btr-cue-next: #f59e0b;
}

/* ─── Page shell ───────────────────────────────── */
.btr-page {
    background: var(--bg-deep);
}

.btr-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(6, 7, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.btr-nav.scrolled {
    padding: 12px 32px;
    background: rgba(6, 7, 11, 0.95);
}

.btr-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

a.btr-nav-brand:hover .btr-nav-title {
    color: var(--btr-accent);
}

.btr-nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.btr-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.btr-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.btr-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.btr-nav-links a:hover {
    color: var(--text);
}

.btr-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.btr-nav-back:hover {
    color: var(--btr-accent);
}

.btr-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.btr-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── Hero ─────────────────────────────────────── */
.btr-hero {
    position: relative;
    padding: 120px 24px 64px;
    overflow: hidden;
}

.btr-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.btr-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.btr-hero-orb-1 {
    width: 560px;
    height: 560px;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(14, 165, 233, 0.14);
}

.btr-hero-orb-2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    left: -80px;
    background: rgba(99, 102, 241, 0.08);
}

.btr-hero-orb-3 {
    width: 320px;
    height: 320px;
    bottom: 40px;
    right: -60px;
    background: rgba(245, 158, 11, 0.06);
}

.btr-hero-inner {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

/* Brand block — logo in focus */
.btr-hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    max-width: 680px;
}

.btr-hero-icon-wrap {
    position: relative;
    margin-bottom: 20px;
}

.btr-hero-icon-glow {
    position: absolute;
    inset: -24px;
    border-radius: 36px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0) 70%);
    filter: blur(12px);
    animation: btr-pulse-glow 4s ease-in-out infinite;
}

@keyframes btr-pulse-glow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

.btr-hero-icon {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 32px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 6px rgba(14, 165, 233, 0.12),
        0 20px 60px rgba(14, 165, 233, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.5);
}

.btr-hero-appname {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 8px;
    background: linear-gradient(135deg, #f8fafc 30%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btr-hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--btr-accent);
    margin-bottom: 16px;
}

.btr-hero-brand h1 {
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btr-hero-tagline {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.btr-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.btr-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: var(--btr-accent-dim);
    color: var(--btr-accent);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.btr-badge-soon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--btr-cue-next);
    border-color: rgba(245, 158, 11, 0.25);
}

.btr-requirements {
    font-size: 14px;
    color: var(--text-dim);
}

/* Hero stage photo */
.btr-hero-visual {
    width: 100%;
    max-width: 920px;
    margin: 0;
    position: relative;
}

.btr-hero-visual::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(99, 102, 241, 0.15), rgba(245, 158, 11, 0.1));
    z-index: 0;
    opacity: 0.6;
}

.btr-hero-stage-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    object-fit: cover;
}

/* Legacy simple frame — used in screenshot gallery */
.btr-ipad-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.btr-screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #111827 50%, #0c1220 100%);
    border: 1px dashed rgba(14, 165, 233, 0.25);
    color: var(--text-dim);
    text-align: center;
    padding: 24px;
}

.btr-screenshot-placeholder svg {
    opacity: 0.4;
}

.btr-screenshot-placeholder span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.btr-screenshot-placeholder small {
    font-size: 12px;
    color: var(--text-dim);
}

/* ─── Sections ─────────────────────────────────── */
.btr-section {
    padding: 80px 24px;
    border-top: 1px solid var(--border);
}

.btr-section-alt {
    background: var(--bg-dark);
}

.btr-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.btr-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--btr-accent);
    margin-bottom: 12px;
}

.btr-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text);
}

.btr-section-intro {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 48px;
}

/* ─── Audience pills ───────────────────────────── */
.btr-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btr-audience span {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* ─── Feature grid ─────────────────────────────── */
.btr-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.btr-feature {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.btr-feature:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btr-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--btr-accent-dim);
    color: var(--btr-accent);
    margin-bottom: 20px;
}

.btr-feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.btr-feature p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ─── Complete feature list ────────────────────── */
.btr-feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 40px;
}

@media (max-width: 900px) {
    .btr-feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.btr-feature-list-group h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--btr-accent);
    margin-bottom: 14px;
}

.btr-feature-list-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btr-feature-list-group li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
}

.btr-feature-list-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--btr-accent);
    opacity: 0.7;
}

.btr-section-intro a {
    color: var(--btr-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Pro routing callout ──────────────────────── */
.btr-callout {
    padding: 40px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 4px solid var(--btr-accent);
}

.btr-callout h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.btr-callout p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 720px;
}

/* ─── Steps ────────────────────────────────────── */
.btr-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}

.btr-step {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    counter-increment: step;
}

.btr-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--btr-accent-dim);
    color: var(--btr-accent);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.btr-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.btr-step p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ─── Screenshot gallery ───────────────────────── */
.btr-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.btr-gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
}

.btr-gallery-item.btr-gallery-hero {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
}

.btr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Videos ───────────────────────────────────── */
.btr-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.btr-video-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-dim);
    padding: 24px;
    text-align: center;
}

.btr-video-placeholder span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.btr-video-placeholder small {
    font-size: 12px;
    color: var(--text-dim);
}

/* ─── Media / video library page ───────────────── */
.btr-media-page {
    padding-bottom: 80px;
}

.btr-media-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 24px;
}

.btr-media-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btr-media-filter {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font);
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btr-media-filter:hover {
    color: var(--text);
    border-color: rgba(14, 165, 233, 0.3);
}

.btr-media-filter.active {
    color: var(--btr-accent);
    background: var(--btr-accent-dim);
    border-color: rgba(14, 165, 233, 0.35);
}

.btr-media-grid-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btr-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.btr-media-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.btr-media-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btr-media-card.is-hidden {
    display: none;
}

.btr-media-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0f172a 0%, #111827 50%, #0c1220 100%);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    overflow: hidden;
}

.btr-media-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
}

.btr-media-thumb-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
}

.btr-media-play {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.9);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: var(--transition);
}

.btr-media-card:hover .btr-media-play {
    transform: scale(1.08);
    background: var(--btr-accent);
}

.btr-media-thumb-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.btr-media-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 6px;
    z-index: 1;
}

.btr-media-yt-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 6px;
    z-index: 1;
}

.btr-media-yt-badge svg {
    flex-shrink: 0;
}

.btr-media-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btr-media-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--btr-accent);
}

.btr-media-body h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    margin: 0;
}

.btr-media-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}

.btr-media-placeholder-note {
    font-size: 11px;
    color: var(--text-dim);
    font-style: italic;
    margin-top: 4px;
}

.btr-media-no-results {
    display: none;
    grid-column: 1 / -1;
    padding: 64px 24px;
    text-align: center;
    color: var(--text-muted);
}

.btr-media-no-results.visible {
    display: block;
}

.btr-media-count {
    font-size: 13px;
    color: var(--text-dim);
    white-space: nowrap;
}

/* ─── Getting started ──────────────────────────── */
.btr-manual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.btr-manual-block h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.btr-manual-block p,
.btr-manual-block li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
}

.btr-manual-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btr-manual-block li {
    padding-left: 20px;
    position: relative;
}

.btr-manual-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--btr-accent);
}

/* ─── FAQ ──────────────────────────────────────── */
.btr-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
}

.btr-faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
}

.btr-faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.btr-faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dim);
    transition: var(--transition);
}

.btr-faq-item[open] summary::after {
    content: '−';
    color: var(--btr-accent);
}

.btr-faq-item summary:hover {
    color: var(--btr-accent);
}

.btr-faq-answer {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ─── CTA band ─────────────────────────────────── */
.btr-cta-band {
    padding: 64px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.06));
    border-top: 1px solid var(--border);
}

.btr-cta-band h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.btr-cta-band p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.btr-cta-soon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

/* ─── Footer ───────────────────────────────────── */
.btr-footer {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
}

.btr-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.btr-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.btr-footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.btr-footer-links a:hover {
    color: var(--btr-accent);
}

.btr-footer-copy {
    font-size: 13px;
    color: var(--text-dim);
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ─── User manual page ─────────────────────────── */
.btr-manual-hero {
    padding: 120px 24px 48px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, transparent 100%);
}

.btr-manual-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.btr-manual-hero h1 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.btr-manual-hero-intro {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 24px;
}

.btr-manual-draft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    color: var(--btr-cue-next);
    border: 1px solid rgba(245, 158, 11, 0.25);
    margin-bottom: 28px;
}

.btr-manual-search-wrap {
    position: relative;
    max-width: 480px;
}

.btr-manual-search-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}

.btr-manual-search {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.btr-manual-search:focus {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 0 3px var(--btr-accent-glow);
}

.btr-manual-search::placeholder {
    color: var(--text-dim);
}

.btr-manual-search-meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-dim);
    min-height: 20px;
}

.btr-manual-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    align-items: start;
}

.btr-manual-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding-right: 8px;
}

.btr-manual-sidebar h2 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.btr-manual-toc {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btr-manual-toc a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: var(--transition);
}

.btr-manual-toc a:hover {
    color: var(--text);
    background: var(--btr-accent-dim);
}

.btr-manual-toc a.active {
    color: var(--btr-accent);
    background: var(--btr-accent-dim);
    border-left-color: var(--btr-accent);
}

.btr-manual-toc .btr-toc-group {
    margin-top: 16px;
    margin-bottom: 6px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.btr-manual-toc a.is-hidden {
    display: none;
}

.btr-manual-content {
    min-width: 0;
}

.btr-manual-section {
    padding-bottom: 56px;
    margin-bottom: 56px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 96px;
}

.btr-manual-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.btr-manual-section.is-hidden {
    display: none;
}

.btr-manual-section h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text);
}

.btr-manual-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--text);
}

.btr-manual-section p,
.btr-manual-section li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btr-manual-section ul,
.btr-manual-section ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.btr-manual-section li {
    margin-bottom: 8px;
}

.btr-manual-section a {
    color: var(--btr-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btr-manual-tip {
    padding: 16px 20px;
    margin: 20px 0;
    background: var(--btr-accent-dim);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--btr-accent);
}

.btr-manual-tip strong {
    color: var(--btr-accent);
}

.btr-manual-tip p {
    margin-bottom: 0;
}

.btr-manual-media {
    margin: 24px 0;
}

.btr-manual-media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.btr-manual-media .btr-ipad-frame {
    aspect-ratio: 4 / 3;
}

.btr-manual-no-results {
    display: none;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
}

.btr-manual-no-results.visible {
    display: block;
}

.btr-manual-mobile-toc {
    display: none;
    margin-bottom: 32px;
}

.btr-manual-mobile-toc summary {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    list-style: none;
}

.btr-manual-mobile-toc summary::-webkit-details-marker {
    display: none;
}

.btr-manual-mobile-toc[open] .btr-manual-toc {
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

mark.btr-search-hit {
    background: rgba(14, 165, 233, 0.25);
    color: var(--text);
    border-radius: 2px;
    padding: 0 2px;
}

/* ─── Privacy page ─────────────────────────────── */
.btr-privacy {
    padding: 120px 24px 80px;
    max-width: 720px;
    margin: 0 auto;
}

.btr-privacy h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.btr-privacy-updated {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.btr-privacy h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text);
}

.btr-privacy p,
.btr-privacy li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btr-privacy ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.btr-privacy a {
    color: var(--btr-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Fade-in animation ────────────────────────── */
.btr-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.btr-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
    .btr-hero {
        padding: 110px 20px 48px;
    }

    .btr-hero-inner {
        gap: 40px;
    }

    .btr-hero-icon {
        width: 112px;
        height: 112px;
        border-radius: 26px;
    }

    .btr-hero-visual {
        max-width: 100%;
    }

    .btr-features,
    .btr-gallery,
    .btr-manual {
        grid-template-columns: 1fr;
    }

    .btr-steps,
    .btr-videos {
        grid-template-columns: 1fr;
    }

    .btr-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 20px 32px;
        background: rgba(6, 7, 11, 0.98);
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }

    .btr-nav-links.open {
        display: flex;
    }

    .btr-nav-toggle {
        display: flex;
    }

    .btr-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .btr-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .btr-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .btr-callout {
        padding: 28px 24px;
    }

    .btr-manual-layout {
        grid-template-columns: 1fr;
        padding: 32px 20px 60px;
    }

    .btr-manual-sidebar {
        display: none;
    }

    .btr-manual-mobile-toc {
        display: block;
    }

    .btr-manual-media-row {
        grid-template-columns: 1fr;
    }

    .btr-media-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .btr-media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .btr-hero {
        padding: 120px 20px 60px;
    }

    .btr-section {
        padding: 60px 20px;
    }

    .btr-feature-list {
        grid-template-columns: 1fr;
    }
}
