/* ============================================
   ClutterScrub Website - Blueprint Design System
   Paper + navy type ink + the scrub violet dark ground and accent.
   ============================================ */

/* --- Self-hosted Fonts ---
   Inter variable font (weights 100-900 in one file) for body text and
   Bricolage Grotesque for display headings, both served from /fonts so no
   visitor request ever reaches a third-party font CDN. Inter subset files
   mirror Google Fonts' latin / latin-ext split. Files copied from the
   sibling imgport-site repo, byte-identical across all three family sites
   (upstream: Google Fonts woff2 API). SHA-256:
   BricolageGrotesque-latin.woff2 a79fdb52d4a5c76552452f69202add96e287401fff03d3e8c0e38b4dcb5a99cd
   inter-latin.woff2              3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62
   inter-latin-ext.woff2          ca157063339ac4ad418f214f3abfed119b0798ab4d377386ce5c9e5a7a435ebd */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/fonts/BricolageGrotesque-latin.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* --- Custom Properties ---
   --ink is the family's type ink: headings, links and hairlines on paper,
   never a ground. Every dark surface (panels, header, footer, icon tile)
   sits on --dark, ClutterScrub's own ground: tone 20 of the Material 3
   baseline primary the app runs in-app (BRAND.md, decision 2026-09-17 and
   the ClutterScrub sheet of 2026-10-04). Measured on #381E72: white 13.15:1,
   --on-dark-soft (white 0.7, prose) 7.19:1, --on-dark-muted (white 0.6,
   labels) 5.65:1; 0.55 is the floor (5.00:1) and 0.5 fails (4.37:1), so
   nothing readable on the ground goes below 0.6. The on-dark accent
   #D0BCFF measures 7.71:1, text-safe there as it stands. --text-muted is
   #5b687b (5.14:1 on paper) where the family's #64748b measures 4.32:1. */
:root {
    --ink: #0f172a;
    --ink-2: #1e293b;
    --ink-3: #334155;
    --dark: #381e72;
    --dark-rgb: 56, 30, 114;
    --on-dark-soft: rgba(255, 255, 255, 0.7);
    --on-dark-muted: rgba(255, 255, 255, 0.6);
    --text: #1e293b;
    --text-soft: #475569;
    --text-muted: #5b687b;
    --paper: #f5f4f0;
    --surface: #ffffff;
    --line: #e3e1da;
    --line-ink: rgba(15, 23, 42, 0.2);
    --line-light: rgba(255, 255, 255, 0.14);
    --accent: #6750a4;
    --accent-text: #6750a4;
    --accent-deep: #4f378b;
    --accent-light: #d0bcff;
    --accent-pale: #eaddff;
    --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
    --font-sans:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas,
        "Liberation Mono", monospace;
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 6px;
    --radius-sm: 4px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1140px;
    --header-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    background-color: var(--paper);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--dark);
    color: #fff;
}

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

a {
    color: var(--ink);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--accent-text);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
}

h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2.1rem;
}
h3 {
    font-size: 1.35rem;
}
h4 {
    font-size: 1.15rem;
}

p {
    color: var(--text-soft);
    line-height: 1.7;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

/* Legacy class name kept for family markup parity: an underline highlight in the violet accent. */
.text-gradient {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.07em;
    text-underline-offset: 0.12em;
    text-decoration-color: var(--accent);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Blueprint grid texture for dark panels --- */
.hero::before,
.page-hero::before,
.privacy-callout::before,
.cta-box::before,
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

/* --- Skip-to-content link (visible only when focused) --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 10000;
    padding: 10px 18px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: top var(--transition);
}

.skip-link:focus {
    top: 12px;
    color: var(--ink);
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

/* --- Focus-visible styles for keyboard users --- */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
}

.btn:focus-visible,
.google-play-badge:focus-visible {
    outline-offset: 4px;
}

.faq-question:focus-visible,
.pricing-faq summary:focus-visible {
    outline-offset: -2px;
}

main:focus,
main:focus-visible {
    outline: none;
}

/* --- Section Headers --- */
.section-header {
    max-width: 680px;
    margin-bottom: 60px;
}

/* Header aligned to a centered narrow column (e.g. the support FAQ list):
   stays left-aligned but shares the column's edges instead of the container's. */
.section-header.narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Mono eyebrow label (replaces the old pill badge; icon hidden) */
.section-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 1.1rem;
}

.section-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent);
    flex-shrink: 0;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--accent-text);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-deep);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-ink);
}

.btn-secondary:hover {
    color: var(--ink);
    background: rgba(15, 23, 42, 0.05);
    border-color: var(--ink);
}

.btn-sm {
    padding: 0.7rem 1.2rem;
    font-size: 0.74rem;
}

.btn-lg {
    padding: 1.1rem 2rem;
    font-size: 0.85rem;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(var(--dark-rgb), 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(var(--dark-rgb), 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo:hover {
    opacity: 0.85;
}

.header-logo img {
    height: 34px;
    width: 34px;
    border-radius: 0;
}

.header-logo span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    padding: 0.5rem 0.8rem;
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.1rem;
    height: 1px;
    background: var(--accent-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: #fff;
}

.nav-cta {
    margin-left: 12px;
}

.nav-cta .btn {
    background: #fff;
    color: var(--ink);
}

.nav-cta .btn:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

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

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

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

/* Mobile Nav Panel */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(var(--dark-rgb), 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 24px 24px;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    text-align: center;
    transition: color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: #fff;
}

.mobile-nav .btn.btn-primary {
    margin-top: 8px;
    width: 100%;
    background: #fff;
    color: var(--ink);
}

.mobile-nav .btn.btn-primary:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
}

/* --- Hero Section (home) --- */
.hero {
    background: var(--dark);
    color: #fff;
    padding-top: calc(var(--header-height) + 72px);
    padding-bottom: 88px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.06;
    margin: 0 auto 24px;
    max-width: 800px;
    text-wrap: balance;
}

.hero .text-gradient {
    text-decoration-color: var(--accent-light);
}

.hero .section-badge {
    justify-content: center;
    color: var(--on-dark-muted);
    margin-bottom: 1.75rem;
}

.hero .section-badge::before {
    background: var(--accent-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--on-dark-soft);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

.google-play-badge {
    display: inline-block;
    line-height: 0;
    transition: opacity var(--transition);
}

.google-play-badge:hover {
    opacity: 0.85;
}

.google-play-badge img {
    display: block;
    width: auto;
    margin: -7.5% 0;
}

.hero-actions .google-play-badge img {
    height: 94px;
}

.cta-box .google-play-badge img {
    height: 80px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Device screenshot in a plain phone bezel */
.device-frame {
    display: inline-block;
    padding: 10px;
    background: linear-gradient(160deg, #1a242e, #0b1116);
    border-radius: 34px;
    box-shadow:
        0 24px 60px -20px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(148, 163, 184, 0.15);
}

.device-frame img {
    display: block;
    border-radius: 24px;
    width: 100%;
    height: auto;
}

/* Two-column hero at >= 900px */
@media (min-width: 900px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        gap: 64px;
        align-items: center;
    }

    .hero-grid .hero-copy {
        text-align: left;
    }

    .hero-grid .hero-copy .section-badge {
        justify-content: flex-start;
    }

    .hero-grid h1 {
        margin: 0 0 24px;
        max-width: none;
    }

    .hero-grid .hero-subtitle {
        margin: 0 0 40px;
        max-width: 520px;
    }

    .hero-grid .hero-actions {
        justify-content: flex-start;
    }
}

/* --- The storage card: ClutterScrub's hero device and ledger form ---
   The app's own storage card redrawn for the dark ground (BRAND.md,
   ClutterScrub sheet, signature moment 1): one segmented bar and its
   labelled segments with their bytes. Rows are split by hairlines, never
   dotted leaders (DocuScanr's ledger) and never before/after pairs
   (Imgport's receipt). Segment widths are the real byte proportions, with a
   floor so a small segment stays visible; the legend carries every value as
   text, so the bar's tones are never the only cue. */
.storage-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 28px 28px 22px;
    max-width: 520px;
    width: 100%;
    margin: 56px auto 0;
}

.storage-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    margin-bottom: 14px;
}

.storage-head .storage-label {
    color: var(--accent-light);
}

.storage-total {
    font-size: 1rem;
    color: var(--on-dark-soft);
    margin-bottom: 18px;
}

.storage-total strong {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0.15em;
}

.storage-total .nowrap {
    white-space: nowrap;
}

.storage-bar {
    display: flex;
    gap: 3px;
    height: 14px;
    margin-bottom: 22px;
}

.storage-bar .seg {
    flex: 0 0 0;
    min-width: 5px;
    border-radius: 2px;
}

.seg-media,
.sw-media {
    background: var(--accent-light);
}

.seg-apps,
.sw-apps {
    background: rgba(255, 255, 255, 0.85);
}

.seg-other,
.sw-other {
    background: rgba(255, 255, 255, 0.55);
}

.seg-trash,
.sw-trash {
    background: rgba(255, 255, 255, 0.35);
}

.seg-system,
.sw-system {
    background: rgba(255, 255, 255, 0.2);
}

.seg-free,
.sw-free {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.storage-legend li {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--on-dark-soft);
}

.storage-legend .sw {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    align-self: center;
}

.storage-legend .val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #fff;
    white-space: nowrap;
}

.storage-legend li.is-clean {
    color: #fff;
    font-weight: 600;
}

.storage-legend li.is-clean .val {
    color: var(--accent-light);
}

.storage-card figcaption {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-light);
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--on-dark-muted);
}

@media (min-width: 900px) {
    .hero-grid .storage-card {
        margin: 0;
        justify-self: end;
    }
}

/* --- The system asks: ClutterScrub's proof moment ---
   Android's own confirmation quoted as it appears, beside the 30-day trash
   window (BRAND.md, signature moment 2): the proof that nothing is removed
   without the system asking. Lives on the dark callout panel. */
.system-asks {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 56px;
}

.sys-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 14px;
}

/* The quoted dialog keeps the system's own light surface, so it reads as
   Android's dialog rather than one of the site's panels. */
.sys-dialog {
    margin: 0;
}

.sys-dialog blockquote {
    background: #fef7ff;
    border-radius: 22px;
    padding: 26px 26px 18px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}

.sys-dialog blockquote p {
    font-family: var(--font-sans);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.45;
    color: #1d1b20;
    margin-bottom: 22px;
}

.sys-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.sys-buttons span {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: #6750a4;
    padding: 8px 14px;
}

.sys-dialog figcaption.sys-note {
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--on-dark-muted);
}

.trash-window {
    display: flex;
    flex-direction: column;
}

.tw-box {
    flex: 1;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.04);
}

.tw-track {
    position: relative;
    height: 8px;
    margin: 6px 0 22px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.tw-track::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: var(--accent-light);
    opacity: 0.85;
}

.tw-track::after {
    content: "";
    position: absolute;
    right: 0;
    top: -6px;
    bottom: -6px;
    width: 2px;
    background: #fff;
}

.tw-steps {
    display: grid;
    gap: 12px;
}

.tw-steps li {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 14px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--on-dark-soft);
}

.tw-day {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    padding-top: 2px;
}

/* --- The cannot list: ClutterScrub's ledger content ---
   What the app cannot do, each with the platform fact that enforces it.
   ClutterScrub's own form for its permission facts; never Imgport's
   manifest line. */
.cannot-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    margin-bottom: 6px;
}

.cannot-list li {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 15rem);
    gap: 8px 20px;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cannot-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cannot-mark {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.cannot-claim {
    color: var(--on-dark-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cannot-claim strong {
    color: #fff;
    font-weight: 600;
}

.cannot-why {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--on-dark-muted);
    text-align: right;
}

@media (max-width: 900px) {
    .system-asks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cannot-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .cannot-why {
        text-align: left;
    }

    .tw-steps li {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .storage-card {
        padding: 22px 18px 18px;
    }

    .storage-total strong {
        font-size: 1.7rem;
    }
}

/* --- Feature entries (numbered, editorial) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
}

.feature-card {
    background: none;
    border: none;
    border-top: 1px solid var(--line-ink);
    border-radius: 0;
    padding: 1.5rem 0 0;
    transition: border-color var(--transition);
}

.feature-card:hover {
    border-top-color: var(--accent);
}

.feature-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent-text);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-card .pro-badge {
    display: inline-block;
    padding: 2px 8px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: 8px;
    vertical-align: middle;
}

/* --- Privacy Callout (dark ledger panel) --- */
.privacy-callout {
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.privacy-callout > * {
    position: relative;
    z-index: 1;
}

.privacy-callout h2 {
    color: #fff;
    margin-bottom: 16px;
    max-width: 620px;
    text-wrap: balance;
}

.privacy-callout .text-gradient {
    text-decoration-color: var(--accent-light);
}

.privacy-callout > p {
    font-size: 1.1rem;
    color: var(--on-dark-soft);
    max-width: 560px;
    margin-bottom: 48px;
}

.privacy-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
}

.privacy-point {
    display: block;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
    transition: border-color var(--transition);
}

.privacy-point:hover {
    border-top-color: var(--accent-light);
}

.privacy-key {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 1.1rem;
}

.privacy-point h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.privacy-point p {
    font-size: 0.88rem;
    color: var(--on-dark-soft);
    text-align: left;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-box {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--on-dark-soft);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-box .cta-box-footnote {
    max-width: none;
    margin: 24px auto 0;
    font-size: 0.9rem;
    color: var(--on-dark-muted);
}

.cta-box .cta-box-footnote a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
}

.cta-box .cta-box-footnote a:hover {
    text-decoration-color: #fff;
    color: #fff;
}

/* --- Quiet CTA (Home, Features) --- */
.cta-quiet {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-quiet h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.cta-quiet p {
    margin-bottom: 28px;
    font-size: 1rem;
}

.cta-quiet-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-quiet-actions .google-play-badge img {
    height: 80px;
}

.cta-quiet-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cta-quiet-link a {
    color: var(--accent-text);
    font-weight: 600;
}

/* --- Page Hero (non-homepage) --- */
.page-hero {
    background: var(--dark);
    color: #fff;
    padding-top: calc(var(--header-height) + 56px);
    padding-bottom: 56px;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-badge {
    color: var(--on-dark-muted);
}

.page-hero .section-badge::before {
    background: var(--accent-light);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 780px;
    text-wrap: balance;
}

.page-hero .text-gradient {
    text-decoration-color: var(--accent-light);
}

.page-hero p {
    color: var(--on-dark-soft);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0;
}

/* --- Features Page --- */
.features-detail-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--line);
}

.features-detail-section:last-of-type {
    border-bottom: none;
}

.features-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.features-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.features-detail-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent-text);
}

.features-detail-header h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.features-detail-header p {
    font-size: 1.02rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.features-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.features-list-item:hover {
    border-color: var(--line-ink);
}

.features-list-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-text);
    flex-shrink: 0;
    margin-top: 3px;
}

.features-list-item .item-content h3,
.features-list-item .item-content h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ink);
}

.features-list-item .item-content p {
    font-size: 0.9rem;
    line-height: 1.55;
}

.features-list-item code,
.faq-answer-inner code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--ink);
    background: rgba(15, 23, 42, 0.05);
    border-radius: 3px;
    padding: 1px 5px;
}

.features-list-item .pro-badge,
.features-detail-section .pro-badge {
    display: inline-block;
    padding: 1px 7px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: 6px;
    vertical-align: middle;
}

/* --- Features page: two-column layout with sticky TOC --- */
.features-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-toc {
    display: none;
}

@media (min-width: 1024px) {
    .features-layout {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 56px;
        align-items: start;
    }

    .features-toc {
        display: block;
        position: sticky;
        top: calc(var(--header-height) + 40px);
        padding-top: 60px;
    }

    .features-toc-label {
        display: block;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-bottom: 14px;
        padding-left: 14px;
    }

    .features-toc ol {
        list-style: none;
        padding: 0;
        margin: 0;
        border-left: 1px solid var(--line);
    }

    .features-toc a {
        display: block;
        padding: 7px 14px;
        font-size: 0.85rem;
        font-weight: 400;
        color: var(--text-soft);
        border-left: 2px solid transparent;
        margin-left: -1px;
        transition:
            color var(--transition),
            border-color var(--transition);
    }

    .features-toc a:hover {
        color: var(--ink);
    }

    .features-toc a.active {
        color: var(--accent-text);
        border-left-color: var(--accent);
    }
}

/* --- Proof card (Features Security/Privacy/Sensitive Content) --- */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.proof-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 22px 24px 20px;
    transition: border-color var(--transition);
}

.proof-card:hover {
    border-left-color: var(--accent-text);
}

.proof-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 10px;
}

.proof-card h3.proof-claim {
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.proof-body {
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Inline feature-section screenshot --- */
.feature-screenshot {
    display: flex;
    justify-content: center;
    margin: 8px auto 32px;
}

.feature-screenshot .device-frame {
    max-width: 280px;
    width: 100%;
}

@media (min-width: 1024px) {
    .feature-screenshot .device-frame {
        max-width: 300px;
    }
}

/* --- Pricing Page --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

/* One edition, one card: the paid app is the whole product. */
.pricing-grid.single {
    grid-template-columns: 1fr;
    max-width: 560px;
}

.pricing-price .amount.amount-words {
    font-size: 2.2rem;
}

.pricing-card .google-play-badge {
    align-self: center;
    margin-top: auto;
}

.pricing-card .google-play-badge img {
    height: 80px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--line-ink);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--accent);
}

.pricing-card.featured:hover {
    border-color: var(--accent-text);
}

.pricing-tier-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    align-self: flex-start;
}

.pricing-card:not(.featured) .pricing-tier-badge {
    border: 1px solid var(--line-ink);
    color: var(--text-soft);
}

.pricing-card.featured .pricing-tier-badge {
    border: 1px solid var(--accent);
    color: var(--accent-text);
}

.pricing-price {
    margin-bottom: 8px;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.pricing-price .period {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 6px;
}

.pricing-description {
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-bottom: 28px;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-text);
    flex-shrink: 0;
    margin-top: 3px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    max-width: 720px;
    margin: 40px auto 0;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.pricing-note p {
    font-size: 1rem;
}

.pricing-note strong {
    color: var(--ink);
}

.pricing-cta-caption {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* --- Pricing inline FAQ (native details) --- */
.pricing-faq {
    max-width: 720px;
    margin: 56px auto 0;
}

.pricing-faq h2,
.pricing-faq h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.pricing-faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.pricing-faq details[open] {
    border-color: var(--accent);
}

.pricing-faq summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 1rem;
}

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

.pricing-faq summary::after {
    content: "+";
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: transform var(--transition);
    line-height: 1;
}

.pricing-faq details[open] summary::after {
    transform: rotate(45deg);
}

.pricing-faq-body {
    padding: 0 20px 18px;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-faq-body p {
    margin-bottom: 10px;
}

.pricing-faq-body p:last-child {
    margin-bottom: 0;
}

.pricing-faq-more {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.pricing-faq-more a,
.pricing-note a {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 60px) 24px 80px;
}

.legal-content .legal-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}

.legal-content .legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.legal-content .legal-header .legal-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.legal-body h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.legal-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-body h3 {
    font-size: 1.15rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--accent-text);
}

.legal-body p {
    margin-bottom: 16px;
    font-size: 0.98rem;
    line-height: 1.8;
}

.legal-body ul,
.legal-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-body ul {
    list-style: disc;
}

.legal-body ol {
    list-style: decimal;
}

.legal-body li {
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-body strong {
    color: var(--ink);
    font-weight: 600;
}

.legal-body a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 2px;
}

.legal-body a:hover {
    color: var(--accent-text);
}

.legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.legal-body table th,
.legal-body table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--line);
    color: var(--text-soft);
}

.legal-body table th {
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.legal-body table td {
    background: var(--surface);
}

.legal-body .info-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.legal-body .info-box p {
    margin-bottom: 0;
    color: var(--text-soft);
}

.legal-body .info-box strong {
    color: var(--accent-text);
}

/* --- Support / FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--line-ink);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent-text);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent-text);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
}

.faq-answer-inner p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer-inner p + p {
    margin-top: 12px;
}

.faq-permission-list {
    list-style: disc;
    padding-left: 22px;
    margin-top: 12px;
}

.faq-permission-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.faq-permission-list li:last-child {
    margin-bottom: 0;
}

.faq-permission-list li strong {
    color: var(--ink);
    font-weight: 600;
}

.faq-answer-inner p + .faq-permission-list,
.faq-permission-list + p {
    margin-top: 12px;
}

.faq-item.active .faq-answer {
    max-height: 1500px;
}

/* --- Contact panel (Support) --- */
.contact-section {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 48px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.contact-section > * {
    position: relative;
    z-index: 1;
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 12px;
}

.contact-section p {
    color: var(--on-dark-soft);
    margin-bottom: 24px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color var(--transition);
    overflow-wrap: anywhere;
}

.contact-email:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.contact-email svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-links {
    margin-top: 28px;
}

.contact-links p {
    font-size: 0.85rem;
    color: var(--on-dark-soft);
    line-height: 1.6;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

/* --- Guide pages (long-form articles) --- */
.guide-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 56px 24px 40px;
}

.guide-body h2 {
    font-size: 1.6rem;
    margin-top: 48px;
    margin-bottom: 16px;
}

.guide-body h2:first-child {
    margin-top: 0;
}

.guide-body h3 {
    font-size: 1.18rem;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--accent-text);
}

.guide-body p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.guide-body ul,
.guide-body ol {
    padding-left: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-soft);
}

.guide-body ul {
    list-style: disc;
}

.guide-body ol {
    list-style: decimal;
}

.guide-body li {
    margin-bottom: 8px;
}

.guide-body strong {
    color: var(--ink);
    font-weight: 600;
}

.guide-body a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 2px;
}

.guide-body a:hover {
    color: var(--accent-text);
}

.guide-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.guide-body table th,
.guide-body table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--line);
    color: var(--text-soft);
}

.guide-body table th {
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.guide-body table td {
    background: var(--surface);
}

.guide-body .info-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.guide-body .info-box p {
    margin-bottom: 0;
}

.guide-body .info-box strong {
    color: var(--accent-text);
}

.guide-body .guide-screenshot {
    margin: 36px auto;
    text-align: center;
}

.guide-body .guide-screenshot .device-frame {
    max-width: 260px;
    width: 100%;
}

.guide-body .guide-screenshot-caption {
    max-width: 420px;
    margin: 14px auto 0;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

/* --- Guides hub --- */
.guides-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    gap: 20px;
}

.guide-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 32px;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.guide-card:hover {
    border-color: var(--ink);
    box-shadow: var(--shadow-md);
}

.guide-card h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.guide-card p {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 0;
}

.guide-card-cta {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-text);
}

/* --- Footer --- */
.site-footer {
    background: var(--dark);
    border-top: none;
    padding: 60px 0 0;
    color: var(--on-dark-muted);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 30px;
    width: 30px;
    border-radius: 0;
}

.footer-logo span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--on-dark-soft);
}

.footer-parent {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.footer-parent a {
    color: var(--on-dark-muted);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.25);
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.footer-parent a:hover {
    color: #fff;
    text-decoration-color: #fff;
}

.footer-brand .google-play-badge {
    margin-top: 16px;
}

.footer-brand .google-play-badge img {
    height: 56px;
}

.footer-column h3 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-column ul a {
    color: var(--on-dark-muted);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color var(--transition);
}

.footer-column ul a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.footer-bottom p {
    color: inherit;
}

.footer-bottom a {
    color: var(--on-dark-muted);
}

.footer-bottom a:hover {
    color: #fff;
}

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

/* --- Scroll Reveal Animations ---
   Hidden state only applies when JS is running (html.js set in header.php),
   so no-JS visitors and crawlers always see the content. */
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Scoped under .js so these outrank the .js .reveal transition shorthand,
   which resets transition-delay and would otherwise kill the stagger. */
.js .reveal-delay-1 {
    transition-delay: 0.06s;
}
.js .reveal-delay-2 {
    transition-delay: 0.12s;
}
.js .reveal-delay-3 {
    transition-delay: 0.18s;
}
.js .reveal-delay-4 {
    transition-delay: 0.24s;
}
.js .reveal-delay-5 {
    transition-delay: 0.3s;
}
.js .reveal-delay-6 {
    transition-delay: 0.36s;
}

/* --- Responsive --- */

/* Tablet and below */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.875rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .privacy-points {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .header-logo img {
        height: 30px;
        width: 30px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 48px);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }


    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .privacy-callout {
        padding: 40px 24px;
    }

    .privacy-points {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .page-hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 40px;
    }

    .legal-content {
        padding-top: calc(var(--header-height) + 40px);
    }

    .guide-content {
        padding-top: 40px;
    }

    .legal-content .legal-header h1 {
        font-size: 2rem;
    }

    .contact-section {
        padding: 36px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .legal-body table {
        font-size: 0.8rem;
    }

    .legal-body table th,
    .legal-body table td {
        padding: 8px 10px;
    }

    .pricing-card {
        padding: 28px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-answer-inner {
        padding: 0 20px 16px;
    }

}

/* --- Reduced motion: respect user preference --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    /* Must outrank the .js .reveal hidden state, which a bare .reveal
       selector loses to on specificity. */
    .js .reveal,
    .reveal {
        opacity: 1;
        transform: none;
    }

}
