/* Reset + base */
body {
    margin: 0;
    font-family: system-ui, -apple-system, Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;


    /* Global tekst */
    font-size: clamp(41px, 1.5vw, 51px);
    line-height: 1.0;
}

/* Layout */
.container {
    max-width: 900px;
    margin: auto;
    padding: clamp(14px, 3vw, 28px);
}

.card {
    background: white;
    border-radius: 20px;
    padding: clamp(18px, 3vw, 30px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

/* Form */
#sokeform {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 2vw, 50px);
}

/* Inputs */
input[type="text"] {
    width: 100%;
    padding: clamp(16px, 2.5vw, 22px);
    border-radius: 14px;
    border: 1px solid #cbd5f5;
    font-size: clamp(51px, 2vw, 71px);
    background: white;
    color: #0f172a;
}

input[type="text"]::placeholder {
    color: #94a3b8;
}

/* Button */
input[type="submit"] {
    padding: clamp(16px, 2.5vw, 22px);
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    font-size: clamp(42px, 2vw, 72px);
    cursor: pointer;
    transition: 0.2s;
}

input[type="submit"]:hover {
    transform: scale(1.04);
}

/* Select */
select {
    width: 100%;
    padding: clamp(16px, 2.5vw, 22px);
    border-radius: 14px;
    border: 1px solid #cbd5f5;
    background: white;
    color: #0f172a;
    font-size: clamp(51px, 2vw, 71px);
}

/* Resultater */
.blue-text {
    color: #2563eb;
    font-weight: bold;
    font-size: clamp(51px, 2.5vw, 71px);
}

.hvit-text {
    color: #0f172a;
    font-size: clamp(51px, 2.5vw, 71px);
    line-height: 1.8;
}

/* Klikkbare vers */
.chapter-link {
    display: block;
    padding: clamp(16px, 2.5vw, 22px);
    border-radius: 14px;
    background: #f1f5f9;
    margin-bottom: 14px;
    text-decoration: none;
    transition: 0.2s;
    color: inherit;
}

.chapter-link:hover {
    background: #e2e8f0;
}

/* Kapittelinnhold */
.chapter-content {
    padding: clamp(16px, 2.5vw, 22px);
    background: #f8fafc;
    border-radius: 14px;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    font-size: clamp(50px, 2.3vw, 70px);
    line-height: 1.9;
}

/* Radio */
input[type="radio"] {
    transform: scale(2.1);
}

/* Ekstra tekst */
.farge-tekst {
    color: #0f172a;
    font-size: clamp(51px, 2vw, 72px);
}

/* Litt mobiljustering */
@media (max-width: 600px) {
    .card {
        border-radius: 16px;
    }

    .chapter-link {
        padding: 18px;
    }
}
