/* Kapningskoll v2. Mätt mot lifelock.norton.com (helbildsfilm i hero, 64px rubrik, vita piller),
   nordprotect.com/Coveron (nästan svart #0a0a0a, 48px/500, bento med foto + gränssnitt)
   och aura.com (kol #161616/#2a2a2a, kort med foto och larmbubblor). */
:root {
  --bg: #0a0c0e;
  --surface: #13171b;
  --surface-2: #1a2026;
  --line: #262d35;
  --text: #f2f4f5;
  --muted: #9ba5ae;
  --accent: #3ddc84;
  --accent-ink: #06210f;
  --warn: #ff6b4a;
  --light: #f3f5f6;
  --light-line: #dde2e6;
  --ink: #0d1114;
  --ink-muted: #556069;
  --wrap: 1200px;
  --r: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 10px 14px; z-index: 60; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Knappar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #0a0c0e; text-decoration: none; border: 1px solid #fff;
  padding: 15px 26px; border-radius: 999px; font: inherit; font-weight: 500; font-size: 1.02rem; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn.line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn.line:hover { background: #fff; color: #0a0c0e; border-color: #fff; }
.btn.green { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.green:hover { background: #fff; border-color: #fff; color: #0a0c0e; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.sm { padding: 10px 18px; font-size: 0.95rem; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Sidhuvud */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background 0.35s var(--ease), border-color 0.35s var(--ease); border-bottom: 1px solid transparent; }
.top.solid { background: rgba(10, 12, 14, 0.96); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; width: min(1360px, 100% - 40px); }
.logo { font-weight: 600; font-size: 1.32rem; letter-spacing: -0.035em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo svg { width: 26px; height: 26px; }
.logo span { font-weight: 400; opacity: 0.8; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 0.97rem; color: #fff; }
.nav a.plain { opacity: 0.86; transition: opacity 0.2s; }
.nav a.plain:hover, .nav a.plain[aria-current="page"] { opacity: 1; }
.nav .login { display: inline-flex; align-items: center; gap: 9px; opacity: 1; }
.nav .login img { height: 22px; width: auto; }
.burger { display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 0.92rem; color: #fff; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.62) 42%, rgba(10, 12, 14, 0.12) 78%),
              linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 14, 0) 34%); }
.hero .wrap { padding: 150px 0 clamp(56px, 9vh, 104px); width: min(1360px, 100% - 40px); }
.hero h1 { max-width: 13ch; margin-bottom: 24px; }
.hero .lede { color: #d6dce1; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 38px; align-items: center; font-size: 0.92rem; color: #d6dce1; }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust img { height: 30px; width: auto; }
.trust svg { width: 18px; height: 18px; color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.5; } }

/* Sektioner */
.sec { padding: clamp(72px, 9vw, 136px) 0; }
.sec.light { background: var(--light); color: var(--ink); }
.sec.light .lede, .sec.light .muted { color: var(--ink-muted); }
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lede { margin-top: 18px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .lede { margin-inline: auto; }
.eyebrow { font-size: 0.9rem; color: var(--accent); margin-bottom: 14px; font-weight: 500; }
.sec.light .eyebrow { color: #0f8a4b; }

/* Läckkoll */
.scan { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.scan-form { display: flex; gap: 8px; background: #fff; border: 1px solid var(--light-line); border-radius: 999px; padding: 7px; margin-top: 28px; max-width: 520px; }
.scan-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 10px 18px; color: var(--ink); outline: none; }
.scan-note { margin-top: 14px; font-size: 0.85rem; color: var(--ink-muted); max-width: 52ch; }
.scan-out { background: #fff; border: 1px solid var(--light-line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); min-height: 280px; display: flex; flex-direction: column; justify-content: center; }
.scan-out .big { font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.scan-out .big.bad { color: #d6401f; }
.scan-out .big.ok { color: #0f8a4b; }
.scan-out h3 { margin: 10px 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 22px; }
.tags span { font-size: 0.82rem; background: var(--light); border: 1px solid var(--light-line); border-radius: 999px; padding: 4px 11px; }
.idle-rows { display: grid; gap: 10px; }
.idle-rows div { display: flex; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--light-line); border-radius: 12px; font-size: 0.95rem; }
.idle-rows b { font-weight: 500; }
.idle-rows em { font-style: normal; color: var(--ink-muted); }
.skel { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #e6eaed 0%, #f4f6f7 50%, #e6eaed 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; margin: 8px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.tile.w7 { grid-column: span 7; } .tile.w5 { grid-column: span 5; } .tile.w6 { grid-column: span 6; }
.tile video, .tile > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile.media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 14, 0.94) 4%, rgba(10, 12, 14, 0.35) 52%, rgba(10, 12, 14, 0.1) 100%); }
.tile .txt { padding: clamp(22px, 2.6vw, 34px); }
.tile .txt p { color: #c3cbd2; margin-top: 10px; max-width: 46ch; }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.tile .ui { padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) 0; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.tile.pale { background: #eef1f3; color: var(--ink); border-color: #eef1f3; }
.tile.pale .txt p { color: var(--ink-muted); }

/* Larmbubblor och gränssnitt */
.note { background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); max-width: 380px; }
.note .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); display: grid; place-items: center; }
.note .ic svg { width: 20px; height: 20px; color: var(--accent); }
.note.alert .ic svg { color: var(--warn); }
.note b { display: block; font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.note em { font-style: normal; display: block; color: var(--ink-muted); font-size: 0.84rem; }
.note time { font-size: 0.78rem; color: var(--ink-muted); align-self: start; }
.tile .float { position: absolute; top: clamp(20px, 3vw, 34px); right: clamp(20px, 3vw, 34px); left: clamp(20px, 3vw, 34px); display: grid; gap: 10px; justify-items: end; }
.check { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 0.97rem; font-weight: 500; box-shadow: 0 10px 24px -16px rgba(13, 17, 20, 0.35); }
.check i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.check i svg { width: 14px; height: 14px; color: var(--accent-ink); }
.check.pending i { background: transparent; border: 2px solid #c3cbd2; }
.check.pending { color: var(--ink-muted); }
.check small { margin-left: auto; font-weight: 400; color: var(--ink-muted); font-size: 0.82rem; }
.bubble { background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 12px 16px; font-size: 0.95rem; max-width: 300px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.bubble small { display: block; color: var(--ink-muted); font-size: 0.78rem; margin-bottom: 2px; }

/* Två spår */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .tile { min-height: 560px; text-decoration: none; color: #fff; }
.duo .tile video { transition: transform 1.2s var(--ease); }
.duo .tile:hover video { transform: scale(1.04); }
.duo ul { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 9px; }
.duo li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; color: #dfe4e8; }
.duo li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.more svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.tile:hover .more svg, .guide:hover .more svg { transform: translateX(5px); }

/* Steg */
.steps { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: 16px; }
.step { background: #fff; border: 1px solid var(--light-line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 22px; min-height: 380px; }
.step .vis { flex: 1; background: var(--light); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.step .num { font-size: 0.86rem; color: #0f8a4b; font-weight: 500; }
.step p { color: var(--ink-muted); margin-top: 8px; font-size: 0.98rem; }
.bid-btn { display: flex; align-items: center; justify-content: center; gap: 12px; background: #193e4f; color: #fff; border-radius: 12px; padding: 15px; font-weight: 500; }
.bid-btn img { height: 26px; }
.field-mock { background: #fff; border: 1px solid var(--light-line); border-radius: 12px; padding: 12px 14px; font-size: 0.92rem; display: flex; justify-content: space-between; }
.field-mock em { font-style: normal; color: var(--ink-muted); }

/* Helbildsband */
.band { position: relative; min-height: 78dvh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.8) 55%, rgba(10, 12, 14, 0.66) 100%); }
.band h2 { max-width: 16ch; font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.band .lede { margin-top: 20px; color: #d6dce1; }
.band .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: end; width: 100%; }
.band ul { list-style: none; margin: 0; padding: 0; }
.band li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.22); display: flex; gap: 14px; }
.band li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.band li.no svg { color: var(--warn); }
.band li.yes svg { color: var(--accent); }

/* Jämförelse */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 0.98rem; }
.cmp thead th { font-weight: 500; font-size: 1rem; background: var(--surface-2); }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp .us { background: rgba(61, 220, 132, 0.08); color: #fff; font-weight: 500; }
.cmp thead .us { color: var(--accent); }
.cmp td svg { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; }
.cmp .y { color: var(--accent); } .cmp .n { color: #6f7a84; }
.cmp-scroll { overflow-x: auto; }

/* Priser */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: #fff; border: 1px solid var(--light-line); border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; }
.plan.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.dark .muted, .plan.dark li { color: #c3cbd2; }
.plan .tag { align-self: flex-start; font-size: 0.8rem; font-weight: 500; background: var(--light); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.plan.dark .tag { background: rgba(255, 255, 255, 0.12); }
.price { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; letter-spacing: -0.04em; margin: 16px 0 4px; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 400; color: var(--ink-muted); letter-spacing: 0; }
.plan.dark .price small { color: #9ba5ae; }
.plan ul { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.plan li svg { width: 19px; height: 19px; color: #0f8a4b; flex: none; margin-top: 4px; }
.plan.dark li svg { color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan-foot { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 0.9rem; color: var(--ink-muted); }
.plan-foot span { display: inline-flex; gap: 8px; align-items: center; }
.plan-foot svg { width: 17px; height: 17px; color: #0f8a4b; }

/* Guider: filmrutor, en stor och två staplade */
.guides { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.guides .tile { text-decoration: none; color: #fff; min-height: 300px; }
.guides .tile.g-big { grid-row: span 2; min-height: 620px; }
.guides .tile video { transition: transform 1.2s var(--ease); }
.guides .tile:hover video { transform: scale(1.05); }
.guides .tile.g-big h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.guides .txt p { margin-bottom: 18px; }
.gkind { display: inline-block; font-size: 0.8rem; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.guides .more { color: var(--accent); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 88px); }
.faq details { border-top: 1px solid var(--light-line); }
.faq details:last-child { border-bottom: 1px solid var(--light-line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; font-weight: 500; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.7rem; font-weight: 300; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--ink-muted); max-width: 64ch; }
.faq a { text-decoration: underline; text-underline-offset: 3px; }

/* Slut-CTA */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(96px, 13vw, 180px) 0; }
.final video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 12, 14, 0.74); }
.final h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; margin: 0 auto 30px; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Undersidor */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 190px 0 clamp(56px, 8vw, 104px); min-height: 62dvh; display: flex; align-items: flex-end; }
.page-hero video, .page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.6) 50%, rgba(10, 12, 14, 0.25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 14, 0) 40%); }
.page-hero.plain { min-height: 0; padding-bottom: 40px; }
.page-hero.plain::after { background: none; }
.page-hero h1 { max-width: 16ch; margin-bottom: 20px; font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
.page-hero .lede { color: #d6dce1; }
.page-hero .cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.rows { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row .tile { min-height: 420px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card ul.list { list-style: none; margin: 18px 0 0; padding: 0; }
.card ul.list li { padding: 14px 0; border-top: 1px solid var(--line); color: #dfe4e8; }
.card ul.list b { color: #fff; font-weight: 500; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.prose p, .prose li { color: #cfd6dc; }
.prose p + p { margin-top: 14px; }
.prose ol, .prose ul { padding-left: 0; list-style: none; counter-reset: n; display: grid; gap: 12px; margin: 0; }
.prose ol li { counter-increment: n; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 20px 66px; position: relative; }
.prose ol li::before { content: counter(n); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose b, .prose strong { color: #fff; font-weight: 500; }
.prose a { color: var(--accent); }
.todo { background: #4a3b00; border: 1px dashed #d9a400; color: #ffe08a; padding: 2px 7px; border-radius: 4px; font-size: 0.92em; }

/* Formulär */
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
form.sign { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, fieldset legend { font-weight: 500; font-size: 0.95rem; padding: 0; }
.field input { font: inherit; padding: 14px 16px; border: 1px solid #c3cbd2; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.field .err { color: #c4381a; font-size: 0.86rem; }
.field input[aria-invalid="true"] { border-color: #c4381a; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { border: 1px solid #c3cbd2; border-radius: 12px; padding: 15px; cursor: pointer; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-muted); }
.consent input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -5000px; }
.form-msg { font-size: 0.95rem; }
.form-msg.bad { color: #c4381a; }
.done { display: none; }
.sent .done { display: block; }
.sent .fields { display: none; }
.perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: #dfe4e8; }
.perks svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.login-box { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); max-width: 460px; text-align: center; }
.login-box .bid-btn { margin: 24px 0 16px; opacity: 0.55; cursor: not-allowed; }
.login-box p { color: var(--ink-muted); }

/* Sidfot */
.foot { border-top: 1px solid var(--line); padding: 64px 0 34px; font-size: 0.94rem; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot .logo { margin-bottom: 14px; }
.foot h4 { margin: 0 0 14px; color: #fff; font-size: 0.94rem; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .bid { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: #dfe4e8; font-size: 0.88rem; }
.foot .bid img { height: 34px; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; font-size: 0.84rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.pop { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 160ms + 250ms); }
.in .pop, .pop.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .pop { opacity: 1; transform: none; transition: none; }
  .chip i { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .scan, .duo, .steps, .plans, .guides, .faq-grid, .form-grid, .row, .band .cols { grid-template-columns: 1fr; }
  .guides { grid-template-rows: auto; }
  .guides .tile.g-big { grid-row: auto; min-height: 460px; }
  .guides .tile { min-height: 340px; }
  .tile.w7, .tile.w5, .tile.w6 { grid-column: span 12; }
  .tile { min-height: 420px; }
  .duo .tile { min-height: 480px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #0a0c0e; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; }
  .nav.open { display: flex; }
  .nav a.plain { padding: 15px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav .btn { margin-top: 16px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 14, 0.78) 45%, rgba(10, 12, 14, 0.35) 100%); }
  .band::after { background: rgba(10, 12, 14, 0.78); }
  .band { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero .cta .btn, .final .cta .btn { width: 100%; }
  .scan-form { flex-direction: column; border-radius: 22px; padding: 8px; }
  .scan-form input { padding: 12px 14px; }
  .choice { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .note { grid-template-columns: 38px 1fr; }
  .note time { display: none; }
  .cmp th, .cmp td { padding: 14px 14px; font-size: 0.9rem; }
}
.logo b { font-weight: 600; }
.nav a.btn { color: #0a0c0e; }
.nav a.btn:hover { color: var(--accent-ink); }

/* Polisens råd: helbildsfilm med citat */
.band.police { min-height: 88dvh; padding: 120px 0 56px; }
.band.police .wrap { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.band.police .cols { align-items: center; }
.band.police .eyebrow { color: #f2c200; }
.pol-big { margin: 0 0 22px; font-size: clamp(1.7rem, 3.4vw, 2.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.pol-big::before, .pol-list blockquote::before { content: "\201D"; color: #f2c200; margin-right: 4px; }
.pol-big::after, .pol-list blockquote::after { content: "\201D"; color: #f2c200; margin-left: 2px; }
.pol-src { color: #d6dce1; font-size: 0.95rem; margin-bottom: 28px; }
.band.police ul.pol-list li { display: block; padding: 24px 0; }
.pol-film { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #0d1114; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.pol-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pol-play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; text-align: left; isolation: isolate; overflow: hidden; background: #0d1114; }
.pol-play video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pol-play::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.3) 55%, rgba(10, 12, 14, 0.15) 100%); }
.pol-play:hover video { transform: scale(1.05); }
.pol-badge { position: absolute; top: 18px; left: 18px; font-size: 0.8rem; background: #f2c200; color: #0d1114; font-weight: 500; border-radius: 999px; padding: 5px 13px; }
.pol-row2 { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 18px; }
.pol-play .pp { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: #0d1114; display: grid; place-items: center; flex: none; position: relative; transition: transform 0.4s var(--ease), background 0.3s var(--ease); }
.pol-play .pp::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
.pol-play .pp svg { width: 30px; height: 30px; margin-left: 4px; }
.pol-play:hover .pp { transform: scale(1.08); background: #f2c200; }
.pol-play b { display: block; font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.15; }
.pol-play em { font-style: normal; color: #d6dce1; font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) { .pol-play .pp::before { animation: none; } }
.pol-cap { margin-top: 14px; font-size: 0.86rem; color: #c3cbd2; }
.pol-list blockquote { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.35; letter-spacing: -0.01em; }
.pol-note { font-size: 0.82rem; color: #aab3bb; max-width: 72ch; }

/* Verktyg */
.tools3 { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.tool { text-decoration: none; background: #fff; border: 1px solid var(--light-line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 250px; transition: transform 0.4s var(--ease); }
.tool:hover { transform: translateY(-4px); }
.tool.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool p { color: var(--ink-muted); }
.tool.dark p { color: #c3cbd2; }
.tool .tnum { font-size: 0.86rem; color: #0f8a4b; font-weight: 500; }
.tool.dark .tnum, .tool.dark .more { color: var(--accent); }
.tool .more { margin-top: auto; padding-top: 14px; }
.tool:hover .more svg { transform: translateX(5px); }
.scan-form.on-dark { background: var(--surface); border-color: var(--line); }
.scan-form.on-dark input { color: #fff; }
.scan-out.dark { background: var(--surface); border-color: var(--line); color: var(--text); }
.scan-out.dark .idle-rows div, .scan-out.dark .res div { border-color: var(--line); }
.scan-out.dark .idle-rows em, .scan-out.dark .muted { color: var(--muted); }
.res { display: grid; gap: 10px; }
.res > div { padding: 14px 16px; border: 1px solid var(--light-line); border-radius: 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.res b { font-weight: 500; }
.res small { grid-column: 1 / -1; color: var(--muted); font-size: 0.86rem; }
.pill { font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: rgba(61, 220, 132, 0.16); color: var(--accent); }
.pill.mid { background: rgba(255, 190, 70, 0.16); color: #ffc457; }
.pill.bad { background: rgba(255, 107, 74, 0.18); color: var(--warn); }
.scan-out.dark .tags span { background: var(--surface-2); border-color: var(--line); }
@media (max-width: 980px) {
  .tools3 { grid-template-columns: 1fr; }
}
