/* Bilro landing page — brand: calm Nordic forest (fog/pine/amber).
   Signature: the quiz "road" (dashed line + pine fill + amber car dot) becomes
   the spine of the page. One bold element; everything else quiet and spacious. */
:root{
  --fog:#F2F5F3; --card:#FFFFFF; --spruce:#1E2B26; --pine:#2E6B4F;
  --pine-soft:#E3EFE8; --pine-deep:#25573F; --amber:#E8A33D; --amber-soft:#FBF0DC;
  --muted:#5F6E67; --line:#DDE5E0; --radius:14px;
}
*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Karla',sans-serif; background:var(--fog); color:var(--spruce);
  line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; line-height:1.15; letter-spacing:-0.02em}
a{color:var(--pine)}
.wrap{max-width:1080px; margin:0 auto; padding:0 24px}

/* the "ro" highlighter — a calm amber marker under the brand word */
.ro{color:var(--pine); background:linear-gradient(transparent 62%, var(--amber-soft) 62%); padding:0 .06em}

/* ---- buttons ---- */
.btn{display:inline-flex; align-items:center; gap:8px; font-family:'Karla',sans-serif;
  font-size:15px; font-weight:600; border-radius:11px; padding:13px 22px; cursor:pointer;
  text-decoration:none; border:1px solid transparent; transition:background .14s, border-color .14s, color .14s, transform .05s}
.btn:active{transform:scale(0.99)}
.btn-amber{background:var(--amber); color:#3D2A08; border-color:var(--amber)}
.btn-pine{background:var(--pine); color:#fff; border-color:var(--pine)}
.btn-ghost{background:transparent; color:var(--pine); border-color:var(--line)}
@media (hover:hover){
  .btn-amber:hover{background:#DD9526}
  .btn-pine:hover{background:var(--pine-deep)}
  .btn-ghost:hover{border-color:var(--pine); background:var(--pine-soft)}
}
.btn:focus-visible{outline:3px solid var(--amber); outline-offset:2px}
/* The main "Finn bilen min" call to action — bigger, bolder, gently lifted.
   Applied to the hero and final CTAs (not the compact nav button). */
.btn-cta{font-size:17.5px; font-weight:700; padding:16px 34px; border-radius:12px;
  box-shadow:0 8px 22px rgba(232,163,61,.34)}
@media (hover:hover){ .btn-cta:hover{box-shadow:0 11px 26px rgba(232,163,61,.44)} }

/* ---- header ---- */
.site-header{position:sticky; top:0; z-index:20; background:rgba(242,245,243,.86);
  backdrop-filter:saturate(1.2) blur(8px); border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex; align-items:center; gap:18px; height:64px; position:relative}
.logo{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:23px; color:var(--pine); text-decoration:none}
.logo .mark{color:var(--amber)}
/* hamburger button — shown on mobile only */
.nav-toggle{margin-left:auto; display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; background:none; border:1px solid var(--line); border-radius:10px;
  color:var(--pine); font-size:20px; line-height:1; cursor:pointer}
.nav-toggle:focus-visible{outline:3px solid var(--amber); outline-offset:2px}
/* mobile: the nav collapses into a dropdown panel under the header */
.site-nav{position:absolute; top:60px; left:0; right:0; z-index:30; display:none;
  flex-direction:column; align-items:stretch; gap:0; background:var(--card);
  border:1px solid var(--line); border-radius:14px; padding:6px 16px 16px;
  box-shadow:0 14px 32px rgba(30,43,38,.12)}
.site-nav.open{display:flex}
.site-nav a{color:var(--muted); text-decoration:none}
.site-nav a:hover{color:var(--pine)}
.nav-link{display:block; padding:13px 2px; font-size:16px; border-bottom:1px solid var(--line)}
.site-nav .btn{margin-top:14px; justify-content:center; padding:12px 16px; font-size:15px}
/* The language switcher lives in the header row (a direct child of .wrap), NOT
   inside the collapsible .site-nav — so it stays visible on mobile without
   opening the hamburger. See REGRESSION-CHECKLIST.md. */
.lang{display:flex; gap:4px}
.lang button{font-family:'Karla',sans-serif; cursor:pointer; padding:5px 10px; font-size:12px;
  font-weight:600; color:var(--muted); background:var(--card); border:1px solid var(--line); border-radius:8px}
.lang button.active{background:var(--pine); color:#fff; border-color:var(--pine)}
.lang button:focus-visible{outline:2px solid var(--amber); outline-offset:2px}
@media (hover:hover){
  .lang button:hover{border-color:var(--pine); background:var(--pine-soft)}
  .lang button.active:hover{background:var(--pine); color:#fff}
}

/* ---- hero ---- */
.hero{text-align:center; padding:78px 0 8px}
.eyebrow{font-size:12.5px; font-weight:600; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--pine); display:inline-block; margin-bottom:20px}
.hero h1{font-size:clamp(34px, 6vw, 58px); max-width:14ch; margin:0 auto 20px}
.hero .lead{font-size:clamp(16px,2.2vw,19px); color:var(--muted); max-width:52ch; margin:0 auto 30px}
.hero-cta{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
.hero-note{margin-top:16px; font-size:13px; color:var(--muted)}

/* the hero road — a small preview of the product's journey */
.hero-road{margin:44px auto 0; max-width:720px; padding:0 8px}
.hero-road svg{width:100%; height:auto; display:block}

/* ---- section frame ---- */
.section{padding:64px 0}
.section-head{max-width:640px; margin-bottom:40px}
.section.center .section-head{margin-left:auto; margin-right:auto; text-align:center}
.section-head h2{font-size:clamp(24px,3.4vw,34px); margin-bottom:12px}
.section-head p{color:var(--muted); font-size:16.5px}

/* ---- "Slik funker det" — the road spine with 3 stops ---- */
.steps{position:relative; max-width:680px; margin:0 auto; display:grid; gap:34px}
/* vertical dashed road running down the left, behind the numbered stops */
.steps::before{content:""; position:absolute; left:23px; top:14px; bottom:14px; width:2px;
  background:repeating-linear-gradient(var(--line) 0 6px, transparent 6px 11px)}
.step{position:relative; display:grid; grid-template-columns:48px 1fr; gap:20px; align-items:start}
.step-num{position:relative; z-index:1; width:48px; height:48px; border-radius:50%;
  background:var(--pine); color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:18px;
  box-shadow:0 0 0 6px var(--fog)}
/* the amber "car" sits on the first stop — you are here, at the start of the road */
.step:first-child .step-num{background:var(--amber); color:#3D2A08}
.step h3{font-size:19px; margin-bottom:5px}
.step p{color:var(--muted); font-size:15.5px}

/* ---- "Hva du får" — quiet card grid ---- */
.features{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.feature{position:relative; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:24px}
/* Free vs paid badge in the top-right of each "Hva du får" card */
.feature-tag{position:absolute; top:16px; right:16px; font-size:11px; font-weight:600;
  padding:3px 9px; border-radius:999px; letter-spacing:.01em; white-space:nowrap}
.feature-tag.free{background:var(--pine-soft); color:var(--pine)}
.feature-tag.paid{background:var(--amber-soft); color:#8A5A12}
.feature .fic{width:38px; height:38px; border-radius:10px; background:var(--pine-soft);
  display:flex; align-items:center; justify-content:center; color:var(--pine); font-size:19px; margin-bottom:14px}
.feature h3{font-size:16.5px; margin-bottom:6px}
.feature p{color:var(--muted); font-size:14.5px}

/* ---- reassurance band (the one deep-pine anchor) ---- */
.band{background:var(--pine); color:#fff; border-radius:22px; padding:56px 40px; text-align:center; margin:8px 0}
.band h2{font-size:clamp(24px,3.4vw,34px); color:#fff; max-width:20ch; margin:0 auto 14px}
.band p{color:var(--pine-soft); max-width:46ch; margin:0 auto; font-size:16.5px}

/* ---- final CTA ---- */
.final{text-align:center; padding:76px 0 40px}
.final h2{font-size:clamp(26px,4vw,38px); margin-bottom:22px}
.final .hero-note{margin-top:18px}

/* ---- footer ---- */
.site-footer{border-top:1px solid var(--line); padding:30px 0; margin-top:20px}
.site-footer .wrap{display:flex; flex-wrap:wrap; gap:8px 18px; align-items:center;
  font-size:12.5px; color:var(--muted)}
.site-footer .logo{font-size:17px}
.site-footer .foot-note{margin-left:auto}

/* ---- responsive ---- */
/* desktop: hamburger hidden, nav back to a horizontal row */
@media (min-width:768px){
  .nav-toggle{display:none}
  .lang{margin-left:auto}   /* push the language switcher + nav to the right */
  .site-nav{position:static; display:flex; flex-direction:row; align-items:center; gap:26px;
    background:none; border:none; border-radius:0; padding:0; box-shadow:none}
  .nav-link{display:inline; padding:0; font-size:14px; border:none}
  .site-nav .btn{margin-top:0; padding:9px 16px; font-size:14px}
}
@media (max-width:560px){
  .section{padding:48px 0}
  .features{grid-template-columns:1fr}
  .band{padding:40px 22px; border-radius:18px}
  .site-footer .foot-note{margin-left:0; flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} *{transition:none !important} }
