/* ---------- Woodshed design tokens ---------- */
:root {
    --paper:        #F4EEE4;
    --parchment:    #EADCCA;
    --ink:          #201208;
    --ink-soft:     #37291C;
    --muted:        #897B6B;
    --amber:        #D5923F;
    --amber-deep:   #A97339;
    --dark-panel:   #18100A;
    --card-fill:    rgba(255, 255, 255, 0.30);
    --card-stroke:  rgba(255, 255, 255, 0.45);
    --tint-bg:      rgba(213, 146, 63, 0.13);
    --shadow-ink:   rgba(32, 18, 8, 0.12);
}
@media (prefers-color-scheme: dark) {
    :root {
        --paper:        #F4EEE4;   /* keep cream even in dark — panels handle their own bg */
        --parchment:    #EADCCA;
        --ink:          #201208;
        --ink-soft:     #37291C;
        --muted:        #897B6B;
        --amber:        #D5923F;
        --amber-deep:   #A97339;
        --card-fill:    rgba(255, 255, 255, 0.06);
        --card-stroke:  rgba(255, 255, 255, 0.12);
        --tint-bg:      rgba(213, 146, 63, 0.15);
        --shadow-ink:   rgba(0, 0, 0, 0.50);
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body.inner-page { background: var(--paper); }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: var(--ink);
    background: var(--dark-panel);
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
}

/* ---------- Custom mobile install banner ---------- */
.install-banner {
    display: none;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 8, 4, 0.95);
    border-bottom: 1px solid rgba(213, 146, 63, 0.25);
    padding: 0.65rem 0.85rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.install-banner.visible { display: flex; }
.install-banner .close {
    background: transparent; border: 0; color: #897B6B;
    font-size: 1.4rem; line-height: 1; padding: 0.3rem 0.5rem;
    cursor: pointer; border-radius: 50%;
}
.install-banner .close:hover { color: #D5923F; }
.install-banner .icon { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; object-fit: cover; }
.install-banner .info { flex: 1; min-width: 0; }
.install-banner .info strong {
    color: #D5923F; font-size: 0.92rem; display: block; font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.install-banner .info span {
    font-size: 0.75rem; color: #897B6B; display: block;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.install-banner .get {
    background: #D5923F; color: #0D0804; text-decoration: none;
    font-weight: 800; font-size: 0.78rem; padding: 0.5rem 1rem;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Phone frame mockup ---------- */
.phone-wrap {
    align-self: center;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    width: 78%;
    max-width: 214px;
    background: #1C1C1E;
    border-radius: 32px;
    padding: 14px 6px 12px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 0 2px #3a3a3c,
        0 28px 72px rgba(0, 0, 0, 0.55),
        0 8px 24px rgba(0, 0, 0, 0.30);
}
.phone-wrap img {
    display: block;
    width: 100%;
    /* iPhone 15 Pro screen ratio: 1179 × 2556 */
    aspect-ratio: 1179 / 2556;
    object-fit: cover;
    object-position: top;
    border-radius: 22px;
}
/* Dynamic Island */
.phone-wrap::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 24px;
    background: #1C1C1E;
    border-radius: 12px;
    z-index: 2;
    pointer-events: none;
}
/* Home indicator */
.phone-wrap::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    pointer-events: none;
}

/* ---------- App Store badge ---------- */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    padding: 0.91rem 1.73rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 20px rgba(56,31,13,0.18), 0 0 0 1px rgba(255,255,255,0.45);
    min-height: 60px;
}
.app-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(213, 146, 63, 0.25), 0 0 0 1px rgba(213, 146, 63, 0.3);
    color: var(--paper);
}
.app-store-badge:active { transform: translateY(0); }
.app-store-badge svg { width: 30px; height: 30px; flex-shrink: 0; fill: currentColor; }
.app-store-badge .label { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.app-store-badge .label .small {
    font-size: 0.73rem; opacity: 0.9; font-weight: 400; letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.app-store-badge .label .big {
    font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 1px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Footer links ---------- */
.links {
    text-align: center;
    margin: 2rem 0 0.5rem;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.links a {
    color: var(--amber-deep);
    text-decoration: none;
    margin: 0 0.8rem;
}
.links a:hover { text-decoration: underline; }

footer {
    text-align: center;
    padding: 1rem 1rem 2rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    font-size: 0.78rem;
    color: var(--muted);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Inner pages (support, privacy) ---------- */
.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 1.5rem);
}
.back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--amber-deep);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.back:hover { text-decoration: underline; }
.wrap h1 {
    color: var(--amber-deep);
    font-size: clamp(2rem, 6vw, 2.6rem);
    font-weight: bold;
    letter-spacing: -0.02em;
    font-style: italic;
}
.lede {
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    color: var(--ink-soft);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}
.contact-card {
    background: var(--card-fill);
    border: 1px solid var(--card-stroke);
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    margin: 1.5rem 0 2.5rem;
    box-shadow: 0 4px 20px var(--shadow-ink);
}
.contact-card h2 { color: var(--ink); font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.contact-card .email {
    display: inline-block;
    margin-top: 0.6rem;
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--amber-deep);
    text-decoration: none;
    border-bottom: 2px solid currentColor;
}
h2.section {
    color: var(--amber-deep);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    letter-spacing: -0.01em;
    font-style: italic;
}
details {
    background: var(--card-fill);
    border: 1px solid rgba(56,31,13,0.12);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
}
details summary {
    font-weight: bold;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
    content: "+";
    color: var(--amber-deep);
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 400;
    flex-shrink: 0;
}
details[open] summary::after { content: "\2212"; }
details[open] { background: var(--tint-bg); border-color: rgba(213, 146, 63, 0.25); }
details p { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.nested-details { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.75rem; }
.nested-details details { background: rgba(32, 18, 8, 0.05); border-color: rgba(32, 18, 8, 0.08); }
.nested-details details[open] { background: rgba(213, 146, 63, 0.08); }
details ul { margin-top: 0.7rem; padding-left: 1.3rem; color: var(--ink-soft); font-size: 0.95rem; }
details li { margin-bottom: 0.3rem; }

.prose h2 {
    color: var(--amber-deep);
    font-size: 1.15rem;
    font-weight: bold;
    font-style: italic;
    margin: 2rem 0 0.6rem;
}
.prose p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.8rem; line-height: 1.7; }
.prose ul { padding-left: 1.3rem; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.8rem; }
.prose li { margin-bottom: 0.3rem; }
.prose .updated {
    font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* ============================================================
   HOME PAGE REDESIGN
   ============================================================ */

/* --- Device frames (shared) --- */
.device-mac-screen {
    background: #141414;
    border-radius: 10px;
    padding: 8px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 32px 80px rgba(0, 0, 0, 0.65),
        0 8px 24px rgba(0, 0, 0, 0.4);
}
.device-mac-screen img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
}
.device-ipad-frame {
    background: #1C1C1E;
    border-radius: 18px;
    padding: 10px 8px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 0 1.5px #3a3a3c,
        0 24px 60px rgba(0, 0, 0, 0.55);
}
.device-ipad-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

/* --- Site Nav --- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 8, 4, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(213, 146, 63, 0.15);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--paper);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 1.9rem;
    letter-spacing: -0.01em;
}
.nav-logo img {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.88rem;
}
.nav-links a {
    color: rgba(244, 238, 228, 0.65);
    text-decoration: none;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--paper); }
.nav-links .nav-cta {
    background: var(--amber);
    color: #0D0804;
    padding: 0.42rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    transition: background 0.15s;
}
.nav-links .nav-cta:hover { background: #C4832E; color: #0D0804; }

/* --- Hero --- */
.hero {
    background: linear-gradient(180deg, #0D0804 0%, #201208 40%, #37291C 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(88vh, 780px);
    align-items: center;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 5vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    gap: clamp(2rem, 3vw, 3rem);
    overflow: hidden;
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
}
.hero h1 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--paper);
    letter-spacing: -0.02em;
    max-width: 380px;
}
.hero-tagline {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: rgba(244, 238, 228, 0.5);
    line-height: 1.5;
    margin-top: -0.3rem;
    margin-bottom: 0.6rem;
}
.hero-sub {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    color: var(--amber);
    line-height: 1.75;
}
.hero-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.93rem, 1.3vw, 1.02rem);
    color: rgba(244, 238, 228, 0.65);
    line-height: 1.65;
    max-width: 400px;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.4rem;
}
.hero-cta .device-note {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.76rem;
    color: rgba(244, 238, 228, 0.4);
}
.hero-cta .app-store-badge {
    background: #D5923F;
    color: #0D0804;
    box-shadow: 0 6px 28px rgba(213, 146, 63, 0.45), 0 2px 8px rgba(213, 146, 63, 0.2);
}
.hero-cta .app-store-badge svg { fill: #0D0804; }
.hero-cta .app-store-badge .small,
.hero-cta .app-store-badge .big { color: #0D0804; }
.hero-cta .app-store-badge:hover {
    background: #D8A361;
    box-shadow: 0 10px 36px rgba(213, 146, 63, 0.6), 0 4px 12px rgba(213, 146, 63, 0.3);
    color: #0D0804;
}
.hero-secondary-cta {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.88rem;
    color: rgba(244, 238, 228, 0.55);
    text-decoration: none;
    border-bottom: 1px solid rgba(244, 238, 228, 0.25);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
    margin-top: 0.25rem;
}
.hero-secondary-cta:hover {
    color: var(--amber);
    border-color: var(--amber);
}

/* Hero device composition */
.hero-devices {
    position: relative;
    width: min(912px, 66vw);
    aspect-ratio: 760 / 500;
    transform: translateY(-40px);
}

/* --- MacBook (z-index 1, background anchor) --- */
.hd-macbook {
    position: absolute;
    width: 72.4%;
    right: 0;
    bottom: 0;
    z-index: 1;
    filter:
        drop-shadow(0 32px 56px rgba(0,0,0,.55))
        drop-shadow(0 8px 16px rgba(0,0,0,.30));
    transform: perspective(200px) rotateY(-2deg);
}
.hd-mb-lid {
    background: linear-gradient(170deg, #3e3e3e 0%, #292929 55%, #1f1f1f 100%);
    border-radius: 12px 12px 2px 2px;
    padding: 10px 10px 7px;
    position: relative;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.13),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(0,0,0,0.5);
}
/* Notch */
.hd-mb-lid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 13%;
    height: 10px;
    background: #000;
    border-radius: 0 0 6px 6px;
    z-index: 2;
}
.hd-mb-screen {
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,0.9),
        inset 0 1px 6px rgba(0,0,0,0.6);
}
.hd-mb-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(1.1) contrast(1.04);
}
.hd-mb-hinge {
    height: 3px;
    background: linear-gradient(to bottom, #111, #2c2c2c);
    box-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.hd-mb-base {
    background: linear-gradient(to bottom, #303030 0%, #252525 50%, #1e1e1e 100%);
    height: 22px;
    border-radius: 0 0 6px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.07);
}
/* Keyboard row texture */
.hd-mb-keys {
    width: 82%;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 3px,
        transparent 3px, transparent 5px
    );
    border-radius: 1px;
}
/* Trackpad */
.hd-mb-pad {
    width: 13%;
    height: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1px;
}

/* --- iPad (z-index 2, midground) --- */
.hd-ipad {
    position: absolute;
    width: 46.1%;
    left: 6.6%;
    top: 8%;
    z-index: 2;
    filter: drop-shadow(0 18px 32px rgba(0,0,0,.30));
}
.hd-ipad-body {
    background: #1c1c1e;
    border-radius: 22px;
    padding: 12px 10px 10px;
    position: relative;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.13);
}
/* Front camera dot */
.hd-ipad-body::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #111;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.1);
}
.hd-ipad-screen {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}
.hd-ipad-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* --- iPhone (z-index 3, foreground focal) --- */
.hd-iphone {
    position: absolute;
    width: 16.4%;
    left: 0;
    bottom: -2%;
    z-index: 3;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,.40));
}
.hd-iphone-body {
    background: #1c1c1e;
    border-radius: 24px;
    padding: 8px 6px 5px;
    position: relative;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.10),
        inset 0 1px 0 rgba(255,255,255,0.18);
}
/* Side power button (right) */
.hd-iphone-body::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 30%;
    width: 3px;
    height: 22px;
    background: #3a3a3a;
    border-radius: 0 2px 2px 0;
}
/* Volume buttons (left) */
.hd-iphone-body::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 25%;
    width: 3px;
    height: 16px;
    background: #3a3a3a;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 24px 0 #3a3a3a;
}
.hd-iphone-screen {
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1179 / 2556;
}
.hd-iphone-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
/* Dynamic Island */
.hd-iphone-island {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    height: 11px;
    background: #000;
    border-radius: 20px;
    z-index: 2;
}
/* Home indicator */
.hd-iphone-bar {
    width: 36%;
    height: 3px;
    background: rgba(255,255,255,0.30);
    border-radius: 2px;
    margin: 5px auto 2px;
}

/* --- Problem section --- */
.problem-section {
    background: var(--paper);
    border-top: 1px solid rgba(32, 18, 8, 0.08);
}
.problem-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
.problem-copy h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.problem-copy p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--ink-soft);
    line-height: 1.7;
}
.camera-roll-mock {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(32, 18, 8, 0.18);
    transform: scale(1.25);
    transform-origin: center center;
}
.camera-roll-mock img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Metadata section --- */
.metadata-section {
    background: var(--parchment);
}
.metadata-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
.metadata-device {
    display: flex;
    justify-content: center;
}
.metadata-device .device-ipad-frame {
    width: 100%;
    max-width: 342px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 0 1.5px #3a3a3c,
        0 16px 36px rgba(0, 0, 0, 0.28);
}
.metadata-copy {
    padding-top: 24px;
}
.metadata-copy h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.metadata-copy > p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.93rem, 1.3vw, 1.02rem);
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 0.8rem;
}
.metadata-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.metadata-list li {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    color: var(--ink-soft);
    padding-left: 1.2rem;
    position: relative;
}
.metadata-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--amber-deep);
    font-weight: 600;
}
.aside-quote {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: normal;
    font-size: 1.15rem;
    color: var(--ink);
    border-left: 3px solid var(--amber-deep);
    padding-left: 0.9rem;
    margin-top: 2.5rem;
    line-height: 1.5;
}

/* --- Practice section --- */
.practice-section {
    background: var(--dark-panel);
}
.practice-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
.practice-copy h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    color: var(--paper);
    line-height: 1.1;
    margin-bottom: 1.75rem;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.feature-list li {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.93rem, 1.3vw, 1.02rem);
    color: rgba(244, 238, 228, 0.78);
    padding-left: 1.4rem;
    position: relative;
    line-height: 1.45;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 7px;
    height: 7px;
    background: var(--amber);
    border-radius: 50%;
}
.practice-device {
    margin-top: -2rem;
    transform: scale(0.97);
    transform-origin: center top;
}
.practice-device .device-mac-screen img {
    object-position: 0% 75%;
}

/* --- Cross-device section --- */
.crossdevice-section {
    background: var(--paper);
    border-top: 1px solid rgba(32, 18, 8, 0.08);
}
.crossdevice-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}
.crossdevice-inner h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.cd-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.93rem, 1.3vw, 1.02rem);
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto 0.4rem;
}
.cd-sync {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
}
.crossdevice-devices {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.9fr;
    gap: 0.65rem;
    align-items: flex-end;
}
.cd-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.cd-label {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: normal;
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin: 0;
    text-align: center;
}
.cd-iphone .phone-wrap { width: 100%; max-width: 160px; margin: 0; }
.cd-ipad .device-ipad-frame { width: 100%; }
.cd-mac { transform: scale(0.92); transform-origin: bottom center; }
.cd-mac .device-mac-screen { width: 100%; }

/* --- Audience section --- */
.audience-section {
    background: var(--parchment);
}
.audience-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}
.audience-inner h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: var(--ink);
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.audience-card {
    background: rgba(32, 18, 8, 0.04);
    border: 1px solid rgba(32, 18, 8, 0.22);
    border-radius: 14px;
    padding: 0.85rem 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s, background 0.15s;
}
.audience-card:hover {
    transform: translateY(-2px);
    background: rgba(32, 18, 8, 0.07);
}
.audience-icon {
    width: 168px;
    height: 168px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.audience-icon img {
    width: 168px;
    height: 168px;
    object-fit: contain;
}
.audience-card-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
    display: block;
    margin-bottom: 0.3rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
}
.audience-card-desc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.55;
    display: block;
    max-width: 18ch;
}

/* --- FAQ section --- */
.faq-section {
    background: var(--paper);
    border-top: 1px solid rgba(32, 18, 8, 0.08);
}
.faq-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4.25rem) clamp(1.5rem, 4vw, 1.5rem);
}
.faq-inner h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--amber-deep);
    margin-bottom: 2rem;
}
.objections {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(32, 18, 8, 0.09);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.objection {
    padding: 0.95rem 1.4rem;
    border-bottom: 1px solid rgba(32, 18, 8, 0.07);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1rem;
    align-items: baseline;
    background: rgba(213, 146, 63, 0.04);
}
.objection:last-child { border-bottom: none; }
.objection:hover { background: rgba(213, 146, 63, 0.09); }
.objection dt {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}
.objection dd {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
}
.faq-support-link {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.88rem;
    color: var(--amber-deep);
    text-decoration: none;
    display: inline-block;
}
.faq-support-link:hover { text-decoration: underline; }

/* --- Site footer --- */
.site-footer {
    background: var(--dark-panel);
    border-top: 1px solid rgba(213, 146, 63, 0.12);
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 5vw, 4rem);
}
.footer-inner {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1.75rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
}
.footer-title {
    display: block;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--paper);
    line-height: 1;
}
.footer-tagline {
    display: block;
    margin-top: 0.3rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8rem;
    color: rgba(244, 238, 228, 0.75);
    line-height: 1.4;
}
.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.footer-cta .app-store-badge {
    filter: brightness(1.12);
}
.footer-device-note {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.74rem;
    color: rgba(244, 238, 228, 0.55);
}
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.85rem;
}
.footer-links a {
    color: rgba(244, 238, 228, 0.62);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--amber); }

/* --- Home page mobile --- */
@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 2rem;
    }
    .hero-content { max-width: 100%; }
    .hero-cta { align-items: center; }
    .hero-devices { width: min(520px, 88vw); margin: 0 auto; }
    .hd-mb-base { height: 14px; }
    .hero-body { max-width: 100%; }

    .problem-inner,
    .metadata-inner,
    .practice-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .camera-roll-mock { transform: none; }
    .metadata-device { order: -1; }
    .metadata-device .device-ipad-frame { max-width: 260px; }

    .crossdevice-devices {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .cd-iphone .phone-wrap { max-width: none; }

    .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .audience-card { padding: 0.75rem 0.75rem 0.65rem; }
    .audience-icon { width: 100px; height: 100px; margin-bottom: 0.4rem; }
    .audience-icon img { width: 100px; height: 100px; }

    .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .footer-brand { flex-direction: column; text-align: center; }
    .footer-links { align-items: center; }

    .nav-links { display: none; }
}
@media (max-width: 480px) {
    .crossdevice-devices { grid-template-columns: 1fr; align-items: center; }
    .cd-iphone, .cd-ipad { max-width: 180px; margin: 0 auto; }
    .cd-iphone .phone-wrap { max-width: 180px; margin: 0; }
    .audience-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
}
