/* ===== Apple-Inspired Design System ===== */
/* Reference: DESIGN.md — SF Pro, cinematic sections, binary light/dark rhythm */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Apple Color System */
    --black: #000000;
    --white: #ffffff;
    --gray-bg: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: rgba(0, 0, 0, 0.8);
    --text-tertiary: rgba(0, 0, 0, 0.48);
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --link-light: #0066cc;
    --link-dark: #2997ff;

    /* Surfaces */
    --dark-surface: #1d1d1f;
    --card-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px;

    /* Typography — SF Pro fallback chain */
    --font-display: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --font-text: 'SF Pro Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    /* Layout */
    --max-width: 980px;
    --section-padding: 120px 0;
}

html { scroll-behavior: smooth }

body {
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.374px;
    color: var(--text-primary);
    background: var(--gray-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none }
img { max-width: 100%; height: auto; display: block }

/* ===== Skip Navigation (Accessibility) ===== */

.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    background: var(--accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
    font-weight: 600;
    transition: top .2s;
}

.skip-nav:focus { top: 0 }

/* ===== Navigation — Glass Effect ===== */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 48px;
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.374px;
}

.nav-links { display: flex; gap: 28px }

.nav-links a {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: color .2s;
}

.nav-links a:hover { color: var(--white) }
.nav-links a.active { color: var(--white) }

/* ===== Sections — Content-Driven Layout ===== */

.section {
    padding: var(--section-padding);
    text-align: center;
}

.section + .section { margin-top: 12px }
.nav + .section { margin-top: 0 }
.product-nav + .section { margin-top: 0 }

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-light {
    background: var(--gray-bg);
    color: var(--text-primary);
}

.section-white {
    background: var(--white);
    color: var(--text-primary);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography — Apple Hierarchy ===== */

.headline-hero {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.4px;
}

.headline-section {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.10;
    letter-spacing: normal;
    margin-bottom: 16px;
}

.headline-tile {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: 0.196px;
}

.subtitle {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.19;
    letter-spacing: 0.231px;
    margin-top: 12px;
}

.section-dark .subtitle { color: rgba(255, 255, 255, 0.7) }
.section-light .subtitle,
.section-white .subtitle { color: var(--text-secondary) }

.body-text {
    font-family: var(--font-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.47;
    letter-spacing: -0.374px;
}

.caption {
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: -0.224px;
    color: var(--text-tertiary);
}

.section-dark .caption { color: rgba(255, 255, 255, 0.5) }

/* ===== Hero ===== */

.hero {
    padding: 80px 0 40px;
    text-align: center;
}

.hero .headline-hero { margin-bottom: 0 }

.hero .subtitle {
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-screenshot {
    margin-top: 48px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-screenshot img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.app-icon-hero {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    margin: 0 auto 24px;
    display: block;
}

/* ===== Buttons & CTAs ===== */

.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-text);
    font-size: 17px;
    font-weight: 400;
    color: var(--white);
    background: var(--accent);
    padding: 12px 28px;
    border-radius: 980px;
    border: 1px solid transparent;
    transition: background .3s;
    cursor: pointer;
}

.btn-primary:hover { background: var(--accent-hover) }

.btn-primary svg { width: 15px; height: 15px }

.btn-dark {
    background: var(--dark-surface);
    color: var(--white);
}

.btn-dark:hover { background: #2d2d2f }

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-text);
    font-size: 17px;
    font-weight: 400;
    padding: 8px 22px;
    border-radius: 980px;
    border: 1px solid var(--link-light);
    color: var(--link-light);
    background: transparent;
    transition: all .2s;
    cursor: pointer;
}

.btn-pill:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.section-dark .btn-pill {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--link-dark);
}

.section-dark .btn-pill:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.link-more {
    font-size: 17px;
    color: var(--link-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
}

.link-more:hover { text-decoration: underline }

.section-dark .link-more { color: var(--link-dark) }

.meta { font-size: 12px; color: var(--text-tertiary); margin-top: 8px }
.section-dark .meta { color: rgba(255, 255, 255, 0.4) }

/* ===== Screenshot Display ===== */

.screenshot-showcase {
    margin-top: 56px;
    max-width: 100%;
}

.screenshot-showcase img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
}

.section-dark .screenshot-showcase img {
    box-shadow: none;
}

.section-light .screenshot-showcase img,
.section-white .screenshot-showcase img {
    box-shadow: var(--card-shadow);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}

.screenshot-grid img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 8px;
}

.screenshot-caption {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 12px;
    letter-spacing: -0.224px;
}

.section-dark .screenshot-caption { color: rgba(255, 255, 255, 0.5) }

/* ===== Feature Grid — Minimal ===== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    margin-top: 48px;
}

.feature-item {
    padding: 32px;
    background: var(--white);
    border-radius: 12px;
    transition: transform .3s, box-shadow .3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.section-dark .feature-item {
    background: #272729;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.19;
    letter-spacing: 0.231px;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: -0.224px;
    color: var(--text-secondary);
}

.section-dark .feature-desc { color: rgba(255, 255, 255, 0.6) }

/* ===== Values / Selling Points ===== */

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
    text-align: left;
}

.value-card {
    padding: 36px;
    border-radius: 12px;
    background: var(--gray-bg);
}

.section-dark .value-card {
    background: #272729;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.19;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.43;
    color: var(--text-secondary);
}

.section-dark .value-card p { color: rgba(255, 255, 255, 0.6) }

/* ===== Steps ===== */

.steps-list {
    max-width: 600px;
    margin: 48px auto 0;
    counter-reset: s;
    text-align: left;
}

.step-row {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-dark .step-row { border-color: rgba(255, 255, 255, 0.1) }
.step-row:last-child { border-bottom: none }

.step-num {
    counter-increment: s;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.step-num::after { content: counter(s) }

.step-text h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.374px;
    margin-bottom: 4px;
}

.step-text p {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: -0.224px;
    line-height: 1.43;
}

.section-dark .step-text p { color: rgba(255, 255, 255, 0.6) }

/* ===== Getting Started ===== */

ol.gs {
    max-width: 600px;
    margin: 32px auto 0;
    padding-left: 24px;
    text-align: left;
}

ol.gs li {
    font-size: 17px;
    line-height: 2.2;
    letter-spacing: -0.374px;
}

code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    background: var(--gray-bg);
    padding: 2px 6px;
    border-radius: 4px;
}

.section-dark code {
    background: #272729;
}

/* ===== Changelog ===== */

.changelog {
    max-width: 700px;
    margin: 32px auto 0;
    text-align: left;
}

.cl-entry {
    padding: 24px 28px;
    background: var(--gray-bg);
    border-radius: 12px;
    margin-bottom: 12px;
}

.section-dark .cl-entry { background: #272729 }

.cl-entry h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.374px;
}

.cl-date {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-tertiary);
}

.section-dark .cl-date { color: rgba(255, 255, 255, 0.4) }

.cl-entry ul { list-style: none; padding: 0 }

.cl-entry li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2;
    padding-left: 18px;
    position: relative;
    letter-spacing: -0.224px;
}

.section-dark .cl-entry li { color: rgba(255, 255, 255, 0.6) }

.cl-entry li::before {
    content: '\2022';
    position: absolute;
    left: 4px;
    color: var(--accent);
    font-weight: 700;
}

/* ===== Product Cards (Homepage) ===== */

.product-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px;
    background: var(--gray-bg);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: box-shadow .3s;
    text-decoration: none;
    color: var(--text-primary);
}

.product-card:hover { box-shadow: var(--card-shadow) }

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background: var(--white);
}

.product-body { flex: 1; min-width: 0; text-align: left }

.product-body h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.19;
    margin-bottom: 6px;
}

.product-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.43;
    letter-spacing: -0.224px;
}

.product-arrow {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

/* ===== Product Tiles (Homepage Grid) ===== */

.product-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 48px;
}

.product-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 40px 48px;
    background: var(--gray-bg);
    border-radius: 12px;
    transition: box-shadow .3s;
    text-decoration: none;
    color: var(--text-primary);
}

.product-tile:hover { box-shadow: var(--card-shadow) }

.product-tile-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.product-tile-appicon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.product-tile h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: 0.196px;
    margin-bottom: 8px;
}

.product-tile p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.43;
    letter-spacing: -0.224px;
    max-width: 300px;
    margin-bottom: 20px;
}

.tile-link {
    font-size: 17px;
    color: var(--link-light);
    margin-top: auto;
}

.product-tile:hover .tile-link { text-decoration: underline }

/* ===== Hero Product Tags ===== */

.hero-products {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.hero-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 980px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: all .2s;
}

.hero-product-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

/* ===== Testimonials ===== */

.testimonials { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 48px }

.testimonial-item {
    padding: 32px;
    border-radius: 12px;
    text-align: left;
}

.section-light .testimonial-item { background: var(--white) }
.section-dark .testimonial-item { background: #272729 }

.testimonial-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 48px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 4px;
}

.testimonial-text {
    font-size: 17px;
    font-style: italic;
    line-height: 1.47;
    letter-spacing: -0.374px;
    margin-bottom: 16px;
}

.testimonial-name {
    font-size: 14px;
    color: var(--text-tertiary);
    letter-spacing: -0.224px;
}

.section-dark .testimonial-name { color: rgba(255, 255, 255, 0.4) }

/* ===== Blog ===== */

.blog-list { margin-top: 32px; max-width: 700px; margin-left: auto; margin-right: auto }

.blog-item {
    display: block;
    padding: 28px 32px;
    background: var(--gray-bg);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: box-shadow .3s;
    text-decoration: none;
    color: var(--text-primary);
    text-align: left;
    border-left: 3px solid var(--accent);
}

.blog-item:hover { box-shadow: var(--card-shadow) }

.section-dark .blog-item {
    background: #272729;
    color: var(--white);
}

.section-dark .blog-item .blog-date { color: rgba(255, 255, 255, 0.4) }
.section-dark .blog-item p { color: rgba(255, 255, 255, 0.6) }
.section-dark .blog-item:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) }

.blog-date {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: -0.12px;
}

.blog-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 6px 0 8px;
    letter-spacing: -0.374px;
}

.blog-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.43;
    letter-spacing: -0.224px;
}

/* ===== Blog Post ===== */

.post-hero {
    background: var(--dark-surface);
    color: var(--white);
    padding: 100px 24px 60px;
    text-align: center;
}

.post-hero .blog-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 16px;
}

.post-hero h1 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 600;
    line-height: 1.10;
    max-width: 680px;
    margin: 0 auto 20px;
}

.post-hero .post-subtitle {
    font-size: 19px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin: 0 auto;
}

.blog-post {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 24px 0;
}

.post-body p {
    font-size: 17px;
    line-height: 1.76;
    letter-spacing: -0.374px;
    margin-bottom: 24px;
}

.post-body h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.14;
    margin-top: 56px;
    margin-bottom: 20px;
}

.post-body a { color: var(--link-light) }
.post-body a:hover { text-decoration: underline }

.post-body strong {
    font-weight: 600;
    color: var(--text-primary);
}

.post-body hr {
    border: none;
    width: 60px;
    height: 1px;
    background: var(--text-tertiary);
    margin: 48px auto;
}

.post-body blockquote {
    border-left: 3px solid var(--accent);
    margin: 32px 0;
    padding: 16px 24px;
    background: var(--gray-bg);
    border-radius: 0 8px 8px 0;
}

.post-body blockquote p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-primary);
}

.post-body ul {
    margin: 20px 0 28px;
    padding-left: 24px;
}

.post-body li {
    font-size: 17px;
    line-height: 1.76;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.post-body li::marker {
    color: var(--accent);
}

.post-signature {
    text-align: right;
    color: var(--text-tertiary);
    font-size: 15px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.post-nav { padding: 32px 0 }

/* ===== Pricing ===== */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }

.pc {
    position: relative;
    padding: 40px 32px;
    border-radius: 12px;
    background: var(--white);
    text-align: center;
    transition: box-shadow .3s;
}

.section-light .pc { background: var(--white) }
.pc:hover { box-shadow: var(--card-shadow) }

.pc-hl { outline: 2px solid var(--accent) }

.pc-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    background: var(--accent);
    color: var(--white);
    padding: 3px 14px;
    border-radius: 980px;
    letter-spacing: -0.12px;
}

.pc h3 { font-size: 21px; font-weight: 600; margin-bottom: 4px }
.pc .desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px }

.pc .price {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -0.28px;
}

.pc .note { font-size: 12px; color: var(--text-tertiary); margin-top: 6px; margin-bottom: 28px }
.pc ul { list-style: none; text-align: left; margin-bottom: 8px }

.pc li {
    font-size: 14px;
    line-height: 2.4;
    padding-left: 20px;
    position: relative;
    letter-spacing: -0.224px;
}

.pc li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.btn-full { width: 100%; margin-top: 20px }

/* ===== FAQ ===== */

.faq-list {
    max-width: 700px;
    margin: 32px auto 0;
    text-align: left;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-dark .faq-item { border-color: rgba(255, 255, 255, 0.1) }

.faq-item:first-child { border-top: 1px solid rgba(0, 0, 0, 0.1) }
.section-dark .faq-item:first-child { border-top-color: rgba(255, 255, 255, 0.1) }

.faq-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.374px }
.faq-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.43; letter-spacing: -0.224px }

.section-dark .faq-item p { color: rgba(255, 255, 255, 0.6) }

/* ===== Product Sub-Nav ===== */

.product-nav {
    position: sticky;
    top: 48px;
    z-index: 99;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 44px;
}

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

.product-nav-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.product-nav-links {
    display: flex;
    gap: 24px;
}

.product-nav-links a {
    font-size: 12px;
    color: var(--text-secondary);
    transition: color .2s;
}

.product-nav-links a:hover { color: var(--accent) }

/* ===== Footer ===== */

.footer {
    background: var(--white);
    margin-top: 12px;
    padding: 40px 0 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.12px;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2.2;
    letter-spacing: -0.224px;
    transition: color .2s;
}

.footer-col a:hover { color: var(--accent) }

.footer-legal {
    max-width: var(--max-width);
    margin: 28px auto 0;
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: -0.12px;
}

.footer-legal a {
    color: var(--text-secondary);
    transition: color .2s;
}

.footer-legal a:hover { color: var(--accent) }

.footer-legal-links {
    display: flex;
    gap: 16px;
}

/* ===== VoiceJar Preview Mockup ===== */

.vj-preview-wrap {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.vj-bubble {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
    padding: 20px 32px;
    border-radius: 20px;
    font-size: 21px;
    line-height: 1.4;
    max-width: 400px;
    text-align: center;
    animation: vj-fade 3s ease-in-out infinite;
}

@keyframes vj-fade {
    0%, 100% { opacity: .6 }
    50% { opacity: 1 }
}

.vj-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.vj-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b30;
    animation: vj-pulse 2s ease-in-out infinite;
}

@keyframes vj-pulse {
    0%, 100% { opacity: 1; transform: scale(1) }
    50% { opacity: .4; transform: scale(1.4) }
}

.vj-kbd {
    display: inline-flex;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

/* ===== 404 ===== */

.container-404 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 24px;
    text-align: center;
}

/* ===== Privacy ===== */

.container-prose {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 24px;
}

.container-prose h1 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.10;
    margin-bottom: 32px;
}

.container-prose h2 {
    font-size: 21px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
}

.container-prose p {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* ===== Scroll Fade-in Animation ===== */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    animation: fade-in-up .8s ease-out forwards;
}

.fade-in.visible:nth-child(2) { animation-delay: .1s }
.fade-in.visible:nth-child(3) { animation-delay: .2s }

/* ===== Section Icon (selling point accent) ===== */

.section-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

/* ===== Hamburger Menu ===== */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    margin: 4px 0;
    transition: transform .3s, opacity .3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* ===== Reduced Motion (Accessibility) ===== */

@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; }
    .fade-in.visible { animation: none; }
    .vj-bubble { animation: none; opacity: 1; }
    .vj-dot { animation: none; }
    html { scroll-behavior: auto; }
}

/* ===== Dark Mode ===== */

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f5f5f7;
        --text-secondary: rgba(255, 255, 255, 0.8);
        --text-tertiary: rgba(255, 255, 255, 0.48);
        --gray-bg: #1d1d1f;
        --card-shadow: rgba(0, 0, 0, 0.5) 3px 5px 30px 0px;
    }

    body { background: #000; }

    .section-white { background: #1d1d1f; color: #f5f5f7; }
    .section-light { background: #161617; color: #f5f5f7; }

    .feature-item { background: #2d2d2f; }
    .feature-item:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }

    .value-card { background: #2d2d2f; }
    .product-card { background: #2d2d2f; color: #f5f5f7; }
    .product-icon { background: #3a3a3c; }
    .product-tile { background: #2d2d2f; color: #f5f5f7; }
    .product-tile p { color: rgba(255, 255, 255, 0.6); }
    .tile-link { color: var(--link-dark); }
    .testimonial-item { background: #2d2d2f; }
    .blog-item { background: #2d2d2f; color: #f5f5f7; }
    .cl-entry { background: #2d2d2f; }
    .pc { background: #2d2d2f; color: #f5f5f7; }
    code { background: #2d2d2f; }

    .product-nav {
        background: rgba(29, 29, 31, 0.8);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    .product-nav-name { color: #f5f5f7; }
    .product-nav-links a { color: rgba(255, 255, 255, 0.7); }

    .footer { background: #1d1d1f; }
    .footer-legal { border-top-color: rgba(255, 255, 255, 0.1); }
    .footer-legal a { color: rgba(255, 255, 255, 0.6); }

    .container-prose p { color: rgba(255, 255, 255, 0.8); }
    .post-body p { color: rgba(255, 255, 255, 0.8); }
    .post-body strong { color: #f5f5f7; }
    .post-body a { color: var(--link-dark); }
    .post-body blockquote { background: #2d2d2f; }
    .post-body blockquote p { color: #f5f5f7; }
    .post-body li { color: rgba(255, 255, 255, 0.8); }
    .post-body hr { background: rgba(255, 255, 255, 0.2); }
    .post-signature { color: rgba(255, 255, 255, 0.48); border-top-color: rgba(255, 255, 255, 0.08); }

    .step-row { border-bottom-color: rgba(255, 255, 255, 0.1); }
    .step-text p { color: rgba(255, 255, 255, 0.6); }
    .faq-item { border-color: rgba(255, 255, 255, 0.1); }
    .faq-item:first-child { border-top-color: rgba(255, 255, 255, 0.1); }
    .faq-item p { color: rgba(255, 255, 255, 0.6); }

    .link-more { color: var(--link-dark); }
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    :root { --section-padding: 80px 0 }

    .headline-hero { font-size: 40px }
    .headline-section { font-size: 28px }
    .headline-tile { font-size: 21px }
    .subtitle { font-size: 17px }

    .post-hero { padding: 80px 20px 48px }
    .post-hero h1 { font-size: 32px }
    .post-hero .post-subtitle { font-size: 17px }

    .features-grid { grid-template-columns: 1fr }
    .values-grid { grid-template-columns: 1fr }
    .testimonials { grid-template-columns: 1fr }
    .pricing-grid { grid-template-columns: 1fr }
    .screenshot-grid { grid-template-columns: 1fr }

    .product-card { flex-direction: column; text-align: center }
    .product-body { text-align: center }
    .product-tiles { grid-template-columns: 1fr }
    .product-tile { padding: 40px 24px 36px }
    .product-tile-icon { font-size: 44px }
    .hero-products { flex-direction: column; align-items: center; gap: 8px }

    .footer-inner { flex-direction: column; gap: 24px }

    .hero { padding: 60px 0 32px }
    .app-icon-hero { width: 72px; height: 72px; border-radius: 16px }

    /* Hamburger nav */
    .nav-toggle { display: block }

    .nav-links {
        display: none;
        position: absolute;
        top: 48px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
    }

    .nav-links.open { display: flex }

    .nav-links a {
        font-size: 14px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child { border-bottom: none }

    /* Product sub-nav mobile */
    .product-nav-name { font-size: 14px }
    .product-nav-links { gap: 16px }
    .product-nav-links a { font-size: 11px }

    .footer-legal { flex-direction: column; gap: 8px; text-align: center }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid { grid-template-columns: 1fr 1fr }
    .headline-hero { font-size: 56px }
}
