/* Blixtflow – undersidornas stilar (funktioner, priser, blogg, kontakt, branscher, om, 404). */

/* ==========================================================================
   Branscher – en rad per bransch
   ========================================================================== */
.inds { overflow-x: clip; padding-top: clamp(64px, 8vw, 112px); }
.inds + .trial-sec { margin-top: calc(var(--sheet-r) * -1); }
.inds { padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); }
.ind { display: grid; gap: 34px; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.ind > * { min-width: 0; }
@media (max-width: 420px) {
  .vis { padding: 16px; }
  .ptable { font-size: .8125rem; }
  .ptable th, .ptable td { padding-inline: 6px; }
  .ptable th:nth-child(3), .ptable td:nth-child(3) { display: none; }
}
.ind + .ind { margin-top: clamp(84px, 11vw, 150px); }
.ind__tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .9375rem; font-weight: 650; color: var(--primar-ink); }
.ind__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--gnista); background: var(--natt); }
.ind__ic .ic { width: 19px; height: 19px; }
.ind .lead { margin-top: 16px; }
.ind__solves { margin-top: 28px; font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.ind .checks { margin-top: 14px; }
@media (min-width: 900px) {
  .ind { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
  .ind--flip .ind__visual { order: -1; }
}

.vis { position: relative; padding: 22px; border-radius: 28px; }
.vis::before { content: ""; position: absolute; inset: -20px; z-index: -1; border-radius: 44px; background: radial-gradient(closest-side, rgba(155, 93, 229, .18), transparent); }
.ind__visual { position: relative; isolation: isolate; }
.vis--light { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }

.vis--booking { display: grid; gap: 16px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #4d1f6c, var(--natt) 60%); box-shadow: var(--shadow-3); }
.bk { padding: 18px 20px; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.bk__label { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 650; color: var(--primar-ink); }
.bk__label .ic { width: 17px; height: 17px; }
.bk__when { margin-top: 8px; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.bk__what { margin-top: 2px; font-size: .9375rem; color: var(--muted); }
.bk__via { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: .8rem; font-weight: 650; color: var(--primar-ink); background: var(--soft); }
.bk__via .ic { width: 15px; height: 15px; }
.bk__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; padding: 4px 2px; }
.bk__cal i { display: block; aspect-ratio: 1.7; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.bk__cal i.is-busy { background: rgba(200, 168, 242, .22); }
.bk__cal i.is-on { background: var(--gnista); box-shadow: 0 0 0 4px rgba(242, 250, 163, .18); }
.bk__sms { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; font-size: .9rem; font-weight: 650; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .2); }
.bk__sms .ic { width: 18px; height: 18px; color: var(--gnista); }
.bk__sms .ic:last-child { margin-left: auto; color: #5FD39A; stroke-width: 2.6; }
.reveal-on .vis--booking .bk, .reveal-on .vis--booking .bk__sms { opacity: 0; transform: translateY(16px) scale(.97); }
.reveal-on .is-in .vis--booking .bk, .reveal-on .is-in .vis--booking .bk__sms { opacity: 1; transform: none; transition: opacity .5s, transform .8s var(--spring); }
.reveal-on .is-in .vis--booking .bk { transition-delay: .25s; }
.reveal-on .is-in .vis--booking .bk__sms { transition-delay: 1.1s; }
.motion .is-in .bk__cal i.is-on { animation: glow-ring-g 2.2s 1s ease-in-out infinite; }

.ptable { width: 100%; border-collapse: collapse; font-size: .875rem; }
.ptable th { padding: 8px 10px 12px; text-align: left; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.ptable td { padding: 13px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td:first-child { font-weight: 650; }
.ptable__who { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 50%; font-size: .66rem; font-weight: 800; color: #fff; background: var(--primar-ink); vertical-align: middle; }
.st { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.st--doing { color: #6B3FC4; background: #EFE6FB; }
.st--todo { color: var(--muted); background: var(--line-2); }
.st--done { color: var(--ok); background: var(--ok-soft); }
.reveal-on .ptable tbody tr { opacity: 0; transform: translateX(-12px); }
.reveal-on .is-in .ptable tbody tr { opacity: 1; transform: none; transition: opacity .45s, transform .6s var(--ease-out); transition-delay: calc(.3s + var(--i) * .16s); }
@media (max-width: 479px) { .ptable td:last-child { font-size: 0; } .ptable__who { margin: 0; font-size: .66rem; } }

.vis--timeline { position: relative; display: grid; padding: 26px 24px; color: #fff; background: radial-gradient(120% 90% at 0% 0%, #4d1f6c, var(--natt) 60%); box-shadow: var(--shadow-3); }
.vis--timeline li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 14px 0 14px 26px; }
.vis--timeline li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--gnista); box-shadow: 0 0 0 5px rgba(242, 250, 163, .14); }
.vis--timeline li::after { content: ""; position: absolute; left: 5px; top: calc(50% + 10px); bottom: calc(-50% + 10px); width: 2px; background: rgba(200, 168, 242, .25); }
.vis--timeline li:last-child::after { display: none; }
.vis--timeline li:first-child::before { background: #FF8A8A; box-shadow: 0 0 0 5px rgba(255, 138, 138, .16); }
.vis--timeline time { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--gnista); }
.vis--timeline span { padding: 10px 14px; border-radius: 14px; font-size: .9375rem; font-weight: 550; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .18); }
.vis--timeline li:nth-child(3) span { color: var(--natt); background: var(--gnista); box-shadow: none; font-weight: 650; }
.reveal-on .vis--timeline li { opacity: 0; transform: translateY(10px); }
.reveal-on .is-in .vis--timeline li { opacity: 1; transform: none; transition: opacity .45s, transform .6s var(--ease-out); transition-delay: calc(.3s + var(--i) * .45s); }


/* ==========================================================================
   Sidhuvud – varianter
   ========================================================================== */
.page-hero--center { text-align: center; }
.page-hero--center .crumbs ol { justify-content: center; }
.page-hero--center .page-hero__title, .page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .trust { justify-content: center; margin-top: 26px; }
.page-hero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
}

/* ==========================================================================
   Priser – väljare, planer och jämförelse
   ========================================================================== */
.pricing-page { padding-top: clamp(56px, 7vw, 96px); }
.finder {
  display: grid; justify-items: center; gap: 14px; max-width: 640px; margin: 0 auto clamp(44px, 6vw, 64px);
  padding: 20px; border-radius: 24px; text-align: center; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}
.finder__label { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.finder__label .ic { color: var(--primar-ink); }
.finder__opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.finder__opt {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 650; color: var(--natt); background: var(--line-2); transition: background-color .25s, color .25s, transform .3s var(--spring);
}
.finder__opt:hover { background: var(--soft); }
.finder__opt[aria-pressed="true"] { color: #fff; background: var(--primar-ink); transform: scale(1.04); }
.plan { transition: transform .5s var(--spring), box-shadow .5s var(--ease-out); }
.plan.is-match { box-shadow: 0 0 0 3px var(--primar), 0 30px 70px -30px rgba(126, 69, 201, .7); }
.plan--hi.is-match { box-shadow: 0 0 0 3px var(--gnista), var(--shadow-3); }
.plan.is-match::after {
  content: attr(data-match); position: absolute; right: 18px; top: 18px; padding: 5px 11px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; color: #fff; background: var(--primar-ink); animation: pop-in .5s var(--spring);
}
.plan--hi.is-match::after { color: var(--natt); background: var(--gnista); }
@media (min-width: 960px) { .plan.is-match:not(.plan--hi) { transform: translateY(-8px); } }

.compare-sec { padding-top: 0; }
.compare { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.compare__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .84rem; }
.compare__table th, .compare__table td { padding: 13px 8px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line-2); }
.compare__table tbody th { width: 38%; padding-left: 14px; text-align: left; font-weight: 550; line-height: 1.3; color: var(--ink-2); }
.compare__table thead th { padding-top: 20px; padding-bottom: 16px; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.compare__table thead th small { display: block; margin-top: 4px; font-size: .66rem; font-weight: 800; letter-spacing: .02em; color: var(--primar-ink); }
.compare__table .is-hi { background: #F8F3FE; }
.compare__table tbody td { font-weight: 650; font-variant-numeric: tabular-nums; }
.compare__table tfoot td { padding: 18px 6px 22px; border-bottom: 0; }
.compare__price { display: block; margin-bottom: 10px; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.compare__table tfoot .btn { display: none; }
.cmp-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--primar-ink); background: var(--soft); }
.cmp-yes .ic { width: 15px; height: 15px; stroke-width: 3; }
.cmp-no { color: #B7A9C6; font-weight: 400; }
.compare__table tbody tr { transition: background-color .2s; }
.compare__table tbody tr:hover { background: #FCFAFE; }
@media (min-width: 720px) {
  .compare__table { font-size: .9375rem; }
  .compare__table th, .compare__table td { padding: 15px 16px; }
  .compare__table tbody th { width: 40%; padding-left: 28px; }
  .compare__table thead th { font-size: 1.25rem; }
  .compare__price { font-size: 1.35rem; }
  .compare__table tfoot .btn { display: inline-flex; }
}

/* ==========================================================================
   Blogg – filter och kort
   ========================================================================== */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
/* Blixten läser i bloggens sidhuvud (bara på breda skärmar, där det finns plats bredvid texten). */
.blog-hero__bx { display: none; }
@media (min-width: 1100px) {
  .blog-hero__bx { position: absolute; right: max(var(--gutter), (100% - var(--maxw)) / 2 + 40px); bottom: calc(var(--sheet-r) + 36px); display: block; width: 220px; }
  .motion .blog-hero__bx { animation: peek-in 1.2s .5s var(--spring) backwards; }
}
.blog-filter__btn {
  min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 650; font-size: .9375rem; color: #fff; background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .22); transition: background-color .25s, color .25s;
}
.blog-filter__btn:hover { background: rgba(255, 255, 255, .13); }
.blog-filter__btn[aria-pressed="true"] { color: var(--natt); background: var(--gnista); box-shadow: none; }
.blog-index { padding-top: clamp(56px, 7vw, 96px); }
.posts--index { display: grid; gap: 18px; overflow: visible; margin: 0; padding: 0; }
.posts--index .post { flex: none; }
.post__badge { position: absolute; left: 18px; top: 18px; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; color: var(--natt); background: var(--gnista); }
.post__go { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 650; color: var(--primar-ink); }
.post__go .ic { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.post:hover .post__go .ic { transform: translateX(4px); }
.post--feature h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
@media (min-width: 900px) {
  .posts--index { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
  .post--feature .post__art { height: auto; min-height: 340px; }
  .post--feature .post__body { justify-content: center; padding: 40px 44px; }
  .post--feature .post__ic { width: 110px; height: 110px; border-radius: 32px; }
  .post--feature .post__ic .ic { width: 48px; height: 48px; }
}

/* ==========================================================================
   Artikel
   ========================================================================== */
.read-progress { position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top)); z-index: 59; height: 3px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--primar), var(--gnista)); transform: scaleX(0); transform-origin: left; }
.article-hero__wrap { display: grid; gap: 30px; align-items: center; }
.article__title { max-width: 820px; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; font-size: .9375rem; color: var(--ton); }
.article__meta span { display: inline-flex; align-items: center; gap: 8px; }
.article__meta .ic { width: 17px; height: 17px; }
.article__by img { width: 28px; height: 28px; padding: 4px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.article__by { font-weight: 650; color: #fff; }
.article-hero__art {
  position: relative; display: grid; place-items: center; height: 220px; overflow: hidden; border-radius: 28px;
  background: url("/_webbplats/b4/assets/brand/flode-natt-ruta.svg") center / 200px, var(--natt-2); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .2), var(--shadow-3);
}
.article-hero--2 .article-hero__art { background: linear-gradient(160deg, rgba(126, 69, 201, .9), rgba(44, 14, 61, .9)), url("/_webbplats/b4/assets/brand/flode-natt-ruta.svg") center / 200px; }
.article-hero__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 110px; height: 110px; border-radius: 32px; color: var(--gnista); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.article-hero__ic .ic { width: 48px; height: 48px; stroke-width: 1.5; }
.article-hero__bolt { position: absolute; right: 18%; top: 20%; width: 26px; fill: var(--gnista); filter: drop-shadow(0 0 14px rgba(242, 250, 163, .6)); }
.motion .article-hero__bolt { animation: twinkle 3s ease-in-out infinite; }
.motion .article-hero__ic { animation: bob 5s ease-in-out infinite; }
@media (min-width: 900px) {
  .article-hero__wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 56px; }
  .article-hero__art { height: 320px; }
}
.article__body { padding-top: clamp(56px, 7vw, 96px); }
.article__grid { display: grid; gap: 44px; }
.prose { max-width: 720px; font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 48px; font-size: clamp(1.5rem, 1.25rem + .9vw, 1.95rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.p-compare { display: grid; gap: 12px; }
.p-compare__col { padding: 20px 22px; border-radius: 20px; }
.p-compare__col--good { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.p-compare__col--bad { color: #fff; background: var(--natt); }
.p-compare__h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1rem; font-weight: 800; line-height: 1.3; }
.p-compare__h .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; stroke-width: 2.6; color: var(--primar-ink); background: var(--soft); }
.p-compare__col--bad .p-compare__h .ic { color: var(--natt); background: var(--gnista); stroke-width: 2; }
.p-compare ul { display: grid; gap: 8px; font-size: 1rem; line-height: 1.45; }
.p-compare li { position: relative; padding-left: 18px; }
.p-compare li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--primar); }
.p-compare__col--bad li::before { background: var(--gnista); }
.p-compare__col--bad ul { color: var(--ton); }
@media (min-width: 640px) { .p-compare { grid-template-columns: 1fr 1fr; } }
.p-cards__title { font-weight: 650; color: var(--ink); }
.p-cards { display: grid; gap: 12px; }
.prose .p-cards > li { margin-top: 0; }
.p-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.p-card__n { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: .9375rem; font-weight: 800; color: var(--natt); background: var(--gnista); box-shadow: 0 0 0 1px rgba(44, 14, 61, .08); }
.p-card__txt { display: grid; gap: 4px; padding-top: 6px; }
.p-card__txt b { font-size: 1.0625rem; line-height: 1.35; color: var(--ink); }
.p-card__txt span { font-size: 1rem; line-height: 1.6; }
.p-cards--tpl .p-card { border-left: 4px solid var(--primar); }
.p-cards--tpl .p-card__n { color: #fff; background: var(--primar-ink); }
.p-donts { display: grid; gap: 10px; }
.p-donts li { display: flex; align-items: center; gap: 12px; font-weight: 650; color: var(--ink); }
.p-donts .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; stroke-width: 2.6; color: #fff; background: var(--bad); }
.p-callout {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 20px;
  font-size: 1.125rem; font-weight: 650; line-height: 1.45; color: var(--natt); background: var(--gnista);
}
.p-callout .ic { flex: none; width: 24px; height: 24px; }
.article__sticky { display: grid; gap: 16px; }
.share { padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.share__label { margin-bottom: 10px; font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.share__row { display: flex; gap: 8px; }
.share__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 14px;
  border: 0; border-radius: 12px; cursor: pointer; font-size: .875rem; font-weight: 650; color: var(--natt); background: var(--line-2);
  transition: background-color .2s, color .2s;
}
.share__btn:first-child { flex: 1; }
.share__btn .ic, .share__btn svg { width: 17px; height: 17px; }
.share__btn:hover { background: var(--soft); }
.share__btn.is-done { color: #fff; background: var(--ok); }
.share__btn--icon { width: 42px; padding: 0; }
.in-bf { position: relative; display: grid; gap: 8px; padding: 22px; overflow: hidden; border-radius: 22px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #4d1f6c, var(--natt) 60%); box-shadow: var(--shadow-2); }
.in-bf__label { font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--gnista); }
.in-bf__text { font-size: 1rem; line-height: 1.5; color: var(--ton); }
.in-bf__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 650; }
.in-bf__go .ic { width: 17px; height: 17px; color: var(--gnista); transition: transform .3s var(--ease-out); }
.in-bf:hover .in-bf__go .ic { transform: translateX(4px); }
@media (min-width: 1024px) {
  .article__grid { grid-template-columns: minmax(0, 720px) minmax(0, 300px); justify-content: space-between; gap: 64px; }
  .article__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}
.more-posts { padding-top: 0; }
@media (min-width: 900px) { .more-posts .posts { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-hero__blixten { width: min(46vw, 220px); margin: -10px auto -40px; }
@media (min-width: 900px) { .contact-hero__blixten { width: 250px; margin: -30px 0 -70px auto; } }
.contact { padding-top: clamp(56px, 7vw, 96px); }
.contact__grid { display: grid; gap: 22px; align-items: start; }
.contact__form { box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.contact__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.contact__row { display: grid; gap: 16px; }
.contact__form .btn { justify-self: start; }
.contact__side { display: grid; gap: 14px; }
.contact__info { display: grid; gap: 10px; }
.contact__info li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.contact__info li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.contact__info small { font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact__info a, .contact__info b { font-size: 1.0625rem; font-weight: 650; overflow-wrap: anywhere; }
.contact__info a { color: var(--primar-ink); }
.contact__ic { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--gnista); background: var(--natt); }
.contact__demo { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 20px; overflow: hidden; border-radius: 22px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #4d1f6c, var(--natt) 60%); box-shadow: var(--shadow-2); }
.contact__demo > span:nth-child(2) { display: grid; }
.contact__demo b { font-size: 1.125rem; }
.contact__demo > span:nth-child(2) span { color: var(--ton); font-size: .9375rem; }
.contact__demo-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--natt); background: var(--gnista); }
.contact__demo-go { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 650; color: var(--gnista); }
.contact__demo-go .ic { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.contact__demo:hover .contact__demo-go .ic { transform: translateX(4px); }
@media (min-width: 640px) { .contact__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; } }

/* ==========================================================================
   Om oss
   ========================================================================== */
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-facts li { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 12px; border-radius: 999px; font-weight: 650; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .22); }
.about-facts .ic { width: 20px; height: 20px; color: var(--gnista); }
.about-story { padding-top: clamp(56px, 7vw, 96px); }
.about-story__grid { display: grid; gap: 30px; align-items: center; }
.story { position: relative; display: grid; gap: 26px; margin-top: 34px; padding-left: 38px; }
/* Linjen bakom stegen, och den färgade linjen som växer fram när tidslinjen syns. */
.story::before, .story::after { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.story::after { background: linear-gradient(var(--primar), var(--gnista)); transform-origin: top; transition: transform 2.2s var(--ease-out); }
.reveal-on .story::after { transform: scaleY(0); }
.reveal-on .story.is-in::after { transform: none; }
.story__step { position: relative; }
.story__dot { position: absolute; left: -38px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--primar), 0 0 0 5px rgba(155, 93, 229, .14); }
.story__step:last-child .story__dot { background: var(--gnista); box-shadow: inset 0 0 0 4px var(--natt), 0 0 0 5px rgba(242, 250, 163, .3); }
.story__label { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primar-ink); }
.story__text { margin-top: 4px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); }
.about-story__blixten { width: min(64vw, 300px); margin-inline: auto; }
@media (min-width: 900px) {
  .about-story__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 64px; }
  .about-story__blixten { width: 100%; max-width: 340px; }
}
.about-values { padding-top: 0; }
.values { display: grid; gap: 14px; }
.value { padding: 26px 24px; border-radius: 24px; 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); }
@media (hover: hover) { .value:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(155, 93, 229, .35), var(--shadow-2); } }
.value__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 16px; color: var(--gnista); background: var(--natt); }
.value h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.value p { margin-top: 4px; color: var(--muted); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* ==========================================================================
   404 – Blixten kikar fram
   ========================================================================== */
.nf { min-height: min(100svh, 860px); display: flex; align-items: center; padding-bottom: calc(var(--sheet-r) + 64px); }
.nf__grid { position: relative; display: grid; gap: 20px; align-items: center; }
.nf__code {
  margin-bottom: 18px; font-size: clamp(6rem, 4rem + 12vw, 12rem); font-weight: 800; letter-spacing: -.06em; line-height: .85;
  color: transparent; -webkit-text-stroke: 2px rgba(200, 168, 242, .45);
}
.nf__links { display: grid; gap: 10px; max-width: 520px; margin-top: 30px; }
.nf__links a {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px 0 14px; border-radius: 16px;
  font-weight: 650; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .2);
  transition: background-color .25s, transform .35s var(--spring);
}
.nf__links a:hover { background: rgba(255, 255, 255, .12); transform: translateX(4px); }
.nf__links .ic:first-child { width: 20px; height: 20px; color: var(--gnista); }
.nf__links .ic:last-child { width: 18px; height: 18px; margin-left: auto; opacity: .7; }
.nf__peek { position: absolute; right: calc(var(--gutter) * -1); bottom: -40px; width: min(44vw, 210px); pointer-events: none; }
.motion .nf__peek { animation: peek-in 1.2s .6s var(--spring) backwards; }
@keyframes peek-in { from { transform: translateX(80%); } }
@media (min-width: 640px) { .nf__links { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .nf__grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .nf__peek { position: relative; right: auto; bottom: auto; width: 100%; margin-right: calc(var(--gutter) * -1 - 40px); }
}

/* ==========================================================================
   Scenerna – levande mockups på funktionssidorna och i översikten.
   Utan JS eller med reducerad rörelse syns slutläget. Med .scenes-on spelas
   scenen när den syns (.is-play): [data-in] kommer in efter --t sekunder och
   [data-life] syns en stund (--dur) och försvinner igen.
   ========================================================================== */
.fm { position: relative; container-type: inline-size; width: 100%; max-width: 560px; margin-inline: auto; font-size: .875rem; line-height: 1.45; text-align: left; color: var(--ink); }
.fm__win {
  position: relative; overflow: hidden; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px rgba(44, 14, 61, .08), 0 40px 80px -40px rgba(12, 2, 20, .7), 0 24px 60px -34px rgba(126, 69, 201, .55);
}
.fm__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: #FBF8FE; border-bottom: 1px solid var(--line-2); }
.fm__bar > i { width: 9px; height: 9px; border-radius: 50%; background: #E3D7F0; }
.fm__bar > b { margin-left: 8px; font-size: .75rem; font-weight: 650; color: var(--muted); }
.fm__bar > img { width: 16px; height: 16px; }
.fm-url { flex: 1; max-width: 46%; height: 18px; margin-left: 12px; border-radius: 9px; background: var(--line-2); }
.fm-card {
  position: absolute; z-index: 3; padding: 12px 14px; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px rgba(44, 14, 61, .06), 0 26px 50px -20px rgba(12, 2, 20, .55);
}
.fm-av { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--c, var(--primar-ink)); }
.fm-av .ic { width: 16px; height: 16px; }
.fm-chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 8px; font-size: .7rem; font-weight: 650; white-space: nowrap; }
.fm-chip--id { color: #fff; background: var(--natt); }
.fm-chip--tag { color: var(--ok); background: var(--ok-soft); }
.fm-chip--who { color: var(--natt); background: var(--gnista); }
.fm-msg { justify-self: start; max-width: 94%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; font-size: .8rem; background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line-2); }
.fm-msg--out { justify-self: end; border-radius: 14px 14px 4px 14px; color: #fff; background: var(--primar-ink); box-shadow: none; }
.fm-b { justify-self: start; max-width: 90%; padding: 8px 11px; border-radius: 13px 13px 13px 4px; font-size: .76rem; line-height: 1.4; background: var(--line-2); }
.fm-b--me { justify-self: end; border-radius: 13px 13px 4px 13px; color: #fff; background: var(--wc, var(--natt)); }
.fm-src { display: flex; align-items: center; gap: 4px; margin-top: 5px; font-size: .64rem; font-weight: 650; color: var(--primar-ink); }
.fm-src .ic { width: 12px; height: 12px; }
.fm-sys { display: flex; align-items: center; gap: 7px; justify-self: center; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: .68rem; font-weight: 650; color: var(--ok); background: var(--ok-soft); }
.fm-sys .fm-av { width: 22px; height: 22px; border-radius: 50%; font-size: .56rem; }
.fm-note { padding: 9px 12px; border-radius: 12px; font-size: .78rem; background: #FBFDE3; box-shadow: inset 3px 0 0 #D2DC62; }
.fm-note small { display: block; font-size: .66rem; font-weight: 650; color: var(--muted); }
.fm-stack { display: grid; }
.fm-stack > * { grid-area: 1 / 1; }
.fm-stack--start { justify-items: start; }
.fm-typing { display: inline-flex; align-items: center; gap: 8px; justify-self: start; align-self: start; font-size: .74rem; color: var(--muted); }
.fm-dots { display: inline-flex; gap: 3px; padding: 8px 10px; border-radius: 12px; background: var(--line-2); }
.fm-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--primar); }
.motion .fm-dots i { animation: fm-dot 1s ease-in-out infinite; }
.motion .fm-dots i:nth-child(2) { animation-delay: .15s; }
.motion .fm-dots i:nth-child(3) { animation-delay: .3s; }
.fm-ref { padding: 1px 6px; border-radius: 6px; font-weight: 650; color: var(--primar-ink); background: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.fm-at { padding: 1px 5px; border-radius: 6px; font-weight: 650; color: var(--natt); background: var(--gnista); }
.fm-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--ink); }
.motion .fm-caret { animation: caret 1s steps(1) infinite; }
.fm .is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: caret .8s steps(1) infinite; }

/* Ikoner som svävar runt scenen */
.fm-orbit li {
  position: absolute; left: var(--x); top: var(--y); z-index: 4; display: grid; place-items: center;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 14px; color: var(--primar-ink); background: #fff;
  box-shadow: 0 0 0 1px rgba(44, 14, 61, .06), 0 16px 34px -14px rgba(12, 2, 20, .55);
}
.fm-orbit .ic { width: 19px; height: 19px; }
.fm-orbit li:nth-child(2n) { color: #fff; background: var(--primar-ink); }
.fm-orbit li:nth-child(3n) { color: var(--natt); background: var(--gnista); }
.motion .fm-orbit li { animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--t) * -2s); }
@container (max-width: 420px) { .fm-orbit li { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 12px; } .fm-orbit .ic { width: 16px; height: 16px; } }

/* Uppspelningen */
.scenes-on .fm [data-in] { opacity: 0; }
.scenes-on .fm.is-play [data-in] { animation: fm-up .7s var(--ease-out) both; animation-delay: calc(var(--t, 0) * 1s); }
.scenes-on .fm.is-play [data-in="pop"] { animation-name: fm-pop; animation-duration: .6s; animation-timing-function: var(--spring); }
.scenes-on .fm.is-play [data-in="left"] { animation-name: fm-left; }
.scenes-on .fm.is-play [data-in="right"] { animation-name: fm-right; }
.scenes-on .fm.is-play [data-in="drop"] { animation-name: fm-drop; animation-duration: .8s; animation-timing-function: var(--spring); }
.scenes-on .fm.is-play [data-in="fade"] { animation-name: fm-fade; }
.fm [data-life] { opacity: 0; }
.scenes-on .fm.is-play [data-life] { animation: fm-life var(--dur, 2s) var(--ease) both; animation-delay: calc(var(--t, 0) * 1s); }
.scenes-on .fm .fm-orbit li { opacity: 0; }
.scenes-on .fm.is-play .fm-orbit li { animation: fm-pop .6s var(--spring) both, bob 5s ease-in-out infinite; animation-delay: calc(var(--t) * 1s), calc(var(--t) * -2s); }

/* ---------- Inkorgen ---------- */
.fmi { display: grid; }
.fmi__list { display: grid; gap: 2px; padding: 8px; background: #FCFAFE; border-bottom: 1px solid var(--line-2); }
.fmi__row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 12px; }
.fmi__row.is-sel { background: var(--soft); box-shadow: inset 3px 0 0 var(--primar); }
.fmi__txt { display: grid; flex: 1; min-width: 0; }
.fmi__txt b { font-size: .8rem; line-height: 1.3; }
.fmi__txt span { overflow: hidden; font-size: .74rem; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.fm-ch { flex: none; padding: 3px 8px; border-radius: 999px; font-size: .66rem; font-style: normal; font-weight: 650; color: var(--primar-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.fmi__conv { display: grid; align-content: start; gap: 10px; padding: 14px; }
.fmi__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fmi__head > b { margin-right: 2px; font-size: .9rem; }
.fm-undo { margin-top: 2px; padding: 9px 10px 11px; border-radius: 14px; font-size: .8rem; }
.fm-undo .undo__bolt { width: 28px; height: 28px; }
.fm-undo .undo__btn { padding: 6px 10px; font-size: .75rem; }
.fm-undo__bar { transform: scaleX(.62); }
.scenes-on .fm.is-play .fm-undo__bar { animation: fm-shrink 10s linear both; animation-delay: 8.6s; }
@container (min-width: 500px) {
  .fmi { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); min-height: 390px; }
  .fmi__list { align-content: start; border-bottom: 0; border-right: 1px solid var(--line-2); }
  .fmi__row { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-items: start; }
  .fmi__row .fm-ch { grid-column: 2; justify-self: start; margin-top: 5px; }
  .fmi__conv { padding: 16px; }
}

/* ---------- AI-receptionisten ---------- */
.fm--ai { display: grid; place-items: center; min-height: 500px; padding: 8px 0; }
.fm-phone {
  position: relative; z-index: 1; width: 232px; aspect-ratio: 9 / 18.4; padding: 9px; border-radius: 44px;
  background: linear-gradient(150deg, #5a3478, #1c0827 40%, #140519 62%, #45265e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 80px -40px rgba(0, 0, 0, .9), 0 30px 70px -30px rgba(155, 93, 229, .6);
}
.fm-phone__screen {
  position: relative; display: flex; flex-direction: column; gap: 9px; height: 100%; overflow: hidden;
  padding: 42px 12px 14px; border-radius: 36px; color: #fff; background: radial-gradient(120% 60% at 50% 0%, #4a1f66, #1a0724 70%);
}
.fm-phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 22px; border-radius: 16px; background: #06020a; transform: translateX(-50%); }
.fm-phone__caller { display: grid; justify-items: center; gap: 1px; text-align: center; }
.fm-phone__av { position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border-radius: 50%; font-size: .8rem; font-weight: 800; background: #15803D; }
.fm-phone__av i { position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(242, 250, 163, .5); }
.motion .fm-phone__av i { animation: ring-out 2s ease-out infinite; }
.fm-phone__caller b { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.fm-phone__state { display: grid; font-size: .72rem; color: var(--ton); }
.fm-phone__state > span { grid-area: 1 / 1; }
.fm-phone__wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 24px; }
.fm-phone__wave i { width: 3px; height: 5px; border-radius: 3px; background: var(--gnista); opacity: .8; }
.scenes-on .fm.is-play .fm-phone__wave { animation: fm-dim .4s both; animation-delay: calc(var(--t) * 1s); }
.scenes-on .fm.is-play .fm-phone__wave i { animation: eq .5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.07s); }
.fm-phone__tr { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; min-height: 0; overflow: hidden; }
.fm-bub { flex-shrink: 0; max-width: 88%; padding: 7px 10px; border-radius: 13px; font-size: .7rem; line-height: 1.35; }
.fm-bub + .fm-bub { margin-top: 6px; }
.fm-bub small { display: block; font-size: .6rem; font-weight: 650; opacity: .75; }
.fm-bub--r { align-self: flex-start; background: rgba(255, 255, 255, .1); border-bottom-left-radius: 4px; }
.fm-bub--c { align-self: flex-end; background: var(--primar-ink); border-bottom-right-radius: 4px; }
.scenes-on .fm .fm-bub { max-height: 0; margin-top: 0; padding-block: 0; overflow: hidden; }
.scenes-on .fm.is-play .fm-bub { animation: fm-bub .6s var(--ease-out) both; animation-delay: calc(var(--t) * 1s); }
.fm-phone__keys { display: flex; justify-content: center; gap: 18px; }
.fm-phone__keys i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.fm-phone__keys i.is-end { background: #D6363F; }
.fm-phone__keys .ic { width: 16px; height: 16px; transform: rotate(135deg); }
.fm-ai__bx { position: absolute; left: 0; bottom: 3%; z-index: 2; width: clamp(92px, 26%, 148px); }
.fm-sum { right: 0; bottom: 5%; width: min(250px, 64%); }
.fm-sum__h { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--primar-ink); }
.fm-sum__h .ic { width: 15px; height: 15px; }
.fm-sum__txt { margin-top: 4px; font-size: .78rem; line-height: 1.45; color: var(--ink-2); }
.fm-sum__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.fm-sum__tags li { padding: 3px 8px; border-radius: 7px; font-size: .66rem; font-weight: 650; color: var(--primar-ink); background: var(--soft); }
.fm-sum__tags li:first-child { color: #B42318; background: #FDECEA; }
.fm-pops { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fm-pop {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; border-radius: 13px;
  font-size: .74rem; font-weight: 650; white-space: nowrap; background: #fff; box-shadow: 0 0 0 1px rgba(44, 14, 61, .05), 0 18px 38px -14px rgba(12, 2, 20, .6);
}
.fm-pop .pop__ic { width: 24px; height: 24px; border-radius: 8px; }
.fm-pop .pop__ic .ic { width: 14px; height: 14px; }
.fm-pop--1 { left: 0; top: 3%; }
.fm-pop--2 { right: 0; top: 15%; }
.fm-pop--3 { left: 1%; top: 40%; }
.fm-pop--4 { right: 1%; top: 55%; }
@container (max-width: 459px) { .fm-pop--3, .fm-pop--4 { display: none; } }
@container (min-width: 460px) { .fm-phone { width: 248px; } }

/* ---------- Chatten ---------- */
@property --wc { syntax: "<color>"; inherits: true; initial-value: #2C0E3D; }
.fm--chat, .fm--camp { padding-bottom: 36px; }
.fm-site { min-height: 360px; }
.fm-site__hero { display: grid; gap: 9px; padding: 24px 20px 18px; }
.fm-site__hero i { display: block; width: var(--w); height: 10px; border-radius: 6px; background: #E9E0F4; }
.fm-site__hero i:first-child { height: 16px; background: #DCCDEE; }
.fm-site__hero span { width: 96px; height: 26px; margin-top: 4px; border-radius: 99px; background: var(--primar-ink); opacity: .8; }
.fm-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 20px 22px; }
.fm-site__cards i { height: 64px; border-radius: 12px; background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line-2); }
.fm-widget {
  position: absolute; right: 12px; bottom: 0; z-index: 3; width: min(280px, 80%); overflow: hidden; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(44, 14, 61, .06), 0 34px 70px -24px rgba(12, 2, 20, .6); transform-origin: bottom right;
}
.fm-widget__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; background: var(--wc, var(--natt)); }
.fm-widget__logo { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; font-weight: 800; color: var(--natt); background: var(--gnista); }
.fm-widget__head b { display: block; font-size: .82rem; line-height: 1.2; }
.fm-widget__head small { display: flex; align-items: center; gap: 5px; font-size: .68rem; opacity: .85; }
.fm-widget__head small i { width: 7px; height: 7px; border-radius: 50%; background: #5FD39A; }
.fm-widget__msgs { display: grid; align-content: start; gap: 8px; min-height: 206px; padding: 12px 12px 10px; }
.fm-widget__input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line-2); }
.fm-widget__input span { flex: 1; height: 26px; border-radius: 13px; background: var(--ljus); }
.fm-widget__input i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--wc, var(--natt)); }
.fm-widget__input .ic { width: 14px; height: 14px; }
.fm-designs { left: 0; bottom: 28px; display: grid; gap: 7px; }
.fm-designs b { font-size: .72rem; }
.fm-swatches { position: relative; display: flex; gap: 6px; }
.fm-swatches li { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.fm-swatches::after { content: ""; position: absolute; left: -3px; top: -3px; width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px var(--primar); }
.scenes-on .fm--chat.is-play { animation: fm-wc 10s steps(1) 1.5s infinite; }
.scenes-on .fm--chat.is-play .fm-swatches::after { animation: fm-sw 10s steps(1) 1.5s infinite; }
@container (max-width: 459px) { .fm-designs { display: none; } .fm-widget { width: 84%; } }

/* ---------- Hjälpcentret ---------- */
.fm--help { padding-bottom: 70px; }
.fmh__top { padding: 18px 16px 14px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #4d1f6c, var(--natt) 70%); }
.fmh__title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.fmh__title .ic { width: 18px; height: 18px; color: var(--gnista); }
.fmh__search { display: flex; align-items: center; gap: 8px; height: 40px; margin-top: 12px; padding: 0 12px; border-radius: 12px; font-size: .82rem; color: var(--ink); background: #fff; }
.fmh__search .ic { width: 16px; height: 16px; color: var(--muted); }
.fmh__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fmh__cats li { padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 650; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .25); }
.fmh__res { display: grid; gap: 6px; padding: 12px 12px 16px; }
.fmh__hit { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; box-shadow: inset 0 0 0 1px var(--line-2); }
.fmh__hit.is-top { background: var(--soft); box-shadow: inset 0 0 0 1.5px rgba(155, 93, 229, .4); }
.fmh__ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; color: var(--primar-ink); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fmh__ic .ic { width: 15px; height: 15px; }
.fmh__txt { display: grid; flex: 1; min-width: 0; }
.fmh__txt b { font-size: .8rem; }
.fmh__txt small { font-size: .68rem; color: var(--muted); }
.fmh__go { width: 16px; height: 16px; color: var(--muted); transform: rotate(-90deg); }
.fmh__bot { right: 0; bottom: 0; display: flex; align-items: flex-start; gap: 10px; width: min(290px, 88%); }
.fmh__botav { border-radius: 50%; color: var(--gnista); }
.fmh__bot p { display: grid; font-size: .78rem; }

/* ---------- Teamchatten ---------- */
.fm--team { padding: 44px 0 24px; }
.fmt__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.fmt__head > b { font-size: .95rem; font-weight: 800; }
.fmt__people { display: flex; padding-left: 6px; }
.fmt__people li { position: relative; margin-left: -6px; }
.fmt__people .fm-av { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.fmt__dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 2px #fff; }
.fmt__people .fmt__dot { position: absolute; right: -1px; bottom: -1px; }
.fmt__dot--busy { background: #F59E0B; }
.fmt__dot--away { background: #9CA3AF; }
.fmt__msgs { display: grid; align-content: start; gap: 12px; min-height: 250px; padding: 14px 16px; }
.fmt__msg { display: flex; align-items: flex-start; gap: 10px; }
.fmt__msg .fm-av { border-radius: 50%; }
.fmt__body { display: grid; min-width: 0; font-size: .8rem; }
.fmt__body b { font-size: .78rem; }
.fmt__typing { padding-left: 40px; }
.fmt__input { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 12px 12px; padding: 8px 8px 8px 14px; border-radius: 13px; font-size: .78rem; color: var(--muted); background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line-2); }
.fmt__input i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--primar-ink); }
.fmt__input .ic { width: 14px; height: 14px; }
.fmt__toast { right: 8px; top: -8px; display: flex; align-items: center; gap: 10px; width: min(270px, 82%); }
.fmt__bell { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: var(--natt); background: var(--gnista); }
.fmt__bell .ic { width: 17px; height: 17px; }
.scenes-on .fm.is-play .fmt__bell .ic { animation: shake 1.4s ease-in-out 4.3s 2; }
.fmt__toast > span:last-child { display: grid; min-width: 0; font-size: .74rem; }
.fmt__toast span span { overflow: hidden; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.fmt__status { left: -2px; bottom: 0; display: grid; gap: 5px; font-size: .7rem; font-weight: 650; }
.fmt__status li { display: flex; align-items: center; gap: 7px; }
@container (max-width: 459px) { .fmt__status { display: none; } }

/* ---------- E-handel ---------- */
.fm--shop { padding-bottom: 92px; }
.fms__stores { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; background: #FBF8FE; border-bottom: 1px solid var(--line-2); }
.fms__store { display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px 5px 5px; border-radius: 12px; font-size: .76rem; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fms__store i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: .7rem; font-style: normal; font-weight: 800; color: #fff; background: var(--natt); }
.fms__store em { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .64rem; font-style: normal; font-weight: 650; color: var(--ok); background: var(--ok-soft); }
.fms__store em .ic { width: 11px; height: 11px; stroke-width: 2.6; }
.fms__store--soon i, .fms__store--soon em { color: var(--primar-ink); background: var(--soft); }
.fms__body { display: grid; gap: 10px; padding: 14px; }
.fms__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fms__h b { font-size: .9rem; }
.fms__h small { font-size: .7rem; color: var(--muted); }
.fms__orders { display: grid; gap: 4px; }
.fms__o { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; font-size: .76rem; box-shadow: inset 0 0 0 1px var(--line-2); }
.fms__o span { overflow: hidden; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.fms__o em { font-style: normal; font-weight: 650; font-variant-numeric: tabular-nums; }
.fms__o--1 { background: var(--soft); box-shadow: inset 0 0 0 1.5px rgba(155, 93, 229, .45); }
.fms__card { overflow: hidden; border-radius: 14px; font-size: .78rem; box-shadow: 0 0 0 1px var(--line); }
.fms__cardhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--ljus); }
.fms__cardhead span { padding: 3px 8px; border-radius: 7px; font-size: .66rem; font-weight: 650; color: var(--ok); background: var(--ok-soft); }
.fms__line, .fms__total { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-top: 1px solid var(--line-2); }
.fms__line { color: var(--muted); }
.fms__total { font-weight: 800; }
.fms__track { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-weight: 650; color: var(--primar-ink); border-top: 1px solid var(--line-2); }
.fms__track .ic { width: 14px; height: 14px; }
.fms__actions { display: flex; justify-content: flex-end; }
.fms__insert { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; font-size: .8rem; font-weight: 650; color: #fff; background: var(--primar-ink); box-shadow: 0 12px 26px -12px rgba(126, 69, 201, .8); }
.fms__insert .bolt { width: 9px; }
.scenes-on .fm.is-play .fms__insert { animation: fm-pop .6s var(--spring) both, fm-press .5s ease both; animation-delay: 2.5s, 4.1s; }
.fms__reply { right: 18px; bottom: 0; display: grid; gap: 8px; width: min(260px, 76%); }
.fms__replyhead { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.fms__replyhead .ic { width: 14px; height: 14px; }
.fms__mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; font-size: .74rem; color: #fff; background: var(--primar-ink); }
.fms__mini span { grid-column: 1; font-size: .68rem; opacity: .85; }
.fms__mini em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 800; }
.fm-cursor {
  position: absolute; right: 8px; bottom: -16px; z-index: 5; width: 22px; height: 22px; opacity: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6.2 1.6L10 19z' fill='%23fff' stroke='%232C0E3D' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.scenes-on .fm.is-play .fm-cursor { animation: fm-cursor 1.7s var(--ease-out) 2.9s both; }

/* ---------- Kunder ---------- */
.fmc__top { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line-2); }
.fmc__av { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; font-weight: 800; color: #fff; background: #BE185D; }
.fmc__av i { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px #fff; }
.fmc__who { display: grid; flex: 1; min-width: 0; }
.fmc__who b { font-size: .95rem; }
.fmc__who small { overflow: hidden; font-size: .74rem; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.fmc__live { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 650; color: var(--ok); background: var(--ok-soft); }
.fmc__live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.motion .fmc__live i { animation: rec 1.8s ease-in-out infinite; }
.fmc__page { display: flex; align-items: center; gap: 8px; margin: 12px 16px 0; padding: 9px 12px; border-radius: 12px; font-size: .78rem; font-weight: 650; color: var(--natt); background: var(--gnista); }
.fmc__page .ic { width: 16px; height: 16px; }
.fmc__tl { position: relative; display: grid; gap: 10px; padding: 14px 16px 6px; }
.fmc__tl::before { content: ""; position: absolute; left: 30px; top: 24px; bottom: 22px; width: 2px; background: var(--line); }
.fmc__tl li { position: relative; display: flex; align-items: center; gap: 12px; }
.fmc__ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--primar-ink); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 0 0 4px #fff; }
.fmc__ic .ic { width: 15px; height: 15px; }
.fmc__txt { display: grid; min-width: 0; }
.fmc__txt b { font-size: .8rem; }
.fmc__txt small { font-size: .7rem; color: var(--muted); }
.fmc__actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 16px; }
.fmc__actions span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; font-size: .74rem; font-weight: 650; color: var(--natt); background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line); }
.fmc__actions span:first-child { color: #fff; background: var(--primar-ink); box-shadow: none; }
.fmc__actions .ic { width: 14px; height: 14px; }

/* ---------- Kampanjer ---------- */
.fm--camp .fm-site { min-height: 400px; }
.fmk {
  position: absolute; right: 14px; bottom: 62px; z-index: 3; width: min(250px, 70%); overflow: hidden; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(44, 14, 61, .06), 0 34px 70px -24px rgba(12, 2, 20, .6); transform-origin: bottom right;
}
.fmk__art { position: relative; display: grid; place-items: center; height: 92px; overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, var(--primar), var(--natt) 75%); }
.fmk__art b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--gnista); }
.fmk__art i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gnista); opacity: .8; }
.fmk__art i:nth-child(1) { left: 18%; top: 26%; }
.fmk__art i:nth-child(2) { right: 20%; top: 18%; width: 5px; height: 5px; }
.fmk__art i:nth-child(3) { right: 30%; bottom: 20%; width: 6px; height: 6px; background: var(--ton); }
.motion .fmk__art i { animation: twinkle 2.4s ease-in-out infinite; }
.motion .fmk__art i:nth-child(2) { animation-delay: -.8s; }
.motion .fmk__art i:nth-child(3) { animation-delay: -1.6s; }
.fmk__body { display: grid; gap: 8px; padding: 14px; }
.fmk__title { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.fmk__body p { font-size: .76rem; color: var(--muted); }
.fmk__body .fmk__code { display: flex; justify-content: center; padding: 8px; border: 1.5px dashed var(--primar); border-radius: 11px; background: var(--soft); }
.fmk__code span { font-size: .9rem; font-weight: 800; letter-spacing: .12em; color: var(--primar-ink); }
.scenes-on .fm.is-play .fmk__code { animation: glow-ring 2.2s ease-in-out 1.8s 2; }
.fmk__btn { display: grid; place-items: center; height: 36px; border-radius: 11px; font-size: .8rem; font-weight: 650; color: #fff; background: var(--natt); }
.fmk__x { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .25); }
.fmk__x .ic { width: 13px; height: 13px; }
.fmk__fab { position: absolute; right: 14px; bottom: 0; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--primar-ink); box-shadow: 0 14px 30px -8px rgba(126, 69, 201, .7); }
.fmk__fab .ic { width: 22px; height: 22px; }
.fmk__stats { left: 0; bottom: 0; display: grid; gap: 8px; width: min(190px, 44%); }
.fmk__stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; }
.fmk__stat small { font-size: .66rem; color: var(--muted); }
.fmk__stat b { font-size: .86rem; font-variant-numeric: tabular-nums; }
.fmk__stat i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--primar), var(--ton)); transform: scaleX(var(--w)); transform-origin: left; }
.scenes-on .fm.is-play .fmk__stat i { animation: fm-grow 1s var(--ease-out) both; animation-delay: calc(var(--t) * 1s); }
@container (max-width: 459px) { .fmk { width: 62%; } .fmk__stats { width: 40%; } }

/* ---------- Sociala medier ---------- */
.fm--social { padding-bottom: 10px; }
.fmx__accounts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 14px 0; }
.fmx__acc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 12px; font-size: .76rem; font-weight: 650; box-shadow: inset 0 0 0 1px var(--line); }
.fmx__logo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-family: Arial, sans-serif; font-style: normal; font-weight: 800; color: #fff; }
.fmx__logo--fb { background: #1877F2; }
.fmx__logo--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fmx__logo .ic { width: 15px; height: 15px; }
.fmx__tog { position: relative; width: 30px; height: 18px; border-radius: 9px; background: var(--ok); }
.fmx__tog::after { content: ""; position: absolute; top: 2px; left: 14px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.scenes-on .fm .fmx__tog { background: #D9CCE6; }
.scenes-on .fm .fmx__tog::after { left: 2px; }
.scenes-on .fm.is-play .fmx__tog { background: var(--ok); animation: fm-tog-bg .3s both; animation-delay: calc(var(--t) * 1s); }
.scenes-on .fm.is-play .fmx__tog::after { left: 14px; animation: fm-tog .3s var(--ease-out) both; animation-delay: calc(var(--t) * 1s); }
.fmx__compose { margin: 12px 14px 0; padding: 12px; border-radius: 14px; background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line-2); }
.fmx__cap { min-height: 4.5em; font-size: .8rem; line-height: 1.5; }
.fmx__ai { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 4px 9px; border-radius: 999px; font-size: .68rem; font-weight: 650; color: var(--primar-ink); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fmx__ai .ic { width: 13px; height: 13px; }
.fmx__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.fmx__imgs i { aspect-ratio: 1; border-radius: 11px; background: linear-gradient(135deg, #C8A8F2, #7E45C9); }
.fmx__imgs i:nth-child(2) { background: linear-gradient(135deg, #F2FAA3, #9B5DE5 80%); }
.fmx__imgs i:nth-child(3) { background: linear-gradient(135deg, #3A1650, #9B5DE5); }
.fmx__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 14px; }
.fmx__when, .fmx__status { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; font-size: .76rem; font-weight: 650; }
.fmx__when { background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line); }
.fmx__status { color: #fff; background: var(--ok); }
.fmx__when .ic, .fmx__status .ic { width: 14px; height: 14px; }
.fmx__cal { right: 0; top: 30px; width: 30%; min-width: 150px; }
.fmx__month { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: .74rem; }
.fmx__month .ic { width: 14px; height: 14px; color: var(--primar-ink); }
.fmx__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.fmx__grid i { aspect-ratio: 1; border-radius: 4px; background: var(--line-2); }
.fmx__grid i.has-post { background: var(--ton); }
.fmx__grid i.is-new { background: var(--primar-ink); box-shadow: 0 0 0 2px rgba(155, 93, 229, .3); }
.scenes-on .fm .fmx__grid i.is-new { opacity: 0; }
.scenes-on .fm.is-play .fmx__grid i.is-new { animation: fm-pop .5s var(--spring) 4.5s both, glow-ring 2s ease-in-out 5.1s infinite; }
@container (max-width: 499px) { .fmx__cal { display: none; } }
@container (min-width: 500px) { .fm--social .fm__win { margin-right: 24%; } }

/* ---------- Kalendern ---------- */
.fm--cal { padding-bottom: 34px; }
.fmcal__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.fmcal__bar b { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; }
.fmcal__bar b .ic { width: 16px; height: 16px; color: var(--primar-ink); }
.fmcal__sync { display: inline-flex; align-items: center; gap: 5px; padding: 3px 4px 3px 8px; border-radius: 999px; font-size: .66rem; font-weight: 650; color: var(--ok); background: var(--ok-soft); }
.fmcal__sync .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.fmcal__sync i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: .58rem; font-style: normal; font-weight: 800; color: var(--natt); background: #fff; }
.fmcal__grid { --slot: 50px; display: grid; grid-template-columns: 22px repeat(5, minmax(0, 1fr)); gap: 4px; padding: 10px 10px 14px 6px; }
.fmcal__times { display: grid; grid-auto-rows: var(--slot); padding-top: 22px; font-size: .6rem; color: var(--muted); text-align: right; }
.fmcal__day { display: grid; grid-template-rows: 22px auto; min-width: 0; }
.fmcal__day > b { font-size: .64rem; font-weight: 650; color: var(--muted); text-align: center; }
.fmcal__col { position: relative; height: calc(var(--slot) * 4); border-radius: 8px; background: repeating-linear-gradient(180deg, transparent 0 calc(var(--slot) - 1px), var(--line-2) calc(var(--slot) - 1px) var(--slot)), var(--ljus); }
.fmcal__ev { position: absolute; left: 2px; right: 2px; top: calc(var(--y) * var(--slot) + 2px); height: calc(var(--len) * var(--slot) - 4px); overflow: hidden; padding: 4px 5px; border-radius: 7px; font-size: .58rem; font-weight: 650; line-height: 1.25; color: #fff; background: var(--primar-ink); }
.fmcal__ev--ton { color: var(--natt); background: var(--ton); }
.fmcal__ev--natt { background: var(--natt); }
.fmcal__ev--new { z-index: 2; color: var(--natt); background: var(--gnista); box-shadow: 0 10px 22px -8px rgba(44, 14, 61, .5), 0 0 0 2px #fff; }
.fmcal__ev--new b, .fmcal__ev--new small { display: block; }
.fmcal__ev--new small { font-weight: 400; }
.scenes-on .fm.is-play .fmcal__ev--new { animation: fm-drop .9s var(--spring) 2s both, glow-ring-g 2.2s ease-in-out 3s infinite; }
.fmcal__sms { left: -4px; bottom: 0; display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 650; }
.fmcal__smsic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--ok); }
.fmcal__smsic .ic { width: 15px; height: 15px; }
.fmcal__bx { right: -4px; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; font-size: .74rem; font-weight: 650; }
.fmcal__bx .fm-av { border-radius: 50%; color: var(--gnista); }
@container (max-width: 459px) { .fmcal__bx { display: none; } .fmcal__grid { --slot: 46px; } }

/* ---------- Projekt ---------- */
.fm--proj { padding-bottom: 24px; }
.fmp { position: relative; padding: 16px; }
.fmp__title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.fmp__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: var(--natt); background: var(--gnista); }
.fmp__icon .ic { width: 17px; height: 17px; }
.fmp__slashwrap { position: relative; margin: 12px 0 6px; }
.fmp__line { display: flex; align-items: center; height: 30px; padding: 0 8px; border-radius: 8px; font-size: .86rem; color: var(--muted); background: var(--ljus); }
.fmp__slash { font-weight: 650; color: var(--primar-ink); }
.fmp__menu { position: absolute; left: 12px; top: 34px; z-index: 3; display: grid; gap: 2px; width: 190px; padding: 6px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(12, 2, 20, .55); }
.fmp__menu li { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; font-size: .76rem; }
.fmp__menu li.is-hl { font-weight: 650; background: var(--soft); }
.fmp__menu .ic { width: 15px; height: 15px; color: var(--primar-ink); }
.fmp__table { margin-top: 12px; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.fmp__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr .9fr; align-items: center; gap: 8px; padding: 9px 10px; font-size: .74rem; border-top: 1px solid var(--line-2); }
.fmp__row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmp__row > span:first-child { font-weight: 650; }
.fmp__row--head { font-size: .6rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #FBF8FE; border-top: 0; }
.fmp__row .st { padding: 3px 8px; font-size: .66rem; font-style: normal; }
.fmp__ref { padding: 2px 6px; border-radius: 6px; font-size: .68rem; font-style: normal; font-weight: 650; color: var(--primar-ink); background: var(--soft); }
.fmp__guest { right: -4px; bottom: 0; display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 650; }
.fmp__guest .ic { width: 16px; height: 16px; color: var(--primar-ink); }
@container (max-width: 459px) { .fmp__row { grid-template-columns: 1.4fr 1fr .9fr; } .fmp__row > span:nth-child(3) { display: none; } }

/* ---------- Appen ---------- */
.fm--app { min-height: 470px; padding-bottom: 8px; }
.fma__desk { width: 86%; }
.fma__badge { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: .64rem; font-weight: 800; color: #fff; background: #D6363F; }
.fma__winbtns { display: flex; gap: 10px; margin-left: auto; }
.fma__winbtns i { width: 9px; height: 9px; border: 1.5px solid #B7A9C6; border-radius: 2px; }
.fma__winbtns i:first-child { height: 0; margin-top: 6px; border-width: 1.5px 0 0; }
.fma__deskbody { display: grid; grid-template-columns: 44px minmax(0, 1fr); min-height: 262px; }
.fma__rail { display: grid; align-content: start; gap: 10px; padding: 12px 10px; background: var(--natt); }
.fma__rail i { height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.fma__rail i:first-child { background: var(--gnista); }
.fma__rows { display: grid; align-content: start; gap: 6px; padding: 12px; }
.fma__rows li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); }
.fma__rows li > span:last-child { display: grid; min-width: 0; }
.fma__rows b { font-size: .74rem; }
.fma__rows span span { overflow: hidden; font-size: .7rem; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.fma__phone {
  position: absolute; right: 0; bottom: 8px; z-index: 2; width: 196px; aspect-ratio: 9 / 18.6; padding: 8px; border-radius: 38px;
  background: linear-gradient(150deg, #5a3478, #1c0827 40%, #140519 62%, #45265e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 70px -30px rgba(0, 0, 0, .85);
}
.fma__screen { position: relative; height: 100%; overflow: hidden; padding: 30px 12px 12px; border-radius: 31px; background: radial-gradient(120% 70% at 50% 0%, #6B3FA0, var(--natt) 75%); }
.fma__screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 62px; height: 18px; border-radius: 12px; background: #06020a; transform: translateX(-50%); }
.fma__time { position: absolute; top: 9px; left: 18px; font-size: .62rem; font-weight: 650; color: #fff; }
.fma__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; margin-top: 16px; }
.fma__apps li { display: grid; justify-items: center; gap: 3px; }
.fma__apps i { width: 32px; height: 32px; border-radius: 10px; background: hsl(calc(250 + var(--h) * 16) 50% 72% / .32); }
.fma__me img { width: 32px; height: 32px; padding: 4px; border-radius: 10px; background: #fff; }
.fma__me small { font-size: .5rem; color: #fff; }
.fma__sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; justify-items: center; gap: 6px; padding: 14px 12px; border-radius: 20px; text-align: center; background: #fff; box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .5); }
.fma__sheet img { width: 34px; height: 34px; }
.fma__sheet b { font-size: .72rem; line-height: 1.3; }
.fma__sheet span { display: grid; place-items: center; width: 100%; height: 30px; border-radius: 10px; color: #fff; background: var(--primar-ink); }
.fma__sheet .ic { width: 16px; height: 16px; }
.fma__push { position: absolute; left: 8px; right: 8px; top: 32px; display: grid; gap: 6px; }
.fma__push li { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.fma__push img { flex: none; width: 22px; height: 22px; }
.fma__push span { display: grid; min-width: 0; }
.fma__push b { font-size: .62rem; line-height: 1.3; }
.fma__push span span { font-size: .6rem; line-height: 1.3; color: var(--muted); }
@container (min-width: 460px) { .fma__desk { width: 80%; } .fma__phone { width: 210px; } }

/* ---------- Säkerhet ---------- */
.fm--sec { display: grid; gap: 14px; padding: 16px 0 8px; }
.fmsec__2fa { padding: 20px 18px; text-align: center; }
.fmsec__h { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; font-weight: 800; }
.fmsec__lock { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--natt); background: var(--gnista); }
.fmsec__lock .ic { width: 16px; height: 16px; }
.fmsec__digits { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.fmsec__digits i { display: grid; place-items: center; width: 38px; height: 46px; border-radius: 11px; font-size: 1.2rem; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--ljus); box-shadow: inset 0 0 0 1.5px var(--line); }
.fmsec__digits i:nth-child(3) { margin-right: 8px; }
.fmsec__trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .76rem; color: var(--ink-2); }
.fmsec__box { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #fff; background: var(--primar-ink); }
.fmsec__box .ic { width: 13px; height: 13px; stroke-width: 3; }
.scenes-on .fm .fmsec__box { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.scenes-on .fm .fmsec__box .ic { opacity: 0; }
.scenes-on .fm.is-play .fmsec__box { animation: fm-box .3s 2s both; }
.scenes-on .fm.is-play .fmsec__box .ic { animation: fm-pop .4s var(--spring) 2.1s both; }
.fm-card.fmsec__mask { position: relative; z-index: 1; }
.fmsec__label { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primar-ink); }
.fmsec__label .ic { width: 14px; height: 14px; }
.fmsec__text { position: relative; display: grid; margin-top: 8px; overflow: hidden; padding: 10px 12px; border-radius: 11px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .74rem; line-height: 1.5; background: var(--ljus); }
.fmsec__text > span { grid-area: 1 / 1; }
.fmsec__in { opacity: 0; }
.scenes-on .fm .fmsec__in { opacity: 1; }
.scenes-on .fm .fmsec__out { opacity: 0; }
.scenes-on .fm.is-play .fmsec__in { animation: fm-out .4s 4s both; }
.scenes-on .fm.is-play .fmsec__out { animation: fm-fade .4s 4s both; }
.fmsec__scan { position: absolute; top: 0; bottom: 0; left: -40px; width: 40px; opacity: 0; background: linear-gradient(90deg, transparent, rgba(155, 93, 229, .4), transparent); }
.scenes-on .fm.is-play .fmsec__scan { animation: fm-scan 1.2s var(--ease) 3.1s both; }
.fmsec__roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fmsec__roles li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .74rem; font-weight: 650; color: var(--natt); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(12, 2, 20, .5); }
.fmsec__roles .ic { width: 14px; height: 14px; color: var(--primar-ink); }
.fmsec__eu { right: 0; top: 0; display: flex; align-items: center; gap: 7px; padding: 8px 12px 8px 9px; font-size: .76rem; font-weight: 650; color: var(--ok); }
.fmsec__eu .ic { width: 17px; height: 17px; }

@keyframes fm-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fm-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes fm-left { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes fm-right { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes fm-drop { from { opacity: 0; transform: translateY(-36px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes fm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fm-out { to { opacity: 0; filter: blur(4px); } }
@keyframes fm-life { 0% { opacity: 0; transform: translateY(6px); } 14%, 84% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes fm-bub { from { max-height: 0; margin-top: 0; padding-block: 0; opacity: 0; transform: translateY(8px) scale(.96); } to { max-height: 120px; margin-top: 6px; padding-block: 7px; opacity: 1; transform: none; } }
@keyframes fm-dot { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes fm-dim { to { opacity: .25; } }
@keyframes fm-shrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes fm-grow { from { transform: scaleX(0); } }
@keyframes fm-press { 40% { transform: scale(.92); box-shadow: 0 0 0 6px rgba(155, 93, 229, .25); } }
@keyframes fm-cursor { 0% { opacity: 0; transform: translate(70px, 60px); } 25% { opacity: 1; } 70% { opacity: 1; transform: none; } 78% { transform: scale(.8); } 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes fm-tog-bg { from { background: #D9CCE6; } }
@keyframes fm-tog { from { left: 2px; } }
@keyframes fm-box { to { background: var(--primar-ink); box-shadow: none; } }
@keyframes fm-scan { 0% { opacity: 1; transform: translateX(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(100cqw + 40px)); } }
@keyframes fm-wc { 0% { --wc: #2C0E3D; } 20% { --wc: #7E45C9; } 40% { --wc: #1D4ED8; } 60% { --wc: #15803D; } 80% { --wc: #BE185D; } }
@keyframes fm-sw { 0% { transform: none; } 20% { transform: translateX(26px); } 40% { transform: translateX(52px); } 60% { transform: translateX(78px); } 80% { transform: translateX(104px); } }

/* ==========================================================================
   Funktionssidan
   ========================================================================== */
.fhero { padding-bottom: calc(var(--sheet-r) + 36px); }
.fhero__grid { position: relative; display: grid; gap: 40px; }
.fhero .eyebrow { gap: 8px; padding-left: 6px; }
.fhero__ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--natt); background: var(--gnista); }
.fhero__ic .ic { width: 13px; height: 13px; stroke-width: 2.2; }
.fhero__title { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.3rem); }
.fhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fhero__works { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 28px; font-size: .875rem; color: var(--ton); }
.fhero__works ul { display: flex; flex-wrap: wrap; gap: 6px; }
.fhero__works li { padding: 5px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 650; color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .2); }
.fhero__stage { position: relative; display: grid; place-items: center; min-width: 0; padding: 12px 0; }
.motion .fhero__stage { animation: fm-fly 1.3s .25s var(--ease-out) backwards; }
.fhero__float { position: relative; z-index: 1; width: 100%; transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease-out); }
.motion .fhero__float { animation: bob 7s ease-in-out infinite; }
.fhero__halo { position: absolute; inset: -4% -8%; pointer-events: none; }
.fhero__halo i { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; }
.fhero__halo i:nth-child(1) { width: 112%; background: radial-gradient(closest-side, rgba(155, 93, 229, .5), transparent 70%); }
.fhero__halo i:nth-child(2) { width: 96%; border: 1px dashed rgba(200, 168, 242, .28); }
.fhero__halo i:nth-child(3) { width: 74%; border: 1px solid rgba(242, 250, 163, .14); }
.motion .fhero__halo i:nth-child(2) { animation: fx-spin 70s linear infinite; }
.fhero__sparks { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fhero__sparks i { position: absolute; left: calc(6% + var(--i) * 11%); bottom: -12px; width: 5px; height: 5px; border-radius: 50%; opacity: 0; background: var(--gnista); box-shadow: 0 0 12px 2px rgba(242, 250, 163, .55); }
.fhero__sparks i:nth-child(3n) { width: 4px; height: 4px; background: var(--ton); box-shadow: 0 0 10px 2px rgba(200, 168, 242, .5); }
.motion .fhero__sparks i { animation: fx-rise calc(10s + var(--i) * .8s) linear infinite; animation-delay: calc(var(--i) * -1.9s); }
.frail { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.frail__list {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px max(var(--gutter), (100% - var(--maxw)) / 2) 10px;
  scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.frail__list::-webkit-scrollbar { display: none; }
.frail li { flex: none; scroll-snap-align: center; }
.frail a {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px;
  font-size: .875rem; font-weight: 650; white-space: nowrap; color: var(--on-dark-2); background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .18); transition: background-color .25s, color .25s, transform .35s var(--spring);
}
.frail a .ic { width: 17px; height: 17px; color: var(--ton); }
.frail a:hover { color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.frail a[aria-current] { color: var(--natt); background: var(--gnista); box-shadow: 0 12px 30px -12px rgba(242, 250, 163, .6); }
.frail a[aria-current] .ic { color: var(--natt); }
@media (min-width: 1024px) {
  .fhero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
  .fhero__title { font-size: clamp(2.8rem, 1.2rem + 2.9vw, 4.2rem); }
}

.fben { padding-top: clamp(64px, 8vw, 110px); padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); }
.fben__grid { display: grid; gap: 14px; }
.fcard, .frel__card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}
.fcard::before, .frel__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(155, 93, 229, .16), transparent 62%);
}
.fcard { padding: 28px 24px 26px; }
.fcard__n {
  display: block; margin-bottom: 18px; font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: var(--primar-ink); background: linear-gradient(135deg, var(--primar-ink), var(--ton)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fcard .h3 { margin-bottom: 8px; }
.fcard p { font-size: .96875rem; line-height: 1.6; color: var(--muted); }
@media (hover: hover) {
  .fcard:hover::before, .frel__card:hover::before { opacity: 1; }
  .reveal-on .fcard.is-in:hover, .reveal-on .frel__card.is-in:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(155, 93, 229, .35), var(--shadow-2); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
}
@media (min-width: 720px) { .fben__grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1140px) { .fben__grid { grid-template-columns: repeat(4, 1fr); } }

.fhl {
  --focus: var(--gnista);
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 6px; margin-top: clamp(56px, 8vw, 100px);
  padding: 26px 22px 32px; border-radius: 32px; color: #fff;
  background: radial-gradient(120% 100% at 100% 0%, #4d1f6c, var(--natt) 60%); box-shadow: var(--shadow-3), 0 0 0 1px rgba(155, 93, 229, .35);
}
.fhl::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background: url("/_webbplats/b4/assets/brand/flode-natt-ruta.svg") 0 0 / 200px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%);
}
.fhl__glow { position: absolute; left: -160px; bottom: -300px; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(155, 93, 229, .45), transparent); }
.motion .fhl__glow { animation: drift-b 16s ease-in-out infinite alternate; }
.fhl__bx { width: 148px; margin: 0 auto; }
.fhl .lead { margin-top: 14px; color: var(--on-dark-muted); }
.fhl__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fhl__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px; font-size: .875rem; font-weight: 650; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .22); }
.fhl__chips .ic { width: 20px; height: 20px; padding: 4px; border-radius: 50%; stroke-width: 3; color: var(--natt); background: var(--gnista); }
.reveal-on .fhl__chips li { opacity: 0; transform: translateY(12px) scale(.9); }
.reveal-on .fhl.is-in .fhl__chips li { opacity: 1; transform: none; transition: opacity .4s, transform .6s var(--spring); transition-delay: calc(.5s + var(--i) * 70ms); }
@media (min-width: 900px) {
  .fhl { grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 44px; padding: 48px 56px 48px 44px; }
  .fhl__bx { width: 100%; }
}

.fsteps { padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); }
.frel { padding-top: clamp(64px, 8vw, 110px); padding-bottom: 0; }
.frel__grid { display: grid; gap: 14px; }
.frel__card { display: grid; align-content: start; gap: 8px; padding: 24px 22px 70px; }
.frel__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 15px; color: var(--primar-ink); background: var(--soft); transition: transform .5s var(--spring), background-color .3s, color .3s; }
.frel__ic .ic { width: 23px; height: 23px; }
.frel__card p { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.frel__go { position: absolute; left: 22px; bottom: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--natt); background: var(--line-2); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.frel__go .ic { width: 16px; height: 16px; }
@media (hover: hover) {
  .frel__card:hover .frel__ic { color: var(--gnista); background: var(--natt); transform: rotate(-8deg) scale(1.08); }
  .frel__card:hover .frel__go { color: var(--gnista); background: var(--natt); transform: translateX(5px); }
}
@media (min-width: 800px) { .frel__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ==========================================================================
   Funktionsöversikten
   ========================================================================== */
.fx-hero { padding-bottom: calc(var(--sheet-r) + 40px); }
.fx-hero__grid { display: grid; gap: 24px; }
.fx-sky { position: relative; width: min(100%, 440px); aspect-ratio: 1 / .92; margin-inline: auto; }
.fx-sky::before, .fx-sky::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.fx-sky::before { inset: 8% 6%; border: 1px dashed rgba(200, 168, 242, .28); }
.fx-sky::after { inset: 24% 22%; background: radial-gradient(closest-side, rgba(155, 93, 229, .55), transparent); }
.fx-sky__ring { position: absolute; inset: 0; }
.motion .fx-sky__ring { animation: fx-spin 90s linear infinite; }
.fx-tile { --a: calc(var(--i) / var(--n) * 360deg - 90deg); position: absolute; left: calc(50% + cos(var(--a)) * 44%); top: calc(50% + sin(var(--a)) * 42%); translate: -50% -50%; }
.motion .fx-tile { animation: fx-spin 90s linear infinite reverse; }
.fx-tile__in {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: #fff;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .28), 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.fx-tile__in .ic { width: 21px; height: 21px; }
.fx-tile:nth-child(3n + 1) .fx-tile__in { color: var(--natt); background: var(--gnista); box-shadow: 0 16px 40px -14px rgba(242, 250, 163, .55); }
.fx-tile:nth-child(3n + 2) .fx-tile__in { background: var(--primar-ink); box-shadow: 0 16px 40px -14px rgba(126, 69, 201, .8); }
.motion .fx-tile__in { animation: fx-tile-in 1.1s var(--spring) backwards; animation-delay: calc(.35s + var(--i) * 70ms); }
.fx-sky__hero { position: absolute; left: 50%; top: 50%; z-index: 1; width: 40%; translate: -50% -50%; }
.motion .fx-sky__hero { animation: fx-fly 6s ease-in-out infinite, fx-hero-in 1.4s var(--ease-out) backwards; }
@media (min-width: 1024px) {
  .fx-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 40px; }
  .fx-sky { width: 100%; max-width: 540px; }
  .fx-tile__in { width: 62px; height: 62px; border-radius: 20px; }
  .fx-tile__in .ic { width: 26px; height: 26px; }
}

.fx-group { overflow-x: clip; padding-block: clamp(72px, 9vw, 128px); background: var(--ljus); scroll-margin-top: var(--header-h); }
.fx-group--2, .fx-group--4 { background: #fff; }
.fx-group__grid { display: grid; gap: 26px; }
.fx-group__head { order: 1; }
.fx-stage { order: 2; }
.fx-list { order: 3; }
.fx-group__n { margin-bottom: 12px; font-size: .875rem; font-weight: 800; letter-spacing: .14em; color: var(--primar-ink); }
.fx-group__head .lead { max-width: 520px; margin-top: 14px; }
.fx-list { display: grid; gap: 10px; }
.fx-item { position: relative; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fx-group--2 .fx-item, .fx-group--4 .fx-item { background: var(--ljus); }
.fx-item__link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: inherit; }
.fx-item__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; color: var(--primar-ink); background: var(--soft); transition: color .3s, background-color .3s, transform .5s var(--spring); }
.fx-item__ic .ic { width: 21px; height: 21px; }
.fx-item__txt { display: grid; flex: 1; gap: 2px; min-width: 0; }
.fx-item__txt h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.fx-item__txt p { font-size: .9rem; line-height: 1.5; color: var(--muted); }
.fx-item__go { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: var(--natt); background: var(--line-2); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.fx-item__go .ic { width: 16px; height: 16px; }
.fx-item.is-active { box-shadow: 0 0 0 1.5px rgba(155, 93, 229, .5), var(--shadow-2); }
.fx-item.is-active .fx-item__ic { color: var(--gnista); background: var(--natt); transform: rotate(-6deg) scale(1.06); }
.fx-item.is-active .fx-item__go { color: var(--gnista); background: var(--natt); }
.fx-item__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--primar), var(--gnista)); transform: scaleX(0); transform-origin: left; }
.is-auto .fx-item.is-active .fx-item__bar { animation: fx-progress var(--fx-dur, 7s) linear both; }
.is-paused .fx-item__bar, .is-offscreen .fx-item__bar { animation-play-state: paused !important; }
@media (hover: hover) { .fx-item:hover .fx-item__go { transform: translateX(4px); } }
.fx-stage { position: relative; display: grid; align-items: center; min-width: 0; padding: 22px 0; }
.fx-stage__glow { position: absolute; inset: 4% 2%; border-radius: 40px; background: radial-gradient(60% 55% at 50% 50%, rgba(155, 93, 229, .2), transparent 72%); pointer-events: none; }
.fx-slide {
  position: relative; z-index: 1; grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0;
  transform: perspective(1400px) translate3d(0, 34px, 0) rotateX(10deg) scale(.95);
  transition: opacity .4s var(--ease), transform .8s var(--ease-out), visibility 0s .4s;
}
.fx-slide.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .6s var(--ease) .1s, transform 1s var(--ease-out) .1s, visibility 0s; }
@media (min-width: 1024px) {
  .fx-group__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: auto 1fr; column-gap: clamp(40px, 5vw, 80px); row-gap: 30px; align-items: start; }
  .fx-group__head { grid-column: 1; grid-row: 1; }
  .fx-list { grid-column: 1; grid-row: 2; }
  .fx-stage { position: sticky; top: calc(var(--header-h) + 20px); grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .fx-group--2 .fx-group__grid, .fx-group--4 .fx-group__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .fx-group--2 .fx-group__head, .fx-group--2 .fx-list, .fx-group--4 .fx-group__head, .fx-group--4 .fx-list { grid-column: 2; }
  .fx-group--2 .fx-stage, .fx-group--4 .fx-stage { grid-column: 1; }
}

.fx-integr { overflow: hidden; padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); background: radial-gradient(60% 60% at 50% 100%, rgba(155, 93, 229, .14), transparent 70%), var(--ljus); }
.fx-belt { display: grid; gap: 14px; }
.fx-belt__row { display: flex; gap: 12px; width: max-content; }
.fx-belt__row ul { display: flex; gap: 12px; }
.fx-belt li { display: inline-flex; align-items: center; height: 56px; padding: 0 26px; border-radius: 999px; font-size: 1.0625rem; font-weight: 650; white-space: nowrap; color: var(--natt); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.fx-belt__row--rev { margin-left: -120px; }
.motion .fx-belt__row { animation: marquee 40s linear infinite; }
.motion .fx-belt__row--rev { animation-direction: reverse; animation-duration: 46s; }
.fx-integr__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 46px; padding-inline: var(--gutter); }

@keyframes fx-spin { to { rotate: 360deg; } }
@keyframes fx-rise { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: .9; } 80% { opacity: .5; } 100% { opacity: 0; transform: translate(40px, -900px); } }
@keyframes fx-progress { to { transform: scaleX(1); } }
@keyframes fx-tile-in { from { opacity: 0; scale: .2; translate: calc(cos(var(--a)) * -140px) calc(sin(var(--a)) * -130px); } }
@keyframes fx-fly { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(12px, -20px) rotate(3deg); } }
@keyframes fx-hero-in { from { opacity: 0; scale: .4; } }
@keyframes fm-fly { from { opacity: 0; transform: perspective(1600px) translate3d(0, 90px, 0) rotateX(20deg) scale(.9); } }

/* Samtycke i kontaktformuläret */
.field-check { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 4px 0 16px; font-size: .9rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.field-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.field-check i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: transparent; background: #fff; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .2s, box-shadow .2s, color .2s; }
.field-check i .ic { width: 14px; height: 14px; stroke-width: 3; }
.field-check input:checked + i { color: #fff; background: var(--primar-ink); box-shadow: none; }
.field-check input:focus-visible + i { outline: 3px solid var(--primar); outline-offset: 2px; }
.field-check a { font-weight: 700; color: var(--primar-ink); text-decoration: underline; text-underline-offset: 3px; }
