/* ============================================================
   Lipio Man - styles.css (v3 ljus)
   Awwwards-struktur i ljus palett: vitt + pastellblatt + vanligt blatt,
   koppar-orange som brytfarg pa knappar. Satoshi + Instrument Serif.
   GSAP-motion i anim.js. Vanilla CSS.
   ============================================================ */

@font-face{
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root{
  --bg:           #F7FAFE;   /* vitt med blaton */
  --bg-soft:      #FFFFFF;
  --surface:      #FFFFFF;
  --tint-1:       #EAF1FB;   /* pastellblatt ljus */
  --tint-2:       #DCE9F8;   /* pastellblatt djupare */

  --text:         #0F1E33;   /* marin/ink */
  --text-soft:    #46556F;
  --muted:        #7E8BA3;

  --blue:         #2F6BFF;   /* vanligt blatt */
  --blue-deep:    #1F57E6;
  --blue-tint:    #EAF0FF;
  --blue-ring:    rgba(47,107,255,0.28);

  /* Brytfarg , endast knappar/CTA */
  --accent:       #D9722E;
  --accent-hover: #C4631F;
  --accent-tint:  #FBEEE3;
  --accent-ring:  rgba(217,114,46,0.35);

  --copper:       var(--accent);
  --copper-hover: var(--accent-hover);
  --copper-tint:  var(--accent-tint);

  --border:        #DCE5F1;
  --border-strong: #C2D0E4;
  --star:          #E8A33D;
  --success:       #1F9D6B;

  --r-sm: 10px; --r-md: 14px; --r-lg: 24px; --r-pill: 999px;
  --shadow-card: 0 18px 50px -16px rgba(26,48,92,0.16), 0 2px 6px rgba(26,48,92,0.06);
  --shadow-cta:  0 10px 26px rgba(217,114,46,0.32);

  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --container: min(560px, 92vw);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-head: 'Satoshi', system-ui, -apple-system, sans-serif;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
#sa-fungerar, #pris, #vad-ar-trt, #sakerhet, #faq{ scroll-margin-top: 96px; }
body{
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background-color: #F7FAFE;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before{
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 660px at 85% -8%, rgba(47,107,255,0.10), transparent 56%),
    radial-gradient(900px 600px at -10% 30%, rgba(220,233,248,0.85), transparent 60%),
    linear-gradient(180deg, #FBFCFF 0%, #F2F7FD 50%, #FBFCFF 100%);
  pointer-events: none;
}
body::after{
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 1;
}
.app{ position: relative; z-index: 2; min-height: 100dvh; display: flex; flex-direction: column; max-width: 100%; }
a{ color: inherit; }
:focus-visible{ outline: 3px solid var(--blue-ring); outline-offset: 2px; border-radius: 6px; }

/* ---------- Floating glass-pill nav ---------- */
.topbar{
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.7rem 0.55rem 1.3rem;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(220,229,241,0.9);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 36px -14px rgba(26,48,92,0.22);
}
.topnav{ display: flex; gap: clamp(0.9rem, 1.8vw, 1.6rem); }
.topnav a{ color: var(--text-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color .2s; white-space: nowrap; }
.topnav a:hover{ color: var(--blue); }
@media (max-width: 900px){ .topnav{ display: none; } }

/* ---------- HERO: Editorial split (text vanster, fotokort hoger) ---------- */
.hero-screen{
  position: relative;
  display: grid;
  place-items: center;
  min-height: 96dvh;
  padding: clamp(6.5rem, 14vh, 9rem) clamp(1.2rem, 4vw, 2.4rem) clamp(3.5rem, 8vh, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-wash{ display: none; }
.hero-grid{
  position: relative; z-index: 2;
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-photo{
  position: relative; inset: auto; z-index: 1;
  align-self: stretch; min-height: clamp(440px, 64vh, 640px);
  border-radius: 28px;
  background-image: url("/images/hero-portrait.jpg?v=1");
  background-size: cover; background-position: center top;
  background-color: var(--tint-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  will-change: transform;
}
.stage{ width: 100%; max-width: 600px; min-width: 0; position: relative; }
.stage .fs-card, .stage .fs-loader{ max-width: 600px; }

.intro{ text-align: left; }
.intro-h{
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: 0.98;
  letter-spacing: -0.03em; margin: 0 0 1.3rem; color: var(--text);
  text-wrap: balance;
}
.intro-h .accent{
  display: block;
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.intro-sub{
  color: var(--text-soft); font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.6;
  max-width: 480px; margin: 0;
}
/* Editorial split: inga ikon-badges (DOM kvar for flow-maskinen) */
.intro .badges{ display: none; }
.intro-actions{
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  max-width: none; margin: 2.2rem 0 0;
}
.intro-trust{
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--muted); font-size: 0.85rem; margin-top: 1.7rem;
}
.intro-trust svg{ width: 16px; height: 16px; fill: none; stroke: var(--success); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.hero-cue{
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px;
  border: 1.5px solid var(--border-strong); border-radius: 14px;
}
.hero-cue span{
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 2px; background: var(--blue);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue{ 0%{ transform: translateY(0); opacity: 1; } 70%{ transform: translateY(14px); opacity: 0; } 100%{ opacity: 0; } }

@media (max-width: 980px){
  .hero-screen{ min-height: 0; padding-top: 6.5rem; }
  .hero-grid{ grid-template-columns: 1fr; gap: 2rem; max-width: 560px; }
  .stage{ order: 1; max-width: 100%; }
  .hero-photo{ order: 2; min-height: 440px; }
  .intro{ text-align: center; }
  .intro-sub{ margin-left: auto; margin-right: auto; }
  .intro-actions{ justify-content: center; }
  .hero-cue{ display: none; }
}

/* ---------- Infinite marquee ---------- */
.marquee{
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background: var(--tint-1);
}
.mq-track{
  display: flex; align-items: center; gap: 2.6rem;
  width: max-content;
  animation: mq 30s linear infinite;
}
.mq-i{
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(15,30,51,0.55);
  white-space: nowrap;
}
.mq-dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; opacity: 0.75; }
@keyframes mq{ to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .mq-track{ animation: none; } }

/* ---------- Sections ---------- */
.section{ padding: clamp(7rem, 14vh, 11rem) clamp(1.2rem, 4vw, 2.4rem); position: relative; }
.section-inner{ max-width: 1140px; margin: 0 auto; }
.section-narrow{ max-width: 760px; }
.section-eyebrow{ color: var(--blue); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; margin: 0 0 0.8rem; }
.section-h{
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.025em;
  color: var(--text); margin: 0 0 1.6rem; text-wrap: balance; line-height: 1.02;
}
.section-note{ color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 1.4rem 0 0; }

/* ---------- Gapless bento (3 kol x 2 rader, dense) ---------- */
.bento{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  grid-auto-flow: dense;
  gap: 14px;
}
.b-card{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  margin: 0;
  overflow: hidden;
  box-shadow: 0 8px 30px -14px rgba(26,48,92,0.12);
}
.b-media{ grid-column: 1; grid-row: 1 / span 2; padding: 0; background: var(--tint-2); }
.b-media img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.0);
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.b-media:hover img{ transform: scale(1.05); }
.b-trt{ grid-column: 2 / span 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; background: var(--tint-1); border-color: var(--tint-2); }
.b-h{
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em;
  margin: 0 0 0.9rem; color: var(--text);
}
.b-text{ color: var(--text-soft); line-height: 1.7; font-size: 1.02rem; margin: 0; max-width: 58ch; }
.b-sub{ font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text); margin: 0 0 1rem; }

.b-price{
  grid-column: 2; grid-row: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  background: linear-gradient(165deg, #3B72E8 0%, #1F57E6 100%);
  border-color: rgba(31,87,230,0.4);
  box-shadow: 0 18px 44px -14px rgba(31,87,230,0.45);
}
.b-price .section-eyebrow{ color: rgba(255,255,255,0.8); }
.price-line{ margin: 0.2rem 0 0.2rem; }
.price-amt{
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -0.01em;
  color: #FFFFFF;
}
.price-per{ color: rgba(255,255,255,0.85); font-size: 0.95rem; margin: 0 0 0.7rem; }
.price-note{ color: rgba(255,255,255,0.72); font-size: 0.8rem; line-height: 1.55; margin: 0 0 1.2rem; }
.b-price .btn{ width: auto; }

.b-inc{ grid-column: 3; grid-row: 2; display: flex; flex-direction: column; }
.inc-list{ list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 0.6rem; }
.inc-list li{ position: relative; padding-left: 1.8rem; color: var(--text); line-height: 1.4; font-size: 0.95rem; }
.inc-list li::before{ content: ""; position: absolute; left: 0; top: 1px; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 0.75rem no-repeat; }
.pay-badges{ margin-top: auto; display: inline-flex; align-items: center; align-self: flex-start; background: var(--tint-1); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 0.45rem 0.85rem; }
.pay-badges ul{ list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.65rem; }
.pay-badges svg{ height: 18px; width: auto; display: block; }

@media (max-width: 900px){
  .bento{ grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-media{ grid-column: auto; grid-row: auto; min-height: 380px; }
  .b-trt, .b-price, .b-inc{ grid-column: auto; grid-row: auto; }
}

/* ---------- Pinned split: Sa fungerar det ---------- */
.hiw-wrap{
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.hiw-left .section-h{ margin-bottom: 2rem; }
@media (min-width: 901px){
  .hiw-left{ position: sticky; top: 120px; }
}
.hiw-line{ width: 120px; height: 3px; background: var(--tint-2); border-radius: 2px; overflow: hidden; }
.hiw-line span{ display: block; height: 100%; width: 0%; background: var(--blue); border-radius: 2px; }
.hiw-right{ display: grid; gap: 0; }
.step{
  display: grid; grid-template-columns: 84px 1fr; gap: 1.3rem;
  padding: clamp(2.2rem, 6vh, 3.4rem) 0;
  border-top: 1px solid var(--border);
}
.step:last-child{ border-bottom: 1px solid var(--border); }
.step-num{
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--blue);
}
.step-t{ font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--text); margin: 0.3rem 0 0.5rem; }
.step-d{ color: var(--text-soft); font-size: 1rem; line-height: 1.65; margin: 0; max-width: 50ch; }
@media (max-width: 900px){
  .hiw-wrap{ grid-template-columns: 1fr; gap: 1.4rem; }
  .step{ grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.6rem 0; }
}

/* ---------- Sakerhet (scrub text) ---------- */
.saf{ background: var(--tint-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.saf-lede{
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; letter-spacing: -0.02em;
  color: var(--text); margin: 0 0 1.8rem; max-width: 30ch;
}
.saf-lede .w{ display: inline-block; }
.safe-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.safe-list li{ position: relative; padding-left: 1.7rem; color: var(--text-soft); line-height: 1.5; }
.safe-list li::before{ content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- Testimonial ---------- */
.testimonial{
  background: var(--bg-soft);
  padding: clamp(5rem, 11vh, 8rem) clamp(1.2rem, 4vw, 2.4rem);
}
.testi-inner{ max-width: 820px; margin: 0 auto; text-align: center; }
.stars{ display: flex; justify-content: center; gap: 5px; margin-bottom: 1.4rem; }
.stars svg{ width: 20px; height: 20px; fill: var(--star); }
.testi-quote{
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.05;
  letter-spacing: -0.01em; margin: 0 0 1.2rem; color: var(--text);
}
.testi-body{ color: var(--text-soft); line-height: 1.7; font-size: 1.05rem; margin: 0 auto 1.6rem; max-width: 54ch; }
.testi-attr{ margin: 0; }
.testi-name{ display: block; font-weight: 700; }
.testi-meta{ color: var(--muted); font-size: 0.88rem; }
.testi-disclaimer{ color: var(--muted); font-size: 0.74rem; margin: 0.9rem 0 0; }

/* ---------- FAQ (hairlines) ---------- */
.faq{ display: grid; gap: 0; }
.faq-item{ border: none; border-top: 1px solid var(--border); border-radius: 0; background: transparent; overflow: hidden; }
.faq-item:last-child{ border-bottom: 1px solid var(--border); }
.faq-q{ width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: none; cursor: pointer; padding: 1.3rem 0.2rem; color: var(--text); font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; text-align: left; transition: color .2s; }
.faq-q:hover{ color: var(--blue); }
.faq-q svg{ width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.faq-item.open .faq-q svg{ transform: rotate(180deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a p{ margin: 0; padding: 0 0.2rem 1.4rem; color: var(--text-soft); line-height: 1.65; max-width: 62ch; }

/* ---------- Massiv slut-CTA med inline-bild ---------- */
.cta-final{ text-align: center; }
.cta-inner{ max-width: min(1100px, 94vw); }
.cta-h{
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem); line-height: 1.04;
  letter-spacing: -0.015em; color: var(--text);
  margin: 0 0 2.4rem; text-wrap: balance;
}
.cta-accent{ font-style: italic; color: var(--blue); }
.cta-pill{
  display: inline-block; vertical-align: middle;
  width: clamp(72px, 9vw, 130px); height: clamp(40px, 4.6vw, 64px);
  border-radius: var(--r-pill);
  background: url("/images/hero-portrait.jpg?v=1") 50% 14% / 180% no-repeat;
  border: 1px solid var(--border-strong);
  box-shadow: 0 6px 18px -6px rgba(26,48,92,0.25);
  margin: 0 0.35rem; position: relative; top: -0.06em;
}
.btn-xl{ min-height: 68px; padding: 0 2.4rem; font-size: 1.15rem; }

/* ---------- Buttons (koppar-orange = brytfargen) ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s, color .2s;
}
.btn-lg{ min-height: 60px; padding: 0 1.7rem; font-size: 1.05rem; }
.btn-block{ width: 100%; }
.btn-primary{ background: var(--accent); color: #FFFFFF; box-shadow: var(--shadow-cta); padding: 0.9rem 1.5rem; }
.btn-primary:hover{ background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(217,114,46,0.4); }
.btn-primary:active{ transform: translateY(1px) scale(0.99); box-shadow: 0 5px 14px rgba(217,114,46,0.28); }
.btn-ghost{ background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover{ border-color: var(--muted); transform: translateY(-1px); }
.btn-ghost:active{ transform: translateY(1px) scale(0.99); }
.btn-arrow{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Wordmark ---------- */
.wordmark{
  display: inline-flex; align-items: baseline;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1;
}
.wm-lip{ font-style: normal; }
.wm-io{ font-style: italic; }
.wm-dot{
  width: 0.24em; height: 0.24em; border-radius: 50%;
  background: var(--accent); display: inline-block;
  margin: 0 0.1em 0 0.05em; align-self: baseline;
  position: relative; top: -0.62em;
}
.wm-man{
  font-family: var(--font-body); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.42em; color: var(--muted);
  margin-left: 0.15em;
}
.wordmark--sm{ font-size: 1.7rem; }
.wordmark--lg{ font-size: 2.9rem; margin-bottom: 1.6rem; }

/* ---------- Language pill + dropdown ---------- */
.lang{ position: relative; }
.lang-menu{
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 170px; list-style: none; margin: 0; padding: 0.4rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-card); z-index: 30;
}
.lang-menu[hidden]{ display: none; }
.lang-option{
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.9rem; border-radius: var(--r-sm); cursor: pointer;
  font-size: 0.98rem; color: var(--text);
}
.lang-option:hover{ background: var(--tint-1); }
.lang-option[aria-selected="true"]{ color: var(--blue); font-weight: 700; }
.lang-option[aria-selected="true"]::after{ content: "\2713"; color: var(--blue); font-size: 0.9rem; }
.lang-pill{
  display: inline-flex; align-items: center; justify-content: space-between; gap: 0.7rem;
  min-width: 140px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.65rem 1.05rem; font-size: 0.95rem; font-weight: 500; cursor: pointer;
  font-family: var(--font-body);
  transition: border-color .2s, background .2s;
}
.lang-pill:hover{ border-color: var(--border-strong); background: var(--bg-soft); }
.lang-pill svg{ width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ============================================================
   FLOW (fs-*) , vitt kort, blatt for progress/val, koppar-CTA
   ============================================================ */
.fs-card{
  --accent: #2F6BFF; --accent-hover: #1F57E6;
  --accent-tint: #EAF0FF; --accent-ring: rgba(47,107,255,0.28);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  text-align: left;
}
.fs-top{ display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem; }
.fs-back{
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0;
  cursor: pointer; display: grid; place-items: center;
}
.fs-back svg{ width: 18px; height: 18px; fill: none; stroke: var(--text-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fs-back:hover{ border-color: var(--border-strong); }
.fs-bar{ flex: 1; height: 5px; border-radius: var(--r-pill); background: var(--tint-2); overflow: hidden; }
.fs-bar span{ display: block; height: 100%; width: 0; background: var(--blue); border-radius: var(--r-pill); transition: width .45s var(--ease-out); }
.fs-step{ font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.fs-q{ font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 4.2vw, 1.95rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 1.4rem; }
.fs-options{ display: grid; gap: 0.7rem; }
.fs-option{
  width: 100%; min-height: 58px; text-align: left;
  font-family: var(--font-body); font-weight: 500; font-size: 1.02rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.9rem 1.1rem; cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .12s;
}
.fs-option:hover{ border-color: var(--border-strong); transform: translateY(-1px); }
.fs-option:active{ transform: translateY(0) scale(0.995); }
.fs-option[aria-checked="true"]{ background: var(--blue-tint); border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); }
.fs-help{ font-size: 0.86rem; color: var(--muted); margin-top: 1rem; line-height: 1.55; }
.fs-next{ margin-top: 1.4rem; }
/* CTA-knappar i flowet behaller brytfargen */
.fs-card .btn-primary{ background: #D9722E; color: #FFFFFF; }
.fs-card .btn-primary:hover{ background: #C4631F; }
.fs-loader{ text-align: center; padding: 1.5rem 0; }
.loader-ring{ width: 76px; height: 76px; margin: 0 auto 1.4rem; }
.loader-ring svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.loader-track{ fill: none; stroke: var(--tint-2); stroke-width: 6; }
.loader-arc{ fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 70 200; transform-origin: center; animation: spinArc 1.3s linear infinite; }
.loader-title{ font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 0.4rem; }
.loader-sub{ color: var(--text-soft); font-size: 0.98rem; min-height: 1.4em; transition: opacity .3s; }
.loader-bar{ width: 200px; height: 5px; border-radius: var(--r-pill); background: var(--tint-2); overflow: hidden; margin: 1.3rem auto 0; }
.loader-bar span{ display: block; height: 100%; width: 0; background: var(--blue); animation: barFill 2.4s var(--ease-out) forwards; }
@keyframes spinArc{ to{ transform: rotate(360deg); } }
@keyframes barFill{ to{ width: 100%; } }
.fs-result-eyebrow{ color: var(--blue); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; margin: 0 0 0.7rem; }
.fs-result-h{ font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4.8vw, 2.5rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.9rem; }
.fs-result-body{ color: var(--text-soft); line-height: 1.6; margin: 0 0 1.4rem; }
.fs-result-subh{ font-weight: 700; font-size: 0.95rem; margin: 0 0 0.7rem; }
.check-list{ list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.55rem; }
.check-list li{ position: relative; padding-left: 1.9rem; color: var(--text); line-height: 1.4; }
.check-list li::before{
  content: ""; position: absolute; left: 0; top: 0;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.fs-price{ color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0 0 1.3rem; }
.fs-micro{ text-align: center; color: var(--muted); font-size: 0.82rem; margin: 0.8rem 0 0; }
.fs-gating{
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.9rem 1rem;
  color: var(--text-soft); font-size: 0.82rem; line-height: 1.55; margin-top: 1.2rem;
}
.fs-gating svg{ width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.fs-result-back{ display: block; margin: 1.2rem auto 0; background: none; border: none; color: var(--muted); font-family: var(--font-body); font-size: 0.9rem; cursor: pointer; text-decoration: underline; }
.fs-result-back:hover{ color: var(--text-soft); }
.stage > .fs-loader{ color: var(--text); }

/* ---------- Footer ---------- */
.site-footer{ border-top: 1px solid var(--border); padding: clamp(3rem, 6vh, 4rem) clamp(1.2rem, 4vw, 2.4rem); background: var(--tint-1); }
.footer-inner{ max-width: 880px; margin: 0 auto; text-align: center; }
.footer-inner .wordmark{ margin-bottom: 1.1rem; }
.foot-legal{ color: var(--muted); font-size: 0.78rem; line-height: 1.7; margin: 0 0 0.8rem; }
.foot-contact{ color: var(--text-soft); font-size: 0.85rem; margin: 0 0 1rem; }
.foot-contact a{ color: var(--text-soft); text-decoration: none; }
.foot-contact a:hover{ color: var(--blue); }
.foot-links{ display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.foot-links a{ color: var(--text-soft); font-size: 0.85rem; text-decoration: none; }
.foot-links a:hover{ color: var(--blue); }

/* ---------- Cookie banner ---------- */
.cookie{ position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 760px; margin: 0 auto; }
.cookie[hidden]{ display: none; }
.cookie-text{ color: var(--text-soft); font-size: 0.88rem; line-height: 1.5; margin: 0; flex: 1 1 240px; }
.cookie-actions{ display: flex; align-items: center; gap: 0.6rem; }
.cookie-link{ color: var(--muted); font-size: 0.85rem; }
.btn-cookie{ background: var(--accent); color: #FFFFFF; border: none; border-radius: var(--r-pill); padding: 0.6rem 1.15rem; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.btn-cookie:hover{ background: var(--accent-hover); }
.btn-cookie.ghost{ background: transparent; color: var(--text); border: 1px solid var(--border-strong); }

/* ---------- Floating mobile CTA ---------- */
.floating-cta{
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 200; display: none;
  align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 58px; padding: 0 1.4rem;
  background: var(--accent); color: #FFFFFF; border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 1.08rem;
  cursor: pointer; box-shadow: 0 12px 30px rgba(217,114,46,0.4);
}
.floating-cta img{
  position: absolute; left: 1.4rem; top: 50%; transform: translateY(-50%);
  height: 32px; width: auto; display: block;
}
@media (max-width: 720px){
  .floating-cta{
    display: flex; opacity: 0; transform: translateY(18px); pointer-events: none;
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  }
  .floating-cta.visible{ opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Stage transitions (flow-maskinens swap) ---------- */
.swap-out{ animation: sOut .26s ease forwards; }
.swap-in{ animation: sIn .34s var(--ease-out); }
@keyframes sOut{ to{ opacity: 0; transform: translateY(-8px); } }
@keyframes sIn{ from{ opacity: 0; transform: translateY(12px); } to{ opacity: 1; transform: none; } }

/* ---------- Motion / responsive ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn:hover, .fs-option:hover{ transform: none; }
  .swap-out, .swap-in{ animation: none; }
  .loader-arc{ animation: none; }
  .loader-bar span{ animation: none; width: 100%; }
  .hero-cue span{ animation: none; }
}
@media (max-width: 600px){
  .wordmark--lg{ font-size: 2.4rem; }
  .topbar .wordmark--sm{ font-size: 1.45rem; }
  .btn-lg{ min-height: 56px; }
  .btn-xl{ min-height: 60px; padding: 0 1.8rem; font-size: 1.05rem; }
  .cookie{ flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-text{ flex: 0 0 auto; }
  .cookie-actions{ justify-content: center; }
}

/* ---------- Legacy (ej i bruk) ---------- */
.mountains{ line-height: 0; margin-top: -1px; }
.mountains svg{ display: block; width: 100%; height: clamp(110px, 14vw, 210px); }
.compliance{ text-align: center; color: var(--muted); font-size: 0.74rem; line-height: 1.6; padding: 1rem clamp(1.2rem, 4vw, 2.4rem) 1.6rem; max-width: 760px; margin: 0 auto; }
