:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --soft: #f3ece1;
  --ink: #1c2541;
  --muted: #5e6578;
  --line: #e8e0d3;
  --accent: #e8893a;
  --accent-hover: #d97a2b;
  --accent-ink: #ffffff;
  --night: #1c2541;
  --night-2: #273259;
  --night-ink: #f6efe4;
  --ok: #2f8f6b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(28,37,65,.05), 0 12px 32px rgba(28,37,65,.08);
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11162a;
    --surface: #1a2140;
    --soft: #20294b;
    --ink: #eef0f6;
    --muted: #a5abc0;
    --line: #2b3458;
    --accent: #f0a05a;
    --accent-hover: #f5b072;
    --accent-ink: #1c1206;
    --night: #0b0f1e;
    --night-2: #161d38;
    --ok: #5cc49c;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.3);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
section { padding: 72px 0; }
section[id] { scroll-margin-top: 72px; }

/* Toppremsa och sidhuvud */
.strip { background: var(--night); color: var(--night-ink); font-size: .82rem; }
.strip .wrap { display: flex; justify-content: center; gap: 8px 28px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.strip span::before { content: "✓"; color: var(--accent); margin-right: 6px; font-weight: 700; }
@media (max-width: 560px) { .strip .hide-sm { display: none; } }
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .btn { min-height: 40px; padding: 0 18px; color: var(--accent-ink); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn[aria-disabled="true"] { background: var(--soft); color: var(--muted); cursor: default; transform: none; }

/* Hero */
.hero { padding: 40px 0 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .97rem; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.hero-pic { position: relative; }
.hero-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-pic .badge { position: absolute; left: -12px; bottom: 28px; background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); font-size: .9rem; max-width: 240px; }
.hero-pic .badge b { display: block; font-family: var(--serif); font-size: 1.05rem; }
@media (max-width: 560px) { .hero-pic .badge { left: 12px; bottom: 12px; } }

/* Problem och lösning */
.problems { background: var(--night); color: var(--night-ink); }
.problems .lead { color: color-mix(in srgb, var(--night-ink) 75%, transparent); }
.cols { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.col { background: var(--night-2); border-radius: var(--radius); padding: 26px; }
.col svg { width: 40px; height: 40px; margin-bottom: 14px; color: var(--accent); }
.col b { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 6px; }
.col p { margin: 0; color: color-mix(in srgb, var(--night-ink) 75%, transparent); font-size: .97rem; }

/* Produkter */
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.head .lead { margin: 0; }
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.card .pic { aspect-ratio: 1; background: #fff; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic.soon { display: grid; place-items: center; background: var(--soft); }
.card .pic.soon svg { width: 40%; border-radius: 22%; }
.card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card .kicker { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { margin: 0 0 20px; padding: 0; list-style: none; font-size: .93rem; display: grid; gap: 4px; }
.card ul li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.card .buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1; }
.price small { display: block; margin-top: 6px; font: .76rem/1.2 var(--sans); color: var(--muted); }
.card .pay { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 0; }
.pm { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font: 700 .62rem/1 var(--sans); letter-spacing: 0; color: var(--ink); }
.pm.klarna { background: #ffb3c7; border-color: #ffb3c7; color: #17120f; }
.pm.apple { background: #000; border-color: #000; color: #fff; }
.pm.gpay { background: #fff; border-color: #dadce0; color: #3c4043; }
.card .ship { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.card .ship span { white-space: nowrap; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: var(--night); color: var(--night-ink); font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.tag.hot { background: var(--accent); color: var(--accent-ink); }

/* Jämförelse */
.compare { background: var(--soft); }
.table-wrap { overflow-x: auto; margin-top: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
thead th { font-family: var(--serif); font-size: 1.05rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 700; }
td.no { color: var(--muted); }

/* Trygghet */
.trust { display: grid; gap: 28px; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 10px; }
.trust b { display: block; margin-bottom: 4px; }
.trust p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Så går det till */
.how { background: var(--soft); }
.how-steps { list-style: none; counter-reset: steg; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-steps li { counter-increment: steg; background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.how-steps li::before { content: counter(steg); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--night); color: var(--night-ink); font-weight: 700; }
.how-steps b { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.how-steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Vanliga frågor */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Textsidor */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h2 { font-size: 1.4rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--muted); }
.doc .center { text-align: center; padding: 48px 0; }
.doc .center svg { width: 64px; height: 64px; margin: 0 auto 20px; }

/* Sidfot */
footer { background: var(--night); color: color-mix(in srgb, var(--night-ink) 72%, transparent); padding: 56px 0 40px; font-size: .92rem; }
footer .wrap { display: grid; gap: 28px; }
@media (min-width: 760px) { footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
footer .brand { color: var(--night-ink); margin-bottom: 12px; }
footer .fh { margin: 0 0 10px; color: var(--night-ink); font: 600 .95rem/1.3 var(--sans); letter-spacing: 0; }
footer a { color: var(--night-ink); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(246,239,228,.15); padding-top: 20px; font-size: .82rem; }

/* Fast köpfält på mobil */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(28,37,65,.12); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.buybar[hidden] { display: none; }
.buybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybar-info { display: grid; line-height: 1.25; min-width: 0; }
.buybar-info b { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-info span { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.buybar .btn { min-height: 46px; padding: 0 28px; }
body.has-buybar { padding-bottom: 72px; }
@media (min-width: 760px) { .buybar { display: none !important; } body.has-buybar { padding-bottom: 0; } }
