/* ===== Accent-farver (overrides i tester med :root { --a1: ...; --a2: ...; }) ===== */
:root {
    --a1: #f97316;
    --a2: #ec4899;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== Base ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f0f1a;
    color: #fff;
    min-height: 100dvh;
}

/* ===== Centreret layout (kort-sider) ===== */
body:has(main.centered) {
    display: flex;
    flex-direction: column;
}

main.centered {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* ===== Header ===== */
header {
    padding: 1rem 1rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* ===== Logo ===== */
.logo-dot {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.logo-dot svg { width: 16px; height: 16px; stroke: #fff; }

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}
.logo-text span { color: var(--a1); }

/* ===== Hero ===== */
hero {
    display: block;
    max-width: 860px;
    margin: 3.5rem auto 0;
    padding: 0 1rem;
    text-align: center;
}

hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

hero h1 .accent {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

hero p {
    font-size: 1rem;
    color: #a0a0b8;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-wrap: balance;
}

hero p .nl { display: inline; }

/* ===== QR-visual ===== */
.qr-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 1.25rem 0.75rem;
    margin: 0 auto 4rem;
    width: 100%;
}

.arrow { display: flex; align-items: center; }
.arrow svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.3); }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.step-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 22px; height: 22px; stroke: var(--a1); }

.step-icon.accent {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border: none;
}
.step-icon.accent svg { stroke: #fff; }

.step small {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6060a0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.feature {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.25rem;
}

.feature-icon {
    width: 40px; height: 40px;
    background: rgba(249,115,22,0.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.75rem;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--a1); }

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #fff;
}
.feature p {
    font-size: 0.9rem;
    color: #6a6a8a;
    line-height: 1.6;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #3a3a5a;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== Kort ===== */
.card {
    width: 100%;
    max-width: 420px;
    margin-bottom: 4rem;
}

/* ===== Token-overskrift ===== */
.token-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}
.token-heading .label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6060a0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 0.4rem;
}
.token-heading .value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.token-heading .new-badge {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(249,115,22,0.15);
    color: var(--a1);
    border: 1px solid rgba(249,115,22,0.3);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ===== DL-liste ===== */
dl {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.field {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.field:last-child { border-bottom: none; }
.field-center { justify-content: center; }

dt {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6060a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex: 0 0 5.5rem;
}
dd {
    font-size: 0.9rem;
    color: #e0e0f0;
    word-break: break-all;
}

/* ===== Knapper ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
}
.btn svg { width: 16px; height: 16px; stroke: #fff; }

.btn-full {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    border-radius: 12px;
    margin-top: 1.5rem;
}

/* ===== Navigation ===== */
nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6060a0;
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
nav a.active { color: #fff; }

/* ===== Desktop (600px+) ===== */
@media (min-width: 600px) {
    header { padding: 2rem 2rem 1rem; }
    hero { margin: 6rem auto 0; padding: 0 2rem; }
    hero p { font-size: 1.2rem; margin-bottom: 3.5rem; text-wrap: unset; }
    hero p .nl::after { content: '\A'; white-space: pre; }
    .qr-visual { gap: 2.5rem; padding: 2.5rem 3rem; margin-bottom: 6rem; border-radius: 24px; }
    .arrow svg { width: 24px; height: 24px; }
    .step-icon { width: 64px; height: 64px; border-radius: 18px; }
    .step-icon svg { width: 28px; height: 28px; }
    .step { gap: 0.75rem; }
    .features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 6rem; padding: 0 2rem; }
    .feature { padding: 1.8rem; }
    footer { padding: 2rem; }
}
