:root {
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --border: rgba(0, 0, 0, 0.08);
    --text: #0a0a0a;
    --text-soft: #4a4a52;
    --text-faint: #8a8a93;
    --accent: #007aff;
    --accent-hover: #0064d4;
    --radius: 14px;
    --max: 1080px;
    font-feature-settings: "ss01", "cv11";
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0a0c;
        --bg-soft: #161618;
        --border: rgba(255, 255, 255, 0.10);
        --text: #f5f5f7;
        --text-soft: #c8c8cf;
        --text-faint: #7a7a82;
    }
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 0.6em; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-soft); }
small, .small { color: var(--text-faint); font-size: 0.875rem; }

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

/* Nav */
nav.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    max-width: var(--max);
    margin: 0 auto;
}
nav.top .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
}
nav.top .brand .logo {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, #4a9eff, #007aff);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}
nav.top ul {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}
nav.top a {
    color: var(--text-soft);
    font-weight: 500;
}
nav.top a:hover { color: var(--text); }

/* Hero */
.hero {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: 820px;
    margin: 0 auto;
}
.hero h1 { margin-bottom: 20px; }
.hero .tagline {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: var(--accent);
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.15s;
    border: none;
    cursor: pointer;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; color: white; }
.btn.ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn.ghost:hover { background: var(--bg-soft); }
.btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero screenshot (real app capture) */
.hero-shot {
    margin: 56px auto 0;
    max-width: 880px;
    padding: 0;
}
.hero-shot img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.22)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}
.hero-shot figcaption {
    margin-top: 22px;
    color: var(--text-faint);
    font-size: 0.95rem;
}

/* Sections */
section {
    padding: 80px 0;
}
section.alt {
    background: var(--bg-soft);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.1rem; color: var(--text-soft); }

/* Feature grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    position: relative;
}
.new-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #4a9eff, #007aff);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}
.feature .icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(0, 122, 255, 0.12);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.95rem; }

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}
.price-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    background: var(--bg);
    text-align: left;
    display: flex;
    flex-direction: column;
}
.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.15);
    position: relative;
}
.price-card .badge {
    position: absolute;
    top: -10px; right: 18px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}
.price-card h3 { font-size: 1.05rem; color: var(--text-faint); font-weight: 500; }
.price-card .price {
    font-size: 2.3rem;
    font-weight: 700;
    margin: 6px 0 4px;
    letter-spacing: -0.02em;
}
.price-card .price small {
    font-size: 0.9rem;
    color: var(--text-faint);
    font-weight: 400;
}
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}
.price-card ul li {
    padding: 5px 0;
    display: flex;
    gap: 8px;
}
.price-card ul li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 600;
}
.pricing-note {
    text-align: center;
    color: var(--text-faint);
    font-size: 0.9rem;
    margin: 24px auto 0;
    max-width: 640px;
}

/* Privacy callout */
.callout {
    border: 1px solid var(--border);
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.callout h3 { margin-bottom: 10px; font-size: 1.3rem; }
.callout p { margin: 0; color: var(--text-soft); }

/* Footer */
footer {
    padding: 50px 24px 40px;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 0.9rem;
}
footer .inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
footer ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
footer a { color: var(--text-faint); }
footer a:hover { color: var(--text); }

/* Article (privacy / support pages) */
.article {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.article h1 { font-size: 2.4rem; margin-bottom: 12px; }
.article .updated { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 40px; }
.article h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.article h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.article p, .article li { color: var(--text-soft); }
.article ul { padding-left: 22px; }
.article ul li { margin: 6px 0; }
.article a { word-break: break-word; }

/* Support specific */
.faq {
    margin-top: 30px;
}
.faq details {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--text-faint);
    transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
    margin: 10px 0 0;
    color: var(--text-soft);
}

.contact-box {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 40px 0;
}
.contact-box h3 { margin-bottom: 8px; }
.contact-box p { margin: 0; }
.contact-box p + p { margin-top: 10px; }

.hint {
    color: var(--text-faint);
    font-size: 0.85rem;
    display: block;
    margin-top: 4px;
}

/* Showcase band (copy + screenshot) */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
}
.showcase-copy h2 { margin-bottom: 14px; }
.showcase-copy > p { font-size: 1.08rem; margin-bottom: 22px; }
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text-soft);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(0, 122, 255, 0.14);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.showcase-shot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.18));
}

/* Comparison table */
.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}
table.compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    font-size: 0.97rem;
}
table.compare th,
table.compare td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
table.compare thead th {
    font-weight: 600;
    color: var(--text-faint);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td,
table.compare th { text-align: center; width: 22%; }
table.compare td:first-child,
table.compare th:first-child {
    text-align: left;
    width: 56%;
    color: var(--text);
    font-weight: 500;
}
table.compare thead th:first-child { font-weight: 600; color: var(--text-faint); }

/* Highlight the PDF Pilot Pro column */
table.compare th.us-col {
    color: var(--accent);
    background: rgba(0, 122, 255, 0.07);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
table.compare td.us {
    background: rgba(0, 122, 255, 0.05);
    font-weight: 600;
}
table.compare tbody tr:last-child td.us {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.compare .yes {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(40, 180, 99, 0.16);
    color: #1f9d55;
    font-weight: 800;
    font-size: 0.9rem;
}
.compare .no { color: var(--text-faint); font-size: 0.9rem; }
.compare .meh { color: var(--text-soft); font-size: 0.9rem; }

.compare-foot {
    text-align: center;
    color: var(--text-faint);
    font-size: 0.82rem;
    margin: 18px auto 0;
    max-width: 640px;
}

@media (max-width: 900px) {
    .pricing { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}

@media (max-width: 760px) {
    .showcase { grid-template-columns: 1fr; gap: 32px; }
    .showcase-shot { order: -1; }
}

@media (max-width: 640px) {
    .hero { padding: 50px 20px 40px; }
    section { padding: 60px 0; }
    nav.top ul { gap: 14px; }
    footer .inner { flex-direction: column; text-align: center; }
    .hero-shot { margin-top: 40px; }
    .pricing { grid-template-columns: 1fr; max-width: 340px; }
}
