/* Per-format landing pages — minimal, fast (no MapLibre, no JS bundle).
 * Goal: high-LCP / fast text-rich pages that rank for long-tail conversion
 * queries.
 */

html, body { margin: 0; padding: 0; }
body.landing {
    background: #0f1115;
    color: #e9ebed;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-y: auto;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(15, 17, 21, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.landing-nav .brand {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}
.landing-nav nav { display: flex; gap: 18px; }
.landing-nav nav a {
    color: #9aa0a6;
    text-decoration: none;
    font-size: 14px;
}
.landing-nav nav a:hover { color: #fff; }

.landing-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.landing-article h1 {
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    color: #fff;
}
.landing-article h2 {
    font-size: 20px;
    margin: 36px 0 12px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}
.landing-article h3 {
    font-size: 15px;
    margin: 22px 0 6px;
    color: #d8d9da;
}
.landing-article p,
.landing-article li {
    color: #c8cacb;
    font-size: 15px;
}
.landing-article .lede {
    font-size: 17px;
    color: #d8d9da;
    margin: 0 0 24px;
}
.landing-article .meta-line {
    font-size: 13px;
    color: #9aa0a6;
}
.landing-article a {
    color: #9bdba8;
    text-decoration: none;
    border-bottom: 1px dotted rgba(155, 219, 168, 0.4);
}
.landing-article a:hover { color: #c0eccb; }

.related-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 6px 18px;
}
.related-list li {
    font-size: 14px;
    padding: 4px 0;
}

/* Drop-and-convert form */
.convert-form {
    margin: 24px 0 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
}
.convert-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 36px 24px;
    border: 2px dashed rgba(155, 219, 168, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    text-align: center;
}
.convert-drop:hover {
    background: rgba(155, 219, 168, 0.05);
    border-color: rgba(155, 219, 168, 0.8);
}
.convert-drop-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.convert-drop-sub {
    font-size: 13px;
    color: #9aa0a6;
}
.convert-drop input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.convert-go {
    margin-top: 16px;
    display: block;
    width: 100%;
    background: #4a7c59;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.convert-go:hover { background: #5a8c69; }

.convert-or {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
    color: #9aa0a6;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 24px 0 8px;
}
.cta-primary {
    display: inline-block;
    background: #4a7c59;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    border: 0 !important;
    font-weight: 600;
}
.cta-primary:hover { background: #5a8c69; }
.cta-or {
    color: #9aa0a6;
    font-size: 14px;
}

.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
    text-align: center;
    color: #9aa0a6;
    font-size: 13px;
}
.landing-footer a { color: #c8cacb; }

/* Compare table on the georef landing */
table.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 24px;
    font-size: 13px;
}
table.compare-table th,
table.compare-table td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    color: var(--panel-fg, #c8cacb);
}
table.compare-table thead th {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}
table.compare-table thead th:first-child { background: transparent; border-bottom-color: transparent; }
table.compare-table tbody th {
    color: #9aa0a6;
    width: 28%;
    font-weight: 500;
}
table.compare-table tbody td {
    text-align: center;
    color: #c8cacb;
}
table.compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}
@media (max-width: 600px) {
    table.compare-table { font-size: 11px; }
    table.compare-table th, table.compare-table td { padding: 5px 4px; }
}

@media (max-width: 600px) {
    .landing-main { padding: 24px 16px 60px; }
    .landing-nav { padding: 12px 16px; }
}
