/* PartFab – partfab.fi
   Samma utseende som PartFab-appen: kol, ben och signalorange, Archivo med bredd-axel (utdragen för
   rubriker och siffror, normal för text), PartFab-märket och en sidomeny. Orange används för det viktigaste. */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 800;
  src: url("/assets/fonts/unbounded-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #121315;
  --side: #0d0e10;
  --surface: #18191c;
  --surface-2: #202125;
  --sunk: #0a0b0c;
  --ink: #f2f1ed;
  --ink-2: #a9aaa6;
  --ink-3: #7c7e83;
  --rule: #2a2b30;
  --rule-2: #212226;
  --pei: #ff6a00;
  --pei-hi: #ff8533;
  --pei-lo: #ff9a57;
  --pei-wash: #2e1b0d;
  --on-pei: #160a00;
  --go: #5cc08b;
  --go-wash: #142a1d;
  --stop: #f07b6c;
  --stop-wash: #381b17;
  --focus: #7ba3ff;
  --studio: #18191c;          /* bakgrunden i produktbilderna och videon (samma som --surface) */
  --ring: rgba(255, 255, 255, .22);
  --shadow-pop: 0 18px 50px -18px rgba(0, 0, 0, .75), 0 2px 6px rgba(0, 0, 0, .35);
  --r-s: 8px;
  --r: 12px;
  --r-l: 16px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --side-w: 248px;
  --top-h: 0px;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ bas */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 420 16px/1.55 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
img, video { display: block; max-width: 100%; height: auto; }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 13.5px; }
.faint { color: var(--ink-3); }
.r { text-align: right; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-s); font-weight: 650; }
.skip:focus { top: 12px; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 15px; height: 15px; }
svg.i.lg { width: 26px; height: 26px; }

.display { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; }
h1 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; font-weight: 770; font-stretch: 120%; letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.12; font-weight: 770; font-stretch: 118%; letter-spacing: -0.015em; }
h2.big { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.025em; line-height: 1.04; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 680; font-stretch: 106%; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 62ch; margin-top: 12px; text-wrap: pretty; }

/* ------------------------------------------------------------------ skalet: menyn till vänster, sidan till höger */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh;
  background: linear-gradient(90deg, var(--side) calc(var(--side-w) - 1px), var(--rule-2) calc(var(--side-w) - 1px) var(--side-w), transparent var(--side-w)); }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 28px;
  padding: 22px 14px 18px; background: var(--side); border-right: 1px solid var(--rule-2); scrollbar-width: thin; }
.side-top { display: flex; align-items: center; justify-content: space-between; }
.sidebar .side-close { display: none; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; flex: none; }
.sidebar .brand { padding: 2px 8px; }
.brand .word { font: 800 18px/1 "Unbounded", var(--font); letter-spacing: -0.01em; }
.brand .word span { color: var(--pei); }
.mark { width: 36px; height: 36px; flex: none; display: block; }
.sidenav { display: grid; gap: 18px; }
.sidenav .grp { display: grid; gap: 2px; }
.sidenav .grp + .grp { padding-top: 16px; border-top: 1px solid var(--rule-2); }
.sidenav a { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px;
  text-decoration: none; color: var(--ink-2); font-weight: 580; font-size: 15.5px; white-space: nowrap; }
.sidenav a svg.i { opacity: .75; }
.sidenav a:hover { color: var(--ink); background: color-mix(in srgb, var(--surface-2) 65%, transparent); }
.sidenav a.on { color: var(--ink); background: var(--surface-2); }
.sidenav a.on svg.i { color: var(--pei); opacity: 1; }
.sidenav a.on::before { content: ""; position: absolute; left: -14px; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pei); }
.side-end { margin-top: auto; display: grid; gap: 14px; }
.langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--rule-2); }
.langs a { height: 32px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; color: var(--ink-3); font-weight: 680; font-size: 13px; letter-spacing: .02em; }
.langs a:hover { color: var(--ink); }
.langs a.on { background: var(--surface-2); color: var(--ink); }
.side-contact { display: grid; gap: 2px; padding: 0 6px; font-size: 13.5px; color: var(--ink-3); }
.side-contact a { text-decoration: none; }
.side-contact a:hover { color: var(--ink); }
.iconbtn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: var(--ink-2); text-decoration: none;
  background: none; border: 0; cursor: pointer; }
.iconbtn:hover { background: var(--surface-2); color: var(--ink); }
.page { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.content { width: 100%; max-width: 1200px; margin: 0 auto; flex: 1;
  padding: 48px max(48px, env(safe-area-inset-right, 0px)) 72px max(48px, env(safe-area-inset-left, 0px)); }
.mtop, .ctabar { display: none; }

@media (max-width: 1000px) {
  :root { --top-h: 60px; }
  .shell { display: block; background: none; }
  .sidebar { position: fixed; z-index: 70; left: 0; top: 0; bottom: 0; height: auto; width: min(320px, 88vw); transform: translateX(-104%);
    transition: transform .22s ease; box-shadow: var(--shadow-pop); padding-top: max(18px, env(safe-area-inset-top, 0px)); }
  .sidebar .side-close { display: grid; }
  html.navopen .sidebar { transform: none; }
  html.navopen { overflow: hidden; }
  .scrim { position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, .62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
  .mtop { display: flex; position: sticky; top: 0; z-index: 40; height: var(--top-h); align-items: center; gap: 2px; padding: 0 8px 0 16px;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule-2); }
  .mtop .brand { margin-right: auto; }
  .mtop .mark { width: 30px; height: 30px; }
  .mtop .brand .word { font-size: 16px; }
  .content { padding: 28px max(18px, env(safe-area-inset-right, 0px)) 48px max(18px, env(safe-area-inset-left, 0px)); }
  .ctabar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--side) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--rule); transition: transform .2s ease; }
  .ctabar.away { transform: translateY(110%); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (prefers-reduced-motion: reduce) { .sidebar, .ctabar { transition: none; } }

/* ------------------------------------------------------------------ sektioner */
.section { margin-top: 88px; scroll-margin-top: calc(var(--top-h) + 24px); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sh p { color: var(--ink-2); font-size: 16px; margin-top: 8px; max-width: 64ch; text-wrap: pretty; }
.pagehead { margin-bottom: 36px; max-width: 900px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.more { margin-top: 18px; }

.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); }
.panel.pad { padding: 28px; }
.tile { margin: 0; background: var(--studio); border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; }
.tile img, .tile video { width: 100%; }
.note { padding: 13px 16px; border-radius: var(--r-s); background: var(--surface-2); color: var(--ink-2); font-size: 15px; }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  background: var(--pei); color: var(--on-pei); font-size: 13.5px; font-weight: 760; font-stretch: 100%; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; font-weight: 640;
  background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip.new { background: var(--pei-wash); color: var(--pei-lo); }
.ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink-2); }
.ico.ok { background: var(--go-wash); color: var(--go); width: 52px; height: 52px; border-radius: 14px; }

/* ------------------------------------------------------------------ knappar och fält */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 18px;
  border-radius: var(--r-s); border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  font: 640 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .12s, border-color .12s, transform .06s; }
.btn:hover { border-color: var(--ink-3); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn.pei { background: var(--pei); border-color: var(--pei); color: var(--on-pei); }
.btn.pei:hover { background: var(--pei-hi); border-color: var(--pei-hi); }
.btn.sm { height: 34px; padding: 0 13px; font-size: 14px; border-radius: 7px; }
.btn.lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn.block { width: 100%; }

input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: var(--r-s);
  padding: 10px 12px; min-height: 46px; width: 100%; }
select { appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9aaa6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
input[type="file"] { padding: 9px 10px; color: var(--ink-2); font-size: 14px; }
input[type="file"]::file-selector-button { font: 640 14px var(--font); color: var(--ink); background: var(--surface-2); border: 1px solid var(--rule);
  border-radius: 7px; padding: 7px 12px; margin-right: 12px; cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent); }
textarea { min-height: 110px; resize: vertical; }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 640; color: var(--ink); align-content: start; }
label .lab { display: block; }
label .opt { font-weight: 450; color: var(--ink-3); margin-left: 4px; }
.hint { font-weight: 420; color: var(--ink-3); font-size: 13px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.fields .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.flash { padding: 13px 16px; border-radius: var(--r); font-weight: 560; font-size: 15px; }
.flash.err { background: var(--stop-wash); color: var(--stop); }

/* ------------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; }
.hero .actions { margin-top: 28px; }
.hero__media { position: relative; }
.vid-toggle { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(242, 241, 237, .1); border: 1px solid rgba(242, 241, 237, .16); color: #f2f1ed;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vid-toggle:hover { background: rgba(242, 241, 237, .18); }
.vid-toggle .i-play { display: none; }
.vid-toggle.is-paused .i-play { display: block; }
.vid-toggle.is-paused .i-pause { display: none; }
.vid-toggle svg.i { width: 17px; height: 17px; }
.vid-toggle .i-play { fill: currentColor; }
@media (max-width: 1240px) and (min-width: 1001px), (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
}

/* siffrorna under hjälten, samma som appens figurer */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); }
.figures > li { padding: 22px 24px; min-width: 0; display: grid; gap: 6px; align-content: start; }
.figures > li + li { border-left: 1px solid var(--rule-2); }
.figures .v { font-size: 32px; font-weight: 790; font-stretch: 122%; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.figures .k { font-size: 14px; color: var(--ink-2); }
.figures .v2 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.facts { margin-top: 40px; }
.specs { margin-top: 16px; }
.specs .k { font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > li:nth-child(3) { border-left: 0; }
  .figures > li:nth-child(n+3) { border-top: 1px solid var(--rule-2); }
  .figures .v { font-size: 26px; }
  .figures > li { padding: 18px; }
}

/* ------------------------------------------------------------------ produkter */
.prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.prod { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.prod .tile { border: 0; border-bottom: 1px solid var(--rule-2); border-radius: var(--r-l) var(--r-l) 0 0; }
.prod__body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.prod__body h3 { font-size: 20px; font-stretch: 112%; font-weight: 720; }
.prod__body h3 a { text-decoration: none; }
.prod__body p { color: var(--ink-2); }
.prod__foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .prods { grid-template-columns: 1fr; } }

/* rader i en panel, som appens att göra-lista */
.rows { margin-top: 18px; }
.rows > li { display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.rows > li + li { border-top: 1px solid var(--rule-2); }
.rows > li > div { flex: 1; min-width: 0; }
.rows p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.rows .go { font-weight: 640; font-size: 14.5px; text-decoration: none; white-space: nowrap; color: var(--ink); }
.rows .go:hover { color: var(--pei-lo); }
@media (max-width: 560px) {
  .rows > li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px 14px; align-items: start; padding: 18px; }
  .rows .go { grid-column: 2; }
}

/* fyra skäl i ett rutnät med hårfina linjer */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid4 > li { padding: 24px 22px; display: grid; gap: 10px; align-content: start; }
.grid4 > li + li { border-left: 1px solid var(--rule-2); }
.grid4 p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 1240px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .grid4 > li:nth-child(3) { border-left: 0; }
  .grid4 > li:nth-child(n+3) { border-top: 1px solid var(--rule-2); }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr; }
  .grid4 > li + li { border-left: 0; border-top: 1px solid var(--rule-2); }
}
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rows2 > li { display: flex; gap: 16px; padding: 22px; align-items: flex-start; }
.rows2 > li:nth-child(even) { border-left: 1px solid var(--rule-2); }
.rows2 > li:nth-child(n+3) { border-top: 1px solid var(--rule-2); }
.rows2 p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
@media (max-width: 760px) {
  .grid2 { grid-template-columns: 1fr; }
  .rows2 > li:nth-child(even) { border-left: 0; }
  .rows2 > li + li { border-top: 1px solid var(--rule-2); }
}

/* ------------------------------------------------------------------ öppnaren */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps p { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-weight: 640; font-size: 16px; }
.steps + .note { margin-top: 18px; }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .steps p { font-size: 13px; gap: 6px; align-items: flex-start; } .steps .count { min-width: 22px; height: 22px; font-size: 12px; } }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 18px; margin-bottom: 18px; }
.swatches li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.spool { --c: #999; width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-block;
  background: radial-gradient(circle, var(--surface) 0 17%, rgba(0,0,0,.28) 18% 25%, var(--c) 26% 92%, rgba(0,0,0,.2) 93%);
  box-shadow: 0 0 0 1px var(--ring); }

/* ------------------------------------------------------------------ priser och räknaren (som appens Kalkyl) */
.pricegrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
@media (max-width: 1240px) { .pricegrid { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font-weight: 620; color: var(--ink-3); font-size: 13px; padding: 0 0 10px; }
.table td { padding: 13px 0; border-top: 1px solid var(--rule-2); }
.table .r { text-align: right; }
.tiers tr.on td { color: var(--pei-lo); font-weight: 700; }
.tiers tr.on td:first-child { box-shadow: inset 3px 0 0 var(--pei); padding-left: 12px; }
.tiers tr td:first-child { transition: padding .15s; }
.tiers__note { margin-top: 16px; }
.calc { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); overflow: hidden; }
.calc__in { padding: 26px; border-right: 1px solid var(--rule-2); display: grid; gap: 16px; align-content: start; background: color-mix(in srgb, var(--surface-2) 40%, var(--surface)); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty input { font-size: 22px; font-weight: 700; font-stretch: 112%; min-height: 54px; font-variant-numeric: tabular-nums; }
.qty span { color: var(--ink-2); font-weight: 600; }
.qtychips { display: flex; flex-wrap: wrap; gap: 6px; }
.chipbtn { height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--surface-2); color: var(--ink-2);
  font: 650 14px/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; }
.chipbtn:hover { color: var(--ink); border-color: var(--ink-3); }
.chipbtn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.calc__out { padding: 26px 28px 26px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.kbig { display: grid; gap: 4px; }
.kbig .v { font-size: clamp(40px, 5vw, 56px); font-weight: 800; font-stretch: 122%; letter-spacing: -0.03em; line-height: 1; color: var(--pei); }
.kbig .k { font-size: 14px; color: var(--ink-2); }
.klines { display: grid; font-size: 15.5px; border-top: 1px solid var(--rule-2); }
.klines > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-2); }
.klines > div span:first-child { color: var(--ink-2); }
.klines b { font-weight: 640; }
.klines .free { color: var(--go); }
.klines .tot { font-size: 17px; }
.klines .tot span:first-child { color: var(--ink); font-weight: 680; }
.klines .tot b { color: var(--ink); font-weight: 780; }
.calc__hint { color: var(--ink); font-weight: 560; font-size: 15px; }
@media (max-width: 640px) {
  .calc { grid-template-columns: 1fr; }
  .calc__in { border-right: 0; border-bottom: 1px solid var(--rule-2); padding: 22px; }
  .calc__out { padding: 22px; }
}

/* ------------------------------------------------------------------ så går det till */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process > li { padding: 24px 22px; display: grid; gap: 10px; align-content: start; position: relative; }
.process > li + li { border-left: 1px solid var(--rule-2); }
.process p { color: var(--ink-2); font-size: 15px; }
.process .count { justify-self: start; }
@media (max-width: 1240px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process > li:nth-child(3) { border-left: 0; }
  .process > li:nth-child(n+3) { border-top: 1px solid var(--rule-2); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process > li + li { border-left: 0; border-top: 1px solid var(--rule-2); }
}

/* ------------------------------------------------------------------ frågor */
.faq details + details { border-top: 1px solid var(--rule-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 640; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { color: var(--ink-3); transition: transform .18s ease; }
.faq details[open] summary svg.i { transform: rotate(45deg); color: var(--pei); }
.faq summary:hover { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); max-width: 70ch; }
.faq details:first-child summary { border-radius: var(--r-l) var(--r-l) 0 0; }

/* ------------------------------------------------------------------ kontakt */
.contact { margin-top: 96px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.direct { margin-top: 28px; display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--rule-2); }
.direct .k { font-size: 13px; color: var(--ink-3); }
.direct .who { font-weight: 700; font-size: 17px; font-stretch: 110%; }
.direct a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink-2); }
.direct a:hover { color: var(--ink); }
.form { padding: 28px; display: grid; gap: 20px; }
.form .btn[type="submit"] { margin-top: 4px; }
.form.is-sending .btn[type="submit"] { opacity: .6; pointer-events: none; }
.form__privacy { font-size: 13.5px; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1100px) { .contact__grid { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 560px) { .form { padding: 20px; } }

/* ------------------------------------------------------------------ tjänster, juridik, tack */
.svc { display: grid; gap: 18px; }
.svc__feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; overflow: hidden; align-items: center; }
.svc__feat .tile { border: 0; border-right: 1px solid var(--rule-2); border-radius: 0; height: 100%; }
.svc__feat .tile img { height: 100%; object-fit: cover; }
.svc__feat > div { padding: 28px; }
.svc__item { display: flex; gap: 18px; padding: 26px 28px; align-items: flex-start; }
.svc h2 { font-size: 21px; }
.svc p { color: var(--ink-2); margin-top: 8px; max-width: 70ch; }
@media (max-width: 760px) { .svc__feat { grid-template-columns: 1fr; } .svc__feat .tile { border-right: 0; border-bottom: 1px solid var(--rule-2); } .svc__item { padding: 22px; } }

.prose { max-width: 820px; }
.prose > .lede { margin-bottom: 8px; }
.prose .panel { margin: 28px 0 14px; display: grid; gap: 22px; }
.prose h2 { font-size: 18px; font-stretch: 110%; }
.prose p { color: var(--ink-2); margin-top: 6px; max-width: 72ch; }
.prose p a { color: var(--ink); }

.done { max-width: 720px; display: grid; gap: 14px; justify-items: start; }
.done .lede { margin-top: 0; }
.done .actions { margin-top: 6px; }
.vid-page { max-width: 900px; margin-bottom: 14px; }
.vid-page + .small { margin-bottom: 22px; }

/* ------------------------------------------------------------------ sökordssidor (26.10.2026) */
.crumbs { margin: -6px 0 20px; font-size: 13.5px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.hero.lp .tile img { aspect-ratio: 1000 / 714; object-fit: cover; }
.note.season { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; }
.note.season svg.i { flex: none; margin-top: 2px; color: var(--pei); }
.note.season a { color: var(--ink); font-weight: 640; }
.copy { display: grid; gap: 12px; }
.copy p { color: var(--ink-2); max-width: 72ch; text-wrap: pretty; }
.copy p a { color: var(--ink); }
.copy strong { color: var(--ink); font-weight: 650; }
.rows2 h3 a, .related h3 a, .svc__feat h2 a { color: var(--ink); text-decoration: none; }
.rows2 h3 a:hover, .related h3 a:hover, .svc__feat h2 a:hover { color: var(--pei-lo); }
.more { display: flex; flex-wrap: wrap; gap: 10px; }
.tiers-only { max-width: 560px; }
.svc__feat .btn { margin-top: 14px; }
.foot__nav { display: grid; gap: 14px; }

/* ------------------------------------------------------------------ sidfot */
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px 32px; align-items: start;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 36px max(48px, env(safe-area-inset-right, 0px)) 40px max(48px, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--rule-2); font-size: 14px; color: var(--ink-3); }
.foot__brand p { margin-top: 12px; max-width: 36ch; }
.foot .mark { width: 30px; height: 30px; }
.foot .brand .word { font-size: 16px; color: var(--ink); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot__links { display: grid; gap: 4px; }
.foot__copy { grid-column: 1 / -1; font-size: 13px; }
@media (max-width: 1000px) {
  .foot { grid-template-columns: 1fr 1fr; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section { margin-top: 64px; }
  .contact { margin-top: 72px; }
  .panel.pad { padding: 20px; }
  .lede { font-size: 16px; }
  .sh p { font-size: 15.5px; }
}

/* utskrift: bara innehållet */
@media print {
  .sidebar, .mtop, .ctabar, .scrim, .vid-toggle { display: none !important; }
  .shell { display: block; background: none; }
  body { background: #fff; color: #000; }
}
