@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Scroll progress bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #7dd0c8, #4aaba0);
  z-index: 2147483647;
  pointer-events: none;
  transition: width 0.1s linear;
}
.main-content-bg h1 {
  padding-top: 0.5em;
  padding-bottom: 0.3em;
  padding-left: 0.1em;
  padding-right: 0.1em;
  margin-top: 0.2em;
  margin-bottom: 0.7em;
}
/* --- Säljande underside-design --- */
.main-content-bg {
  background: linear-gradient(120deg, #fafdff 0%, #e9eef3 100%);
  border-radius: 32px;
  padding: 3.5rem 4.5vw 3rem 4.5vw;
  margin: 130px auto 48px auto;
  max-width: 1100px;
  box-shadow: 0 12px 48px 0 rgba(32,201,151,0.10), 0 1.5px 0 #e6edf5;
  font-size: 1.18rem;
  position: relative;
}
.cta-box {
  background: linear-gradient(90deg, #2b5cff 0%, #20c997 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(43, 92, 255, 0.10);
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  margin: 2.5rem 0 3rem 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-box h2 {
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #2b5cff;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.18rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(43, 92, 255, 0.10);
  margin-top: 0.5rem;
}
.cta-btn:hover {
  background: #2b5cff;
  color: #fff;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.13);
  border-radius: 50%;
  z-index: 0;
}
.cta-box__icon {
  font-size: 2.5rem;
  margin-bottom: 0.7rem;
  display: block;
}
.process-steps, .customer-benefits {
  margin: 2.5rem 0 2rem 0;
}
.process-steps ol, .customer-benefits ul {
  margin: 0 0 0 1.5rem;
  padding: 0;
}
.process-steps li, .customer-benefits li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
  position: relative;
  padding-left: 2.1em;
}
.process-steps li::before, .customer-benefits li::before {
  content: "\2714";
  color: #20c997;
  font-size: 1.1em;
  position: absolute;
  left: 0;
  top: 0.1em;
}
.faq-section {
  background: #e9eef3;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 2px 12px rgba(40, 60, 90, 0.06);
}
.faq-section h3 {
  color: #1a2a4a;
  margin-bottom: 1.2rem;
  font-size: 1.35rem;
}
.faq-item {
  margin-bottom: 1.5rem;
}
.faq-item h4 {
  color: #2b5cff;
  font-size: 1.13rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.faq-item p {
  margin: 0 0 0.5rem 0;
  color: #3a4a6a;
}
.testimonials {
  background: #fafdff;
  border-left: 6px solid #20c997;
  border-radius: 14px;
  padding: 1.7rem 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 2px 8px rgba(40, 60, 90, 0.06);
  position: relative;
}
.testimonials h3 {
  color: #1a2a4a;
  margin-bottom: 1.1rem;
  font-size: 1.25rem;
}
.testimonials blockquote {
  font-style: italic;
  color: #1a2a4a;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  position: relative;
}
.testimonials blockquote::before {
  content: "\201C";
  color: #2b5cff;
  font-size: 2.5rem;
  position: absolute;
  left: -1.2em;
  top: -0.5em;
  opacity: 0.18;
}
.testimonials span {
  display: block;
  margin-top: 0.7rem;
  color: #20c997;
  font-weight: 600;
}
.trust-signals {
  display: flex;
  gap: 2.2rem;
  margin: 3rem 0 0 0;
  align-items: center;
  justify-content: flex-start;
}
.trust-signals img {
  width: 48px;
  height: 48px;
  filter: grayscale(0.1) brightness(1.08);
  transition: filter 0.2s, transform 0.2s;
}
.trust-signals img:hover {
  filter: none;
  transform: scale(1.08);
}
.cta-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(40, 60, 90, 0.07);
  padding: 1.5rem 1.2rem;
  margin: 2rem 0 2.5rem 0;
  text-align: center;
}
.cta-box h2 {
  margin-bottom: 1rem;
  color: #1a2a4a;
  font-size: 1.4rem;
}
.cta-btn {
  display: inline-block;
  background: #2b5cff;
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(43, 92, 255, 0.08);
}
.cta-btn:hover {
  background: #1a2a4a;
}
.process-steps, .customer-benefits {
  margin: 2rem 0 1.5rem 0;
}
.process-steps ol, .customer-benefits ul {
  margin: 0 0 0 1.5rem;
  padding: 0;
}
.process-steps li, .customer-benefits li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.faq-section {
  background: #f1f5fa;
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  margin: 2rem 0;
}
.faq-section h3 {
  color: #1a2a4a;
  margin-bottom: 1rem;
}
.faq-item {
  margin-bottom: 1.2rem;
}
.faq-item h4 {
  color: #2b5cff;
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}
.faq-item p {
  margin: 0 0 0.5rem 0;
  color: #3a4a6a;
}
.testimonials {
  background: #fff;
  border-left: 5px solid #2b5cff;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(40, 60, 90, 0.06);
}
.testimonials h3 {
  color: #1a2a4a;
  margin-bottom: 1rem;
}
.testimonials blockquote {
  font-style: italic;
  color: #1a2a4a;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.testimonials span {
  display: block;
  margin-top: 0.7rem;
  color: #2b5cff;
  font-weight: 500;
}
.trust-signals {
  display: flex;
  gap: 1.5rem;
  margin: 2.5rem 0 0 0;
  align-items: center;
  justify-content: flex-start;
}
.trust-signals img {
  width: 44px;
  height: 44px;
  filter: grayscale(0.2) brightness(1.1);
  transition: filter 0.2s;
}
.trust-signals img:hover {
  filter: none;
}
/* Enhetlig textstorlek för undersidor */
.main-content-bg h1,
.main-content-bg h2,
.main-content-bg h3,
.main-content-bg h4,
.main-content-bg h5,
.main-content-bg h6 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.7em;
}
.main-content-bg p,
.main-content-bg ul,
.main-content-bg li,
.main-content-bg .cta-box__desc {
  font-size: 1.18rem;
  line-height: 1.7;
}
.main-content-bg .cta-box h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}
/* =========================
   CREADY – Airy Tailwind-ish UI (v2)
   ========================= */

:root{
  --bg: #f7fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e6edf5;

  --brand: #7dd0c8;       /* mint */
  --brand-2: #4aaba0;     /* emerald-ish */

  /* Softer, more "Tailwind card" shadows */
  --shadow: 0 14px 40px rgba(15, 23, 42, .08);
  --shadow-soft: 0 10px 26px rgba(15, 23, 42, .06);

  --ring: 0 0 0 4px rgba(32, 201, 151, .18);

  /* More rounded, more premium */
  --radius: 22px;
  --radius-sm: 16px;

  /* A bit wider */
  --container: 1160px;
}

html[data-theme="dark"]{
  --bg: #0b1220;
  --surface: #0f172a;
  --text: #e5e7eb;
  --muted: #a3b2c7;
  --border: rgba(148,163,184,.14);

  --shadow: 0 16px 44px rgba(0,0,0,.45);
  --shadow-soft: 0 12px 34px rgba(0,0,0,.38);

  --ring: 0 0 0 4px rgba(32, 201, 151, .22);
}

*{box-sizing:border-box}
html, body{height:100%; overflow-x:clip;}
body{
  margin:0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: #ffffff;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
html[data-theme="dark"] body {
  background: #0b1220;
}

/* Wrapper för vit bakgrund bakom innehåll */
.main-content-bg {
  background: linear-gradient(to bottom, rgba(255,255,255,0.98) 0%, #fff 200px);
  box-shadow: 0 8px 48px 0 rgba(32,201,151,0.07), 0 1.5px 0 #e6edf5;
  border-radius: 32px;
  max-width: 1200px;
  margin: 40px auto 40px auto;
  padding: 0 0 0 0;
  position: relative;
  z-index: 1;
}
html[data-theme="dark"] .main-content-bg {
  background: linear-gradient(to bottom, rgba(16,22,36,0.98) 0%, #101624 200px);
  box-shadow: 0 8px 48px 0 rgba(32,201,151,0.10), 0 1.5px 0 #1a2a3a;
}

/* Dekorativ blob för hero - Salient-inspirerad gradient */
.hero {
  position: relative;
  overflow: visible;
}

.hero__grid, .hero__left, .card, .features, .chips, .hero__cta, .seo-list {
  position: relative;
  z-index: 1;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   Top bar
   ========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51;
  height: 36px;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.85;
}
.topbar__icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.4);
}
.topbar__link {
  opacity: 0.85;
  transition: opacity .15s;
}
.topbar__link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.topbar__utils {
  display: none;
  align-items: center;
  gap: 8px;
}
.topbar__util-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-size: 13px;
  padding: 0 2px;
  line-height: 1;
  opacity: 0.9;
}
.topbar__util-lang {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.topbar__util-lang--active {
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 1;
}
html[data-theme="dark"] .topbar {
  background: rgba(20, 60, 50, 0.95);
  color: #a0ede0;
}
html[data-theme="dark"] .topbar__divider {
  background: rgba(255,255,255,0.15);
}

/* =========================
   Header (airier)
   ========================= */
.header{
  position: fixed;
  top: 36px;
  left:0;
  right:0;
  z-index:50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
}
html[data-theme="dark"] .header{
  background: rgba(15,23,42,.70);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header__inner{
  height: 78px;               /* a bit taller */
  display:flex;
  align-items:center;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 180px;
}
.brand__logo{height: 36px; width:auto;}
.brand__logo--dark{display:none}
html[data-theme="dark"] .brand__logo--light{display:none}
html[data-theme="dark"] .brand__logo--dark{display:block}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-left: 8px;
  flex:1;
  justify-content:center;
}
.nav__link{
  font-size: 17px;
  color: var(--text);
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border-radius: 12px;
  white-space: nowrap;
  max-width: none;
}
.nav__link:hover{
  color: var(--text);
  background: rgba(100,116,139,.08);
}
html[data-theme="dark"] .nav__link:hover{
  background: rgba(148,163,184,.10);
}

.header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* =========================
   Hamburger toggle button
   ========================= */
.nav-toggle {
  display: none;           /* shown only in mobile media query */
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
  transition: background .15s;
  padding: 0;
  position: relative;
  z-index: 55;             /* above topbar(51) so nothing covers it */
  touch-action: manipulation; /* kills 300ms iOS tap delay */
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover {
  background: rgba(100,116,139,.10);
}
/* SVGs must not capture pointer events — click always lands on the button */
.nav-toggle svg { pointer-events: none; display: block; }
/* no close icon — burger always visible */

/* =========================
   Buttons (more spacing)
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight: 700;
  border-radius: 16px;
  padding: 11px 16px;
  border: 1px solid transparent;
  transition: .15s ease;
  cursor:pointer;
  white-space:nowrap;
}
.btn:focus{outline:none; box-shadow: var(--ring);}

.btn--lg{
  padding: 14px 18px;
  border-radius: 18px;
}

.btn--primary{
  background: linear-gradient(145deg, #7dd0c8, #4aaba0);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  box-shadow:
    6px 6px 14px rgba(10, 130, 110, 0.45),
    -4px -4px 10px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
  transition: box-shadow .2s ease, transform .15s ease;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    8px 10px 20px rgba(10, 130, 110, 0.5),
    -4px -4px 12px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--primary:active {
  transform: translateY(1px);
  box-shadow:
    2px 2px 6px rgba(10, 130, 110, 0.5),
    -1px -1px 4px rgba(255, 255, 255, 0.4),
    inset 3px 3px 8px rgba(10, 130, 110, 0.35),
    inset -2px -2px 6px rgba(255,255,255,0.2);
}

.btn--ghost{
  background: linear-gradient(145deg, #ffffff, #e8eef4);
  border: none;
  color: var(--text);
  box-shadow:
    6px 6px 14px rgba(160, 175, 195, 0.45),
    -4px -4px 10px rgba(255, 255, 255, 0.9),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: box-shadow .2s ease, transform .15s ease;
}
.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow:
    8px 10px 20px rgba(160, 175, 195, 0.5),
    -4px -4px 12px rgba(255, 255, 255, 1),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.btn--ghost:active {
  transform: translateY(1px);
  box-shadow:
    2px 2px 6px rgba(160, 175, 195, 0.5),
    -1px -1px 4px rgba(255, 255, 255, 0.8),
    inset 3px 3px 8px rgba(160, 175, 195, 0.3),
    inset -2px -2px 6px rgba(255,255,255,0.7);
}

.iconbtn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.iconbtn:focus{outline:none; box-shadow: var(--ring);}
.iconbtn__icon{font-size: 16px;}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.lang-switch__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
  text-decoration: none;
  opacity: 0.45;
  transition: opacity .15s ease, background .15s ease;
}
.lang-switch__btn:hover {
  opacity: 1;
  background: rgba(100,116,139,.1);
}
.lang-switch__btn.active {
  opacity: 1;
}

/* ===== LANGUAGE DROPDOWN ===== */
.langdrop {
  position: relative;
  margin-left: 8px;
}
.langdrop__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}
.langdrop__btn:hover {
  background: rgba(100,116,139,.08);
}
.langdrop__flag {
  border-radius: 4px;
  display: block;
}
.langdrop__panel {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 130px;
  padding: 8px;
  border-radius: 8px;
  border: 1.5px solid rgba(45,212,191,0.35);
  background: #e0f7f5;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
  display: none;
  z-index: 100;
}
html[data-theme="dark"] .langdrop__panel {
  background: rgba(20, 60, 50, 0.95);
  border: 1.5px solid rgba(45,212,191,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
}
.langdrop.is-open .langdrop__panel {
  display: block;
}
.langdrop__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.langdrop__link:hover {
  background: rgba(100,116,139,.06);
}
.langdrop__link.active {
  font-weight: 700;
}
.langdrop__link img {
  border-radius: 4px;
}

/* =========================
   Hero (more air)
   ========================= */
.hero{
  padding: 156px 0 80px;
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;              /* ännu mer gap */
  align-items:start;
}

.hero__left{
  padding-top: 24px;
}

.hero__left--full {
  width: 100%;
}

/* Features strip below hero */
.features-strip {
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}

.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.features-strip__feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 980px) {
  .features-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .features-strip__grid {
    grid-template-columns: 1fr;
  }
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--muted);
  font-size: 13px;
  text-shadow: 0 1px 6px rgba(255,255,255,0.9), 0 0 12px rgba(255,255,255,0.7);
}
html[data-theme="dark"] .pill{
  text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 0 12px rgba(0,0,0,0.5);
}

.pill__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(32,201,151,.14);
}

.hero__cycling-word {
  color: #1bbfad;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero__cycling-word--out {
  opacity: 0;
  transform: translateY(-8px);
}
.hero__cycling-word--in {
  animation: cycleWordIn 0.35s ease forwards;
}
@keyframes cycleWordIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title{
  margin: 48px 0 24px;
  font-size: 48px !important;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.hero__lead{
  margin: 0 0 24px 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 60ch;
}
/* SEO-list för luftigare punktlista på startsidan */
.seo-list{
  margin: 0 0 32px 0;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.8;
  max-width: 50ch;
}

.hero__cta{
  display:flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.chips{
  display:flex;
  gap:16px;
  flex-wrap: wrap;
  margin-top: 32px;
  margin-bottom: 16px;
}

.chip{
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 4px 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 6px rgba(255,255,255,0.9), 0 0 12px rgba(255,255,255,0.7);
}
.chip::before{
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='%237dd0c8' fill-opacity='.18'/%3E%3Cpath d='M4.5 8.5l2.5 2 4-5' stroke='%234aaba0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}
html[data-theme="dark"] .chip{
  background: transparent;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 0 12px rgba(0,0,0,0.5);
}

/* =========================
   Cards (airier)
   ========================= */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 32px;     /* ännu mer padding */
}

.card--prominent{
  border: 1.5px solid rgba(45,212,191,0.45);
  box-shadow: 0 4px 32px rgba(0,0,0,0.12), 0 1px 6px rgba(0,0,0,0.07);
}
html[data-theme="dark"] .card--prominent{
  border: 1.5px solid rgba(45,212,191,0.30);
  box-shadow: 0 4px 32px rgba(0,0,0,0.40), 0 1px 6px rgba(0,0,0,0.20);
}

.card--soft{box-shadow: var(--shadow-soft);}

.divider{
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* =========================
   Feature list (nicer icon chips)
   ========================= */
.features{
  display:flex;
  flex-direction: column;
  gap: 16px;
}

.feature{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}

.feature__icon{
  width: 64px;
  height: 64px;
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}
html[data-theme="dark"] .feature__icon{
  background: none;
}

.feature__title{
  font-weight: 300;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}
.feature__desc{
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
}

/* Bullets */
.bullets{
  display:flex;
  flex-direction: column;
  gap: 10px;            /* more spacing */
  color: var(--muted);
  font-size: 14px;
}
.bullet{
  position: relative;
  padding-left: 18px;
}
.bullet:before{
  content:"";
  position:absolute;
  left:0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius:999px;
  background: var(--brand);
}

/* =========================
   Section
   ========================= */
.section{
  padding: 80px 0 100px;
}

.section--tinted {
  background: transparent;
  position: relative;
  padding-top: 64px !important;
}

.section--tinted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #eaf0f6;
  z-index: 0;
}

.section--tinted > * {
  position: relative;
  z-index: 1;
}

html[data-theme="dark"] .section--tinted::before {
  background: rgba(255,255,255,0.04);
}

.wave-divider {
  line-height: 0;
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

html[data-theme="dark"] .wave-divider {
  display: none;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;             /* more gap */
}

.h2{
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.muted{
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 14.5px;
  font-weight: 300;
}

.mt-16{margin-top: 18px;}
.w-full{width:100%;}

/* =========================
   Steps
   ========================= */
.steps{
  display:flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.step{
  display:flex;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(100,116,139,.035);
}
html[data-theme="dark"] .step{background: rgba(148,163,184,.06);}

.step__icon{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(16,185,129,.22);
  background: rgba(16,185,129,.10);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}
html[data-theme="dark"] .step__icon{
  background: rgba(16,185,129,.14);
}
html[data-theme="dark"] .icon--step { mix-blend-mode: normal; filter: none; }
html[data-theme="dark"] .icon--feature { mix-blend-mode: normal; filter: none; }

.step__title{font-weight:300; font-size: 15px;}
.step__desc{color: var(--muted); font-size: 14px; font-weight: 300; margin-top: 3px;}

/* =========================
   Accordion
   ========================= */
.accordion{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.acc{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(100,116,139,.035);
  cursor:pointer;
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
}
html[data-theme="dark"] .acc{background: rgba(148,163,184,.06);}

.acc__chev{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display:grid;
  place-items:center;
  color: var(--muted);
  background: var(--surface);
}

.acc__panel{
  overflow:hidden;
  border-radius: 16px;
  border: none;
  background: var(--surface);
  padding: 0 16px;
  transition: max-height .18s ease;
}
.is-open .acc__panel{
  border: 1px solid var(--border);
}
.acc__panel p{
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

/* =========================
   Footer
   ========================= */
.footer{
  border-top: 1px solid var(--border);
  padding: 34px 0;
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 22px;
}
.footer__brand{font-weight:800;}
.footer__muted{color: var(--muted); font-size: 13px; margin-top: 8px;}
.footer__links{
  display:flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.footer__links a:hover{color: var(--text);}

/* =========================
   Icons – ALWAYS constrain
   ========================= */
.icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display:block;
  filter: none;
}

.icon--feature{width: 56px; height: 56px; mix-blend-mode: multiply;}
.icon--step{width: 24px; height: 24px; mix-blend-mode: multiply;}
.icon--btn{width: 18px; height: 18px; mix-blend-mode: multiply;}

/* Optional: slightly dim icons in dark mode if they feel too "sharp" */
html[data-theme="dark"] .icon{
  opacity: .95;
}

/* =========================
   Mobile nav drawer
   ========================= */
.nav-drawer {
  position: fixed;
  top: 114px;   /* 36px topbar + 78px header */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8fafc;
  color: #111827;
  border-top: 3px solid var(--brand);
  box-shadow: 0 8px 40px rgba(0,0,0,.20);
  /* hidden state: invisible + not interactive */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-drawer[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
html[data-theme="dark"] .nav-drawer {
  background: #0f172a;
  color: #e5e7eb;
}
.nav-drawer__inner {
  padding: 16px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-drawer__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-drawer__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #64748b;
  padding: 4px 14px 2px;
}
.nav-drawer__link {
  display: block;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(100,116,139,.22);
  background: rgba(100,116,139,.06);
  color: #111827;
  font-weight: 500;
}
.nav-drawer__link:hover {
  background: rgba(100,116,139,.12);
}
html[data-theme="dark"] .nav-drawer__link {
  color: #e5e7eb;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
html[data-theme="dark"] .nav-drawer__link:hover {
  background: rgba(255,255,255,.10);
}
.nav-drawer__cta {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.nav-drawer .btn--ghost { color: #111827; }
html[data-theme="dark"] .nav-drawer .btn--ghost { color: #e5e7eb; }

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .nav{display:none !important;}
  .nav-toggle{display:flex;margin-left:auto;}
  .header__actions{display:none !important;}
  .brand{margin-right: 0 !important; min-width: 0;}
  .hero__grid{grid-template-columns: 1fr; }
  .hero__title{font-size: 44px !important;}
  .hero__lead{font-size: 18px;}
  .grid-2{grid-template-columns: 1fr;}
  .login-card--business{order:2;}
  .login-card--debtor{order:1;}
  .hero{padding: 136px 0 48px;}
  .section{padding: 52px 0 64px;}
  .features-strip{padding-top: 52px; padding-bottom: 52px;}
  .footer__inner{flex-wrap: wrap;}
  /* Topbar: dölj telefon/e-post på smal skärm, visa utils */
  .topbar__left a.topbar__item{display:none;}
  .topbar__left .topbar__divider{display:none;}
  .topbar__left{display:none;}
  .topbar__inner{justify-content: space-between;}
  .topbar__utils{display:flex;}
  /* Dölj "Boka möte med oss" i mobilmenyn */
  .topbar__right a[href="boka-mote.html"],
  .topbar__right .topbar__divider:has(+ a[href="boka-mote.html"]){display:none;}
  /* Portal-sektionen */
  .portal-section{padding-top: 52px !important; padding-bottom: 52px !important;}
  .portal-demo__tabs{display: grid; grid-template-columns: 1fr 1fr; overflow-x: visible;}
}

@media (max-width: 520px){
  .container{width: min(var(--container), calc(100% - 28px));}
  .nav-drawer{ top: 114px; }
  .hero{padding-top: 128px;}
  .hero__title{font-size: 32px !important; line-height: 1.05; letter-spacing: -0.04em;}
  .hero__lead{font-size: 15px; line-height: 1.6;}
  .btn--lg{width:100%;}
  .hero__cta{flex-direction: column;}
  .section{padding: 38px 0 48px;}
  .features-strip{padding-top: 38px; padding-bottom: 38px;}
  .acc{font-size: 1rem; padding: 14px 16px;}
  .acc__chev{width:24px; height:24px; font-size: 14px;}
  .portal-section{padding-top: 38px !important; padding-bottom: 38px !important;}
  .portal-demo{padding: 0 4px;}
  .portal-demo__tabs{grid-template-columns: 1fr 1fr;}
  .portal-tab{padding: 10px 12px;}
  .portal-tab__title{font-size: 13px;}
  .portal-tab__desc{display:none;}
  /* Hero-foto: täck hela bilden mer jämnt på mobil */
  .hero__photo::after{
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.88) 60%,
      rgba(255,255,255,0.70) 100%
    ) !important;
  }
  html[data-theme="dark"] .hero__photo::after{
    background: linear-gradient(
      180deg,
      rgba(15,23,42,0.93) 0%,
      rgba(15,23,42,0.88) 60%,
      rgba(15,23,42,0.72) 100%
    ) !important;
  }
  /* Footer */
  .footer__inner{flex-direction: column; gap: 28px;}
}
/* =========================
   News filter bar
   ========================= */
.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.news-filter-btn {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  padding: 6px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.news-filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.news-filter-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.news-card[hidden] { display: none !important; }

/* =========================
/* Hero blob background
   ========================= */
.hero{ position: relative; overflow: hidden; }

/* Foto-bakgrund */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1509356843151-3e7d96241e11?w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.82) 45%,
    rgba(255,255,255,0.40) 100%
  );
}
html[data-theme="dark"] .hero__photo::after {
  background: linear-gradient(
    105deg,
    rgba(15,23,42,0.93) 0%,
    rgba(15,23,42,0.80) 45%,
    rgba(15,23,42,0.45) 100%
  );
}

.hero__bg{
  position: absolute;
  inset: -220px -140px auto -140px;
  height: 520px;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(closest-side at 25% 35%, rgba(32,201,151,.30), rgba(32,201,151,0) 70%),
    radial-gradient(closest-side at 70% 20%, rgba(16,185,129,.22), rgba(16,185,129,0) 68%),
    radial-gradient(closest-side at 55% 70%, rgba(15,23,42,.08), rgba(15,23,42,0) 72%);

  filter: blur(18px);
}

/* Make content sit above the blob */
.hero .container{ position: relative; z-index: 1; }

html[data-theme="dark"] .hero__bg{
  background:
    radial-gradient(closest-side at 25% 35%, rgba(32,201,151,.22), rgba(32,201,151,0) 70%),
    radial-gradient(closest-side at 70% 20%, rgba(16,185,129,.16), rgba(16,185,129,0) 68%),
    radial-gradient(closest-side at 55% 70%, rgba(255,255,255,.10), rgba(255,255,255,0) 72%);
  filter: blur(22px);
}
/* Active nav */
.nav__link--active{
  color: var(--text);
  background: rgba(100,116,139,.08);
}
html[data-theme="dark"] .nav__link--active{
  background: rgba(148,163,184,.10);
}

/* Page hero (undersidor) */
.page-hero{
  position: relative;
  padding: 130px 0 10px;
  overflow: hidden;
}
.page-hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}
.page-hero__title{
  margin: 12px 0 8px;
  font-size: 34px;
  letter-spacing: -0.02em;
}
.page-hero__lead{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}
@media (max-width: 980px){
  .page-hero__grid{grid-template-columns:1fr;}
}

/* betala side-extras column */
.betala-side-extras{
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}
.betala-extra-card{
  padding: 18px 20px;
}
.betala-extra-card .feature{
  gap: 14px;
}
@media (max-width: 980px){
  .betala-side-extras{
    flex-direction: row;
  }
  .betala-extra-card{
    flex: 1;
  }
}
@media (max-width: 640px){
  .betala-side-extras{
    flex-direction: column;
  }
}

/* Blob background */
.blob{
  position:absolute;
  inset: -120px -140px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(32,201,151,.45), rgba(32,201,151,0) 60%),
    radial-gradient(circle at 70% 60%, rgba(16,185,129,.35), rgba(16,185,129,0) 60%);
  filter: blur(8px);
  opacity:.65;
  pointer-events:none;
}
html[data-theme="dark"] .blob{
  opacity:.35;
}

/* Content helpers */
.kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 980px){ .kv{grid-template-columns:1fr;} }

.kv__box{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(100,116,139,.04);
}
html[data-theme="dark"] .kv__box{
  background: rgba(148,163,184,.06);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  color: var(--muted);
  font-size: 13px;
}
html[data-theme="dark"] .badge{background: rgba(15,23,42,.7);}

.list-clean{margin:0; padding-left: 16px; color: var(--muted); font-size: 14px;}
.list-clean li{margin: 6px 0;}

.table{
  width:100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td{
  text-align:left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.table th{color: var(--muted); font-weight: 700;}
/* ===== NAV DROPDOWNS ===== */
.nav--left{
  justify-content:flex-start;
  gap: 14px;
}

.navdrop{
  position: relative;
}

.navdrop__btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 17px;
  font-family: inherit;
  color: var(--text);
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.navdrop__btn:hover{
  color: var(--text);
  background: rgba(100,116,139,.08);
}

.navdrop__chev {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform .2s ease;
  transform: rotate(0deg);
}
.navdrop.is-open .navdrop__chev {
  transform: rotate(90deg);
}

/* Remove button shadows inside header so they don't bleed below the header edge */
.header .iconbtn,
.header .navdrop__btn {
  box-shadow: none;
}
.header .btn {
  font-weight: 600;
  letter-spacing: 0.06em;
}
.header .btn--primary {
  box-shadow: 0 2px 10px rgba(10, 130, 110, 0.35);
}

/* Logga in – visible border + subtle shadow in header */
.header .btn--ghost {
  border: 1.5px solid rgba(100, 116, 139, 0.35);
  box-shadow:
    4px 4px 10px rgba(160, 175, 195, 0.4),
    -3px -3px 8px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255,255,255,0.8);
}
.header .btn--ghost:hover {
  box-shadow:
    6px 7px 16px rgba(140, 158, 180, 0.55),
    -3px -3px 10px rgba(255, 255, 255, 1),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.header .btn--ghost:active {
  box-shadow:
    inset 3px 3px 7px rgba(160, 175, 195, 0.4),
    inset -2px -2px 6px rgba(255,255,255,0.8);
}
html[data-theme="dark"] .navdrop__btn:hover{
  background: rgba(148,163,184,.10);
}
html[data-theme="dark"] .header .btn--ghost {
  box-shadow:
    4px 4px 10px rgba(0, 0, 0, 0.45),
    -2px -2px 6px rgba(80, 100, 130, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Dark mode neumorphic buttons */
html[data-theme="dark"] .btn--primary {
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.5),
    -3px -3px 8px rgba(80, 200, 170, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
html[data-theme="dark"] .btn--primary:hover {
  box-shadow:
    8px 10px 20px rgba(0, 0, 0, 0.6),
    -3px -3px 10px rgba(80, 200, 170, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
html[data-theme="dark"] .btn--ghost {
  background: linear-gradient(145deg, #1e2d3d, #172233);
  color: var(--text);
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.5),
    -3px -3px 8px rgba(100, 120, 150, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
html[data-theme="dark"] .btn--ghost:hover {
  box-shadow:
    8px 10px 20px rgba(0, 0, 0, 0.6),
    -3px -3px 10px rgba(100, 120, 150, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

.navdrop__panel{
  position:absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid rgba(45,212,191,0.35);
  background: #e0f7f5;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
  display:none;
}
html[data-theme="dark"] .navdrop__panel{
  background: rgba(20, 60, 50, 0.95);
  border: 1.5px solid rgba(45,212,191,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
}

.navdrop__link{
  display:flex;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.navdrop__link:hover{
  background: rgba(13,148,136,0.15);
  color: #0d9488;
  padding-left: 18px;
}
html[data-theme="dark"] .navdrop__link:hover{
  background: rgba(45,212,191,0.15);
  color: #2dd4bf;
  padding-left: 18px;
}

.navdrop.is-open .navdrop__panel{
  display:block;
}

/* ===== FOOTER (Billogram-ish) ===== */
.footer{
  border-top: 1px solid var(--border);
  padding: 34px 0;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 34px;
  align-items:start;
}

.footer__brandcol .footer__muted{
  margin-top: 10px;
}
.footer__small{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer__col{
  display:flex;
  flex-direction:column;
  gap: 10px;
  color: var(--muted);
  font-size: 17px;
}
.footer__title{
  color: var(--text);
  font-weight: 800;
  margin-bottom: 6px;
}
.footer__col a:hover{
  color: var(--text);
}

@media (max-width: 980px){
  .footer__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========================
   FAQ Tabs
   ========================= */
.faq-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.faq-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 10px 20px;
  border-radius: 8px 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
}
.faq-tab:hover {
  color: var(--text);
  background: rgba(100,116,139,.06);
}
.faq-tab.active {
  color: var(--brand-2);
  border-bottom-color: var(--brand-2);
  background: rgba(45,212,191,.07);
}
.faq-panel {
  display: none;
  animation: faqFadeIn .2s ease;
}
.faq-panel.active {
  display: block;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .faq-tabs {
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    border-bottom: none;
    padding-bottom: 0;
  }
  .faq-tabs::-webkit-scrollbar { display: none; }
  .faq-tab {
    padding: 8px 14px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .faq-tab.active {
    background: var(--brand);
    color: #03241a;
    border-color: var(--brand);
  }
}

/* =========================
   Portal Interactive Demo
   ========================= */
.portal-demo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.portal-section {
  background: #D6EFE9;
}

html[data-theme="dark"] .portal-section {
  background: rgba(32, 201, 151, 0.1);
}

.portal-demo__header {
  text-align: center;
  margin-bottom: 32px;
}

.portal-demo__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.portal-demo__tabs::-webkit-scrollbar {
  display: none;
}

.portal-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: normal;
  color: var(--text);
  font-weight: 400;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.portal-tab:hover {
  color: var(--text);
  border-color: var(--text);
}

.portal-tab.active {
  background: #0d7a70;
  border-color: #0d7a70;
  color: #fff;
  font-weight: 300;
}

.portal-tab__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-tab__title {
  font-size: 15px;
  font-weight: 300;
}

.portal-tab__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.75;
}

.portal-tab.active .portal-tab__icon {
  opacity: 1;
}

.portal-tab__desc {
  font-size: 12px;
  opacity: 0.75;
  font-weight: 300;
  line-height: 1.3;
}

.portal-demo__display {
  width: 100%;
}

.portal-demo__image-container {
  position: relative;
  width: 100%;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

html[data-theme="dark"] .portal-demo__image-container {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0,0,0,.2);
  border-color: rgba(255,255,255,.07);
}

.portal-demo__image {
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  display: block;
  object-fit: contain;
  opacity: 0;
  position: absolute;
  top: 16px;
  left: 16px;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.portal-demo__image.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 980px) {
  .portal-demo__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: visible;
  }
}

@media (max-width: 520px) {
  .portal-demo__tabs {
    gap: 4px;
  }
  
  .portal-tab {
    padding: 10px 12px;
    font-size: 13px;
  }

  .portal-tab__desc {
    display: none;
  }
}

/* =============================================
   INKASSO PAGE – NEW COMPONENTS
   ============================================= */

/* Before/After comparison */
.inkasso-compare {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.inkasso-compare__col {
  flex: 1;
  border-radius: 12px;
  padding: 18px 16px;
  font-size: 14px;
}
.inkasso-compare__col ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inkasso-compare__col ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.inkasso-compare__col--before {
  background: #fff4f4;
  border: 1.5px solid #fbc4c4;
}
.inkasso-compare__col--before ul li::before {
  background: #e05252;
}
.inkasso-compare__col--after {
  background: #f0fdf9;
  border: 1.5px solid #a7eadc;
}
.inkasso-compare__col--after ul li::before {
  background: #4aaba0;
}
.inkasso-compare__label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
html[data-theme="dark"] .inkasso-compare__col--before {
  background: rgba(224,82,82,.10);
  border-color: rgba(224,82,82,.25);
}
html[data-theme="dark"] .inkasso-compare__col--after {
  background: rgba(15,184,164,.08);
  border-color: rgba(15,184,164,.25);
}
@media (max-width: 640px) {
  .inkasso-compare { flex-direction: column; }
}

/* Process track */
/* ====== Premium Process Flow ====== */
.pflow-section {
  background: linear-gradient(180deg, var(--bg) 0%, #f2f8f6 100%);
}
.pflow-header {
  text-align: center;
  margin-bottom: 48px;
}
.pflow-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 12px;
}
.pflow-flow {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Main row */
.pflow-main-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}
.pflow-node {
  flex: 1;
  max-width: 220px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pflow-node:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.pflow-num {
  position: absolute;
  top: -11px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #03241a;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}
.pflow-num--sm {
  top: 10px;
  right: 14px;
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.pflow-num--amber {
  background: #fbbf24;
  color: #78350f;
}
.pflow-num--final {
  background: var(--brand-2);
  color: #fff;
}
.pflow-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(125, 208, 200, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-2);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.pflow-icon--final {
  background: rgba(74, 171, 160, 0.18);
  color: var(--brand-2);
}
.pflow-node__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.3;
}
.pflow-node__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
/* Chevron connector */
.pflow-chevron {
  display: flex;
  align-items: center;
  color: var(--border);
  padding: 0 4px;
  flex-shrink: 0;
  align-self: center;
}
/* Vertical connector */
.pflow-vconnect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}
.pflow-vconnect__line {
  width: 2px;
  height: 18px;
  background: var(--border);
  border-radius: 1px;
}
.pflow-vconnect__badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
}
.pflow-vconnect__badge--merge {
  color: var(--brand-2);
  border-color: rgba(74, 171, 160, 0.3);
  background: rgba(125, 208, 200, 0.08);
}
/* Branch row */
.pflow-branch-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}
.pflow-branch-node {
  flex: 1;
  max-width: 300px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pflow-branch-node:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.pflow-branch-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pflow-branch-header--green {
  background: rgba(74, 171, 160, 0.1);
  color: #1a5c45;
  border-bottom: 1.5px solid rgba(74, 171, 160, 0.2);
}
.pflow-branch-header--amber {
  background: rgba(251, 191, 36, 0.1);
  color: #92400e;
  border-bottom: 1.5px solid rgba(251, 191, 36, 0.22);
}
.pflow-branch-content {
  background: var(--surface);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
/* Branch or-divider */
.pflow-branch-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.pflow-branch-divider__line {
  width: 1.5px;
  flex: 1;
  min-height: 20px;
  background: var(--border);
}
/* Final node */
.pflow-final-row {
  display: flex;
  justify-content: center;
  width: 100%;
}
.pflow-final-node {
  max-width: 300px;
  width: 100%;
  background: linear-gradient(135deg, rgba(125, 208, 200, 0.08) 0%, var(--surface) 60%);
  border: 1.5px solid rgba(74, 171, 160, 0.32);
  border-radius: 20px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pflow-final-node:hover {
  box-shadow: 0 8px 28px rgba(74, 171, 160, 0.14);
  transform: translateY(-2px);
}
/* Responsive */
@media (max-width: 700px) {
  .pflow-main-row {
    flex-direction: column;
    align-items: stretch;
  }
  .pflow-node {
    max-width: 100%;
  }
  .pflow-chevron {
    transform: rotate(90deg);
    justify-content: center;
    padding: 2px 0;
  }
  .pflow-branch-row {
    flex-direction: column;
    align-items: stretch;
  }
  .pflow-branch-node {
    max-width: 100%;
  }
  .pflow-branch-divider {
    flex-direction: row;
    padding: 4px 0;
    width: 100%;
  }
  .pflow-branch-divider__line {
    height: 1.5px;
    width: 100%;
    min-height: auto;
    flex: 1;
  }
  .pflow-final-node {
    max-width: 100%;
  }
  .pflow-vconnect__badge {
    font-size: 10px;
    padding: 3px 10px;
  }
}

/* ====== Inkasso Process Flow (Multi-path) ====== */
.ipflow {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.ipflow__header {
  text-align: center;
  margin-bottom: 52px;
}
.ipflow__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 12px;
}
.ipflow__intro {
  max-width: 54ch;
  margin: 10px auto 0;
}

/* ── Connector SVG wrappers ── */
.ipflow__connector-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}
.ipflow__connector-svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.ipflow__connector-wrap--l1l2 { height: 70px; }
.ipflow__connector-wrap--l2l3 { height: 70px; }
.ipflow__connector-wrap--l3l4 { height: 70px; }
.ipflow__connector-wrap--l4l5 { height: 80px; }

/* ── Layers ── */
.ipflow__layer {
  display: grid;
  gap: 28px;
}
.ipflow__layer--top {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
}
.ipflow__layer--outcomes {
  grid-template-columns: repeat(2, 1fr);
  /* offset right so 05+06 are centred under card 03 in the 4-col top row */
  padding-left: 25%;
}
.ipflow__layer--assess {
  grid-template-columns: 1fr;
  /* centre 07 horizontally under 03/05+06 */
  padding-left: 37.5%;
  padding-right: 12.5%;
}
.ipflow__layer--actions {
  grid-template-columns: repeat(4, 1fr);
}
.ipflow__layer--final {
  display: flex;
  justify-content: center;
}

/* Horizontal arrow between top-row steps */
.ipflow__h-arrow {
  color: rgba(74, 171, 160, 0.65);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  align-self: center;
}

/* ── Cards ── */
.ipflow__card {
  background: var(--surface);
  border: 1.5px solid #c4d6e4;
  border-radius: 22px;
  padding: 38px 28px 32px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.22s, transform 0.22s;
}
.ipflow__card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.ipflow__card--wide {
  /* step 07: uses full grid cell */
}
.ipflow__card--final {
  max-width: 480px;
  width: 100%;
  flex-direction: row;
  gap: 20px;
  text-align: left;
  padding: 28px 32px;
}
.ipflow__final-body {
  flex: 1;
}

/* Step number pill */
.ipflow__num {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #03241a;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
  border: 2px solid var(--surface);
  white-space: nowrap;
  line-height: 1.4;
}
.ipflow__card--final .ipflow__num {
  left: 32px;
  transform: none;
}

/* Icon */
.ipflow__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  flex-shrink: 0;
}
.ipflow__card--final .ipflow__icon {
  margin: 0;
}

/* Color variants — neutral (01–03, default) */
.ipflow__icon--neutral {
  background: rgba(125, 208, 200, 0.13);
  color: var(--brand-2);
}
.ipflow__card--neutral {
  border-color: #c4d6e4;
}
/* Green — step 04 */
.ipflow__icon--green {
  background: rgba(34, 197, 94, 0.10);
  color: #15803d;
}
.ipflow__card--green {
  border-color: rgba(34, 197, 94, 0.25);
}
.ipflow__card--green .ipflow__num {
  background: #bbf7d0;
  color: #14532d;
}
/* Amber — steps 05–06 */
.ipflow__icon--amber {
  background: rgba(217, 119, 6, 0.09);
  color: #b45309;
}
.ipflow__card--amber {
  border-color: rgba(217, 119, 6, 0.22);
}
.ipflow__card--amber .ipflow__num {
  background: #fde68a;
  color: #713f12;
}
/* Mid highlight — step 07 */
.ipflow__icon--mid {
  background: rgba(99, 102, 241, 0.09);
  color: #4338ca;
}
.ipflow__card--mid {
  border-color: rgba(99, 102, 241, 0.22);
  background: linear-gradient(135deg, rgba(99,102,241,0.04) 0%, var(--surface) 70%);
}
.ipflow__card--mid .ipflow__num {
  background: #e0e7ff;
  color: #312e81;
}
/* Gold — steps 08–11 */
.ipflow__icon--gold {
  background: rgba(180, 140, 50, 0.09);
  color: #92610a;
}
.ipflow__card--gold {
  border-color: rgba(180, 140, 50, 0.22);
}
.ipflow__card--gold .ipflow__num {
  background: #fef9c3;
  color: #713f12;
}
/* Teal — step 12 */
.ipflow__icon--teal {
  background: rgba(74, 171, 160, 0.14);
  color: var(--brand-2);
}
.ipflow__card--teal {
  border-color: rgba(74, 171, 160, 0.35);
  background: linear-gradient(135deg, rgba(74, 171, 160, 0.07) 0%, var(--surface) 70%);
}
.ipflow__card--teal .ipflow__num {
  background: var(--brand);
  color: #03241a;
}

/* Path label badge inside outcome cards */
.ipflow__path-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.ipflow__path-label--green {
  background: rgba(34, 197, 94, 0.10);
  color: #15803d;
}
.ipflow__path-label--amber {
  background: rgba(217, 119, 6, 0.10);
  color: #b45309;
}

/* Card typography */
.ipflow__card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 9px;
  line-height: 1.35;
}
.ipflow__card-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Scroll-reveal animation ── */
.ipflow__fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ipflow__fade.ipflow--visible {
  opacity: 1;
  transform: none;
}

/* ── Dark mode adjustments ── */
html[data-theme="dark"] .ipflow {
  background: var(--surface);
}
html[data-theme="dark"] .ipflow__connector-svg line,
html[data-theme="dark"] .ipflow__connector-svg path {
  stroke: rgba(125, 208, 200, 0.35);
}
html[data-theme="dark"] .ipflow__h-arrow {
  color: rgba(125, 208, 200, 0.5);
}

/* ====== Process Flow V2 – beslutsträdslayout (ipf2) ====== */
.ipf2 {
}
.ipf2__header {
  text-align: center;
  margin-bottom: 48px;
}
.ipf2__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 12px;
}
.ipf2__intro {
  max-width: 54ch;
  margin: 10px auto 0;
}

/* ── Rows ── */
.ipf2__row {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.ipf2__row--top {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.ipf2__row--top .ipf2__card {
  flex: 0 1 300px;
}
.ipf2__row--branch {
  grid-template-columns: repeat(3, 1fr);
}
.ipf2__row--hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ipf2__row--hub .ipf2__card:first-child {
  grid-column: 2;
}
.ipf2__row--hub .ipf2__card:last-child {
  grid-column: 3;
}
.ipf2__row--actions {
  grid-template-columns: repeat(3, 1fr);
}
.ipf2__row--branch .ipf2__card,
.ipf2__row--hub .ipf2__card,
.ipf2__row--actions .ipf2__card {
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.ipf2__row--final {
  display: flex;
  justify-content: center;
}

/* ── Arrow between top-row steps ── */
.ipf2__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  color: rgba(74, 171, 160, 0.65);
  flex-shrink: 0;
  align-self: center;
}

/* ── SVG connectors ── */
.ipf2__conn {
  position: relative;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 12px;
}
.ipf2__conn svg {
  display: block;
  width: 100%;
  height: 60px;
  overflow: visible;
}

/* ── Cards ── */
.ipf2__card {
  background: var(--surface);
  border: 2.5px solid #c4d6e4;
  border-radius: 11px;
  padding: 12px 12px 10px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.22s, transform 0.22s;
}
.ipf2__card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.ipf2__card--final {
  max-width: 500px;
  width: 100%;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 18px 24px;
}
.ipf2__final-body {
  flex: 1;
}

/* ── Number badge ── */
.ipf2__num {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #03241a;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 999px;
  border: 2px solid var(--surface);
  white-space: nowrap;
  line-height: 1.4;
}
.ipf2__num--green { background: #bbf7d0; color: #14532d; }
.ipf2__num--amber { background: #fde68a; color: #713f12; }
.ipf2__num--mid   { background: #e0e7ff; color: #312e81; }
.ipf2__num--gold  { background: #fef9c3; color: #713f12; }
.ipf2__num--teal  { background: var(--brand); color: #03241a; }
.ipf2__card--final .ipf2__num {
  left: 30px;
  transform: none;
}

/* ── Icon ── */
.ipf2__icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  flex-shrink: 0;
}
.ipf2__card--final .ipf2__icon {
  margin: 0;
}

/* Color variants */
.ipf2__icon--neutral { background: rgba(125, 208, 200, 0.25); color: var(--brand-2); }
.ipf2__card--neutral { border-color: #a8ccd8; background: rgba(125, 208, 200, 0.12); }

.ipf2__icon--green   { background: rgba(34, 197, 94, 0.22); color: #15803d; }
.ipf2__card--green   { border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.10); }

.ipf2__icon--amber   { background: rgba(217, 119, 6, 0.20); color: #b45309; }
.ipf2__card--amber   { border-color: rgba(217, 119, 6, 0.32); background: rgba(217, 119, 6, 0.09); }

.ipf2__icon--mid     { background: rgba(99, 102, 241, 0.20); color: #4338ca; }
.ipf2__card--mid     { border-color: rgba(99, 102, 241, 0.32); background: rgba(99, 102, 241, 0.09); }

.ipf2__icon--gold    { background: rgba(180, 140, 50, 0.22); color: #92610a; }
.ipf2__card--gold    { border-color: rgba(180, 140, 50, 0.32); background: rgba(180, 140, 50, 0.09); }

.ipf2__icon--teal    { background: rgba(74, 171, 160, 0.25); color: var(--brand-2); }
.ipf2__card--teal    { border-color: rgba(74, 171, 160, 0.45); background: rgba(74, 171, 160, 0.13); }

/* ── Status badge ── */
.ipf2__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.ipf2__badge--green { background: rgba(34, 197, 94, 0.10); color: #15803d; }
.ipf2__badge--amber { background: rgba(217, 119, 6, 0.10); color: #b45309; }

/* ── Typography ── */
.ipf2__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.35;
}
.ipf2__text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Details toggle ── */
.ipf2__toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.ipf2__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.ipf2__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ipf2__toggle-track {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.ipf2__toggle input:checked + .ipf2__toggle-track {
  background: var(--brand-2);
}
.ipf2__toggle input:focus-visible + .ipf2__toggle-track {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
.ipf2__toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.2s;
}
.ipf2__toggle input:checked + .ipf2__toggle-track .ipf2__toggle-thumb {
  transform: translateX(20px);
}
.ipf2__toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Hide details when toggle is off */
.ipf2--hide-details .ipf2__text,
.ipf2--hide-details .ipf2__icon {
  display: none;
}

/* ── Dark mode ── */
html[data-theme="dark"] .ipf2__conn svg line,
html[data-theme="dark"] .ipf2__conn svg path {
  stroke: rgba(125, 208, 200, 0.35) !important;
}
html[data-theme="dark"] .ipf2__arrow {
  color: rgba(125, 208, 200, 0.5);
}

/* ── Responsive: tablet ── */
@media (max-width: 960px) {
  .ipf2__row--actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .ipf2__row--branch .ipf2__card,
  .ipf2__row--hub .ipf2__card,
  .ipf2__row--actions .ipf2__card {
    max-width: 100%;
  }
  .ipf2__row--hub .ipf2__card:first-child,
  .ipf2__row--hub .ipf2__card:last-child {
    grid-column: auto;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 640px) {
  .ipf2__conn { display: none; }

  .ipf2__row {
    margin-top: 0;
    margin-bottom: 0;
    gap: 10px;
  }

  /* vertical line between row groups */
  .ipf2__row--top,
  .ipf2__row--branch,
  .ipf2__row--hub {
    padding-bottom: 24px;
    position: relative;
  }
  .ipf2__row--top::after,
  .ipf2__row--branch::after,
  .ipf2__row--hub::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(74,171,160,0.5);
  }

  /* top row: center the single card */
  .ipf2__row--top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ipf2__row--top .ipf2__card {
    width: 100%;
    max-width: 340px;
    flex: none;
  }

  /* all other rows: 1 column, centered cards */
  .ipf2__row--branch,
  .ipf2__row--hub,
  .ipf2__row--actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: unset;
  }
  .ipf2__row--branch .ipf2__card,
  .ipf2__row--hub .ipf2__card,
  .ipf2__row--actions .ipf2__card {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .ipf2__row--hub .ipf2__card:first-child,
  .ipf2__row--hub .ipf2__card:last-child {
    grid-column: 1;
  }

  .ipf2__card--final {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
    padding: 28px 20px 24px;
    gap: 12px;
  }
  .ipf2__card--final .ipf2__icon { margin: 0 auto; }
  .ipf2__card--final .ipf2__num { left: 50%; transform: translateX(-50%); }
  .ipf2__final-body { text-align: center; }

  .ipf2__toggle-wrap { margin-bottom: 24px; }
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 960px) {
  .ipflow__layer--actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .ipflow__layer--outcomes {
    padding-left: 10%;
  }
  .ipflow__layer--assess {
    padding-left: 20%;
    padding-right: 5%;
  }
}

/* Mobile */
@media (max-width: 640px) {
  /* Hide all connector SVGs on mobile */
  .ipflow__connector-wrap {
    display: none;
  }
  /* Stack layer-top as vertical column */
  .ipflow__layer--top {
    grid-template-columns: 1fr;
  }
  .ipflow__h-arrow {
    display: flex;
    justify-content: center;
    transform: rotate(90deg);
    margin: 4px auto;
  }
  /* Stack outcome cards, remove offset */
  .ipflow__layer--outcomes {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  /* Assess: full width on mobile */
  .ipflow__layer--assess {
    padding-left: 0;
    padding-right: 0;
  }
  /* Actions: 2 columns on mobile for compactness */
  .ipflow__layer--actions {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Final: full width */
  .ipflow__card--final {
    max-width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .ipflow__card--final .ipflow__icon {
    margin: 0 auto;
  }
  .ipflow__final-body {
    text-align: center;
  }
  .ipflow__card--final .ipflow__num {
    left: 50%;
    transform: translateX(-50%);
  }
  /* Add simple vertical connector hint between stacked layers */
  .ipflow__layer {
    position: relative;
  }
  .ipflow__layer + .ipflow__layer::before {
    content: '';
    display: block;
    width: 2px;
    height: 24px;
    background: rgba(74, 171, 160, 0.35);
    margin: 0 auto -12px;
    border-radius: 1px;
  }
}

/* Why-grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
}
.why-card:hover {
}
.why-card__title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}
.why-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Related links */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.related-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 180px;
  flex: 1 1 200px;
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.related-link:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px 0 rgba(32,40,60,.07);
  transform: translateY(-1px);
}
.related-link__title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.related-link__desc {
  font-size: 13px;
  color: var(--muted);
}

/* ==============================================
   InkassoPotentialCalculator
   ============================================== */
.calc-section {
  background: #fff;
  padding-top: 72px;
  padding-bottom: 72px;
}

html[data-theme="dark"] .calc-section {
  background: var(--surface);
}

#inkasso-calculator {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

.calc-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e6edf5);
  border-radius: 20px;
  padding: 36px 40px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

@media (max-width: 520px) {
  .calc-card {
    padding: 24px 20px 24px;
  }
}

.calc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text, #0f172a);
  margin: 0 0 6px;
}

.calc-sub {
  font-size: 14px;
  color: var(--muted, #475569);
  margin: 0 0 28px;
  line-height: 1.5;
}

.calc-field {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #0f172a);
  margin-bottom: 8px;
}

.calc-field-hint {
  font-size: 12px;
  color: var(--muted, #475569);
  margin: -4px 0 10px;
  line-height: 1.5;
}

/* Slider */
.calc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-slider-axis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted, #475569);
}

.calc-mix-label {
  background: var(--brand, #2dd4bf);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 99px;
  padding: 3px 10px;
  white-space: nowrap;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    var(--brand, #2dd4bf) 0%,
    var(--brand, #2dd4bf) var(--val, 50%),
    var(--border, #e6edf5) var(--val, 50%),
    var(--border, #e6edf5) 100%
  );
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand, #2dd4bf);
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
  cursor: grab;
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand, #2dd4bf);
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
  cursor: grab;
}

/* Number input */
.calc-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid var(--border, #e6edf5);
  border-radius: 10px;
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  outline: none;
  transition: border-color 0.15s;
}

.calc-input:focus {
  border-color: var(--brand, #2dd4bf);
}

/* Results box */
.calc-results {
  background: #f7fbfa;
  border: 1px solid rgba(45, 212, 191, .25);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html[data-theme="dark"] .calc-results {
  background: rgba(45, 212, 191, .07);
}

.calc-result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
}

.calc-result-label {
  color: var(--muted, #475569);
  flex-shrink: 0;
}

.calc-result-value {
  font-weight: 700;
  font-size: 17px;
  color: var(--text, #0f172a);
}

.calc-result-interval {
  font-size: 13px;
  color: var(--muted, #475569);
}

/* Bar */
.calc-bar-wrap {
  margin-top: 4px;
}

.calc-bar-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted, #475569);
  margin-bottom: 4px;
}

.calc-bar-track {
  position: relative;
  height: 14px;
  background: var(--border, #e6edf5);
  border-radius: 7px;
  overflow: hidden;
}

.calc-bar-range {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(45, 212, 191, .28);
  border-radius: 7px;
}

.calc-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--brand, #2dd4bf);
  border-radius: 7px;
  transition: width 0.2s ease;
}

.calc-info {
  font-size: 12px;
  color: var(--muted, #475569);
  line-height: 1.5;
}

/* =========================
   Responsive services grid + kunder grid (index pages)
   ========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.kunder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .kunder-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .kunder-grid { grid-template-columns: 1fr; }
}

/* Shared section label + heading (index pages news/kunder sections) */
.sec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin: 0 0 6px;
}
.sec-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 4px;
}


/* Hide Telavox widget UI � keep iframe alive for real-time open/closed status */
#tvx-customer-widget-container { visibility: hidden !important; pointer-events: none !important; }
