:root{--ink:#101f39;--blue:#1648cf;--line:#d4deea;--paper:#f6f8fb;--muted:#4c617a;color:var(--ink);font-family:"Helvetica Neue",Arial,sans-serif;background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}header,main,footer{max-width:1440px;margin:auto}header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-bottom:1px solid var(--line);background:#fff}header a,header button{color:inherit;text-decoration:none}.logo{display:flex;align-items:center;gap:6px;font-size:36px;font-weight:750;letter-spacing:-2px}.logo i{font-style:normal;color:var(--blue);font-size:43px}nav{display:flex;gap:28px;align-items:center}nav button,nav a{font-size:14px;font-weight:550;border:none;background:none;padding:6px}.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(105deg,#e4effa,#beddf6);display:grid;grid-template-columns:45% 55%;align-items:center;min-height:430px;padding:44px 0 78px 6%}.studio{position:absolute;inset:0 0 0 40%;z-index:-1;perspective:900px;mask-image:linear-gradient(to right,transparent,#000 17%)}.studio img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease-out}.intro{max-width:560px}.intro h1,#details h1,#results h1{font-size:clamp(55px,6.4vw,96px);line-height:.98;letter-spacing:-.071em;margin:0 0 22px;font-weight:620}.intro em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.065em;color:#17449e}.intro p,.lead{color:var(--muted);font-size:18px;line-height:1.55;max-width:385px;margin:0}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:0 12px 36px #173b6410}.start{position:relative;margin:-41px 6% 0;display:grid;grid-template-columns:1fr minmax(160px,235px) auto;align-items:end;gap:26px}.start h2,h2{font-size:clamp(23px,2.2vw,35px);letter-spacing:-.05em;margin:8px 0}small{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--blue)}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}.plate{display:flex;align-items:stretch;border:1px solid #aebfd2;border-radius:8px;overflow:hidden}.plate b{background:#174ba9;color:white;display:grid;place-items:center;width:30px;font-size:13px}.plate input{border:0;border-radius:0;letter-spacing:.1em;text-transform:uppercase}.primary{border:0;border-radius:8px;padding:0 22px;background:var(--blue);color:white;height:48px;font-weight:650;display:inline-flex;gap:26px;align-items:center;justify-content:center}.primary:hover{background:#123799}.primary span{font-size:20px}.primary:disabled{opacity:.6}.steps{margin:46px 6% 54px;display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.steps>div{border-top:1px solid var(--line);padding-top:20px}h3{font-size:20px;letter-spacing:-.035em;margin:12px 0 7px}.steps p,dialog p{font-size:15px;line-height:1.55;color:var(--muted);margin:0}footer{padding:22px 6%;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:13px}footer strong{color:var(--ink)}[hidden]{display:none!important}#details,#results{padding:28px 6% 64px}#details h1,#results h1{font-size:clamp(42px,5vw,70px);margin:12px 0}.back{display:block;background:none;border:0;padding:0;color:var(--muted);margin:0 0 30px}.lead{max-width:none;margin-bottom:25px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}input:not([type=checkbox],[type=radio]),select{width:100%;min-width:0;background:#fafcfe;color:var(--ink);border:1px solid #adbed1;border-radius:7px;padding:12px;height:46px;font-weight:450}.plate input{border:0}fieldset{margin:24px 0;border:0;border-top:1px solid var(--line);padding:16px 0 0}legend{padding:0 12px 0 0;font-weight:650}#choices{display:flex;flex-wrap:wrap;gap:8px}#choices label{flex-direction:row;align-items:center;border:1px solid var(--line);padding:8px 10px;border-radius:6px}.check{flex-direction:row;align-items:flex-start;font-size:14px;line-height:1.5;font-weight:400;margin:20px 0}.check input{margin:4px 4px 0 0}input[type=checkbox]{accent-color:var(--blue)}.error{color:#aa2f34}#tabs{display:flex;gap:6px;margin:24px 0;flex-wrap:wrap}#tabs button{border:1px solid var(--line);border-radius:22px;background:white;color:var(--ink);padding:10px 19px}#tabs [aria-pressed=true]{background:var(--ink);color:#fff}.scroll{overflow:auto;background:white;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;text-align:left;width:100%}th,td{min-width:180px;padding:16px 18px;vertical-align:top;border-bottom:1px solid var(--line);border-right:1px solid #e5ebf2;font-size:14px}th:first-child,td:first-child{position:sticky;left:0;background:#f2f6fa;min-width:125px;width:155px;color:#3a526a;font-weight:600}th{background:#eaf1fb}td strong.price{font-size:27px;letter-spacing:-.04em;color:var(--blue)}.included{color:#15694d}.excluded,.unknown{color:#5b6a7b}details{font-size:13px;color:var(--muted)}summary{cursor:pointer}details p{max-width:32em;white-space:pre-line}#status{display:grid;gap:9px;margin-top:24px}#status p{margin:0;padding:12px 15px;border-left:3px solid #94adca;background:#ebf0f6}dialog{max-width:min(480px,90vw);border:1px solid var(--line);border-radius:16px;padding:30px;color:var(--ink)}dialog::backdrop{background:#0c1b3999}.close{float:right;border:0;background:transparent;font-size:24px}:focus-visible{outline:3px solid #568cff;outline-offset:2px}
@media(max-width:750px){header{height:62px;padding:0 5%}.logo{font-size:30px}nav{gap:10px}nav a,nav button{font-size:12px}.hero{display:block;padding:33px 6% 0;min-height:465px}.intro h1{font-size:58px;margin-bottom:14px}.intro p{font-size:16px;max-width:310px}.studio{inset:auto 0 0 8%;height:245px;mask-image:linear-gradient(to bottom,transparent,#000 17%)}.studio img{object-fit:contain;mix-blend-mode:multiply}.start{margin:-12px 4% 0;grid-template-columns:1fr auto;align-items:end;gap:14px;padding:21px}.start>div{grid-column:1/-1}.start h2{margin-bottom:0}.steps{grid-template-columns:1fr;gap:18px;margin:28px 5%}.fields{grid-template-columns:1fr}.panel{padding:20px}#details,#results{padding:20px 4% 42px}th,td{padding:12px 10px;min-width:146px}th:first-child,td:first-child{min-width:88px;max-width:100px}.steps h3{margin:7px 0}.primary{gap:14px;padding:0 15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:750px){.studio{left:0}.studio img{object-fit:cover;object-position:50% 60%}}

@font-face{font-family:Fraunces;src:url('/road/fraunces-latin-600-normal.woff2')}@font-face{font-family:Fraunces;src:url('/road/fraunces-latin-600-italic.woff2');font-style:italic}@font-face{font-family:Barlow;src:url('/road/barlow-condensed-latin-700-normal.woff2');font-weight:700}@font-face{font-family:DMSans;src:url('/road/dm-sans-latin-400-normal.woff2')}
:root{--paper:#faf7f0;--ink:#20283b;--blue:#925122;--muted:#545867;--line:#d8d4ca;font-family:DMSans,Arial,sans-serif}
header,main,footer{max-width:none}header{background:#151f36;color:#f9e9cc;border-bottom:1px solid #ffffff24;height:74px;padding:0 6%}header nav a,header nav button{color:#f4ecd9}.logo{font-family:Fraunces,Georgia,serif;font-size:28px;letter-spacing:-1.7px;gap:11px}.dotse{color:#ffc57e}.logo .roadmark{display:block;width:25px;height:26px;background:linear-gradient(108deg,transparent 0 23%,#ffc57e 24% 32%,transparent 33% 46%,#ffc57e 47% 52%,transparent 53% 66%,#ffc57e 67% 75%,transparent 76%);transform:skew(-8deg)}
.highway{height:clamp(565px,69vh,790px);position:relative;isolation:isolate;overflow:hidden;background:#293558 url('/road/twilight.webp') center center/cover;color:#fff3df}
.landscape{position:absolute;inset:0;z-index:-1}.landscape canvas{width:100%;height:100%;display:block}
.driver{position:absolute;left:8%;top:11%;max-width:85%}.driver h1{font-family:Fraunces,Georgia,serif;font-size:clamp(54px,5.8vw,98px);line-height:1.02;letter-spacing:-.061em;font-weight:600;margin:0 0 27px;text-shadow:0 1px 12px #19223b55}.driver em{color:#ffce97}.driver label{font-size:14px;margin-bottom:8px;color:#fff5e8}.searchline{display:flex;gap:8px}.searchline .plate{background:#fff5e7;border:0;border-radius:5px;max-width:206px}.searchline .plate b{background:#36435d;color:white;width:28px;flex-shrink:0;font-family:Barlow;font-weight:700}.searchline .plate input{height:49px;background:transparent;font-family:Barlow;font-size:24px;font-weight:700;letter-spacing:.08em}.searchline .plate input::placeholder{color:#676568}.primary{background:#ffc17a;color:#2a2530;border-radius:5px}.primary:hover{background:#ffcf94;color:#151c2d}.searchline .primary{height:49px;gap:22px}#traffic{position:absolute;bottom:18px;right:5%;color:#fff0d6;border:1px solid #ffedce55;background:#172033c9;border-radius:30px;padding:7px 13px;font-size:12px}
.steps{margin:34px 8% 44px}.steps small,#details small,#results small{font-family:Barlow,'Arial Narrow',sans-serif;font-size:14px}.steps h3{font-family:Fraunces,Georgia,serif;font-size:23px;font-weight:600}.steps>div{border-color:#a89d8d}.panel{border-radius:10px}.lead{font-family:DMSans,sans-serif}#details h1,#results h1{font-family:Fraunces,Georgia,serif;font-weight:600;letter-spacing:-.055em}.price{font-family:Barlow,sans-serif}footer{background:#192238;color:#eee3d2}footer strong{font-family:Fraunces;color:#ffc57e}#results th{background:#f1ece1}#results th:first-child,#results td:first-child{background:#f4f0e8}
@media(max-width:700px){header{height:60px;padding:0 5%}.logo{font-size:22px;gap:4px}.logo .roadmark{width:14px}header nav{gap:2px}header nav a,header nav button{font-size:11px;padding:5px}.highway{height:clamp(490px,65svh,640px)}.driver{top:10%;left:6%;max-width:90%}.driver h1{font-size:clamp(41px,10.4vw,65px);margin-bottom:22px}.searchline .plate{max-width:155px}.steps{margin:24px 6% 36px}.steps h3{font-size:22px}#traffic{bottom:9px}}
@media(max-width:460px){header nav{margin-left:auto}header nav a{display:none}header nav button{white-space:nowrap}}
/* The opening view shares the mockup's full-bleed composition. */
body:has(#home:not([hidden])) header{position:absolute;inset:0 0 auto;z-index:2;background:transparent;border:0;padding:0 3.6%;height:10svh;max-height:90px}
body:has(#home:not([hidden])) header nav{color:#fff4e5}
.logo .roadmark,.searchline .plate b{display:none}
.highway{height:100svh;min-height:560px;background-size:100% 100%;background-position:center}

.driver{left:12%;top:16.4%}
.driver h1{font-size:clamp(44px,4.05vw,76px);line-height:1.06;letter-spacing:-.038em;font-weight:400;margin:0 0 clamp(22px,3vh,36px);text-shadow:none}
.driver h1 em{font-style:normal;color:inherit}
.searchline .plate{width:clamp(175px,19.4vw,320px);max-width:none}
.searchline .plate input{border:0;font:500 18px DMSans,Arial,sans-serif;letter-spacing:.075em;padding-left:18px}
.searchline .primary{gap:10px;background:#ffb55f}.driver label{font-weight:400;margin-bottom:9px}
@media(max-width:650px){.highway{height:100svh;min-height:535px;background-size:auto 100%;background-position:89% center}.driver{left:7%;top:17%}.driver h1{font-size:clamp(35px,8.8vw,52px);line-height:1.09}.searchline .plate{width:44vw}.searchline .primary{padding:0 17px}.driver label{font-size:13px}body:has(#home:not([hidden])) header{height:68px;padding:0 6%}}
/* Header and registration controls share the twilight scene's cool neutrals. */
.logo{gap:10px;font:600 clamp(19px,1.65vw,25px)/1 DMSans,Arial,sans-serif;letter-spacing:-.055em;color:#f4f5f2}
.brand-icon{display:block;width:36px;height:36px;object-fit:contain}
.dotse{color:#c6ccdb}
.driver{color:#f6f7f4}
.driver h1{font:400 clamp(45px,4.8vw,83px)/1.035 DMSans,Arial,sans-serif;letter-spacing:-.054em;margin-bottom:clamp(25px,3.4vh,38px)}
.driver h1 span{color:#ced9ee}
.driver label{font:400 14px/1.4 DMSans,Arial,sans-serif;letter-spacing:.005em;color:#e0e6f1;margin-bottom:8px}
.searchline{display:flex;align-items:center;width:min(100%,320px);gap:12px}
.searchline .plate{flex:1;min-width:0;max-width:none;border:1px solid #c4d1e5;border-radius:6px;background:transparent}
.searchline .plate input{height:46px;padding:0 14px;color:#fff;font:400 19px/1.2 DMSans,Arial,sans-serif;letter-spacing:.085em}
.searchline .plate input::placeholder{color:#dae3f3;opacity:1}
.searchline .plate:focus-within{outline:2px solid #fff1d5;outline-offset:2px}
.searchline .plate input:focus-visible{outline:0}
.searchline .primary{flex:0 0 48px;display:grid;place-items:center;height:48px;padding:0;border-radius:50%;border:1px solid #ffdfab;color:#20293b;background:linear-gradient(150deg,#ffe0a9,#eeb16d);box-shadow:inset 0 1px 0 #fff5da99,0 2px 6px #101a362e}
.searchline .primary:hover{background:#ffddaa}
.searchline .primary:focus-visible{outline:2px solid white;outline-offset:4px}
.searchline .primary:active{background:#efba83}
@media(max-width:650px){.logo{font-size:19px;gap:7px}.brand-icon{width:29px;height:29px}.driver{width:86%}.driver h1{font-size:clamp(32px,8.35vw,51px)}}


/* Let the questions extend down the page while the road stays in view. */
.highway{display:grid;isolation:isolate;overflow:clip;height:auto;min-height:100svh;background:#233859}
.landscape,.driver{grid-area:1/1}
.landscape{position:sticky;align-self:start;top:0;inset-inline:0;height:100svh;background:#293558 url('/road/twilight.webp') center/100% 100% no-repeat}
.driver{position:relative;top:auto;left:auto;align-self:start;margin:16.4svh 0 80px 12%;max-width:82%}
#profile{
  width:min(100%,1280px);
  margin-top:clamp(24px,3vh,36px);
  color:#f5f7fb;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,308px),1fr));
  align-items:start;
  gap:clamp(22px,2.5vw,40px);
}
.quote-group{border:0;border-top:1px solid #bbc9e359;padding:14px 0 0;margin:0;min-width:0}
.quote-group legend{font:400 23px/1.2 DMSans,sans-serif;letter-spacing:-.035em;scroll-margin-top:24px}
.quote-group legend:focus{outline:none}
#profile .fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#profile .fields:not(.personal-fields) > label:first-child,#profile .housing-field{grid-column:1/-1}
.housing-icon{display:none}
#profile label{margin:0;font-size:14px;text-shadow:0 1px 4px #121e36}
#profile input:not([type=checkbox],[type=radio]),#profile select{height:48px;min-width:0;border:1px solid #c4d1e5;border-radius:6px;background:transparent;color:#fff;color-scheme:dark;font:400 16px DMSans,sans-serif}
#profile select{
  appearance:none;
  padding-inline-end:38px;
  text-overflow:ellipsis;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23e0e6f1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
}
@media(forced-colors:active){#profile select{appearance:auto;background-image:none;padding-inline-end:12px}}
#profile option{background:#203452}
.binary-question{min-width:0;margin:0;padding:0;border:0;display:flex;flex-direction:column;justify-content:flex-end}
.binary-question legend{padding:0;font:400 14px/1.4 DMSans,Arial,sans-serif;letter-spacing:.005em;color:#e0e6f1;text-shadow:0 1px 4px #121e36}
.binary-options{display:flex;width:100%;margin-top:8px}
#profile .binary-options label{position:relative;flex:1;cursor:pointer}
.binary-options input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.binary-options span{display:grid;place-items:center;min-height:46px;border-bottom:1px solid #9aacc6;font-size:16px;color:#eef3fb}
.binary-options input:checked + span{color:#ffce89;border-bottom:3px solid currentColor;padding-top:2px}
.binary-options input:focus-visible + span{outline:2px solid #ffe1af;outline-offset:-2px}
@media(forced-colors:active){.binary-options input:checked + span{border-color:Highlight}}
/* Let the browser handle selection, focus, dismissal and keyboard navigation. */
@supports (appearance:base-select) and selector(::picker(select)){
  @media not (forced-colors:active){
    #profile select,#profile select::picker(select){appearance:base-select}
    #profile select{align-items:center;text-align:start}
    #profile select::picker-icon{display:none}
    #profile select:focus-visible{outline:2px solid #ffe1af;outline-offset:2px}
    #profile select::picker(select){
      box-sizing:border-box;
      inline-size:anchor-size(width);
      min-inline-size:0;
      max-inline-size:anchor-size(width);
      margin-block:5px;
      padding:5px;
      border:1px solid #73849f;
      border-radius:10px;
      background:#1b2c48;
      color:#f5f7fc;
      box-shadow:0 10px 25px #09132755;
      max-height:min(440px,55dvh);
      overflow-y:auto;
      font:400 15px/1.3 DMSans,Arial,sans-serif;
    }
    #profile option{
      display:block;
      position:relative;
      min-height:40px;
      padding:10px 32px 10px 12px;
      border-radius:5px;
      background:transparent;
      white-space:normal;
    }
    #profile option[value=""]{display:none}
    #profile option:hover,#profile option:focus-visible{background:#324767;outline:0}
    #profile option:checked{color:#ffdcaa;background:#2c3e59}
    #profile option::checkmark{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
    #profile select[name=housing] option:not([value=""]){
      display:grid;
      grid-template-columns:20px minmax(0,1fr) auto 14px;
      align-items:center;
      column-gap:8px;
      min-height:44px;
      padding:8px;
    }
    #profile select[name=housing] option::checkmark{display:none}
    #profile select[name=housing] option:not([value=""])::after{
      content:"";
      grid-column:4;
      grid-row:1;
      width:14px;
      height:14px;
      box-sizing:border-box;
      border:1px solid #98a9c2;
      border-radius:50%;
    }
    #profile select[name=housing] option:checked::after{
      border-color:#ffcf89;
      background:radial-gradient(circle,#ffcf89 0 40%,transparent 45%);
    }
    #profile option .housing-icon{display:block;width:20px;height:20px}
    #profile option .tenure{color:#c4cfe1;font-size:12px;text-align:right}
    #profile selectedcontent{min-width:0;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    #profile selectedcontent .tenure::before{content:"· "}

  }
}
#profile input::placeholder{color:#dae3f3}
#choices label{padding:8px 10px;border-color:#a2b2cc;background:transparent}
#choices label:has(:checked){border-color:#d6e0f0}
#profile input[type=checkbox]{accent-color:#edc995}
#profile #mailBox,#profile .check{margin-top:16px}
#profile .error:empty{display:none}
#profile .error{color:#ffe0c2}
#requestQuotes{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 11px;border:1px solid #ffdfab;border-radius:99px;background:linear-gradient(150deg,#ffe0a9,#eeb16d);color:#20293b}
#requestQuotes{margin-top:18px;padding:0 17px;gap:10px}
#requestQuotes span{font:600 15px DMSans,sans-serif}
@media(prefers-reduced-motion:no-preference){
  .quote-group{animation:unfold .42s cubic-bezier(.2,.75,.25,1) both}
  .quote-group:nth-child(2){animation-delay:50ms}
  .quote-group:nth-child(3){animation-delay:100ms}
  @keyframes unfold{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:650px){.driver{margin:17svh 0 80px 7%;width:86%;max-width:86%}.landscape{background-size:auto 100%;background-position:89% center}#profile .fields{grid-template-columns:1fr}}

/* Guide: the same Riksväg scene, navy surfaces and amber controls as the comparison. */
header nav .guide-link{display:inline-block;white-space:nowrap}
header nav .guide-link[aria-current=page]{color:#ffcc86;text-decoration:underline;text-underline-offset:7px}
body:has(#guide:not([hidden])){background:#172a45;color:#f8f8f5;isolation:isolate}
body:has(#guide:not([hidden]))::before{content:"";position:fixed;inset:-6px;z-index:-2;pointer-events:none;background:#233859 url('/road/twilight.webp') center/100% 100% no-repeat;filter:blur(3px)}
body:has(#guide:not([hidden]))::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,#14233e70,#1b2c5040 60%,#14223930)}
body:has(#guide:not([hidden]))>header{background:transparent;border:0;padding-inline:4.4%;height:86px}
#guide{--guide-line:#b4c5dd45;--guide-muted:#d0d9e9;--guide-gold:#ffcc86;width:min(1390px,87%);max-width:none;margin:0 auto;padding:18px 0 64px;color:#f8f8f5;font-family:DMSans,Arial,sans-serif}
#guide a{color:var(--guide-gold);text-underline-offset:4px}
#guide :focus-visible{outline:2px solid #ffdcaa;outline-offset:5px}
#guide .back{font:400 14px DMSans,sans-serif;color:var(--guide-muted);margin:0 0 24px;padding:4px 0}
#guide .guide-heading>.eyebrow{display:none}
#guide h1{font:400 clamp(34px,3.6vw,55px)/1.1 DMSans,Arial,sans-serif;letter-spacing:-.055em;margin:0 0 18px;text-wrap:balance}
#guide .guide-intro{font-size:17px;line-height:1.6;max-width:690px;color:#e2e9f5}
#guide .guide-date{font-size:12px;color:var(--guide-muted);margin:16px 0 0}
.guide-heading{padding:0 0 30px}
 .guide-layout{display:block}
#guide .guide-toc{display:flex;flex-direction:row;align-items:stretch;gap:0;position:static;overflow-x:auto;flex-wrap:nowrap;max-width:100%;margin:0 0 18px;padding:3px 0 6px;border:0;border-radius:0;background:transparent;scrollbar-width:thin;scrollbar-color:#9aacc6 transparent}
#guide .guide-toc a{display:flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap;min-height:46px;font-size:15px;line-height:1.4;font-weight:400;padding:10px 17px;text-decoration:none;color:#f8f8f5;border-bottom:1px solid #9aacc6}
#guide .guide-toc a:focus-visible{outline-offset:-2px}
#guide .guide-toc a:hover{color:var(--guide-gold);background:transparent}
#guide .guide-toc a[aria-selected=true]{color:var(--guide-gold);border-bottom-color:var(--guide-gold);box-shadow:inset 0 -2px var(--guide-gold)}
.guide-icon{width:21px;height:21px;flex:none;vertical-align:middle}
#guide .guide-body{min-width:0}
#guide .guide-body>section{scroll-margin-top:24px;margin:0 0 22px;padding:28px 30px;background:#172a45ed;border:1px solid #a6b8d25c;border-radius:12px;box-shadow:0 8px 22px #09132520}
#guide .eyebrow{font:400 12px/1.5 DMSans,sans-serif;letter-spacing:0;color:var(--guide-muted);margin:0 0 9px}
#guide h2{font:400 clamp(25px,2.3vw,34px)/1.2 DMSans,sans-serif;letter-spacing:-.044em;margin:0 0 15px;color:#f8f8f5}
#guide h3{font:400 23px/1.25 DMSans,sans-serif;letter-spacing:-.035em;color:#f8f8f5;margin:12px 0}
#guide p{font-size:15px;line-height:1.7;margin:12px 0;color:var(--guide-muted)}
#guide strong{color:#f8f8f5;font-weight:600}
.coverage-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:26px 0 18px;border-block:1px solid var(--guide-line)}
.coverage-levels article{padding:22px 22px 18px 0}
.coverage-levels article+article{border-left:1px solid var(--guide-line);padding-left:22px}
.coverage-levels .guide-icon{color:var(--guide-gold);width:26px;height:26px}
#guide .coverage-levels h3{font-size:27px;margin:12px 0}
#guide .coverage-levels p{font-size:14px;line-height:1.65}
.guide-callout{background:#2b405d70;border:1px solid #a6b8d25c;border-radius:8px;padding:20px 22px;margin:24px 0}
#guide .guide-callout h3{margin-top:0;color:#ffdcaa;font-size:21px}
#guide .guide-callout a{font-size:13px}
#guide .source-note{font-size:12px;line-height:1.7;color:var(--guide-muted)}
#guide details{border-bottom:1px solid var(--guide-line);color:#f8f8f5;font-size:15px}
#guide details:first-of-type{border-top:1px solid var(--guide-line);margin-top:24px}
#guide summary{display:flex;align-items:center;gap:13px;padding:20px 2px;font-weight:400;line-height:1.5;list-style:none}
#guide summary::-webkit-details-marker{display:none}
#guide summary::after{content:"";width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 5px 4px auto;flex:none}
#guide details[open]>summary{color:var(--guide-gold)}
#guide details[open]>summary::after{transform:rotate(225deg);margin-bottom:-3px}
#guide summary:hover{color:var(--guide-gold)}
#guide details>div{padding:0 34px 16px}
#guide details p{max-width:68ch;white-space:normal}
.provider-notes{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-top:24px}
.provider-notes article{border-top:1px solid var(--guide-line);padding:10px 0}
#guide .provider-notes h3{font-size:21px}
#guide .provider-notes p{font-size:14px}
#guide .provider-notes a{text-decoration:none;color:#ffdcaa}
#guide .provider-notes a:hover{text-decoration:underline}
.guide-checklist{padding-left:24px}
.guide-checklist li{padding:9px 0 10px 8px;font-size:16px;line-height:1.5}
.guide-checklist li::marker{color:var(--guide-gold)}
#guide .guide-checklist p{margin:5px 0}
#guide .primary{height:auto;min-height:48px;margin-top:18px;padding:13px 18px;font:400 14px DMSans,sans-serif;text-align:left;border:1px solid #ffdfab;border-radius:99px;background:linear-gradient(150deg,#ffe0a9,#eeb16d);color:#20293b}
@media(max-width:1000px){#guide .guide-body>section{padding:24px}.coverage-levels{grid-template-columns:1fr}.coverage-levels article{padding:18px 0}.coverage-levels article+article{border-left:0;border-top:1px solid var(--guide-line);padding-left:0}.coverage-levels .guide-icon{float:left;margin:13px 13px 0 0}}
@media(max-width:750px){#guide{width:88%;padding-top:16px}body:has(#guide:not([hidden]))>header{height:72px;padding-inline:5%}#guide .guide-toc{margin-bottom:14px}#guide .guide-toc a{font-size:14px;padding-inline:13px}#guide .guide-intro{font-size:16px}.provider-notes{grid-template-columns:1fr}#guide .guide-body>section{padding:22px 20px}#guide summary{font-size:14px;gap:10px}#guide details>div{padding-left:0;padding-right:0}#guide .guide-callout{padding:17px}#guide h1{max-width:550px}body:has(#guide:not([hidden]))::before{background-size:auto 100%;background-position:85% center}}
@media(max-width:390px){header .logo{font-size:17px;gap:5px}header .brand-icon{width:24px;height:24px}header nav{flex-direction:column;gap:0}header nav a,header nav button{padding:3px}#guide{width:90%}#guide h1{font-size:33px}#guide .guide-body>section{padding:20px 16px}}

/* Quote comparison over the same road scene as the registration form. */
body:has(#results:not([hidden])){isolation:isolate;background:#192d49;color:#f5f6f8}
body:has(#results:not([hidden]))>header{height:78px;padding-inline:4.4%;background:transparent;border:0}
.result-scenery{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#243858}
.result-scenery .landscape{position:absolute;inset:0;height:100%;filter:blur(2px);transform:scale(1.009)}
.result-scenery::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,#14233e64,#1b2c503b 60%,#14223910)}
#results{width:min(87%,1140px);margin:auto;padding:12px 0 40px;color:#f5f6f8;font-family:DMSans,Arial,sans-serif;--matrix-rule:#adbed041}
#results h1{margin:0;color:inherit;font:400 clamp(34px,3.65vw,52px)/1.09 DMSans,Arial,sans-serif;letter-spacing:-.055em}
#results h1:focus{outline:none}
.result-context,.result-toolbar,.result-utilities,.edit-profile{display:flex;align-items:center}
.result-context{gap:10px;flex-wrap:wrap;margin-top:13px;color:#e2e9f5;font-size:14px}
.result-context svg,.row-label svg{display:block;width:20px;height:20px;flex:none}
.result-context .reg{font-weight:500;letter-spacing:.08em}
#result-mileage{padding-left:10px;border-left:1px solid #b2c3dc88}
.edit-profile,.offer-matrix button,.result-utilities a{color:#ffdaaa;background:none;border:none;text-decoration:none}
.edit-profile{gap:7px;margin-left:5px;padding:5px;font-size:13px}.edit-profile svg{width:14px;height:14px}
.edit-profile:hover,.offer-matrix button:hover,.result-utilities a:hover{text-decoration:underline}
.result-toolbar{justify-content:space-between;gap:12px;margin:16px 0 12px}
#results #tabs{display:inline-flex;flex-wrap:nowrap;gap:0;margin:0}
#results #tabs button{background:transparent;border:none;border-bottom:1px solid #9aacc6;border-radius:0;color:#e1e8f4;min-width:0;width:clamp(58px,6vw,80px);min-height:44px;padding:7px 10px;font-weight:500;font-size:15px}
#results #tabs [aria-pressed=true]{border-bottom:3px solid #ffce89;padding-top:9px;color:#ffce89}
#result-order{font-size:13px;color:#d5deec}
.matrix-scroll,.matrix-empty{border:1px solid #abbed166;border-radius:10px;background:linear-gradient(112deg,#1b304cf7,#172a45ef);box-shadow:0 6px 36px #12203830}
.matrix-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-color:#8092aa #1c304a}
.matrix-empty{margin:0;padding:24px;color:#e3eaf5}
#results .offer-matrix{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;font-size:16px;color:#f4f6fb}
#results .offer-matrix th,#results .offer-matrix td{padding:9px 19px;vertical-align:middle;text-align:left;border:0;border-bottom:1px solid var(--matrix-rule);font-weight:400;font-size:16px;min-width:186px}
#results .offer-matrix tr>:not(:first-child){border-left:1px solid #b1c4d937}
#results .offer-matrix th:first-child{position:sticky;left:0;z-index:1;width:28%;min-width:160px;max-width:none;color:#eff4fb;background:#1c314d}
#results .offer-matrix thead th{padding:14px 19px 13px;vertical-align:bottom;color:#f4f6fb;background:#263b56}
#results .offer-matrix thead th:first-child{background:#273c57}
#results .offer-matrix b{font-size:18px;font-weight:500}
.brand-symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
#results .offer-matrix .insurer{position:relative;display:flex;align-items:center;gap:6px;min-height:30px;color:#fff}
.provider-logo{display:block;width:120px;height:25px;max-width:100%;flex:none}
.insurer[data-provider="if"] .provider-logo{width:29px;height:29px}
.insurer[data-provider="hedvig"] .provider-logo{width:83px}
.insurer[data-provider="ica"] .provider-logo{background:#fff;padding:4px 5px;border-radius:3px}
.insurer[data-provider="lf"] .provider-logo{width:23px;height:23px;padding:2px;border-radius:2px;background:white}
.provider-name{font-size:14px;letter-spacing:-.035em}

#results .offer-matrix .premium{display:flex;align-items:baseline;gap:5px;margin:4px 0;font-size:36px;line-height:1.15;letter-spacing:-.055em;color:#fff8eb}
#results .offer-matrix small,#results .annual{display:block;color:#c2d1e3;font:400 12px/1.35 DMSans,Arial,sans-serif;letter-spacing:normal}
#results .offer-matrix .premium small{font-size:13px;color:#e1e6ee}
.row-label{display:flex;gap:13px;align-items:center}.row-label svg{color:#c5d6eb}
.included-mark{color:#badbc9}
#results .offer-matrix tfoot th,#results .offer-matrix tfoot td{border-bottom:none}
.offer-matrix button{font:400 14px DMSans,Arial,sans-serif;padding:4px 0}.offer-matrix button span{margin-left:6px}
.result-feedback{margin-top:13px;color:#e3eaf4;font-size:13px;text-shadow:0 1px 4px #102139}
#progress{margin:0}
#results #status{display:grid;gap:3px;margin:5px 0 0}
#results #status p{margin:0;border:0;background:transparent;padding:0;line-height:1.5}
.result-utilities{gap:15px;margin-top:16px;font-size:13px}
.result-utilities #traffic{position:static}
.sr-only{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
#offer-dialog{box-sizing:border-box;width:min(520px,92vw);max-width:92vw;max-height:82dvh;overflow:auto;background:#1c304c;color:#f5f7fb;border:1px solid #839bb6;border-radius:12px;padding:24px;color-scheme:dark}
#offer-dialog::backdrop{background:#101d33ae;backdrop-filter:blur(3px)}
#offer-dialog form{float:right}#offer-dialog button{width:34px;height:34px;border:1px solid #aebed372;border-radius:50%;background:transparent;color:#fff;font-size:20px;line-height:1}
#offer-dialog h2{font:400 26px/1.2 DMSans,sans-serif;letter-spacing:-.04em;margin:0 40px 7px 0}
#offer-summary{margin:0;color:#d1dceb;font-size:14px}
#offer-items{margin:20px 0 0}
#offer-items dt{border-top:1px solid #8ea4be55;padding-top:12px;font-size:16px}
#offer-items dt span{display:inline-block;color:#ffd59a;font-size:12px;margin-left:6px}
#offer-items dd{margin:5px 0 14px;white-space:pre-line;color:#d5e0ef;font-size:14px;line-height:1.5}
@media(max-width:750px){
  body:has(#results:not([hidden]))>header{height:68px;padding-inline:5%}
  #results{width:92%;padding-top:18px}
  .result-context{gap:7px}
  .result-toolbar{align-items:flex-start;flex-direction:column;gap:6px}
  #results .offer-matrix th,#results .offer-matrix td{min-width:156px;padding:9px 12px}
  #results .offer-matrix thead th{padding:12px}
  #results .offer-matrix th:first-child{min-width:101px;width:101px;max-width:112px}
  #results .offer-matrix thead th:first-child b{font-size:14px;overflow-wrap:anywhere}
  .row-label{flex-wrap:wrap;gap:3px;font-size:14px}
  #results .offer-matrix .premium{font-size:29px}
  .result-scenery .landscape{background-size:auto 100%;background-position:85% center}
}

/* Compact mobile header navigation. */
header .menu-toggle{display:none}
@media(max-width:750px){
  body>header{position:relative;z-index:10}
  body:has(#home:not([hidden]))>header{z-index:10}
  header .logo{min-width:0}
  header .menu-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin-left:auto;padding:10px;border:0;border-radius:8px;background:transparent;color:#f8f8f5;cursor:pointer}
  header .menu-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
  header .menu-toggle:hover,header .menu-toggle[aria-expanded=true]{background:#ffffff12;color:#ffcc86}
  header #main-menu{display:none;position:absolute;top:calc(100% - 4px);right:5%;width:max-content;max-width:90%;margin:0;padding:8px;flex-direction:column;align-items:stretch;gap:2px;border:1px solid #ffffff26;border-radius:12px;background:#17273f;box-shadow:0 12px 32px #07122555}
  header #main-menu.is-open{display:flex}
  header #main-menu a,header #main-menu button{display:block;text-align:left;min-height:44px;padding:12px 16px;font-size:15px;border-radius:6px;white-space:nowrap}
  header #main-menu a:hover,header #main-menu button:hover{background:#ffffff0d;color:#ffcc86}
}
