/* Serva – marknadssajt. Färger från owner.com, luft och enkelhet à la ChatGPT. */

:root {
  --bg: #fbf8f5;
  --surface: #ffffff;
  --taupe: #f9f3ed;
  --taupe-dark: #f1ebe4;
  --ink: #2c2c2c;
  --ink-2: #2c2c2cb3;
  --ink-3: #2c2c2c80;
  --line: #2c2c2c14;
  --line-2: #2c2c2c24;
  --brand: #1d5ef5;
  --brand-dark: #0a2e7a;
  --brand-tint: #e8efff;
  --ok: #2f8f3a;
  --ok-tint: #e6f2e3;
  --red: #d73815;
  --red-tint: #fbe6df;
  --amber: #b87d0a;
  --amber-tint: #faf0d9;

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px #2c2c2c0a, 0 8px 32px -12px #2c2c2c24;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Ankarlänkar ska inte hamna under den fasta menyn */
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.accent { color: var(--brand); white-space: nowrap; }

/* Knappar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .15s, opacity .15s;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #174fd6; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: #2c2c2c08; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: #fbf8f5d9; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.04em; color: var(--ink); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-login { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; place-items: center; }
.mobile-menu { display: none; }

/* Hero (resten ligger i "Hero i Owner-stil" längre ner) */
.lead { margin: 20px auto 0; max-width: 540px; font-size: 19px; color: var(--ink-2); }

/* Composer (ChatGPT-lik sökruta) */
.composer { position: relative; margin: 44px auto 0; max-width: 680px; text-align: left; }
.composer-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: 28px; padding: 10px 10px 10px 22px;
  box-shadow: 0 0 0 1px var(--line-2), 0 12px 40px -16px #2c2c2c33;
  transition: box-shadow .2s;
}
.composer-box:focus-within { box-shadow: 0 0 0 1px #2c2c2c55, 0 12px 40px -16px #2c2c2c40; }
.composer-pin { color: var(--ink-3); flex: none; }
.composer input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.composer input::placeholder { color: #2c2c2c73; }
.send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .15s; }
.send:hover { background: #000; }

.chips { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--ink-2); transition: background .15s, color .15s; }
.chip:hover { background: var(--surface); color: var(--ink); }
.fine { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

.suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20;
  list-style: none; margin: 0; padding: 6px; background: var(--surface); border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px #2c2c2c55; display: none; max-height: 340px; overflow: auto;
}
.suggestions.open { display: block; }
.suggestions li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; cursor: pointer; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--taupe); }
.suggestions .pin { width: 34px; height: 34px; border-radius: 10px; background: var(--taupe); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.suggestions .s-main { font-weight: 500; font-size: 15px; line-height: 1.3; }
.suggestions .s-sub { font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.suggestions .s-empty { padding: 12px; font-size: 14px; color: var(--ink-3); cursor: default; }
.suggestions .s-empty:hover { background: transparent; }
.powered { font-size: 11px !important; text-align: right; justify-content: flex-end; padding: 6px 12px !important; }

@keyframes fade { from { opacity: 0; } }
.dot { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600; }
.dot.bad { background: var(--red-tint); color: var(--red); }
.dot.warn { background: var(--amber-tint); color: var(--amber); }
.dot.ok { background: var(--ok-tint); color: var(--ok); }

/* Sektioner */
.section { padding: 120px 0 0; }
.title { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 48px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step .num { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; font-size: 14px; color: var(--ink-2); }
.step h3 { margin-top: 20px; font-size: 21px; }
.step p { margin-top: 10px; color: var(--ink-2); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.feature { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line-2); }
.feature:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line-2); }
.feature h3 { font-size: 19px; }
.feature p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

.price-card { margin: 0 auto; max-width: 440px; background: var(--surface); border-radius: 24px; padding: 40px; box-shadow: 0 0 0 1px var(--line), var(--shadow); text-align: left; }
.price { font-family: var(--font-display); font-size: 52px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.price span { font-size: 18px; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.price-sub { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.price-card ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.price-card li svg { color: var(--brand); flex: none; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }

.final { padding: 140px 0 120px; }
.final .title { margin-bottom: 0; }
.final .composer { margin-top: 36px; }

footer { border-top: 1px solid var(--line); }
.foot { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo.small { font-size: 20px; }
.foot-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.copy { font-size: 13px; color: var(--ink-3); }

/* ---------- Chatt ---------- */
.chat-mode footer, .chat-mode .nav-links, .chat-mode .nav-start, .chat-mode .nav-toggle, .chat-mode .mobile-menu { display: none !important; }
.chat-mode .composer-pin { display: none; }
.chat { min-height: calc(100vh - 64px); animation: fade .4s ease; }
.thread { max-width: 760px; margin: 0 auto; padding: 32px 20px 200px; display: flex; flex-direction: column; gap: 28px; }

.msg.user { display: flex; justify-content: flex-end; animation: rise .3s ease; }
.bubble { max-width: 80%; background: var(--taupe-dark); border-radius: 22px; padding: 10px 18px; font-size: 16px; }
.bubble small { display: block; font-size: 13px; color: var(--ink-3); }

.msg.ai { display: flex; flex-direction: column; gap: 8px; animation: rise .3s ease; }
.ai-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.03em; color: var(--ink); }
.ai-body { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.md { font-size: 16px; line-height: 1.65; }
.md p { margin: 0 0 12px; }
.md p:last-child, .md ol:last-child, .md ul:last-child { margin-bottom: 0; }
.md ol, .md ul { margin: 0 0 12px; padding-left: 22px; }
.md li { margin: 4px 0; padding-left: 2px; }
.md h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 4px 0 8px; letter-spacing: 0; }
.md strong { font-weight: 600; }

/* Tänker… */
.think { align-self: flex-start; max-width: 100%; }
.think.empty { display: none; }
.think-head { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; font-size: 15px; color: var(--ink-3); }
.think-head:hover { color: var(--ink); }
.think-head svg { transition: transform .2s; }
.think.open .think-head svg { transform: rotate(90deg); }
.think.running .think-label {
  background: linear-gradient(90deg, var(--ink-3) 0%, var(--ink-3) 40%, var(--ink) 50%, var(--ink-3) 60%, var(--ink-3) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 1.8s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.think-body { display: none; margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--line-2); }
.think.open .think-body { display: block; }
.think-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.think-steps:empty { display: none; }
.think-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; animation: rise .25s ease; }
.think-steps b { font-weight: 500; display: block; line-height: 1.4; }
.think-steps .detail { color: var(--ink-3); font-size: 13px; }
.think-steps .st { width: 16px; height: 16px; flex: none; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; }
.think-steps li.active .st { border: 2px solid var(--line-2); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.think-steps li.done .st { background: var(--brand); color: #fff; }
.think-steps li.bad .st { background: var(--red-tint); color: var(--red); font-size: 11px; font-weight: 700; }
.think-steps li.skipped .st { background: var(--taupe-dark); color: var(--ink-3); font-size: 11px; }
.think-steps li.skipped b { color: var(--ink-3); }
.think-steps li.active b { color: var(--ink-2); }
.think-text { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.think-text p { margin: 0 0 8px; }
.think-steps:not(:empty) + .think-text:not(:empty) { margin-top: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Rapportkort i chatten */
.rcard { background: var(--surface); border-radius: 20px; box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.rcard-top { display: flex; gap: 18px; align-items: center; padding: 20px; background: var(--taupe); }

.gauge { width: 104px; height: 104px; position: relative; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 32px; letter-spacing: -0.04em; line-height: 1; }
.gauge-num small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--ink-3); letter-spacing: 0; margin-top: 4px; }
.gauge.small { width: 84px; height: 84px; }
.gauge.small .gauge-num { font-size: 26px; }
.rcard-top .lbl { font-size: 13px; font-weight: 500; }
.rcard-top .big { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; margin-top: 2px; }
.rcard-top .small { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.rcard-list { padding: 4px 20px; }
.issue { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.issue:last-child { border-bottom: 0; }
.issue b { display: block; font-weight: 500; font-size: 15px; }
.issue span:not(.dot) { font-size: 13px; color: var(--ink-3); }
.rcard-good { display: flex; gap: 12px; align-items: flex-start; padding: 14px 20px; border-top: 1px solid var(--line); background: #fbfdf9; }
.rcard-good b { display: block; font-weight: 500; font-size: 15px; }
.rcard-good span:not(.dot) { font-size: 13px; color: var(--ink-3); }
.rcard-foot { display: grid; gap: 2px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.rcard-foot a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.dot.info { background: var(--taupe-dark); color: var(--ink-3); }
.issue.info b { color: var(--ink-2); }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Meddelanderutan i botten */
.chat-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 28px 20px 14px; background: linear-gradient(to bottom, transparent, var(--bg) 34%); }
.chat-dock .composer { margin: 0 auto; max-width: 760px; }
.chat-dock .composer-box { padding-left: 20px; }
.chat-dock .suggestions { top: auto; bottom: calc(100% + 8px); }
.composer.busy .send { background: var(--ink-3); cursor: default; }
/* Sökrutan är låst medan analysen pågår – man ska inte kunna starta en ny mitt i */
.composer input:disabled { cursor: default; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
.dock-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--ink-3); }

/* ---------- Genomsökningen (skanner i chatten) ---------- */
.scanner {
  display: grid; grid-template-columns: 230px 1fr; min-height: 440px;
  background: var(--surface); border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow); animation: rise .35s ease;
  transition: opacity .35s ease, transform .35s ease;
}
.scanner.closing { opacity: 0; transform: scale(.98); }
.sc-side { display: flex; flex-direction: column; padding: 22px 18px 16px; border-right: 1px solid var(--line); }
.sc-title { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.sc-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.sc-steps li { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 0 0 16px; font-size: 13.5px; line-height: 1.35; }
.sc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: 2px; width: 1px; background: var(--line-2); }
.sc-steps b { font-weight: 500; display: block; word-break: break-word; }
.sc-steps .detail { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.sc-steps .detail:empty { display: none; }
.sc-steps .st { width: 17px; height: 17px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; background: var(--surface); position: relative; z-index: 1; }
.sc-steps li.pending { color: var(--ink-3); }
.sc-steps li.pending .st { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.sc-steps li.active .st { border: 2px solid var(--line-2); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.sc-steps li.done .st { background: var(--ink); color: #fff; }
.sc-steps li.bad .st { background: var(--red-tint); color: var(--red); font-size: 11px; font-weight: 700; }
.sc-steps li.skipped .st { background: var(--taupe-dark); color: var(--ink-3); font-size: 11px; }
.sc-steps li.skipped b { color: var(--ink-3); }
.sc-foot { margin-top: auto; background: var(--taupe); border-radius: 12px; padding: 12px 14px; overflow: hidden; position: relative; }
.sc-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.sc-bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .6s ease; }
.sc-eta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.sc-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: spin .8s linear infinite; flex: none; }

.sc-stage { position: relative; overflow: hidden; background: var(--bg); display: grid; place-items: center; min-height: 440px; }
.sc-view { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; }
.sc-widget { grid-area: 1 / 1; width: 100%; display: grid; place-items: center; animation: widgetIn .45s cubic-bezier(.2,.8,.2,1); }
.sc-widget.leaving { animation: widgetOut .35s ease forwards; }
@keyframes widgetIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes widgetOut { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
.sc-line {
  position: absolute; left: 0; right: 0; height: 2px; top: 10%; z-index: 5; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--brand) 20%, var(--brand) 80%, transparent);
  box-shadow: 0 0 24px 8px #1d5ef533, 0 0 60px 24px #1d5ef518;
  animation: scanline 3.2s ease-in-out infinite alternate;
}
@keyframes scanline { from { top: 6%; } to { top: 94%; } }

/* Karta */
.w-map { position: relative; width: 100%; aspect-ratio: 640 / 400; border-radius: 16px; overflow: hidden; background-color: #f2efe9; background-size: cover; background-position: center; box-shadow: 0 0 0 1px var(--line); }
.w-map:not([style*="background-image"]) { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.pin-dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #8f8a84; box-shadow: 0 0 0 2px #fff, 0 2px 6px #0003; opacity: 0; animation: pinPop .35s cubic-bezier(.2,1.4,.4,1) forwards; }
.pin-dot.better { background: var(--red); }
.pin-dot:hover { z-index: 4; }
.pin-tip { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.pin-dot:hover .pin-tip { opacity: 1; }
@keyframes pinPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.pin-self { position: absolute; transform: translate(-50%, -50%); z-index: 3; }
.pin-head { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 0 0 3px #fff, 0 4px 12px #0004; }
.pin-head.small { width: 22px; height: 22px; font-size: 11px; }
.pin-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.5); opacity: .6; } to { transform: scale(2); opacity: 0; } }
.w-legend { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; background: #ffffffe6; border-radius: 10px; padding: 6px 10px; font-size: 11.5px; }
.w-legend span { display: inline-flex; align-items: center; gap: 5px; }
.w-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-self { background: var(--ink); } .lg-better { background: var(--red); } .lg-other { background: #8f8a84; }

/* Google-profil */
.w-profile { width: 100%; max-width: 440px; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 20px 50px -24px #2c2c2c55; }
.wp-media { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3px; height: 150px; padding: 6px 6px 0; }
.wp-media img, .wp-noimg { width: 100%; height: 100%; object-fit: cover; border-radius: 12px 4px 4px 4px; }
.wp-noimg { display: grid; place-items: center; background: var(--taupe); color: var(--ink-3); font-size: 13px; }
.wp-media > :only-child { grid-column: 1 / -1; border-radius: 12px; }
.wp-map { border-radius: 4px 12px 4px 4px; background-size: cover; background-position: center; display: grid; place-items: center; }
.wp-body { padding: 12px 16px 16px; }
.wp-body b { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.wp-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.wp-meta i { font-style: normal; color: var(--line-2); }
.wp-body p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.stars { position: relative; display: inline-block; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.stars-bg { color: #e3ddd6; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #e8710a; }

/* Recensioner */
.w-reviews { width: 100%; max-width: 420px; display: grid; gap: 8px; max-height: 396px; overflow: hidden; mask-image: linear-gradient(#000 85%, transparent); -webkit-mask-image: linear-gradient(#000 85%, transparent); }
.w-review { background: var(--surface); border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px #2c2c2c55; transform: rotate(var(--tilt)); opacity: 0; animation: cardIn .45s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) rotate(var(--tilt)); } to { opacity: 1; transform: rotate(var(--tilt)); } }
.wr-top { display: flex; gap: 10px; align-items: center; }
.wr-top img, .wr-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.wr-av { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 600; font-size: 13px; }
.wr-top div { flex: 1; min-width: 0; }
.wr-top b { display: block; font-weight: 500; font-size: 14px; line-height: 1.2; }
.wr-top div span { font-size: 12px; color: var(--ink-3); }
.w-review p { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Bilder */
.w-photos { width: 100%; max-width: 460px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.w-photos figure { position: relative; margin: 0; grid-column: span 3; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--taupe); box-shadow: 0 0 0 4px #fff, 0 14px 30px -16px #2c2c2c88; transform: rotate(var(--tilt)); opacity: 0; animation: cardIn .45s cubic-bezier(.2,.8,.2,1) forwards; }
.w-photos.n5 figure:nth-child(n + 3), .w-photos.n3 figure:nth-child(n + 2) { grid-column: span 2; }
.w-photos.n1 figure { grid-column: 1 / -1; }
.w-photos img { width: 100%; height: 100%; object-fit: cover; }
.w-photos figcaption { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 10px; color: #fff; background: #0008; padding: 2px 6px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hemsida och mobil */
.w-browser { width: 100%; max-width: 480px; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px #2c2c2c66; }
.wb-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.wb-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.wb-bar i:nth-child(2) { background: #febc2e; } .wb-bar i:nth-child(3) { background: #28c840; }
.wb-bar span { margin-left: 8px; flex: 1; font-size: 11px; color: var(--ink-3); background: var(--taupe); border-radius: 999px; padding: 3px 10px; }
.w-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.w-phone { position: relative; width: 190px; border-radius: 30px; padding: 7px; background: #111; box-shadow: 0 24px 50px -20px #2c2c2c88; }
.w-phone img { width: 100%; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; border-radius: 24px; }
.wph-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 60px; height: 16px; background: #111; border-radius: 10px; z-index: 1; }
.w-empty { color: var(--ink-3); font-size: 14px; }

@media (max-width: 700px) {
  .scanner { grid-template-columns: 1fr; min-height: 0; }
  .sc-side { order: 2; border-right: 0; border-top: 1px solid var(--line); padding: 14px 16px; }
  .sc-title, .sc-steps li.pending, .sc-steps li.done, .sc-steps li.bad, .sc-steps li.skipped { display: none; }
  .sc-steps { margin: 0 0 12px; }
  .sc-steps li { padding-bottom: 0; }
  .sc-steps li::before { display: none; }
  .sc-stage { min-height: 360px; }
  .sc-view { padding: 16px; }
  .w-reviews { max-height: 330px; }
  .w-phone { width: 150px; }
}

/* ---------- Hero i Owner-stil ---------- */
[hidden] { display: none !important; }
.hero { padding: 96px 0 0; text-align: center; }
.hero-head { max-width: 1100px; position: relative; z-index: 10; } /* sökförslagen ska ligga över telefonen */
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); animation: heroIn .7s ease both; }
.kick-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #1d5ef522; }
.hero .hero-title { margin: 22px auto 0; max-width: 1000px; font-size: clamp(40px, 6.4vw, 84px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; color: var(--ink); animation: heroIn .8s .08s ease both; }
.hero-composer { margin-top: 44px; max-width: 470px; animation: heroIn .8s .16s ease both; }
.hero-composer .composer-box {
  padding: 7px 7px 7px 18px; border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 10px 40px -10px #1d5ef53d, 0 0 0 6px #1d5ef510;
}
.hero-composer .composer-box:focus-within { box-shadow: 0 0 0 1px #1d5ef566, 0 10px 40px -10px #1d5ef555, 0 0 0 6px #1d5ef51c; }
.hero-composer .composer-pin { display: none; }
.hero-composer input { font-size: 16px; height: 46px; }
.hero-composer .send { width: auto; height: 48px; border-radius: 12px; padding: 0 18px; gap: 8px; display: inline-flex; align-items: center; background: var(--brand-dark); font-weight: 600; font-size: 15px; }
.hero-composer .send:hover { background: #07235e; }
.chat-dock .send { width: 44px; height: 44px; border-radius: 50%; padding: 0; justify-content: center; background: var(--ink); }
.chat-dock .send-label { display: none; }
.chat-dock .hero-composer { animation: none; max-width: 760px; }
.chat-dock .composer-box { border-radius: 28px; padding: 10px 10px 10px 22px; box-shadow: 0 0 0 1px var(--line-2), 0 12px 40px -16px #2c2c2c33; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } }

.hero-stage { position: relative; height: 660px; margin: 64px auto 0; max-width: 1280px; padding: 0 20px; overflow: hidden; animation: heroIn 1s .25s ease both; }
.hero-panel {
  position: absolute; left: 20px; right: 20px; top: 70px; bottom: 0; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(60% 90% at 80% 70%, #ffffff66 0%, transparent 60%),
    linear-gradient(100deg, #0b3fd1 0%, #1552f0 28%, #3f7bff 52%, #9dbcff 72%, #eaf1ff 100%);
}
.hero-panel::after {
  content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke: #ffffff; stroke-opacity: .35; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawLine 2.4s .6s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hphone { position: relative; z-index: 2; width: 430px; margin: 0 auto; height: 760px; border-radius: 64px; padding: 14px; background: #1b1b1b; box-shadow: inset 0 0 0 2px #3a3a3a, 0 40px 80px -30px #0a2e7a99; }
.hphone-screen { position: relative; height: 100%; border-radius: 52px; background: #fbf8f5; overflow: hidden; display: flex; flex-direction: column; }
.hphone-status { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px 8px 34px; font-weight: 600; font-size: 17px; color: #111; }
.hp-island { width: 120px; height: 34px; background: #111; border-radius: 20px; }
.hp-icons { display: inline-flex; gap: 6px; align-items: center; fill: #111; color: #111; }
.hphone-view { position: relative; flex: 1; overflow: hidden; padding: 0 16px; }
.hphone-scroll { display: grid; gap: 14px; padding-bottom: 40px; will-change: transform; }

.pc { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 1px 2px #2c2c2c0d, 0 10px 30px -18px #2c2c2c33; text-align: left; }
.pc h4 { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; color: #1f1f1f; }
.pc-big { font-size: 18px !important; line-height: 1.3; }
.pc-score { display: flex; align-items: center; gap: 14px; background: linear-gradient(180deg, #fff, #fdf1e7); }
.pc-score div { flex: 1; display: grid; font-size: 15px; color: var(--ink-2); line-height: 1.3; }
.pc-score b { color: #d9731a; font-weight: 600; }
.pc-score em { font-style: normal; color: var(--ink-3); font-size: 15px; }
.pc-ring { width: 40px; height: 40px; transform: rotate(-90deg); }
.pc-ring circle { fill: none; stroke: #f1ebe4; stroke-width: 5; }
.pc-ring .pc-ring-fg { stroke: #e8710a; stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1) .4s; }
.hphone.live .pc-ring-fg { stroke-dashoffset: 80; }
.pc-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.pc-row.me { margin: 6px -10px 0; padding: 10px; border-radius: 14px; background: var(--taupe); }
.pc-rank { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #f4f1ed; display: grid; place-items: center; font-size: 13px; color: var(--ink-3); }
.pc-row div { flex: 1; display: grid; line-height: 1.25; }
.pc-row b { font-weight: 500; font-size: 16px; color: #1f1f1f; }
.pc-row small { color: var(--ink-3); font-size: 14px; }
.pc-row small i { font-style: normal; color: #f5b301; }
.pc-row em { font-style: normal; font-weight: 600; font-size: 15px; }
.pc-row em.good { color: #3f8f2e; }
.pc-row em.bad { color: #d9731a; }
.pc-issue { display: flex; gap: 12px; align-items: flex-start; padding: 12px; margin-top: 8px; border-radius: 14px; background: #f7f5f2; }
.pc-warn { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #fff; color: var(--red); font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 1px 3px #0001; }
.pc-issue div { display: grid; gap: 2px; }
.pc-issue b { font-weight: 500; font-size: 15px; color: #1f1f1f; }
.pc-issue small { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.pc-note { text-align: center; font-size: 13px; color: var(--ink-3); margin: 16px 0 10px; }
.pc-cta { height: 48px; border-radius: 12px; background: #111; color: #fff; font-weight: 500; display: grid; place-items: center; font-size: 15px; }

/* ---------- Flikar med animerade mockups ---------- */
.tabs-section { padding-top: 120px; }
.big-title { font-size: clamp(34px, 4.8vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; max-width: 780px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.tab { border: 0; background: none; text-align: left; padding: 0; cursor: pointer; }
.tab span { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; color: #2c2c2c66; padding-bottom: 14px; transition: color .2s; }
.tab:hover span, .tab.active span { color: var(--ink); }
.tab-bar { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.tab-bar b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--brand); }
.tab.active .tab-bar b { animation: tabFill var(--tab-ms, 7000ms) linear forwards; }
.tabs.paused .tab.active .tab-bar b { animation: none; width: 100%; }
@keyframes tabFill { to { width: 100%; } }

.tab-card { position: relative; margin-top: 24px; border-radius: 28px; background: var(--taupe-dark); min-height: 520px; overflow: hidden; }
.tab-pane { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; padding: 56px 72px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.tab-pane.active { position: relative; opacity: 1; visibility: visible; }
.tp-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tp-copy h3 { margin-top: 14px; font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; max-width: 380px; }
.tp-copy p:last-child { margin-top: 16px; color: var(--ink-2); max-width: 380px; }
.tab-pane.active .tp-copy > * { animation: heroIn .6s ease both; }
.tab-pane.active .tp-copy h3 { animation-delay: .06s; }
.tab-pane.active .tp-copy p:last-child { animation-delay: .12s; }
.tp-visual { position: relative; display: grid; gap: 12px; max-width: 340px; width: 100%; justify-self: center; }

/* Mockup: Google-sökning */
.mk-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 16px 18px; font-weight: 500; box-shadow: 0 12px 30px -16px #2c2c2c55; }
.mk-caret { display: inline-block; width: 1.5px; height: 16px; background: var(--ink); margin-left: -8px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mk-results { display: grid; gap: 8px; padding: 10px; border-radius: 16px; background: #ffffff80; }
.mk-res { display: flex; align-items: center; gap: 12px; background: #ffffffb3; border-radius: 12px; padding: 12px; }
.mk-res div { flex: 1; display: grid; gap: 6px; }
.mk-thumb { width: 48px; height: 48px; border-radius: 10px; background: #f6f1eb; flex: none; }
.sk { display: block; height: 8px; border-radius: 4px; background: #efe9e2; }
.w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.mk-res.top { background: #fff; box-shadow: 0 10px 24px -14px #2c2c2c55; opacity: 0; transform: translateY(10px); }
.mk-res.top .mk-thumb { background: linear-gradient(135deg, #e0a064, #b8512b); }
.mk-res.top b { font-weight: 600; font-size: 15px; }
.mk-res.top small { color: var(--ink-3); font-size: 12.5px; }
.mk-res.top em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-tint); padding: 4px 8px; border-radius: 999px; }
.tab-pane.play .mk-res.top { animation: popIn .5s 1.9s cubic-bezier(.2,1.2,.4,1) forwards; }
@keyframes popIn { to { opacity: 1; transform: none; } }

/* Mockup: bokning */
.mk-book { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 12px 30px -16px #2c2c2c55; }
.mk-book-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.mk-book-head span { font-size: 13px; color: var(--ink-3); }
.mk-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.mk-slots span { text-align: center; padding: 10px 0; border-radius: 10px; background: var(--taupe); font-size: 13px; font-weight: 500; transition: background .3s, color .3s; }
.mk-slots span.off { color: #2c2c2c4d; text-decoration: line-through; }
.tab-pane.play .mk-slots .pick { animation: pick .4s 1s forwards; }
@keyframes pick { to { background: var(--brand); color: #fff; } }
.mk-toast, .mk-call, .mk-note { opacity: 0; transform: translateY(12px); }
.mk-toast { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 30px -16px #2c2c2c55; }
.mk-toast div { display: grid; }
.mk-toast b { font-size: 14px; font-weight: 600; }
.mk-toast small { font-size: 12.5px; color: var(--ink-3); }
.mk-ok { width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.mk-call { display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.4; }
.mk-live { width: 8px; height: 8px; border-radius: 50%; background: #ff5b3a; flex: none; animation: livePulse 1.4s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 #ff5b3a88; } 100% { box-shadow: 0 0 0 10px #ff5b3a00; } }
.tab-pane.play .mk-toast { animation: popIn .5s 1.7s ease forwards; }
.tab-pane.play .mk-call { animation: popIn .5s 2.6s ease forwards; }

/* Mockup: kampanjer */
.mk-notes { display: grid; gap: 10px; }
.mk-note { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 12px 30px -16px #2c2c2c55; }
.mk-note div { display: grid; gap: 2px; }
.mk-note b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.mk-note small { font-size: 12.5px; color: var(--ink-3); }
.mk-app { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.mk-app.sms { background: #34c759; }
.mk-app.mail { background: #2c2c2c; font-size: 16px; }
.tab-pane.play .mk-note:nth-child(1) { animation: popIn .5s .5s ease forwards; }
.tab-pane.play .mk-note:nth-child(2) { animation: popIn .5s 1.3s ease forwards; }
.tab-pane.play .mk-note:nth-child(3) { animation: popIn .5s 2.1s ease forwards; }

/* Mockup: recension + AI-svar */
.mk-review { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 12px 30px -16px #2c2c2c55; }
.mk-rv-top { display: flex; gap: 10px; align-items: center; }
.mk-rv-top div { flex: 1; display: grid; }
.mk-rv-top b { font-size: 14px; font-weight: 600; }
.mk-rv-top small { font-size: 12px; color: var(--ink-3); }
.mk-av { width: 34px; height: 34px; border-radius: 50%; background: #6a3fd8; color: #fff; display: grid; place-items: center; font-weight: 600; }
.mk-stars { color: #e8710a; letter-spacing: 1px; }
.mk-review > p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.mk-reply { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--brand-tint); font-size: 13.5px; color: var(--brand-dark); min-height: 70px; }
.mk-reply small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.mk-reply .mk-caret { margin-left: 1px; background: var(--brand-dark); height: 14px; }

@media (max-width: 860px) {
  .hero { padding-top: 56px; }
  .hero-composer .send-label { display: none; }
  .hero-composer .send { width: 48px; padding: 0; justify-content: center; }
  .hero-stage { height: 520px; margin-top: 44px; padding: 0 12px; }
  .hero-panel { left: 12px; right: 12px; top: 60px; border-radius: 22px; }
  .hphone { width: 320px; height: 600px; border-radius: 50px; padding: 11px; }
  .hphone-screen { border-radius: 40px; }
  .hp-island { width: 92px; height: 28px; }
  .hphone-status { font-size: 15px; padding: 14px 22px 6px 26px; }
  .pc { padding: 14px; border-radius: 18px; }
  .pc-rank { width: 38px; height: 38px; }
  .tabs { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; margin-top: 36px; }
  .tab span { font-size: 16px; padding-bottom: 10px; }
  .tab-pane { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; }
  .tab-card { min-height: 0; }
}

/* Bekräftelse efter radering */
.flash-note { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: 0 16px 40px -12px #0006; animation: heroIn .4s ease both; }

/* Inloggad-lägen på startsidan */
.nav-logout { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; }

/* ---------- Inloggningssida (/login) ---------- */
.login-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(900px 500px at 50% -10%, var(--brand-tint), transparent 70%), var(--bg); }
.lp-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; max-width: 1120px; width: 100%; margin: 0 auto; }
.lp-back { font-size: 14px; color: var(--ink-2); }
.lp-back:hover { color: var(--ink); }
.lp-main { flex: 1; display: grid; place-items: start center; padding: 24px 16px 64px; }
.lp-card { width: 100%; max-width: 420px; background: var(--surface); border-radius: 24px; padding: 32px 28px 28px; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px #2c2c2c55; animation: heroIn .5s ease both; }
.lp-claim { display: flex; align-items: center; gap: 10px; margin: -8px 0 22px; padding: 10px 14px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-dark); font-size: 14px; }
.lp-claim-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 0 4px #1d5ef522; }
.lp-title { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.lp-sub { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.lp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 12px; background: var(--taupe); }
.lp-tab { height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 500; font-size: 14.5px; color: var(--ink-2); transition: background .15s, color .15s, box-shadow .15s; }
.lp-tab.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #2c2c2c1f; }
.lp-google { width: 100%; height: 50px; margin-top: 18px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; font-size: 15px; transition: background .15s; }
.lp-google:hover { background: var(--taupe); }
.lp-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-3); font-size: 13px; }
.lp-or::before, .lp-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
#authForm, #resetForm { display: grid; gap: 8px; }
#resetForm { margin-top: 18px; }
.lp-label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.lp-label-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.lp-pw { display: grid; gap: 8px; }
.lp-input { width: 100%; height: 50px; border: 0; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); outline: 0; transition: box-shadow .15s; }
.lp-input:focus { box-shadow: inset 0 0 0 2px var(--brand); }
.lp-pw-wrap { position: relative; }
.lp-pw-wrap .lp-input { padding-right: 64px; }
.lp-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 8px; }
.lp-link { border: 0; background: none; padding: 0; font-size: 13.5px; font-weight: 500; color: var(--brand); }
.lp-link:hover { text-decoration: underline; }
.lp-error { color: var(--red); font-size: 13.5px; }
.lp-submit { margin-top: 10px; height: 50px; border-radius: 12px; font-weight: 600; }
.lp-submit:disabled { opacity: .6; cursor: default; }
.lp-alt { display: block; margin: 16px auto 0; }
.lp-fine { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.lp-view[data-view="sent"], .lp-view[data-view="done"] { text-align: center; }
.lp-view .btn-block { margin-top: 22px; height: 50px; border-radius: 12px; }
.lp-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--brand-tint); color: var(--brand); }
.lp-icon.ok { background: var(--ok-tint); color: var(--ok); }
@media (max-width: 480px) { .lp-card { padding: 26px 20px 22px; border-radius: 20px; } .lp-main { padding-top: 8px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsivt */
@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .nav-toggle { display: grid; }
  .nav-cta { gap: 6px; }
  /* Menyn ligger ÖVER sidan (absolut under sidhuvudet) och glider ned – den knuffar inte längre ned
     hela sidan (användarens felrapport 2026-10-16) */
  .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 20px 16px;
    background: #fbf8f5;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px #2c2c2c66;
    opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
    transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s; }
  .mobile-menu.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto;
    transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .mobile-menu a { display: block; padding: 12px 0; font-size: 16px; }
  .nav-toggle svg path { transition: d .25s ease; }
  .nav-toggle[aria-expanded="true"] svg path { d: path("M5 5l10 10M15 5L5 15"); }
  .hero { padding-top: 72px; }
  .lead { font-size: 17px; }
  .section { padding-top: 88px; }
  .title { margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:not(:nth-child(3n + 1)) { padding: 24px 0; border-left: 0; }
  .price-card { padding: 28px; }
  .final { padding: 100px 0 88px; }
  .foot { height: auto; padding: 28px 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-links { flex-wrap: wrap; gap: 16px; }
  .thread { padding-top: 20px; }
  .bubble { max-width: 90%; }
}
@media (max-width: 480px) {
  .chip:nth-child(n + 3) { display: none; }
  .rcard-top { padding: 16px; gap: 14px; }
  .gauge.small { width: 72px; height: 72px; }
  .rcard-list { padding: 2px 16px; }
}
