/* Leadrion · delsidor och demos. Bygger på ../bransch/bransch.css (tokens, glas, knappar, typografi). */
.k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-muted); }
.go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.go i { font-style: normal; transition: transform .5s var(--ease-out); }
.fine { font-size: 13px; color: var(--olive-muted); }
.part-hero .kicker a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.part-hero h1 { max-width: 15em; }

/* Scenen där demon står */
.demo-sec { padding-top: clamp(64px, 8vw, 104px); }
.demo-label { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.demo-label .statement { margin: 0; }
.demo-label .note { margin: 0; }
.stage { padding: clamp(20px, 3.4vw, 40px); border-radius: 30px; }
.glass-inner { background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.094)); border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 10px 30px -20px rgba(0,0,0,0.66); }

/* Segmenterade val (glas) */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255,255,255,0.056); box-shadow: inset 0 1px 2px rgba(0,0,0,0.228); flex-wrap: wrap; }
.seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 500 15px var(--sans); color: var(--olive-muted); cursor: pointer; transition: color .3s var(--ease), background .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.seg button[aria-selected="true"] { color: var(--olive); background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.115)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 6px 14px -8px rgba(0,0,0,0.74); }
.seg-sm button { min-height: 36px; padding: 0 14px; font-size: 14px; }
.seg-col { flex-direction: column; border-radius: 20px; width: 100%; }
.seg-col button { justify-content: flex-start; text-align: left; border-radius: 16px; min-height: 48px; padding: 0 18px; }

/* Hemsidor: nivåer */
.demo-levels { display: grid; justify-items: center; gap: 16px; }
.frame { position: relative; width: 100%; margin: 8px 0 0; padding: 30px 10px 10px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.094)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0,0,0,0.82); }
.frame img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: opacity .5s var(--ease); }
.frame img.swap { opacity: 0; }
.frame .dots { position: absolute; top: 12px; left: 16px; display: flex; gap: 6px; }
.frame .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }

/* AEO */
.demo-aeo { display: grid; gap: 18px; }
.aeo-controls { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chat { padding: clamp(18px, 3vw, 32px); display: grid; gap: 18px; min-height: 280px; align-content: start; }
.msg { max-width: 62ch; }
.msg.user { justify-self: end; padding: 12px 16px; border-radius: 18px 18px 6px 18px; background: var(--olive); color: var(--salt-50); }
.msg.ai p { margin-top: 6px; font-size: 17px; line-height: 1.6; }
.msg.ai mark { background: color-mix(in oklch, var(--pink) 22%, transparent); color: inherit; padding: 0 3px; border-radius: 4px; }
.ai-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-muted); }
.cites { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.cites li { font-size: 12px; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--olive-muted); }
.caret { display: inline-block; width: 7px; height: 1.05em; vertical-align: -2px; background: var(--olive); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.aeo-why { padding: 18px 22px; border-radius: 18px; background: color-mix(in oklch, var(--pink) 7%, rgba(255,255,255,0.094)); box-shadow: inset 0 0 0 1px var(--line); }
.aeo-why h4 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.aeo-why ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; font-size: 15px; color: var(--olive-muted); }
.aeo-why li { position: relative; padding-left: 20px; }
.aeo-why li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 1.5px solid var(--olive); border-bottom: 1.5px solid var(--olive); transform: rotate(-45deg); }
.aeo-meter { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; padding-top: 6px; }
.aeo-meter > div { display: grid; }
.aeo-meter b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.aeo-meter .fine { grid-column: 1 / -1; }
.spark { width: 100%; height: 60px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--olive); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: all .9s var(--ease-out); }

/* Uppföljning */
.demo-flow { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: start; }
.flow-side { display: grid; gap: 16px; justify-items: start; }
.timeline { display: grid; gap: 0; width: 100%; margin-top: 6px; }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .6s var(--ease); font-size: 15px; }
.timeline li.on { opacity: 1; }
.timeline time { font-variant-numeric: tabular-nums; color: var(--olive-muted); font-size: 14px; }
.timeline b { font-weight: 500; }
.timeline small { display: block; color: var(--olive-muted); }
.phone-mock { width: 300px; padding: 10px; border-radius: 44px; background: linear-gradient(150deg, rgb(17 21 28), rgb(17 21 28) 50%, rgb(17 21 28)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.042), 0 40px 80px -30px rgba(0,0,0,0.85); }
.pm-screen { height: 560px; border-radius: 35px; overflow: hidden; background: linear-gradient(180deg, rgb(12 15 21), rgb(7 9 13)); display: flex; flex-direction: column; }
.pm-top { height: 44px; display: flex; justify-content: center; align-items: center; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--olive); }
.pm-msgs { flex: 1; padding: 10px 12px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.pm-msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; animation: pop .55s var(--ease-out) both; }
.pm-msg.in { align-self: flex-start; background: rgba(255,255,255,0.07); border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(0,0,0,0.26); }
.pm-msg.out { align-self: flex-end; background: var(--olive); color: var(--salt-50); border-bottom-right-radius: 5px; }
.pm-msg.sys { align-self: center; background: transparent; color: var(--olive-muted); font-size: 12px; padding: 2px 8px; }
.pm-msg.note { align-self: stretch; max-width: none; background: rgba(255,255,255,0.108); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; }
.pm-msg.note b { display: block; font-size: 12px; color: var(--olive-muted); font-weight: 500; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }

/* Kopplingar */
.demo-sync { display: grid; gap: 22px; }
.sync-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sync-map { position: relative; height: 340px; }
.sync-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sync-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 6; transition: stroke .4s var(--ease); }
.sync-lines path.on { stroke: var(--olive); stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw .9s var(--ease-out) forwards; }
.manual .sync-lines path { opacity: .15; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.node { position: absolute; transform: translate(-50%, -50%); min-width: 140px; padding: 12px 16px; border-radius: 16px; text-align: center; display: grid; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgb(12 15 21)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 12px 24px -16px rgba(0,0,0,0.74); transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
.node b { font-weight: 500; }
.node span { font-size: 12px; color: var(--olive-muted); }
.node.on { box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 2px var(--olive), 0 16px 30px -16px rgba(0,0,0,0.85); transform: translate(-50%, -50%) scale(1.04); }
.node.typing::after { content: "Skrivs in för hand"; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: #9a4b2b; }
.n-src { left: 16%; top: 50%; } .n-a { left: 50%; top: 20%; } .n-b { left: 50%; top: 50%; } .n-c { left: 50%; top: 80%; } .n-d { left: 84%; top: 35%; } .n-e { left: 84%; top: 65%; }
.sync-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sync-stats > div { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,0.087); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 4px; }
.sync-stats b { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.sync-log { display: grid; gap: 4px; font-size: 14px; color: var(--olive-muted); min-height: 24px; }
.sync-log li { animation: pop .5s var(--ease-out) both; }
.sync-log b { color: var(--olive); font-weight: 500; font-variant-numeric: tabular-nums; margin-right: 8px; }

/* Vaktmästaren */
.demo-status { display: grid; gap: 22px; }
.status-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-head > div { display: grid; gap: 4px; }
.status-all { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.status-all i, .checks i { width: 10px; height: 10px; border-radius: 50%; background: #3F8F5A; box-shadow: 0 0 0 4px rgba(63,143,90,.15); flex: none; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.status-all.warn i, .checks li.warn i { background: #C2652E; box-shadow: 0 0 0 4px rgba(194,101,46,.18); }
.uptime-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--olive-muted); margin-bottom: 8px; }
.uptime-top b { color: var(--olive); font-variant-numeric: tabular-nums; font-weight: 500; }
.bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 34px; }
.bars i { border-radius: 2px; background: #6FA884; opacity: .85; }
.bars i.dip { background: #D9A441; }
.checks { display: grid; }
.checks li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line); }
.checks span { display: grid; }
.checks b { font-weight: 500; }
.checks small { color: var(--olive-muted); font-size: 14px; }
.checks time { font-size: 13px; color: var(--olive-muted); font-variant-numeric: tabular-nums; }
.incident-note { padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,0.094); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; animation: pop .5s var(--ease-out) both; }

/* Rapporten */
.demo-report { display: grid; gap: 22px; }
.report-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.report-head h4 { margin: 4px 0 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 18px 20px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.087)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line); display: grid; gap: 4px; }
.kpi b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 13px; font-variant-numeric: tabular-nums; color: #3F7A51; }
.kpi em.neg { color: #A4532F; }
.report-notes { display: grid; gap: 8px; padding-top: 8px; }
.report-notes h4 { margin: 8px 0 0; font-size: 14px; font-weight: 500; }
.report-notes ul { display: grid; gap: 4px; color: var(--olive-muted); }
.report-notes li { position: relative; padding-left: 16px; }
.report-notes li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--olive-muted); }
.report-notes p { color: var(--olive-muted); }

/* Så fungerar det, ingår, spår, fler */
.how { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.how li { padding: 26px 28px 8px 0; display: grid; gap: 8px; align-content: start; }
.how li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.how-n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--olive-muted); }
.how h3 { font-size: 18px; }
.how p { color: var(--olive-muted); font-size: 16px; }
.incl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.incl li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); }
.incl li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 11px; height: 6px; border-left: 1.5px solid var(--olive); border-bottom: 1.5px solid var(--olive); transform: rotate(-45deg); }
.spar-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spar { padding: 22px 24px; display: grid; gap: 10px; align-content: start; transition: transform .5s var(--ease-out); }
.spar p { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
@media (hover: hover) { .spar:hover, .more-card:hover, .part:hover { transform: translateY(-3px); } .spar:hover .go i, .part:hover .go i { transform: translateX(4px); } }
.more { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.more-card { padding: 12px 12px 16px; display: grid; gap: 6px; align-content: start; transition: transform .5s var(--ease-out); }
.more-card b { font-weight: 500; margin-top: 6px; }
.more-card .mute { font-size: 14px; }

/* Små levande förhandsvisningar */
.mini { height: 120px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.115), rgba(255,255,255,0.073)); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; display: grid; align-content: center; gap: 6px; padding: 14px; font-size: 12px; }
.mini-site { align-content: start; }
.mini-site span { display: block; border-radius: 4px; background: rgba(255,255,255,0.092); }
.ms-bar { height: 8px; width: 100%; } .ms-h { height: 12px; width: 70%; margin-top: 8px; background: rgba(255,255,255,0.1) !important; } .ms-h.short { width: 45%; margin-top: 0; }
.ms-btn { height: 12px; width: 26%; background: var(--pink) !important; border-radius: 999px !important; opacity: .85; }
.ms-img { position: absolute; right: 12px; bottom: 12px; width: 34%; height: 54%; background: rgba(255,255,255,0.1) !important; animation: breathe 4s var(--ease) infinite alternate; }
@keyframes breathe { to { opacity: .55; } }
.mini-chat .mc-q { justify-self: end; padding: 6px 10px; border-radius: 12px 12px 4px 12px; background: var(--olive); color: var(--salt-50); }
.mini-chat .mc-a { padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.26); animation: rise 3.2s var(--ease-out) infinite; }
.mini-chat b { font-weight: 600; background: color-mix(in oklch, var(--pink) 25%, transparent); border-radius: 3px; padding: 0 2px; }
@keyframes rise { 0% { opacity: 0; transform: translateY(6px); } 20%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mini-notes .mn { padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.26); animation: rise 4.5s var(--ease-out) infinite both; }
.mini-notes .mn:nth-child(2) { animation-delay: .5s; } .mini-notes .mn:nth-child(3) { animation-delay: 1s; }
.mini-notes .ok { background: var(--olive); color: var(--salt-50); }
.mini-sync { grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px; }
.msn { padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.26); }
.mini-sync i { width: 22px; height: 2px; background: linear-gradient(90deg, var(--olive) 50%, transparent 50%) 0 0 / 8px 2px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 8px 0; } }
.mini-status { grid-template-columns: 1fr 1fr; }
.mini-status span { display: flex; align-items: center; gap: 6px; }
.mini-status i { width: 8px; height: 8px; border-radius: 50%; background: #3F8F5A; box-shadow: 0 0 0 3px rgba(63,143,90,.15); animation: ping 2.4s var(--ease) infinite; }
.mini-status span:nth-child(2) i { animation-delay: .4s; } .mini-status span:nth-child(3) i { animation-delay: .8s; } .mini-status span:nth-child(4) i { animation-delay: 1.2s; }
@keyframes ping { 50% { box-shadow: 0 0 0 6px rgba(63,143,90,0); } }
.mini-report { grid-template-columns: 1fr 1fr; gap: 8px; }
.mr { display: grid; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.26); }
.mr small { color: var(--olive-muted); font-size: 11px; }
.mr b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.mr em { font-style: normal; color: #3F7A51; font-size: 11px; }
@media (prefers-reduced-motion: reduce) { .mini * { animation: none !important; } }

.mini-shot { display: block; padding: 0; }
.mini-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { a:hover .mini-shot img { transform: scale(1.04); } }

/* Översikt */
.hub-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.part { padding: 12px; display: grid; gap: 4px; transition: transform .5s var(--ease-out); }
.part .mini { height: 160px; }
.part-body { padding: 14px 10px 6px; display: grid; gap: 6px; }
.part h2 { font-size: 30px; }
.os { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
.os h2 { font-size: clamp(36px, 4vw, 52px); margin: 6px 0 12px; }
.os-mock { height: 220px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08)); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 56px 1fr; overflow: hidden; filter: saturate(.9); }
.os-side { background: var(--olive); display: grid; align-content: start; gap: 12px; padding: 16px; justify-items: center; }
.os-side i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,0.038); }
.os-side i.on { background: var(--pink); }
.os-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.os-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.os-row span { display: grid; padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.26); }
.os-row small { font-size: 11px; color: var(--olive-muted); }
.os-row b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.os-list { display: grid; gap: 6px; }
.os-list span { height: 18px; border-radius: 6px; background: rgba(255,255,255,0.068); }
.os-list span:nth-child(2) { width: 80%; } .os-list span:nth-child(3) { width: 60%; }

@media (max-width: 960px) {
  .demo-flow { grid-template-columns: 1fr; justify-items: center; }
  .flow-side { width: 100%; }
  .more { grid-template-columns: repeat(2, 1fr); }
  .hub-parts, .spar-row, .how { grid-template-columns: 1fr; }
  .how li, .how li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .os { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .incl { grid-template-columns: 1fr; }
  .aeo-why ul { grid-template-columns: 1fr; }
  .aeo-meter { grid-template-columns: 1fr; }
  .phone-mock { width: 100%; max-width: 300px; }
  .pm-screen { height: 480px; }
  .seg-col { flex-direction: row; }
  .seg-col button { min-height: 40px; border-radius: 999px; }
  .sync-map { height: 420px; }
  .node { min-width: 112px; padding: 10px 12px; }
  .node span { display: none; }
  .n-src { left: 50%; top: 8%; } .n-a { left: 22%; top: 38%; } .n-b { left: 50%; top: 52%; } .n-c { left: 78%; top: 38%; } .n-d { left: 28%; top: 88%; } .n-e { left: 72%; top: 88%; }
  .sync-stats { grid-template-columns: 1fr; }
  .kpi b { font-size: 32px; }
  .more { grid-template-columns: 1fr 1fr; }
  .stage { border-radius: 22px; }
}

/* Kopplingar: scenarier, kalkylator, systemvägg */
html { overflow-x: clip; }
.sync-scen { justify-self: start; }
.calc-sec { position: relative; isolation: isolate; margin-top: clamp(96px, 12vw, 152px); padding-bottom: clamp(96px, 12vw, 152px); color: var(--olive); }
.calc-sec::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: radial-gradient(45% 50% at 90% 10%, rgba(0,0,0,0.55), transparent 70%), radial-gradient(40% 40% at 5% 95%, rgba(255,255,255,0.1), transparent 70%), var(--olive); }
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.calc-copy .k { color: rgba(243,245,248,0.6); }
.calc-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.02em; margin: 10px 0 18px; }
.calc-copy p { color: rgba(243,245,248,0.68); max-width: 42ch; font-size: 18px; }
.calc-box { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.016)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), inset 0 0 0 1px rgba(255,255,255,0.06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.calc-box label { display: grid; gap: 12px; }
.calc-box label span { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: rgba(243,245,248,0.8); }
.calc-box label b { font-weight: 500; color: var(--olive); font-variant-numeric: tabular-nums; }
.calc-box input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
.calc-box input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--salt-50) var(--p), rgba(255,255,255,0.035) var(--p)); }
.calc-box input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--salt-50) var(--p), rgba(255,255,255,0.035) var(--p)); }
.calc-box input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgb(7 9 13)); box-shadow: 0 0 0 4px rgba(255,255,255,0.06), 0 6px 14px -4px rgba(0,0,0,0.85); transition: transform .3s var(--ease-out); }
.calc-box input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgb(7 9 13)); box-shadow: 0 0 0 4px rgba(255,255,255,0.06), 0 6px 14px -4px rgba(0,0,0,0.85); }
.calc-box input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc-box input[type=range]:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 8px; }
.calc-res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); }
.calc-res div { display: grid; gap: 2px; padding-top: 14px; }
.calc-res b { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6vw, 76px); line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-res span { color: rgba(243,245,248,0.66); font-size: 15px; }
.calc-fine { font-size: 13px; color: rgba(243,245,248,0.55); }
.sys-sec .statement { margin-bottom: 0; }
.sys-wall { display: grid; gap: 12px; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sys-row { overflow: hidden; }
.sys-track { display: flex; width: max-content; animation: sys 48s linear infinite; }
.sys-row.rev .sys-track { animation-direction: reverse; animation-duration: 56s; }
.sys-wall:hover .sys-track { animation-play-state: paused; }
.sys-track ul { display: flex; gap: 12px; padding-right: 12px; list-style: none; margin: 0; }
.sys-track li { white-space: nowrap; padding: 16px 26px; border-radius: 999px; font-size: 17px; font-weight: 500; color: var(--olive); background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 10px 24px -18px rgba(0,0,0,0.82); }
@keyframes sys { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sys-track { animation: none; } .sys-row { overflow-x: auto; } }
.sys-note-sec { padding-top: 24px; }
.sys-note-sec .note { margin-top: 0; }
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .sys-track li { padding: 12px 20px; font-size: 15px; }
}

/* Fördjupningar: nivåjämförelse, AEO-test, schema, rapportsida */
.tier-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.tier-head .k { color: rgba(243,245,248,0.6); }
.tier-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.02em; margin: 10px 0 14px; }
.tier-head p { color: rgba(243,245,248,0.68); font-size: 18px; }
.cmp { display: grid; border-radius: 24px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); background: rgba(255,255,255,0.016); }
.cmp-row { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); align-items: center; border-top: 1px solid rgba(255,255,255,0.06); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { padding: 16px 20px; font-size: 15px; color: rgba(243,245,248,0.82); }
.cmp-row > span:first-child { color: var(--olive); }
.cmp-row > span:not(:first-child) { text-align: center; }
.cmp-row > span:last-child { background: rgba(255,255,255,0.018); }
.cmp-top > span { font-family: var(--serif); font-size: 26px; color: var(--olive); padding-top: 22px; padding-bottom: 18px; }
.cmp .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--salt-50); color: var(--olive); }
.cmp .yes svg { width: 14px; height: 14px; }
.cmp .no { color: rgba(243,245,248,0.35); }
.cmp-fine { margin-top: 18px; }
.aeo-list { list-style: none; margin: 0; padding: 0; display: grid; }
.aeo-list li + li { border-top: 1px solid rgba(255,255,255,0.06); }
.aeo-list label { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px 0; cursor: pointer; }
.aeo-list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aeo-list .box { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.08); color: transparent; transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.aeo-list .box svg { width: 15px; height: 15px; }
.aeo-list input:checked + .box { background: var(--salt-50); color: var(--olive); box-shadow: none; }
.aeo-list input:focus-visible + .box { outline: 2px solid var(--pink); outline-offset: 3px; }
.aeo-list b { display: block; font-weight: 500; color: var(--olive); }
.aeo-list small { display: block; margin-top: 2px; font-size: 14px; color: rgba(243,245,248,0.6); }
.aeo-res { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }
.aeo-res div { display: grid; }
.aeo-res div b { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: .9; font-variant-numeric: tabular-nums; }
.aeo-res div span { color: rgba(243,245,248,0.6); font-size: 14px; }
.aeo-res p { font-size: 15px; color: rgba(243,245,248,0.78); }
.aeo-res p b { color: var(--olive); font-weight: 500; }
.sched { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.sched::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(255,255,255,0.038); }
.sched > li { position: relative; padding: 32px 20px 0 0; display: grid; gap: 10px; align-content: start; }
.sched-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--salt-50); box-shadow: 0 0 0 5px rgba(255,255,255,0.06); }
.sched > li:first-child .sched-dot { background: #7FC496; box-shadow: 0 0 0 5px rgba(127,196,150,.2); animation: ping-d 2.4s var(--ease) infinite; }
@keyframes ping-d { 50% { box-shadow: 0 0 0 10px rgba(127,196,150,0); } }
.sched b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; color: var(--olive); }
.sched ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: rgba(243,245,248,0.7); font-size: 15px; }
.paper { padding: clamp(24px, 3.4vw, 40px); border-radius: 6px; background: linear-gradient(180deg, rgb(12 15 21), rgb(7 9 13)); color: var(--olive); box-shadow: 0 1px 0 rgba(255,255,255,0.084) inset, 0 50px 90px -40px rgba(0,0,0,0.85), 0 2px 6px rgba(0,0,0,0.34); transform: rotate(1.2deg); display: grid; gap: 12px; }
.paper header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.paper h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.06; letter-spacing: -0.01em; }
.paper p { color: var(--olive-muted); font-size: 15px; }
.paper h4 { margin: 8px 0 0; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.paper ul { margin: 0; padding-left: 18px; color: var(--olive-muted); font-size: 15px; display: grid; gap: 2px; }
.paper-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.paper-kpi span { display: grid; padding: 12px; border-radius: 10px; background: rgba(255,255,255,0.108); box-shadow: inset 0 0 0 1px var(--line); }
.paper-kpi small { font-size: 12px; color: var(--olive-muted); }
.paper-kpi b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.paper-kpi em { font-style: normal; font-size: 12px; color: #3F7A51; }
@media (max-width: 860px) {
  .cmp-row { grid-template-columns: 1.3fr repeat(3, 1fr); }
  .cmp-row > span { padding: 12px 8px; font-size: 13px; }
  .cmp-row > span:first-child { padding-left: 14px; }
  .cmp-top > span { font-size: 17px; }
  .sched { grid-template-columns: 1fr; gap: 26px; padding-left: 28px; }
  .sched::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .sched > li { padding: 0; }
  .sched-dot { left: -28px; top: 6px; }
  .paper { transform: none; }
}
.aeo-list label > span:not(.box) { display: block; }
.calc-box label b { white-space: nowrap; }
.co-seg { justify-self: start; }
.demo-status > .co-seg, .demo-report > .co-seg { margin-bottom: -6px; }
.flow-side .co-seg { margin-bottom: 2px; }
.kpi .k { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Eget OS: kontrollpanelen */
.more { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.demo-os { display: grid; gap: 18px; }
.osa { display: grid; grid-template-columns: 196px 1fr; min-height: 560px; border-radius: 20px; overflow: hidden; background: rgb(12 15 21); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0,0,0,0.82); }
.osa-side { display: flex; flex-direction: column; gap: 18px; padding: 18px 12px; background: var(--olive); color: var(--salt-50); }
.osa-mark { width: 34px; height: 34px; margin-left: 6px; border-radius: 10px; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; background: var(--pink); color: var(--olive-900); }
.osa-nav { display: grid; gap: 2px; }
.osa-nav button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: rgba(243,245,248,0.66); font: 500 14px var(--sans); text-align: left; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.osa-nav button:hover { color: var(--olive); }
.osa-nav button[aria-pressed="true"] { background: rgba(255,255,255,0.027); color: var(--olive); }
.osa-nav svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.osa-brand { margin-top: auto; padding: 0 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,245,248,0.42); }
.osa-main { display: flex; flex-direction: column; min-width: 0; }
.osa-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.osa-date { font-size: 12px; color: var(--olive-muted); }
.osa-top h4 { margin: 2px 0 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.osa-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px var(--line); }
.osa-search svg { width: 14px; height: 14px; fill: none; stroke: var(--olive-muted); stroke-width: 1.5; stroke-linecap: round; }
.osa-search input { border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--olive); width: 150px; outline: none; }
.osa-view { flex: 1; padding: 20px 24px 24px; display: grid; gap: 16px; align-content: start; }
.osa-view.in > * { animation: ov-in .45s var(--ease-out) both; }
.osa-view.in > *:nth-child(2) { animation-delay: .05s; } .osa-view.in > *:nth-child(3) { animation-delay: .1s; }
@keyframes ov-in { from { opacity: 0; transform: translateY(6px); } }
.osa-view h5 { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-muted); }
.ov-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ov-kpi div { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px var(--line); }
.ov-kpi small { font-size: 12px; color: var(--olive-muted); }
.ov-kpi b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ov-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.ov-list, .ov-todo, .ov-table { list-style: none; margin: 0; padding: 0; border-radius: 12px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ov-list li { display: grid; grid-template-columns: 74px 1fr auto; gap: 2px 12px; padding: 11px 14px; font-size: 14px; }
.ov-list li + li, .ov-todo li + li, .ov-table li + li { border-top: 1px solid var(--line); }
.ov-list time { grid-row: span 2; font-variant-numeric: tabular-nums; color: var(--olive-muted); }
.ov-list b { font-weight: 500; }
.ov-list span { grid-column: 2; color: var(--olive-muted); font-size: 13px; }
.ov-list em { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,0.062); }
.ov-todo label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 11px 14px; font-size: 14px; cursor: pointer; }
.ov-todo input { position: absolute; opacity: 0; }
.ov-box { width: 18px; height: 18px; margin-top: 1px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .25s var(--ease); }
.ov-todo input:checked + .ov-box { background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5.5-6' fill='none' stroke='%23F2F2ED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.ov-todo input:checked ~ span:last-child { color: var(--olive-muted); text-decoration: line-through; }
.ov-todo input:focus-visible + .ov-box { outline: 2px solid var(--pink); outline-offset: 2px; }
.ov-table li { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; padding: 12px 14px; font-size: 14px; align-items: center; }
.ov-table li[hidden] { display: none; }
.ov-table b { font-weight: 500; }
.ov-table span { color: var(--olive-muted); }
.ov-table em { font-style: normal; font-variant-numeric: tabular-nums; }
.ov-empty, .ov-hint { font-size: 13px; color: var(--olive-muted); }
.ov-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ov-board section { padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.05); min-height: 260px; }
.ov-board h5 span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,0.07); font-variant-numeric: tabular-nums; }
.ov-cards { display: grid; gap: 8px; }
.ov-card { display: grid; gap: 2px; text-align: left; padding: 12px; border: 0; border-radius: 10px; background: rgba(255,255,255,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.292), inset 0 0 0 1px var(--line); font: inherit; color: var(--olive); cursor: pointer; transition: transform .22s var(--ease-out), opacity .22s var(--ease); }
.ov-card:hover { transform: translateY(-2px); }
.ov-card.moving { transform: translateX(14px); opacity: 0; }
.ov-card b { font-weight: 500; font-size: 14px; }
.ov-card small { font-size: 12px; color: var(--olive-muted); }
.ov-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: end; height: 300px; padding: 18px; border-radius: 12px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px var(--line); }
.ov-chart div { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; height: 100%; text-align: center; font-size: 12px; color: var(--olive-muted); }
.ov-chart b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--olive); }
.ov-chart i { align-self: end; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgb(17 21 28), var(--olive)); animation: grow .8s var(--ease-out) both; transform-origin: bottom; }
.ov-chart div:last-child i { background: linear-gradient(180deg, #FF7DC1, var(--pink)); }
@keyframes grow { from { transform: scaleY(0); } }
.mini-os { grid-template-columns: 22px 1fr; gap: 8px; align-content: stretch; padding: 10px; }
.mo-side { display: grid; align-content: start; gap: 6px; padding: 6px 4px; border-radius: 6px; background: var(--olive); }
.mo-side i { height: 6px; border-radius: 2px; background: rgba(255,255,255,0.052); } .mo-side i.on { background: var(--pink); }
.mo-main { display: grid; gap: 6px; align-content: start; }
.mo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mo-row b { padding: 4px 6px; border-radius: 6px; background: rgba(255,255,255,0.07); font-family: var(--serif); font-weight: 400; font-size: 18px; box-shadow: 0 1px 2px rgba(0,0,0,0.26); }
.mo-line { height: 10px; border-radius: 4px; background: rgba(255,255,255,0.08); } .mo-line.s { width: 65%; }
a.os { color: inherit; transition: transform .5s var(--ease-out); }
@media (hover: hover) { a.os:hover { transform: translateY(-3px); } a.os:hover .go i { transform: translateX(4px); } }
.tabs-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.tabs-vs .k { color: rgba(243,245,248,0.6); display: block; margin-bottom: 14px; }
.tv-before ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tv-before li { padding: 9px 14px; border-radius: 10px 10px 4px 4px; font-size: 14px; color: rgba(243,245,248,0.75); background: rgba(255,255,255,0.02); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); transform: rotate(calc((var(--i) - 4.5) * .6deg)); }
.tv-arrow { font-size: 36px; color: var(--pink); }
.tv-one { display: grid; gap: 6px; padding: 26px 28px; border-radius: 20px; background: var(--salt-50); color: var(--olive); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.85); }
.tv-one b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.tv-one span { font-size: 14px; color: var(--olive-muted); }
.tv-after p { margin-top: 16px; color: rgba(243,245,248,0.68); }
@media (max-width: 860px) {
  .osa { grid-template-columns: 1fr; min-height: 0; }
  .osa-side { flex-direction: row; align-items: center; gap: 8px; padding: 10px; overflow-x: auto; }
  .osa-mark { margin-left: 0; flex: none; }
  .osa-nav { display: flex; gap: 2px; }
  .osa-nav button { padding: 0 10px; white-space: nowrap; }
  .osa-brand { display: none; }
  .osa-top { padding: 14px 16px; flex-wrap: wrap; }
  .osa-view { padding: 14px 16px 18px; }
  .ov-kpi { grid-template-columns: repeat(2, 1fr); }
  .ov-split { grid-template-columns: 1fr; }
  .ov-table li { grid-template-columns: 1fr auto; }
  .ov-table li span:nth-of-type(2) { display: none; }
  .ov-board { grid-template-columns: 1fr; }
  .ov-board section { min-height: 0; }
  .ov-chart { height: 220px; gap: 8px; padding: 12px; }
  .tabs-vs { grid-template-columns: 1fr; }
  .tv-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 480px) { .osa-nav button span { display: none; } .osa-nav button { width: 44px; justify-content: center; } }
@media (max-width: 860px) {
  .ov-table li { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .ov-table li b { grid-column: 1; grid-row: 1; }
  .ov-table li em { grid-column: 2; grid-row: 1; }
  .ov-table li span:first-of-type { grid-column: 1; grid-row: 2; font-size: 13px; }
}

/* Eget OS: premiumsida */
.os-page { background: var(--salt); }
.os-hero { position: relative; isolation: isolate; padding: clamp(140px, 18vh, 200px) var(--gutter) clamp(80px, 10vw, 140px); color: var(--olive); text-align: center; overflow: clip; }
.os-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 50% at 50% 62%, rgba(255,79,171,.16), transparent 70%), radial-gradient(70% 60% at 50% 100%, rgba(0,0,0,0.75), transparent 75%), radial-gradient(40% 40% at 90% 0%, rgba(0,0,0,0.5), transparent 70%), var(--olive-900); }
.os-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: -1; background: linear-gradient(180deg, transparent, var(--salt)); }
.os-hero-copy { max-width: 900px; margin: 0 auto; display: grid; justify-items: center; }
.os-hero .kicker { color: rgba(243,245,248,0.6); }
.os-hero .kicker a { color: inherit; text-decoration: underline; text-decoration-color: rgba(243,245,248,0.3); text-underline-offset: 4px; }
.os-hero h1 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9vw, 132px); line-height: .92; letter-spacing: -0.035em; color: var(--olive); }
.os-hero h1 span { color: rgba(243,245,248,0.5); }
.os-hero .lede { color: rgba(243,245,248,0.72); max-width: 44ch; margin-inline: auto; text-wrap: balance; }
.os-hero .ctas { justify-content: center; }
.btn-ghost { color: var(--olive); background: rgba(255,255,255,0.021); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.03); }
.os-hero-stage { --tilt: 1; position: relative; max-width: 1160px; margin: clamp(56px, 7vw, 96px) auto 0; perspective: 1600px; text-align: left; }
.os-hero-stage > .demo-os { transform: rotateX(calc(var(--tilt) * 22deg)) scale(calc(1 - var(--tilt) * .08)) translateY(calc(var(--tilt) * -10px)); transform-origin: 50% 0%; will-change: transform; }
.os-hero-glow { position: absolute; left: 10%; right: 10%; top: 12%; height: 70%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,79,171,.28), rgba(255,255,255,0.027) 60%, transparent); filter: blur(40px); }
.os-hero .co-seg { background: rgba(255,255,255,0.024); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.os-hero .co-seg button { color: rgba(243,245,248,0.7); }
.os-hero .co-seg button[aria-selected="true"] { color: var(--olive); }
.os-hero .osa { box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 1px 0 rgba(255,255,255,0.07) inset, 0 60px 120px -40px rgba(0,0,0,0.85), 0 30px 60px -30px rgba(0,0,0,0.85); }
.os-hero-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--olive-muted); }
.osa { position: relative; }
.osa-live { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #3F8F5A; vertical-align: 1px; animation: live 2.4s var(--ease) infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(63,143,90,.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(63,143,90,0); } }
.osa-tools { display: flex; gap: 8px; align-items: center; }
.osa-cmd { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px; border: 0; border-radius: 10px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px var(--line); font: 14px var(--sans); color: var(--olive-muted); cursor: pointer; transition: box-shadow .3s var(--ease); }
.osa-cmd:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 4px 12px -6px rgba(0,0,0,0.58); }
.osa-cmd svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.osa kbd { font: 500 11px var(--sans); padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,0.062); box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06); color: var(--olive-muted); }
.osa-pal { position: absolute; inset: 0; z-index: 5; display: grid; justify-items: center; align-items: start; padding-top: 70px; background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s var(--ease); }
.osa-pal.open { opacity: 1; }
.osa-pal-box { width: min(520px, calc(100% - 32px)); border-radius: 16px; background: rgb(12 15 21); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0,0,0,0.82); overflow: hidden; transform: translateY(-6px) scale(.98); transition: transform .3s var(--ease-out); }
.osa-pal.open .osa-pal-box { transform: none; }
.osa-pal-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.osa-pal-in svg { width: 16px; height: 16px; fill: none; stroke: var(--olive-muted); stroke-width: 1.5; stroke-linecap: round; }
.osa-pal-in input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--olive); outline: none; }
.osa-pal-list { list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow: auto; }
.osa-pal-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; cursor: pointer; }
.osa-pal-list li[aria-selected="true"] { background: rgba(255,255,255,0.068); }
.osa-pal-list li small { color: var(--olive-muted); }
.osa-pal-list li kbd { margin-left: auto; }
.osa-pal-list li.none { color: var(--olive-muted); cursor: default; }
.os-principles ol { list-style: none; margin: 0; padding: 0; display: grid; }
.os-principles li { display: grid; grid-template-columns: 120px 1.2fr 1fr; gap: 16px 40px; align-items: baseline; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.os-principles li:last-child { border-bottom: 1px solid var(--line); }
.os-principles span { font-family: var(--serif); font-size: 28px; color: var(--olive-muted); }
.os-principles h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.025em; }
.os-principles p { color: var(--olive-muted); font-size: 18px; max-width: 40ch; }
.os-final-card { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 16px; text-align: center; padding: clamp(56px, 8vw, 104px) clamp(24px, 5vw, 64px); border-radius: 32px; color: var(--salt-50); background: radial-gradient(50% 60% at 50% 110%, rgba(255,79,171,.22), transparent 70%), radial-gradient(60% 70% at 85% 0%, rgba(0,0,0,0.6), transparent 70%), var(--olive-900); box-shadow: 0 50px 100px -50px rgba(0,0,0,0.85); }
.os-final-card .k { color: rgba(243,245,248,0.6); }
.os-final-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -0.03em; }
.os-final-card p { max-width: 46ch; color: rgba(243,245,248,0.72); font-size: 18px; }
@media (max-width: 860px) {
  .os-hero { padding-top: 120px; }
  .os-hero-stage > .demo-os { transform: none; }
  .os-principles li { grid-template-columns: 1fr; gap: 10px; }
}
.os-hero-stage > .demo-os { transition: transform .1s linear; }
@media (prefers-reduced-motion: reduce) { .os-hero-stage > .demo-os { transform: none !important; } .osa-live { animation: none; } }
@media (max-width: 860px) { .osa-cmd span, .osa-cmd kbd { display: none; } .osa-cmd { width: 38px; justify-content: center; padding: 0; } }
.os-hero .osa, .os-hero .osa-pal-box { color: var(--olive); }
.os-hero .osa-side { color: var(--olive); }

/* Glassektioner: mörk oliv med färgfält bakom, så att glaset syns */
.glass-sec { position: relative; isolation: isolate; margin-top: clamp(96px, 12vw, 152px); padding-bottom: clamp(96px, 12vw, 152px); color: var(--olive); }
.glass-sec::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -2; background: var(--olive-900); }
.glass-sec::after { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; background:
  radial-gradient(26% 30% at 18% 38%, rgba(255,79,171,.32), transparent 70%),
  radial-gradient(30% 36% at 82% 62%, rgba(255,255,255,0.1), transparent 70%),
  radial-gradient(24% 26% at 60% 18%, rgba(255,255,255,0.03), transparent 70%); }
.glass-sec + .calc-sec { margin-top: 0; padding-top: 24px; }
.g-glass { -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.017)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.031), inset 0 0 0 1px rgba(255,255,255,0.06), 0 30px 60px -30px rgba(0,0,0,0.85); }

/* Kopplingskartan */
.hub { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
.hub-map { position: relative; min-height: 560px; border-radius: 28px; -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); background: linear-gradient(160deg, rgba(255,255,255,0.024), rgba(255,255,255,0.014)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.028), inset 0 0 0 1px rgba(255,255,255,0.06); overflow: hidden; }
.hub-map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.027) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-edge { fill: none; stroke: rgba(243,245,248,0.22); stroke-width: 1.5; transition: stroke .4s var(--ease), stroke-width .4s var(--ease); }
.hub-edge.mid { stroke-dasharray: 7 6; } .hub-edge.exp { stroke-dasharray: 1.5 6; stroke-linecap: round; }
.hub-edge.on { stroke: rgba(255,79,171,.9); stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(255,79,171,.6)); }
.hub-pkt { fill: rgb(243 245 248); filter: drop-shadow(0 0 8px #FF4FAB) drop-shadow(0 0 3px #FF4FAB); }
.hub-core { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.049), rgba(255,255,255,0.021) 60%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.056), inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 0 10px rgba(255,255,255,0.06), 0 30px 60px -20px rgba(0,0,0,0.85); transition: box-shadow .5s var(--ease-out); }
.hub-core b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.hub-core small { font-size: 11px; color: rgba(243,245,248,0.65); }
.hub-core.on { box-shadow: inset 0 1px 0 rgba(255,255,255,0.056), inset 0 0 0 1px rgba(255,79,171,.6), 0 0 0 10px rgba(255,79,171,.1), 0 0 60px rgba(255,79,171,.35); }
.hub-nodes { position: absolute; inset: 0; }
.hub-node { position: absolute; transform: translate(-50%, -50%); display: grid; gap: 2px; text-align: center; padding: 10px 14px; border: 0; border-radius: 14px; font: inherit; color: var(--olive); cursor: pointer;
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); background: linear-gradient(160deg, rgba(255,255,255,0.032), rgba(255,255,255,0.017)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), inset 0 0 0 1px rgba(255,255,255,0.06), 0 14px 30px -18px rgba(0,0,0,0.85); transition: box-shadow .4s var(--ease-out), background .4s var(--ease), transform .4s var(--ease-out); }
.hub-node b { font-weight: 500; font-size: 14px; white-space: nowrap; } .hub-node .s { display: none; }
.hub-node small { font-size: 11px; color: rgba(243,245,248,0.6); white-space: nowrap; }
.hub-node:hover { transform: translate(-50%, -50%) scale(1.04); }
.hub-node.on { background: linear-gradient(160deg, rgb(12 15 21), rgba(255,255,255,0.119)); color: var(--olive); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 30px rgba(255,79,171,.35); }
.hub-node.on small { color: var(--olive-muted); }
.hub-node.src { background: linear-gradient(160deg, #FF7DC1, var(--pink)); color: var(--olive-900); }
.hub-node.src small { color: rgba(243,245,248,0.7); }
.hub-panel { display: grid; gap: 18px; align-content: start; padding: 24px; border-radius: 28px; -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.017)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.031), inset 0 0 0 1px rgba(255,255,255,0.06), 0 30px 60px -30px rgba(0,0,0,0.85); }
.hub-panel .k { color: rgba(243,245,248,0.55); }
.hub-flows { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-flows button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; font: 500 14px var(--sans); color: rgba(243,245,248,0.75); background: rgba(255,255,255,0.02); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); cursor: pointer; transition: all .3s var(--ease); }
.hub-flows button[aria-selected="true"] { background: var(--salt-50); color: var(--olive); box-shadow: none; }
.hub-when { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: rgba(255,79,171,.12); box-shadow: inset 0 0 0 1px rgba(255,79,171,.3); }
.hub-when b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.hub-then { display: grid; gap: 8px; }
.hub-then ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hub-then li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: rgba(243,245,248,0.5); background: rgba(255,255,255,0.016); transition: color .4s var(--ease), background .4s var(--ease); }
.hub-then li.done { color: var(--olive); background: rgba(255,255,255,0.024); }
.hub-chip { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: rgba(255,255,255,0.027); }
.hub-then li.done .hub-chip { background: var(--salt-50); color: var(--olive); }
.hub-legend { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,0.06); display: grid; gap: 8px; font-size: 13px; color: rgba(243,245,248,0.7); }
.hub-legend li { display: flex; align-items: center; gap: 10px; }
.hub-legend i { width: 34px; height: 0; border-top: 2px solid rgba(255,255,255,0.12); }
.hub-legend i.mid { border-top-style: dashed; } .hub-legend i.exp { border-top-style: dotted; }
.hub-note { font-size: 12px; color: rgba(243,245,248,0.5); }
@media (max-width: 960px) { .hub { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .hub-map { min-height: 440px; }
  .hub-node { padding: 7px 10px; border-radius: 11px; }
  .hub-node b { font-size: 12px; } .hub-node .l, .hub-node small { display: none; } .hub-node .s { display: inline; }
  .hub-core { width: 96px; height: 96px; margin: -48px 0 0 -48px; } .hub-core b { font-size: 22px; } .hub-core small { display: none; }
  .hub-when b { font-size: 20px; }
}

/* Uppföljning: dashboard i glas */
.fd { display: grid; gap: 14px; padding: clamp(16px, 2.4vw, 26px); border-radius: 30px; -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); background: linear-gradient(160deg, rgba(255,255,255,0.027), rgba(255,255,255,0.016)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.031), inset 0 0 0 1px rgba(255,255,255,0.06), 0 50px 100px -40px rgba(0,0,0,0.85); }
.fd-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 4px 6px; }
.fd-top > div { display: flex; align-items: center; gap: 12px; }
.fd-top b { font-weight: 500; }
.fd-live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font-size: 12px; background: rgba(127,196,150,.14); color: #A9DDB8; box-shadow: inset 0 0 0 1px rgba(127,196,150,.3); }
.fd-live i { width: 7px; height: 7px; border-radius: 50%; background: #7FC496; animation: live 2.4s var(--ease) infinite; }
.fd .co-seg { background: rgba(255,255,255,0.021); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.fd .co-seg button { color: rgba(243,245,248,0.7); } .fd .co-seg button[aria-selected="true"] { color: var(--olive); }
.fd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fd-kpi, .fd-card { border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,0.027), rgba(255,255,255,0.016)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.022), inset 0 0 0 1px rgba(255,255,255,0.06); }
.fd-kpi { display: grid; gap: 4px; padding: 16px 18px; }
.fd-kpi small { font-size: 12px; color: rgba(243,245,248,0.6); }
.fd-kpi b { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.fd-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-areas: "feed funnel flows" "feed chart chart"; gap: 10px; }
.fd-card { padding: 16px 18px; display: grid; gap: 12px; align-content: start; }
.fd-card h5 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,245,248,0.6); display: flex; justify-content: space-between; }
.fd-card h5 span { letter-spacing: 0; text-transform: none; color: #A9DDB8; }
.fd-feed { grid-area: feed; } .fd-funnel { grid-area: funnel; } .fd-flows { grid-area: flows; } .fd-chart { grid-area: chart; }
.fd-feed ul, .fd-funnel ul, .fd-flows ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fd-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.018); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); animation: fd-in .6s var(--ease-out) both; }
@keyframes fd-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.fd-av { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; background: linear-gradient(160deg, rgba(255,255,255,0.052), rgba(255,255,255,0.024)); }
.fd-txt b { display: block; font-weight: 500; font-size: 14px; } .fd-txt small { display: block; font-size: 13px; color: rgba(243,245,248,0.62); }
.fd-st { grid-column: 2; justify-self: start; font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; transition: all .4s var(--ease); }
.fd-st.new { background: rgba(255,79,171,.2); color: #FF9CCF; }
.fd-st.ans { background: rgba(255,255,255,0.03); color: var(--olive); }
.fd-st.ok { background: rgba(127,196,150,.2); color: #A9DDB8; }
.fd-funnel li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 13px; color: rgba(243,245,248,0.75); }
.fd-funnel b { font-weight: 500; color: var(--olive); font-variant-numeric: tabular-nums; }
.fd-funnel i { grid-column: 1 / -1; height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,79,171,.9), rgba(255,125,193,.6)); width: var(--w); box-shadow: 0 0 14px rgba(255,79,171,.35); transform-origin: left; animation: grow-x 1s var(--ease-out) both; }
@keyframes grow-x { from { transform: scaleX(0); } }
.fd-flows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.fd-sw { flex: none; width: 38px; height: 22px; border: 0; border-radius: 999px; padding: 0; background: rgba(255,255,255,0.035); cursor: pointer; position: relative; transition: background .3s var(--ease); }
.fd-sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.07); transition: transform .3s var(--ease-out); box-shadow: 0 2px 4px rgba(0,0,0,0.58); }
.fd-sw[aria-checked="true"] { background: #6FB585; } .fd-sw[aria-checked="true"] i { transform: translateX(16px); }
.fd-sw:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.fd-chart svg { width: 100%; height: 140px; }
.fd-chart-ax { display: flex; justify-content: space-between; font-size: 12px; color: rgba(243,245,248,0.6); }
.fd-note { font-size: 12px; color: rgba(243,245,248,0.5); text-align: right; }
@media (max-width: 960px) { .fd-kpis { grid-template-columns: repeat(2, 1fr); } .fd-grid { grid-template-columns: 1fr; grid-template-areas: "feed" "funnel" "flows" "chart"; } }
@media (prefers-reduced-motion: reduce) { .fd-item, .fd-funnel i { animation: none; } }

/* ==========================================================================
   Glas 2.0: rent mörkt glas. Ett ljus, en nivå glas, hårfina linjer, rosa bara för det aktiva.
   ========================================================================== */
:root { --g-line: rgba(255,255,255,0.06); --g-line-2: rgba(255,255,255,0.06); --g-text-2: rgba(243,245,248,0.62); --g-text-3: rgba(243,245,248,0.42);
  --g-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
/* Bakgrund: oliv med ett mjukt studioljus uppifrån och fint korn mot ringar i gradienten */
.glass-sec::before { background: radial-gradient(70% 55% at 50% 0%, rgba(0,0,0,0.55), rgba(255,255,255,0.02) 70%), linear-gradient(180deg, rgb(17 21 28) 0%, rgb(17 21 28) 55%, rgb(17 21 28) 100%); }
.glass-sec::after { background: var(--g-noise); opacity: .07; mix-blend-mode: overlay; }
.glass-sec .tier-head h2 { letter-spacing: -0.025em; }
.glass-sec .tier-head p { color: var(--g-text-2); }

/* En nivå glas */
.fd, .hub-map, .hub-panel { background: linear-gradient(180deg, rgba(255,255,255,0.021), rgba(255,255,255,0.015)); -webkit-backdrop-filter: blur(30px) saturate(140%); backdrop-filter: blur(30px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), inset 0 0 0 1px var(--g-line), 0 1px 1px rgba(0,0,0,0.42), 0 40px 80px -40px rgba(0,0,0,0.85); }

/* Dashboarden: linjer i stället för lådor */
.fd { padding: 0; gap: 0; overflow: hidden; border-radius: 24px; }
.fd-top { padding: 16px 20px; border-bottom: 1px solid var(--g-line); }
.fd-top b { font-size: 15px; letter-spacing: -0.005em; }
.fd-live { background: none; box-shadow: none; padding: 0; color: var(--g-text-2); font-size: 13px; }
.fd-live i { background: var(--pink); box-shadow: 0 0 0 0 rgba(255,79,171,.5); animation: live-p 2.4s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes live-p { 0% { box-shadow: 0 0 0 0 rgba(255,79,171,.5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255,79,171,0); } }
.fd .co-seg { background: rgba(255,255,255,0.018); box-shadow: inset 0 0 0 1px var(--g-line); }
.fd-kpis { gap: 0; border-bottom: 1px solid var(--g-line); }
.fd-kpi { background: none; box-shadow: none; border-radius: 0; padding: 20px; }
.fd-kpi + .fd-kpi { border-left: 1px solid var(--g-line); }
.fd-kpi small { color: var(--g-text-2); font-size: 13px; }
.fd-kpi b { font-size: 44px; letter-spacing: -0.02em; margin-top: 6px; }
.fd-kpi:first-child b { color: var(--olive); }
.fd-grid { gap: 0; }
.fd-card { background: none; box-shadow: none; border-radius: 0; padding: 20px; }
.fd-feed { border-right: 1px solid var(--g-line); }
.fd-funnel { border-right: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line); }
.fd-flows { border-bottom: 1px solid var(--g-line); }
.fd-card h5 { color: var(--g-text-3); font-size: 11px; letter-spacing: .12em; }
.fd-card h5 span { color: var(--g-text-2); }
.fd-feed ul { gap: 0; }
.fd-item { background: none; box-shadow: none; border-radius: 0; padding: 14px 0; border-bottom: 1px solid var(--g-line); animation: fd-in .7s cubic-bezier(.16,1,.3,1) both; }
.fd-item:last-child { border-bottom: 0; }
@keyframes fd-in { from { opacity: 0; transform: translateY(-8px); } }
.fd-av { width: 34px; height: 34px; font-size: 16px; background: rgba(255,255,255,0.021); box-shadow: inset 0 0 0 1px var(--g-line-2); }
.fd-txt b { font-size: 14px; } .fd-txt small { color: var(--g-text-2); }
.fd-st { padding: 0; background: none !important; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.fd-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fd-st.new { color: var(--pink); }
.fd-st.ans { color: var(--olive); }
.fd-st.ok { color: var(--g-text-2); }
.fd-funnel ul { gap: 14px; }
.fd-funnel li { font-size: 13px; color: var(--g-text-2); }
.fd-funnel i { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.115); box-shadow: none; }
.fd-funnel li:last-child i { background: var(--pink); }
.fd-funnel li:last-child b { color: var(--pink); }
.fd-flows ul { gap: 12px; }
.fd-flows li { font-size: 13px; color: rgba(243,245,248,0.85); }
.fd-sw { width: 34px; height: 20px; background: rgba(255,255,255,0.027); box-shadow: inset 0 0 0 1px var(--g-line-2); }
.fd-sw i { top: 3px; left: 3px; width: 14px; height: 14px; background: rgba(255,255,255,0.108); box-shadow: none; }
.fd-sw[aria-checked="true"] { background: var(--salt-50); box-shadow: none; }
.fd-sw[aria-checked="true"] i { transform: translateX(14px); background: var(--olive); }
.fd-chart svg { height: 150px; }
.fd-dot { fill: var(--pink); filter: drop-shadow(0 0 8px rgba(255,79,171,.8)); }
.fd-chart-ax { color: var(--g-text-3); }
.fd-note { padding: 0 20px 16px; color: var(--g-text-3); }

/* Kopplingskartan: lugnare, ett accentläge */
.hub { gap: 16px; }
.hub-map, .hub-panel { border-radius: 24px; }
.hub-map::before { background-image: radial-gradient(rgba(255,255,255,0.021) 1px, transparent 1px); }
.hub-edge { stroke: rgba(243,245,248,0.16); stroke-width: 1.2; }
.hub-edge.on { stroke: rgba(243,245,248,0.75); stroke-width: 1.6; filter: none; }
.hub-pkt { fill: var(--pink); filter: drop-shadow(0 0 6px rgba(255,79,171,.9)); }
.hub-core { background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.032), rgba(255,255,255,0.016) 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.031), inset 0 0 0 1px var(--g-line-2), 0 30px 60px -30px rgba(0,0,0,0.85); }
.hub-core.on { box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 0 8px rgba(255,255,255,0.06), 0 30px 60px -30px rgba(0,0,0,0.85); }
.hub-node { background: rgba(0,0,0,0.55); box-shadow: inset 0 0 0 1px var(--g-line-2), 0 10px 24px -14px rgba(0,0,0,0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .5s cubic-bezier(.16,1,.3,1), color .5s, box-shadow .5s; }
.hub-node small { color: var(--g-text-3); }
.hub-node.on { background: var(--salt-50); color: var(--olive); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.85); }
.hub-node.on small { color: var(--olive-muted); }
.hub-node.src { background: var(--salt-50); color: var(--olive); box-shadow: 0 0 0 2px var(--pink), 0 10px 30px -10px rgba(0,0,0,0.85); }
.hub-node.src small { color: var(--olive-muted); }
.hub-panel { padding: 22px; gap: 18px; }
.hub-panel .k { color: var(--g-text-3); font-size: 11px; letter-spacing: .12em; }
.hub-flows button { background: none; box-shadow: inset 0 0 0 1px var(--g-line-2); color: var(--g-text-2); }
.hub-flows button[aria-selected="true"] { background: var(--salt-50); color: var(--olive); box-shadow: none; }
.hub-when { background: none; box-shadow: none; padding: 16px 0; border-top: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line); border-radius: 0; }
.hub-when b { font-size: 26px; letter-spacing: -0.01em; }
.hub-then ol { gap: 0; }
.hub-then li { background: none; border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--g-line); color: var(--g-text-3); }
.hub-then li.done { background: none; color: var(--olive); }
.hub-chip { background: none; box-shadow: inset 0 0 0 1px var(--g-line-2); color: var(--g-text-2); }
.hub-then li.done .hub-chip { background: var(--salt-50); color: var(--olive); box-shadow: none; }
.hub-legend { border-top: 0; padding-top: 4px; color: var(--g-text-2); }
.hub-legend i { border-top-color: rgba(255,255,255,0.1); }
.hub-note { color: var(--g-text-3); }
.hub-core { background: radial-gradient(circle at 50% 30%, rgb(17 21 28), rgb(17 21 28) 72%); z-index: 1; }
.hub-nodes { z-index: 2; }
.hub-node { background: rgb(17 21 28); }
/* Glas 2.0: inget dekorativt grönt. Undantag: statuspanelens grönt/gult, där färgen betyder något. */
.kpi em, .paper-kpi em, .mr em, .mini-report em { color: var(--olive); }
.kpi em.neg { color: var(--olive-muted); }
.sched > li:first-child .sched-dot { background: var(--pink); box-shadow: 0 0 0 5px rgba(255,79,171,.2); animation: live-p 2.4s cubic-bezier(.16,1,.3,1) infinite; }
.osa-live { background: var(--pink); animation: live-p 2.4s cubic-bezier(.16,1,.3,1) infinite; }

/* Glas 2.0: miniatyrerna blir små mörka glaspaneler med studioljus. Innehållet kommer in en gång och står kvar. */
.mini { background: radial-gradient(90% 70% at 50% 0%, rgba(0,0,0,0.55), transparent 70%), linear-gradient(180deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.017), inset 0 0 0 1px rgba(255,255,255,0.06); color: var(--olive); font-size: 13px; }
.mini * { animation-iteration-count: 1 !important; }
.mini-site span { background: rgba(255,255,255,0.03); }
.mini-shot { background: rgb(17 21 28); }
.mini-chat .mc-q { background: var(--salt-50); color: var(--olive); }
.mini-chat .mc-a { background: rgba(255,255,255,0.024); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); color: rgba(243,245,248,0.85); animation: mini-in .9s cubic-bezier(.16,1,.3,1) .3s both; }
.mini-chat b { background: none; color: var(--pink); font-weight: 500; padding: 0; }
.mini-notes .mn { background: rgba(255,255,255,0.021); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); color: rgba(243,245,248,0.8); animation: mini-in .9s cubic-bezier(.16,1,.3,1) both; }
.mini-notes .ok { background: var(--salt-50); color: var(--olive); box-shadow: none; }
.msn { background: rgba(255,255,255,0.024); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); color: var(--olive); padding: 8px 12px; }
.mini-sync i { width: 26px; background: linear-gradient(90deg, var(--pink) 50%, transparent 50%) 0 0 / 8px 2px; animation: flow 1s linear infinite !important; }
.mini-status span { color: rgba(243,245,248,0.82); }
.mr { background: rgba(255,255,255,0.021); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.mr small { color: rgba(243,245,248,0.6); }
.mr b { color: var(--olive); }
.mr em, .mini-report em { color: rgba(243,245,248,0.7) !important; }
@keyframes mini-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .mini * { animation: none !important; } }
/* Glas 2.0 på övriga olivgröna sektioner och Eget OS: ett studioljus, korn, inga rosa fläckar */
.calc-sec::before { background: radial-gradient(70% 55% at 50% 0%, rgba(0,0,0,0.55), rgba(255,255,255,0.02) 70%), linear-gradient(180deg, rgb(17 21 28) 0%, rgb(17 21 28) 55%, rgb(17 21 28) 100%); }
.calc-sec::after { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; background: var(--g-noise); opacity: .07; mix-blend-mode: overlay; }
.os-hero::before { background: radial-gradient(70% 50% at 50% 0%, rgba(0,0,0,0.5), transparent 70%), radial-gradient(50% 40% at 50% 70%, rgba(255,255,255,0.018), transparent 70%), linear-gradient(180deg, rgb(17 21 28), rgb(17 21 28)); }
.os-hero-glow { background: radial-gradient(closest-side, rgba(255,255,255,0.027), transparent); }
.os-final-card { background: radial-gradient(70% 70% at 50% 0%, rgba(0,0,0,0.5), transparent 70%), linear-gradient(180deg, rgb(17 21 28), rgb(17 21 28)); }
.calc-box { background: linear-gradient(180deg, rgba(255,255,255,0.021), rgba(255,255,255,0.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), inset 0 0 0 1px var(--g-line); }

/* ===== Animeringar (13 nov) ===== */
.demo-motion { display: grid; gap: 18px; }
.mo-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.mo-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: rgb(17 21 28); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.144), 0 30px 60px -36px rgba(0,0,0,0.85); }
.mo-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.mo-cap { margin: 0; max-width: 56ch; color: var(--olive-muted); font-size: 15px; }
.mo-actions { display: flex; gap: 10px; align-items: center; }
.mo-switch { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,0.062); box-shadow: inset 0 0 0 1px var(--line); }
.mo-switch button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: none; font: 500 14px var(--sans); color: var(--olive-muted); cursor: pointer; transition: background .4s cubic-bezier(.16,1,.3,1), color .3s; }
.mo-switch button[aria-pressed="true"] { background: var(--olive); color: var(--salt-50); }
.mo-replay { min-height: 42px; padding: 0 16px; border: 0; border-radius: 99px; background: none; font: 500 14px var(--sans); color: var(--olive); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.mo-replay:hover { background: rgba(255,255,255,0.094); }

/* Sajt */
.mo-site { position: absolute; inset: 0; display: flex; flex-direction: column; background: rgb(12 15 21); }
.ms-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; background: rgb(7 9 13); flex: none; }
.ms-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.ms-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: rgba(255,255,255,0.115); font-size: 11px; color: rgb(154 163 175); }
.ms-page { flex: 1; overflow: hidden; position: relative; }
.ms-scroll { position: absolute; inset: 0 0 auto; }
.ms-nav { display: flex; align-items: center; gap: 18px; padding: 12px 22px; font-size: 12px; color: rgb(243 245 248); position: absolute; z-index: 2; inset: 0 0 auto; }
.ms-nav b { font-family: var(--serif); font-weight: 400; font-size: 20px; margin-right: auto; }
.ms-nav em { font-style: normal; padding: 6px 12px; border-radius: 99px; background: var(--ac); color: var(--bg); font-weight: 600; }
.ms-hero { position: relative; height: clamp(220px, 34vw, 420px); overflow: hidden; background: var(--bg); }
.ms-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.ms-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 70%); opacity: .85; }
.ms-copy { position: absolute; z-index: 1; left: 26px; bottom: 26px; max-width: 58%; color: rgb(243 245 248); display: grid; gap: 10px; justify-items: start; }
.ms-copy small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.ms-copy h4 { margin: 0; font: 400 clamp(26px, 3.6vw, 46px)/1.02 var(--serif); letter-spacing: -.015em; }
.ms-copy h4 span { display: inline-block; }
.ms-copy em { font-style: normal; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 99px; background: var(--ac); color: var(--bg); position: relative; overflow: hidden; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 22px; }
.ms-cards div { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.07); box-shadow: 0 6px 20px -12px rgba(0,0,0,0.58); }
.ms-cards i { height: 60px; border-radius: 8px; background: color-mix(in srgb, var(--bg) 14%, rgba(255,255,255,0.07)); }
.ms-cards b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--bg); }
.ms-cards span { height: 6px; width: 90%; border-radius: 3px; background: rgba(255,255,255,0.08); } .ms-cards span.s { width: 60%; }
.ms-band { margin: 4px 22px 30px; padding: 26px; border-radius: 14px; background: var(--bg); display: grid; gap: 8px; }
.ms-band span { height: 8px; width: 60%; border-radius: 4px; background: rgba(255,255,255,0.066); } .ms-band span.s { width: 36%; }
/* Med rörelse */
.t-sajt.is-on .ms-copy h4 span { opacity: 0; transform: translateY(18px); filter: blur(8px); }
.t-sajt.is-on .ms-hero img { transform: scale(1.12); }
.t-sajt.is-on .ms-copy small, .t-sajt.is-on .ms-copy em, .t-sajt.is-on .ms-nav { opacity: 0; transform: translateY(10px); }
.t-sajt.is-on .ms-cards div { opacity: 0; transform: translateY(24px); }
.t-sajt.is-on.play .ms-copy h4 span { opacity: 1; transform: none; filter: none; transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(.35s + var(--i) * .08s); }
.t-sajt.is-on.play .ms-hero img { transform: scale(1); transition: transform 6s cubic-bezier(.16,1,.3,1); }
.t-sajt.is-on.play .ms-nav { opacity: 1; transform: none; transition: all .8s cubic-bezier(.16,1,.3,1) .1s; }
.t-sajt.is-on.play .ms-copy small { opacity: .7; transform: none; transition: all .8s cubic-bezier(.16,1,.3,1) .2s; }
.t-sajt.is-on.play .ms-copy em { opacity: 1; transform: none; transition: all .8s cubic-bezier(.16,1,.3,1) 1.1s; }
.t-sajt.is-on.play .ms-copy em::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.094) 50%, transparent 70%); transform: translateX(-120%); animation: ms-shine 1.4s cubic-bezier(.16,1,.3,1) 1.8s; }
.t-sajt.is-on.play .ms-scroll { animation: ms-scroll 5.5s cubic-bezier(.65,0,.35,1) 2.2s both; }
.t-sajt.is-on.play .ms-cards div { opacity: 1; transform: none; transition: all .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(3.4s + var(--i) * .12s); }
@keyframes ms-shine { to { transform: translateX(120%); } }
@keyframes ms-scroll { 0% { transform: none; } 45%, 70% { transform: translateY(-34%); } 100% { transform: none; } }

/* Filmklipp */
.mo-clip { position: absolute; inset: 0; background: rgb(17 21 28); }
.mo-clip img, .mo-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mo-clip .mc-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.035) 45%, transparent 60%); }
.mc-tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 500; color: rgb(243 245 248); background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.t-klipp.is-on.play .mo-clip img { animation: kb 12s cubic-bezier(.45,0,.55,1) infinite alternate; }
.t-klipp.is-on.play .mc-light { animation: mc-light 7s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-3%, -2%); } }
@keyframes mc-light { 0% { opacity: 0; transform: translateX(-30%); } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(30%); } }

/* Logga */
.mo-logo { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--bg) 70%, rgba(255,255,255,0.07) 6%), var(--bg)); }
.lg { width: min(70%, 560px); height: auto; overflow: visible; }
.lg-line, .lg-leaf, .lg-steam { fill: none; stroke: var(--ac); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lg-t { fill: rgb(243 245 248); font-family: var(--serif); font-size: 46px; }
.lg-by .lg-t { font-family: var(--sans); font-weight: 700; font-size: 34px; letter-spacing: .04em; }
.lg-bu .lg-t { font-family: var(--serif); font-size: 58px; }
.lg-s { fill: var(--ac); font-family: var(--sans); font-size: 11px; letter-spacing: .3em; }
.t-logga.is-on .lg-line, .t-logga.is-on .lg-leaf, .t-logga.is-on .lg-steam { stroke-dasharray: 600; stroke-dashoffset: 600; }
.t-logga.is-on .lg-t, .t-logga.is-on .lg-s { opacity: 0; }
.t-logga.is-on .lg-t tspan { opacity: 0; }
.t-logga.is-on.play .lg-line { animation: lg-draw 1.8s cubic-bezier(.65,0,.35,1) .2s forwards; }
.t-logga.is-on.play .lg-leaf { animation: lg-draw 1s cubic-bezier(.65,0,.35,1) 1.6s forwards; }
.t-logga.is-on.play .lg-t { animation: lg-in 1.2s cubic-bezier(.16,1,.3,1) 1.1s forwards; }
.t-logga.is-on.play .lg-s { animation: lg-in 1s cubic-bezier(.16,1,.3,1) 1.9s forwards; }
.t-logga.is-on.play .lg-bu .lg-t { opacity: 1; animation: none; }
.t-logga.is-on.play .lg-bu .lg-t tspan { animation: lg-pop .7s cubic-bezier(.34,1.56,.64,1) forwards; }
.t-logga.is-on.play .lg-bu .lg-t tspan:nth-child(1) { animation-delay: 1s; } .t-logga.is-on.play .lg-bu .lg-t tspan:nth-child(2) { animation-delay: 1.1s; } .t-logga.is-on.play .lg-bu .lg-t tspan:nth-child(3) { animation-delay: 1.2s; } .t-logga.is-on.play .lg-bu .lg-t tspan:nth-child(4) { animation-delay: 1.3s; }
.t-logga.is-on.play .lg-steam { animation: lg-draw 1.2s ease-out 1.4s forwards, lg-steam 3s ease-in-out 2.6s infinite; }
.t-logga.is-on.play .lg-steam.s2 { animation-delay: 1.6s, 2.9s; }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lg-pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes lg-steam { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-5px); opacity: .5; } }
.lg-t, .lg-s { transform-box: fill-box; }

/* Sociala medier: en telefon med tre klipp */
.mo-social { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(60% 80% at 50% 30%, rgba(255,255,255,0.021), transparent 70%), rgb(17 21 28); }
.mo-phone { height: 90%; aspect-ratio: 9 / 18.5; border-radius: 28px; padding: 8px; background: rgb(17 21 28); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.06), 0 30px 60px -20px rgba(0,0,0,0.85); }
.mo-phone-in { position: relative; height: 100%; border-radius: 21px; overflow: hidden; background: var(--bg); }
.sc-prog { position: absolute; z-index: 3; left: 10px; right: 10px; top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sc-prog i { height: 2.5px; border-radius: 2px; background: rgba(255,255,255,0.052); position: relative; overflow: hidden; }
.sc-prog i::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.07); transform-origin: left; transform: scaleX(0); }
.sc { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 12px; padding: 22px 16px; color: rgb(243 245 248); }
.sc small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); }
.sc h5 { margin: 0; font: 400 34px/1 var(--serif); display: grid; }
.sc h5 span + span { color: var(--ac); }
.sc em { font-style: normal; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: var(--ac); color: var(--bg); }
.sc2 { padding: 0; }
.sc2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-fore { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 50% 0 0); }
.sc-div { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,0.07); box-shadow: 0 0 10px rgba(0,0,0,0.74); }
.sc2 small { position: absolute; bottom: 14px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,0.1); color: rgb(243 245 248); } .sc2 small.l { left: 12px; } .sc2 small.r { right: 12px; }
.sc3 ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: t; }
.sc3 li { counter-increment: t; display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; font-size: 14px; line-height: 1.3; }
.sc3 li::before { content: counter(t); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ac); color: var(--bg); font-weight: 700; font-size: 12px; }
/* Stilla: bara första klippet */
.t-social.is-off .sc2, .t-social.is-off .sc3 { display: none; }
.t-social.is-off .sc-prog i:first-child::after { transform: none; }
/* Med rörelse: tre klipp à 4 s i en loop */
.t-social.is-on .sc { opacity: 0; }
.t-social.is-on.play .sc1 { animation: sc-show 12s infinite; } .t-social.is-on.play .sc2 { animation: sc-show 12s 4s infinite; } .t-social.is-on.play .sc3 { animation: sc-show 12s 8s infinite; }
.t-social.is-on.play .sc-prog i:nth-child(1)::after { animation: sc-prog 12s linear infinite; } .t-social.is-on.play .sc-prog i:nth-child(2)::after { animation: sc-prog 12s linear 4s infinite; } .t-social.is-on.play .sc-prog i:nth-child(3)::after { animation: sc-prog 12s linear 8s infinite; }
.t-social.is-on.play .sc1 h5 span { animation: sc-word 12s cubic-bezier(.16,1,.3,1) infinite; } .t-social.is-on.play .sc1 h5 span + span { animation-delay: .15s; }
.t-social.is-on.play .sc-fore { animation: sc-wipe 12s cubic-bezier(.65,0,.35,1) 4s infinite; } .t-social.is-on.play .sc-div { animation: sc-div 12s cubic-bezier(.65,0,.35,1) 4s infinite; }
.t-social.is-on.play .sc3 li { animation: sc-li 12s cubic-bezier(.16,1,.3,1) 8s infinite; } .t-social.is-on.play .sc3 li:nth-child(2) { animation-delay: 8.3s; } .t-social.is-on.play .sc3 li:nth-child(3) { animation-delay: 8.6s; }
@keyframes sc-show { 0% { opacity: 0; } 3%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes sc-prog { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes sc-word { 0% { opacity: 0; transform: translateY(20px); } 6%, 100% { opacity: 1; transform: none; } }
@keyframes sc-wipe { 0%, 4% { clip-path: inset(0 0 0 0); } 18%, 24% { clip-path: inset(0 85% 0 0); } 30%, 100% { clip-path: inset(0 50% 0 0); } }
@keyframes sc-div { 0%, 4% { left: 100%; } 18%, 24% { left: 15%; } 30%, 100% { left: 50%; } }
@keyframes sc-li { 0% { opacity: 0; transform: translateX(-10px); } 5%, 100% { opacity: 1; transform: none; } }

/* Månaden */
.mo-month { display: grid; gap: 22px; }
.mo-weeks { display: inline-flex; justify-self: start; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,0.02); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.mo-weeks button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 99px; background: none; font: 500 14px var(--sans); color: rgba(243,245,248,0.7); cursor: pointer; }
.mo-weeks button[aria-selected="true"] { background: var(--salt-50); color: var(--olive); }
.mo-month-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; }
.mo-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mo-posts button { width: 100%; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; text-align: left; padding: 16px; border: 0; border-radius: 16px; cursor: pointer; color: var(--olive); background: rgba(255,255,255,0.017); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); transition: background .4s cubic-bezier(.16,1,.3,1); font: inherit; }
.mo-posts button[aria-pressed="true"] { background: rgba(255,255,255,0.027); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 3px 0 0 var(--pink); }
.mo-posts .d { font-family: var(--serif); font-size: 26px; }
.mo-posts b { display: block; font-weight: 500; font-size: 16px; } .mo-posts small { color: rgba(243,245,248,0.6); font-size: 13px; }
.mo-phone-sm { height: 380px; }
.mo-phone-sm .sc { opacity: 1; }
.mo-phone-sm .play .sc1 h5 span { animation: sc-word .9s cubic-bezier(.16,1,.3,1) both; }
.mo-phone-sm .play .sc-fore { animation: sc-wipe-1 3s cubic-bezier(.65,0,.35,1) both; } .mo-phone-sm .play .sc-div { animation: sc-div-1 3s cubic-bezier(.65,0,.35,1) both; }
.mo-phone-sm .play .sc3 li { animation: sc-word .8s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * .2s); }
@keyframes sc-wipe-1 { 0% { clip-path: inset(0 0 0 0); } 50% { clip-path: inset(0 85% 0 0); } 100% { clip-path: inset(0 50% 0 0); } }
@keyframes sc-div-1 { 0% { left: 100%; } 50% { left: 15%; } 100% { left: 50%; } }
.mo-month-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }
.mo-month-sum div { display: grid; gap: 2px; } .mo-month-sum b { font: 400 40px/1 var(--serif); color: var(--olive); } .mo-month-sum span { color: rgba(243,245,248,0.6); font-size: 14px; }

/* Miniatyr i översikten */
.mini-motion { display: grid; place-items: center; align-content: center; gap: 10px; }
.mm-word { font-family: var(--serif); font-size: 30px; line-height: 1; background: linear-gradient(100deg, rgba(255,255,255,0.059) 20%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.059) 80%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mm-sweep 2.8s cubic-bezier(.65,0,.35,1) infinite !important; animation-iteration-count: infinite !important; }
.mm-bar { width: 60%; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.03); overflow: hidden; } .mm-bar i { display: block; height: 100%; background: var(--pink); transform-origin: left; animation: mm-prog 2.8s linear infinite !important; animation-iteration-count: infinite !important; }
@keyframes mm-sweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes mm-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .mo-screen { aspect-ratio: 4 / 5; }
  .ms-copy { max-width: 86%; left: 18px; bottom: 18px; } .ms-hero { height: 300px; } .ms-nav span { display: none; }
  .ms-cards { grid-template-columns: 1fr 1fr; } .ms-cards div:nth-child(3) { display: none; }
  .lg { width: 90%; }
  .mo-month-grid { grid-template-columns: 1fr; } .mo-phone-sm { height: 340px; justify-self: center; }
  .mo-actions { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .mo-screen * { animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .mo-controls .seg { display: grid; width: 100%; border-radius: 20px; }
  .mo-controls .seg:first-child { grid-template-columns: 1fr 1fr; }
  .mo-controls .seg-sm { grid-template-columns: repeat(3, 1fr); }
  .mo-controls .seg button { padding: 0 8px; }
}

/* ===== Kopplingar 2.0 (13 nov): hero med navet, demo med riktiga systemfönster, loggor ===== */
.kp-page { background: var(--salt); }
.kp-hero { position: relative; isolation: isolate; overflow: clip; color: var(--olive); padding: clamp(130px, 16vh, 180px) var(--gutter) clamp(60px, 8vw, 110px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.kp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 60% at 72% 50%, rgba(255,79,171,.12), transparent 70%), radial-gradient(70% 60% at 50% 0%, rgba(0,0,0,0.5), transparent 70%), linear-gradient(180deg, rgb(17 21 28), rgb(17 21 28)); }
.kp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; z-index: -1; background: linear-gradient(180deg, transparent, var(--salt)); }
.kp-hero-copy { max-width: 560px; justify-self: end; }
.kp-hero .kicker, .kp-hero .kicker a { color: rgba(243,245,248,0.6); }
.kp-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; margin: 14px 0 18px; }
.kp-hero h1 span { color: rgba(243,245,248,0.55); }
.kp-hero .lede { color: rgba(243,245,248,0.72); max-width: 46ch; }
.kp-hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.kp-hero .btn-ghost { color: var(--olive); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); background: rgba(255,255,255,0.018); }
.kp-net { position: relative; aspect-ratio: 800 / 460; width: 100%; max-width: 760px; }
.kp-net > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kp-edge { stroke: rgba(243,245,248,0.18); stroke-width: 1.2; fill: none; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.kp-pk { fill: var(--pink); filter: drop-shadow(0 0 4px rgba(255,79,171,.9)); }
.kp-core { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 2px;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.032), rgba(255,255,255,0.016)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 0 10px rgba(255,255,255,0.06), 0 0 60px rgba(255,79,171,.18); }
.kp-core b { font: 400 30px/1 var(--serif); } .kp-core small { font-size: 11px; color: rgba(243,245,248,0.6); }
.kp-node { position: absolute; transform: translate(-50%, -50%); display: grid; grid-template-columns: 30px auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; white-space: nowrap;
  background: linear-gradient(160deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), inset 0 0 0 1px rgba(255,255,255,0.06), 0 14px 30px -14px rgba(0,0,0,0.85);
  animation: kp-float 6s cubic-bezier(.45,0,.55,1) infinite alternate; animation-delay: calc(var(--i) * -.8s); }
.kp-node .lg-ic { grid-row: span 2; }
.kp-node b { font-weight: 500; font-size: 13px; } .kp-node small { font-size: 11px; color: rgba(243,245,248,0.55); }
@keyframes kp-float { from { translate: 0 -3px; } to { translate: 0 3px; } }

/* Loggor: monokroma ikoner ur Simple Icons, eller en ordbild när systemet saknas där */
.lg-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,0.024); color: var(--olive); flex: none; }
.lg-ic svg { width: 16px; height: 16px; fill: currentColor; }
.lg-ic.txt { font: 600 10px/1 var(--sans); letter-spacing: .02em; }

/* Demot */
.demo-sysflow { display: grid; gap: 16px; }
.sf-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.sf-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mo-switch { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,0.062); box-shadow: inset 0 0 0 1px var(--line); }
.mo-switch button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: none; font: 500 14px var(--sans); color: var(--olive-muted); cursor: pointer; transition: background .4s cubic-bezier(.16,1,.3,1), color .3s; }
.mo-switch button[aria-pressed="true"] { background: var(--olive); color: var(--salt-50); }
.sf-canvas { position: relative; display: grid; grid-template-columns: minmax(220px, .8fr) 2fr; gap: clamp(40px, 7vw, 110px); padding: clamp(18px, 2.4vw, 28px); border-radius: 20px; color: var(--olive);
  background: radial-gradient(70% 60% at 20% 0%, rgba(255,255,255,0.1), transparent 70%), linear-gradient(170deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.014), 0 30px 60px -36px rgba(0,0,0,0.85); }
.sf-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sf-lines path { fill: none; stroke: rgba(243,245,248,0.14); stroke-width: 1.4; stroke-dasharray: 3 5; transition: stroke .4s; }
.sf-lines path.on { stroke: rgba(255,79,171,.75); stroke-dasharray: none; }
.is-fore .sf-lines path { stroke: rgba(243,245,248,0.06); }
.sf-pk { position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px rgba(255,79,171,.9); offset-rotate: 0deg; z-index: 2; }
.sf-trig, .sf-win { position: relative; z-index: 1; border-radius: 14px; background: linear-gradient(170deg, rgba(255,255,255,0.023), rgba(255,255,255,0.016)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.011), inset 0 0 0 1px rgba(255,255,255,0.06); }
.sf-trig { align-self: center; padding: 16px; }
.sf-trig.pulse { animation: sf-pulse 1.2s cubic-bezier(.16,1,.3,1); }
@keyframes sf-pulse { 0% { box-shadow: inset 0 0 0 1px rgba(255,79,171,.9), 0 0 0 0 rgba(255,79,171,.4); } 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 0 18px rgba(255,79,171,0); } }
.sf-trig header, .sf-win header { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.sf-trig header b, .sf-win header b { font-weight: 500; }
.sf-live { margin-left: auto; padding: 2px 8px; border-radius: 99px; font-size: 11px; background: var(--pink); color: var(--olive-900); font-weight: 600; }
.sf-trig h4 { margin: 14px 0 10px; font: 400 26px/1.05 var(--serif); }
.sf-trig dl { margin: 0; display: grid; gap: 7px; }
.sf-trig dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,0.06); }
.sf-trig dt { color: rgba(243,245,248,0.55); } .sf-trig dd { margin: 0; text-align: right; }
.sf-wins { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.sf-win { padding: 12px; min-width: 0; transition: box-shadow .5s cubic-bezier(.16,1,.3,1); }
.sf-win:nth-child(5) { grid-column: span 2; }
.sf-win .lg-ic { width: 24px; height: 24px; border-radius: 7px; } .sf-win .lg-ic svg { width: 13px; height: 13px; }
.sf-st { margin-left: auto; font-style: normal; font-size: 11px; color: rgba(243,245,248,0.55); white-space: nowrap; }
.sf-win ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.sf-win li { font-size: 12px; padding: 6px 8px; border-radius: 7px; color: rgba(243,245,248,0.62); background: rgba(255,255,255,0.016); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-win li:nth-child(n+3) { display: none; }
.sf-win li.new { color: var(--olive); background: rgba(255,255,255,0.027); animation: sf-new .6s cubic-bezier(.16,1,.3,1); }
.sf-win li.hand { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }
.sf-win li.hand::after { content: ""; display: inline-block; width: 1px; height: 12px; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: sf-caret .8s steps(1) infinite; }
@keyframes sf-new { from { opacity: 0; transform: translateY(-6px); } }
@keyframes sf-caret { 50% { opacity: 0; } }
.sf-win.ok { box-shadow: inset 0 1px 0 rgba(255,255,255,0.014), inset 0 0 0 1px rgba(255,255,255,0.06); } .sf-win.ok .sf-st { color: var(--olive); }
.sf-win.busy { box-shadow: inset 0 0 0 1px rgba(230,195,106,.6); }
.sf-win.done .sf-st { color: rgba(243,245,248,0.8); }
.sf-win.miss { box-shadow: inset 0 0 0 1px rgba(230,195,106,.55); } .sf-win.miss .sf-st { color: #E6C36A; }
.sf-stats { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 10px clamp(18px, 3vw, 40px); align-items: end; }
.sf-stats .k { display: block; font-size: 12px; color: var(--olive-muted); }
.sf-stats b { font: 400 34px/1 var(--serif); font-variant-numeric: tabular-nums; }
.sf-say { margin: 0; justify-self: end; max-width: 44ch; text-align: right; color: var(--olive-muted); font-size: 15px; }

/* Systemväggen: kategorier med loggor */
.sysg { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sysg section { padding: 18px; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,0.097), rgba(255,255,255,0.063)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 20px 40px -32px rgba(0,0,0,0.85); }
.sysg h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--olive-muted); letter-spacing: .02em; }
.sysg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sysg li { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px 0 5px; border-radius: 10px; background: rgba(255,255,255,0.108); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; color: var(--olive); }
.sysg li .lg-ic { width: 24px; height: 24px; border-radius: 7px; background: var(--olive); color: var(--salt-50); }
.sysg li .lg-ic svg { width: 13px; height: 13px; }
.sysg li .lg-ic.txt { font-size: 8.5px; background: rgba(255,255,255,0.092); color: var(--olive); }
.sys-legal { margin-top: 16px; font-size: 13px; color: var(--olive-muted); max-width: 70ch; }

@media (max-width: 960px) {
  .kp-hero { grid-template-columns: 1fr; text-align: left; } .kp-hero-copy { justify-self: start; }
  .kp-net { justify-self: center; }
}
@media (max-width: 760px) {
  .kp-node small { display: none; } .kp-node { grid-template-columns: 24px auto; padding: 6px 9px 6px 6px; } .kp-node .lg-ic { width: 24px; height: 24px; grid-row: auto; }
  .kp-core { width: 92px; height: 92px; } .kp-core b { font-size: 22px; }
  .sf-canvas { grid-template-columns: 1fr; gap: 14px; }
  .sf-stats { grid-template-columns: repeat(3, 1fr); } .sf-say { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .sf-stats b { font-size: 28px; }
}
@media (max-width: 520px) { .sf-wins { grid-template-columns: 1fr; } .sf-win:nth-child(5) { grid-column: auto; } .kp-net { aspect-ratio: 1 / 1; } }
@media (prefers-reduced-motion: reduce) { .kp-node { animation: none; } .kp-pk { display: none; } }
.kp-hero .ctas { justify-content: flex-start; }
.sysg li .lg-ic svg, .sf-win .lg-ic svg { width: 16px; height: 16px; }

/* ==========================================================================
   Delsidor 2.0 (13 nov): egen hero per del, starkare demon, meny som startsidan.
   Frostade ytor (.fr) utan backdrop-filter. Rosa bara för det aktiva.
   ========================================================================== */
.fr { position: relative; isolation: isolate; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,0.114) 0%, rgba(255,255,255,0.072) 60%, rgba(255,255,255,0.088) 100%); box-shadow: var(--gloss-edge), var(--gloss-lift); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mobilmenyn, samma som startsidan */
.burger { display: none; width: 44px; height: 44px; margin-left: 2px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger i { display: block; width: 22px; height: 1.5px; background: var(--olive); transition: transform .35s var(--ease-out); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
.menu-open .sheet { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(255,255,255,0.1); opacity: 0; transition: opacity .5s var(--ease); }
.sheet-panel { position: absolute; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 18px 24px 24px; border-radius: 28px; display: grid; background: rgb(12 15 21); box-shadow: var(--gloss-edge), 0 30px 80px -20px rgba(0,0,0,0.85); transform: translateY(calc(100% + 24px)); transition: transform .6s var(--ease-out); }
.menu-open .sheet-scrim { opacity: 1; }
.menu-open .sheet-panel { transform: none; }
.sheet-panel a:not(.btn) { padding: 10px 0; font-family: var(--serif); font-size: 34px; line-height: 1.1; letter-spacing: -0.01em; border-bottom: 1px solid var(--line); }
.sheet-panel .btn { margin-top: 18px; }
.sheet-panel > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.menu-open .sheet-panel > * { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i) * 45ms); }
@media (max-width: 900px) { .burger { display: flex; } }
@media (min-width: 901px) { .sheet { display: none; } }
@media (max-width: 420px) { .nav { gap: 8px; padding-left: 18px; } .nav .btn-sm { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .sheet-panel, .sheet-panel > *, .burger i { transition-duration: .01s !important; transition-delay: 0s !important; } }

/* ---------- Hero per del ---------- */
.ph { position: relative; isolation: isolate; overflow: clip; margin-top: -74px; padding: clamp(150px, 18vh, 200px) var(--gutter) clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ph-copy { width: 100%; max-width: 560px; justify-self: end; }
.ph h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; margin: 14px 0 18px; }
.ph .lede { margin-top: 0; }
.ph .ctas { justify-content: flex-start; margin-top: 28px; }
.ph-art { min-width: 0; width: 100%; max-width: 660px; }
.ph-dark { color: var(--olive); }
.ph-dark::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, transparent 86%, var(--salt)), radial-gradient(70% 60% at 50% 0%, rgba(0,0,0,0.5), transparent 70%), radial-gradient(45% 55% at 75% 55%, rgba(255,255,255,0.018), transparent 70%), linear-gradient(180deg, rgb(17 21 28), rgb(17 21 28)); }
.ph-dark::after { content: ""; position: absolute; inset: 0 0 14% 0; z-index: -2; pointer-events: none; background: var(--g-noise); opacity: .07; mix-blend-mode: overlay; }
.ph-dark .kicker, .ph-dark .kicker a { color: rgba(243,245,248,0.6); }
.ph-dark h1 span { color: rgba(243,245,248,0.55); }
.ph-dark .lede { color: rgba(243,245,248,0.72); }
.ph .kicker a { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ph-light::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, transparent 78%, var(--salt)), radial-gradient(60% 70% at 72% 0%, rgba(255,255,255,0.07), transparent 70%), radial-gradient(40% 50% at 92% 80%, rgba(255,255,255,0.062), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(255,255,255,0.05), transparent 70%), var(--salt); }
.ph-light h1 { color: var(--olive); }
.ph-light .btn-ghost { color: var(--olive); background: rgba(255,255,255,0.087); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ph-center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.ph-center .ph-copy { justify-self: center; max-width: 820px; }
.ph-center .lede { margin-inline: auto; }
.ph-center .ctas { justify-content: center; }
.ph-center { padding-bottom: clamp(96px, 12vw, 160px); }
.ph-center .ph-art { max-width: 1080px; }
.ph-dark + .demo-sec { padding-top: clamp(40px, 6vw, 80px); }

/* Hemsidor: tre nivåer som fönster i ett solfjäderformat */
.ha { position: relative; aspect-ratio: 5 / 4; }
.ha-win { position: absolute; width: 68%; margin: 0; border-radius: 12px; overflow: hidden; background: rgb(12 15 21); box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 40px 80px -30px rgba(0,0,0,0.85), 0 12px 30px -16px rgba(0,0,0,0.85); }
.ha-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: rgb(7 9 13); }
.ha-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.1); flex: none; }
.ha-bar em { flex: 1; max-width: 55%; margin: 0 auto; padding: 2px 10px; border-radius: 99px; background: rgba(255,255,255,0.115); font: 400 10.5px/1.5 var(--sans); color: var(--olive-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-win img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ha-win figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 500; background: rgba(0,0,0,0.86); color: var(--olive); }
.ha-3 figcaption { background: var(--pink); color: var(--olive-900); }
.ha-1 figcaption { top: 38px; bottom: auto; }
.ha-1 { left: 6%; top: 2%; rotate: -4deg; }
.ha-2 { left: 20%; top: 20%; rotate: -1deg; }
.ha-3 { left: 34%; top: 39%; rotate: 2deg; }
.ha-phone { position: absolute; left: 0; top: 46%; width: 20%; z-index: 4; margin: 0; padding: 5px; border-radius: 22px; background: linear-gradient(150deg, rgb(17 21 28), rgb(17 21 28) 55%, rgb(17 21 28)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.042), 0 40px 70px -30px rgba(0,0,0,0.85); rotate: 4deg; }
.ha-phone img { width: 100%; height: auto; border-radius: 17px; aspect-ratio: 390 / 664; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: no-preference) {
  .ha > * { animation: ha-in 1.4s var(--ease-out) both, ha-float 7s cubic-bezier(.45,0,.55,1) 1.4s infinite alternate; }
  .ha-1 { animation-delay: .15s, 1.4s; } .ha-2 { animation-delay: .35s, 2.2s; } .ha-3 { animation-delay: .55s, 3s; } .ha-phone { animation-delay: .8s, 1.8s; }
}
@keyframes ha-in { from { opacity: 0; transform: translateY(48px) scale(.96); } }
@keyframes ha-float { to { translate: 0 -10px; } }

/* AEO: AI-svaret som byts */
.aa { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-q { padding: 8px 14px; border-radius: 99px; font-size: 13px; background: rgba(255,255,255,0.087); box-shadow: inset 0 0 0 1px var(--line); color: var(--olive-muted); transition: background .5s var(--ease-out), color .4s; }
.aa-q.on { background: var(--olive); color: var(--salt-50); box-shadow: none; }
.aa-card { flex-basis: 100%; margin-top: 8px; padding: clamp(20px, 2.6vw, 30px); border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.108)); box-shadow: var(--gloss-edge), 0 60px 100px -50px rgba(0,0,0,0.85); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.aa-card.out { opacity: 0; transform: translateY(10px); }
.aa-ask { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--olive-muted); }
.aa-ask::before { content: ""; width: 22px; height: 22px; border-radius: 7px; flex: none; background: radial-gradient(circle at 50% 50%, var(--salt-50) 0 3px, transparent 3.5px), var(--olive); }
.aa-ans { margin-top: 14px; font: 400 clamp(23px, 2.3vw, 31px)/1.22 var(--serif); letter-spacing: -.01em; color: var(--olive); }
.aa-ans mark, .ae-a mark { background: none; color: inherit; box-shadow: inset 0 -.36em 0 rgba(255,79,171,.32); padding: 0 1px; }
.aa-ans sup, .ae-a sup { font: 600 10.5px/1 var(--sans); color: var(--olive); margin-left: 3px; padding: 2px 5px; border-radius: 6px; background: rgba(255,255,255,0.074); vertical-align: 4px; }
.aa-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.aa-src li { display: flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border-radius: 99px; font-size: 12.5px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px var(--line); }
.aa-src b { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: var(--olive); color: var(--salt-50); }
.aa-meter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--olive-muted); }
.aa-meter b { color: var(--olive); }
.aa-dots { display: flex; gap: 4px; }
.aa-dots i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .6s var(--ease-out), box-shadow .6s; }
.aa-dots i.on { background: var(--olive); box-shadow: none; }

/* Uppföljning: telefonen som svarar själv */
.ua { display: grid; grid-template-columns: auto minmax(0, 260px); grid-template-rows: 1fr auto; column-gap: clamp(22px, 3vw, 44px); align-items: center; justify-content: center; }
.ua-phone { grid-row: span 2; width: 272px; padding: 9px; border-radius: 44px; background: linear-gradient(150deg, rgb(17 21 28), rgb(17 21 28) 50%, rgb(17 21 28)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.042), 0 0 0 1px rgba(255,255,255,0.06), 0 60px 100px -40px rgba(0,0,0,0.85); }
.ua-screen { height: 460px; border-radius: 35px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, rgb(12 15 21), rgb(7 9 13)); color: var(--olive); }
.ua-screen header { display: grid; justify-items: center; gap: 1px; padding: 16px 0 10px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--olive-muted); }
.ua-screen header b { font-size: 13.5px; font-weight: 500; color: var(--olive); }
.ua-msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.ua-msgs p { max-width: 86%; padding: 9px 12px; border-radius: 17px; font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.ua-msgs p.on { opacity: 1; transform: none; }
.ua-msgs .in { align-self: flex-start; background: rgba(255,255,255,0.07); border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(0,0,0,0.26); }
.ua-msgs .out { align-self: flex-end; background: var(--olive); color: var(--salt-50); border-bottom-right-radius: 5px; }
.ua-steps li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 14.5px; color: rgba(243,245,248,0.32); transition: color .6s var(--ease-out); }
.ua-steps li.on { color: var(--olive); }
.ua-steps time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: inherit; opacity: .7; padding-top: 2px; }
.ua-steps b { font-weight: 500; }
.ua-kpi { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.ua-kpi.on { opacity: 1; transform: none; }
.ua-kpi b { font: 400 48px/1 var(--serif); }
.ua-kpi span { font-size: 13px; color: rgba(243,245,248,0.6); }
.ua.fade [data-s] { opacity: 0 !important; transition-duration: .5s; }

/* Vaktmästaren: drift de senaste 90 dagarna */
.va { margin-top: clamp(16px, 3vw, 40px); padding: clamp(18px, 2.6vw, 30px); border-radius: 28px; text-align: left; background: linear-gradient(170deg, rgba(255,255,255,0.022), rgba(255,255,255,0.014)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.017), inset 0 0 0 1px rgba(255,255,255,0.06), 0 60px 110px -50px rgba(0,0,0,0.85); }
.va-top { display: flex; justify-content: space-between; align-items: end; gap: 14px; flex-wrap: wrap; }
.va-up b { font: 400 clamp(46px, 5.4vw, 72px)/1 var(--serif); letter-spacing: -.02em; }
.va-up span { display: block; margin-top: 6px; font-size: 13px; color: rgba(243,245,248,0.55); }
.va-ok { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 99px; background: rgba(255,255,255,0.021); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); font-size: 14px; }
.va-ok i, .va-checks i { width: 8px; height: 8px; border-radius: 50%; background: #7CC495; box-shadow: 0 0 0 3px rgba(124,196,149,.18); flex: none; }
.va-ok i { animation: ping 2.4s var(--ease) infinite; }
.va-bars { position: relative; display: flex; gap: clamp(1px, .25vw, 3px); height: clamp(48px, 6vw, 72px); margin: clamp(18px, 2.4vw, 28px) 0; }
.va-bars i { flex: 1; border-radius: 3px; background: rgba(124,196,149,.72); transform-origin: bottom; }
.va-bars i.dip { background: #E6C36A; }
.va-scan { position: absolute; inset: -8px 0; pointer-events: none; }
.va-scan::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--salt-50); box-shadow: 0 0 14px 2px rgba(255,255,255,0.07); }
.va-checks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.va-checks li { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; background: rgba(255,255,255,0.017); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
@media (prefers-reduced-motion: no-preference) {
  .va-bars i { animation: va-grow .9s var(--ease-out) both; animation-delay: calc(.3s + var(--i) * 9ms); }
  .va-scan { animation: va-scan 6s cubic-bezier(.45,0,.55,1) 1.4s infinite; }
  .va-checks li { animation: mini-in .9s var(--ease-out) both; animation-delay: calc(1s + var(--i) * .12s); }
}
@keyframes va-grow { from { transform: scaleY(.08); opacity: 0; } }
@keyframes va-scan { from { transform: translateX(0); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .va-scan { display: none; } }

/* Rapporten: mejlet som ett papper */
.ra { position: relative; isolation: isolate; max-width: 500px; margin-inline: auto; padding: clamp(20px, 2.6vw, 32px); border-radius: 24px; background: linear-gradient(170deg, rgb(12 15 21), rgb(12 15 21)); box-shadow: var(--gloss-edge), 0 70px 110px -50px rgba(0,0,0,0.85); rotate: 1deg; }
.ra::before { content: ""; position: absolute; inset: 16px -14px -16px 14px; z-index: -1; border-radius: 24px; background: rgba(255,255,255,0.087); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0,0,0,0.85); rotate: -4deg; }
.ra header { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--olive-muted); }
.ra header span:first-child { color: var(--olive); font-weight: 500; }
.ra-main { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; padding: 22px 0 18px; }
.ra-num small { display: block; font-size: 13px; color: var(--olive-muted); }
.ra-num b { display: block; font: 400 clamp(68px, 7.4vw, 104px)/.9 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.ra-num em { display: block; margin-top: 10px; font-style: normal; font-size: 14px; }
.ra-bars { display: flex; gap: 10px; height: 124px; }
.ra-bars span { width: 34px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.ra-bars i { width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,0.1); transform-origin: bottom; }
.ra-bars .now i { background: var(--pink); }
.ra-bars small { font-size: 11px; color: var(--olive-muted); }
.ra-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ra-rows span { color: var(--olive-muted); } .ra-rows b { font-weight: 500; }
.ra-next { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--olive); color: var(--salt-50); font-size: 14.5px; line-height: 1.45; }
.ra-next b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,245,248,0.6); }
.ra-fine { display: block; margin-top: 12px; font-size: 12px; color: var(--olive-muted); }
@media (prefers-reduced-motion: no-preference) {
  .ra { animation: ra-in 1.4s var(--ease-out) .2s both; }
  .ra-bars i { animation: va-grow 1.2s var(--ease-out) both; animation-delay: calc(.8s + var(--i) * .15s); }
  .ra-rows li, .ra-next { animation: mini-in .9s var(--ease-out) both; animation-delay: calc(1.2s + var(--i) * .12s); }
}
@keyframes ra-in { from { opacity: 0; transform: translateY(40px) rotate(-3deg); } }

/* ---------- Så fungerar det ---------- */
.how2 { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.how2 li { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,0.108), rgba(255,255,255,0.066)); box-shadow: var(--gloss-edge), var(--gloss-lift); }
.how2-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.how2 .how-n { font: 400 44px/1 var(--serif); color: var(--olive); }
.how2-tid { padding: 4px 10px; border-radius: 99px; font-size: 12px; color: var(--olive-muted); box-shadow: inset 0 0 0 1px var(--line-2); text-align: right; }
.how2 h3 { font-size: 18px; }
.how2 p { color: var(--olive-muted); font-size: 15.5px; }
.how2 .how2-du { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--olive); }
.how2-du b { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-muted); margin-bottom: 2px; }
.how-sec .sec-head, .incl2-head { margin-bottom: 28px; }
.sec-head .statement { margin-bottom: 10px; }
.sec-head > .mute { max-width: 60ch; font-size: 18px; }

/* ---------- Det här ingår ---------- */
.incl2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.incl2-head { position: sticky; top: 110px; }
.incl2-head .statement { margin-bottom: 14px; }
.incl2-head .mute { font-size: 18px; }
.incl2-not { margin-top: 22px; padding: 16px 18px; border-radius: 16px; font-size: 15px; color: var(--olive-muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.incl2-not b { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: 4px; }
.incl2-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.incl2-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.incl2-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--salt-50); }
.incl2-ic svg { width: 14px; height: 14px; }
.incl2-list b { display: block; font-weight: 500; }
.incl2-list small { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--olive-muted); }

/* ---------- Hemsidor: demot ---------- */
.hs { display: grid; gap: 18px; }
.hs-levels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hs-levels button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; min-height: 64px; padding: 14px 16px; border: 0; border-radius: 18px; cursor: pointer; font: inherit; color: var(--olive); background: rgba(255,255,255,0.047); box-shadow: inset 0 0 0 1px var(--line); transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out), color .3s; }
.hs-levels .hs-n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 400 20px/1 var(--serif); box-shadow: inset 0 0 0 1px var(--line-2); }
.hs-levels b { font-weight: 500; font-size: 16px; }
.hs-levels small { font-size: 13px; color: var(--olive-muted); }
.hs-levels button[aria-selected="true"] { background: var(--olive); color: var(--salt-50); box-shadow: 0 20px 40px -24px rgba(0,0,0,0.85); }
.hs-levels button[aria-selected="true"] small { color: rgba(243,245,248,0.65); }
.hs-levels button[aria-selected="true"] .hs-n { background: var(--pink); color: var(--olive-900); box-shadow: none; }
.hs-track { display: none; }
.hs-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.hs-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(18px, 3vw, 36px); align-items: start; }
.hs-view { position: relative; min-width: 0; }
.hs-browser { margin: 0; border-radius: 16px; overflow: hidden; background: rgb(12 15 21); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,0.85); }
.hs-browser .ha-bar { height: 34px; padding: 0 14px; gap: 6px; }
.hs-browser .ha-bar i { width: 9px; height: 9px; }
.hs-browser .ha-bar em { font-size: 12px; max-width: 46%; }
.hs-frame { --s: .6; position: relative; overflow: hidden; isolation: isolate; clip-path: inset(0 round 0); background: rgb(12 15 21); }
.hs-browser .hs-frame { aspect-ratio: 16 / 10; }
.hs-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hs-frame iframe { position: absolute; left: 0; top: 0; width: 1280px; height: calc(100% / var(--s)); border: 0; transform: scale(var(--s)); transform-origin: 0 0; background: rgba(255,255,255,0.07); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
.hs-phone .hs-frame iframe { width: 390px; }
.hs-frame.ready iframe { opacity: 1; }
.hs-frame.live iframe { pointer-events: auto; }
.hs-cover { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding: 18px; border: 0; background: linear-gradient(180deg, transparent 60%, rgba(255,255,255,0.1)); cursor: pointer; font: inherit; transition: opacity .4s var(--ease-out); }
.hs-cover span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; background: rgba(0,0,0,0.86); color: var(--olive); font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.85); transition: transform .5s var(--ease-out); }
.hs-cover:hover span { transform: translateY(-2px); }
.hs-frame.live .hs-cover { opacity: 0; pointer-events: none; }
.hs-phone { display: none; width: min(300px, 100%); margin: 0 auto; padding: 10px; border-radius: 46px; background: linear-gradient(150deg, rgb(17 21 28), rgb(17 21 28) 50%, rgb(17 21 28)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.042), 0 40px 80px -30px rgba(0,0,0,0.85); position: relative; }
.hs-phone .hs-frame { aspect-ratio: 390 / 780; border-radius: 37px; clip-path: inset(0 round 37px); }
.hs-notch { position: absolute; z-index: 3; left: 50%; top: 18px; width: 80px; height: 22px; margin-left: -40px; border-radius: 99px; background: rgb(17 21 28); }
.hs-view[data-dev="mob"] .hs-browser { display: none; }
.hs-view[data-dev="mob"] .hs-phone { display: block; }
.hs-side { display: grid; gap: 12px; align-content: start; }
.hs-side h3 { font: 400 40px/1 var(--serif); letter-spacing: -.015em; }
.hs-side p { color: var(--olive-muted); font-size: 15.5px; }
.hs-feats { display: grid; border-top: 1px solid var(--line); margin-top: 4px; }
.hs-feats li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; transition: opacity .4s; }
.hs-feats li i { width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23F2F2ED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hs-feats li.off { opacity: .38; }
.hs-feats li.off i { background: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.hs-feats li.new { font-weight: 500; animation: mini-in .7s var(--ease-out) both; }
.hs-feats em { margin-left: auto; padding: 2px 8px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--olive); }
.hs-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0; }
.hs-meta dt { font-size: 12px; color: var(--olive-muted); }
.hs-meta dd { margin: 2px 0 0; font-weight: 500; font-size: 14.5px; }
.hs-side .btn { justify-self: start; }

/* ---------- AEO: demot ---------- */
.ae { display: grid; gap: 18px; }
.ae-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.ae-main { display: grid; gap: 14px; min-height: 420px; align-content: start; }
.ae-main.two { grid-template-columns: 1fr 1fr; }
.ae-win { display: grid; gap: 16px; align-content: start; padding: clamp(18px, 2.6vw, 30px); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.102)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 24px 50px -36px rgba(0,0,0,0.85); animation: mini-in .6s var(--ease-out) both; }
.ae-win + .ae-win { animation-delay: .12s; }
.ae-win header { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--olive-muted); }
.ae-dot { width: 22px; height: 22px; border-radius: 7px; background: radial-gradient(circle, var(--salt-50) 0 3px, transparent 3.5px), var(--olive); }
.ae-win header em { margin-left: auto; padding: 3px 10px; border-radius: 99px; font-style: normal; font-size: 12px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ae-win.is-efter header em { background: var(--olive); color: var(--salt-50); box-shadow: none; }
.ae-q { justify-self: end; max-width: 46ch; min-height: 1.4em; padding: 11px 16px; border-radius: 18px 18px 6px 18px; background: var(--olive); color: var(--salt-50); font-size: 15.5px; }
.ae-q:empty { opacity: 0; }
.ae-a p { font: 400 clamp(20px, 2vw, 25px)/1.32 var(--serif); letter-spacing: -.005em; max-width: 52ch; min-height: 3.6em; }
.is-fore .ae-a p { color: var(--olive-muted); }
.ae-think { font: 400 15px var(--sans); color: var(--olive-muted); }
.ae-think::after { content: ""; display: inline-block; width: 18px; text-align: left; animation: ae-dots 1.2s steps(4) infinite; }
@keyframes ae-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.ae-src { display: grid; gap: 8px; }
.ae-src ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ae-src li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.35; background: rgba(255,255,255,0.044); box-shadow: inset 0 0 0 1px var(--line); }
.ae-src li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--olive); color: var(--salt-50); }
.is-fore .ae-src li b { background: rgba(255,255,255,0.1); color: var(--olive); }
.ae-src li em { display: block; font-style: normal; font-weight: 500; color: var(--olive); overflow-wrap: anywhere; }
.ae-src li span { color: var(--olive-muted); min-width: 0; }
.ae-why ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ae-why li { padding: 6px 12px; border-radius: 99px; font-size: 13px; background: rgba(255,255,255,0.062); }
.ae-miss { padding: 12px 14px; border-radius: 14px; font-size: 14px; color: var(--olive-muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.ae-src.wait, .ae-why.wait, .ae-miss.wait { opacity: 0; transform: translateY(8px); }
.ae-src, .ae-why, .ae-miss { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.ae-why { transition-delay: .2s; }
.ae-track { padding: clamp(18px, 2.6vw, 30px); border-radius: 22px; color: var(--olive); background: radial-gradient(70% 60% at 20% 0%, rgba(255,255,255,0.1), transparent 70%), linear-gradient(170deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.014), 0 30px 60px -36px rgba(0,0,0,0.85); }
.ae-track .k { color: rgba(243,245,248,0.55); }
.ae-track-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
.ae-track-head h4 { margin: 6px 0 0; font: 400 clamp(24px, 2.4vw, 32px)/1.1 var(--serif); }
.ae-months { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,0.02); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.ae-months button { min-height: 38px; min-width: 52px; padding: 0 14px; border: 0; border-radius: 99px; background: none; color: rgba(243,245,248,0.65); font: 500 14px var(--sans); cursor: pointer; transition: background .4s var(--ease-out), color .3s; }
.ae-months button[aria-selected="true"] { background: var(--salt-50); color: var(--olive); }
.ae-track-body { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 48px); }
.ae-score { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-content: start; }
.ae-score > b { font: 400 88px/.85 var(--serif); font-variant-numeric: tabular-nums; }
.ae-score > span { align-self: end; font-size: 14px; color: rgba(243,245,248,0.7); padding-bottom: 6px; }
.ae-score small { display: block; color: var(--olive); font-size: 13px; }
.ae-bars { grid-column: 1 / -1; display: flex; gap: 12px; height: 120px; margin-top: 18px; }
.ae-bars span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; position: relative; }
.ae-bars i { width: 100%; height: var(--h); min-height: 4px; border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,0.035); transition: height .8s var(--ease-out), background .4s; }
.ae-bars span.on i { background: var(--pink); }
.ae-bars small { font-size: 11.5px; color: rgba(243,245,248,0.6); }
.ae-bars b { font-weight: 500; font-size: 13px; }
.ae-matrix { min-width: 0; }
.ae-mhead, .ae-matrix li { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 76px); align-items: center; gap: 8px; }
.ae-mhead { padding-bottom: 8px; font-size: 11.5px; color: rgba(243,245,248,0.55); }
.ae-mhead span:not(:first-child) { text-align: center; }
.ae-matrix ol { display: grid; }
.ae-matrix li { padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13.5px; }
.ae-matrix li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(243,245,248,0.85); }
.ae-matrix li i { justify-self: center; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.06); transition: background .5s var(--ease-out), box-shadow .5s; }
.ae-matrix li i.hit { background: var(--salt-50); box-shadow: none; }
.ae-matrix li i.fresh { animation: ae-pop .7s var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes ae-pop { from { transform: scale(0); } }
.ae-track .fine { margin-top: 16px; color: rgba(243,245,248,0.5); }

/* ---------- Uppföljning: demot ---------- */
.uf { display: grid; gap: 18px; }
.uf-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.uf-stage { display: grid; grid-template-columns: 200px auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(18px, 2.6vw, 32px); border-radius: 22px; color: var(--olive); background: radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,0.1), transparent 70%), linear-gradient(170deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.014), 0 30px 60px -36px rgba(0,0,0,0.85); }
.uf-scen { display: grid; gap: 6px; align-self: start; }
.uf-scen button { min-height: 46px; padding: 0 14px; border: 0; border-radius: 14px; text-align: left; font: 500 14.5px var(--sans); color: rgba(243,245,248,0.62); background: rgba(255,255,255,0.016); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); cursor: pointer; transition: background .4s var(--ease-out), color .3s; }
.uf-scen button[aria-selected="true"] { background: var(--salt-50); color: var(--olive); box-shadow: none; }
.uf-phone { width: 290px; padding: 9px; border-radius: 44px; background: linear-gradient(150deg, rgb(17 21 28), rgb(17 21 28) 50%, rgb(17 21 28)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.042), 0 0 0 1px rgba(255,255,255,0.06), 0 50px 90px -40px rgba(0,0,0,0.85); }
.uf-screen { height: 520px; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, rgb(12 15 21), rgb(7 9 13)); color: var(--olive); }
.uf-screen header { display: grid; justify-items: center; gap: 1px; padding: 16px 0 10px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--olive-muted); font-variant-numeric: tabular-nums; }
.uf-screen header b { font-size: 13.5px; font-weight: 500; color: var(--olive); }
.uf .pm-msgs { justify-content: flex-start; overflow-y: auto; scrollbar-width: none; }
.uf .pm-msg.lost { align-self: stretch; max-width: none; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.056); box-shadow: inset 0 0 0 1px rgba(230,195,106,.0), inset 0 0 0 1px var(--line-2); color: var(--olive-muted); font-size: 13px; text-align: center; }
.uf-tl { display: grid; align-self: center; }
.uf-tl li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 14.5px; opacity: .3; transition: opacity .6s var(--ease-out); }
.uf-tl li.on { opacity: 1; }
.uf-tl li:last-child.on b { color: var(--olive); }
.uf-tl time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(243,245,248,0.6); padding-top: 2px; }
.uf-tl b { display: block; font-weight: 500; }
.uf-tl small { display: block; margin-top: 2px; color: rgba(243,245,248,0.55); font-size: 13px; }
.uf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.uf-stats > div { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.087); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line); }
.uf-stats .k { display: block; font-size: 11.5px; }
.uf-stats b { display: block; margin-top: 6px; font: 400 clamp(26px, 2.6vw, 36px)/1.05 var(--serif); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); opacity: .25; transform: translateY(4px); }
.uf-stats b.on { opacity: 1; transform: none; }
.is-utan .uf-stats b { color: var(--olive-muted); }

/* ---------- Vaktmästaren: demot ---------- */
.vm { display: grid; gap: 16px; }
.vm-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.vm-panel { --ok: #7CC495; --warn: #E6C36A; display: grid; gap: clamp(18px, 2.4vw, 28px); padding: clamp(18px, 2.6vw, 32px); border-radius: 22px; color: var(--olive); background: radial-gradient(60% 60% at 15% 0%, rgba(255,255,255,0.1), transparent 70%), linear-gradient(170deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.014), 0 30px 60px -36px rgba(0,0,0,0.85); }
.vm .k { color: rgba(243,245,248,0.55); }
.vm-head { display: grid; grid-template-columns: auto 1fr minmax(0, 260px); gap: clamp(18px, 3vw, 36px); align-items: center; }
.vm-ring { position: relative; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; }
.vm-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.vm-ring circle { fill: none; stroke: rgba(243,245,248,0.1); stroke-width: 7; }
.vm-ring .vm-arc { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 99.9 100; transition: stroke .5s; }
.vm-ring b { font: 400 26px/1 var(--serif); font-variant-numeric: tabular-nums; }
.vm-ring small { font-size: 11px; color: rgba(243,245,248,0.55); }
.vm-sum { display: grid; gap: 6px; }
.vm-all { display: inline-flex; align-items: center; gap: 10px; font: 400 clamp(28px, 3vw, 40px)/1.05 var(--serif); }
.vm-all i { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(124,196,149,.18); animation: ping 2.4s var(--ease) infinite; }
.vm-all.warn i { background: var(--warn); box-shadow: 0 0 0 4px rgba(230,195,106,.2); }
.vm-sum p { font-size: 13.5px; color: rgba(243,245,248,0.6); }
.vm-live { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.017); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.vm-live b { display: block; margin: 4px 0 6px; font: 400 30px/1 var(--serif); font-variant-numeric: tabular-nums; }
.vm-live svg { display: block; width: 100%; height: 48px; overflow: visible; }
.vm-live polyline { fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: stroke .4s; }
.vm-panel.warn .vm-live polyline, .vm-panel.warn .vm-arc { stroke: var(--warn); }
.vm-bars { display: flex; gap: 2px; height: 46px; }
.vm-bars i { flex: 1; border-radius: 2px; background: rgba(124,196,149,.65); cursor: pointer; outline-offset: 1px; transition: transform .3s var(--ease-out), background .3s; transform-origin: bottom; }
.vm-bars i:hover, .vm-bars i:focus-visible { transform: scaleY(1.12); background: var(--ok); }
.vm-bars i.dip { background: var(--warn); }
.vm-bars i.now { animation: ping 1.2s var(--ease) infinite; }
.vm-ax { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12px; color: rgba(243,245,248,0.5); }
.vm-tip { color: var(--olive); text-align: center; }
.vm-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.vm-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.vm-checks li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.017); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); transition: box-shadow .4s, background .4s; }
.vm-checks li > i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--ok); }
.vm-checks li b { display: block; font-weight: 500; font-size: 14px; }
.vm-checks li small { display: block; font-size: 12.5px; line-height: 1.4; color: rgba(243,245,248,0.6); }
.vm-checks li time { font-size: 11.5px; color: rgba(243,245,248,0.5); white-space: nowrap; }
.vm-checks li.warn { background: rgba(230,195,106,.1); box-shadow: inset 0 0 0 1px rgba(230,195,106,.55); }
.vm-checks li.warn > i { background: var(--warn); animation: ping 1.2s var(--ease) infinite; }
.vm-log { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.vm-log ol { display: grid; margin-top: 8px; }
.vm-log li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; color: rgba(243,245,248,0.78); animation: mini-in .6s var(--ease-out) both; }
.vm-log time { font-variant-numeric: tabular-nums; color: rgba(243,245,248,0.45); font-size: 12px; padding-top: 1px; }
.vm-log li.warn span { color: var(--warn); }
.vm-log li.ok span { color: var(--olive); }
.vm-note { padding: 16px 18px; border-radius: 16px; font-size: 15px; color: var(--olive); background: rgba(255,255,255,0.094); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line); animation: mini-in .6s var(--ease-out) both; }
.vm .btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Rapporten: demot ---------- */
.rp { display: grid; gap: 16px; }
.rp-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.rp-mail { display: grid; grid-template-columns: 260px minmax(0, 1fr); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0,0,0,0.85); }
.rp-list { padding: 16px 10px; border-right: 1px solid var(--line); background: rgba(255,255,255,0.038); }
.rp-list > .k { display: block; padding: 0 10px 10px; }
.rp-list [role="tablist"] { display: grid; gap: 4px; }
.rp-list button { display: grid; gap: 2px; width: 100%; padding: 12px; border: 0; border-radius: 14px; text-align: left; font: inherit; color: var(--olive); background: none; cursor: pointer; transition: background .4s var(--ease-out); }
.rp-list button:hover { background: rgba(255,255,255,0.05); }
.rp-list button[aria-selected="true"] { background: rgba(255,255,255,0.07); box-shadow: 0 0 0 1px var(--line), 0 10px 20px -14px rgba(0,0,0,0.74); }
.rp-from { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.rp-from b { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.rp-list button[aria-selected="true"] .rp-from b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.rp-from time { font-size: 12px; color: var(--olive-muted); }
.rp-subj { font-size: 14px; font-weight: 500; }
.rp-prev { font-size: 12.5px; color: var(--olive-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-doc { padding: clamp(18px, 3vw, 36px); display: grid; gap: 22px; background: linear-gradient(180deg, rgb(12 15 21), rgb(12 15 21)); min-width: 0; }
.rp-doc.swap { animation: mini-in .6s var(--ease-out) both; }
.rp-doc header h4 { margin: 6px 0 8px; font: 400 clamp(30px, 3.2vw, 44px)/1.02 var(--serif); letter-spacing: -.015em; }
.rp-doc header p { color: var(--olive-muted); max-width: 56ch; }
.rp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rp-kpis button { display: grid; gap: 2px; padding: 14px 16px; border: 0; border-radius: 16px; text-align: left; font: inherit; color: var(--olive); background: rgba(255,255,255,0.044); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .4s var(--ease-out), box-shadow .4s, color .3s; }
.rp-kpis button:hover { background: rgba(255,255,255,0.062); }
.rp-kpis small { font-size: 12.5px; color: var(--olive-muted); }
.rp-kpis b { font: 400 34px/1.05 var(--serif); font-variant-numeric: tabular-nums; }
.rp-kpis em { font-style: normal; font-size: 12.5px; }
.rp-kpis em.neg { color: var(--olive-muted); }
.rp-kpis button[aria-pressed="true"] { background: var(--olive); color: var(--salt-50); box-shadow: 0 16px 30px -18px rgba(0,0,0,0.85); }
.rp-kpis button[aria-pressed="true"] small { color: rgba(243,245,248,0.65); }
.rp-focus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: end; padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.07); box-shadow: 0 0 0 1px var(--line); }
.rp-chart { display: flex; gap: 14px; height: 150px; }
.rp-chart span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.rp-chart i { width: 100%; height: calc(var(--h) * .72); border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,0.1); transition: height .8s var(--ease-out); }
.rp-chart span.on i { background: var(--pink); }
.rp-chart b { font-size: 13px; font-weight: 500; white-space: nowrap; }
.rp-chart small { font-size: 11.5px; color: var(--olive-muted); }
.rp-what p { margin-top: 6px; font-size: 15px; color: var(--olive-muted); }
.rp-notes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.rp-notes h5 { margin: 0 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-muted); }
.rp-notes li { position: relative; padding: 5px 0 5px 18px; font-size: 15px; }
.rp-notes li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }
.rp-notes p { padding: 14px 16px; border-radius: 14px; background: var(--olive); color: var(--salt-50); font-size: 15px; }

/* ---------- Översikten ---------- */
.hubh-route { position: relative; width: calc(100% - 80px); max-width: 1040px; height: clamp(160px, 15vw, 200px); margin-top: clamp(36px, 4vw, 56px); }
.hubh-route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hubh-base { fill: none; stroke: rgba(243,245,248,0.16); stroke-width: 1.5; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.hubh-line { fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,79,171,.6)); stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.hubh-route li { position: absolute; width: 0; height: 0; }
.hubh-route li a, .hubh-route li > span { position: absolute; left: 0; top: 0; display: block; }
.hubh-route li i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: rgb(17 21 28); box-shadow: 0 0 0 2px rgba(255,255,255,0.14); transition: transform .4s var(--ease-out); }
.hubh-route li a span { position: absolute; left: 0; top: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px; font-size: 13.5px; white-space: nowrap; background: rgba(0,0,0,0.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); color: var(--olive); transition: background .3s, color .3s; }
.hubh-route li:nth-child(even) a span { top: auto; bottom: 16px; }
.hubh-route li a:hover span, .hubh-route li a:focus-visible span { background: var(--salt-50); color: var(--olive); }
.hubh-route li a:hover i { transform: scale(1.3); }
.hubh-top i { background: var(--pink) !important; box-shadow: 0 0 0 7px rgba(255,79,171,.2) !important; }
.hubh-top > span > span { position: absolute; right: 18px; bottom: 6px; font: 400 26px/1 var(--serif); color: var(--olive); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .hubh-line { stroke-dashoffset: 1; animation: hubh-draw 2.6s var(--ease-out) .5s forwards; }
  .hubh-route li { animation: hubh-in .8s var(--ease-out) both; animation-delay: calc(.6s + var(--i) * .26s); }
}
@keyframes hubh-draw { to { stroke-dashoffset: 0; } }
@keyframes hubh-in { from { opacity: 0; scale: .7; } }
.hub-sec2 .sec-head { margin-bottom: 8px; }
.hub-parts { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.hub-parts .part { grid-column: span 4; padding: 10px; gap: 0; border-radius: 26px; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.hub-parts .part:nth-child(-n+2), .hub-parts .part:nth-child(n+6) { grid-column: span 6; }
.hub-parts .part:nth-child(-n+2) .mini, .hub-parts .part:nth-child(n+6) .mini { height: 220px; }
.hub-parts .part .mini { height: 180px; border-radius: 18px; }
.part-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 12px; }
.part-n { font: 400 22px/1 var(--serif); color: var(--olive-muted); }
.part-go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s var(--ease-out), color .3s, transform .5s var(--ease-out); }
.part-body { padding: 16px 8px 6px; }
.part-body h3 { font: 400 32px/1.05 var(--serif); letter-spacing: -.01em; }
.part-body .mute { font-size: 15px; }
.part-body .go { min-height: 0; margin-top: 6px; font-size: 14px; }
@media (hover: hover) { .hub-parts .part:hover { transform: translateY(-4px); } .hub-parts .part:hover .part-go { background: var(--pink); color: var(--olive-900); box-shadow: none; transform: rotate(-45deg); } }
.osx { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4.4vw, 60px); border-radius: 32px; color: var(--olive); background: radial-gradient(70% 70% at 80% 0%, rgba(0,0,0,0.5), transparent 70%), linear-gradient(170deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: 0 50px 100px -50px rgba(0,0,0,0.85); }
.osx::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--g-noise); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.osx .k, .os-final-card .k { color: rgba(243,245,248,0.6); }
.osx h2 { margin: 12px 0 14px; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; }
.osx p { color: rgba(243,245,248,0.72); font-size: 17px; max-width: 46ch; }
.osx-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: inherit; }
.os-final-card .osx-ctas { justify-content: center; }
.osx-note { margin-top: 16px; font-size: 13px !important; color: rgba(243,245,248,0.5) !important; }
.osx-shots { position: relative; display: block; aspect-ratio: 16 / 11.5; }
.osx-shots img { position: absolute; width: 86%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 40px 80px -30px rgba(0,0,0,0.85); transition: transform .9s var(--ease-out); }
.osx-b { right: 0; top: 0; opacity: .55; }
.osx-a { left: 0; bottom: 0; }
@media (hover: hover) { .osx-shots:hover .osx-a { transform: translate(-6px, 6px); } .osx-shots:hover .osx-b { transform: translate(6px, -6px); opacity: .8; } }

/* ---------- Eget OS: skärmbilden i heron och rundturen ---------- */
.os-shot { display: block; position: relative; border-radius: 18px; overflow: hidden; background: rgb(17 21 28); box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 60px 120px -40px rgba(0,0,0,0.85); }
.os-shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: rgb(17 21 28); }
.os-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.041); }
.os-shot-bar em { margin: 0 auto; font-style: normal; font-size: 12px; color: rgba(243,245,248,0.6); }
.os-shot img { width: 100%; height: auto; }
.os-shot-cta { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; font-weight: 500; font-size: 15px; color: var(--olive-900); background: linear-gradient(180deg, #FF7DC0 0%, var(--pink) 48%, #EE3897 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.084), 0 10px 26px -12px rgba(238,56,151,.75); transition: transform .5s var(--ease-out); }
.os-shot-cta i { font-style: normal; }
@media (hover: hover) { .os-shot:hover .os-shot-cta { transform: translateY(-2px); } }
.os-tour-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.os-tour-shot { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,0.85); transition: transform .8s var(--ease-out); }
.os-tour-shot img { width: 100%; height: auto; }
@media (hover: hover) { .os-tour-shot:hover { transform: translateY(-4px); } }
.os-tour-list { display: grid; border-top: 1px solid var(--line); }
.os-tour-list li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.os-tour-list b { font-weight: 500; }
.os-tour-list span { color: var(--olive-muted); }
.os-tour-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.os-tour-cta .mute { font-size: 14px; }
.os-mini-stage { padding: clamp(16px, 2.4vw, 28px); }

/* ---------- Mindre skärmar ---------- */
@media (max-width: 1080px) {
  .uf-stage { grid-template-columns: auto minmax(0, 1fr); }
  .uf-scen { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .uf-scen button { text-align: center; padding: 0 8px; }
  .va-checks { grid-template-columns: repeat(3, 1fr); }
  .vm-head { grid-template-columns: auto 1fr; } .vm-live { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .ph { grid-template-columns: minmax(0, 1fr); }
  .ph-copy { justify-self: start; }
  .ph-center .ph-copy { justify-self: center; }
  .ph-art { justify-self: center; }
  .how2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incl2 { grid-template-columns: minmax(0, 1fr); }
  .incl2-head { position: static; }
  .hs-body { grid-template-columns: minmax(0, 1fr); }
  .ae-track-body { grid-template-columns: minmax(0, 1fr); }
  .ae-score { grid-template-columns: auto 1fr auto; } .ae-bars { grid-column: auto; height: 80px; margin-top: 0; width: 160px; }
  .rp-mail { grid-template-columns: minmax(0, 1fr); }
  .rp-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .rp-list [role="tablist"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-prev { display: none; }
  .hub-parts .part, .hub-parts .part:nth-child(n) { grid-column: span 6; }
  .hub-parts .part:first-child { grid-column: span 12; }
  .osx { grid-template-columns: minmax(0, 1fr); }
  .os-tour-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ph { margin-top: -74px; padding-top: 130px; }
  .ae-main.two { grid-template-columns: minmax(0, 1fr); }
  .uf-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .uf-scen { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .uf-tl { width: 100%; }
  .vm-grid { grid-template-columns: minmax(0, 1fr); }
  .vm-head { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .vm-ring { width: 112px; height: 112px; }
  .rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-focus, .rp-notes { grid-template-columns: minmax(0, 1fr); }
  .hubh-route { height: auto; }
  .hubh-route svg { display: none; }
  .hubh-route ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hubh-route { width: 100%; }
  .hubh-route li { position: static; width: auto; height: auto; }
  .hubh-route li a, .hubh-route li > span { position: static; display: flex; }
  .hubh-route li i { display: none; }
  .hubh-route li a span, .hubh-route li:nth-child(even) a span { position: static; transform: none; min-height: 44px; }
  .hubh-top { width: 100%; margin-top: 10px; }
  .hubh-top > span { justify-content: center; }
  .hubh-top > span > span { position: static; }
  .ua { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 20px; }
  .ua-phone { grid-row: auto; }
  .ua-steps, .ua-kpi { width: min(100%, 320px); }
}
@media (max-width: 600px) {
  .how2 { grid-template-columns: minmax(0, 1fr); }
  .incl2-list { grid-template-columns: minmax(0, 1fr); }
  .hs-levels { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hs-levels button { min-height: 56px; padding: 10px 14px; }
  .hs-levels small { display: none; }
  .hs-levels button { grid-template-rows: auto; }
  .hs-levels .hs-n { grid-row: auto; width: 30px; height: 30px; font-size: 18px; }
  .ae-mhead, .ae-matrix li { grid-template-columns: minmax(0, 1fr) repeat(3, 30px); gap: 6px; }
  .ae-mhead span:not(:first-child) { font-size: 0; }
  .ae-mhead span:nth-child(2)::after { content: "GPT"; font-size: 10.5px; }
  .ae-mhead span:nth-child(3)::after { content: "Perp."; font-size: 10.5px; }
  .ae-mhead span:nth-child(4)::after { content: "Google"; font-size: 10.5px; }
  .ae-score { grid-template-columns: auto 1fr; } .ae-bars { grid-column: 1 / -1; width: 100%; }
  .ae-score > b { font-size: 72px; }
  .uf-stats { grid-template-columns: minmax(0, 1fr); }
  .uf-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .uf-stats b { margin: 0; text-align: right; font-size: 24px; }
  .uf-phone { width: min(290px, 100%); }
  .uf-screen { height: 480px; }
  .vm-checks { grid-template-columns: minmax(0, 1fr); }
  .va-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .va-bars i:nth-child(-n+45) { display: none; }
  .rp-list [role="tablist"] { grid-template-columns: minmax(0, 1fr); }
  .rp-list button { padding: 10px 12px; }
  .hub-parts .part, .hub-parts .part:nth-child(n) { grid-column: 1 / -1; }
  .hub-parts .part .mini, .hub-parts .part:nth-child(n) .mini { height: 170px; }
  .os-tour-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ha-win figcaption { font-size: 10.5px; left: 8px; bottom: 8px; padding: 3px 9px; }
  .ra-main { grid-template-columns: minmax(0, 1fr) auto; }
  .ra-bars { height: 96px; gap: 6px; } .ra-bars span { width: 24px; }
  .os-shot-cta { right: 10px; bottom: 10px; font-size: 13px; min-height: 40px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ae-win, .vm-log li, .rp-doc.swap, .hs-feats li.new, .vm-note { animation: none; }
  .ua-msgs p, .ua-kpi { opacity: 1; transform: none; }
}

.hubh { padding-top: clamp(130px, 15vh, 170px); }
.hubh h1 { font-size: clamp(44px, 5.6vw, 84px); }
/* Mörka heroer börjar bakom menyn, så att det inte blir ett ljust band överst */
.kp-hero { margin-top: -74px; padding-top: clamp(160px, 19vh, 220px); }
.os-hero { margin-top: -74px; padding-top: clamp(170px, 21vh, 240px); }
@media (max-width: 760px) { .os-hero, .kp-hero { padding-top: 150px; } }
.calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.va { overflow: hidden; }
.calc-box { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.aeo-list { grid-template-columns: minmax(0, 1fr); } .aeo-list label { grid-template-columns: auto minmax(0, 1fr); }
.kicker a { display: inline-block; padding: 13px 0; margin: -13px 0; }

/* ===== Animeringar 2.0 (14 nov): riktiga filmer gjorda i Remotion ===== */
.an-page { background: var(--salt); }
.an-hero { position: relative; isolation: isolate; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; color: var(--olive); padding: clamp(120px, 16vh, 180px) var(--gutter) clamp(56px, 8vw, 96px); background: rgb(17 21 28); }
.an-hero-media { position: absolute; inset: 0; z-index: -2; }
.an-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.an-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(17 21 28) 0%, rgba(0,0,0,0.55) 45%, rgba(255,255,255,0.08) 75%), linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.8) 100%); }
.an-hero-copy { max-width: 1180px; width: 100%; margin: 0 auto; display: grid; justify-items: start; }
.an-hero-copy > * { max-width: 620px; }
.an-hero .kicker, .an-hero .kicker a { color: rgba(243,245,248,0.62); }
.an-hero h1 { margin: 14px 0 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 108px); line-height: .95; letter-spacing: -.025em; }
.an-hero .lede { color: rgba(243,245,248,0.78); }
.an-hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: flex-start; }
.an-hero .btn-ghost { color: var(--olive); background: rgba(255,255,255,0.021); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); border: 0; cursor: pointer; font: inherit; }
.an-sound { position: absolute; right: var(--gutter); bottom: clamp(24px, 4vw, 40px); min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: rgba(0,0,0,0.55); color: rgba(243,245,248,0.85); font: 500 13px var(--sans); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }

.an-demo { display: grid; gap: 18px; }
.an-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.an-view { min-height: 200px; }
.an-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: rgb(17 21 28); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.096); }
.an-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.an-tag { position: absolute; left: 16px; top: 16px; padding: 7px 13px; border-radius: 99px; font-size: 12px; font-weight: 500; color: rgb(243 245 248); background: rgba(0,0,0,0.6); }
.an-social { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(16px, 3vw, 32px); border-radius: 20px; background: radial-gradient(70% 70% at 30% 20%, rgba(255,255,255,0.1), transparent 70%), linear-gradient(165deg, rgb(17 21 28), rgb(17 21 28)); }
.an-phone { margin: 0; padding: 9px; border-radius: 40px; background: rgb(17 21 28); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06), 0 40px 70px -30px rgba(0,0,0,0.85); }
.an-phone-in { aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: rgb(17 21 28); }
.an-phone-in video { width: 100%; height: 100%; object-fit: cover; display: block; }
.an-phone-lg { width: min(300px, 70vw); }
.an-scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; color: var(--olive); }
.an-scenes li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
.an-scenes b { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: rgba(255,255,255,0.024); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.an-scenes span { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.an-scenes small { color: rgba(243,245,248,0.62); font-size: 15px; }
.an-browser { border-radius: 18px; overflow: hidden; background: rgb(7 9 13); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.096); }
.an-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; background: rgb(7 9 13); font-size: 13px; color: rgb(154 163 175); }
.an-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.an-bar span { margin: 0 auto; padding: 4px 16px; border-radius: 8px; background: rgba(255,255,255,0.115); }
.an-bar a { color: var(--olive); font-weight: 500; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.an-browser iframe { display: block; width: 100%; height: min(70vh, 640px); border: 0; background: rgba(255,255,255,0.07); }
.an-cap { margin: 0; color: var(--olive-muted); max-width: 70ch; }

.an-month .an-phones { display: flex; justify-content: center; gap: clamp(16px, 4vw, 48px); margin: 8px 0 40px; }
.an-month .an-phone { width: min(260px, 28vw); text-align: center; }
.an-month .an-phone:nth-child(2) { transform: translateY(-26px); }
.an-month figcaption { margin-top: 14px; color: rgba(243,245,248,0.7); font-size: 14px; }
.an-weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.027); }
.an-weeks li { display: grid; gap: 4px; padding: 18px; background: rgb(17 21 28); color: var(--olive); }
.an-weeks b { font-family: var(--serif); font-weight: 400; font-size: 28px; } .an-weeks small { color: rgba(243,245,248,0.55); }

@media (max-width: 860px) {
  .an-social { grid-template-columns: 1fr; justify-items: center; } .an-scenes { width: 100%; }
  .an-month .an-phones { overflow-x: auto; justify-content: flex-start; padding: 0 4px 26px; scroll-snap-type: x mandatory; }
  .an-month .an-phone { flex: none; width: 62vw; scroll-snap-align: center; } .an-month .an-phone:nth-child(2) { transform: none; }
  .an-weeks { grid-template-columns: 1fr 1fr; }
  .an-hero-shade { background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.55) 45%, rgb(17 21 28) 100%); }
  .an-controls .seg { display: grid; width: 100%; border-radius: 20px; } .an-controls .seg:first-child { grid-template-columns: 1fr 1fr; } .an-controls .seg-sm { grid-template-columns: repeat(3, 1fr); }
  .an-browser iframe { height: 70vh; }
}
@media (prefers-reduced-motion: reduce) { .an-month .an-phone:nth-child(2) { transform: none; } }

/* Guider på delsidorna (17 november) */
.gdr { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.gdr a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.gdr li:last-child a { border-bottom: 1px solid var(--line); }
.gdr b { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; }
.gdr span { flex: none; font-size: 14px; font-weight: 500; color: var(--olive-muted); }
.gdr i { font-style: normal; }
.gdr a:hover b { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) { .gdr a { flex-direction: column; gap: 6px; } }

/* Fler delar: 4 + 3 i stället för en rad med en ensam kvar (25 nov) */
.more { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } .more > .more-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ================================================================
   Ljusa heroer (25 nov, Joshua: "fixa allt"): samma uttryck som startsidan.
   Ljust studioljus uppifrån, oliv text, hårfina linjer. Rosa bara på det viktigaste
   (målet på rutten, paketet som rör sig). Mörka föremål (appar, telefoner, paneler)
   får ligga kvar som föremål på den ljusa ytan. Inga gradienter ner mot nästa del.
   ================================================================ */
.ph-light::before { background: radial-gradient(80% 60% at 55% 0%, rgba(255,255,255,0.12), rgba(255,255,255,0.01) 70%), var(--salt); }
.ph-light .kicker, .ph-light .kicker a { color: var(--olive-muted); }
.ph-light h1 span { color: rgba(243,245,248,0.45); }
.ph-light .lede { color: var(--olive-muted); }
.ph-light { color: var(--olive); }

/* Delar-översikten: rutten i oliv på ljust */
.hubh-base { stroke: rgba(243,245,248,0.18); }
.hubh-line { stroke: var(--olive); stroke-width: 1.5; filter: none; }
.hubh-route li i { background: var(--salt-50); box-shadow: 0 0 0 1.5px var(--olive); }
.hubh-route li a span { background: rgba(255,255,255,0.108); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.112); color: var(--olive); }
.hubh-route li a:hover span, .hubh-route li a:focus-visible span { background: var(--olive); color: var(--salt-50); }
.hubh-top > span > span { color: var(--olive); }

/* Kopplingar */
.kp-hero { color: var(--olive); }
.kp-hero::before { background: radial-gradient(80% 60% at 55% 0%, rgba(255,255,255,0.12), rgba(255,255,255,0.01) 70%), var(--salt); }
.kp-hero::after { content: none; }
.kp-hero .kicker, .kp-hero .kicker a { color: var(--olive-muted); }
.kp-hero h1 span { color: rgba(243,245,248,0.45); }
.kp-hero .lede { color: var(--olive-muted); }
.kp-hero .btn-ghost { color: var(--olive); background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.224); }
.kp-edge { stroke: rgba(243,245,248,0.22); }
.kp-core { color: var(--olive); background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.07), rgba(255,255,255,0.094)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.128), 0 0 0 10px rgba(255,255,255,0.06), 0 30px 60px -30px rgba(0,0,0,0.74); }
.kp-core small { color: var(--olive-muted); }
.kp-node { color: var(--olive); background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096), 0 14px 30px -18px rgba(0,0,0,0.66); }
.kp-node small { color: var(--olive-muted); }

/* Eget OS */
.os-hero { color: var(--olive); }
.os-hero::before { background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.12), rgba(255,255,255,0.01) 70%), var(--salt); }
.os-hero::after { content: none; }
.os-hero .kicker { color: var(--olive-muted); }
.os-hero .kicker a { text-decoration-color: rgba(243,245,248,0.3); }
.os-hero h1 { color: var(--olive); }
.os-hero h1 span { color: rgba(243,245,248,0.45); }
.os-hero .lede { color: var(--olive-muted); }
.os-hero-glow { display: none; }
.os-hero .co-seg { background: rgba(255,255,255,0.056); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); }
.os-hero .co-seg button { color: var(--olive-muted); }
.os-hero .co-seg button[aria-selected="true"] { color: var(--salt-50); background: var(--olive); }
.os-hero .osa { box-shadow: 0 0 0 1px rgba(255,255,255,0.112), 0 60px 120px -50px rgba(0,0,0,0.85); }

/* Animeringar: filmen får vara mörk, men utan dis ner mot nästa del */
.an-hero::after { content: none; }
/* Uppföljning: loggen bredvid telefonen i oliv på ljust */
.ph-light .ua-steps li { border-top-color: rgba(255,255,255,0.112); color: rgba(243,245,248,0.35); }
.ph-light .ua-steps li.on { color: var(--olive); }
.ph-light .ua-kpi { border-top-color: rgba(255,255,255,0.112); }
.ph-light .ua-kpi span { color: var(--olive-muted); }
.ph-light .ua-phone { box-shadow: inset 0 1px 1px rgba(255,255,255,0.042), 0 50px 90px -40px rgba(0,0,0,0.85); }
/* Vaktmästaren: statuspanelen är ett mörkt föremål på den ljusa ytan */
.ph-light .va { color: var(--olive); background: linear-gradient(165deg, rgb(17 21 28), rgb(17 21 28)); box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 50px 100px -50px rgba(0,0,0,0.85); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ================================================================
   Hemsidor 3.0 (1 december, "bygga ut sidorna för respektive produkt"): flaggskeppen,
   fem grunder och jämförelsen av vägarna. Skrivet direkt i Natt.
   ================================================================ */
.fl-grid { margin-top: 36px; display: grid; gap: 16px; }
.fl-kort { display: grid; border-radius: 26px; overflow: hidden; text-decoration: none; color: #F3F5F8; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.09), 0 40px 80px -50px rgba(0,0,0,.9); transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .4s; }
.fl-bild { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; }
.fl-bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.fl-text { display: grid; gap: 8px; padding: 22px 24px 24px; }
.fl-text b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.fl-text p { margin: 0; color: #9AA3AF; font-size: 15.5px; line-height: 1.5; }
.fl-text ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fl-text li { padding: 5px 11px; border-radius: 999px; font-size: 13px; color: #F3F5F8; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.fl-go { margin-top: 8px; font-size: 14px; font-weight: 500; }
.fl-go i { font-style: normal; display: inline-block; transition: transform .4s cubic-bezier(.16,1,.3,1); }
@media (hover: hover) {
  .fl-kort:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.16), 0 50px 90px -50px rgba(0,0,0,.95); }
  .fl-kort:hover .fl-bild img { transform: scale(1.04); }
  .fl-kort:hover .fl-go i { transform: translate(3px, -3px); }
}
@media (min-width: 900px) {
  .fl-grid { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
  .fl-kort:first-child { grid-row: span 2; }
  .fl-kort:first-child .fl-bild { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .fl-kort:first-child { grid-template-rows: 1fr auto; }
}
@media (max-width: 700px) { .fl-bild { aspect-ratio: 9 / 13; } .fl-bild img { object-position: top center; } }

.gr-lista { list-style: none; margin: 36px 0 0; padding: 0; display: grid; border-top: 1px solid rgba(255,255,255,.12); }
.gr-lista li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.gr-n { font-size: 13px; letter-spacing: .1em; color: #9AA3AF; padding-top: 8px; font-variant-numeric: tabular-nums; }
.gr-lista h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; color: #F3F5F8; }
.gr-lista p { margin: 0; max-width: 60ch; color: #9AA3AF; }
@media (min-width: 900px) { .gr-lista li { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr); align-items: baseline; } .gr-lista h3 { margin: 0; } }

.vag .cmp-row { grid-template-columns: minmax(140px, 1fr) repeat(3, minmax(0, 1.1fr)); }
.vag .cmp-row > :last-child { color: #F3F5F8; font-weight: 500; }
.vag .cmp-top > :last-child { color: #F3F5F8; }
.vag [role="cell"] { font-size: 15px; line-height: 1.45; }
.cmp-fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .vag { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vag .cmp-row { min-width: 640px; }
}
/* AI-synlighet 3.0 (1 december) */
.ai-kallor { margin-top: 36px; display: grid; gap: 12px; }
.ai-kalla { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08); }
.ai-kalla h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: #F3F5F8; }
.ai-kalla p { margin: 0; color: #9AA3AF; font-size: 15.5px; }
.ai-kalla .ai-ex { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); color: #F3F5F8; font-size: 14.5px; }
@media (min-width: 760px) { .ai-kallor { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ai-kallor { grid-template-columns: repeat(4, 1fr); } }
.ai-tj { list-style: none; margin: 36px 0 0; padding: 0; display: grid; border-top: 1px solid rgba(255,255,255,.12); }
.ai-tj li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ai-tj b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: #F3F5F8; }
.ai-tj span { color: #9AA3AF; max-width: 62ch; }
@media (min-width: 900px) { .ai-tj li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: baseline; } }
.vag-jamn .cmp-row > :last-child { font-weight: 400; color: rgba(243,245,248,.82); }
/* Uppföljning 3.0 (1 december): flödena som tidslinjer */
.flo-lista { margin-top: 36px; display: grid; gap: 12px; }
.flo { display: grid; gap: 20px; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08); }
.flo h3 { margin: 6px 0 4px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: #F3F5F8; }
.flo header p { margin: 0; color: #9AA3AF; font-size: 15.5px; }
.flo-tid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.flo-tid::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.14); }
.flo-tid li { position: relative; display: grid; gap: 4px; padding: 0 0 18px 30px; }
.flo-tid li:last-child { padding-bottom: 0; }
.flo-tid li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #07090D; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.flo-tid li:first-child::before { background: #FF4FAB; box-shadow: none; }
.flo-nar { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9AA3AF; font-variant-numeric: tabular-nums; }
.flo-tid b { font-weight: 500; color: #F3F5F8; font-size: 15.5px; }
.flo-sms { margin: 6px 0 0; max-width: 46ch; padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; line-height: 1.45; color: #F3F5F8; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
@media (min-width: 900px) { .flo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding: 32px; align-items: start; } }
/* Kopplingar 3.0 (1 december) */
.kp-rec { margin-top: 36px; display: grid; gap: 12px; }
.kp-kort { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08); }
.kp-flode { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; letter-spacing: .04em; }
.kp-flode span { padding: 5px 11px; border-radius: 999px; color: #F3F5F8; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.kp-flode i { font-style: normal; color: #FF4FAB; }
.kp-kort h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: #F3F5F8; }
.kp-kort dl { margin: 4px 0 0; display: grid; gap: 10px; }
.kp-kort dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9AA3AF; }
.kp-kort dd { margin: 2px 0 0; font-size: 15px; color: rgba(243,245,248,.88); }
.kp-kort div:first-child dd { color: #9AA3AF; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.kp-for { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #9AA3AF; }
@media (min-width: 760px) { .kp-rec { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .kp-rec { grid-template-columns: repeat(3, 1fr); } }
/* Animeringar 3.0 (1 december) */
@media (min-width: 900px) { .fl-grid.fl-grid-3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; } .fl-grid-3 .fl-kort:first-child { grid-row: auto; grid-template-rows: auto; } .fl-grid-3 .fl-kort:first-child .fl-bild { aspect-ratio: 16 / 10; height: auto; min-height: 0; } }
.mo-fmt .cmp-row { grid-template-columns: minmax(140px, 1.1fr) repeat(3, minmax(0, 1fr)); }
/* Rapporten 3.0 (1 december) */
.rp-ex { margin-top: 36px; display: grid; gap: 24px; align-items: start; }
.rp-mejl { padding: 28px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.09), 0 40px 80px -50px rgba(0,0,0,.9); }
.rp-fran { margin: 0; font-size: 13px; color: #9AA3AF; }
.rp-mejl h3 { margin: 6px 0 18px; font-family: var(--serif); font-weight: 400; font-size: 32px; color: #F3F5F8; }
.rp-tal { margin: 0; display: grid; border-top: 1px solid rgba(255,255,255,.1); }
.rp-tal div { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.rp-tal dt { font-size: 15px; color: rgba(243,245,248,.85); }
.rp-tal dd { margin: 0; display: grid; justify-items: end; gap: 2px; }
.rp-tal b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; color: #F3F5F8; font-variant-numeric: tabular-nums; }
.rp-tal span { font-size: 12.5px; color: #9AA3AF; }
.rp-sum { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(255,79,171,.08); box-shadow: inset 0 0 0 1px rgba(255,79,171,.22); font-size: 15px; color: #F3F5F8; line-height: 1.5; }
.rp-not { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.rp-not li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.rp-not b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: #F3F5F8; }
.rp-not p { margin: 4px 0 0; color: #9AA3AF; font-size: 15px; }
@media (min-width: 900px) { .rp-ex { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .rp-mejl { position: sticky; top: 100px; } }

/* Eget OS mot Egna system: en mening om skillnaden under heroknapparna (1 december) */
.os-skillnad { margin: 20px auto 0; max-width: 52ch; font-size: 14px; line-height: 1.55; color: var(--n-muted, #9AA3AF); text-align: center; text-wrap: balance; }
.os-skillnad a { color: var(--n-ink, #F3F5F8); text-decoration: underline; text-decoration-color: rgba(243,245,248,.35); text-underline-offset: 3px; white-space: nowrap; }
.os-skillnad a:hover { text-decoration-color: currentColor; }

/* Miniatyrer med startsidans produktbilder (AI-svar, Vaktmästaren, Animeringar), 1 december */
.mini-kort { display: grid; place-items: center; padding: 12px 14px; }
.mini-kort img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; filter: brightness(.9) saturate(.95); }
.mini-kort-hog { padding: 0; }
.mini-kort-hog img { object-fit: cover; object-position: 50% 30%; }
