/*
 * AXIS LANDNINGSSIDA. Tokens ur appens globals.css. Rörelsen är Lassies, läst ur deras
 * källkod (GSAP + ScrollTrigger + Lenis): hjälte med clip-path inset(32px round 64px),
 * uppgiftsrad som rullar var 2,5 s, kortlek med tre absolut staplade kort (scale .95→1,
 * y 10%→0, video 1.2→1, utgående kort y −100vh), siffra med kort på en ellips (radie
 * 0,43 vw × 0,39 vh, vinkel from→to, scale 0→1, foto 2→1), pin 2,2 vh, scrub.
 */
:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --color-canvas: #ffffff; --color-surface: #ffffff; --color-shell: #fafafa;
  --color-ink: #111827; --color-ink-muted: #6b7280; --color-ink-subtle: #9ca3af;
  --color-hairline: #e5e7eb; --color-hairline-soft: #f3f4f6; --color-hairline-strong: #d1d5db;
  --color-brand: #4fc3f7; --color-brand-soft: #b3e3f8; --color-brand-deep: #0f9bd7;
  --color-positive: #10b981; --color-signal: #f59e0b; --color-negative: #ef4444;
  --color-ink-glass: rgba(17, 24, 39, 0.85); --color-canvas-tint: #e7ded6;
  --color-panel-top: rgba(255, 255, 255, 0.58); --color-panel: rgba(255, 255, 255, 0.52);
  --color-panel-edge: rgba(255, 255, 255, 0.8); --color-panel-rim: rgba(17, 24, 39, 0.07); --color-panel-soft: rgba(17, 24, 39, 0.038);
  --radius-md: 8px; --radius-lg: 10px; --radius-xl: 14px;
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-card: 0 6px 16px -4px rgba(17, 24, 39, 0.08), 0 2px 4px -1px rgba(17, 24, 39, 0.05), 0 1px 1px rgba(17, 24, 39, 0.03);
  --shadow-lift: 0 16px 32px -8px rgba(17, 24, 39, 0.13), 0 6px 12px -3px rgba(17, 24, 39, 0.07), 0 1px 1px rgba(17, 24, 39, 0.04);
  --shadow-panel: 0 24px 60px -12px rgba(17, 24, 39, 0.18), 0 8px 20px -6px rgba(17, 24, 39, 0.08), 0 2px 6px rgba(17, 24, 39, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-overlay: 0 16px 40px -6px rgba(17, 24, 39, 0.16), 0 4px 10px -2px rgba(17, 24, 39, 0.08);
  --glass-bevel: inset 0 1px 0 var(--color-panel-edge), inset 0 -1px 0 rgba(17, 24, 39, 0.035);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --paper: #f7f6f2;
  --kort-radie: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--color-ink); font-family: var(--font-sans); font-size: 13px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
svg.m { width: 14px; height: auto; flex: none; }

/* Lassies typskala, i Inter */
.h-xl { font-size: clamp(50px, 6.01vw, 104px); line-height: 0.95; letter-spacing: -0.02em; font-weight: 600; }
.h-lg { font-size: clamp(36px, 4.05vw, 70px); line-height: 1.05; letter-spacing: -0.01em; font-weight: 600; }
.h-sm { font-size: clamp(22px, 1.73vw, 30px); line-height: 1.1; letter-spacing: -0.02rem; font-weight: 600; }
.b-md { font-size: 16px; line-height: 24px; }
.b-sm { font-size: 14px; line-height: 20px; }

/* Glas, knappar */
.glass-card { background-color: var(--color-panel); background-image: linear-gradient(to bottom, var(--color-panel-top), var(--color-panel)); border: 1px solid var(--color-panel-rim); box-shadow: var(--shadow-card), var(--glass-bevel); backdrop-filter: blur(16px) saturate(1.3); border-radius: 16px; }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 500; font-size: 14px; border: 0; cursor: pointer; white-space: nowrap; transition: transform 0.25s var(--ease-premium), box-shadow 0.25s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn:active { transform: scale(0.98); transition-duration: 0.08s; }
.btn-primary { background: var(--color-ink-glass); color: #fff; backdrop-filter: blur(12px); }
.btn-white { background: #fff; color: var(--color-ink); box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--color-hairline); }

/* NAV: två delar, vit på mörk hjälte via data-theme. */
.nav { position: fixed; top: 16px; z-index: 40; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background-color: rgba(255, 255, 255, 0.32); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: var(--shadow-card), var(--glass-bevel); backdrop-filter: blur(20px) saturate(1.4); }
.nav.v { left: 50%; transform: translateX(-50%); } .nav.h { right: 24px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 500; background: transparent; box-shadow: none; transition: transform 0.25s var(--ease-premium), background-color 0.2s; }
.nav a:hover { background-color: rgba(255, 255, 255, 0.35); transform: none; }
.nav a:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.nav a.mark { padding: 0 13px; } .nav a.mark svg { width: 17px; height: auto; }
.nav a.mark .namn { display: inline-block; max-width: 60px; overflow: hidden; white-space: nowrap; transition: max-width 0.45s var(--ease-out-quint), opacity 0.3s, margin 0.45s var(--ease-out-quint); }
.nav.ihop a.mark .namn { max-width: 0; opacity: 0; margin-left: -8px; }
.nav a.cta { background: var(--color-brand-deep); color: #fff; box-shadow: none; }

/* HJÄLTEN: 100svh, videon klipps med clip-path när man scrollat 100 px (Lassie: inset(32px round 64px), 1 s ease-out-quint). */
.hero { position: relative; height: 100svh; width: 100vw; display: flex; align-items: center; justify-content: center; }
.hero .media { position: absolute; inset: 0; clip-path: inset(0); transition: clip-path 1s var(--ease-out-quint); will-change: clip-path; }
.hero .media.ihop { clip-path: inset(32px round 64px); }
.hero .media > video { width: 100%; height: 100%; object-fit: cover; }
.hero .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.3)); }
.hero .inne { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; padding: 0 24px; }
.hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); margin-bottom: 40px; }
.hero h1 em { font-style: normal; font-weight: 400; }
.hero .under { margin-bottom: 8px; }
/* Uppgiftsraden: 30 px hög, varje rad glider in underifrån och ut uppåt, var 2,5 s. */
.tasks { position: relative; height: 30px; width: 100%; overflow: hidden; }
.tasks div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; opacity: 0; color: #fff; }
.tasks div p { opacity: 0.7; display: flex; align-items: center; gap: 8px; }
.tasks svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero .falt { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); transition: transform 0.5s var(--ease-out-quint); z-index: 2; }
.hero .falt.upp { transform: translate(-50%, -50px); }
.falt { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 3px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(20px); min-width: 275px; transition: min-width 0.3s ease-out; }
.falt:focus-within { min-width: 360px; }
.falt input { flex: 1; height: 100%; border: 0; background: transparent; padding: 0 16px; font: inherit; font-size: 14px; color: #fff; outline: 0; }
.falt input::placeholder { color: rgba(255, 255, 255, 0.7); }
.falt .btn { height: 42px; border-radius: 11px; }
.ljus .falt { background: rgba(255, 255, 255, 0.85); border-color: var(--color-hairline); }
.ljus .falt input { color: var(--color-ink); } .ljus .falt input::placeholder { color: var(--color-ink-subtle); }

/* MÄRKET BLOMMAR (Lassies "intro": en fallande, stigande rotation −20°→0, skala 0→1,9→1 på en mask, 2 s). */
.intro { width: 100%; display: flex; flex-direction: column; align-items: center; margin: 120px 0 100px; }
.intro .mark { width: 110px; height: 110px; margin-bottom: 36px; display: grid; place-items: center; }
.intro .mark svg { width: 64px; height: auto; overflow: visible; }
.intro .mark .blad { transform-box: view-box; transform: scale(0) rotate(-20deg); opacity: 0; }
.intro.på .mark .blad { animation: blad-upp 760ms var(--ease-out-quint) both; }
.intro.på .mark .blad-orange { animation-delay: 80ms; } .intro.på .mark .blad-magenta { animation-delay: 160ms; }
.intro.på .mark.idle svg { animation: idle 2.87s ease-in-out infinite; transform-origin: 50% 59%; }
@keyframes blad-upp { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 45% { transform: scale(1.9) rotate(-6deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes idle { 0%, 100% { transform: rotate(0); } 32% { rotate: 0deg; transform: rotate(0); } 46% { transform: rotate(3deg); } 61% { transform: rotate(0); } }
.intro h2 { text-align: center; }

/* KORTLEKEN (Lassies FeaturesCarousel): sektionen är 36vw hög, pinnad 2,2 vh. Tre kort absolut staplade, text till vänster/höger om kortet. */
.lek { position: relative; width: 100vw; height: 36vw; max-height: 500px; margin: 0 auto 100px; max-width: 2050px; }
.lek .kort { position: absolute; inset: 0 auto 0 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.lek .kort .inre { position: relative; aspect-ratio: 1100 / 693; height: 100%; top: 20px; }
.lek .desc { position: absolute; top: calc(50% + 45px); max-width: 257px; }
.lek .desc.l { left: 0; transform: translateX(calc(-100% - 28px)); }
.lek .desc.r { right: 0; transform: translateX(calc(100% + 30px)); }
.lek .desc .anim { position: relative; }
.lek .desc h3 { margin-bottom: 12px; text-wrap: balance; }
.lek .desc p { color: var(--color-ink-muted); }
.lek .video { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--kort-radie); background: #F3F1EC; pointer-events: none; }
.lek .video > video, .lek .video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lek .video > video { z-index: 1; }

/* Chippet: Lassies arbetskort, frostat (Oliver valde frost). */
.ai-chip { text-align: left; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: min(460px, 82%); border-radius: 14px; padding: 14px 16px 12px; background-color: var(--color-panel); background-image: linear-gradient(to bottom, var(--color-panel-top), var(--color-panel)); border: 1px solid var(--color-panel-edge); box-shadow: var(--shadow-overlay), var(--glass-bevel); backdrop-filter: blur(24px) saturate(1.4); }
.ai-chip .rad1 { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.ai-chip .ai-mark { width: 18px; height: auto; animation: ai-breathe 2.4s ease-in-out infinite; transform-origin: 50% 59%; }
.ai-chip[data-ready] .ai-mark { animation: ai-bloom 800ms var(--ease-premium) 1; }
@keyframes ai-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes ai-bloom { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.ai-chip .namn { font-size: 13px; font-weight: 500; }
.ai-chip .tanker { background: linear-gradient(90deg, var(--color-ink) 0%, var(--color-ink) 35%, var(--color-ink-subtle) 50%, var(--color-ink) 65%, var(--color-ink) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ai-shimmer 2.2s linear infinite; }
@keyframes ai-shimmer { from { background-position: 110% 0; } to { background-position: -110% 0; } }
.ai-chip .pct { margin-left: auto; font-size: 12px; color: var(--color-ink-subtle); font-variant-numeric: tabular-nums; }
.ai-chip .steg { display: grid; gap: 6px; }
.ai-chip .steg > div { display: grid; grid-template-columns: 18px 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.45); font-size: 12px; color: var(--color-ink-muted); opacity: 0.55; transition: opacity 0.4s, background 0.4s; white-space: nowrap; }
.ai-chip .steg > div > span:not(.v) { overflow: hidden; text-overflow: ellipsis; }
.ai-chip .steg > div.på { opacity: 1; }
.ai-chip .steg > div.klar { background: rgba(16, 185, 129, 0.14); }
.ai-chip .steg i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px dashed rgba(17, 24, 39, 0.3); display: grid; place-items: center; }
.ai-chip .steg > div.på:not(.klar) i { border-style: solid; border-color: rgba(17, 24, 39, 0.22); border-top-color: var(--color-ink); animation: snurr 0.9s linear infinite; }
.ai-chip .steg > div.klar i { border: 0; background: var(--color-positive); }
.ai-chip .steg > div.klar i::after { content: ''; width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(0.5px, -0.5px); }
.ai-chip .steg svg.ik { width: 13px; height: 13px; stroke: var(--color-ink-muted); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ai-chip .steg span.v { color: var(--color-ink-subtle); font-variant-numeric: tabular-nums; font-size: 11px; }
@keyframes snurr { to { transform: rotate(360deg); } }
/* Chippet i kort 2 och 3: Lassies "Keeps you in the loop" börjar som en notisrad och expanderar, "answers your questions" är ett sökfält. */
.ai-chip.notis { width: min(420px, 78%); }
.ai-chip.notis .steg { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.7s var(--ease-out-quint), opacity 0.4s 0.1s; }
.ai-chip.notis.ut .steg { max-height: 160px; opacity: 1; }
.ai-chip.notis .rad1 { margin-bottom: 0; } .ai-chip.notis.ut .rad1 { margin-bottom: 10px; }
.ai-chip.notis .rad1 .tid { margin-left: auto; font-size: 11px; color: var(--color-ink-subtle); }
.ai-chip.notis .rad1 .txt b { display: block; font-size: 13px; font-weight: 500; } .ai-chip.notis .rad1 .txt small { font-size: 11px; color: var(--color-ink-subtle); }
.sok { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: min(330px, 70%); height: 34px; border-radius: 17px; background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-overlay); display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; font-size: 11px; color: var(--color-ink-subtle); }
.sok .plus { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--color-ink-subtle); display: grid; place-items: center; font-size: 10px; line-height: 1; }
.sok .skicka { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-brand-deep); color: #fff; display: grid; place-items: center; font-size: 10px; }
.sok .caret { display: inline-block; width: 1px; height: 12px; background: var(--color-ink); animation: caret 1.1s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* SIFFRAN (Lassies Infographic): pinnad 2,2 vh; korten på en ellips. */
.info { position: relative; width: 100%; min-height: 100svh; display: flex; align-items: center; justify-content: center; }
.info .mitt { position: relative; height: 240px; width: 100%; }
.info .mitt > div { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.info .tal { font-variant-numeric: tabular-nums; }
.info .rubriker { display: grid; width: 100%; place-items: center; }
.info .rubriker h2 { grid-column: 1; grid-row: 1; width: 100%; text-align: center; }
.info .rubriker h2.andra { opacity: 0; }
.info .lager { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.info .el { position: absolute; left: 50%; top: 50%; opacity: 0; }
.info .el.foto { overflow: hidden; border-radius: 26px; position: absolute; }
.info .el.foto img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.info .f-tl { width: 236px; height: 261px; } .info .f-tr { width: 273px; height: 277px; } .info .f-br { width: 238px; height: 228px; }
.info .el.ruta { width: 300px; }
.ruta { padding: 12px 14px; border-radius: 14px; background: var(--color-surface); box-shadow: var(--shadow-overlay); }
.ruta .h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.ruta .r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--color-hairline-soft); font-size: 12px; color: var(--color-ink-muted); }
.ruta .r:first-of-type { border-top: 0; }
.ruta .r b { color: var(--color-ink); font-weight: 500; font-variant-numeric: tabular-nums; font-family: var(--font-sans); }
.ruta .r .ok { color: var(--color-positive); font-weight: 500; }
.ruta .kanal { display: flex; align-items: center; gap: 8px; } .ruta .kanal img { width: 14px; height: 14px; }
.ruta .steg2 { display: grid; gap: 4px; margin-top: 4px; }
.ruta .steg2 div { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; height: 28px; padding: 0 8px; border-radius: 6px; background: var(--color-shell); font-size: 11px; color: var(--color-ink-muted); }
.ruta .steg2 i { width: 12px; height: 12px; border-radius: 50%; background: var(--color-positive); display: grid; place-items: center; } .ruta .steg2 i::after { content: ''; width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(0.5px, -0.5px); }
.ruta .steg2 span.v { color: var(--color-ink-subtle); font-variant-numeric: tabular-nums; }
.ruta .mono { font-size: 11px; color: var(--color-positive); font-variant-numeric: tabular-nums; }

/* AVSLUT */
.avslut { padding: 40px 16px 0; }
.avslut .ram { position: relative; border-radius: var(--kort-radie); overflow: hidden; min-height: 70svh; display: grid; place-items: center; text-align: center; color: #fff; }
.avslut .ram > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avslut .ram::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25)); }
.avslut .inne { position: relative; z-index: 1; padding: 60px 24px; display: flex; flex-direction: column; align-items: center; }
.avslut .mark { width: 48px; margin-bottom: 22px; } .avslut .mark svg { width: 100%; height: auto; overflow: visible; }
.avslut .mark .blad { fill: #fff; transform-box: view-box; transform: scale(0) rotate(-20deg); opacity: 0; }
.avslut .mark.på .blad { animation: blad-upp 760ms var(--ease-out-quint) both; }
.avslut .mark.på .blad-orange { animation-delay: 80ms; } .avslut .mark.på .blad-magenta { animation-delay: 160ms; }
.avslut h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.avslut .falt { margin-top: 30px; }

footer { position: relative; margin-top: 90px; padding: 60px 0 0; overflow: hidden; background: linear-gradient(#f7f6f2, #e3f2fb); }
footer .wrap { width: min(1120px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; font-size: 13px; padding-bottom: 50px; }
footer h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
footer .kol p { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-ink-subtle); margin-bottom: 10px; font-weight: 500; }
footer .kol a { display: block; margin-bottom: 6px; color: var(--color-ink-muted); transition: color 0.2s; } footer .kol a:hover { color: var(--color-ink); }
footer .jatte { font-size: min(27vw, 380px); line-height: 0.74; font-weight: 600; letter-spacing: -0.04em; color: #fff; text-align: center; margin-bottom: -0.1em; pointer-events: none; }
footer .fin { text-align: center; font-size: 11px; color: var(--color-ink-subtle); padding: 8px 0 18px; }

@media (max-width: 1279px) {
  .hero .media.ihop { clip-path: inset(16px round 24px); }
  .lek { height: 75svh; max-height: 700px; } .lek .kort .inre { aspect-ratio: 975 / 614; height: 90%; top: 40px; }
  .lek .desc { top: -20px; transform: translateY(-100%) !important; left: 0 !important; right: auto !important; max-width: 500px; }
  .nav.h { display: none; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .lek .video { border-radius: 56px; }
}
@media (prefers-reduced-motion: reduce) { .intro .mark .blad, .avslut .mark .blad { opacity: 1; transform: none; animation: none; } }

/* KORT 2, SCENEN: en animerad sekvens inne i kortet, som Lassies inspelade gränssnitt. Fyra kort som turas om: larm → arbete (steg bockas) → fråga (knappar) → kvittens. GSAP styr. */
.scen { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.notis-k { position: absolute; left: 50%; top: 50%; width: 420px; box-sizing: border-box; border-radius: 14px; padding: 12px 14px; opacity: 0; background-color: var(--color-panel); background-image: linear-gradient(to bottom, var(--color-panel-top), var(--color-panel)); border: 1px solid var(--color-panel-edge); box-shadow: var(--shadow-overlay), var(--glass-bevel); backdrop-filter: blur(24px) saturate(1.4); text-align: left; will-change: transform, opacity; }
.notis-k .rad1 { display: flex; align-items: center; gap: 10px; }
.notis-k .ai-mark { width: 18px; height: auto; flex: none; }
.notis-k .txt { flex: 1; min-width: 0; } .notis-k .txt b { display: block; font-size: 13px; font-weight: 500; } .notis-k .txt small { display: block; font-size: 11px; color: var(--color-ink-subtle); }
.notis-k .tid { font-size: 11px; color: var(--color-ink-subtle); align-self: flex-start; }
.notis-k .namn { font-size: 13px; font-weight: 500; }
.notis-k .tanker { background: linear-gradient(90deg, var(--color-ink) 0%, var(--color-ink) 35%, var(--color-ink-subtle) 50%, var(--color-ink) 65%, var(--color-ink) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ai-shimmer 2.2s linear infinite; }
.notis-k.arbete .ai-mark { animation: ai-breathe 2.4s ease-in-out infinite; transform-origin: 50% 59%; }
.notis-k .steg { display: grid; gap: 6px; margin-top: 10px; }
.notis-k .steg > div { display: grid; grid-template-columns: 18px 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.45); font-size: 12px; color: var(--color-ink-muted); opacity: 0; transform: translateY(6px); white-space: nowrap; }

.notis-k .steg > div > span:not(.v) { overflow: hidden; text-overflow: ellipsis; }
.notis-k .steg > div.klar { background: rgba(16, 185, 129, 0.14); }
.notis-k .steg i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px dashed rgba(17, 24, 39, 0.3); display: grid; place-items: center; }
.notis-k .steg > div.pågår:not(.klar) i { border-style: solid; border-color: rgba(17, 24, 39, 0.22); border-top-color: var(--color-ink); animation: snurr 0.9s linear infinite; }
.notis-k .steg > div.klar i { border: 0; background: var(--color-positive); }
.notis-k .steg > div.klar i::after { content: ''; width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(0.5px, -0.5px); }
.notis-k .steg svg.ik { width: 13px; height: 13px; stroke: var(--color-ink-muted); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notis-k .steg span.v { color: var(--color-ink-subtle); font-variant-numeric: tabular-nums; font-size: 11px; }
.notis-k .knappar { display: flex; gap: 6px; margin-top: 10px; }
.notis-k .btn-k { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; font-size: 12px; font-weight: 500; background: #fff; color: var(--color-ink); box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--color-hairline); }
.notis-k .btn-k.ja { background: var(--color-ink-glass); color: #fff; box-shadow: none; }
.notis-k .bock { width: 18px; height: 18px; border-radius: 50%; background: var(--color-positive); display: grid; place-items: center; flex: none; }
.notis-k .bock svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.notis-k .pek { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: rgba(17, 24, 39, 0.5); box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.12); opacity: 0; pointer-events: none; }

/* Kort 1: svaret som skrivs fram efter stegen. */
.ai-chip .svar { display: block; margin-top: 2px; overflow: hidden; }
.ai-chip .svar .text { font-size: 12.5px; line-height: 1.5; color: var(--color-ink); white-space: pre-wrap; }
.ai-chip .svar .text::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -0.15em; background: var(--color-brand-deep); animation: ai-caret-fade 1.2s ease-in-out infinite; }
.ai-chip .svar.klar .text::after { display: none; }
@keyframes ai-caret-fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.ai-chip .svar .knappar { display: flex; gap: 6px; margin-top: 10px; opacity: 0; }
.ai-chip .btn-k { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; font-size: 12px; font-weight: 500; background: #fff; color: var(--color-ink); box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--color-hairline); }
.ai-chip .btn-k.ja { background: var(--color-ink-glass); color: #fff; box-shadow: none; }
.ai-chip .steg > div { will-change: transform, opacity; }

/* ===== TEAMET ===== */
/* TEAMET. Ett videokort (som de andra korten) som fyller sektionen; tre porträttkort i rad ovanpå. Linjerna: tjock mjuk glow-linje + tunn ljus kärna + ett ljus som vandrar längs banan (SVG offset-path). Pinnas, scrubbas. */
.team { position: relative; width: 100%; height: 100svh; overflow: hidden; padding: 16px; }
.team .ram { position: relative; width: 100%; height: 100%; border-radius: var(--kort-radie); overflow: hidden; background: #0b1220; }
.team .ram > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team .ram::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(5, 10, 20, .35), rgba(5, 10, 20, .15) 40%, rgba(5, 10, 20, .55)); }
.team .topp { position: absolute; left: 0; right: 0; top: clamp(36px, 6vh, 64px); text-align: center; padding: 0 24px; color: #fff; z-index: 2; }
.team .topp h2 { margin-bottom: 8px; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.team .topp p { color: rgba(255, 255, 255, .8); max-width: 46ch; margin: 0 auto; }
.scen { position: absolute; left: 50%; top: 52%; width: 0; height: 0; z-index: 2; }
.kort-p { position: absolute; width: 224px; height: 280px; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); background: #ddd; transform: translate(-50%, -50%); will-change: transform; }
.kort-p img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kort-p { background: #f4f4f2; }
.kort-p .namn { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); }
.kort-p .namn b { display: block; font-size: 13px; font-weight: 600; color: var(--color-ink); }
.kort-p .namn small { font-size: 11px; color: var(--color-ink-muted); }
.kort-p .ring { position: absolute; inset: 0; border-radius: 22px; box-shadow: inset 0 0 0 2px var(--c), 0 0 24px 0 color-mix(in srgb, var(--c) 55%, transparent); opacity: 0; }
.k1 { --c: #20a7e2; left: -270px; top: 0; } .k2 { --c: #f58038; left: 0; top: 0; } .k3 { --c: #d05bcb; left: 270px; top: 0; }
svg.linjer { position: absolute; left: -560px; top: -300px; width: 1120px; height: 600px; overflow: visible; pointer-events: none; }
svg.linjer path.glow { fill: none; stroke-width: 10; stroke-linecap: round; opacity: .35; filter: url(#blur); }
svg.linjer path.karna { fill: none; stroke-width: 2; stroke-linecap: round; }
svg.linjer circle.ljus { fill: #fff; filter: url(#glow); opacity: 0; }
.bubbla { position: absolute; left: 0; top: 0; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .6); display: grid; place-items: center; transform: scale(0); }
.bubbla svg { width: 46px; height: auto; }
.bubbla::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(from 0deg, #20a7e2, #f58038, #d05bcb, #20a7e2); filter: blur(14px); opacity: .55; z-index: -1; }
.puls { position: absolute; left: 0; top: 0; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); transform: scale(0); opacity: 0; }
.kanal { position: absolute; left: 0; top: 0; margin: -21px 0 0 -62px; display: flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; background-color: rgba(255, 255, 255, .34); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .6); font-size: 13px; transform: scale(0); opacity: 0; white-space: nowrap; color: #fff; }
.kanal .ik { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.kanal .ik img { width: 30px; height: 30px; display: block; }

.kanal b { font-weight: 500; }
.under { position: absolute; left: -300px; width: 600px; top: 250px; text-align: center; opacity: 0; color: #fff; }
.under b { font-size: 18px; font-weight: 600; display: block; margin-bottom: 4px; }
.under span { color: rgba(255, 255, 255, .75); font-size: 14px; }

.team { margin: 40px 0 0; position: relative; z-index: 3; background: var(--paper); }
.info { margin-top: 20vh; overflow: hidden; }

/* Kort 2, sista beatet: mejlet kunden fick. */
.notis-k.mejl { width: 440px; padding: 10px 10px 10px; }
.notis-k.mejl .mejlhuvud { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; }
.notis-k.mejl img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
/* Bockar/snurror styrs av GSAP via data-läge, inte klasser, så de scrubbas baklänges. */
.notis-k .steg i, .ai-chip .steg i { transition: none; }

/* ===== MOBIL (< 768) ===== */
html, body { overflow-x: clip; }
.hero { width: 100%; }
.falt { max-width: 100%; } .falt input { min-width: 0; width: 100%; }
@media (max-width: 767px) {
  .h-xl { font-size: clamp(40px, 11vw, 50px); }
  .h-lg { font-size: clamp(30px, 8.5vw, 36px); }
  .nav { top: 12px; } .nav a { height: 36px; padding: 0 12px; font-size: 13px; }
  .hero .media.ihop { clip-path: inset(10px round 20px); }
  .hero h1 { margin-bottom: 28px; }
  .hero .falt { width: calc(100% - 32px); }
  .hero .falt.upp { transform: translate(-50%, -24px); }
  .intro { margin: 80px 0 60px; } .intro h2 { padding: 0 20px; }
  /* Kortleken: kortet stående, så brett som skärmen. */
  .lek { height: 78svh; max-height: none; margin-bottom: 40px; }
  .lek .kort .inre { width: calc(100vw - 32px); height: auto; aspect-ratio: 3 / 4; top: 130px; }
  .lek .desc { top: -16px; max-width: 100%; padding: 0 4px; }
  .lek .desc h3 { margin-bottom: 6px; }
  .lek .video { border-radius: 28px; }
  .ai-chip { width: calc(100% - 32px); padding: 12px 12px 10px; }
  .ai-chip .steg > div { padding: 0 8px; gap: 6px; }
  .notis-k { width: calc(100% - 32px); } .notis-k.mejl { width: calc(100% - 24px); }
  .sok { width: calc(100% - 48px); }
  /* Teamet: hela scenen skalas (linjerna sitter i samma koordinater), texterna är ritade större så de landar på läsbar storlek efter skalningen. */
  .team { padding: 10px; }
  .team .ram { border-radius: 28px; }
  .team .topp { top: 28px; padding: 0 16px; } .team .topp p { font-size: 14px; line-height: 20px; }
  .team .scen { top: 54%; transform: scale(.46); transform-origin: 0 0; }
  .kort-p { border-radius: 30px; } .kort-p .ring { border-radius: 30px; box-shadow: inset 0 0 0 4px var(--c), 0 0 40px 0 color-mix(in srgb, var(--c) 55%, transparent); }
  .kort-p .namn { left: 18px; right: 18px; bottom: 18px; padding: 14px 20px; border-radius: 18px; }
  .kort-p .namn b { font-size: 26px; } .kort-p .namn small { font-size: 22px; }
  .bubbla { width: 120px; height: 120px; margin: -60px 0 0 -60px; } .bubbla svg { width: 54px; }
  .puls { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
  .kanal { margin: -45px 0 0 -120px; gap: 16px; padding: 13px 28px 13px 13px; font-size: 28px; border-radius: 999px; }
  .kanal .ik { width: 64px; height: 64px; } .kanal .ik img { width: 64px; height: 64px; }
  .under { top: 470px; left: -350px; width: 700px; }
  .under b { font-size: 38px; margin-bottom: 8px; } .under span { font-size: 30px; }
  .team { margin-top: 20px; }
  /* Siffran: mindre foton och rutor. */
  .info { margin-top: 10vh; min-height: 90svh; }
  .info .f-tl { width: 120px; height: 134px; } .info .f-tr { width: 140px; height: 142px; } .info .f-br { width: 122px; height: 118px; }
  .info .el.foto { border-radius: 16px; }
  .info .el.ruta { width: 210px; padding: 10px 12px; }
  .info .mitt > div { padding: 0 16px; }
  /* Avslut och fot. */
  .avslut { padding: 24px 10px 0; } .avslut .ram { border-radius: 28px; min-height: 80svh; }
  .avslut .inne { padding: 48px 16px; width: 100%; }
  .avslut .falt { width: 100%; }
  footer { margin-top: 50px; padding-top: 44px; }
  footer .wrap { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
}
/* Navet: fixed + left 50 % ger bara halva skärmen som tillgänglig bredd, så pillen vek sig i mobil. */
.nav.v { width: max-content; white-space: nowrap; }
@media (max-width: 767px) {
  /* Scenen i kort 2 är 0 px bred (delar regel med teamets scen), så procent går inte: mät mot skärmen. */
  .notis-k { width: calc(100vw - 72px); } .notis-k.mejl { width: calc(100vw - 60px); }
  .notis-k .steg > div { padding: 0 8px; gap: 6px; }
  .info .el.ruta { width: 176px; } .info .el.ruta .h { font-size: 11px; }
  .info .f-tl { width: 104px; height: 118px; } .info .f-tr { width: 118px; height: 120px; } .info .f-br { width: 108px; height: 104px; }
}
/* Surfplatta (768–1279): kortet så brett som skärmen minus marginal, texten ovanför. */
@media (min-width: 768px) and (max-width: 1279px) {
  .lek { height: auto; max-height: none; padding-top: 140px; }
  .lek .kort { inset: 0; }
  .lek .kort .inre { width: calc(100vw - 48px); height: auto; aspect-ratio: 975 / 614; top: 0; }
  .lek .desc { top: -24px; }
  .notis-k { width: min(420px, calc(100vw - 120px)); } .notis-k.mejl { width: min(440px, calc(100vw - 110px)); }
}
/* Mobil: namnet under porträttet i stället för över ansiktet. Kortet är högre, flyttat upp lika mycket så linjerna fortfarande går ut under det. */
@media (max-width: 767px) {
  .kort-p { height: 360px; top: -60px; display: flex; flex-direction: column; background: rgba(255, 255, 255, .92); }
  .kort-p img { height: 240px; flex: none; }
  .kort-p .namn { position: static; flex: 1; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 0 18px; border-radius: 0; background: transparent; backdrop-filter: none; }
  .kort-p .namn b { font-size: 22px; white-space: nowrap; } .kort-p .namn small { font-size: 19px; }
}

/* KORT 3, SCENEN: frågan skrivs i fältet, fältet glider upp, svaret byggs under: ingress, två paketrader som skjuts in i ett svep, knappar. Scrubbas. */
.scen3 { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sok .ph { color: var(--color-ink-subtle); } .sok .fraga { color: var(--color-ink); white-space: nowrap; }
.sok .fraga:empty + .caret { display: none; } .sok.klar .caret { display: none; }
.sok .ph { transition: none; }
.notis-k.svar3 { width: 400px; padding: 12px 14px 12px; }
.notis-k.svar3 .rad1 .namn { font-size: 13px; font-weight: 500; } .notis-k.svar3 .tid { margin-left: auto; align-self: center; }
.notis-k.svar3 .ingress { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--color-ink); }
.notis-k.svar3 .paket { display: grid; gap: 5px; margin-top: 8px; }
.notis-k.svar3 .paket > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto auto; align-items: center; gap: 9px; height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .55); font-size: 12px; color: var(--color-ink-muted); white-space: nowrap; opacity: 0; transform: translateY(10px); }
.notis-k.svar3 .paket i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.notis-k.svar3 .paket b { color: var(--color-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.notis-k.svar3 .paket .var { color: var(--color-ink-subtle); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.notis-k.svar3 .paket em { font-style: normal; font-size: 11px; font-weight: 500; color: #b45309; background: rgba(245, 158, 11, .16); padding: 2px 7px; border-radius: 999px; }
.notis-k.svar3 .knappar { opacity: 0; }
@media (max-width: 767px) { .notis-k.svar3 .paket > div { grid-template-columns: 8px minmax(0, 1fr) auto; } .notis-k.svar3 .paket .var { display: none; } }
@media (max-width: 767px) { .notis-k.svar3 { width: calc(100vw - 72px); } }
/* Platshållaren tas ur flödet när frågan skrivs, annars knuffar den texten till höger. */
.sok.skriver .ph { display: none; }

/* Formulären: honungsfältet syns inte; efter skickat byter fältet till ett tack. */
.falt .webb { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.falt.skickar .btn { opacity: .6; pointer-events: none; }
.falt.tack { justify-content: center; } .falt.tack input, .falt.tack .btn { display: none; }
.falt .tackrad { display: none; align-items: center; gap: 8px; padding: 0 18px; font-size: 14px; color: #fff; white-space: nowrap; }
.falt.tack .tackrad { display: flex; } .ljus .falt .tackrad { color: var(--color-ink); }
.falt .tackrad svg { width: 16px; height: 16px; stroke: var(--color-positive); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.falt .fel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); text-align: center; font-size: 12px; color: #fff; opacity: 0; transition: opacity .2s; }
.ljus .falt .fel { color: var(--color-negative); } .falt.misslyckat .fel { opacity: 1; }
.falt { position: relative; } .hero .falt { position: absolute; }

/* Hjältens botten: fältet och raden "Har du redan ett konto?" flyttas ihop när videon kläms ihop. */
.hero .botten { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: transform 0.5s var(--ease-out-quint); }
.hero .botten.upp { transform: translate(-50%, -50px); }
.hero .falt, .hero .falt.upp { position: relative; bottom: auto; left: auto; transform: none; }
.hero .konto { font-size: 13px; color: rgba(255, 255, 255, 0.8); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3); }
.hero .konto a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.hero .konto a:hover { text-decoration-color: #fff; }
@media (max-width: 767px) { .hero .botten { width: calc(100% - 32px); } .hero .falt { width: 100%; } .hero .botten.upp { transform: translate(-50%, -24px); } }
/* Felraden är osynlig tills ett skick misslyckas, och ska inte ta klick från raden under fältet. */
.falt .fel { pointer-events: none; }
