/* alternativ3.usenumera.se. Formspråk: en kassabok. Kritvitt papper med svaga linjer och en röd marginallinje,
   Fraunces (variabel serif med optisk storlek) i rubriker, Instrument Sans i brödtext, en koboltblå accent och en röd
   stämpel. Rörelse berättar: kvittot kommer in, läses, förstås och bokförs. Inget ärvs från site.css. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/_s/alternativ3/fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/_s/alternativ3/fonts/fraunces-latin-opsz-italic.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/_s/alternativ3/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); }

:root {
  --chalk: #EEEBE3;
  --paper: #F8F6F0;
  --paper-2: #E6E2D7;
  --ink: #15160F;
  --ink-2: #4E4F47;
  --ink-3: #87867C;
  --line: #D8D4C8;
  --line-2: #C5C0B2;
  --rule: rgba(21, 22, 15, .09);
  --blue: #1F34C8;
  --blue-2: #1628A8;
  --blue-wash: #E3E7F8;
  --red: #C4321C;
  --dark: #121410;
  --dark-2: #1B1E19;
  --dark-ink: #ECEAE2;
  --dark-ink-2: #A9A89E;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.2, 1.35, .35, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--wrap), calc(100% - 2 * clamp(18px, 4vw, 48px))); margin: 0 auto; }

/* ───── Typografi */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; margin: 0; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(44px, 5.9vw, 84px); line-height: .98; }
h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; margin-bottom: 20px; max-width: 16em; }
h3 { font-size: 24px; line-height: 1.2; font-variation-settings: "opsz" 36; }
.it { font-style: italic; color: var(--blue); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 32em; }
.lede.light { color: var(--dark-ink-2); }
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow.light { color: #9AA9FF; }
.fine { font-size: 14px; color: var(--ink-3); margin: 0; }

/* ───── Knappar och länkar */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate;
  padding: 13px 24px; border-radius: 999px; background: var(--ink); color: var(--chalk); font-weight: 500; font-size: 16px;
  line-height: 1.2; white-space: nowrap; cursor: pointer; border: 0; transition: transform .35s var(--spring), background .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(101%); transition: transform .45s var(--out); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.big { padding: 17px 30px; font-size: 17px; }
.btn.wide { width: 100%; }
.link { font-weight: 500; position: relative; padding-bottom: 2px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .4s var(--out); }
.link:hover::after { transform: scaleX(0); transform-origin: left; }
.link.big { font-size: 17px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin: 30px 0 14px; }
.cta-row.center { justify-content: center; }

/* ───── Läsframsteg och topp */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--chalk) 86%, transparent); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.mark { font-family: var(--display); font-size: 27px; letter-spacing: -0.02em; font-variation-settings: "opsz" 36; }
.mark i { font-style: normal; color: var(--blue); }
.top nav { display: flex; gap: 24px; margin-left: 16px; font-size: 15px; color: var(--ink-2); }
.top nav a { position: relative; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--out); transform-origin: left; }
.top nav a:hover::after { transform: scaleX(1); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 15px; }
.top-actions .btn { padding: 10px 18px; font-size: 15px; }

/* ───── Hjälte */
.hero {
  position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), transparent),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px);
  background-attachment: local;
}
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(18px, 4vw, 48px); width: 1px; background: color-mix(in srgb, var(--red) 35%, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .lede { margin-top: 24px; }
.h1-line { display: block; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ink); }
.hp { display: inline-flex; align-items: baseline; gap: 4px; }
.hp b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
.hp span { color: var(--ink-2); font-size: 16px; }
.hp-sep { width: 1px; height: 26px; background: var(--line-2); align-self: center; }
.hp-free { margin-left: auto; font-weight: 500; color: var(--blue); background: var(--blue-wash); padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.hero .fine { margin-top: 0; }

/* Scenen */
.scene-wrap { position: relative; }
.scene { position: relative; aspect-ratio: 1 / 1; perspective: 1400px; }
.desk { position: absolute; inset: 0; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(21, 22, 15, .35); overflow: hidden; }
.desk::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 27px, var(--rule) 27px 28px); }
.desk::after { content: ""; position: absolute; top: 0; bottom: 0; left: 9%; width: 1px; background: color-mix(in srgb, var(--red) 40%, transparent); }

.receipt {
  position: absolute; left: 6%; top: 8%; width: 40%; padding: 16px 14px 20px; background: #fff; color: var(--ink);
  font-family: var(--mono); font-size: 11px; line-height: 1.45; letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 40px -18px rgba(21, 22, 15, .45);
  transform-origin: 50% 0; will-change: transform; display: grid; gap: 3px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 96% 100%, 92% calc(100% - 6px), 88% 100%, 84% calc(100% - 6px), 80% 100%, 76% calc(100% - 6px), 72% 100%, 68% calc(100% - 6px), 64% 100%, 60% calc(100% - 6px), 56% 100%, 52% calc(100% - 6px), 48% 100%, 44% calc(100% - 6px), 40% 100%, 36% calc(100% - 6px), 32% 100%, 28% calc(100% - 6px), 24% 100%, 20% calc(100% - 6px), 16% 100%, 12% calc(100% - 6px), 8% 100%, 4% calc(100% - 6px), 0 100%);
}
.rc-shop { font-weight: 700; letter-spacing: .08em; text-align: center; font-size: 12px; }
.rc-meta { text-align: center; color: var(--ink-3); font-size: 10px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.rc-row, .rc-total { display: flex; justify-content: space-between; gap: 8px; padding: 2px 4px; border-radius: 3px; transition: background .4s, color .4s; white-space: nowrap; }
.rc-row.read { background: var(--blue-wash); color: var(--blue); }
.rc-row.read.private { background: #F7E7E3; color: var(--red); }
.rc-row i, .rc-total i { font-style: normal; }
.rc-total { font-weight: 700; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line-2); }
.rc-vat { color: var(--ink-3); font-size: 10px; }
.rc-bar { height: 22px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .85; }
.scan { position: absolute; left: 5%; width: 42%; height: 2px; top: 9%; background: var(--blue); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--blue) 45%, transparent); opacity: 0; }

.notes {
  position: absolute; right: 5%; top: 8%; width: 45%; display: grid; gap: 7px; font-size: 13px; line-height: 1.4;
}
.notes-head { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 40%, transparent); }
.notes.live .pulse { animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px transparent; } }
.note { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--out), transform .5s var(--out); color: var(--ink-2); }
.note.on { opacity: 1; transform: none; }
.note-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); margin-top: 3px; position: relative; transition: border-color .3s, background .3s; }
.note.done .note-dot { border-color: var(--blue); background: var(--blue); }
.note.done .note-dot::after { content: ""; position: absolute; left: 3.5px; top: 1.5px; width: 4px; height: 7px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); }
.note-text { display: block; }

.voucher {
  position: absolute; right: 5%; bottom: 5%; width: 58%; padding: 14px 16px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 24px 50px -30px rgba(21, 22, 15, .45); font-size: 12.5px; display: grid; gap: 0;
  opacity: 0; transform: translateY(16px); transition: opacity .6s var(--out), transform .6s var(--out);
}
.voucher.on { opacity: 1; transform: none; }
.v-head { display: flex; align-items: baseline; gap: 10px; padding-right: 120px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.v-tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.v-title { font-family: var(--display); font-size: 14px; font-variation-settings: "opsz" 36; }
.v-row { display: grid; grid-template-columns: 1fr 66px 66px; white-space: nowrap; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-8px); transition: opacity .45s var(--out), transform .45s var(--out); }
.v-row.on { opacity: 1; transform: none; }
.v-row b { font-family: var(--mono); font-weight: 500; color: var(--blue); margin-right: 4px; font-size: 11.5px; }
.v-row i { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.v-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.v-note { color: var(--ink-3); font-size: 11.5px; }
.v-btn { background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 500; font-size: 12px; transition: transform .2s var(--spring), background .2s; }
.v-btn.pressed { transform: scale(.94); background: var(--blue); }
.stamp {
  position: absolute; right: 14px; top: 9px; padding: 4px 10px; border: 2px solid var(--red); color: var(--red); border-radius: 4px;
  font: 700 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-10deg) scale(2.4); opacity: 0;
  mix-blend-mode: multiply;
}
.stamp.on { animation: slam .5s var(--spring) forwards; }
@keyframes slam { 60% { opacity: 1; transform: rotate(-10deg) scale(.96); } 100% { opacity: .95; transform: rotate(-10deg) scale(1); } }
.scene.shake { animation: shake .3s ease-out; }
@keyframes shake { 25% { transform: translate(1px, -1px); } 50% { transform: translate(-1px, 1px); } 75% { transform: translate(1px, 0); } }
.scene-caption { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); max-width: 40em; }

/* ───── Remsan */
.ticker { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0; background: var(--paper); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-family: var(--display); font-size: 20px; font-variation-settings: "opsz" 36; padding: 0 28px; white-space: nowrap; position: relative; }
.ticker-track span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); transform: translateY(-50%); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ───── Varför: orden tänds */
.why { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); }
.why-big { font-family: var(--display); font-size: clamp(26px, 3.6vw, 50px); line-height: 1.18; letter-spacing: -0.015em; font-variation-settings: "opsz" 96; max-width: 22em; margin: 0; }
.why-big .wd { opacity: .14; transition: opacity .4s; }
.why-big .wd.on { opacity: 1; }
.why-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 90px); border-top: 1px solid var(--ink); }
.why-stat { padding-top: 20px; display: grid; gap: 6px; }
.why-stat b { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; }
.why-stat span { color: var(--ink-2); font-size: 15px; max-width: 16em; }

/* ───── Så funkar det: fast panel + stegen */
.how { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-sticky { position: sticky; top: 100px; }
.how-stage { position: relative; aspect-ratio: 4 / 3; }
.step-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .7s var(--out), transform .7s var(--out); }
.step-panel.on { opacity: 1; transform: none; }
.ph { position: absolute; inset: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; display: grid; align-content: center; gap: 12px; box-shadow: 0 40px 80px -50px rgba(21, 22, 15, .35); }
.ph-bar { display: block; height: 4px; width: 100%; background: var(--line); border-radius: 2px; overflow: hidden; }
.ph-bar span { display: block; height: 100%; width: 33%; background: var(--blue); }
.step-panel[data-panel="2"] .ph-bar span { width: 66%; }
.step-panel[data-panel="3"] .ph-bar span { width: 100%; }
.ph-title { font-family: var(--display); font-size: 26px; font-variation-settings: "opsz" 36; margin-top: 6px; }
.ph-drop { display: grid; place-items: center; gap: 8px; padding: 36px 20px; border: 1.5px dashed var(--line-2); border-radius: 12px; text-align: center; color: var(--ink-2); font-size: 15px; }
.ph-plus { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--blue); }
.ph-hint { color: var(--ink-3); font-size: 14px; line-height: 1.45; }
.ph-input { display: block; font-size: 19px; min-height: 1.6em; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.typed::after { content: ""; display: inline-block; width: 1px; height: 1.1em; background: var(--ink); vertical-align: -0.2em; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.ph-row { display: flex; align-items: baseline; gap: 8px; font-size: 16px; padding: 8px 0 2px; border-top: 1px solid var(--line); }
.ph-row b { font-family: var(--mono); font-weight: 500; color: var(--blue); }
.ph-row i { font-style: normal; margin-left: auto; }
.ph-why { font-size: 14px; color: var(--ink-2); background: var(--blue-wash); padding: 8px 12px; border-radius: 8px; line-height: 1.45; }
.ph-ok { justify-self: end; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; margin-top: 6px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(60px, 10vw, 140px); padding-top: 10vh; padding-bottom: 20vh; }
.st { opacity: .35; transition: opacity .5s; }
.st.on { opacity: 1; }
.st-n { font-family: var(--display); color: var(--blue); font-size: 15px; display: block; margin-bottom: 14px; }
.st h2 { font-size: clamp(28px, 3vw, 40px); }
.st p { color: var(--ink-2); max-width: 30em; }

/* ───── AI */
.ai { background: var(--dark); color: var(--dark-ink); padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.ai h2 { color: #fff; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ai-list { list-style: none; margin: 40px 0 0; padding: 0; }
.ai-list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ai-list b { font-weight: 500; color: #fff; }
.ai-list span { color: var(--dark-ink-2); font-size: 16px; }
.ai-card { position: sticky; top: 100px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 24px; }
.term { display: grid; gap: 14px; font-size: 15px; line-height: 1.5; }
.term-line { display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.term-line i { font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9AA9FF; padding-top: 4px; }
.term-line.you span { color: #fff; }
.term-item { margin-left: 68px; padding: 9px 12px; background: rgba(255,255,255,.06); border-radius: 8px; font-size: 14px; color: var(--dark-ink-2); }
.term-item b { font-weight: 500; color: #fff; margin-right: 6px; }

/* ───── Allt som ingår: ett register */
.all { padding: clamp(80px, 11vw, 150px) 0; }
.all-head { max-width: 800px; margin-bottom: clamp(36px, 5vw, 64px); }
.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); border-top: 1px solid var(--ink); }
.index li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line-2); transition: background .3s; }
.ix-n { grid-row: 1 / 3; font-family: var(--display); color: var(--blue); font-size: 15px; padding-top: 5px; }
.index h3 { margin-bottom: 6px; }
.index p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ───── Skärmbild */
.shots { padding-bottom: clamp(80px, 11vw, 150px); }
.shot { margin: 0; }
.shot img { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -50px rgba(21, 22, 15, .4); }
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 44em; }

/* ───── Pris */
.pricing { background: var(--paper); border-top: 1px solid var(--ink); padding: clamp(80px, 11vw, 150px) 0; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.inc { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.inc li { padding-left: 26px; position: relative; color: var(--ink-2); }
.inc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 11px; height: 6px; border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); }
.price-card { background: var(--chalk); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px; display: grid; gap: 18px; position: sticky; top: 100px; }
.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 4px; isolation: isolate; }
.toggle button { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px; border-radius: 999px; font: 500 15px var(--sans); color: var(--ink-2); cursor: pointer; transition: color .3s; }
.toggle button[aria-selected="true"] { color: var(--ink); }
.toggle-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .5s var(--spring); }
.toggle.year .toggle-pill { transform: translateX(100%); }
.price-big { display: flex; align-items: baseline; gap: 10px; }
.pb-num { font-family: var(--display); font-size: clamp(72px, 8vw, 112px); line-height: .9; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
.pb-unit { display: grid; gap: 2px; }
.pb-unit b { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; }
.pb-unit span { color: var(--ink-2); font-size: 15px; }
.price-line { color: var(--ink-2); margin: 0; min-height: 2.6em; transition: opacity .3s; }
.price-card .fine { text-align: center; }

/* ───── Säkerhet */
.trust { padding: clamp(80px, 11vw, 150px) 0; }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--ink); padding-top: 36px; }
.trust-text { color: var(--ink-2); }

/* ───── Frågor */
.faq { padding-bottom: clamp(80px, 11vw, 150px); }
.faq-list { border-top: 1px solid var(--ink); max-width: 840px; }
details { border-bottom: 1px solid var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-family: var(--display); font-size: 23px; font-variation-settings: "opsz" 36; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: transform .4s var(--out); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* ───── Avslut */
.closing { text-align: center; padding: 0 0 clamp(80px, 12vw, 160px); }
.closing h2 { font-size: clamp(44px, 6vw, 84px); margin-left: auto; margin-right: auto; }
.closing .lede { margin-left: auto; margin-right: auto; }

/* ───── Sidfot */
.foot { border-top: 1px solid var(--ink); padding: 48px 0 56px; font-size: 15px; color: var(--ink-2); background: var(--paper); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
.foot .mark { display: inline-block; color: var(--ink); margin-bottom: 10px; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; align-content: start; }
.foot-links a:hover { color: var(--ink); }

/* ───── Infasning med mask (text "vecklas upp") */
.rv { opacity: 0; transform: translateY(22px); clip-path: inset(0 0 18% 0); transition: opacity .9s var(--out), transform .9s var(--out), clip-path .9s var(--out); }
.rv.on { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.rv:nth-child(2) { transition-delay: .08s; }
.rv:nth-child(3) { transition-delay: .16s; }
.rv:nth-child(4) { transition-delay: .24s; }
.rv:nth-child(5) { transition-delay: .32s; }
.rv:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .rv, .note, .voucher, .v-row, .step-panel, .st { opacity: 1; transform: none; clip-path: none; transition: none; }
  .ticker-track { animation: none; }
  .why-big .wd { opacity: 1; }
  .typed::after, .notes.live .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ───── Mindre skärmar */
@media (max-width: 1040px) {
  .hero-grid, .how-grid, .ai-grid, .price-grid, .trust-grid, .foot .wrap { grid-template-columns: 1fr; }
  .how-sticky, .ai-card, .price-card { position: static; }
  .how-steps { padding-top: 32px; padding-bottom: 0; gap: 48px; }
  .st { opacity: 1; }
  .index { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top nav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-actions .link { display: none; }
  .cta-row .btn { width: 100%; }
  .hp-free { margin-left: 0; }
  .why-row { grid-template-columns: 1fr; }
  .scene { aspect-ratio: 10 / 21; }
  .receipt { left: 5%; top: 4%; width: 58%; font-size: 10px; padding: 12px 10px 14px; }
  .scan { left: 4%; width: 60%; }
  .notes { left: 5%; right: auto; top: 37%; width: 90%; font-size: 12px; gap: 5px; }
  .v-title { font-size: 13px; }
  .voucher { width: 90%; left: 5%; right: auto; bottom: 3%; font-size: 11.5px; padding: 12px 12px 10px; }
  .v-row { grid-template-columns: 1fr 58px 58px; }
  .ph { padding: 20px; }
  .ph-row { font-size: 14px; white-space: nowrap; }
  summary { font-size: 20px; }
}

/* ───── Redigeringsläget (admin.<domän>/alternativ3): editor.css använder startsidans variabler. */
body.le-mode { --sheet: var(--paper); --rule: var(--line-2); --ink2: var(--ink-2); --ink3: var(--ink-3); --ochre: #8A6A22; --moss: var(--blue); --well: var(--paper-2); --serif: var(--display); }
.le-mode .rv, .le-mode .st, .le-mode .note, .le-mode .voucher, .le-mode .v-row { opacity: 1; transform: none; clip-path: none; }
.le-mode .why-big .wd { opacity: 1; }
.le-mode .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
.le-mode .btn, .le-mode .btn[data-t][contenteditable="true"] { border-radius: 999px; }
.le-mode .le-bar .btn.ink { background: var(--blue); color: #fff; }
.le-mode .le-bar .btn.quiet { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.le-mode .le-bar .btn.underline { background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 4px 0; }
