/* shayanparsai.com, tema A "Noir" (2026-10-15, valt ur drafts/design/nytt-tema/abc.html).
   Mörk, Clash Display + Satoshi (självhostade), röd accent #a3202b och rosa #ffc9c2 på mörkt.
   Gäller startsidan, integritetssidan och 404-sidan. Rörelserna ligger i a.js. */

@font-face { font-family: "Clash Display"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/clash-display-600.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/satoshi-400.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/satoshi-500.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/satoshi-700.woff2) format("woff2"); }

/* Lenis 1.3.4 (mjuk scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

:root {
  --bg: #0f0f10; --bg2: #18181b; --ink: #f3eee7; --mut: rgba(243,238,231,.62); --line: rgba(243,238,231,.13);
  --red: #a3202b; --pink: #ffc9c2; --green: #8fdcae;
  --e: cubic-bezier(.16,1,.3,1);
  --disp: "Clash Display", "Satoshi", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
body { overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 17px/1.6 Satoshi, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ut { display: inline-block; width: .68em; height: .68em; margin-left: .22em; vertical-align: .02em; stroke-width: 2.2; opacity: .75; }
.ext { white-space: nowrap; }
.tn { font-family: Arial, Helvetica, sans-serif; font-weight: 400; } /* kort tankstreck: Satoshis är nästan lika långt som ett långt */
.w { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
h1, h2, h3, .disp { font-family: var(--disp); font-weight: 600; letter-spacing: -.025em; line-height: 1; }

/* knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 16px; border: 1px solid rgba(243,238,231,.35); background: transparent; color: var(--ink); cursor: pointer; transition: transform .16s var(--e), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-fill { background: var(--red); border-color: var(--red); color: #fff; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: default; }
@media (hover: hover) { .btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); } }

/* meny */
.a-nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 40px; transition: transform .6s var(--e), background-color .4s; }
.a-nav.up { transform: translateY(-100%); }
.a-nav.solid { background: rgba(15,15,16,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { font: 600 24px/1 var(--disp); letter-spacing: -.02em; }
.brand i { color: var(--red); font-style: normal; }
.a-nav nav { display: flex; gap: 32px; font-size: 15px; color: var(--mut); }
.a-nav nav a { position: relative; transition: color .2s; }
.a-nav nav a.on { color: var(--ink); }
.a-nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--e); }
.a-nav nav a.on::after { transform: scaleX(1); }
.a-navcta { padding: 10px 20px; border: 1px solid rgba(243,238,231,.35); border-radius: 999px; font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; white-space: nowrap; }
@media (hover: hover) { .a-nav nav a:hover { color: var(--ink); } .a-navcta:hover { background: var(--ink); color: var(--bg); } }

/* muspluppen (bara med mus) */
.a-cur { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--pink); border: 1.5px solid var(--pink); pointer-events: none; z-index: 60; opacity: 0; display: none; transition: width .35s var(--e), height .35s var(--e), margin .35s var(--e), opacity .3s, background-color .3s; }
.a-cur.on { opacity: 1; }
.a-cur.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: transparent; }
@media (hover: hover) and (pointer: fine) { .a-cur { display: block; } }

/* hero */
.js .a-hero { visibility: hidden; }
.a-hero { min-height: 100svh; padding: 128px 0 64px; display: flex; align-items: flex-end; }
/* cookierutan i heron (Heimdalls inbyggda läge, variant C 2026-10-16): överst, heron längst ned; tom plats tas bort */
.a-hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.a-consent { margin-bottom: auto; }
.a-consent:empty { display: none; }
.a-consent > #site-consent-inline { margin-bottom: 48px; }
.a-hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: end; width: 100%; }
.a-hero-txt { position: relative; z-index: 2; }
.a-kick { display: block; font: 400 19px/1.6 Satoshi, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--mut); margin-bottom: 12px; }
.a-name { font-size: clamp(66px, 10.6vw, 176px); line-height: .88; text-transform: uppercase; letter-spacing: -.04em; }
.a-l { display: block; white-space: nowrap; }
.a-l2 { padding-left: .86em; }
.a-title { margin-top: 28px; font-size: 21px; font-weight: 500; }
.a-title em { color: var(--pink); font-style: normal; margin: 0 .45em; }
.a-sub { max-width: 540px; color: var(--mut); font-size: 18px; margin-top: 16px; }
.a-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.a-photo { position: relative; overflow: hidden; border-radius: 6px; height: min(66svh, 620px); width: 100%; }
.a-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 25%; }
.a-photo .cov { position: absolute; inset: 0; background: var(--bg); transform-origin: 50% 0; transform: scaleY(0); }
.a-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.a-stat { padding: 32px 32px 32px 0; }
.a-stat + .a-stat { padding-left: 32px; border-left: 1px solid var(--line); }
.a-stat strong { display: block; font: 600 clamp(32px, 3.5vw, 50px)/1 var(--disp); letter-spacing: -.02em; white-space: nowrap; }
/* en rad var (användaren 2026-10-16): samma storlek på alla tre, skalad efter raden; längsta texten är 22,86 em */
.a-stats { container-type: inline-size; }
.a-stat span { display: block; margin-top: 12px; color: var(--mut); white-space: nowrap; font-size: min(15px, calc((100cqi / 3 - 32px) / 23.2)); }

/* sektioner */
.sec { padding: 144px 0; }
.a-h2 { font-size: clamp(44px, 6.2vw, 80px); margin-bottom: 56px; } /* tak 80: "Work experience" (8,29 em) bröts vid 1440 i sin spalt */
.a-state { font-weight: 500; font-size: clamp(24px, 2.9vw, 40px); line-height: 1.3; letter-spacing: -.012em; max-width: 1140px; }
.a-state a { color: var(--pink); }
.a-about-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; align-items: start; }
.a-about-2 > p { color: var(--mut); font-size: 18px; max-width: 560px; }
.a-kid { background: var(--red); padding: 36px; border-radius: 6px; }
.a-kid h3 { font-size: 26px; margin-bottom: 12px; }
.a-kid p { color: rgba(255,255,255,.88); font-size: 16px; }
.a-how-h { font-size: clamp(32px, 3.4vw, 48px); margin: 120px 0 40px; }
.a-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.a-how > li { border-top: 1px solid var(--line); padding-top: 24px; container-type: inline-size; }
.a-how h3 { font-size: min(22px, calc(100cqi / 12.9)); line-height: 1.15; white-space: nowrap; } /* "Remote, open to relocating" 12,56 em på en rad */
.a-how p { color: var(--mut); font-size: 15.5px; margin-top: 12px; }

/* Heimdall */
.a-hd-sec { padding-bottom: 96px; }
.hd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 56px; }
.hd > * { min-width: 0; }
.hd-top { display: flex; gap: 16px; align-items: center; }
.hd-top svg { width: 56px; height: 56px; flex: none; }
.hd-top h3 { font-size: 24px; line-height: 1.1; }
.hd-role { color: var(--mut); font-size: 14px; margin-top: 4px; }
.hd-q { font: 600 clamp(26px, 2.6vw, 36px)/1.12 var(--disp); letter-spacing: -.015em; margin-top: 28px; text-wrap: balance; }
.hd-q em { display: block; font: 500 18px/1.35 Satoshi, system-ui, sans-serif; letter-spacing: 0; font-style: normal; color: var(--pink); margin-top: 8px; }
.hd-d { color: var(--mut); margin-top: 16px; font-size: 16px; }
.hd-delar { display: grid; gap: 16px; margin-top: 28px; }
.hd-delar li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.hd-ic { width: 40px; height: 40px; border-radius: 10px; background: #26262b; color: var(--pink); display: grid; place-items: center; }
.hd-ic svg { width: 22px; height: 22px; }
.hd-delar h4 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.hd-delar p { font-size: 14.5px; line-height: 1.5; color: var(--mut); margin-top: 2px; }
.hd-delar small { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--pink); }
.hd-mm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hd-mm strong { display: block; font: 600 26px/1.2 var(--disp); color: var(--pink); white-space: nowrap; }
.hd-mm span { font-size: 14px; color: var(--mut); }
.hd-stack { margin-top: 16px; font-size: 14px; color: var(--mut); }
.hd-r { display: grid; gap: 16px; }
.pan { background: #fff; color: #1f2427; border-radius: 10px; padding: 18px 20px; box-shadow: 0 22px 50px rgba(0,0,0,.3); }
.pan-h { font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pan-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.pan-k span { border: 1.5px solid #1f2427; border-radius: 6px; font-size: 12px; font-weight: 600; text-align: center; padding: 7px 4px; white-space: nowrap; }
.pan-k .on { background: #1f2427; color: #fff; }
.pan-graf svg { width: 100%; height: 70px; margin-top: 10px; }
.ex { font-size: 11px; font-weight: 600; color: #6a6f73; border: 1px solid #e3dfdb; border-radius: 10px; padding: 1px 8px; }
.rap-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: #6a6f73; text-transform: uppercase; letter-spacing: .08em; }
.rap-t { font-weight: 700; font-size: 16px; margin-top: 6px; }
.pan ul { margin-top: 10px; }
.pan li { font-size: 14px; padding: 8px 0 8px 26px; border-top: 1px solid #ece8e4; position: relative; }
.pan li::before { position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.pan li.ok::before { content: "\2713"; background: #1f7a4d; }
.pan li.warn::before { content: "!"; background: #c27a10; }

/* Selected work: korten staplas */
.a-work-h { padding-top: 48px; }
.a-stack { display: flex; flex-direction: column; gap: 24px; padding-bottom: 48px; }
.a-card { position: sticky; top: calc(96px + var(--i) * 8px); }
.a-card-in { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 40px; min-height: min(460px, calc(100svh - 240px)); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; transform-origin: 50% 0; }
.a-dim { position: absolute; inset: -1px; background: var(--bg); opacity: 0; border-radius: inherit; pointer-events: none; }
/* namn och belopp skalas efter sin spalt (cqi), inte skärmen: spalterna kan inte längre växa förbi kortet (2026-10-16,
   Medborgarskapskursen rann ut 15–80 px). Längsta namnet är 11,76 em brett, längsta beloppet 8,11 em; marginal räknad. */
.a-c-l { display: flex; flex-direction: column; gap: 32px; container-type: inline-size; }
.a-c-top { display: flex; align-items: center; gap: 20px; }
.logo { width: 64px; height: 64px; border-radius: 14px; background: #fff; object-fit: contain; flex: none; }
.logo.pad { padding: 8px; }
.a-c-top h3 { font-size: min(46px, calc((100cqi - 84px) / 12.2)); }
.a-role { color: var(--mut); font-size: 15px; margin-top: 8px; }
.a-c-body { margin-top: auto; }
.a-c-t { font-size: 17px; color: rgba(243,238,231,.82); max-width: 540px; }
.a-note { color: var(--green); font-size: 15px; font-weight: 500; margin-top: 16px; }
.a-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 15px; color: var(--pink); }
.a-stackline { margin-top: 14px; font-size: 14px; color: var(--mut); }
.a-c-m { border-left: 1px solid var(--line); padding-left: 48px; display: flex; flex-direction: column; justify-content: flex-end; container-type: inline-size; }
.a-c-m strong { display: block; font: 600 min(60px, calc(100cqi / 8.4))/.95 var(--disp); letter-spacing: -.03em; color: var(--pink); white-space: nowrap; }
.a-c-m span { display: block; margin-top: 14px; color: var(--mut); font-size: 15px; }
@media (hover: hover) { .a-links a:hover, .a-state a:hover, .x-p:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* Search growth */
.a-lede { color: var(--mut); font-size: 19px; max-width: 760px; margin: -32px 0 48px; }
.a-g-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.a-g { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 40px; display: flex; flex-direction: column; }
.a-g-tag { font-size: 13px; font-weight: 500; color: var(--pink); }
.a-g h3 { font-size: 30px; margin-top: 10px; }
.a-g-t { color: var(--mut); font-size: 15.5px; margin-top: 10px; min-height: 3.2em; }
.a-g-big { font: 600 clamp(56px, 6vw, 88px)/1 var(--disp); letter-spacing: -.03em; color: var(--pink); margin: 28px 0 24px; }
.a-g-src { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--mut); }
.gb + .gb { margin-top: 22px; }
.gb-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.gb-h b { color: var(--pink); font-weight: 700; }
.gb-r { display: grid; grid-template-columns: 52px 1fr 56px; gap: 12px; align-items: center; font-size: 13px; color: var(--mut); margin-top: 6px; }
.gb-r i { display: block; height: 8px; border-radius: 99px; background: rgba(243,238,231,.1); overflow: hidden; }
.gb-r s { display: block; height: 100%; width: 100%; background: rgba(243,238,231,.35); transform-origin: left center; border-radius: 99px; }
.gb-r.nu s { background: var(--pink); }
.gb-r em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }

/* Experience: tidslinjen fylls i rött medan man scrollar */
.a-xp-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 96px; }
.a-xpw { position: relative; padding-left: 44px; }
.a-xpw::before, .a-tl { content: ""; position: absolute; left: 7px; top: 34px; bottom: 34px; width: 2px; background: var(--line); }
.a-tl { background: var(--red); transform-origin: 50% 0; }
.a-xp li, .a-edu li { position: relative; display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.a-xp li::before { content: ""; position: absolute; left: -44px; top: 30px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(243,238,231,.3); background: var(--bg); transition: background-color .4s, border-color .4s; }
.a-xp li.on::before { border-color: var(--red); background: var(--red); }
.a-edu li { grid-template-columns: 1fr; }
.x-d { color: var(--mut); font-size: 14.5px; padding-top: 4px; }
.x-h { font-size: 21px; line-height: 1.2; }
.x-o { color: var(--mut); font-size: 15px; margin-top: 4px; }
.x-t { font-size: 15.5px; margin-top: 8px; color: rgba(243,238,231,.82); max-width: 520px; }
.x-p { display: inline-flex; align-items: center; margin-top: 8px; font-size: 14.5px; color: var(--pink); }
.x-s { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); padding-top: 6px; }
.x-s.on { color: var(--pink); }
.x-s.sold { color: var(--green); }

/* Toolbox */
.a-tl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.a-t { padding: 32px 0; border-top: 1px solid var(--line); }
.a-t h3 { font-size: 26px; }
.a-t p { color: var(--mut); margin-top: 10px; font-size: 16px; max-width: 520px; }
.a-t p.tags { color: var(--pink); font-size: 14.5px; margin-top: 14px; }
.a-out-h { font-size: 32px; margin: 80px 0 24px; }

/* Let's talk */
.a-contact { padding: 160px 0 64px; border-top: 1px solid var(--line); }
.a-huge { font-size: clamp(76px, 15.5vw, 232px); /* tak 232: "Let's talk" är 5,28 em och spalten max 1240 px (bröts över 1600 px) */ line-height: .84; letter-spacing: -.045em; text-transform: uppercase; }
.a-c-lede { font-size: 21px; color: var(--mut); max-width: 760px; margin-top: 32px; }
/* korta texter radbryts balanserat, så att sista raden inte blir två–tre ensamma ord (2026-10-16) */
.a-sub, .a-lede, .a-c-lede, .a-c-t, .a-g-t, .a-g-src, .x-t, .a-t p, .a-how p, .hd-d, .hd-delar p, .hd-mm span, .a-about-2 > p, .a-kid p, .g p, .e404 .lead, .f-note { text-wrap: balance; }
.a-c-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px; margin-top: 80px; align-items: start; }
.cv { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 10px; background: var(--ink); color: var(--bg); transition: transform .3s var(--e); }
.cv b { display: block; font-size: 17px; }
.cv small { display: block; font-size: 13.5px; opacity: .7; margin-top: 2px; }
.cv .dl { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--red); color: #fff; }
.cv .dl .i { width: 18px; height: 18px; stroke-width: 2; }
@media (hover: hover) { .cv:hover { transform: translateY(-2px); } }
.side-h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 32px 0 12px; color: var(--mut); }
.side-l li + li { margin-top: 10px; }
.side-l a { font-weight: 500; font-size: 16px; color: var(--ink); }
.side-l .ut { color: var(--pink); }
@media (hover: hover) { .side-l a:hover { color: var(--pink); } }

/* formuläret */
.form { display: grid; gap: 20px; }
.f-pick { border: 0; display: grid; gap: 10px; }
.f-pick legend { font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.f-opt { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid rgba(243,238,231,.16); border-radius: 10px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.f-opt input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(243,238,231,.35); flex: none; margin: 0; }
.f-opt input:checked { border-color: var(--pink); background: radial-gradient(circle, var(--pink) 0 4px, transparent 5px); }
.f-opt:has(input:checked) { border-color: var(--pink); }
.f-opt:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }
.f-opt b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.f-opt small { display: block; font-size: 13.5px; color: var(--mut); margin-top: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-f > span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.f-f > span i { font-style: normal; color: var(--mut); font-weight: 400; }
.f-f input, .f-f textarea { width: 100%; background: #141416; border: 1px solid rgba(243,238,231,.16); border-radius: 10px; padding: 13px 15px; font-size: 16px; outline: none; transition: border-color .2s; }
.f-f input:focus, .f-f textarea:focus { border-color: var(--pink); }
.f-f textarea { resize: vertical; min-height: 132px; }
.f-send { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.f-note { flex: 1 1 auto; font-size: 13.5px; color: var(--mut); } /* auto: en rad bredvid knappen när den ryms, annars en egen rad under (aldrig två rader i en smal spalt), 2026-10-16 */
.f-note a { border-bottom: 1px solid currentColor; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 14.5px; }
.status:empty { display: none; }
.status.err { color: var(--pink); }
.done { padding: 40px 0; }
.done .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.done .ok .i { width: 24px; height: 24px; stroke-width: 2.4; }
.done h3 { font-size: 30px; margin-top: 20px; }
.done p { color: var(--mut); margin-top: 10px; }

/* sidfot */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--mut); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (hover: hover) { .foot a:hover { color: var(--ink); } }
.a-contact + .foot { border-top: 0; }

/* integritetssidan */
.phero { padding: 160px 0 64px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--mut); }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--pink); }
.crumbs a { color: var(--ink); border-bottom: 1px solid var(--line); }
.phero h1 { font-size: clamp(48px, 7vw, 104px); letter-spacing: -.035em; margin-top: 24px; }
.plead { font-size: 20px; color: var(--mut); margin-top: 20px; max-width: 640px; }
.pmeta { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--pink); font-weight: 600; margin-top: 20px; }
.glance { padding: 8px 0 0; }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px; }
.g .ic { width: 40px; height: 40px; border-radius: 10px; background: #26262b; color: var(--pink); display: grid; place-items: center; margin-bottom: 16px; }
.g .ic .i { width: 20px; height: 20px; }
.g h3 { font-size: 19px; margin-bottom: 8px; }
.g p { font-size: 14.5px; line-height: 1.6; color: var(--mut); text-wrap: balance; }
.pp { padding: 96px 0 128px; }
.pp-in { display: grid; grid-template-columns: 230px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 110px; }
.toc p { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--pink); font-weight: 600; margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--mut); transition: color .2s, border-color .2s; }
.toc a.on { color: var(--ink); border-color: var(--red); }
@media (hover: hover) { .toc a:hover { color: var(--ink); } }
.pp-text { max-width: 760px; }
.pp-text section { scroll-margin-top: 110px; }
.pp-text section + section { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--line); }
.pp-text h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; margin-bottom: 16px; }
.pp-text p { font-size: 16.5px; line-height: 1.75; color: rgba(243,238,231,.82); }
.pp-text p + p { margin-top: 14px; }
.pp-text p a, .pp-list a { color: var(--pink); border-bottom: 1px solid rgba(255,201,194,.35); }
.pp-list { display: grid; gap: 12px; margin: 16px 0; }
.pp-list li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.7; color: rgba(243,238,231,.82); }
.pp-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.pp-list b { color: var(--ink); font-weight: 700; }
.pp-rights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 18px; }
.pp-rights li { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.pp-rights b { display: block; font-size: 15.5px; color: var(--ink); }
.pp-rights span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--mut); margin-top: 2px; }
.cookie-list { margin-top: 18px; font-size: 14px; color: var(--mut); overflow-x: auto; }
.cookie-list table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.cookie-list th, .cookie-list td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-list th { color: var(--ink); }
.plead, .pp-text p, .pp-list li { text-wrap: balance; }

/* 404-sidan */
body.e404-sida { display: flex; flex-direction: column; min-height: 100vh; }
.e404 { flex: 1; display: flex; align-items: center; padding: 140px 0 96px; }
.e404 > .w { width: 100%; }
.e404-in { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; }
.e404 .kick { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--pink); font-weight: 600; }
.e404 h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; letter-spacing: -.035em; margin-top: 20px; }
.e404 .lead { color: var(--mut); font-size: 19px; margin-top: 20px; max-width: 34ch; }
.e404 .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.kort4 { background: #fff; color: #1f2427; border-radius: 14px; padding: 22px 22px 20px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.k-head { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #6a6f73; }
.k-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fbe3e0; flex: none; }
.k-head code { margin-left: auto; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12.5px/1.2 ui-monospace, Consolas, monospace; background: #f7f1f0; color: #1f2427; padding: 5px 9px; border-radius: 6px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.kpis div { border: 1px solid #f0e6e4; border-radius: 10px; padding: 11px 13px 10px; }
.kpis small { display: block; font-size: 11.5px; color: #6a6f73; font-weight: 500; }
.kpis strong { display: block; font: 600 25px/1.2 var(--disp); letter-spacing: -.02em; margin-top: 2px; }
.kpis em { display: block; font-style: normal; font-size: 11.5px; color: #6a6f73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis em.ned { color: var(--red); font-weight: 600; }
.graf { position: relative; margin-top: 14px; border-top: 1px solid #f0e6e4; padding-top: 12px; }
.graf svg { display: block; width: 100%; height: 92px; }
.graf .punkt { position: absolute; left: 82.5%; top: calc(12px + 88px); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); }
.graf .ax { display: flex; justify-content: space-between; font-size: 11px; color: #6a6f73; margin-top: 4px; }

@media (max-width: 1000px) {
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .pp-in { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .e404-in { grid-template-columns: 1fr; gap: 48px; }
  .kort4 { max-width: 460px; }
}
@media (min-width: 901px) and (max-width: 1179px) {
  .a-how { grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
  .a-how > li { padding: 24px 0; }
  .a-xp-grid { grid-template-columns: 1fr; gap: 64px; }
  .a-stats { grid-template-columns: 1fr; }
  .a-stat, .a-stat + .a-stat { padding: 24px 0; border-left: 0; }
  .a-stat + .a-stat { border-top: 1px solid var(--line); }
  .a-stat span { font-size: min(15px, calc(100cqi / 23.2)); }
}
@media (max-width: 900px) {
  .w { padding: 0 20px; }
  .a-stat span { font-size: min(15px, calc(100cqi / 23.2)); }
  .a-nav { padding: 16px 20px; }
  .a-nav nav { display: none; }
  .a-hero { padding: 104px 0 40px; min-height: 0; }
  .a-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .a-name { font-size: clamp(56px, 17.4vw, 120px); }
  .a-title { font-size: 17px; margin-top: 20px; }
  .a-title em { margin: 0 .3em; }
  .a-sub { font-size: 16.5px; }
  .a-photo { height: auto; aspect-ratio: 4 / 5; }
  .a-stats { grid-template-columns: 1fr; }
  .a-stat, .a-stat + .a-stat { padding: 24px 0; border-left: 0; }
  .a-stat + .a-stat { border-top: 1px solid var(--line); }
  .sec { padding: 88px 0; }
  .a-h2 { margin-bottom: 36px; font-size: clamp(30px, 8.4vw, 44px); }
  .a-g h3 { font-size: clamp(22px, 6.4vw, 30px); }
  .a-about-2, .a-how, .a-g-grid, .a-xp-grid, .a-tl-grid, .a-c-grid { grid-template-columns: 1fr; gap: 32px; }
  .a-xp-grid { gap: 64px; }
  .a-how { gap: 0; }
  .a-how > li { padding: 24px 0; }
  .a-how-h { margin: 72px 0 24px; }
  .a-kid { padding: 28px 24px; }
  .hd { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 32px; }
  .a-card { top: calc(76px + var(--i) * 6px); }
  .a-card-in { padding: 24px; min-height: 0; grid-template-columns: 1fr; gap: 24px; }
  .a-c-l { gap: 20px; }
  .a-c-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .a-c-top h3 { font-size: min(28px, calc(100cqi / 12.2)); }
  .a-c-m { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .logo { width: 52px; height: 52px; border-radius: 12px; }
  .a-g { padding: 28px 24px; }
  .a-xpw { padding-left: 36px; }
  .a-xp li::before { left: -36px; }
  .a-xp li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .a-xp li .x-d { grid-column: 1; grid-row: 1; }
  .a-xp li > div { grid-column: 1 / -1; grid-row: 2; }
  .a-xp li .x-s { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; padding-top: 0; }
  .a-contact { padding: 104px 0 48px; }
  .a-huge { font-size: clamp(44px, 13vw, 76px); }
  .a-c-grid { margin-top: 48px; gap: 56px; }
  .f-row { grid-template-columns: 1fr; }
  .phero { padding: 120px 0 48px; }
  .pp { padding: 64px 0 88px; }
  .e404 { padding: 120px 0 72px; }
  .e404 .cta .btn { flex: 1 1 100%; }
}
@media (max-width: 400px) {
  .hd-mm { grid-template-columns: 1fr; gap: 12px; } /* "for all three jobs" fick inte plats i halva bredden */
  .e404 h1 { font-size: min(44px, 11.4vw); } /* 404: "konverterar 0 %" (sv) fick inte plats i 360 px och tänjde ut griden */
}
@media (max-width: 640px) {
  .glance-grid, .pp-rights { grid-template-columns: 1fr; }
  .plead { font-size: 17px; }
  .pp-text p, .pp-list li { font-size: 16px; }
  .kort4 { padding: 18px 15px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .a-hero { visibility: visible; }
  .a-card { position: relative; top: 0; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* My toolbox: ikon framför varje rubrik (variant A, 2026-10-16). Ikonerna är från Lucide (lucide.dev), ISC-licens. */
.a-t h3 { display: flex; align-items: center; gap: 12px; }
.ti { flex: none; width: 24px; height: 24px; color: var(--pink); }
.ti svg { display: block; width: 100%; height: 100%; }

/* Språkväxeln EN / SV i menyn (variant A ur drafts/design/sprakvaxel, 2026-10-16): valt språk ljust, 16 px till Let's talk.
   Menyn: namnet till vänster, länkarna i mitten, växeln och Let's talk till höger. */
.a-nav { justify-content: flex-start; gap: 16px; }
.a-nav .brand { margin-right: auto; }
.a-nav nav { flex: 1; justify-content: center; }
.a-nav .lang { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--mut); }
.lang [aria-current] { color: var(--ink); }
.lang i { font-style: normal; opacity: .5; }
.lang a { padding: 6px 2px; transition: color .2s; }
@media (hover: hover) { .lang a:hover { color: var(--ink); } }

/* AI search-länken på startsidan (2026-10-17, variant A + C ur drafts/design/ai-search-lank): menylänk med röd prick och rad sist i Search growth */
.a-nav nav a.ny { color: var(--ink); } .a-nav nav a.ny::before { content: ""; position: absolute; right: -9px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ai-rad { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.ai-rad small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--pink); font-weight: 600; margin-bottom: 10px; }
.ai-rad strong { display: block; font-family: var(--disp); font-weight: 600; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.ai-rad p { color: var(--mut); font-size: 17px; line-height: 1.6; margin-top: 10px; text-wrap: balance; }
@media (max-width: 900px) { .ai-rad { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; } }
