/* ==========================================================================
   Blixtflow – webbplatsens stilar (mobil först)
   Varumärke: Natt #2C0E3D · Primär #9B5DE5 (text/knappar på vitt #7E45C9) · Ton #C8A8F2
              Gnista #F2FAA3 (aldrig på vitt) · Ljus #F7F3FA · Bricolage Grotesque 800/650/400
   ========================================================================== */

/* ---------- Typsnitt ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/_webbplats/b4/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
/* Reservtypsnitt med samma höjdmått, så att sidan inte hoppar när typsnittet laddats. */
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 93%;
  descent-override: 27%;
  line-gap-override: 0%;
  size-adjust: 97%;
}

/* ---------- Grundvärden ---------- */
:root {
  --natt: #2C0E3D;
  --natt-2: #3A1650;
  --natt-3: #200A2D;
  --primar: #9B5DE5;
  --primar-ink: #7E45C9;
  --ton: #C8A8F2;
  --ton-2: #A98BE8;
  --gnista: #F2FAA3;
  --ljus: #F7F3FA;
  --white: #FFFFFF;

  --ink: var(--natt);
  --ink-2: #4B3659;
  --muted: #5E4B70;
  --line: #E7DDF3;
  --line-2: #F1EBF8;
  --soft: #F1E9FC;
  --ok: #167A5B;
  --ok-soft: #E1F4EC;
  --bad: #C53030;

  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .78);
  --on-dark-muted: var(--ton);
  --on-dark-line: rgba(200, 168, 242, .16);
  --glass: rgba(58, 22, 80, .55);

  --shadow-1: 0 1px 2px rgba(44, 14, 61, .05), 0 8px 24px -10px rgba(44, 14, 61, .16);
  --shadow-2: 0 2px 6px rgba(44, 14, 61, .05), 0 28px 60px -24px rgba(44, 14, 61, .32);
  --shadow-3: 0 50px 110px -40px rgba(12, 2, 20, .75);

  --r-1: 12px;
  --r-2: 18px;
  --r-3: 24px;
  --r-4: 32px;
  --sheet-r: 32px;

  --gutter: clamp(18px, 5vw, 40px);
  --maxw: 1200px;
  --header-h: 64px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: "Bricolage Grotesque", "Bricolage Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --focus: var(--primar-ink);
}
@media (min-width: 1024px) {
  :root { --header-h: 76px; --sheet-r: 48px; }
}

/* ---------- Återställning ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--natt);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
b, strong { font-weight: 650; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero, .sec--dark, .site-header, .mnav, .trial-sec, .site-footer, .numbers { --focus: var(--gnista); }
::selection { background: var(--gnista); color: var(--natt); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--gnista); color: var(--natt);
  font-weight: 650; transform: translateY(-160%); transition: transform .2s var(--ease-out);
}
.skip:focus { transform: none; }

.ic { width: 20px; height: 20px; flex: none; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { position: relative; padding-block: clamp(76px, 10vw, 136px); }
.sec--light { background: var(--ljus); color: var(--ink); }
.sec--dark { background: var(--natt); color: var(--on-dark); }
/* Ark: sektionen lägger sig över den föregående med rundade hörn – som ett blad i appen. */
.sheet { z-index: 1; margin-top: calc(var(--sheet-r) * -1); border-radius: var(--sheet-r) var(--sheet-r) 0 0; }

/* ---------- Typografi ---------- */
.h2 {
  font-size: clamp(2.05rem, 1.35rem + 2.7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.h2--row { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem); }
.h3 {
  font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.18;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.sec--dark .lead, .hero .lead, .page-hero .lead, .trial-sec .lead { color: var(--on-dark-muted); }
.tone { color: var(--ton); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 18px; padding: 6px 14px 6px 12px;
  border-radius: 999px;
  font-size: .875rem; font-weight: 650; line-height: 1.3; letter-spacing: .005em;
  color: var(--primar-ink);
  background: rgba(155, 93, 229, .09);
  box-shadow: inset 0 0 0 1px rgba(155, 93, 229, .16);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(155, 93, 229, .14); }
.eyebrow--dark { color: var(--gnista); background: rgba(242, 250, 163, .07); box-shadow: inset 0 0 0 1px rgba(242, 250, 163, .16); }
.eyebrow--dark i { box-shadow: 0 0 0 0 rgba(242, 250, 163, .5); animation: ping 2.6s var(--ease) infinite; }

/* ---------- Sektionsrubrik ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .h2 + .lead { margin-top: 18px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; max-width: 620px; }
.sec-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }

/* ---------- Knappar ---------- */
.btn {
  --h: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 650; line-height: 1.1; letter-spacing: -.005em;
  white-space: nowrap; text-align: center; cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .3s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn--gnista {
  background: var(--gnista); color: var(--natt);
  box-shadow: 0 12px 32px -12px rgba(242, 250, 163, .6), inset 0 -2px 0 rgba(44, 14, 61, .08);
}
.btn--primar { background: var(--primar-ink); color: #fff; box-shadow: 0 14px 32px -14px rgba(126, 69, 201, .8); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn--line { background: #fff; color: var(--natt); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-1); }
@media (hover: hover) {
  .btn:hover .ic { transform: translateX(3px); }
  .btn--gnista:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(242, 250, 163, .75), inset 0 -2px 0 rgba(44, 14, 61, .08); }
  .btn--primar:hover { transform: translateY(-2px); background: #7440C4; box-shadow: 0 20px 40px -14px rgba(126, 69, 201, .9); }
  .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
  .btn--line:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--natt), var(--shadow-2); }
}
/* Ljuset som sveper över huvudknappen då och då. */
.btn--shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .75) 48%, transparent 66%);
  transform: translateX(-130%);
}
.motion .btn--shine::after { animation: shine 6s 2.4s var(--ease) infinite; }

/* ---------- Pills, bockar, förtroende ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 650; background: var(--line-2); color: var(--natt); }
.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.45; }
.checks .ic, .trust .ic, .plan__list .ic {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%; stroke-width: 3;
  color: var(--primar-ink); background: rgba(155, 93, 229, .13);
}
.trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 20px; font-size: .9375rem; color: var(--on-dark-2); }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust .ic { color: var(--gnista); background: rgba(242, 250, 163, .13); }
@media (min-width: 560px) { .trust { display: flex; flex-wrap: wrap; } }

/* Länk som täcker hela kortet */
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }

/* ==========================================================================
   Sidhuvud
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-top: env(safe-area-inset-top);
  color: #fff;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(44, 14, 61, .93);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 16px 40px -28px rgba(0, 0, 0, .8);
}
.site-header__bar { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.site-header__logo { display: block; padding: 6px 0; margin-right: auto; }
.site-header__logo img { width: auto; height: 27px; }
.site-nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__login, .lang { display: none; }

.burger {
  position: relative; width: 44px; height: 44px; flex: none;
  display: grid; place-content: center; gap: 5px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease-out), opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1180px) {
  .site-header__logo { margin-right: 0; }
  .site-header__logo img { height: 30px; }
  .site-nav { display: block; margin-left: clamp(16px, 2.4vw, 36px); margin-right: auto; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a {
    position: relative; display: block; padding: 9px 13px; border-radius: 999px;
    font-size: .9375rem; font-weight: 550; color: var(--on-dark-2);
    transition: color .2s, background-color .2s;
  }
  .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
  .site-nav a[aria-current="page"] { color: #fff; }
  .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gnista); }
  .site-header__login, .lang { display: inline-flex; }
  .burger { display: none; }
}

/* Språkväljaren */
.flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); overflow: hidden; }
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 11px;
  border-radius: 999px; list-style: none; cursor: pointer; user-select: none;
  font-size: .875rem; font-weight: 650; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: background-color .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(255, 255, 255, .07); }
.lang__chev { width: 16px; height: 16px; opacity: .7; transition: transform .3s var(--ease-out); }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; min-width: 208px; padding: 8px;
  display: grid; gap: 2px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(44, 14, 61, .06);
  transform-origin: top right; animation: pop-in .25s var(--ease-out);
}
.lang__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: .9375rem; font-weight: 550; }
.lang__link:hover { background: var(--line-2); }
.lang__link small { margin-left: auto; font-size: .75rem; font-weight: 650; color: var(--muted); }
.lang__link[aria-current] { background: var(--natt); color: #fff; }
.lang__link[aria-current] small { color: var(--ton); }

/* Mobilmenyn: en overlay som öppnas i en cirkel från menyknappen. */
.mnav { position: fixed; inset: 0; z-index: 55; visibility: hidden; transition: visibility 0s .6s; }
.mnav.is-open { visibility: visible; transition: none; }
.mnav__panel {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 28px;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 8px) 0 calc(24px + env(safe-area-inset-bottom));
  color: #fff;
  background:
    radial-gradient(90% 55% at 90% 0%, rgba(155, 93, 229, .42), transparent 62%),
    radial-gradient(70% 40% at 0% 100%, rgba(155, 93, 229, .22), transparent 70%),
    var(--natt);
  clip-path: circle(0 at calc(100% - var(--gutter) - 22px) calc(env(safe-area-inset-top) + var(--header-h) / 2));
  transition: clip-path .6s var(--ease-out);
}
.mnav.is-open .mnav__panel { clip-path: circle(150% at calc(100% - var(--gutter) - 22px) calc(env(safe-area-inset-top) + var(--header-h) / 2)); }
.mnav__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 2px; border-bottom: 1px solid var(--on-dark-line);
  font-size: clamp(1.9rem, 8.4vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
  opacity: 0; transform: translateY(22px);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.mnav.is-open .mnav__nav a { opacity: 1; transform: none; transition-delay: calc(.14s + var(--i) * .05s); }
.mnav__nav a .ic { width: 24px; height: 24px; color: var(--gnista); stroke-width: 2.2; }
.mnav__nav a[aria-current="page"] span { color: var(--gnista); }
.mnav__foot { margin-top: auto; display: grid; gap: 12px; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .5s var(--ease-out); }
.mnav.is-open .mnav__foot { opacity: 1; transform: none; transition-delay: .4s; }
.mnav__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mnav__lang {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
  border-radius: 14px; font-size: .9375rem; font-weight: 550;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--on-dark-line);
}
.mnav__lang small { margin-left: auto; font-size: .75rem; color: var(--ton); font-weight: 650; }
.mnav__lang[aria-current] { background: rgba(242, 250, 163, .1); box-shadow: inset 0 0 0 1.5px rgba(242, 250, 163, .5); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (min-width: 1180px) { .mnav { display: none; } }

/* ==========================================================================
   AI-receptionisten
   ========================================================================== */
.ai { overflow: clip; }
.ai__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 520px at 78% 60%, rgba(155, 93, 229, .3), transparent 65%); }
.ai__layout { position: relative; display: grid; gap: 56px; }
.ai__copy .h2 { margin-bottom: 18px; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); }
.ai__list { display: grid; gap: 12px; margin: 28px 0 30px; }
.ai__list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--on-dark-line);
}
.ai__list b { display: block; margin-bottom: 2px; font-size: 1.0625rem; }
.ai__list span span { font-size: .9375rem; line-height: 1.5; color: var(--on-dark-muted); }
.ai__k { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; font-size: .875rem; font-weight: 800; color: var(--natt); background: var(--gnista); }
.ai__stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.callphone {
  position: relative; width: 272px; aspect-ratio: 9 / 18.6; padding: 10px; border-radius: 50px;
  background: linear-gradient(150deg, #5a3478, #1c0827 40%, #140519 62%, #45265e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 90px -40px rgba(0, 0, 0, .9), 0 30px 80px -30px rgba(155, 93, 229, .6);
}
.callphone__screen {
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: 52px 16px 18px; border-radius: 41px; color: #fff;
  background: radial-gradient(120% 60% at 50% 0%, #4a1f66, #1a0724 70%);
}
.callphone__screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 88px; height: 25px; border-radius: 20px; background: #06020a; transform: translateX(-50%); }
.callphone__caller { display: grid; justify-items: center; gap: 2px; text-align: center; }
.callphone__av { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; font-weight: 800; background: #15803D; }
.callphone__av i { position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(242, 250, 163, .5); }
.motion .callphone__av i { animation: ring-out 2s ease-out infinite; }
.callphone__caller b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.callphone__state { font-size: .78rem; color: var(--ton); }
.callphone__wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 34px; }
.callphone__wave i { display: block; width: 3px; height: 6px; border-radius: 3px; background: var(--gnista); opacity: .8; transform-origin: center; }
.is-talking .callphone__wave i { animation: eq .5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.07s); }
.callphone__tr { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; }
.bub { max-width: 86%; padding: 8px 11px; border-radius: 15px; font-size: .78rem; line-height: 1.38; }
.bub small { display: block; margin-bottom: 1px; font-size: .64rem; font-weight: 650; opacity: .75; }
.bub--r { align-self: flex-start; background: rgba(255, 255, 255, .1); border-bottom-left-radius: 5px; }
.bub--c { align-self: flex-end; background: var(--primar-ink); border-bottom-right-radius: 5px; }
.scenes-on .bub { display: none; }
.scenes-on .bub.is-on { display: block; animation: bub-in .5s var(--ease-out) both; }
.callphone__keys { display: flex; justify-content: center; gap: 22px; padding-top: 4px; }
.callphone__keys i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.callphone__keys i.is-end { background: #D6363F; }
.callphone__keys .ic { width: 18px; height: 18px; transform: rotate(135deg); }
.ai__pops { position: absolute; inset: 0; pointer-events: none; }
.pop {
  position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 13px 9px 9px; border-radius: 15px;
  font-size: .8125rem; font-weight: 650; white-space: nowrap; color: var(--ink); background: #fff;
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .65);
}
.pop__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--primar-ink); background: var(--soft); }
.pop__ic .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.pop--1 { left: 0; top: 8%; }
.pop--2 { right: 0; top: 36%; }
.pop--3 { left: 2%; bottom: 20%; }
.pop--4 { right: 0; bottom: 6%; }
.scenes-on .pop { opacity: 0; transform: scale(.6); }
.scenes-on .pop.is-on { opacity: 1; transform: none; transition: opacity .3s, transform .6s var(--spring); }
@media (min-width: 1024px) {
  .ai__layout { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .callphone { width: 290px; }
  .pop--1 { left: 0; top: 16%; }
  .pop--2 { right: -2%; top: 40%; }
  .pop--3 { left: 4%; bottom: 22%; }
  .pop--4 { right: 0; bottom: 10%; }
}

/* ==========================================================================
   Så funkar det – tre steg
   ========================================================================== */
.flow { background: linear-gradient(180deg, var(--natt) 0%, #321147 100%); }
.steps { position: relative; }
.steps ol { display: grid; gap: 16px; }
.steps__line { position: absolute; left: 44px; top: 30px; bottom: 30px; width: 2px; background: rgba(200, 168, 242, .16); }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(var(--gnista), rgba(242, 250, 163, .1)); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease-out); }
.steps.is-in .steps__line i { transform: none; }
.step {
  position: relative; padding: 26px 24px 26px 86px; border-radius: 24px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--on-dark-line);
}
.step__num {
  position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  font-weight: 800; color: var(--natt); background: var(--gnista); box-shadow: 0 0 0 6px var(--natt), 0 0 30px -4px rgba(242, 250, 163, .55);
}
.step .h3 { margin-bottom: 8px; }
.step p { font-size: .96875rem; line-height: 1.55; color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .steps ol { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps__line { left: 8%; right: 8%; top: 51px; bottom: auto; width: auto; height: 2px; }
  .steps__line i { background: linear-gradient(90deg, transparent, var(--gnista) 20%, var(--gnista) 80%, transparent); transform-origin: left; transform: scaleX(0); }
  .step { padding: 30px 28px 32px; }
  .step__num { position: static; margin-bottom: 20px; }
}

/* ==========================================================================
   Djupdykning – rader med mockups
   ========================================================================== */
.feat-row { display: grid; gap: 34px; align-items: center; }
.feat-row > * { min-width: 0; }
.feat-row + .feat-row { margin-top: clamp(72px, 10vw, 128px); }
.feat-row .lead { margin-top: 16px; }
.mock {
  position: relative; min-height: 320px; padding: 22px; border-radius: 28px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
}
.mock__msg { padding: 14px 16px; margin-bottom: 10px; border-radius: 18px; font-size: .9375rem; line-height: 1.5; background: var(--ljus); }
.mock__msg b { display: block; margin-bottom: 3px; font-size: .8125rem; }
.mock__msg--out { margin-left: 10%; background: var(--soft); }
.undo {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 12px 14px 14px;
  border-radius: 18px; font-size: .9375rem; font-weight: 650; color: #fff; background: var(--natt);
  box-shadow: 0 20px 40px -20px rgba(44, 14, 61, .8);
}
.undo__bolt { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.bolt { width: 12px; fill: var(--gnista); }
.undo__txt b { display: inline-block; min-width: 1.2em; text-align: center; color: var(--gnista); font-variant-numeric: tabular-nums; }
.undo__btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 11px; font-size: .875rem; background: rgba(255, 255, 255, .14); }
.undo__btn .ic { width: 15px; height: 15px; }
.undo__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--gnista); transform-origin: left; }

.mock--site { padding: 16px; }
.site-mock { height: 300px; overflow: hidden; border-radius: 18px; background: var(--ljus); }
.site-mock__nav { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); }
.site-mock__nav i { width: 9px; height: 9px; border-radius: 50%; background: #E1D6EE; }
.site-mock__nav span { margin-left: 14px; width: 42%; height: 12px; border-radius: 6px; background: var(--line-2); }
.site-mock__hero { display: grid; gap: 10px; padding: 26px 22px 20px; }
.site-mock__hero i { display: block; width: var(--w); height: 11px; border-radius: 6px; background: #E7DDF3; }
.site-mock__hero i:first-child { height: 18px; background: #D9CBEB; }
.site-mock__hero span { width: 110px; height: 30px; margin-top: 6px; border-radius: 99px; background: var(--primar-ink); opacity: .85; }
.site-mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 22px; }
.site-mock__cards i { height: 70px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.widget {
  position: absolute; right: 18px; bottom: 18px; z-index: 2; width: min(236px, 78%); overflow: hidden;
  border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -20px rgba(44, 14, 61, .45), 0 0 0 1px var(--line);
}
.widget__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: .8125rem; font-weight: 650; color: #fff; background: var(--natt); }
.widget__dot { width: 8px; height: 8px; border-radius: 50%; background: #5FD39A; box-shadow: 0 0 0 3px rgba(95, 211, 154, .25); }
.widget__msgs { display: grid; gap: 8px; padding: 12px 14px 14px; font-size: .8125rem; line-height: 1.4; }
.widget__msgs span { justify-self: start; max-width: 88%; padding: 8px 11px; border-radius: 13px; background: var(--line-2); }
.widget__msgs .is-user { justify-self: end; color: #fff; background: var(--primar-ink); }
.widget__fab { position: absolute; right: 18px; bottom: 18px; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: var(--primar-ink); box-shadow: 0 14px 30px -8px rgba(126, 69, 201, .7); }
.scenes-on .widget { opacity: 0; transform: translateY(18px) scale(.96); transform-origin: bottom right; }
.scenes-on .widget.is-open { opacity: 1; transform: none; transition: opacity .35s, transform .6s var(--spring); }
.scenes-on .widget__msgs span { opacity: 0; transform: translateY(8px); }
.scenes-on .widget.is-open .widget__msgs span { opacity: 1; transform: none; transition: opacity .35s, transform .45s var(--ease-out); }
.scenes-on .widget.is-open .widget__msgs span:nth-child(2) { transition-delay: .9s; }
.scenes-on .widget.is-open .widget__msgs span:nth-child(3) { transition-delay: 1.9s; }

.order { overflow: hidden; border-radius: 18px; font-size: .9375rem; box-shadow: 0 0 0 1px var(--line); }
.order__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--ljus); }
.order__head span { padding: 4px 9px; border-radius: 8px; font-size: .78rem; font-weight: 650; color: var(--ok); background: var(--ok-soft); }
.order__line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; color: var(--muted); border-top: 1px solid var(--line-2); }
.order__total { display: flex; justify-content: space-between; padding: 14px 16px; font-weight: 800; border-top: 1px solid var(--line); }
.order__insert {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 11px 16px; border-radius: 13px;
  font-size: .9375rem; font-weight: 650; color: #fff; background: var(--primar-ink);
}
.order__insert .bolt { width: 10px; }
.reveal-on .order__line, .reveal-on .order__total { opacity: 0; transform: translateY(8px); }
.reveal-on .is-in .order__line, .reveal-on .is-in .order__total { opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--ease-out); transition-delay: calc(.2s + var(--i, 3) * .18s); }
.reveal-on .is-in .order__insert { animation: glow-ring 2.4s 1.4s ease-in-out infinite; }
@media (max-width: 400px) { .mock { padding: 16px; } .stores { padding: 10px; } }
@media (min-width: 900px) {
  .feat-row { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
  .feat-row--flip .feat-row__mock { order: -1; }
  .mock { min-height: 360px; padding: 28px; }
}

/* ==========================================================================
   Telefoni – tidslinje
   ========================================================================== */
.tel { background: radial-gradient(80% 60% at 100% 0%, rgba(155, 93, 229, .25), transparent 60%), var(--natt); }
.timeline { position: relative; }
.timeline ol { display: grid; gap: 30px; padding-left: 36px; }
.timeline__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(200, 168, 242, .18); }
.timeline__line i { position: absolute; inset: 0; background: var(--gnista); transform-origin: top; transform: scaleY(0); transition: transform 2s var(--ease-out); }
.timeline.is-in .timeline__line i { transform: none; }
.timeline__step { position: relative; }
.timeline__dot { position: absolute; left: -36px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gnista); box-shadow: 0 0 0 6px rgba(242, 250, 163, .14); }
.timeline__time { margin-bottom: 4px; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; color: var(--gnista); font-variant-numeric: tabular-nums; }
.timeline__step h3 { margin-bottom: 6px; font-size: 1.1875rem; font-weight: 650; }
.timeline__step p:last-child { font-size: .96875rem; line-height: 1.55; color: var(--on-dark-muted); }
.tel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 52px; }
.tel-grid li { display: grid; gap: 4px; align-content: start; padding: 18px 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.tel-grid__ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 12px; color: var(--gnista); background: rgba(242, 250, 163, .1); }
.tel-grid__ic .ic { width: 19px; height: 19px; }
.tel-grid b { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: #fff; }
.tel-grid li > span:last-child { font-size: .875rem; line-height: 1.4; color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .timeline ol { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 38px 0 0; }
  .timeline__line { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .timeline__line i { transform-origin: left; transform: scaleX(0); }
  .timeline__dot { left: 0; top: -38px; }
  .tel-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tel-grid li { padding: 22px 20px; }
}

/* ==========================================================================
   Blogg
   ========================================================================== */
.blog { padding-top: clamp(40px, 6vw, 80px); }
.posts {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.posts::-webkit-scrollbar { display: none; }
.post {
  position: relative; flex: 0 0 min(84%, 360px); scroll-snap-align: start; overflow: hidden;
  display: flex; flex-direction: column; border-radius: var(--r-3); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.post__art { position: relative; height: 180px; overflow: hidden; display: grid; place-items: center; color: var(--gnista); background: var(--natt); }
.post__art::before { content: ""; position: absolute; inset: 0; background: url("/_webbplats/b4/assets/brand/flode-natt-ruta.svg") center / 180px; opacity: .55; transition: transform 1.2s var(--ease-out); }
.post--2 .post__art { color: #fff; background: var(--primar-ink); }
.post--2 .post__art::before { opacity: .14; mix-blend-mode: luminosity; }
.post--3 .post__art { background: var(--natt-2); }
.post__ic { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.post__ic .ic { width: 34px; height: 34px; stroke-width: 1.6; }
.post__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.post__cat { font-size: .8125rem; font-weight: 650; color: var(--primar-ink); }
.post h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.post__body > p:not([class]) { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.post__meta { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: .8125rem; color: var(--muted); }
.post__meta .ic { width: 15px; height: 15px; }
@media (hover: hover) {
  .post:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(155, 93, 229, .35), var(--shadow-2); }
  .post:hover .post__art::before { transform: scale(1.12) rotate(2deg); }
}
@media (min-width: 900px) {
  .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
}

/* ==========================================================================
   Priser
   ========================================================================== */
.pricing { padding-top: clamp(56px, 8vw, 100px); }
.plans { display: grid; gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px;
  border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}
.plan__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; }
.plan__tag { min-height: 3em; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.plan__price { display: grid; gap: 2px; padding: 4px 0 6px; }
.plan__price b { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: .875rem; color: var(--muted); }
.plan__list { display: grid; gap: 11px; margin: 4px 0 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.plan__list li { display: flex; align-items: center; gap: 11px; font-size: .96875rem; }
.plan .btn { margin-top: auto; }
.plan__badge {
  position: absolute; left: 50%; top: -15px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px 6px 10px;
  border-radius: 999px; font-size: .8125rem; font-weight: 800; white-space: nowrap; color: var(--natt); background: var(--gnista);
  box-shadow: 0 10px 24px -10px rgba(44, 14, 61, .5); transform: translateX(-50%);
}
.plan__badge .ic { width: 15px; height: 15px; }
.plan--hi { color: #fff; background: radial-gradient(120% 80% at 100% 0%, #4d1f6c, var(--natt) 58%); box-shadow: 0 0 0 1px rgba(155, 93, 229, .5), var(--shadow-3); }
.plan--hi .plan__tag, .plan--hi .plan__price span { color: var(--on-dark-muted); }
.plan--hi .plan__list { border-color: var(--on-dark-line); }
.plan--hi .plan__list .ic { color: var(--gnista); background: rgba(242, 250, 163, .14); }
.plan--hi { --focus: var(--gnista); }
.plans__note { margin-top: 26px; text-align: center; font-size: .9375rem; color: var(--muted); }
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
  .plan { padding: 34px 30px 30px; }
  .plan--hi { padding-block: 46px 40px; }
}

/* ==========================================================================
   Frågor och svar
   ========================================================================== */
.faq-sec { padding-top: clamp(40px, 6vw, 72px); padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); }
.faq { display: grid; gap: 12px; align-items: start; }
.faq__item { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq__item[open] { box-shadow: 0 0 0 1.5px rgba(155, 93, 229, .45), var(--shadow-1); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  list-style: none; cursor: pointer; font-size: 1.0625rem; font-weight: 650; line-height: 1.35; border-radius: 20px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--line-2); transition: background-color .3s, transform .4s var(--ease-out); }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--primar-ink); transition: transform .4s var(--ease-out); }
.faq__pm::after { transform: rotate(90deg); }
.faq__item[open] .faq__pm { background: var(--natt); transform: rotate(180deg); }
.faq__item[open] .faq__pm::before, .faq__item[open] .faq__pm::after { background: var(--gnista); }
.faq__item[open] .faq__pm::after { transform: rotate(0deg); }
.faq__a p { padding: 0 22px 22px; font-size: 1rem; line-height: 1.6; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* ==========================================================================
   Provperiod – ovanför sidfoten
   ========================================================================== */
.trial-sec {
  position: relative; z-index: 1; overflow: clip; margin-top: calc(var(--sheet-r) * -1);
  padding: clamp(84px, 11vw, 140px) 0 clamp(72px, 9vw, 120px);
  border-radius: var(--sheet-r) var(--sheet-r) 0 0; color: #fff; background: var(--natt);
}
.trial-sec__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 30%, rgba(155, 93, 229, .38), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(155, 93, 229, .2), transparent 70%); }
.trial { position: relative; display: grid; gap: 40px; }
.trial .lead { margin-top: 16px; }
.days { display: flex; align-items: center; gap: 12px; margin: 26px 0 22px; font-size: .875rem; color: var(--on-dark-muted); }
.days__bar { position: relative; flex: 1; height: 8px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.days__bar i { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, var(--primar), var(--gnista)); transform-origin: left; }
.reveal-on .days__bar i { transform: scaleX(.04); transition: transform 1.8s var(--ease-out) .3s; }
.reveal-on .is-in .days__bar i { transform: none; }
.feed { position: relative; height: 66px; margin-top: 28px; }
.feed__item {
  position: absolute; inset: 0 auto auto 0; display: flex; align-items: center; gap: 12px; width: min(100%, 400px); padding: 11px 14px;
  border-radius: 16px; font-size: .875rem; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--on-dark-line);
}
.feed__item:not(:first-child) { visibility: hidden; }
.reveal-on .feed__item { visibility: visible; opacity: 0; transform: translateY(14px); animation: feed 12s var(--ease-out) infinite; animation-delay: calc(var(--i) * 3s); }
.feed__av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; font-weight: 800; background: var(--c); }
.feed__txt { display: grid; min-width: 0; }
.feed__txt b { font-size: .875rem; }
.feed__txt span { font-size: .78rem; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__item small { margin-left: auto; font-size: .75rem; color: var(--on-dark-muted); white-space: nowrap; }

.trial__side { display: grid; gap: 18px; justify-items: center; }
.form-card {
  position: relative; width: 100%; display: grid; gap: 16px; padding: 26px 22px 22px;
  border-radius: 28px; color: var(--ink); background: #fff; box-shadow: var(--shadow-3), 0 0 0 1px rgba(255, 255, 255, .1);
  --focus: var(--primar-ink);
}
.field { display: grid; gap: 7px; }
.field label { font-size: .875rem; font-weight: 650; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid #DDD0EC; border-radius: 15px;
  font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8C7F99; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primar-ink); box-shadow: 0 0 0 4px rgba(155, 93, 229, .2); }
.form-card__go { position: relative; display: flex; align-items: center; padding-right: 88px; margin-top: 4px; }
.form-card__go .btn { flex: 1; padding-inline: 18px; white-space: normal; }
.form-card__blixten { position: absolute; right: -6px; top: 50%; width: 92px; margin-top: -71px; pointer-events: none; }
.form-card__note { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
[data-form-status]:empty { display: none; }
[data-form-status].is-ok, [data-form-status].is-error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .9375rem; font-weight: 600; line-height: 1.45; }
[data-form-status].is-ok { background: #EAF7EE; color: #14532D; }
[data-form-status].is-error { background: #FDECEC; color: #8A1C1C; }
.trial__demo { display: inline-flex; align-items: center; gap: 8px; padding: 10px 6px; font-weight: 650; color: #fff; border-bottom: 1px solid rgba(242, 250, 163, .4); }
.trial__demo .ic { width: 17px; height: 17px; color: var(--gnista); transition: transform .3s var(--ease-out); }
.trial__demo:hover .ic { transform: translateX(4px); }
@media (min-width: 960px) {
  .trial { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
  .form-card { padding: 34px 32px 28px; }
  .form-card__go { padding-right: 112px; }
  .form-card__blixten { width: 118px; right: -18px; margin-top: -92px; }
}

/* ==========================================================================
   Sidfot
   ========================================================================== */
.site-footer { position: relative; overflow: clip; padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--on-dark-2); background: var(--natt-3); }
.site-footer__pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: url("/_webbplats/b4/assets/brand/flode-natt-ruta.svg") 0 0 / 220px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 70%);
  mask-image: linear-gradient(to top, #000, transparent 70%);
}
.site-footer .wrap { position: relative; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-bottom: 44px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand img { width: auto; height: 32px; margin-bottom: 16px; }
.site-footer__brand p { max-width: 340px; font-size: .9375rem; line-height: 1.55; }
.site-footer__h { margin-bottom: 14px; font-size: .9375rem; font-weight: 650; color: #fff; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer address { display: grid; gap: 10px; font-size: .9375rem; line-height: 1.5; }
.site-footer__cols > div:last-child { grid-column: 1 / -1; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84375rem; color: rgba(255, 255, 255, .6); }
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (min-width: 900px) {
  .site-footer { padding-top: 84px; }
  .site-footer__cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .site-footer__brand, .site-footer__cols > div:last-child { grid-column: auto; }
}

/* ==========================================================================
   Språk och röster – studion
   ========================================================================== */
.langs { padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); }
.studio {
  --focus: var(--gnista);
  position: relative; overflow: hidden; isolation: isolate; max-width: 1080px; margin-inline: auto;
  padding: 24px 20px 22px; border-radius: 32px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #4d1f6c 0%, var(--natt) 58%);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(155, 93, 229, .35);
}
.studio__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 15% 90%, rgba(155, 93, 229, .32), transparent 70%); }
.studio__h { margin-bottom: 12px; font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ton); }
.studio__langs {
  display: flex; gap: 8px; margin-inline: -20px; padding: 2px 20px 8px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.studio__langs::-webkit-scrollbar { display: none; }
.studio__langs li { scroll-snap-align: start; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 7px;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font-size: 1rem; font-weight: 650; color: #fff; background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .22);
  transition: background-color .3s, color .3s, box-shadow .3s, transform .35s var(--spring);
}
.lang-chip b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: .7rem; font-weight: 800; letter-spacing: .03em; color: var(--gnista); background: rgba(242, 250, 163, .1); transition: color .3s, background-color .3s; }
.lang-chip span[lang="ar"] { font-family: system-ui, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif; font-size: 1.05rem; }
.lang-chip:active { transform: scale(.95); }
.lang-chip[aria-pressed="true"] { color: var(--natt); background: var(--gnista); box-shadow: 0 12px 30px -12px rgba(242, 250, 163, .7); }
.lang-chip[aria-pressed="true"] b { color: var(--gnista); background: var(--natt); }
@media (hover: hover) { .lang-chip[aria-pressed="false"]:hover { background: rgba(255, 255, 255, .13); } }

.studio__grid { display: grid; gap: 24px; margin-top: 20px; }
.studio__call { position: relative; padding: 20px 18px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .16); }
.studio__who { display: flex; align-items: center; gap: 12px; }
.studio__av { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: var(--natt); background: var(--gnista); }
.studio__av .ic { width: 22px; height: 22px; }
.studio__who > span:nth-child(2) { display: grid; }
.studio__who b { font-size: 1rem; }
.studio__who span span { font-size: .8125rem; color: var(--ton); }
.studio__rec { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(95, 211, 154, .12); }
.studio__rec i { width: 10px; height: 10px; border-radius: 50%; background: #5FD39A; }
.motion .studio__rec i { animation: rec 1.8s ease-in-out infinite; }
.studio__bubble {
  min-height: 5.2em; margin-top: 18px; padding: 16px 18px; border-radius: 22px 22px 22px 6px;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 550; line-height: 1.4; letter-spacing: -.01em;
  color: var(--natt); background: #fff;
  transition: opacity .25s, filter .25s, transform .45s var(--ease-out);
}
.studio__bubble[dir="rtl"] { border-radius: 22px 22px 6px 22px; text-align: right; font-family: system-ui, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif; letter-spacing: 0; }
.studio__bubble.is-swap { opacity: 0; filter: blur(8px); transform: translateY(10px); }
.studio__wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 64px; margin-top: 16px; }
.studio__wave i { display: block; width: 3px; height: 8px; border-radius: 3px; background: linear-gradient(var(--gnista), var(--ton)); opacity: .8; transform-origin: center; transition: transform .4s; }
.motion .studio.is-speaking .studio__wave i { animation: eq .5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.071s); }
.motion .studio.is-speaking .studio__wave i:nth-child(3n) { animation-duration: .38s; }
.motion .studio.is-speaking .studio__wave i:nth-child(4n + 1) { animation-duration: .62s; }
.studio__note { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .875rem; line-height: 1.45; color: var(--ton); }
.studio__note .ic { width: 18px; height: 18px; color: var(--gnista); }

.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.voice {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px;
  border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: #fff;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .16);
  transition: background-color .3s, box-shadow .3s, transform .3s var(--spring);
}
.voice:active { transform: scale(.97); }
.voice[aria-pressed="true"] { background: rgba(242, 250, 163, .09); box-shadow: inset 0 0 0 1.5px rgba(242, 250, 163, .65); }
.voice__av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(from calc(var(--h) * 80deg), var(--primar), var(--ton), var(--gnista), var(--primar)); box-shadow: inset 0 0 0 3px rgba(44, 14, 61, .35); }
.voice__txt { display: grid; min-width: 0; }
.voice__txt b { font-size: .875rem; }
.voice__txt span { font-size: .75rem; color: var(--ton); }
.voice__eq { display: flex; align-items: center; gap: 2px; height: 16px; margin-left: auto; }
.voice__eq i { display: block; width: 3px; height: 5px; border-radius: 2px; background: var(--gnista); opacity: .45; transform-origin: center; }
.motion .studio.is-speaking .voice[aria-pressed="true"] .voice__eq i { opacity: 1; animation: eq .42s ease-in-out infinite alternate; }
.motion .studio.is-speaking .voice[aria-pressed="true"] .voice__eq i:nth-child(2) { animation-delay: -.2s; }
.motion .studio.is-speaking .voice[aria-pressed="true"] .voice__eq i:nth-child(3) { animation-delay: -.1s; animation-duration: .36s; }
.motion .studio.is-speaking .voice[aria-pressed="true"] .voice__eq i:nth-child(4) { animation-delay: -.3s; }
.voices__more { margin: 12px 0 22px; font-size: .8125rem; font-weight: 650; color: var(--gnista); }
.dialects { display: flex; flex-wrap: wrap; gap: 8px; }
.dialect {
  height: 38px; padding: 0 15px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: .84rem; font-weight: 650; color: #fff; background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .22); transition: background-color .3s, color .3s;
}
.dialect[aria-pressed="true"] { color: var(--natt); background: var(--ton); }
.motion .dialects li { animation: pop-in .45s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
@media (min-width: 900px) {
  .studio { padding: 36px 36px 32px; }
  .studio__langs { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
  .studio__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 28px; }
  .studio__call { padding: 26px 26px 22px; }
}

/* E-handel: butikerna som är kopplade */
.stores { margin-bottom: 14px; padding: 12px 14px; border-radius: 18px; background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line); }
.stores__title { margin-bottom: 8px; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stores ul { display: grid; gap: 8px; }
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px 8px 8px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.store__logo { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: .8rem; font-weight: 800; color: #fff; background: var(--natt); }
.store b { font-size: .9rem; }
.store em { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: .75rem; font-weight: 650; }
.store em .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.store--on em { color: var(--ok); background: var(--ok-soft); }
.store--soon { opacity: .9; }
.store--soon .store__logo { color: var(--primar-ink); background: var(--soft); }
.store--soon em { color: var(--primar-ink); background: var(--soft); }

/* ==========================================================================
   Undersidor – sidhuvud och brödsmulor
   ========================================================================== */
.motion .hero__in { animation: fade-up .9s var(--ease-out) backwards; animation-delay: calc(.1s + var(--d) * .08s); }
.page-hero {
  position: relative; isolation: isolate; overflow: clip;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 30px) 0 calc(var(--sheet-r) + 68px);
  color: #fff; background: var(--natt);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__bg i { position: absolute; display: block; border-radius: 50%; }
.page-hero__bg i:nth-child(1) { width: 760px; height: 760px; right: -300px; top: -360px; background: radial-gradient(closest-side, rgba(155, 93, 229, .55), transparent); }
.page-hero__bg i:nth-child(2) { width: 520px; height: 520px; left: -280px; bottom: -300px; background: radial-gradient(closest-side, rgba(126, 69, 201, .35), transparent); }
.motion .page-hero__bg i:nth-child(1) { animation: drift-a 22s ease-in-out infinite alternate; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; font-size: .875rem; color: var(--ton); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--ton); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { font-weight: 650; color: #fff; }
.page-hero__title { max-width: 920px; margin-bottom: 20px; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.page-hero__lead { max-width: 640px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 7px;
  border-radius: 999px; font-weight: 650; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .22); transition: background-color .25s, transform .35s var(--spring);
}
.jump a:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.jump__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--natt); background: var(--gnista); }
.jump__ic .ic { width: 17px; height: 17px; }

/* ==========================================================================
   Sidbyte – Blixten springer medan nästa sida laddas
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-content: center; justify-items: center; gap: 28px;
  background: radial-gradient(60% 50% at 50% 44%, #4a1b66 0%, var(--natt) 72%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
html.is-leaving .loader, html.is-arriving .loader { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .24s var(--ease); }
html.is-arriving .loader { animation: loader-out .4s 2.8s forwards; }
.loader__scene { position: relative; width: 230px; height: 196px; }
.loader__runner { position: absolute; left: 50%; bottom: 0; width: 124px; margin-left: -50px; }
.loader__lines { position: absolute; inset: 0; }
.loader__lines i { position: absolute; left: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, rgba(242, 250, 163, .9)); opacity: 0; }
.loader__lines i:nth-child(1) { top: 30%; width: 64px; --k: 0; }
.loader__lines i:nth-child(2) { top: 44%; width: 90px; --k: 2; }
.loader__lines i:nth-child(3) { top: 58%; width: 54px; --k: 4; }
.loader__lines i:nth-child(4) { top: 70%; width: 80px; --k: 1; }
.loader__lines i:nth-child(5) { top: 82%; width: 46px; --k: 3; }
html.is-leaving .loader__lines i, html.is-arriving .loader__lines i { animation: speed .6s linear infinite; animation-delay: calc(var(--k) * -.12s); }
.loader__dust i { position: absolute; left: 34%; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: rgba(200, 168, 242, .4); opacity: 0; }
.loader__dust i:nth-child(2) { width: 11px; height: 11px; left: 38%; }
.loader__dust i:nth-child(3) { width: 8px; height: 8px; left: 41%; }
html.is-leaving .loader__dust i, html.is-arriving .loader__dust i { animation: dust .66s ease-out infinite; }
html.is-leaving .loader__dust i:nth-child(2), html.is-arriving .loader__dust i:nth-child(2) { animation-delay: -.22s; }
html.is-leaving .loader__dust i:nth-child(3), html.is-arriving .loader__dust i:nth-child(3) { animation-delay: -.44s; }
.bx--run .bx-body { transform-origin: 200px 560px; animation: bx-run .3s ease-in-out infinite alternate; }
.bx--run .bx-shadow { animation: bx-run-shadow .3s ease-in-out infinite alternate; }
.loader__logo { width: auto; height: 26px; opacity: .92; }
@media (min-width: 768px) {
  .loader__scene { width: 280px; height: 240px; }
  .loader__runner { width: 156px; margin-left: -62px; }
}
html.is-leaving .loader__logo, html.is-arriving .loader__logo { animation: fade-up .5s var(--ease-out) backwards; }

/* ==========================================================================
   Blixten – figuren (poserna från kitet, bara rörelse läggs på)
   ========================================================================== */
.bx { width: 100%; height: auto; overflow: visible; }
.bx-body, .bx-shadow, .bx-head { transform-box: view-box; }
.bx-shadow { transform-origin: 200px 574px; }
.bx-lamp, .bx-spark { transform-box: fill-box; transform-origin: center; }
.motion .bx--float .bx-body { animation: bx-float 4s ease-in-out infinite; }
.motion .bx--float .bx-shadow { animation: bx-shadow 4s ease-in-out infinite; }
.motion .bx--alive .bx-spark { animation: twinkle 2.6s ease-in-out infinite; }
.motion .bx--alive .bx-spark:nth-of-type(2n) { animation-delay: -1.2s; animation-duration: 3.1s; }
.motion .bx--alive .bx-spark:nth-of-type(3n) { animation-delay: -.6s; animation-duration: 2.2s; }
.motion .bx--alive .bx-lamp { animation: lamp 2.4s ease-in-out infinite; }
.motion .bx--tilt .bx-head { animation: bx-tilt 6s ease-in-out infinite; }
.motion .bx.is-hear .bx-lamp { animation: lamp-flash .7s var(--ease-out); }
.motion .bx--point .bx-body { animation: bx-point 2.2s var(--ease) infinite; }

/* ==========================================================================
   Tona in vid skroll
   ========================================================================== */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Nyckelbildrutor
   ========================================================================== */
@keyframes win-in { from { opacity: 0; translate: 0 70px; } }
@keyframes win-tilt { from { transform: perspective(1800px) rotateX(16deg) scale(.95); } to { transform: none; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes rec { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes speed { 0% { transform: translateX(70px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(-80px); opacity: 0; } }
@keyframes dust { 0% { transform: translate(0, 0) scale(.4); opacity: .9; } 100% { transform: translate(-46px, -18px) scale(1.4); opacity: 0; } }
@keyframes bx-run { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-14px) rotate(-3deg); } }
@keyframes bx-run-shadow { from { transform: scale(1); opacity: 1; } to { transform: scale(.78); opacity: .6; } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
@keyframes glow-ring-g { 0%, 100% { box-shadow: 0 0 0 4px rgba(242, 250, 163, .18); } 50% { box-shadow: 0 0 0 10px rgba(242, 250, 163, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes line-up { from { transform: translateY(108%); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.7); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 250, 163, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(242, 250, 163, 0); } }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(242, 250, 163, .65); } to { box-shadow: 0 0 0 14px rgba(242, 250, 163, 0); } }
@keyframes ring-out { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes shine { 0%, 72% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 50px, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(80px, -40px, 0) scale(.92); } }
@keyframes twinkle { 0%, 100% { opacity: .95; transform: scale(1) rotate(0); } 50% { opacity: .35; transform: scale(.7) rotate(-8deg); } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes blixten-in { from { opacity: 0; transform: translate(-40px, 60px) scale(.6) rotate(-10deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes row-in { 0% { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes send-press { 0% { transform: none; } 30% { transform: scale(.9); } 60% { transform: scale(1.06); box-shadow: 0 0 0 .5em rgba(126, 69, 201, .18); } 100% { transform: none; } }
@keyframes spin-pop { 0% { transform: none; } 50% { transform: rotate(90deg) scale(1.3); color: var(--primar); } 100% { transform: rotate(180deg); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@keyframes shake { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-6deg); } }
@keyframes eq { from { transform: scaleY(.6); } to { transform: scaleY(3.4); } }
@keyframes hub-pulse { 0% { transform: none; } 40% { transform: scale(1.04); box-shadow: inset 0 0 0 1px rgba(242, 250, 163, .6), 0 30px 70px -30px rgba(242, 250, 163, .6), 0 0 0 10px rgba(242, 250, 163, .1); } 100% { transform: none; } }
@keyframes push-cycle { 0%, 8% { opacity: 0; transform: translateY(-16px) scale(.96); } 16%, 78% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes bub-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes glow-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(155, 93, 229, .45); } 50% { box-shadow: 0 0 0 10px rgba(155, 93, 229, 0); } }
@keyframes feed { 0% { opacity: 0; transform: translateY(14px); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes bx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes bx-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.78); opacity: .6; } }
@keyframes bx-tilt { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-3.5deg); } 65% { transform: rotate(2.5deg); } }
@keyframes bx-point { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-7px); } 60% { transform: translateX(-3px); } }
@keyframes lamp { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes lamp-flash { 0% { transform: scale(1); } 35% { transform: scale(2.1); opacity: 1; } 100% { transform: scale(1); } }

/* Reducerad rörelse: allt står still och visar sitt slutläge. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
