/* Nextstep AB – stilmall v5.1 ("trappsteget", inspirerad av convex.dev).
   Mörk brun hero med stor versalrubrik och tre ränder som bildar ett trappsteg, krämfärgade
   sektioner, mörka kort med mono-etiketter, oliv om-sektion med kursiv serif, rostrött faktaband,
   kontaktruta med rutnät och pixeldekor. Föregående version (himmel/glas) ligger i arkiv/v2-himmel/.
   Inga externa typsnitt: Geist (lokal) + systemets mono och serif. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Ytor – egen palett 2026-11-06: nästan svart (kall), ljus off-white och Elkedjans röda (#d22536) som accent.
     Variabelnamnen är kvar från Convex-versionen så att resten av CSS:en inte behöver röras. */
  --ink: #131417;
  --brown: #16181c;        /* header + hero */
  --brown-2: #101215;      /* kontaktsektion */
  --night: #0f1114;        /* tjänster, footer */
  --card: #1c1f24;
  --card-2: #23272d;
  --cream: #f5f4f1;        /* ljus bakgrund och ljus text */
  --cream-2: #fbfbf9;
  --cream-line: #e1dfda;
  --olive: #d22536;        /* "Om Nextstep" – röd */
  --olive-card: rgba(0, 0, 0, .16);
  --rust: #a91d2b;         /* bandet under – mörkare röd */
  /* Accenter */
  --red: #d22536;
  --red-hover: #bc2130;
  --red-light: #ff5a69;    /* röd text på mörk botten */
  --amber: #ff5a69;        /* ersatt: gamla gula accenten är nu ljusröd */
  --coral: #e93d30;
  --plum: #8d2876;
  --orange: #d22536;       /* knappar */
  --sky: #8fa6c9;
  --text-dim: rgba(245, 244, 241, 0.66);
  --line-dark: rgba(245, 244, 241, 0.13);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --container: 1344px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --header-h: 84px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.55 var(--font); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); }
.muted { opacity: .7; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-200%);
  background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { transform: none; }

/* ------------------------------------------------------------ Typografi */
.h-xl { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.h-l { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; max-width: 34em; }

/* Mono-etikett i ram ("TRUSTED BY") */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 8px; border: 1px solid currentColor; border-radius: 4px;
}
.tag b { font-weight: 600; }
.tag--center { display: flex; width: max-content; margin: 0 auto; }
.tag--dark { color: var(--cream); border-color: rgba(245, 244, 241, .7); }
.tag--olive { color: var(--cream); }

/* ------------------------------------------------------------ Knappar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  background: var(--ink); color: var(--cream);
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--outline { background: transparent; color: var(--cream); border-color: rgba(245, 244, 241, .85); }
.btn--outline:hover { background: rgba(245, 244, 241, .08); }
.btn--light { background: #f5f4f1; color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #bc2130; box-shadow: 0 8px 24px -8px rgba(210, 37, 54, .6); }
.btn--link { background: transparent; color: inherit; padding: 0 6px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 200; height: var(--header-h);
  background: var(--brown); color: var(--cream); color-scheme: dark;
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-bottom-color: rgba(245, 244, 241, .08); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.site-header .container { display: flex; align-items: center; height: 100%; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 9px; color: inherit; }
.logo__mark { width: 22px; height: 30px; color: var(--amber); }
.logo__word { font-weight: 800; font-size: 38px; letter-spacing: -0.065em; line-height: 1; padding-bottom: 3px; }

.site-nav ul { display: flex; gap: 26px; }
.site-nav a { font-weight: 500; font-size: 17px; opacity: .92; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hpill {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px;
  border-radius: 999px; background: #2c3036; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--cream); transition: background-color .2s;
}
.hpill:hover { background: #363b43; }
.hpill .flag svg { width: 20px; height: 20px; }
.hpill .chev { width: 14px; height: 14px; opacity: .7; }
.lang-code { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }

.lang { position: relative; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px;
  background: #1a1d21; border: 1px solid var(--line-dark); border-radius: 12px;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7); z-index: 300;
}
.lang__menu[hidden] { display: none; }
.lang__item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px;
  background: none; cursor: pointer; text-align: left; font-size: 15px; color: var(--cream);
}
.lang__item:hover, .lang__item:focus-visible { background: rgba(245, 244, 241, .08); }
.lang__item .flag svg { width: 18px; height: 18px; }
.lang__item .check { margin-left: auto; width: 16px; height: 16px; color: var(--amber); visibility: hidden; }
.lang__item[aria-checked="true"] .check { visibility: visible; }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  border: 0; background: #2c3036; color: var(--cream); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

/* Mobilmeny */
.mobile-menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--cream); }
.mobile-menu::backdrop { background: rgba(10, 8, 7, .55); }
.mobile-menu__panel {
  margin-left: auto; height: 100%; width: min(420px, 100%); background: var(--brown); padding: 18px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  transform: translateX(16px); transition: transform .3s var(--ease);
}
.mobile-menu[open] .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu__cta { align-self: flex-start; }
.mobile-menu__lang .tag { color: var(--text-dim); margin-bottom: 10px; }
#mobile-lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

/* ------------------------------------------------------------ Hero */
.hero {
  position: relative; overflow: hidden; background: var(--brown); color: var(--cream); color-scheme: dark;
  padding: clamp(48px, 6vw, 88px) 0 0; min-height: 560px;
}
.hero__stripes {
  position: absolute; left: 50%; bottom: 0; width: 1440px; height: 640px; margin-left: -720px;
  overflow: visible; pointer-events: none;
}
.hero__stripes .s { fill: none; stroke-width: 20.5; stroke-linejoin: miter; }
.hero__stripes .s1 { stroke: #d9473a; }
.hero__stripes .s2 { stroke: #ec7a33; }
.hero__stripes .s3 { stroke: #e9b444; }
.hero__stripes .s4 { stroke: #5fae5a; }
.hero__stripes .s5 { stroke: #3f7fd0; }
.hero__stripes .s6 { stroke: #7e4bb0; }
/* Ränderna ritas fram när sidan laddas */
.js .hero__stripes .s { stroke-dasharray: 6000; stroke-dashoffset: 6000; animation: draw 2.2s var(--ease) forwards; }
.js .hero__stripes .s2 { animation-delay: .12s; }
.js .hero__stripes .s3 { animation-delay: .24s; }
.js .hero__stripes .s4 { animation-delay: .36s; }
.js .hero__stripes .s5 { animation-delay: .48s; }
.js .hero__stripes .s6 { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: start; padding-bottom: 220px;
}
.hero__title {
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.065em; line-height: .86;
  font-size: clamp(44px, 6.6vw, 98px); margin-top: 24px; margin-left: -.04em; overflow-wrap: anywhere; hyphens: auto;
}
.hero__title span { display: block; }
.hero__lead { margin-top: 22px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.38; font-weight: 500; max-width: 25em; color: #ecebe7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.js .hero__copy > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
.js .hero__copy > :nth-child(2) { animation-delay: .1s; }
.js .hero__copy > :nth-child(3) { animation-delay: .2s; }
.js .hero__term { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) .3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Terminalpanel */
.term {
  background: #16181c; border: 2px solid #2c3036; border-radius: 12px; padding: 8px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .75); font-family: var(--mono); color: var(--cream);
}
.term__sec { background: #1f2227; border-radius: 6px; padding: 14px 14px 16px; }
.term__split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.term__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 244, 241, .85); margin-bottom: 12px; }
.term__big {
  display: flex; align-items: center; gap: 14px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: #363b43; border: 1px solid #464c55; font: 600 16px/1.3 var(--font); letter-spacing: -0.01em;
}
.term__icons { display: flex; }
.term__icons i {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #111316; border: 2px solid #363b43; margin-right: -9px; color: var(--cream);
}
.term__icons i:last-child { margin-right: 0; }
.term__icons svg { width: 17px; height: 17px; }
.term__live { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 0 4px rgba(95, 211, 138, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(95, 211, 138, 0); } }
.term__note { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: rgba(245, 244, 241, .75); }
.term__note svg { width: 14px; height: 14px; }
.term__text { font: 400 15px/1.55 var(--font); color: rgba(245, 244, 241, .85); margin-bottom: 14px; }
.term__cmd {
  display: flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 4px; margin-top: 6px;
  background: #16181c; border: 1px solid #363b43; font-size: 14px; color: var(--cream);
  transition: border-color .2s, background-color .2s;
}
.term__cmd:hover { border-color: var(--amber); background: #1a1c20; }
.term__cmd .pr { width: 14px; height: 14px; color: rgba(245, 244, 241, .8); }
.term__cmd .k { color: var(--amber); }
.term__cmd .ext { margin-left: auto; width: 14px; height: 14px; opacity: .55; transition: opacity .2s; }
.term__cmd:hover .ext { opacity: 1; }
.caret { display: inline-block; width: 1px; height: 1.1em; background: currentColor; margin-left: 1px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ------------------------------------------------------------ Förtroenderad: logotypvägg */
.trust { padding: 64px 0 8px; }
.marks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); }
.marks li + li { border-left: 1px solid var(--cream-line); }
.mark { position: relative; display: flex; align-items: center; gap: 16px; height: 120px; padding: 0 28px; transition: background-color .25s; }
.mark__tile { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--c); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -8px var(--c); transition: transform .35s var(--ease); }
.mark__tile svg { width: 22px; height: 22px; }
.mark__logo { flex: none; width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(20, 20, 20, .08), 0 6px 14px -8px rgba(20, 20, 20, .5); transition: transform .35s var(--ease); }
.mark__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mark__name { font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); line-height: 1; letter-spacing: -0.045em; }
.mark__sub { font-size: 14px; line-height: 1.3; color: #5f6168; }
.mark__go { position: absolute; top: 16px; right: 16px; width: 14px; height: 14px; color: var(--ink); opacity: .25; transition: opacity .25s, transform .25s var(--ease); }
.mark:hover { background: var(--cream-2); }
.mark:hover .mark__tile, .mark:hover .mark__logo { transform: rotate(-8deg) scale(1.06); }
.mark:hover .mark__go { opacity: 1; transform: translate(2px, -2px); }
.mark:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.mark--amber { --c: #d8960c; } .mark--coral { --c: var(--coral); } .mark--plum { --c: var(--plum); } .mark--sky { --c: #5f7fb3; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 28px; }
.facts li { display: flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #55575e; }
.facts svg { width: 18px; height: 18px; color: var(--ink); }

/* ------------------------------------------------------------ Varför ("Solved.") */
.solved { padding: 88px 0 0; }
.solved__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.solved__copy { padding-bottom: 88px; }
.solved__copy .tag { margin-bottom: 22px; }
.solved__copy .lead { margin-top: 16px; }
.checks { margin: 28px 0 32px; border: 1px solid var(--cream-line); background: var(--cream-2); }
.checks li { display: flex; gap: 12px; padding: 11px 12px; border-top: 1px solid var(--cream-line); font-size: 16px; line-height: 1.45; }
.checks li:first-child { border-top: 0; }
.checks svg { width: 20px; height: 20px; margin-top: 1px; color: var(--red); }
.checks b { font-weight: 600; }

/* Levande schemarutnät: veckodagar, pass som läggs ut och en regelkontroll */
/* "Så bygger vi": kodruta i samma stil som panelen i toppen */
.code { align-self: center; margin-bottom: 88px; }
.code__term { padding: 0; overflow: hidden; }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #2c3036; background: #1a1d21; }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #363b43; }
.code__bar span { margin-left: 8px; font-size: 12px; letter-spacing: .04em; color: rgba(245, 244, 241, .7); }
.code__body { margin: 0; padding: 18px 0; counter-reset: ln; font: 400 15px/1.75 var(--mono); color: var(--cream); overflow-x: auto; }
.code__body code { display: block; font: inherit; }
.code__body .ln { display: block; padding-right: 20px; white-space: pre; }
.code__body .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: rgba(245, 244, 241, .28); }
.code__body .c { color: rgba(245, 244, 241, .5); }
.code__body .k { color: #c9a7ff; }
.code__body .v { color: var(--amber); }
.code__run { margin: 0 8px 8px; padding: 14px 14px 10px; border-radius: 6px; background: #1f2227; }
.code__cmd { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.code__cmd .pr { width: 14px; height: 14px; color: rgba(245, 244, 241, .8); }
.code__cmd .k { color: var(--amber); }
.code__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.code__list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 4px; background: #16181c; border: 1px solid #363b43; font-size: 13.5px; }
.code__list img { width: 20px; height: 20px; border-radius: 5px; }
.code__list svg { margin-left: auto; width: 16px; height: 16px; padding: 2px; border-radius: 4px; background: #2f9e5b; color: #fff; }
.js .code .ln, .js .code__list li { opacity: 0; transform: translateY(4px); }
.code.is-in .ln, .code.is-in .code__list li { animation: rise .5s var(--ease) forwards; }
.code.is-in .ln:nth-child(2) { animation-delay: .08s; } .code.is-in .ln:nth-child(3) { animation-delay: .16s; }
.code.is-in .ln:nth-child(4) { animation-delay: .24s; } .code.is-in .ln:nth-child(5) { animation-delay: .32s; }
.code.is-in .ln:nth-child(6) { animation-delay: .40s; } .code.is-in .ln:nth-child(7) { animation-delay: .48s; }
.code.is-in .code__list li:nth-child(1) { animation-delay: .7s; } .code.is-in .code__list li:nth-child(2) { animation-delay: .8s; }
.code.is-in .code__list li:nth-child(3) { animation-delay: .9s; } .code.is-in .code__list li:nth-child(4) { animation-delay: 1s; }
.sched { position: relative; align-self: stretch; min-height: 440px; margin-top: 8px; display: flex; flex-direction: column; --rh: 26px; }
.sched__days { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--cream-line); border-bottom: 0; background: var(--cream-2); }
.sched__days b { padding: 10px 0; text-align: center; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5f6168; }
.sched__days b + b { border-left: 1px solid var(--cream-line); }
.sched__body {
  position: relative; flex: 1; border: 1px solid var(--cream-line); --cw: calc(100% / 7);
  background-image: linear-gradient(to right, var(--cream-line) 1px, transparent 1px), linear-gradient(to bottom, var(--cream-line) 1px, transparent 1px);
  background-size: var(--cw) 100%, 100% var(--rh);
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
.sched .b { position: absolute; height: calc(var(--rh) * var(--h, 3) - 6px); top: calc(var(--rh) * var(--r) + 3px); left: calc(var(--cw) * var(--c) + 4px); width: calc(var(--cw) - 8px); border-radius: 4px; background: var(--bg); opacity: 0; transform: translateY(6px); }
.sched.is-in .b { animation: slot .7s var(--ease) forwards; animation-delay: calc(var(--d) * 90ms + .3s); }
html:not(.js) .sched .b, html:not(.js) .sched__check { opacity: 1; transform: none; }
.sched .b1  { --c: 0; --r: 1; --bg: #9fb0cc; --d: 1; }   .sched .b2  { --c: 1; --r: 0; --h: 4; --bg: #f2c66a; --d: 2; }
.sched .b3  { --c: 2; --r: 2; --bg: #c28a62; --d: 3; }   .sched .b4  { --c: 3; --r: 1; --h: 4; --bg: #9fb0cc; --d: 4; }
.sched .b5  { --c: 4; --r: 0; --bg: #d9d3c6; --d: 5; }   .sched .b6  { --c: 5; --r: 2; --bg: #f2c66a; --d: 6; }
.sched .b7  { --c: 6; --r: 1; --bg: #c28a62; --d: 7; }   .sched .b8  { --c: 0; --r: 6; --h: 4; --bg: #c28a62; --d: 8; }
.sched .b9  { --c: 1; --r: 7; --bg: #d9d3c6; --d: 9; }   .sched .b10 { --c: 2; --r: 6; --bg: #9fb0cc; --d: 10; }
.sched .b11 { --c: 3; --r: 8; --bg: #f2c66a; --d: 11; }  .sched .b12 { --c: 4; --r: 6; --h: 4; --bg: #9fb0cc; --d: 12; }
.sched .b13 { --c: 6; --r: 7; --bg: #d9d3c6; --d: 13; }  .sched .b14 { --c: 1; --r: 11; --bg: #9fb0cc; --d: 14; }
.sched .gap { position: absolute; top: calc(var(--rh) * 7 + 3px); left: calc(var(--cw) * 5 + 4px); width: calc(var(--cw) - 8px); height: calc(var(--rh) * 3 - 6px); border-radius: 4px; border: 2px dashed var(--coral); animation: gapPulse 2.4s ease-in-out 2s infinite; }
@keyframes slot { to { opacity: 1; transform: none; } }
@keyframes gapPulse { 50% { background: rgba(233, 61, 48, .12); } }
.sched__check {
  position: absolute; right: -14px; bottom: 36px; width: min(290px, 80%); padding: 14px 16px 16px;
  background: #fff; border: 1px solid var(--cream-line); border-radius: 12px; box-shadow: 0 24px 50px -24px rgba(60, 40, 20, .45);
  display: grid; gap: 8px; font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(14px);
}
.sched.is-in .sched__check { animation: rise .8s var(--ease) 1.7s forwards; }
.sched__label { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5f6168; margin-bottom: 2px; }
.sched__check span { display: flex; align-items: center; gap: 8px; }
.sched__check svg { width: 16px; height: 16px; padding: 2px; border-radius: 4px; background: #2f9e5b; color: #fff; }
.sched__check .warn { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--cream-line); color: #b8352a; font-size: 13px; }

/* ------------------------------------------------------------ Tjänster (mörk) */
.services { background: var(--night); color: var(--cream); color-scheme: dark; padding: 96px 0 104px; }
.section-head .tag { margin-bottom: 22px; }
.section-head .lead { margin-top: 18px; color: rgba(245, 244, 241, .86); }
.group { display: flex; align-items: center; gap: 10px; margin: 64px 0 16px; font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.group svg { width: 18px; height: 18px; }
.group + .cards { margin-top: 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  padding: 14px 14px 14px; overflow: hidden; transition: background-color .25s, transform .25s var(--ease);
}
.pcard::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pcard:hover { background: var(--card-2); }
.pcard:hover::before { transform: scaleX(1); }
.pcard--amber { --accent: #3fa392; }   /* Schedias gröna */
.pcard--coral { --accent: #f3be3f; }   /* Esigneds gula */
.pcard--plum { --accent: #c2479f; }
.pcard--sky { --accent: var(--sky); }
.pcard .tag { align-self: flex-start; color: var(--accent); border-color: var(--accent); }
.pcard__sub { margin-top: 18px; font: 500 13px/1.3 var(--mono); color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.pcard h3 { margin-top: 8px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; }
.pcard dl { margin: 16px 0 22px; display: grid; gap: 6px; }
.pcard dt { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 10px; }
.pcard dd { color: rgba(245, 244, 241, .78); font-size: 15.5px; line-height: 1.55; }
.pcard__bar {
  margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 13px 14px; border-radius: 8px;
  background: #121417; font: 400 15px/1 var(--mono); color: var(--cream); transition: background-color .2s;
}
.pcard__bar .d { color: rgba(245, 244, 241, .5); }
.pcard__bar .k { color: #ff8a95; }
.pcard__bar svg { margin-left: auto; width: 20px; height: 20px; transition: transform .2s var(--ease); }
.pcard__bar:hover { background: #0b0c0e; }
.pcard__bar:hover svg { transform: translateX(4px); }

/* Bild överst i varje tjänstekort (dekor, svensk text, utanför tillgänglighetsträdet) */
.pcard .art {
  position: relative; height: 196px; margin-bottom: 18px; border-radius: 10px; overflow: hidden; padding: 18px;
  background: radial-gradient(ellipse 70% 90% at 92% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%) #181a1e; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  font-family: var(--font); color: var(--cream);
}
.pcard .art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(245, 244, 241, .09) 1px, transparent 1px); background-size: 14px 14px; pointer-events: none; }
.art__week, .art__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: min(340px, 100%); margin: 0 auto; }
.art__week b { font: 600 11px/1 var(--mono); text-align: center; color: var(--text-dim); }
.art__grid i { height: 20px; border-radius: 4px; background: rgba(245, 244, 241, .07); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.art__grid i.a { background: var(--amber); } .art__grid i.b { background: #9fb0cc; } .art__grid i.c { background: #c28a62; }
.art__grid i.gap { background: transparent; outline: 1.5px dashed var(--coral); outline-offset: -1.5px; }
.is-in .art__grid i { transform: none; }
.art__grid i:nth-child(3n) { transition-delay: .1s; } .art__grid i:nth-child(3n+1) { transition-delay: .2s; } .art__grid i:nth-child(5n) { transition-delay: .3s; }
.art__chip, .art__badge { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #f6eedb; color: var(--ink); font-size: 13px; font-weight: 600; }
.art__chip svg, .art__badge > svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #2f9e5b; color: #fff; }
.art--sign { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
.art__doc { width: 150px; padding: 16px 14px; border-radius: 6px; background: #f6eedb; display: grid; gap: 7px; transform: rotate(-3deg); box-shadow: 0 18px 30px -16px #000; }
.art__doc i { height: 5px; border-radius: 3px; background: #d6ccb4; } .art__doc i.s { width: 60%; }
.art__sig { width: 100%; height: 34px; color: #2b3d8f; }
.art__sig path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.is-in .art__sig path { stroke-dashoffset: 0; }
.art__badge { border-radius: 12px; padding: 10px 14px; }
.art__badge > span { display: grid; line-height: 1.25; } .art__badge small { font-weight: 400; font-size: 11.5px; color: #55575e; }
.art--quiz { align-items: stretch; width: 100%; }
.art--quiz p { font-weight: 600; font-size: 15px; line-height: 1.3; max-width: 26em; }
.art--quiz span { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(245, 244, 241, .16); font-size: 13.5px; color: rgba(245, 244, 241, .8); }
.art--quiz span.ok { border-color: #5fd38a; background: rgba(95, 211, 138, .12); color: #fff; font-weight: 600; }
.art--quiz span.ok svg { width: 16px; height: 16px; color: #5fd38a; }
.art--plan { gap: 6px; }
.art--plan span { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 10px; font: 600 11px/1 var(--mono); letter-spacing: .06em; color: var(--text-dim); }
.art--plan i { height: 9px; border-radius: 5px; background: rgba(245, 244, 241, .08); position: relative; overflow: hidden; }
.art--plan i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.art--plan span:nth-child(n+7) i::after { background: var(--amber); }
.is-in .art--plan i::after { transform: scaleX(var(--v)); }
.pcard:hover .art__doc { transform: rotate(0deg); transition: transform .4s var(--ease); }

/* Språkrad ("integrationer") */
.langs { margin-top: 8px; }
.langs__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.lang-tile {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 8px; border: 1px solid transparent;
  background: var(--card-2); cursor: pointer; text-align: left; font-weight: 600; font-size: 15px; color: var(--cream);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.lang-tile .flag svg { width: 26px; height: 26px; }
.lang-tile__code { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--text-dim); }
.lang-tile:hover { background: #30343b; transform: translateY(-2px); }
.lang-tile[aria-pressed="true"] { border-color: var(--amber); background: #2a2e34; }
.lang-tile[aria-pressed="true"] .lang-tile__code { color: var(--amber); }

/* Kopieringsknapp i kontaktpanelen */
.term__row { display: flex; gap: 6px; align-items: stretch; }
.term__row .term__cmd { flex: 1; margin-top: 0; }
.copy { display: grid; place-items: center; width: 44px; border-radius: 4px; border: 1px solid #363b43; background: #16181c; color: var(--cream); cursor: pointer; transition: border-color .2s; }
.copy:hover { border-color: var(--amber); }
.copy svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: opacity .2s, transform .2s var(--ease); }
.copy__ok { opacity: 0; transform: scale(.6); color: #5fd38a; }
.copy.is-done .copy__i { opacity: 0; transform: scale(.6); }
.copy.is-done .copy__ok { opacity: 1; transform: none; }

/* Filmkorn på mörka ytor */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header.grain { position: sticky; }

/* ------------------------------------------------------------ Om (oliv) */
.about { background: var(--olive); color: var(--cream); color-scheme: dark; padding: 80px 0 72px; text-align: center; }
.about__inner { display: flex; flex-direction: column; align-items: center; }
.about__title {
  margin-top: 28px; max-width: 15em; font-family: var(--font); font-weight: 800;
  font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.055em;
}
.about__by { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font-family: var(--font); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.about__by .mono { font-size: 12px; letter-spacing: .08em; opacity: .9; }
.about__card { margin-top: 44px; max-width: 720px; background: var(--olive-card); border-radius: 16px; padding: 24px 28px; text-align: left; font-size: 17px; line-height: 1.6; }

/* ------------------------------------------------------------ Faktaband (rost) */
.band { background: var(--brown); color: var(--cream); padding: 48px 0; }
.band__pill { display: flex; width: max-content; max-width: 100%; margin: 0 auto; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 40px -22px rgba(0, 0, 0, .7); }
.band__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; background: var(--cream); color: var(--ink); padding: 14px 18px; font: 500 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.band__facts li + li::before { content: "•"; margin: 0 12px; opacity: .6; }
.band__cta { display: flex; align-items: center; gap: 10px; padding: 0 20px; background: var(--red); color: #fff; font-family: var(--font); font-weight: 600; font-size: 17px; white-space: nowrap; transition: background-color .2s; }
.band__cta svg { width: 18px; height: 18px; color: #fff; transition: transform .2s var(--ease); }
.band__cta:hover { background: var(--red-hover); }
.band__cta:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------ Kontakt (mörk med rutnät) */
.cta {
  background: radial-gradient(120% 90% at 90% 100%, rgba(210, 37, 54, .32) 0%, transparent 60%), var(--brown-2);
  color: var(--cream); color-scheme: dark; padding: 72px 0 72px; overflow: hidden;
}
.cta__frame {
  position: relative; padding: 72px 24px 64px; border: 1px solid var(--line-dark);
  background-image:
    linear-gradient(to right, rgba(245, 244, 241, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 244, 241, .07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta__copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__serif { margin-top: 10px; font-family: var(--font); font-weight: 500; font-size: clamp(19px, 1.8vw, 23px); color: rgba(245, 244, 241, .9); }
.cta__term { margin-top: 36px; width: min(720px, 100%); text-align: left; }
.cta .hero__actions { justify-content: center; }

/* Pixeldekor (rena CSS-gradienter) */
.px { position: absolute; width: 72px; height: 72px; --p: 12px; image-rendering: pixelated; }
.px--1 { left: 3%; top: 38%; background:
  linear-gradient(#e2552d 0 0) 0 0 / var(--p) var(--p), linear-gradient(#8fa6c9 0 0) var(--p) 0 / var(--p) var(--p),
  linear-gradient(#8fa6c9 0 0) 0 var(--p) / var(--p) calc(var(--p) * 4), linear-gradient(#e2552d 0 0) var(--p) calc(var(--p) * 5) / calc(var(--p) * 2) var(--p),
  linear-gradient(#8fa6c9 0 0) calc(var(--p) * 4) calc(var(--p) * 2) / var(--p) calc(var(--p) * 3);
  background-repeat: no-repeat; animation: float 7s ease-in-out infinite; }
.px--2 { right: 4%; top: 12%; background:
  linear-gradient(#f5f4f1 0 0) var(--p) 0 / var(--p) var(--p), linear-gradient(#f5f4f1 0 0) 0 var(--p) / calc(var(--p) * 3) var(--p),
  linear-gradient(#d22536 0 0) var(--p) calc(var(--p) * 2) / var(--p) var(--p), linear-gradient(#f5f4f1 0 0) calc(var(--p) * 4) var(--p) / var(--p) var(--p);
  background-repeat: no-repeat; animation: float 8s ease-in-out -2s infinite; }
.px--3 { right: 12%; bottom: 10%; background:
  linear-gradient(#8fa6c9 0 0) var(--p) 0 / var(--p) var(--p), linear-gradient(#e2552d 0 0) 0 var(--p) / calc(var(--p) * 3) var(--p),
  linear-gradient(#c28a62 0 0) var(--p) var(--p) / var(--p) calc(var(--p) * 2), linear-gradient(#8fa6c9 0 0) var(--p) calc(var(--p) * 3) / var(--p) var(--p);
  background-repeat: no-repeat; animation: float 6s ease-in-out -1s infinite; }
.px--4 { left: 14%; bottom: 14%; background:
  linear-gradient(#f5f4f1 0 0) 0 0 / var(--p) var(--p), linear-gradient(#d22536 0 0) var(--p) 0 / calc(var(--p) * 3) var(--p),
  linear-gradient(#f5f4f1 0 0) calc(var(--p) * 2) calc(var(--p) * 2) / calc(var(--p) * 2) var(--p);
  background-repeat: no-repeat; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--night); color: var(--cream); color-scheme: dark; padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--text-dim); max-width: 18em; }
.footer__col-title { font-size: 15px; color: var(--text-dim); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__col .ext { width: 12px; height: 12px; opacity: .6; }
.footer__checks li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.footer__checks svg { width: 16px; height: 16px; color: #7fd39a; }
.footer__privacy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--text-dim); }
.footer__privacy strong { color: var(--cream); font-weight: 600; }
.footer__bottom { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 15px; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__lang { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.footer__lang svg { width: 16px; height: 16px; opacity: .7; }
.footer__lang select { background: #1c1f24; border: 1px solid var(--line-dark); border-radius: 8px; padding: 6px 10px; }
.footer__bottom > a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ Scroll-reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ 404 och enkla sidor */
.simple-page { min-height: 70vh; padding: 96px 0; }
.simple-page .eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; display: inline-block; padding: 6px 8px; border: 1px solid currentColor; border-radius: 4px; margin-bottom: 20px; }
.heading-l { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.text-m { margin-top: 16px; font-size: 18px; max-width: 36em; }
.simple-page .btn--link svg { width: 16px; height: 16px; }

/* Röd kontaktknapp i menyn */
.hpill.nav-contact { background: var(--red); border-color: var(--red); color: #fff; }
.hpill.nav-contact:hover { background: var(--red-hover); border-color: var(--red-hover); }

/* ------------------------------------------------------------ Glimt (lanseras snart) */
.soon { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; background: rgba(139, 156, 255, .16); color: #b9c3ff; }
.is-soon { cursor: default; }
/* Tjänsteraden (ljus) */
.marks { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mark .soon { position: absolute; top: 12px; right: 12px; background: #e3e6ff; color: #3442c9; }
.mark.is-soon .mark__go { display: none; }
.mark.is-soon:hover { background: transparent; }
.mark.is-soon:hover .mark__logo { transform: none; }
/* Panelen i toppen */
.term__soon { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 10px 10px 10px 14px; }
.term__soon .term__label { margin: 0; }
.term__soon .term__cmd { flex: 1; margin-top: 0; }
.term__cmd.is-soon:hover { border-color: #363b43; background: #16181c; }
.term__cmd .soon { margin-left: auto; }
/* Tjänstekortet */
.pcard--peri { --accent: #8b9cff; }
.pcard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-content: start; }
.pcard--wide > :not(.art) { grid-column: 2; }
.pcard--wide .art { grid-column: 1; grid-row: 1 / span 6; height: auto; min-height: 300px; margin-bottom: 0; }
.pcard--wide .tag { margin-top: 10px; justify-self: start; }
.pcard--wide .pcard__bar { align-self: end; }
.pcard__bar.is-soon:hover { background: #121417; }
.pcard__bar.is-soon:hover svg { transform: none; }
.pcard__bar .soon { margin-left: auto; }
.pcard__bar .soon + svg { margin-left: 0; opacity: .35; }
.art--web { align-items: center; }
.art__browser { position: relative; z-index: 1; width: min(420px, 92%); border-radius: 10px; overflow: hidden; background: #f3f2ee; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); transform: rotate(-2deg); transition: transform .4s var(--ease); }
.pcard:hover .art__browser { transform: rotate(0deg); }
.art__bar { display: flex; align-items: center; gap: 5px; padding: 9px 10px; background: #e4e2dc; }
.art__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9c6be; }
.art__bar span { margin-left: 10px; height: 12px; flex: 1; max-width: 160px; border-radius: 6px; background: #f3f2ee; }
.art__page { position: relative; display: grid; gap: 8px; padding: 22px 20px 20px; }
.art__page .h { height: 14px; width: 70%; border-radius: 4px; background: #10131f; }
.art__page .h2 { height: 14px; width: 48%; border-radius: 4px; background: #10131f; }
.art__page .t { height: 8px; width: 60%; margin-top: 4px; border-radius: 4px; background: rgba(16, 19, 31, .2); }
.art__star { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; color: #8b9cff; animation: twinkle 4s var(--ease) infinite; }
@keyframes twinkle { 0%, 70%, 100% { transform: rotate(0) scale(1); } 85% { transform: rotate(90deg) scale(1.15); } }
.art__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.art__tiles b { height: 46px; border-radius: 6px; background: #8ce8c4; }
.art__tiles b:nth-child(2) { background: #ffb38a; }
.art__tiles b:nth-child(3) { background: #8fd3ff; }
/* Kodrutan */
.code__list li.is-soon { grid-column: 1 / -1; }
.code__list li .soon { margin-left: auto; }
/* Sidfoten */
.footer__col .soon { padding: 3px 6px; font-size: 9.5px; }

/* ------------------------------------------------------------ Responsivt */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 200px; }
  .hero__term { max-width: 680px; }
  .hero__stripes { left: auto; right: -480px; margin-left: 0; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .langs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Tjänsteraden: 3 + 2 */
  .marks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .marks li { grid-column: span 2; }
  .marks li:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--cream-line); }
  .marks li:nth-child(4) { border-left: 0; }
}
@media (max-width: 1079px) {
  .site-nav, .nav-contact { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 860px) {
  .solved__grid { grid-template-columns: 1fr; }
  .solved__copy { padding-bottom: 0; }
  .sched { min-height: 240px; margin-bottom: 24px; }
  .code { margin-bottom: 72px; }
  .cards { grid-template-columns: 1fr; }
  .marks { grid-template-columns: 1fr 1fr; }
  .marks li, .marks li:nth-child(n+4) { grid-column: auto; }
  .marks li:nth-child(4) { border-left: 1px solid var(--cream-line); }
  .marks li:nth-child(odd) { border-left: 0; }
  .marks li:nth-child(n+3) { border-top: 1px solid var(--cream-line); }
  .marks li:last-child { grid-column: 1 / -1; }
  .pcard--wide { display: flex; }
  .pcard--wide .art { min-height: 0; height: 220px; margin-bottom: 18px; }
  .pcard--wide .tag { margin-top: 0; }
  .pcard--wide .pcard__bar { align-self: stretch; }
  .sched { min-height: 0; }
  .sched__body { min-height: 260px; }
  .sched__check { position: relative; right: auto; bottom: auto; margin: -64px 12px 0 auto; }
  .band__pill { flex-direction: column; width: 100%; }
  .band__facts { flex-direction: column; gap: 8px; text-align: center; }
  .band__facts li + li::before { content: none; }
  .band__cta { padding: 14px 18px; justify-content: center; }
}
@media (max-width: 640px) {
  .code__list { grid-template-columns: 1fr; }
  .code__body { font-size: 13.5px; }
  :root { --header-h: 68px; }
  .logo__word { font-size: 31px; }
  .hpill { height: 42px; padding: 0 12px; }
  .icon-btn { width: 42px; height: 42px; }
  .hero__inner { padding-bottom: 150px; }
  .hero__stripes { transform: scale(.7); transform-origin: right bottom; right: -380px; }
  .term__split { grid-template-columns: 1fr; }
  .term__soon { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 14px 16px; }
  .term__big { font-size: 14px; }
  .trust__row { flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__lang { margin-left: 0; }
  .px { display: none; }
  .mark { height: auto; min-height: 96px; gap: 12px; padding: 18px 16px; }
  .mark__tile { width: 34px; height: 34px; border-radius: 9px; }
  .mark__tile svg { width: 18px; height: 18px; }
  .mark__logo { width: 34px; height: 34px; border-radius: 9px; }
  .mark__name { font-size: 19px; }
  .mark__sub { font-size: 12.5px; }
  .mark__go { top: 10px; right: 10px; }
  .langs__grid { grid-template-columns: 1fr 1fr; }
  .facts { flex-direction: column; align-items: center; }
  .facts li { text-align: left; max-width: 300px; }
  .cta__frame { padding: 48px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__stripes .s { stroke-dashoffset: 0; }
  .js .hero__copy > *, .js .hero__term, .js .reveal { opacity: 1; transform: none; }
  .sched .b, .sched__check { opacity: 1; transform: none; }
  .js .code .ln, .js .code__list li { opacity: 1; transform: none; }
  .art__grid i, .art__sig path, .art--plan i::after { transform: none; stroke-dashoffset: 0; }
  .art--plan i::after { transform: scaleX(var(--v)); }
}
