/* Karma – landningssidan */

@font-face { font-family: 'Inter Tight'; src: url(../fonts/inter-tight.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-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(../fonts/instrument-serif-italic.woff2) format('woff2'); font-style: italic; font-display: swap; }

:root {
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .74);
  --fg-3: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);
  --card: rgba(12, 12, 20, .5);
  --heart: #ff4f7b;
  --heart-2: #ff9a6b;
  --blur: blur(28px) saturate(170%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.5, .64, 1);
  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); color: var(--fg); line-height: 1.5;
  background: radial-gradient(120% 90% at 50% 0%, #1a1f45 0%, #070811 60%) #05060c fixed;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: rgba(255, 79, 123, .45); }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .8); outline-offset: 3px; border-radius: 10px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.4s var(--ease); }
.sky-ready #sky { opacity: 1; }
.no-webgl #sky { display: none; }
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glass {
  background: var(--card); border: 1px solid var(--line);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ——— Knappar ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: #0b0b12; font-size: 15px; font-weight: 600;
  transition: transform .35s var(--spring), box-shadow .3s, background .2s;
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .35);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 255, 255, .5); }
.btn:active { transform: scale(.96); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: var(--fg); box-shadow: none; border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* ——— Navigering ——— */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 20; transform: translateX(-50%);
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  border: 1px solid transparent; transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.scrolled { background: rgba(10, 10, 18, .55); border-color: var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, .07); }

/* ——— Sektioner ——— */
main > section { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: clamp(80px, 13vh, 150px) 0; }
h2 { margin: 12px 0 0; font-size: clamp(36px, 5.2vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h2 em { font-size: 1.04em; }
h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); }
.fine { font-size: 12.5px; color: var(--fg-3); margin: 14px 0 0; }
.center { text-align: center; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ——— Hjälten ——— */
.hero { padding-top: clamp(120px, 18vh, 170px) !important; padding-bottom: 60px !important; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: 13px; color: var(--fg-2); background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--heart); box-shadow: 0 0 0 0 rgba(255, 79, 123, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 79, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 79, 123, 0); } }
.hero-title {
  margin: 26px 0 0; font-size: clamp(56px, 10.5vw, 148px); font-weight: 500; letter-spacing: -.06em; line-height: .92;
  text-wrap: balance;
}
.hero-title em { font-size: 1.08em; letter-spacing: -.02em; background: linear-gradient(100deg, #fff 10%, #ffc1cf 55%, #ffb08f); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-sub { max-width: 560px; margin: 26px auto 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); line-height: 1.5; text-wrap: pretty; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.rise { display: inline-block; opacity: 0; transform: translateY(26px); filter: blur(12px); animation: rise 1.1s var(--ease) forwards; }
.hero-copy > .rise:nth-child(1) { animation-delay: .1s; }
.hero-title .rise:nth-child(1) { animation-delay: .2s; }
.hero-title .rise:nth-child(2) { animation-delay: .3s; }
.hero-title .rise:nth-child(3) { animation-delay: .4s; }
.hero-title .rise:nth-child(4) { animation-delay: .55s; }
.hero-sub.rise { animation-delay: .75s; }
.hero-cta.rise { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* Webbläsarfönstret med riktiga Karma i */
.stage { position: relative; margin: clamp(56px, 9vh, 90px) auto 0; max-width: 1100px; perspective: 1800px; opacity: 0; animation: rise 1.4s var(--ease) 1.05s forwards; }
.browser {
  border-radius: 18px; overflow: hidden; background: #0d0d14;
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 120px -30px rgba(255, 79, 123, .25);
  transform-origin: 50% 0; transform: rotateX(var(--tilt, 14deg)) scale(var(--sc, .94));
  will-change: transform;
}
.browser-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; background: #16161f; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.browser-tab { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-2); padding: 6px 14px; border-radius: 9px; background: rgba(255, 255, 255, .07); }
.browser-tab img { border-radius: 3px; }
.browser-url { flex: 1; max-width: 420px; margin: 0 auto; font-size: 12.5px; color: var(--fg-3); padding: 6px 14px; border-radius: 9px; background: rgba(0, 0, 0, .35); text-align: left; }
.browser-view { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #05060c; }
.browser-view iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; }

.float {
  position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: 18px; text-align: left; font-size: 13px;
  background: rgba(14, 14, 22, .7); animation: bob 6s ease-in-out infinite;
}
.float b { font-size: 14.5px; }
.float span { color: var(--fg-2); }
.float-a { left: -34px; top: 32%; flex-direction: row; align-items: center; gap: 10px; }
.float-a span { color: var(--fg-3); }
.float-b { right: -30px; top: 24%; max-width: 230px; animation-delay: -3s; }
.heart-dot { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8aa5, var(--heart)); box-shadow: 0 0 24px rgba(255, 79, 123, .6); flex: none; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ——— Räknaren ——— */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.calc-copy p { color: var(--fg-2); font-size: 18px; margin: 18px 0 0; }
.calc-card { border-radius: 30px; padding: clamp(24px, 3.5vw, 40px); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--fg-2); }
.calc-label output { font-size: 40px; font-weight: 300; color: var(--fg); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 18px 0 30px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, var(--heart), var(--heart-2)) 0 / var(--p, 18%) 100% no-repeat, rgba(255, 255, 255, .12);
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .4), 0 0 0 6px rgba(255, 79, 123, .25); transition: transform .3s var(--spring);
}
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-results > div { padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.calc-results .wide { grid-column: 1 / -1; background: linear-gradient(110deg, rgba(255, 79, 123, .2), rgba(255, 154, 107, .1)); border-color: rgba(255, 79, 123, .25); }
.calc-results b { display: block; font-size: clamp(28px, 3.2vw, 40px); font-weight: 300; letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.calc-results .wide b { font-size: clamp(40px, 5vw, 60px); }
.calc-results span { font-size: 13.5px; color: var(--fg-2); }

/* ——— Så funkar det ——— */
.how { text-align: center; }
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.steps li { position: relative; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; min-height: 360px; }
.num { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--fg-3); }
.steps h3 { margin-top: 14px; font-size: 22px; }
.steps p { margin: 8px 0 0; color: var(--fg-2); font-size: 15px; }
.step-art { margin-top: auto; height: 120px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); display: grid; place-items: center; position: relative; overflow: hidden; }
.art-install .btn { pointer-events: none; animation: press 3.2s var(--ease) infinite; }
.cursor { position: absolute; left: 58%; top: 56%; width: 18px; height: 18px; background: #fff; clip-path: polygon(0 0, 0 100%, 30% 72%, 52% 100%, 66% 94%, 44% 66%, 80% 66%); animation: cursor 3.2s var(--ease) infinite; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
@keyframes cursor { 0% { transform: translate(60px, 40px); } 40%, 60% { transform: translate(0, 0); } 50% { transform: translate(0, 0) scale(.85); } 100% { transform: translate(60px, 40px); } }
@keyframes press { 45% { transform: none; } 50% { transform: scale(.92); } 58% { transform: none; } }
.art-choose { display: flex; gap: 10px; justify-content: center; align-items: center; }
.art-choose .glyph { width: 46px; height: 46px; border-radius: 15px; transition: transform .5s var(--spring), box-shadow .4s; }
.art-choose .glyph.on { transform: scale(1.2); box-shadow: 0 0 0 2px var(--hue), 0 10px 30px -6px var(--hue); }
.art-count { display: flex; gap: 14px; align-items: center; justify-content: center; font-size: 15px; color: var(--fg-2); }
.art-count b { color: var(--fg); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mini-ring { position: relative; width: 56px; height: 56px; }
.mini-ring > svg:first-child { width: 100%; height: 100%; transform: rotate(-90deg); }
.mini-ring circle { fill: none; stroke-width: 3; stroke: rgba(255, 255, 255, .12); }
.mini-ring circle.f { stroke: var(--heart); stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 30; transition: stroke-dashoffset .8s var(--ease); }
.mini-ring .h { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; fill: var(--heart); }
.mini-ring.beat .h { animation: beat .8s var(--spring); }
@keyframes beat { 30% { transform: scale(1.35); } 55% { transform: scale(.92); } }

/* ——— Två lägen ——— */
.modes { text-align: center; }
.modes-lead { max-width: 560px; margin: 18px auto 0; color: var(--fg-2); font-size: 18px; text-wrap: pretty; }
.mode-tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 34px 0 26px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.mode-tabs button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg-2); background: none; border: 0; cursor: pointer; font-family: inherit; transition: background .25s, color .25s; }
.mode-tabs button:hover { color: var(--fg); }
.mode-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .92); color: #0b0b12; }
.browser-flat { transform: none; max-width: 1100px; margin: 0 auto; text-align: left; }
.mode-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; text-align: left; }
.mode-points div { border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.mode-points b { font-size: 16px; letter-spacing: -.01em; }
.mode-points span { font-size: 14px; color: var(--fg-2); line-height: 1.45; }

/* ——— Funktioner ——— */
.features { text-align: center; }
.bento { margin-top: 50px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; text-align: left; }
.tile { border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; position: relative; transition: transform .5s var(--spring), border-color .3s; }
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tile p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
.tile-sky { grid-column: span 4; grid-row: span 2; }
.tile-cal, .tile-nl { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: center; }
.tile-ritual, .tile-wilt, .tile-cd, .tile-wx { grid-column: span 2; justify-content: flex-end; }
.tile-sky h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; max-width: 14ch; line-height: 1.05; }
.tile-sky p { max-width: 40ch; margin-top: 8px; font-size: 15.5px; }
.tile-focus, .tile-cmd { grid-column: span 2; }
.tile-zen, .tile-private { grid-column: span 2; }
.swatches { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-top: 30px; }
.sw { height: 150px; border-radius: 18px; position: relative; overflow: hidden; background-size: 200% 200%; animation: drift 14s ease-in-out infinite alternate; transition: transform .5s var(--spring); cursor: pointer; border: 1px solid rgba(255, 255, 255, .08); }
.sw:hover { transform: translateY(-6px) scale(1.03); }
.sw.on { outline: 2px solid #fff; outline-offset: 3px; }
.sw span { position: absolute; left: 12px; bottom: 10px; font-size: 12.5px; font-weight: 500; }
@keyframes drift { to { background-position: 100% 100%; } }

.mock-focus { margin-top: auto; text-align: center; padding: 18px 10px 6px; }
.mock-focus small { display: block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); font-weight: 600; margin-bottom: 8px; }
.mock-focus span { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; }
.mock-check { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .55); flex: none; display: inline-block; position: relative; }
.done .mock-check { background: #fff; border-color: #fff; }
.done .mock-check::after { content: ''; position: absolute; left: 5px; top: 1.5px; width: 4px; height: 9px; border: solid #0b0b12; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mock-palette { margin-top: auto; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); overflow: hidden; font-size: 13.5px; }
.mp-input { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.caret { display: inline-block; width: 1.5px; height: 1em; background: #fff; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mp-row { padding: 9px 14px; color: var(--fg-3); }
.mp-row.on { background: rgba(255, 255, 255, .08); color: var(--fg); }
.tile-zen { justify-content: flex-end; }
.zen-clock { font-size: 72px; font-weight: 200; letter-spacing: -.06em; line-height: 1; margin: 6px 0 auto; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-private { justify-content: flex-end; }
.tile-ic { width: 40px; height: 40px; margin-bottom: auto; padding: 9px; border-radius: 13px; background: rgba(94, 230, 160, .14); color: #5ee6a0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* Kalendern */
.mock-agenda { list-style: none; margin: 0; padding: 12px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.mock-agenda li { display: grid; grid-template-columns: 44px 3px 1fr; gap: 10px; align-items: center; padding: 7px 6px; border-radius: 10px; font-size: 13.5px; }
.mock-agenda li > span { font-variant-numeric: tabular-nums; color: var(--fg-2); }
.mock-agenda li > i { align-self: stretch; border-radius: 2px; background: var(--c); }
.mock-agenda b { font-weight: 500; display: flex; flex-direction: column; line-height: 1.3; }
.mock-agenda small { font-size: 11.5px; color: var(--fg-3); font-weight: 400; }
.mock-agenda .past { opacity: .4; }
.mock-agenda .now { background: color-mix(in srgb, var(--c) 16%, transparent); }
.mock-agenda .now small { color: var(--fg-2); }

/* Skriv som du pratar */
.mock-nl { display: flex; flex-direction: column; gap: 10px; }
.mock-input { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); font-size: 15px; white-space: nowrap; overflow: hidden; }
.mi-plus { color: var(--fg-3); font-size: 18px; }
.mock-hints { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.mh { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; background: rgba(255, 255, 255, .1); animation: pop .35s var(--spring) both; }
.mh svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mh.cal { color: #9fd8ff; background: rgba(90, 168, 255, .15); }
.mh.star { color: #ffd98a; background: rgba(255, 200, 87, .15); }
.mh.star svg { fill: #ffc857; stroke: #ffc857; }
.mh .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--heart); }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }

/* Planera och avsluta */
.mock-ritual { margin-bottom: auto; padding: 4px 2px 18px; }
.mock-ritual em { display: block; font-size: 26px; margin-bottom: 14px; }
.mock-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; height: 70px; align-items: end; }
.mock-bars i { height: max(3px, var(--h)); width: 70%; justify-self: center; border-radius: 4px 4px 0 0; background: rgba(255, 255, 255, .22); }
.mock-bars i.today { background: var(--heart); }

/* Kort som vissnar */
.mock-cards { margin-bottom: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 18px; }
.mcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 11px 13px; border-radius: 13px; background: rgba(22, 22, 32, .85); border: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.mcard::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c, transparent); }
.mcard small { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 2px 7px; border-radius: 6px; font-size: 11px; color: var(--fg-2); background: rgba(255, 255, 255, .07); }
.mcard small svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mcard.wilt { filter: saturate(.35); opacity: .6; transform: rotate(-1deg); }
.mcard.wilt small { color: #e8c58a; background: rgba(232, 197, 138, .12); }

/* Nedräkningar */
.mock-cd { margin-bottom: auto; display: flex; align-items: center; gap: 12px; padding-bottom: 18px; }
.mock-cd b { font-size: 64px; font-weight: 200; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.mock-cd span { font-size: 13px; color: var(--fg-3); line-height: 1.3; }
.mock-cd em { display: block; font-family: var(--font); font-style: normal; font-size: 17px; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }

/* Väder och världsklockor */
.mock-wx { margin-bottom: auto; padding-bottom: 18px; display: flex; flex-direction: column; gap: 14px; }
.mw-now { display: flex; align-items: center; gap: 12px; }
.mw-now b { font-size: 48px; font-weight: 250; letter-spacing: -.04em; line-height: 1; }
.mw-now span { font-size: 13px; color: var(--fg-2); line-height: 1.35; }
.mock-clocks { display: flex; gap: 18px; }
.mock-clocks div { display: flex; flex-direction: column; }
.mock-clocks span { font-size: 11.5px; color: var(--fg-3); }
.mock-clocks b { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ——— Organisationer ——— */
.orgs { text-align: center; }
.org-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.org { border-radius: 24px; padding: 22px; min-height: 190px; display: flex; flex-direction: column; gap: 8px; transition: transform .5s var(--spring), background .3s, border-color .3s; }
.org:hover { transform: translateY(-5px); background: color-mix(in srgb, var(--hue) 14%, var(--card)); border-color: color-mix(in srgb, var(--hue) 50%, transparent); }
.org b { margin-top: auto; font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.org span { font-size: 13.5px; color: var(--fg-3); }
.glyph { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--hue); background: color-mix(in srgb, var(--hue) 16%, transparent); }
.glyph svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ——— Löften ——— */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 0 !important; }
.promise { border-radius: 28px; padding: 30px; }
.p-num { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--heart); }
.promise h3 { margin-top: 40px; font-size: 24px; letter-spacing: -.03em; }
.promise p { color: var(--fg-2); font-size: 15px; margin: 10px 0 0; }

/* ——— Frågor ——— */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; grid-template-rows: auto 1fr; column-gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq > .kicker, .faq > h2 { grid-column: 1; }
.faq > h2 { margin-top: 12px; position: sticky; top: 120px; }
.faq-list { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; }
details { border-radius: 22px; padding: 0 24px; transition: background .3s; }
details[open] { background: rgba(16, 16, 26, .62); }
summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -.015em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 12px; height: 12px; flex: none; border: solid var(--fg-2); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .4s var(--spring); }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details p { margin: -6px 0 22px; color: var(--fg-2); font-size: 15.5px; max-width: 60ch; }
details[open] p { animation: open .5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ——— Avslutning ——— */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(120px, 18vh, 200px) !important; }
.final-icon { border-radius: 20px; box-shadow: 0 20px 60px -10px rgba(255, 79, 123, .5); margin-bottom: 30px; animation: bob 6s ease-in-out infinite; }
.final h2 { font-size: clamp(44px, 7vw, 96px); }
.final p { color: var(--fg-2); font-size: 18px; margin: 20px 0 34px; }

.foot { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--fg-3); font-size: 13.5px; }
.foot .brand { font-size: 15px; color: var(--fg-2); }
.foot .brand img { border-radius: 5px; }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 50; transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  padding: 13px 20px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #0b0b12; font-size: 14.5px; font-weight: 500;
  box-shadow: 0 16px 50px -12px rgba(0, 0, 0, .6); transition: opacity .3s var(--ease), transform .45s var(--spring);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ——— Mindre skärmar ——— */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .float { display: none; }
  .calc, .faq { grid-template-columns: 1fr; }
  .faq { grid-template-rows: auto; }
  .faq > h2 { position: static; margin-bottom: 36px; }
  .faq-list { grid-column: 1; grid-row: auto; }
  .steps, .promises { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .step-art { margin-top: 24px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-sky { grid-column: 1 / -1; grid-row: auto; }
  .tile-focus, .tile-cmd, .tile-zen, .tile-private, .tile-ritual, .tile-wilt, .tile-cd, .tile-wx { grid-column: span 1; }
  .tile-cal, .tile-nl { grid-column: 1 / -1; }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
  .mode-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-cal, .tile-nl { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .sw { height: 90px; }
  .sw span { display: none; }
  .browser-url { display: none; }
  .browser-view iframe { pointer-events: none; }
  .hero-cta .btn { width: 100%; }
  .calc-results { grid-template-columns: 1fr; }
  .mode-points { grid-template-columns: 1fr; }
  .mode-tabs button { padding: 0 12px; font-size: 13px; }
  .org { min-height: 160px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rise, .stage { opacity: 1; transform: none; filter: none; }
  .reveal { opacity: 1; transform: none; }
}
