/* ==========================================================================
   TRACIO — Designsystem
   Ljus, luftig bas · mörka filmiska sektioner · accent endast för signal.
   ========================================================================== */

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

:root {
  --bg: #F8F9FA; --surface: #FFFFFF; --ink: #101215; --dark: #090B0E; --muted: #747981;
  --accent: #A3FF5F; --blue: #B7E5FF; --speed: 1; --signal-alpha: .8;
  --ink-2: #3A3E45; --line: rgba(16,18,21,.09); --line-strong: rgba(16,18,21,.16);
  --on-dark: #F2F4F5; --on-dark-muted: #8C929A; --line-dark: rgba(255,255,255,.09);
  --danger: #C2362B; --ok: #1E7A3C;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1360px;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .section--dark :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
.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; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ── Typografi ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.display { font-size: clamp(3.1rem, 8.6vw, 9.25rem); letter-spacing: -.055em; line-height: .9; font-weight: 600; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); letter-spacing: -.045em; line-height: .95; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 4.1rem); letter-spacing: -.04em; line-height: .98; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.025em; line-height: 1.12; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--ink-2); max-width: 38ch; letter-spacing: -.012em; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: -.005em; margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.section--dark .kicker::before, .kicker--signal::before { background: var(--accent); opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .82em; letter-spacing: 0; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; letter-spacing: -.025em; }
.prose p, .prose ul { margin: 0 0 1.1rem; color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose a { text-decoration: underline; }
.note { background: color-mix(in srgb, var(--blue) 35%, var(--surface)); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin: 0 0 1.6rem; font-size: .95rem; }

/* ── Knappar ───────────────────────────────────────────────────────────── */
.btn { --bh: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: var(--bh); padding: 0 1.55rem;
  border-radius: 999px; border: 1px solid transparent; font-weight: 550; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease), translate .35s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #24272c; }
.btn--signal { background: var(--accent); color: var(--ink); }
.btn--signal:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost, .on-dark .btn--ghost { border-color: rgba(255,255,255,.2); color: var(--on-dark); }
.section--dark .btn--ghost:hover, .on-dark .btn--ghost:hover { border-color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--sm { --bh: 40px; padding: 0 1.05rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-quiet { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.link-quiet:hover { background-size: 100% 1px; }

/* ── Meddelandefält & navigation ───────────────────────────────────────── */
.announce { position: relative; z-index: 60; background: var(--ink); color: var(--on-dark); font-size: .88rem; text-align: center; padding: .55rem var(--gutter); }
.announce a { color: var(--accent); margin-left: .5rem; }
.preview-bar { position: sticky; top: 0; z-index: 90; background: var(--accent); color: var(--ink); font-size: .85rem; font-weight: 550; text-align: center; padding: .45rem 1rem; }

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease); }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.on-dark-bg:not(.is-open) { color: var(--on-dark); }
.nav.on-dark-bg.is-scrolled:not(.is-open) { background: color-mix(in srgb, var(--dark) 78%, transparent); box-shadow: 0 1px 0 var(--line-dark); }
.nav__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.nav__brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; justify-self: start; }
.logo-mark, .logo-word { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.logo-mark { --m: url("../brand/tracio-icon.webp"); width: 30px; aspect-ratio: 586 / 433; }
.logo-word { --m: url("../brand/tracio-wordmark.webp"); width: 92px; aspect-ratio: 1127 / 151; }
.nav__links { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: .5rem .85rem; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: inherit; opacity: .78; transition: opacity .2s, background-color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, currentColor 7%, transparent); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: .4rem; }
.nav__icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 40px; min-width: 40px; padding: 0 .8rem; border-radius: 999px;
  border: 0; background: transparent; color: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .85; transition: background-color .2s, opacity .2s; }
.nav__icon-btn:hover { opacity: 1; background: color-mix(in srgb, currentColor 7%, transparent); }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav.on-dark-bg:not(.is-open) .cart-count { background: var(--accent); color: var(--ink); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }
.nav__burger { display: none; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span + span { margin-top: 5px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0; font-size: 2rem; font-weight: 600; letter-spacing: -.04em; text-decoration: none;
  transform: translateY(105%); transition: transform .6s var(--ease); }
.mobile-menu.is-open li a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .04s; } .mobile-menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .12s; } .mobile-menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: .7rem; }

@media (max-width: 960px) {
  .nav__inner > nav, .nav__actions .hide-sm { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__burger { display: inline-flex; flex-direction: column; justify-content: center; }
}

/* ── Sektioner ─────────────────────────────────────────────────────────── */
.section { position: relative; padding-block: clamp(5rem, 11vw, 10rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .lead, .section--dark .muted { color: var(--on-dark-muted); }
.section--white { background: var(--surface); }
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ── Signal-systemet ───────────────────────────────────────────────────── */
/* Återanvändbara signalringar: <span class="signal"><i></i><i></i><i></i></span> */
.signal { position: absolute; width: var(--s, 120px); aspect-ratio: 1; pointer-events: none; transform: translate(-50%, -50%); }
.signal i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--signal-color, var(--accent)); opacity: 0; animation: signal calc(2.8s / var(--speed)) var(--ease) infinite; }
.signal i:nth-child(2) { animation-delay: calc(.93s / var(--speed)); }
.signal i:nth-child(3) { animation-delay: calc(1.86s / var(--speed)); }
.signal--paused i { animation-play-state: paused; }
@keyframes signal { 0% { transform: scale(.12); opacity: 0; } 12% { opacity: var(--signal-alpha); } 100% { transform: scale(1); opacity: 0; } }
.locus { --d: 14px; position: relative; width: var(--d); height: var(--d); border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 calc(var(--d) * .32) color-mix(in srgb, var(--accent) 28%, transparent), 0 0 24px color-mix(in srgb, var(--accent) 55%, transparent); }
.locus--ink { background: var(--ink); box-shadow: 0 0 0 calc(var(--d) * .32) rgba(16,18,21,.08); }
.loader-locus { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; }
.loader-locus .signal { left: 50%; top: 50%; --s: 44px; }
.loader-locus .locus { --d: 8px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(100svh, 1000px); margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h); display: flex; flex-direction: column; overflow: clip; isolation: isolate; }
.hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center center;
  -webkit-mask: radial-gradient(ellipse 60% 55% at 62% 46%, #000 0%, transparent 72%); mask: radial-gradient(ellipse 60% 55% at 62% 46%, #000 0%, transparent 72%); opacity: .7; }
.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.hero__copy { position: relative; z-index: 2; align-self: end; padding-bottom: clamp(0rem, 4vw, 3rem); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .95rem; font-weight: 500; color: var(--ink-2); margin-bottom: 1.6rem; }
.hero__eyebrow .locus { --d: 8px; }
.hero__title { margin-bottom: 1.6rem; }
.hero__title .wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.hero__title .wm > span { display: inline-block; }
.hero__sub { margin-bottom: 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__stage { position: relative; align-self: stretch; min-height: 440px; display: grid; place-items: center; }
.hero__caption { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: .88rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: .6rem; }
.hero__caption::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 1.6rem; display: none; }

/* Reticle runt objektet – hämtat från logotypens ring-och-punkt */
.reticle { position: absolute; width: min(78%, 520px); aspect-ratio: 1; pointer-events: none; }
.reticle svg { width: 100%; height: 100%; overflow: visible; }
.reticle circle, .reticle line { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.reticle .tick { stroke: var(--ink); stroke-width: 1.5; }

.object { position: relative; width: min(64%, 400px); aspect-ratio: 1; display: grid; place-items: center; perspective: 1200px; }
.object__body { position: relative; width: 100%; height: 100%; display: grid; place-items: center; transform-style: preserve-3d; will-change: transform; }
.object__shadow { position: absolute; left: 50%; bottom: -14%; width: 64%; height: 9%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(9,11,14,.32), rgba(9,11,14,.12) 55%, transparent); filter: blur(6px); }
.object__signal { position: absolute; left: 50%; top: 50%; --s: 150%; }
/* Emblem: logotypens ikon som präglat, belyst objekt (inte en påhittad produktform) */
.emblem { position: relative; width: 74%; aspect-ratio: 586 / 433; filter: drop-shadow(0 28px 34px rgba(9,11,14,.22)) drop-shadow(0 6px 8px rgba(9,11,14,.16)); }
.emblem::before, .emblem::after { content: ""; position: absolute; inset: 0; -webkit-mask: url("../brand/tracio-icon.webp") center / contain no-repeat; mask: url("../brand/tracio-icon.webp") center / contain no-repeat; }
.emblem::before { background: linear-gradient(150deg, #3a3f46 0%, #15181c 38%, #050607 62%, #2a2e34 100%); }
.emblem::after { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) var(--sheen, 46%), transparent calc(var(--sheen, 46%) + 12%)); mix-blend-mode: screen; }
.emblem__dot { position: absolute; left: 49.85%; top: 33.95%; width: 18.6%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 50%, #fff), var(--accent) 45%, color-mix(in srgb, var(--accent) 70%, #000));
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 70%, transparent); }
.object--image img, .object--model canvas { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(9,11,14,.2)); }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; padding-top: 1rem; }
  .hero__stage { order: -1; min-height: 0; height: min(78vw, 400px); margin-bottom: 1.2rem; }
  .hero__caption { display: none; }
  .hero__copy { padding-bottom: 0; }
  .hero__ctas .btn { flex: 1; }
}

/* ── Manifest ──────────────────────────────────────────────────────────── */
.manifesto { padding-block: clamp(5rem, 12vw, 11rem); }
.manifesto__text { font-size: clamp(1.75rem, 3.9vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 550; max-width: 22ch; text-wrap: pretty; }
.manifesto__text .w { transition: opacity .3s; }
.js-motion .manifesto__text .w { opacity: .16; }

/* ── Kartdemo ──────────────────────────────────────────────────────────── */
.demo { --map-bg: #0E1115; --map-block: #151A20; --map-block-2: #12161B; --map-street: #232A33; --map-street-major: #2E3742; --map-park: #142019; --map-water: #0F1B26; --map-building: #1A2027; --map-label: #5B636D; }
.demo[data-map-theme="light"] { --map-bg: #EEF0F2; --map-block: #F8F9FA; --map-block-2: #F3F4F6; --map-street: #DADFE4; --map-street-major: #C9D0D7; --map-park: #E3EFE2; --map-water: #DCEBF5; --map-building: #E9ECEF; --map-label: #8A9097; }
.demo__head { text-align: left; }
.demo__layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.demo__steps { padding-top: 10vh; }
.demo__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s var(--ease); }
.demo__step.is-active { opacity: 1; }
.demo__step-k { font-family: var(--mono); font-size: .85rem; color: var(--accent); margin-bottom: .9rem; }
.demo__step h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.035em; margin-bottom: .8rem; }
.demo__step p { margin: 0; color: var(--on-dark-muted); max-width: 30ch; }
.demo__sticky { position: sticky; top: calc(var(--nav-h) + 3vh); height: calc(100svh - var(--nav-h) - 6vh); min-height: 520px; }
.demo--player .demo__layout { grid-template-columns: 1fr; }
.demo--player .demo__steps { display: none; }
.demo--player .demo__sticky { position: relative; top: 0; height: min(78vh, 760px); }

.map { position: relative; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--map-bg); box-shadow: inset 0 0 0 1px var(--line-dark); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.map.is-exploring { cursor: grab; touch-action: none; }
.map.is-dragging { cursor: grabbing; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, color-mix(in srgb, var(--map-bg) 85%, transparent)); }
.map .blk { fill: var(--map-block); } .map .blk2 { fill: var(--map-block-2); }
.map .bld { fill: var(--map-building); }
.map .park { fill: var(--map-park); } .map .water { fill: var(--map-water); }
.map .st { fill: none; stroke: var(--map-street); stroke-linecap: round; }
.map .st-major { fill: none; stroke: var(--map-street-major); stroke-linecap: round; }
.map .lbl { fill: var(--map-label); font-family: var(--font); font-size: 15px; letter-spacing: .02em; font-weight: 500; }
.map .route-ghost { fill: none; stroke: color-mix(in srgb, var(--accent) 7%, transparent); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.map .route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 60%, transparent)); }
.map .route-back { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; opacity: 0; }
.map .poi circle { fill: var(--map-bg); stroke: var(--map-label); stroke-width: 2; }
.map .poi text { fill: var(--on-dark); font-family: var(--font); font-size: 15px; font-weight: 550; }
.demo[data-map-theme="light"] .map .poi text { fill: var(--ink); }
.map__marker { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 3; }
.map__marker .signal { left: 0; top: 0; --s: 120px; }
.map__marker .pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent), 0 10px 30px rgba(0,0,0,.45); }
.map__marker .pin svg { width: 22px; height: 22px; }
.map__you { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; opacity: 0; pointer-events: none; }
.map__you span { position: absolute; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 25%, transparent); }

.map__hud { position: absolute; inset: 0; pointer-events: none; padding: clamp(.8rem, 2vw, 1.4rem); display: flex; flex-direction: column; justify-content: space-between; z-index: 4; }
.map__hud > * { pointer-events: auto; }
.map__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; height: 30px; padding: 0 .8rem; border-radius: 999px; font-size: .8rem; font-weight: 550;
  background: rgba(9,11,14,.66); color: var(--on-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-dark); }
.chip .locus { --d: 6px; }
.demo[data-map-theme="light"] .chip { background: rgba(255,255,255,.8); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.info-card { width: min(300px, 100%); padding: 1rem 1.1rem 1.05rem; border-radius: var(--r-md); background: rgba(14,17,21,.78); color: var(--on-dark);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line-dark), 0 24px 60px rgba(0,0,0,.35); }
.demo[data-map-theme="light"] .info-card { background: rgba(255,255,255,.86); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px rgba(9,11,14,.12); }
.info-card__row { display: flex; align-items: center; gap: .8rem; }
.info-card__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.demo[data-map-theme="light"] .info-card__icon { color: var(--ink); background: color-mix(in srgb, var(--accent) 55%, transparent); }
.info-card__icon svg { width: 20px; height: 20px; }
.info-card__title { font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.info-card__sub { font-size: .82rem; color: var(--on-dark-muted); }
.demo[data-map-theme="light"] .info-card__sub { color: var(--muted); }
.status { margin-top: .9rem; padding-top: .85rem; border-top: 1px solid var(--line-dark); display: grid; gap: .2rem; font-size: .85rem; }
.demo[data-map-theme="light"] .status { border-color: var(--line); }
.status__label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 550; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transition: background-color .4s; }
.status__dot[data-tone="blue"] { background: var(--blue); }
.status__dot[data-tone="warm"] { background: #FFC56B; }
.status__text { display: inline-block; }

.map__bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .6rem; border-radius: 999px;
  background: rgba(9,11,14,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--on-dark); }
.demo[data-map-theme="light"] .map__bottom { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px rgba(9,11,14,.08); }
.ctrl { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 40px; min-width: 40px; padding: 0 1rem; border-radius: 999px; border: 0;
  background: transparent; color: inherit; font-size: .88rem; font-weight: 550; transition: background-color .2s; }
.ctrl:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.ctrl--play { background: var(--accent); color: var(--ink); }
.ctrl--play:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.ctrl[aria-pressed="true"] { background: color-mix(in srgb, currentColor 16%, transparent); }
.ctrl svg { width: 15px; height: 15px; }
.ctrls { display: flex; gap: .2rem; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; align-items: center; }
.timeline button { position: relative; height: 34px; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; font-size: .78rem; font-weight: 500; opacity: .55; transition: opacity .3s; }
.timeline button.is-done, .timeline button.is-current { opacity: 1; }
.timeline button::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 3px; border-radius: 3px; background: color-mix(in srgb, currentColor 18%, transparent); }
.timeline button span.fill { position: absolute; left: 0; top: 2px; height: 3px; border-radius: 3px; background: var(--accent); width: var(--p, 0%); }
.timeline button span.t { position: absolute; left: 0; bottom: 3px; white-space: nowrap; }
.map__zoom { position: absolute; right: clamp(.8rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; z-index: 5; opacity: 0; pointer-events: none; transition: opacity .3s; }
.map.is-exploring .map__zoom { opacity: 1; pointer-events: auto; }
.map__zoom button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(9,11,14,.72); color: var(--on-dark); font-size: 1.2rem; box-shadow: inset 0 0 0 1px var(--line-dark); }
.demo__disclaimer { margin-top: 1.4rem; font-size: .84rem; color: var(--on-dark-muted); display: flex; gap: .6rem; align-items: flex-start; max-width: 70ch; }
.demo__disclaimer svg { flex: none; width: 16px; margin-top: .2rem; }

@media (max-width: 960px) {
  .demo__layout { grid-template-columns: 1fr; }
  .demo__steps { display: none; }
  .demo__sticky { position: relative; top: 0; height: 74svh; min-height: 480px; max-height: 680px; }
  .map__bottom { grid-template-columns: 1fr; border-radius: 22px; gap: .4rem; }
  .ctrls { justify-content: space-between; }
  .ctrl .lbl-long { display: none; }
  .info-card { width: 100%; max-width: 280px; }
  .mobile-steps { display: grid !important; }
}
.mobile-steps { display: none; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.mobile-steps button { text-align: left; padding: .8rem; border-radius: var(--r-sm); border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark-muted); font-size: .82rem; line-height: 1.3; }
.mobile-steps button b { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: .2rem; }
.mobile-steps button.is-active { border-color: var(--accent); }

/* ── Hur det fungerar ──────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: s; }
.step { position: relative; }
.step__scene { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 1.5rem; display: grid; place-items: center; }
.step__scene svg { width: 78%; height: auto; overflow: visible; }
.step__k { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-bottom: .6rem; display: block; }
.step h3 { font-size: 1.7rem; letter-spacing: -.035em; margin-bottom: .5rem; }
.step p { margin: 0; color: var(--ink-2); max-width: 30ch; }
.scene-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene-soft { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.scene-fill { fill: var(--bg); }
.scene-accent { fill: var(--accent); }
.scene-ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.scene-blue { fill: none; stroke: #6CB8E3; stroke-width: 2; }
.how__foot { margin-top: 2.5rem; font-size: .88rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .step__scene { aspect-ratio: 16 / 11; }
  .step__scene svg { width: 52%; }
}

/* ── Användningsområden ───────────────────────────────────────────────── */
.uses { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 2rem 0 2.2rem; }
.tab { height: 42px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 550; font-size: .95rem; transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.uses__panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.035em; margin-bottom: .7rem; }
.uses__panel p { margin: 0; color: var(--ink-2); max-width: 40ch; }
.uses__visual { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: grid; place-items: center; }
.uses__visual .obj { position: absolute; inset: 14%; display: grid; place-items: center; opacity: 0; transform: scale(.94) translateY(10px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.uses__visual .obj.is-active { opacity: 1; transform: none; }
.uses__visual .obj svg { width: 100%; height: 100%; overflow: visible; }
.uses__visual .tag-pt { position: absolute; }
.uses__visual .tag-pt .signal { --s: 150px; left: 0; top: 0; }
.uses__visual .tag-pt .locus { position: absolute; transform: translate(-50%, -50%); --d: 16px; }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr; } .uses__visual { order: -1; aspect-ratio: 5 / 4; } }

/* ── Produktpresentation ──────────────────────────────────────────────── */
.showcase__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 40%, #1A1F25 0%, var(--dark) 70%); min-height: clamp(420px, 60vw, 720px); display: grid; place-items: center; isolation: isolate; }
.showcase__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--accent) 9%, transparent) 0, transparent 34%),
  repeating-radial-gradient(circle at 50% 42%, transparent 0 79px, rgba(255,255,255,.04) 80px 81px); }
.showcase__stage .emblem { width: min(46%, 380px); filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.showcase__stage .emblem::before { background: linear-gradient(150deg, #E9ECEF 0%, #AEB4BB 34%, #5E646B 62%, #D4D8DC 100%); }
.showcase__gallery { position: relative; width: 100%; height: 100%; min-height: inherit; }
.showcase__gallery figure { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transition: opacity 1s var(--ease); }
.showcase__gallery figure.is-active { opacity: 1; }
.showcase__gallery img { max-height: 82%; max-width: 82%; object-fit: contain; }
.showcase__dots { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; }
.showcase__dots button { width: 28px; height: 4px; border-radius: 3px; border: 0; padding: 0; background: rgba(255,255,255,.25); }
.showcase__dots button[aria-current="true"] { background: var(--accent); }
.showcase__note { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); font-size: .86rem; color: var(--on-dark-muted); text-align: center; width: min(90%, 46ch); }
.specs { margin-top: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); }
.spec { padding: 1.3rem 1.2rem 1.3rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.spec dd { margin: 0; font-weight: 550; letter-spacing: -.015em; font-size: 1.1rem; }
.spec dd.pending { color: var(--muted); font-weight: 450; font-size: 1rem; }

/* ── Butik ─────────────────────────────────────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.product-card { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 1.1rem; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__media .emblem { width: 46%; transition: transform 1.2s var(--ease); }
.product-card:hover .product-card__media .emblem { transform: translateY(-6px) rotate(-2deg); }
.product-card__badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 .65rem; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--ink); color: #fff; }
.badge--signal { background: var(--accent); color: var(--ink); }
.badge--quiet { background: var(--bg); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.product-card__body { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: start; }
.product-card__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; }
.product-card__desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; margin: .1rem 0 .9rem; max-width: 40ch; }
.price { font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.price s { color: var(--muted); font-weight: 450; margin-right: .35rem; }
.price--sale { color: var(--ink); }
.price-note { font-size: .8rem; color: var(--muted); font-weight: 400; display: block; }
.stock { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; color: var(--ink-2); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock[data-state="low"]::before { background: #E39B1B; }
.stock[data-state="out"]::before, .stock[data-state="paused"]::before { background: var(--muted); }
.product-card__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.swatches { display: flex; gap: .35rem; }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.empty { padding: clamp(3rem, 8vw, 6rem) 1rem; text-align: center; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.empty .loader-locus { margin: 0 auto 1.4rem; }
.empty p { color: var(--muted); max-width: 42ch; margin: .6rem auto 0; }

/* ── Produktsida ───────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.gallery { display: grid; gap: .8rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .5s var(--ease); }
.gallery__main .emblem { width: 52%; }
.gallery__thumbs { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; width: 76px; aspect-ratio: 1; border-radius: var(--r-sm); border: 0; padding: 0; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); opacity: .6; transition: opacity .2s; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.045em; margin-bottom: .8rem; }
.buybox .tagline { color: var(--ink-2); font-size: 1.12rem; margin: 0 0 1.6rem; max-width: 40ch; }
.buybox__price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; font-size: 1.6rem; margin-bottom: .3rem; }
.buybox__price .price { font-size: inherit; }
.buybox__meta { font-size: .86rem; color: var(--muted); margin-bottom: 1.8rem; }
.opt { margin: 0 0 1.6rem; padding: 0; border: 0; }
.opt legend { font-size: .9rem; font-weight: 550; margin-bottom: .7rem; padding: 0; }
.opt legend span { color: var(--muted); font-weight: 450; }
.opt__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt__item { position: relative; }
.opt__item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__item label { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .5rem 1rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; cursor: pointer; transition: box-shadow .2s; }
.opt__item input:checked + label { box-shadow: inset 0 0 0 2px var(--ink); }
.opt__item input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt__item input:disabled + label { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.qty button { width: 46px; height: 100%; border: 0; background: transparent; font-size: 1.2rem; border-radius: 999px; }
.qty button:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.qty input { width: 2.6rem; border: 0; background: transparent; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 36px; } .qty--sm button { width: 34px; font-size: 1rem; } .qty--sm input { width: 2rem; font-size: .92rem; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin-bottom: .6rem; }
.assurances { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; font-size: .92rem; color: var(--ink-2); }
.assurances li { display: flex; gap: .7rem; align-items: flex-start; }
.assurances svg { flex: none; width: 18px; height: 18px; margin-top: .15rem; color: var(--ink); }
.accordion { border-top: 1px solid var(--line); margin-top: 2.2rem; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; cursor: pointer; font-weight: 550; letter-spacing: -.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.acc summary .pm::after { transform: rotate(90deg); }
.acc[open] summary .pm::after { transform: rotate(0); }
.acc__body { padding: 0 0 1.4rem; color: var(--ink-2); }
.acc__body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.acc__body td { padding: .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.acc__body td:first-child { color: var(--muted); width: 45%; padding-right: 1rem; }
.pending-tag { font-size: .78rem; color: var(--muted); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(110%); transition: transform .5s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__name { font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.sticky-buy__price { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } .gallery { position: relative; top: 0; } }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.faq-grid .accordion { margin-top: 0; }
.faq-grid .acc summary { font-size: 1.15rem; padding: 1.4rem 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ── CTA & sidfot ──────────────────────────────────────────────────────── */
.final-cta { text-align: center; padding-block: clamp(6rem, 14vw, 12rem); overflow: clip; position: relative; }
.final-cta .signal { left: 50%; top: 50%; --s: min(120vw, 1100px); --signal-color: rgba(255,255,255,.12); }
.final-cta .signal i { animation-duration: calc(6s / var(--speed)); }
.final-cta .signal i:nth-child(2) { animation-delay: calc(2s / var(--speed)); }
.final-cta .signal i:nth-child(3) { animation-delay: calc(4s / var(--speed)); }
.final-cta h2 { max-width: 16ch; margin: 0 auto 1.2rem; }
.final-cta p { color: var(--on-dark-muted); margin: 0 auto 2.4rem; max-width: 40ch; }
.footer { background: var(--dark); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3.5rem; }
.footer__brand .logo-word { width: 132px; color: var(--on-dark); }
.footer__brand p { color: var(--on-dark-muted); margin: 1.2rem 0 0; max-width: 28ch; }
.footer h2 { font-size: .9rem; font-weight: 550; color: var(--on-dark-muted); letter-spacing: 0; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; opacity: .9; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--on-dark-muted); }
.pay-methods { display: flex; gap: .5rem; flex-wrap: wrap; }
.pay-methods span { padding: .25rem .6rem; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-dark); font-size: .78rem; }
.footer__giant { overflow: hidden; margin-top: 3rem; }
.footer__giant .logo-word { width: 100%; color: rgba(255,255,255,.045); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ── Varukorg (drawer) ─────────────────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; overflow: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(9,11,14,.38); opacity: 0; transition: opacity .5s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: .6rem; right: .6rem; bottom: .6rem; width: min(440px, calc(100% - 1.2rem)); background: var(--surface); border-radius: 24px;
  display: flex; flex-direction: column; transform: translateX(calc(100% + 1rem)); transition: transform .6s var(--ease); box-shadow: 0 30px 80px rgba(9,11,14,.25); overflow: hidden; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.3rem; letter-spacing: -.03em; }
.drawer__close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; }
.drawer__body { flex: 1; overflow-y: auto; padding: .6rem 1.4rem; overscroll-behavior: contain; }
.drawer__foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); background: var(--surface); }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item:last-child { border-bottom: 0; }
.line-item__img { width: 72px; aspect-ratio: 1; border-radius: 14px; background: var(--bg); overflow: hidden; display: grid; place-items: center; }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__img .logo-mark { width: 38px; color: var(--ink); }
.line-item__name { font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.line-item__var { font-size: .86rem; color: var(--muted); margin-bottom: .6rem; }
.line-item__right { display: grid; justify-items: end; gap: .5rem; }
.line-item__remove { border: 0; background: none; padding: 0; font-size: .82rem; color: var(--muted); text-decoration: underline; }
.totals { display: grid; gap: .45rem; font-size: .95rem; margin-bottom: 1.1rem; }
.totals > div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { color: var(--ink-2); } .totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .grand { font-size: 1.15rem; font-weight: 600; padding-top: .55rem; border-top: 1px solid var(--line); margin-top: .2rem; }
.totals .vat { font-size: .82rem; color: var(--muted); }
.code-form { display: flex; gap: .5rem; margin-bottom: 1rem; }
.code-form input { flex: 1; min-width: 0; height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); text-transform: uppercase; }
.code-form input::placeholder { text-transform: none; }
.ship-select { display: grid; gap: .45rem; margin-bottom: 1rem; }
.ship-opt { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; font-size: .92rem; }
.ship-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.ship-opt input { accent-color: var(--ink); }
.ship-opt .ship-name { flex: 1; } .ship-opt small { display: block; color: var(--muted); }
.form-msg { font-size: .86rem; margin: -.4rem 0 .9rem; }
.form-msg--error { color: var(--danger); }
.form-msg--ok { color: var(--ok); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty .loader-locus { margin: 0 auto 1rem; }
.checkout-note { display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: .8rem; color: var(--muted); margin-top: .8rem; }
.checkout-note svg { width: 13px; }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 120; display: grid; gap: .5rem; width: min(420px, calc(100% - 2rem)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem .8rem 1.1rem; border-radius: 16px; background: var(--ink); color: #fff; font-size: .93rem;
  box-shadow: 0 20px 50px rgba(9,11,14,.3); animation: toast-in .55s var(--ease) both; }
.toast.is-leaving { animation: toast-out .4s var(--ease) both; }
.toast--error { background: #3A1512; }
.toast .locus { --d: 8px; flex: none; }
.toast span { flex: 1; }
.toast a, .toast button { color: var(--accent); background: none; border: 0; font-weight: 600; font-size: .9rem; white-space: nowrap; text-decoration: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
.fly-dot { position: fixed; z-index: 130; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); pointer-events: none; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent); }

/* ── Formulär & sidor ──────────────────────────────────────────────────── */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .9rem; font-weight: 550; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(16,18,21,.06); }
.field .err { font-size: .84rem; color: var(--danger); }
.field--check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.field--check input { width: 18px; height: 18px; min-height: 0; margin-top: .15rem; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.flash { padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1.4rem; font-size: .95rem; background: color-mix(in srgb, var(--blue) 45%, var(--surface)); }
.flash--error { background: #FBE9E7; color: #7A1F17; }
.review-banner { background: #FFF6DB; color: #5C4600; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; margin-bottom: 2rem; }

/* Bekräftelse */
.confirm { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.confirm__mark { position: relative; width: 120px; height: 120px; margin: 0 auto 2.4rem; display: grid; place-items: center; }
.confirm__mark .signal { left: 50%; top: 50%; --s: 260px; }
.confirm__check { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.confirm__check svg { width: 34px; color: var(--accent); }
.confirm__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .4s var(--ease) forwards; }
.confirm[data-state="pending"] .confirm__check { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.receipt { max-width: 560px; margin: 3rem auto 0; text-align: left; background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: inset 0 0 0 1px var(--line); }
.receipt__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.receipt__row:last-child { border: 0; }

/* ── Rörelse: initialtillstånd (sätts bara när JS + GSAP finns) ─────────── */
.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); }
.hero-anim .hero [data-hero] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .signal i { opacity: 0 !important; }
}
.reduced-motion .signal i { animation: none; opacity: 0; }

/* Scener i "Hur det fungerar" – loopar bara när de syns */
[data-scene] .drop { transform-box: fill-box; transform-origin: center; }
[data-scene].is-inview .drop { animation: drop calc(3.6s / var(--speed)) var(--ease) infinite; }
[data-scene].is-inview [data-ring] { animation: ring calc(3.6s / var(--speed)) var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-120px); opacity: 0; } 18% { opacity: 1; } 34%, 86% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes ring { 0%, 34% { transform: scale(.6); opacity: 0; } 40% { opacity: 1; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
[data-scene].is-inview [data-arcs] path { animation: arc calc(2.4s / var(--speed)) ease-in-out infinite; opacity: .15; }
[data-scene].is-inview [data-arcs] path:nth-child(2) { animation-delay: calc(.25s / var(--speed)); }
[data-scene].is-inview [data-arcs] path:nth-child(3) { animation-delay: calc(.5s / var(--speed)); }
@keyframes arc { 0%, 100% { opacity: .15; } 35% { opacity: 1; } }
[data-scene].is-inview [data-connect-dot] { animation: blink calc(2.4s / var(--speed)) ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
[data-scene].is-inview [data-find-path] { animation: dash calc(2.8s / var(--speed)) linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
[data-scene].is-inview [data-find-ring] { animation: ring2 calc(2.2s / var(--speed)) var(--ease) infinite; }
@keyframes ring2 { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.model-host { width: 100%; height: 100%; display: grid; place-items: center; } .model-host canvas { width: 100%; height: 100%; }
[data-showcase-emblem] { width: 100%; display: grid; place-items: center; perspective: 1400px; }

/* En enda produkt: visa den som ett brett, utvalt kort i stället för ett ensamt litet kort i gridden */
@media (min-width: 761px) {
  .products:has(> .product-card:only-child) { grid-template-columns: 1fr; }
  .products > .product-card:only-child { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .products > .product-card:only-child .product-card__media { margin-bottom: 0; aspect-ratio: 4 / 3; }
  .products > .product-card:only-child .product-card__media .emblem { width: 36%; }
  .products > .product-card:only-child .product-card__name { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; }
  .products > .product-card:only-child .price { font-size: 1.35rem; }
  .products > .product-card:only-child .product-card__desc { font-size: 1.05rem; margin-bottom: 1.6rem; }
}
