:root {
    --bg: #0d0d10;
    --surface: #17171c;
    --surface-2: #22222a;
    --ink: #f5f5f7;
    --muted: #a1a1aa;
    --orange: #ff922b;
    --orange-deep: #e8590c;
    --blue: #0a84ff;
    --green: #40c057;
    --red: #ff6b6b;
    --radius: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1200px 600px at 70% -10%, #1f2a44 0%, transparent 60%), var(--bg); color: var(--ink); line-height: 1.55; }
a { color: inherit; }
img { display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(13, 13, 16, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; }
.brand img { border-radius: 10px; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 24px); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.lang { border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: var(--ink); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }

main > section { max-width: 1080px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) 0; }

.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero-text p { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; }
.hero-icon { width: 100%; max-width: 340px; height: auto; justify-self: center; filter: drop-shadow(0 30px 60px rgba(10, 132, 255, 0.25)); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.note { color: var(--muted); font-size: 15px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; font: inherit; font-weight: 650; font-size: 17px; text-decoration: none; cursor: pointer; }
.button.primary { background: linear-gradient(180deg, var(--orange), var(--orange-deep)); color: #1a0b00; box-shadow: 0 10px 30px rgba(232, 89, 12, 0.35); }
.button.primary:hover { filter: brightness(1.06); }
.button:disabled { opacity: 0.6; cursor: progress; }

.steps ol { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); font-weight: 700; margin-bottom: 8px; }
.steps span { color: var(--muted); }

.connect form { margin-top: 24px; background: var(--surface); border-radius: 24px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; max-width: 640px; border: 1px solid rgba(255, 255, 255, 0.06); }
label { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
input { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 17px; }
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.code-field input { font-size: 28px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 999px; }
.tab { flex: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 999px; cursor: pointer; }
.tab.active { background: var(--ink); color: #111; font-weight: 650; }
.fields { display: grid; gap: 14px; }
.status { min-height: 24px; margin: 0; font-weight: 600; }
.status.ok { color: var(--green); }
.status.error { color: var(--red); }
.privacy { color: var(--muted); font-size: 14px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.grid article { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.grid p { color: var(--muted); margin: 0; }

.pricing .lead { color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 16px; margin-top: 24px; }
.plan { position: relative; background: var(--surface); border-radius: 24px; padding: 28px; border: 1px solid rgba(255, 255, 255, 0.08); }
.plan.best { border-color: var(--orange); box-shadow: 0 20px 50px rgba(232, 89, 12, 0.18); }
.plan .amount { font-size: 44px; font-weight: 800; margin: 4px 0 8px; letter-spacing: -0.02em; }
.plan p:last-child { color: var(--muted); margin: 0; }
.badge { position: absolute; top: -12px; right: 20px; background: var(--orange); color: #1a0b00; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

.faq details { background: var(--surface); border-radius: 14px; padding: 16px 20px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { max-width: 1080px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 48px) 48px; color: var(--muted); font-size: 14px; }
footer a { color: var(--ink); }

.legal { max-width: 760px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 48px); }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 28px; }
.legal p, .legal li { color: #d4d4d8; }

@media (max-width: 820px) {
    .hero { grid-template-columns: 1fr; }
    .hero-icon { max-width: 220px; order: -1; }
    .steps ol, .grid { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .top nav a:not(:first-child) { display: none; }
}

/* Kom igång-guiden. */
.guide-link { margin-top: 20px; }
.guide-link a { color: var(--orange); font-weight: 600; }
.guide ol, .guide ul { padding-left: 22px; }
.guide li { margin-bottom: 8px; }
.guide strong { color: var(--ink); }
.guide code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-size: 0.92em; }
.guide table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.guide th, .guide td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; vertical-align: top; }
.guide th { width: 34%; color: var(--ink); font-weight: 650; }
.guide td { color: #d4d4d8; }
select.lang { appearance: none; padding: 6px 14px; }
select.lang option { color: #111; }
