/* ==========================================================================
   Velocity.Web — design tokens (1:1 from Konvert design system + dc.html overrides)
   ========================================================================== */

:root{
  --orange:#FF7A59;
  --orange-700:#E9603F;
  --orange-100:#FFE9E1;
  --teal-900:#173F44;
  --teal-700:#245A60;
  --teal-100:#E4EFEE;
  --cream:#FAF7F2;
  --ink:#14232A;
  --muted:#55666B;
  --line:#E3DDD4;
  --gold:#E8B04B;

  --paper:var(--cream);
  --navy-900:var(--teal-900);
  --navy-700:var(--teal-700);
  --navy-100:var(--teal-100);
  --slate-600:var(--muted);
  --slate-200:var(--line);
  --green-600:var(--orange);

  --color-cta:var(--orange);
  --color-cta-hover:var(--orange-700);
  --color-cta-text:var(--ink);
  --color-bg-tint:var(--navy-100);

  --radius-s:6px;
  --radius-m:10px;
  --radius-l:16px;
  --radius-pill:999px;

  --shadow-card:0 1px 2px rgba(16,20,24,0.04), 0 8px 24px rgba(16,20,24,0.06);
  --shadow-card-hover:0 4px 8px rgba(16,20,24,0.06), 0 16px 32px rgba(16,20,24,0.10);
  --shadow-focus:0 0 0 3px rgba(255,122,89,.35);

  --space-3:12px;
  --space-5:24px;

  --ease-out:cubic-bezier(0,0,.2,1);
  --duration-fast:120ms;
  --duration-standard:200ms;

  --font-display:'Switzer',-apple-system,sans-serif;
  --font-body:'Synonym',-apple-system,sans-serif;

  --container-max:1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
[hidden]{display:none !important}
a{color:var(--teal-700);text-decoration:none}
a:hover{color:var(--teal-900)}
input,textarea,button{font-family:inherit}
h1,h2,h3,p{margin:0;text-wrap:pretty}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Layout helpers */
.section{max-width:var(--container-max);margin:0 auto;padding:clamp(56px,9vw,96px) clamp(20px,4vw,32px)}
.section-inner{max-width:var(--container-max);margin:0 auto;padding:clamp(56px,9vw,96px) clamp(20px,4vw,32px)}
.section-dark .section-inner{padding:clamp(56px,9vw,96px) clamp(20px,4vw,32px)}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:56px;align-items:center}
.section-bordered{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-bordered .section-inner{display:flex;flex-direction:column;gap:48px}
.section-bordered-top{background:#fff;border-top:1px solid var(--line)}

/* Typography */
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;display:block}
.eyebrow-teal{color:var(--teal-700)}
.eyebrow-orange{color:var(--orange)}
.h1{font-family:var(--font-display);font-weight:600;font-size:clamp(2.75rem,5.5vw,4.75rem);line-height:1.02;letter-spacing:-0.025em}
.h2{font-family:var(--font-display);font-weight:600;font-size:clamp(2rem,3.6vw,3rem);line-height:1.08;letter-spacing:-0.025em}
.h3{font-family:var(--font-display);font-weight:600;font-size:30px;line-height:1.15;letter-spacing:-0.01em}
.lead{font-size:19px;line-height:1.6;color:var(--muted);max-width:520px}
.lead-on-dark{color:rgba(255,255,255,.85)}
.body-lg{font-size:17px;line-height:1.65;color:var(--muted)}
.body-muted{font-size:16px;line-height:1.6;color:var(--muted)}

/* ---- Header / Nav ---- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,247,242,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:var(--container-max);margin:0 auto;
  padding:14px clamp(20px,4vw,32px);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.logo{display:flex;align-items:center}
.logo-img{height:32px;width:auto}
@media (max-width:819px){.logo-img{height:28px}}
.nav-desktop{display:flex;gap:28px;font-size:15px;font-weight:500}
.nav-desktop a{color:var(--ink)}
.nav-cta{display:inline-flex}
.menu-toggle{
  display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:999px;
  background:#fff;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;
}
.menu-toggle span{width:18px;height:2px;background:var(--ink);border-radius:2px}
.nav-mobile{
  display:flex;flex-direction:column;gap:4px;
  padding:8px clamp(20px,4vw,32px) 20px;border-top:1px solid var(--line);background:var(--cream);
}
.nav-mobile a{color:var(--ink);font-size:18px;font-weight:500;padding:12px 0}
.nav-mobile .btn{margin-top:8px;align-self:flex-start}

@media (max-width:819px){
  .header-inner .nav-desktop, .header-inner .nav-cta{display:none}
  .menu-toggle{display:flex}
  .nav-mobile[hidden]{display:none}
}
@media (min-width:820px){
  .nav-mobile{display:none !important}
}

/* ---- Buttons (Konvert Button component, 1:1) ---- */
.btn{
  font-family:var(--font-body);font-weight:600;border:none;border-radius:var(--radius-pill);
  cursor:pointer;display:inline-flex;align-items:center;gap:8px;
  transition:transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-card-hover)}
.btn-s{padding:8px 16px;font-size:14px}
.btn-m{padding:12px 22px;font-size:15px}
.btn-l{padding:15px 28px;font-size:16px}
.btn-primary{background:var(--color-cta);color:var(--color-cta-text)}
.btn-primary:hover{background:var(--color-cta-hover);color:var(--color-cta-text)}
.btn-secondary{background:var(--navy-900);color:#fff}
.btn-secondary:hover{color:#fff}

.btn-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ---- Guarantee line (hero) ---- */
.guarantee-line{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--ink);font-weight:500}
.guarantee-line .dot{width:8px;height:8px;border-radius:999px;background:var(--orange);flex:none}

/* ---- Hero ---- */
.hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:48px;align-items:center;padding-bottom:48px}
.hero-copy{display:flex;flex-direction:column;gap:24px}
.hero-visual{display:flex;justify-content:center;align-items:center;min-height:320px}
.lottie{width:100%}
.lottie-hero{max-width:520px;aspect-ratio:1/1}
.lottie-problem{max-width:440px;aspect-ratio:1/1;margin-top:8px}
.lottie-services{width:220px;aspect-ratio:1/1}
.lottie-contact{max-width:400px;aspect-ratio:1/1}

/* ---- Logos ---- */
.logos{padding-top:0;padding-bottom:clamp(56px,9vw,88px)}
.logos-inner{display:flex;flex-wrap:wrap;align-items:center;gap:20px 40px;border-top:1px solid var(--line);padding-top:28px}
.logos-label{font-size:13px;color:var(--muted);font-weight:500}
.logos-list{display:flex;flex-wrap:wrap;gap:20px 40px}
.logos-list span{font-family:var(--font-display);font-weight:600;font-size:20px;color:var(--muted);opacity:.75;letter-spacing:-0.01em}

/* ---- Dark section (Vart läcker det) ---- */
.section-dark{background:var(--teal-900);color:#fff}
.lacker-copy{display:flex;flex-direction:column;gap:20px}

/* ---- Cards (Konvert Card component, 1:1) ---- */
.card{border-radius:var(--radius-l);padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-3);
  transition:box-shadow var(--duration-standard) var(--ease-out), transform var(--duration-standard) var(--ease-out);}
.card:hover{transform:translateY(-2px)}
.card-surface{background:#fff;box-shadow:var(--shadow-card)}
.card-surface:hover{box-shadow:var(--shadow-card-hover)}
.card-tint{background:var(--color-bg-tint);box-shadow:none}
.card-icon{width:56px;height:56px}
.card-title{font-family:var(--font-display);font-weight:600;font-size:18px;color:var(--ink)}
.card-link{font-weight:600;font-size:15px;margin-top:auto}

.guarantee-card{padding:clamp(22px,4vw,32px);color:var(--ink)}
.guide-card{padding:clamp(22px,4vw,36px);gap:16px}

/* ---- Annonsering / steps ---- */
.annons-copy{display:flex;flex-direction:column;gap:20px}
.steps{display:grid;gap:14px;margin-top:8px}
.step{display:flex;gap:14px;align-items:flex-start}
.step-num{font-family:var(--font-display);font-size:22px;color:var(--orange);min-width:28px}
.step p{font-size:16px;line-height:1.55}

.guide-form{display:grid;gap:12px}
.field-label{display:flex;flex-direction:column;gap:6px;font-family:var(--font-body)}
.field-label-text{font-size:13px;font-weight:600;color:var(--ink)}
.input,.textarea{
  font-family:var(--font-body);font-size:15px;padding:12px 14px;border-radius:var(--radius-m);
  border:1px solid var(--slate-200);outline:none;color:var(--ink);background:#fff;
  transition:border var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.input:focus,.textarea:focus{border:1px solid var(--orange);box-shadow:var(--shadow-focus)}
.textarea{resize:vertical}
.guide-sent{font-size:16px;font-weight:600;color:var(--teal-900)}

/* ---- Tjänster ---- */
.tjanster-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.tjanster-head-copy{display:flex;flex-direction:column;gap:14px}
.tjanster-head-visual{display:flex;flex-direction:column;gap:8px;align-items:flex-start;max-width:340px}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.cards-grid .card{min-height:220px}

/* ---- Om oss ---- */
.founder-visual{
  position:relative;max-width:460px;width:100%;aspect-ratio:4/5;margin:0 auto;
  overflow:hidden;border-radius:16px 16px 230px 230px;background:var(--teal-100);
}
.founder-bg-mark{position:absolute;left:-10%;top:18%;width:120%;opacity:.55;pointer-events:none}
.founder-bg-circle{position:absolute;left:8%;top:8%;width:84%;height:84%;border-radius:999px;background:var(--orange-100);opacity:.9}
.founder-photo{position:absolute;left:50%;bottom:0;transform:translateX(-50%);height:92%;width:auto}
.om-oss-copy{display:flex;flex-direction:column;gap:20px}
.stats-row{display:flex;gap:40px;margin-top:8px}
.stat{display:flex;flex-direction:column;gap:4px}
.stat-num{font-family:var(--font-display);font-size:44px;line-height:1;color:var(--teal-900)}
.stat-label{font-size:14px;color:var(--muted)}

/* ---- FAQ ---- */
.faq-layout{align-items:start;gap:48px}
.faq-head{display:flex;flex-direction:column;gap:14px}
.faq-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-question{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;
  background:none;border:none;padding:20px 0;text-align:left;cursor:pointer;
  font-size:18px;font-weight:500;color:var(--ink);
}
.faq-sign{font-size:24px;line-height:1;color:var(--orange);flex:none}
.faq-answer{font-size:16px;line-height:1.65;color:var(--muted);padding:0 40px 22px 0}

/* ---- Kontakt ---- */
.kontakt-copy{display:flex;flex-direction:column;gap:20px}
.kontakt-info{display:flex;flex-direction:column;gap:6px;font-size:16px}
.kontakt-info a{font-weight:600}
.contact-card{padding:clamp(22px,4vw,36px)}
.contact-form{display:grid;gap:18px}
.form-row-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}
.form-footer{display:flex;flex-wrap:wrap;align-items:center;gap:16px;justify-content:space-between}
.form-note{font-size:13px;color:var(--muted)}
.contact-sent{display:flex;flex-direction:column;gap:12px;padding:24px 0}

/* ---- Gateway (startsida: expertis + blogg) ---- */
.gateway-head{display:flex;flex-direction:column;gap:14px;max-width:640px;margin-bottom:32px}

/* ---- Artiklar, hubbar, om-sida ---- */
.article{max-width:var(--container-max);margin:0 auto;padding:clamp(40px,7vw,72px) clamp(20px,4vw,32px) clamp(56px,9vw,96px)}
.article-head{max-width:760px;margin-bottom:32px}
.article-head.has-hero{max-width:none;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,56px);align-items:center;margin-bottom:40px}
.article-head-text{display:flex;flex-direction:column;gap:16px;min-width:0}
.article-head.has-hero .article-h1{font-size:clamp(2rem,3.4vw,3rem);overflow-wrap:anywhere}
.article-hero{margin:0;border-radius:var(--radius-l);overflow:hidden;background:var(--teal-100);box-shadow:var(--shadow-card)}
.article-hero img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover}
.article-hero figcaption{font-size:12px;color:var(--muted);padding:8px 14px;background:#fff}
.article-hero figcaption a{color:var(--muted);text-decoration:underline}
.article-hero-diagram{padding:0}
.article-hero-diagram svg{width:100%;height:auto;display:block}
@media (max-width:819px){.article-head.has-hero{grid-template-columns:1fr;gap:24px}}

/* ikoner */
.ico{display:inline-flex;align-items:center;justify-content:center;width:1.15em;height:1.15em;vertical-align:-0.18em;color:var(--orange);flex:none}
.ico svg{width:100%;height:100%;display:block}
.prose h2 .ico{width:36px;height:36px;margin-right:12px;vertical-align:-8px;color:var(--teal-700);--icon-bg:var(--cream)}
.ico-tile{width:52px;height:52px;border-radius:14px;background:#fff;color:var(--teal-700);padding:11px;box-shadow:var(--shadow-card);--icon-bg:#fff}

/* i korthet */
.takeaways{max-width:760px;margin:0 0 36px;background:var(--teal-100);border-radius:var(--radius-l);padding:clamp(20px,3vw,28px) clamp(20px,3vw,32px)}
.takeaways-title{font-family:var(--font-display);font-weight:600;font-size:18px;letter-spacing:-0.01em;margin:0 0 12px}
.takeaways ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.takeaways li{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.5}
.takeaways .ico{width:20px;height:20px;margin-top:3px;color:var(--orange)}

/* gör så här */
.action{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:var(--radius-m);padding:16px 18px;margin:0 0 28px;box-shadow:var(--shadow-card)}
.action .ico{width:22px;height:22px;margin-top:2px;color:var(--orange)}
.action p{margin:0;font-size:16px;line-height:1.55}

/* feature-kort */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:8px 0 32px}
.feature{background:var(--teal-100);border-radius:var(--radius-l);padding:22px 24px;display:flex;flex-direction:column;gap:8px;border-top:3px solid var(--orange)}
.feature h3{font-family:var(--font-display);font-weight:600;font-size:18px;line-height:1.25;margin:0}
.feature p{font-size:15px;line-height:1.55;color:var(--muted);margin:0}

/* numrerade steg */
.prose ol{list-style:none;counter-reset:steps;padding-left:0;margin:0 0 28px}
.prose ol>li{counter-increment:steps;position:relative;padding-left:52px;margin:0 0 16px;min-height:34px}
.prose ol>li::before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:-2px;font-family:var(--font-display);font-size:22px;line-height:1.3;color:var(--orange)}

/* författare */
.author-box{max-width:760px;margin-top:40px;display:flex;gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:20px 24px}
.author-box img{width:80px;height:100px;object-fit:cover;object-position:top;border-radius:12px 12px 40px 40px;background:var(--teal-100);flex:none}
.author-box>div{display:flex;flex-direction:column;gap:6px}
.author-name{font-family:var(--font-display);font-weight:600;font-size:20px;margin:0}
.author-name a{color:var(--ink)}
.author-box p{font-size:15px;line-height:1.55;color:var(--muted);margin:0}
.article-cta-body{display:flex;flex-direction:column;gap:12px;min-width:0}
@media (max-width:600px){.article-cta{flex-direction:column}.author-box{align-items:flex-start}}

/* bildkort */
.post-card{padding:0;overflow:hidden}
.post-thumb{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;background:var(--teal-100)}
.post-thumb-empty{background:linear-gradient(135deg,var(--teal-100),var(--orange-100))}
.post-body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.breadcrumbs{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--teal-900)}
.article-h1{font-size:clamp(2.25rem,4.5vw,3.5rem)}
.article-lead{max-width:640px}
.article-meta{font-size:14px;color:var(--muted)}
.article-meta a{font-weight:600}
.article-figure{max-width:760px;margin:0 0 32px;border-radius:var(--radius-l);overflow:hidden;background:var(--teal-100)}
.article-figure img{width:100%;height:auto}
.article-body{max-width:760px}
.prose{font-size:17px;line-height:1.7;color:var(--ink)}
.prose p{margin:0 0 20px}
.prose h2{font-family:var(--font-display);font-weight:600;font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.15;letter-spacing:-0.02em;margin:44px 0 14px}
.prose h3{font-family:var(--font-display);font-weight:600;font-size:1.25rem;line-height:1.25;margin:28px 0 10px}
.prose ul,.prose ol{margin:0 0 20px;padding-left:22px}
.prose li{margin:0 0 8px}
.prose li::marker{color:var(--orange)}
.prose strong{font-weight:600}
.prose blockquote{margin:0 0 20px;padding:16px 20px;border-left:3px solid var(--orange);background:var(--teal-100);border-radius:0 var(--radius-m) var(--radius-m) 0;color:var(--ink)}
.prose blockquote p:last-child{margin:0}
.prose table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:15px}
.prose th,.prose td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.prose th{font-weight:600;color:var(--teal-900)}
.prose hr{border:0;border-top:1px solid var(--line);margin:32px 0}
.prose .kalla,.prose .source{font-size:14px;color:var(--muted)}
.prose a{font-weight:600;text-decoration:underline;text-decoration-color:var(--orange-100);text-underline-offset:3px}
.prose a:hover{text-decoration-color:var(--orange)}

.article-faq{max-width:760px;margin-top:48px}
.article-faq-title{font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:8px}
.faq-answer p{margin:0 0 12px}
.faq-answer p:last-child{margin:0}

.article-cta{max-width:760px;margin-top:48px;background:#fff;border-radius:var(--radius-l);padding:clamp(22px,4vw,32px);box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:12px}
.article-cta p{font-size:16px;line-height:1.6;color:var(--muted);margin:0}
.article-cta .btn-row{margin-top:6px;gap:16px}

.related{margin-top:56px;padding-top:40px;border-top:1px solid var(--line)}
.related .h3,.hub-group .h3{margin-bottom:20px}
.post-card{color:var(--ink);gap:0}
.post-card .card-title{font-size:20px;line-height:1.2}
.post-card:hover{color:var(--ink)}
.hub-listing{margin-top:40px;display:flex;flex-direction:column;gap:40px}
.hub-group .cards-grid,.related .cards-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}

.about-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:48px;align-items:start;max-width:1000px}
.about-photo{max-width:380px;border-radius:16px 16px 190px 190px;overflow:hidden;background:var(--teal-100)}
.about-photo img{width:100%;height:auto;display:block}

@media (max-width:819px){
  .prose{font-size:16px}
  .related,.article-cta,.article-faq{margin-top:36px}
}

/* ---- Footer ---- */
.site-footer{background:var(--teal-900);color:#fff}
.footer-inner{max-width:var(--container-max);margin:0 auto;padding:56px clamp(20px,4vw,32px) 32px;display:flex;flex-direction:column;gap:40px}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;align-items:flex-start}
.footer-brand{display:flex;flex-direction:column;gap:12px;max-width:360px}
.footer-logo-img{height:32px;width:auto;align-self:flex-start}
.footer-brand p{font-size:15px;line-height:1.6;color:rgba(255,255,255,.75)}
.footer-nav{display:flex;flex-wrap:wrap;gap:24px;font-size:15px}
.footer-nav a{color:#fff}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.15);padding-top:20px;font-size:13px;color:rgba(255,255,255,.65)}
