:root {
    --bg: #ffffff;
    --bg-soft: #f9fafb;
    --border-soft: #e5e7eb;
    --text-main: #0f172a;
    --text-muted: #6b7280;
    --accent: #fb7185;
    --accent-soft: #fce7f3;
    --accent-strong: #ec4899;
    --star: #fbbf24;
    --badge: #0ea5e9;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset / base */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Links */

a {
    color: #0369a1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout wrapper */

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

/* Header / brand */

header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 14px;
    color: var(--text-muted);
}

.trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
}

/* Hero block (forside) */

.hero {
    background: var(--bg-soft);
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    padding: 20px 18px 22px;
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .hero {
        padding: 28px 28px 26px;
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 24px;
        align-items: center;
    }
}

.hero-title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-list {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-list li + li {
    margin-top: 4px;
}

.hero-highlight {
    font-size: 13px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 500;
}

.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* Pills / buttons */

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fefce8;
    border: 1px solid #facc15;
    font-size: 12px;
}

.rating-pill .star {
    color: var(--star);
    font-size: 14px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #ffffff;
    text-decoration: none;
}

.btn-primary .chevron {
    font-size: 14px;
}

/* Section titles / subtitles */

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* Table (forside sammenligning) */

.table-wrapper {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    margin-bottom: 28px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 720px;
}

thead {
    background: #f3f4f6;
}

th,
td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-soft);
}

th {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

tbody tr:last-child td {
    border-bottom: none;
}

.brand-col {
    font-weight: 600;
}

.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    margin-top: 4px;
}

.stars {
    color: var(--star);
    font-size: 13px;
    margin-bottom: 2px;
}

.rating-score {
    font-size: 11px;
    color: var(--text-muted);
}

.price {
    font-weight: 600;
    font-size: 13px;
}

.price-note {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: var(--bg-soft);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
}

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

/* Pills */

.pill-strength {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: var(--bg-soft);
}

.pill-skin {
    font-size: 11px;
    color: var(--badge);
}

/* Cards / grid (forside og artikler) */

.grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 767px) {
    .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card {
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    padding: 16px 16px 18px;
    background: #ffffff;
}

.card h2,
.card h3 {
    margin-top: 0;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.card p {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.card ul {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

/* FAQ */

.faq h3 {
    font-size: 15px;
    margin: 0 0 6px;
}

.faq p {
    font-size: 13px;
    margin: 0 0 12px;
    color: var(--text-muted);
}

/* Disclaimer */

.disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer */

footer {
    margin-top: 36px;
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

footer a {
    color: var(--badge);
}

footer a:hover {
    text-decoration: underline;
}

/* Typografi for artikler / guides */

main.article {
    max-width: 760px;
    margin: 0 auto 40px;
}

.article h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 16px;
}

.article h2 {
    font-size: 20px;
    margin: 24px 0 8px;
}

.article h3 {
    font-size: 16px;
    margin: 18px 0 6px;
}

.article p {
    margin: 0 0 10px;
    font-size: 14px;
}

.article ul,
.article ol {
    margin: 6px 0 14px;
    padding-left: 20px;
    font-size: 14px;
}

.article li + li {
    margin-top: 3px;
}

/* Små detaljer */

strong {
    font-weight: 600;
}
