/* Screenshot Swipe — shared site styles */

:root {
    --ink: #0c2a33;
    --muted: #4a6b75;
    --accent: #0891b2;
    --accent-strong: #06b6d4;
    --brand-light: #cff7ff;
    --bg: #f8fdfe;
    --surface: #ffffff;
    --border: #e2eef2;
    --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    text-decoration: none;
}

.site-logo img { width: 30px; height: 30px; border-radius: 7px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.site-nav a:hover { color: var(--ink); }

.site-nav .nav-download {
    background: var(--ink);
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 600;
}

.site-nav .nav-download:hover { background: #000; color: #fff; }

/* ---------- App Store badge button ---------- */

.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 12px;
    line-height: 1.2;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-appstore:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-appstore svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }

.btn-appstore .badge-text { display: flex; flex-direction: column; text-align: left; }
.btn-appstore .badge-text small { font-size: 11px; font-weight: 400; opacity: 0.85; }
.btn-appstore .badge-text span { font-size: 17px; font-weight: 600; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Landing ---------- */

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

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 720px;
    margin: 0 auto 18px;
}

.hero .hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 28px;
}

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }

.hero-meta { color: var(--muted); font-size: 14px; }

.hero-shots {
    display: flex;
    gap: 22px;
    justify-content: center;
    padding: 48px 20px 0;
    flex-wrap: wrap;
}

.hero-shots img {
    width: 270px;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(12, 42, 51, 0.16);
}

.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section h2 { font-size: 1.8rem; letter-spacing: -0.01em; text-align: center; margin-bottom: 10px; }
.section .section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 40px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
}

.section-alt .feature-card { background: var(--bg); }

.feature-card .feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--brand-light);
    color: var(--accent);
    margin-bottom: 14px;
}

.feature-card .feature-icon svg { width: 24px; height: 24px; fill: currentColor; }

.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

.privacy-callout {
    background: var(--brand-light);
    border-radius: var(--radius);
    padding: 36px 32px;
    text-align: center;
}

.privacy-callout h2 { margin-bottom: 10px; }
.privacy-callout p { color: var(--ink); max-width: 560px; margin: 0 auto 16px; }

.final-cta { text-align: center; padding: 72px 0 84px; }
.final-cta h2 { font-size: 1.9rem; margin-bottom: 12px; }
.final-cta p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 36px 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .footer-copy { margin-left: auto; }

/* ---------- Blog index ---------- */

.blog-header { padding: 56px 0 8px; text-align: center; }
.blog-header h1 { font-size: 2.2rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.blog-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 0 72px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(12, 42, 51, 0.1); }

.blog-card img { aspect-ratio: 16 / 9; object-fit: cover; }

.blog-card .card-body { padding: 18px 20px 22px; }

.blog-card .card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 8px;
}

.blog-card h2 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 8px; }
.blog-card p { color: var(--muted); font-size: 0.92rem; }
.blog-card .card-date { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Blog post ---------- */

.post { padding: 48px 0 24px; }

.post-breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.post-breadcrumbs a { color: var(--muted); text-decoration: none; }
.post-breadcrumbs a:hover { color: var(--accent); }

.post h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }

.post-body { font-size: 1.08rem; }

.post-body h2 { font-size: 1.5rem; margin: 44px 0 14px; letter-spacing: -0.01em; clear: both; }
.post-body .post-divider { clear: both; }
.post-body h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; }
.post-body li { margin-bottom: 8px; }

.post-hero-image { margin: 0 0 40px; }
.post-hero-image img { border-radius: 16px; border: 1px solid var(--border); }

.post-callout {
    background: var(--brand-light);
    border-left: 4px solid var(--accent-strong);
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 0 0 28px;
}

.post-callout p { margin: 0; }

.post-quick-answer { background: #f0fbff; }

.post-divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* Inline phone screenshot — floats right on desktop */
.post-inline-screenshot {
    float: right;
    width: 250px;
    margin: 6px 0 18px 28px;
}

.post-inline-screenshot img {
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(12, 42, 51, 0.12);
}

/* Caption contract: captions are ALWAYS <p class="post-caption"> inside an
   image wrapper, and ONLY these scoped rules style them. */
.post-inline-screenshot .post-caption,
.post-hero-image .post-caption {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
    margin: 8px 0 0;
    line-height: 1.45;
}

@media (max-width: 700px) {
    .post-inline-screenshot { float: none; width: 240px; margin: 20px auto 24px; }
}

/* Tables */
.post-table-wrapper { overflow-x: auto; margin: 0 0 28px; }

.post-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.post-table th, .post-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.post-table td:first-child { font-weight: 600; }
.post-table th { background: var(--bg); font-weight: 600; }

/* Our column highlight: column 2 (after the feature label) */
.post-table.brand-first th:nth-child(2),
.post-table.brand-first td:nth-child(2) { background: #ecfbf4; }

/* Numbered step framework */
.post-steps { counter-reset: step; margin: 0 0 28px; }

.post-steps ol { list-style: none; margin: 0; }

.post-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 48px;
    margin-bottom: 16px;
}

.post-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ranked-entry header row */
.entry-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.entry-rating { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }

/* CTA block */
.blog-post-cta {
    clear: both;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: 34px 30px;
    text-align: center;
    margin: 48px 0 0;
}

.blog-post-cta h3 { font-size: 1.4rem; margin-bottom: 8px; }
.blog-post-cta p { color: #cde6ee; max-width: 520px; margin: 0 auto 20px; }

/* Related articles */
.post-related { margin: 40px 0 64px; }
.post-related h3 { font-size: 1.2rem; margin-bottom: 12px; }
.post-related ul { list-style: none; margin: 0; }
.post-related li { margin-bottom: 10px; }
.post-related li::before { content: "» "; color: var(--accent); font-weight: 700; }
.post-related a { text-decoration: none; font-weight: 500; }
.post-related a:hover { text-decoration: underline; }

/* ---------- Privacy page ---------- */

.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal p, .legal li { color: #33505a; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 24px; }
.legal li { margin-bottom: 6px; }

.legal .highlight {
    background: #f0f9ff;
    border-left: 3px solid var(--accent-strong);
    padding: 14px 18px;
    margin: 22px 0;
    border-radius: 0 8px 8px 0;
}

.legal .highlight p { margin: 0; font-weight: 500; color: #0369a1; }

.legal .warning {
    background: #fefce8;
    border-left: 3px solid #eab308;
    padding: 14px 18px;
    margin: 22px 0;
    border-radius: 0 8px 8px 0;
}

.legal .warning p { margin: 0; color: #854d0e; }

.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.legal th { background: var(--bg); font-weight: 600; }
