/* Leadrion · landningssidor per bransch. Samma tokens och glans som startsidan. */
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 102.7%; ascent-override: 98%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"), local("Times"), local("Liberation Serif"); size-adjust: 82.4%; ascent-override: 120%; descent-override: 37.6%; line-gap-override: 0%; }

:root {
  --salt: #07090D; --salt-50: #0C0F15; --olive: #F3F5F8; --olive-900: #FFFFFF; --olive-muted: #9AA3AF; --pink: #FF4FAB;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --serif: "Instrument Serif", "Instrument Serif Fallback", "Times New Roman", serif;
  --sans: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); --max: 1160px; --target: 44px;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease: cubic-bezier(.4, 0, .6, 1);
  --gloss-fill: linear-gradient(160deg, rgba(255,255,255,0.114) 0%, rgba(255,255,255,0.06) 55%, rgba(255,255,255,0.077) 100%);
  --gloss-sheen: linear-gradient(180deg, rgba(255,255,255,0.087) 0%, rgba(255,255,255,0.01) 40%);
  --gloss-edge: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(255,255,255,0.06), 0 0 0 1px var(--line);
  --gloss-lift: 0 1px 2px rgba(0,0,0,0.196), 0 24px 48px -32px rgba(0,0,0,0.708);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--salt); }
body { margin: 0; background: var(--salt); color: var(--olive); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-kerning: normal; overflow-x: clip; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 500; line-height: 1.35; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.mute { color: var(--olive-muted); }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--olive); color: var(--salt-50); }
.skip:focus { top: 12px; }

/* Glas */
.glass { position: relative; isolation: isolate; background: var(--gloss-fill); border-radius: 22px; -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: var(--gloss-edge), var(--gloss-lift); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; background: var(--gloss-sheen); }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 17px; transition: transform .5s var(--ease-out), filter .3s var(--ease), box-shadow .5s var(--ease-out); }
.btn:active { transform: scale(.97); transition-duration: .15s; }
.btn-sm { min-height: var(--target); padding: 0 18px; font-size: 14px; }
.btn-pink { 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); }
.btn-glass { color: var(--olive); background: var(--gloss-fill); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--gloss-edge), var(--gloss-lift); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); filter: brightness(1.04); } }
.text-link { display: inline-flex; align-items: center; min-height: var(--target); font-weight: 500; transition: color .3s var(--ease); }
.text-link:hover { color: var(--olive-muted); }

/* Meny */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: max(14px, env(safe-area-inset-top)) var(--gutter) 0; }
.nav { max-width: 1120px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 8px 0 22px; border-radius: 999px; background: var(--gloss-fill); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: var(--gloss-edge), var(--gloss-lift); }
.wordmark { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; padding: 9px 0; }
.wordmark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-left: 2px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { display: flex; align-items: center; min-height: var(--target); padding: 0 14px; font-size: 14px; color: var(--olive-muted); border-radius: 999px; transition: color .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--olive); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--line); }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--gutter) 0; text-align: center; display: grid; justify-items: center; }
.kicker { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-muted); }
.hero h1 { margin-top: 18px; font-size: clamp(46px, 7vw, 96px); line-height: 1; letter-spacing: -0.03em; max-width: 14em; }
.lede { margin-top: 24px; max-width: 46ch; font-size: 19px; color: var(--olive-muted); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Produkten: webbläsare och telefon */
.showcase { position: relative; width: 100%; margin-top: clamp(48px, 7vw, 88px); padding-bottom: 40px; }
.browser { padding: 34px 10px 10px; border-radius: 22px; max-width: 1000px; margin: 0 auto; }
.browser img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.dots { position: absolute; top: 13px; left: 18px; display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.phone { position: absolute; right: max(0px, calc(50% - 560px)); bottom: 0; width: clamp(150px, 19vw, 220px); padding: 8px; border-radius: 34px; 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); }
.phone img { width: 100%; border-radius: 27px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }

/* Sektioner */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 12vw, 152px) var(--gutter) 0; }
.statement { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.1; letter-spacing: -0.015em; max-width: 22em; margin-bottom: 40px; }
.note { margin-top: 24px; font-size: 14px; color: var(--olive-muted); max-width: 64ch; }
.note a { text-decoration: underline; text-underline-offset: 3px; }

/* Problem */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quote { padding: 28px 30px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.01em; }

/* Möjligheter */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 26px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; }
.card p { color: var(--olive-muted); font-size: 16px; }

/* Mörkt band (e-handel: ingen app) */
.dark-band { margin-top: clamp(96px, 12vw, 152px); padding: clamp(80px, 11vw, 140px) var(--gutter); background: radial-gradient(50% 60% at 85% 20%, rgba(0,0,0,0.55), transparent 70%), var(--olive); color: var(--salt-50); }
.dark-in { max-width: 860px; margin: 0 auto; }
.dark-band h2 { font-size: clamp(36px, 4.6vw, 60px); }
.dark-band p { margin-top: 22px; font-size: 19px; color: rgba(243,245,248,0.75); max-width: 56ch; }

/* Nivåer */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.tier { padding: 10px; overflow: hidden; }
.tier-shot { display: block; border-radius: 14px; overflow: hidden; }
.tier-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .tier-shot:hover img { transform: scale(1.04); } }
.tier-body { padding: 20px 16px 10px; display: grid; gap: 10px; }
.tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.tier-time { font-size: 13px; color: var(--olive-muted); white-space: nowrap; }
.tier-for { color: var(--olive-muted); font-size: 16px; }
.ticks { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }

/* Integrationer */
.integr-head .statement { margin-bottom: 0; }
.integr-head .note { margin: 14px 0 32px; }
.integr-list { border-top: 1px solid var(--line); }
.integr-list li { display: grid; grid-template-columns: 280px 1fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.integr-list b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.integr-list span { color: var(--olive-muted); }

/* Steg */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 24px; display: grid; gap: 8px; align-content: start; }
.step-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; padding-top: 3px; font-family: var(--serif); font-size: 26px; color: var(--salt-50); background: radial-gradient(circle at 35% 28%, rgb(17 21 28), var(--olive) 58%, var(--olive-900)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.049), 0 10px 20px -10px rgba(0,0,0,0.85); margin-bottom: 10px; }
.step p { color: var(--olive-muted); font-size: 16px; }

/* Frågor */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: linear-gradient(var(--olive), var(--olive)) center / 11px 1.5px no-repeat, linear-gradient(var(--olive), var(--olive)) center / 1.5px 11px no-repeat, rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px var(--line); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p { padding: 0 24px 22px; color: var(--olive-muted); max-width: 60ch; }

/* Avslut */
.final-card { padding: clamp(40px, 6vw, 72px) 24px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.final-card h2 { font-size: clamp(40px, 5vw, 64px); }
.final-card .mute { max-width: 44ch; margin-bottom: 8px; }
.also { margin-top: 24px; text-align: center; font-size: 15px; color: var(--olive-muted); }
.also a { color: var(--olive); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }

/* Översikt */
.hub h1 { max-width: 12em; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub-card { padding: 10px; display: grid; gap: 14px; transition: transform .5s var(--ease-out); }
.hub-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; border-radius: 14px; }
.hub-card > div { padding: 4px 12px 8px; display: grid; gap: 6px; }
.hub-card h2 { font-size: 32px; }
@media (hover: hover) { .hub-card:hover { transform: translateY(-3px); } }

/* Sidfot */
.foot { max-width: var(--max); margin: clamp(96px, 12vw, 152px) auto 0; padding: 28px var(--gutter) max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; color: var(--olive-muted); }
.foot-links { display: flex; gap: 0 22px; flex-wrap: wrap; }
.foot-links a { min-height: var(--target); display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--olive); }

/* Rörelse */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); filter: blur(10px); } }
@media (prefers-reduced-motion: no-preference) {
  .reveal-now { animation: rise-in 1.3s var(--ease-out) both; }
  .reveal-now:nth-child(2) { animation-delay: .12s; } .reveal-now:nth-child(3) { animation-delay: .26s; }
  .reveal-now:nth-child(4) { animation-delay: .4s; } .reveal-now:nth-child(5) { animation-delay: .55s; }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .cards, .tiers, .steps, .hub-grid { grid-template-columns: 1fr; }
  .integr-list li { grid-template-columns: 1fr; }
  .phone { right: 4%; width: 32%; }
  .showcase { padding-bottom: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .quotes { grid-template-columns: 1fr; }
  .lede { font-size: 17px; }
  .ctas { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
  .browser { padding-top: 26px; border-radius: 16px; }
  .dots { top: 9px; left: 12px; }
  .dots i { width: 7px; height: 7px; }
  .phone { padding: 5px; border-radius: 24px; }
  .phone img { border-radius: 20px; }
  .foot { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }
}
