/* Samma färger som appen (Theme.swift / Theme.kt). */
:root {
  --background: #0D131D; --surface: #161F2C; --border: #2A3647;
  --text: #EEF2F7; --text-2: #A9B6C6; --text-3: #8796A8; --accent: #7CC4FF; --risk: #F5B83D;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--background); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
header {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  max-width: 860px; margin: 0 auto; padding: 20px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; text-decoration: none; }
.brand img { border-radius: 9px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
nav a { color: var(--text-2); text-decoration: none; }
nav a:hover { color: var(--accent); }
main { max-width: 860px; margin: 0 auto; padding: 8px 24px 48px; }
h1 { font-size: 34px; line-height: 1.2; margin: 24px 0 16px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
a { color: var(--accent); }
p, li { color: var(--text-2); }
strong { color: var(--text); }
.draft { background: #2A2210; border: 1px solid var(--risk); color: var(--risk); border-radius: 10px; padding: 10px 14px; }
blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--text-2); }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text); background: var(--surface); }
td { color: var(--text-2); }
code { background: var(--surface); padding: 1px 6px; border-radius: 6px; }
footer {
  max-width: 860px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--border);
  color: var(--text-3); font-size: 14px;
}
h3 { font-size: 18px; margin: 24px 0 4px; color: var(--text); }

/* Landningssidan */
body.landing header, body.landing main, body.landing footer { max-width: 1120px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .02em; margin: 0 0 6px; }
.accent { color: var(--accent); }
.lead { font-size: 19px; color: var(--text-2); }
.small { font-size: 14px; color: var(--text-3); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 24px 0 40px; }
.hero h1 { font-size: clamp(36px, 5.5vw, 58px); line-height: 1.05; margin: 8px 0 20px; letter-spacing: -.02em; }
.hero-phone { display: flex; justify-content: center; position: relative; }
.hero-phone::before {
  content: ""; position: absolute; inset: 10% -10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124,196,255,.22), transparent); z-index: 0;
}
.phone {
  position: relative; z-index: 1; margin: 0; width: min(300px, 80vw); aspect-ratio: 1206 / 2622;
  border: 10px solid #222c3a; border-radius: 46px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px #3a4657;
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; min-width: 176px;
  background: #000; color: #fff; border: 1px solid #555f6e; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: 20px; line-height: 1.1;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .02em; }
.store:hover { border-color: var(--accent); }
.store.soon { opacity: .75; cursor: default; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 56px; }
.facts div { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.facts strong { display: block; font-size: 20px; }
.facts span { color: var(--text-2); font-size: 15px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--border); }
.feature.reverse > figure { order: 2; }
.feature h2, .car h2, .pricing h2, .cta h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 4px 0 14px; }
.feature ul { padding-left: 20px; }
.feature li { margin: 6px 0; }
.car { padding: 56px 0; border-top: 1px solid var(--border); text-align: center; }
.car .lead { max-width: 720px; margin: 0 auto 28px; }
.car-screen { margin: 0 auto; max-width: 860px; border: 10px solid #222c3a; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px #3a4657; }
.car-screen img { width: 100%; height: auto; display: block; }
.pricing { padding: 56px 0; border-top: 1px solid var(--border); text-align: center; }
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 24px 0 12px; }
.plan { position: relative; width: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px 20px; }
.plan.best { border-color: var(--accent); }
.plan h3 { margin: 0; color: var(--text-2); font-weight: 600; }
.plan .price { font-size: 38px; font-weight: 700; color: var(--text); margin: 6px 0; }
.plan .price span { font-size: 17px; color: var(--text-3); font-weight: 400; }
.tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--background); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.cta { padding: 56px 0 24px; border-top: 1px solid var(--border); text-align: center; }
.cta .stores { justify-content: center; }
.cta .small { max-width: 640px; margin: 18px auto 0; }
@media (max-width: 820px) {
  .hero, .feature { grid-template-columns: 1fr; gap: 32px; }
  .hero { text-align: center; }
  .hero .stores { justify-content: center; }
  .feature > figure, .feature.reverse > figure { order: 2; margin: 0 auto; }
  .facts { grid-template-columns: 1fr; }
}
