/* Axport landingsside. Ingen eksterne skrifttyper eller scripts. */

:root {
    --ink: #1c2530;
    --muted: #5b6672;
    --line: #dde3e8;
    --paper: #ffffff;
    --soft: #f4f6f8;
    --brand: #1d4f73;
    --brand-dark: #153a55;
    --highlight: #fff1c2;
    --radius: 6px;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: Consolas, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}

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

code {
    font-family: var(--mono);
    font-size: 0.9em;
    background: var(--soft);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.1rem; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.wordmark {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { color: var(--brand); font-weight: 600; }

/* Knapper */

.button {
    display: inline-block;
    padding: 0.65em 1.2em;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    background: var(--paper);
}
.button:hover { border-color: var(--muted); }
.button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); }

/* Hero */

.hero { padding: 72px 0 64px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.75em;
}

.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.6em; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Gitterkolonner må skrumpe, ellers presser den lange kodelinje siden ud over skærmen på mobil. */
.hero-grid > *, .two-col > * { min-width: 0; }

/* Regeleksempel */

.rule-card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--paper);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.rule-card figcaption {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.rule-line {
    font-family: var(--mono);
    font-size: 0.9rem;
    padding: 12px;
    background: var(--soft);
    border-radius: 4px;
    margin-bottom: 16px;
    overflow-x: auto;
    white-space: nowrap;
}
.rule-line code { background: none; padding: 0; }
.rule-target { font-weight: 700; }
.rule-eq { margin: 0 0.5em; color: var(--muted); }

.before-after { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.before-after th, .before-after td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.before-after th { font-weight: 600; color: var(--muted); font-size: 0.85rem; }
.before-after td { font-family: var(--mono); }
.before-after .changed { background: var(--highlight); }

/* Sektioner */

.section { padding: 64px 0; }
.section.alt { background: var(--soft); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
    margin-top: 32px;
}
.feature p { margin: 0; color: var(--muted); }

.steps {
    list-style: none;
    padding: 0;
    margin: 32px 0 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.steps li {
    counter-increment: step;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}
.steps li::before {
    content: counter(step);
    display: block;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 8px;
}
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.formats-title { margin-bottom: 16px; }
.formats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
}
.formats dt { font-weight: 700; }
.formats dd { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

.two-col {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: start;
}

.checklist { padding-left: 1.2em; }
.checklist li { margin-bottom: 0.5em; }

.requirements {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.requirements ul { padding-left: 1.2em; margin: 0 0 1em; }
.requirements .note { margin: 0; font-size: 0.9rem; color: var(--muted); }

.contact { text-align: center; background: var(--soft); }
.contact .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.license { margin: 2em 0 0; font-size: 0.9rem; color: var(--muted); }

/* Footer */

.site-footer { border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }

/* Mobil */

@media (max-width: 860px) {
    .hero { padding: 48px 0; }
    .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps, .formats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .site-nav a:not(.nav-cta) { display: none; }
    .steps, .formats { grid-template-columns: 1fr; }
    .footer-row { flex-direction: column; gap: 8px; }
}
