/* =========================================================
   Falloy — Shared site styles
   Dark theme: near-black bg, copper accent, DM Sans + Instrument Serif
   ========================================================= */

:root {
    --bg-primary: #0C0C0E;
    --bg-secondary: #141418;
    --bg-card: #1A1A1F;
    --bg-card-hover: #222228;
    --text-primary: #F0ECE4;
    --text-secondary: #9A9690;
    --text-muted: #5E5B56;
    --accent: #C8956C;
    --accent-light: #DEB48E;
    --accent-dim: #8B6344;
    --border: #2A2A30;
    --border-light: #3A3A42;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Subtle noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }
::selection { background: var(--accent); color: var(--bg-primary); }

/* ---------- Top nav ---------- */
.topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 2rem;
    background: rgba(12, 12, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.topnav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}
.brand:hover { color: var(--text-primary); }
.brand .dot { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

/* Reserve space below the fixed nav */
.has-fixed-nav { padding-top: 4.5rem; }

/* ---------- Hero (home) ---------- */
.hero {
    min-height: 56vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(200, 149, 108, 0.07) 0%, transparent 70%);
    pointer-events: none;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-tag::before, .hero-tag::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}
.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.3rem;
    max-width: 760px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
    font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
    padding: 7rem 2rem 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.page-header .crumbs {
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.page-header .crumbs a { color: var(--text-secondary); }
.page-header .crumbs a:hover { color: var(--text-primary); }
.page-header h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-weight: 400;
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header .lead {
    margin-top: 0.8rem;
    color: var(--text-secondary);
    font-size: 1.02rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Section labels ---------- */
.section-label {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-weight: 400;
}
.section-title em { font-style: italic; color: var(--accent); }

/* ---------- App grid (hub page) ---------- */
.apps-section { padding: 4rem 2rem 5rem; }
.apps-inner { max-width: 1200px; margin: 0 auto; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 420px;
    line-height: 1.7;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}
.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    display: block;
    color: inherit;
}
.app-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    color: inherit;
}
.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dim));
    opacity: 0;
    transition: opacity 0.3s;
}
.app-card:hover::before { opacity: 1; }

.app-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}
.app-card-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.app-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-live { background: rgba(129, 199, 132, 0.15); color: #81C784; }
.badge-soon { background: rgba(200, 149, 108, 0.15); color: var(--accent); }
.app-card-name {
    font-family: var(--serif);
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    font-weight: 400;
    color: var(--text-primary);
}
.app-card-tagline {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.app-card-desc {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 1.3rem;
}
.app-card-features {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
}
.app-card-features li {
    color: var(--text-secondary);
    font-size: 0.87rem;
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.35rem;
    line-height: 1.5;
}
.app-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 1px;
    background: var(--accent);
}
.app-card-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.3s;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--bg-primary);
    cursor: pointer;
    font-family: var(--sans);
}
.btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--bg-primary);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
}
.btn-outline:hover {
    background: rgba(200, 149, 108, 0.1);
    color: var(--accent-light);
}
.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}
.btn-ghost:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    color: var(--text-primary);
}

/* ---------- Store badges ---------- */
.store-badges {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}
.store-badge:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-1px);
}
.store-badge svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.store-badge.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}
.store-badge .coming {
    font-size: 0.65rem;
    background: rgba(200, 149, 108, 0.15);
    color: var(--accent);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    margin-left: 0.4rem;
    letter-spacing: 0.08em;
}

/* ---------- Generic sections ---------- */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.section.narrow { max-width: 820px; }

/* ---------- Feature grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.7rem 1.6rem;
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
}
.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.9rem;
    line-height: 1;
}
.feature-card h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    font-weight: 400;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ---------- Screenshot strip ---------- */
.screenshot-strip {
    background: var(--bg-secondary);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.screenshot-strip-header {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    padding: 0 2rem;
    text-align: center;
}
.screenshot-scroller {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 1.3rem;
    overflow-x: auto;
    padding: 1rem 2rem 1.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-dim) transparent;
}
.screenshot-scroller::-webkit-scrollbar { height: 8px; }
.screenshot-scroller::-webkit-scrollbar-track { background: transparent; }
.screenshot-scroller::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.screenshot-scroller img {
    flex: 0 0 auto;
    width: 240px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    scroll-snap-align: start;
}

/* ---------- CTA ---------- */
.cta {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 5rem 2rem;
    text-align: center;
}
.cta h2 {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
    font-weight: 400;
}
.cta p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.8rem;
}
.cta .footer-link {
    margin-top: 1.6rem;
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.cta .footer-link a { color: var(--accent); }

/* ---------- Article (privacy, support, simple pages) ---------- */
.article-wrap {
    max-width: 800px;
    margin: 2.5rem auto 4rem;
    padding: 0 1.5rem;
}
.article {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.6rem 2.4rem;
}
.article p { color: var(--text-secondary); }
.article h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 2.2rem 0 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    font-weight: 400;
    letter-spacing: -0.01em;
}
.article h2:first-of-type { margin-top: 0.4rem; }
.article h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.article h4 {
    font-size: 0.95rem;
    color: var(--accent);
    margin: 1.2rem 0 0.4rem;
    font-weight: 600;
}
.article p, .article li { font-size: 0.95rem; line-height: 1.7; }
.article p { margin-bottom: 0.8rem; }
.article ul, .article ol { padding-left: 1.6rem; margin-bottom: 1rem; color: var(--text-secondary); }
.article li { margin-bottom: 0.4rem; }
.article strong { color: var(--text-primary); font-weight: 600; }
.article a { color: var(--accent); }
.article code {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    font-size: 0.88em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--accent-light);
}
.note {
    background: rgba(200, 149, 108, 0.08);
    border-left: 2px solid var(--accent);
    padding: 1rem 1.2rem;
    border-radius: 6px;
    margin: 1.1rem 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
}
.note strong { color: var(--accent-light); }
.callout {
    background: rgba(255, 179, 0, 0.06);
    border-left: 2px solid #FFB300;
    padding: 1rem 1.2rem;
    border-radius: 6px;
    margin: 1.1rem 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

/* Contact card */
.contact-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    margin: 1.2rem 0;
}
.contact-card p { margin-bottom: 0.45rem; color: var(--text-secondary); }
.contact-card strong { color: var(--text-primary); }
.contact-card a { color: var(--accent); font-weight: 500; }

/* ---------- User guide layout ---------- */
.guide-layout {
    max-width: 1240px;
    margin: 2.5rem auto 4rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: start;
}
.guide-toc {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.3rem 1.1rem;
    font-size: 0.9rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-dim) transparent;
}
.guide-toc::-webkit-scrollbar { width: 6px; }
.guide-toc::-webkit-scrollbar-track { background: transparent; }
.guide-toc::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.guide-toc h4 {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}
.guide-toc ul { list-style: none; padding: 0; margin: 0; }
.guide-toc li { margin: 0; }
.guide-toc a {
    display: block;
    padding: 0.4rem 0.6rem;
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.91rem;
    line-height: 1.35;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}
.guide-toc a:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-left-color: var(--accent);
}
.guide-toc ul ul a {
    font-size: 0.83rem;
    padding-left: 1.4rem;
    color: var(--text-muted);
}
.guide-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.4rem 2.6rem 3rem;
}
.guide-content p { color: var(--text-secondary); }
.guide-content > section { padding-top: 0.4rem; }
.guide-content h2 {
    font-family: var(--serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
    font-weight: 400;
    letter-spacing: -0.02em;
}
.guide-content h2:first-child { margin-top: 0.3rem; }
.guide-content h3 {
    font-size: 1.18rem;
    color: var(--text-primary);
    margin: 1.9rem 0 0.65rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.guide-content h4 {
    font-size: 1rem;
    color: var(--accent);
    margin: 1.3rem 0 0.5rem;
    font-weight: 600;
}
.guide-content p, .guide-content li { font-size: 0.95rem; line-height: 1.72; }
.guide-content p { margin-bottom: 0.85rem; }
.guide-content ul, .guide-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.guide-content li { margin-bottom: 0.35rem; }
.guide-content strong { color: var(--text-primary); font-weight: 600; }
.guide-content a { color: var(--accent); }
.guide-content code {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    font-size: 0.88em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--accent-light);
}
.guide-content .field-list {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.3rem;
    margin: 1.1rem 0;
}
.guide-content .field-list dt {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.6rem;
    font-size: 0.93rem;
}
.guide-content .field-list dt:first-child { margin-top: 0; }
.guide-content .field-list dd {
    margin-left: 0;
    color: var(--text-secondary);
    font-size: 0.91rem;
    margin-bottom: 0.5rem;
    line-height: 1.65;
}
.guide-content .example {
    background: rgba(200, 149, 108, 0.06);
    border-left: 2px solid var(--accent);
    padding: 1rem 1.3rem;
    border-radius: 8px;
    margin: 1.4rem 0;
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.guide-content .example strong { color: var(--accent-light); }

@media (max-width: 900px) {
    .guide-layout { grid-template-columns: 1fr; }
    .guide-toc {
        position: static;
        max-height: none;
    }
    .guide-content { padding: 1.6rem 1.5rem 2.2rem; }
}

/* Table */
.guide-content table, .article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.91rem;
}
.guide-content th, .guide-content td,
.article th, .article td {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    text-align: left;
    color: var(--text-secondary);
}
.guide-content thead, .article thead { background: var(--bg-primary); }
.guide-content th, .article th { color: var(--text-primary); font-weight: 600; }

/* ---------- FAQ accordions ---------- */
.faq details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.3rem;
    margin-bottom: 0.7rem;
    transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--border-light); }
.faq summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.98rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p, .faq details ul, .faq details ol {
    margin-top: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.7;
}
.faq details a { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
    padding: 3rem 2rem 2.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.footer-brand {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}
.footer-brand .dot { color: var(--accent); }
.footer-links {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .topnav { padding: 0.9rem 1.25rem; }
    .topnav-inner { gap: 0.6rem; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.82rem; }
    .hero { padding: 6.5rem 1.25rem 3rem; min-height: 50vh; }
    .page-header { padding: 6rem 1.25rem 2.5rem; }
    .section, .apps-section { padding: 3rem 1.25rem; }
    .app-card { padding: 1.6rem 1.4rem; }
    .article { padding: 1.6rem 1.4rem; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .footer-row { flex-direction: column; text-align: center; }
}

/* ---------- Print ---------- */
@media print {
    body::before, .topnav, .footer, .cta, .guide-toc, .screenshot-strip { display: none; }
    body { background: white; color: black; }
    .article, .guide-content { background: white; border: none; padding: 0; color: black; }
    .article p, .guide-content p, .article li, .guide-content li,
    .article h2, .article h3, .guide-content h2, .guide-content h3 { color: black; }
    .guide-layout { display: block; padding: 0; }
    .page-header, .hero { background: white; color: black; padding: 1rem 0; }
    .page-header h1, .hero h1 { color: black; }
    a { color: inherit; text-decoration: underline; }
}
