@font-face { font-family: 'Geist'; src: url('/kf/fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/kf/fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/kf/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
:root {
--font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
--font-serif: 'Source Serif 4', ui-serif, Georgia, serif;
--radius: 1.25rem;
--ease: cubic-bezier(0.16, 1, 0.3, 1);
}
:root, [data-theme='dark'] {
color-scheme: dark;
--bg-l: 0.145; --bg2-l: 0.185; --card-l: 0.22; --card-a: 0.55; --card-solid-l: 0.2;
--line: oklch(1 0 0 / 0.08); --line-strong: oklch(1 0 0 / 0.16);
--a-l: 0.78; --a-c: 0.16; --a-soft: 0.14; --a-fg-l: 0.16; --glow-a: 0.45;
--fg: oklch(0.975 0.005 90); --fg-2: oklch(0.78 0.01 90); --fg-3: oklch(0.62 0.012 90);
--ok: oklch(0.8 0.17 155); --warn: oklch(0.83 0.15 80); --bad: oklch(0.7 0.19 22); --info: oklch(0.75 0.13 235);
--shadow: 0 1px 0 oklch(1 0 0 / 0.06) inset, 0 24px 48px -24px oklch(0 0 0 / 0.6);
--grain: 0.06;
}
[data-theme='light'] {
color-scheme: light;
--bg-l: 0.985; --bg2-l: 0.955; --card-l: 1; --card-a: 0.72; --card-solid-l: 1;
--line: oklch(0.2 0.02 270 / 0.09); --line-strong: oklch(0.2 0.02 270 / 0.18);
--a-l: 0.55; --a-c: 0.2; --a-soft: 0.1; --a-fg-l: 0.99; --glow-a: 0.3;
--fg: oklch(0.2 0.02 270); --fg-2: oklch(0.42 0.02 270); --fg-3: oklch(0.55 0.02 270);
--ok: oklch(0.56 0.15 155); --warn: oklch(0.62 0.15 70); --bad: oklch(0.56 0.21 25); --info: oklch(0.55 0.15 245);
--shadow: 0 1px 0 oklch(1 0 0) inset, 0 1px 2px oklch(0.2 0.02 270 / 0.06), 0 16px 40px -20px oklch(0.2 0.02 270 / 0.22);
--grain: 0.035;
}
:root, [data-product] {
--bg: oklch(var(--bg-l) 0.012 var(--bg-hue, 275));
--bg-2: oklch(var(--bg2-l) 0.014 var(--bg-hue, 275));
--card: oklch(var(--card-l) 0.014 var(--bg-hue, 275) / var(--card-a));
--card-solid: oklch(var(--card-solid-l) 0.014 var(--bg-hue, 275));
--accent: oklch(var(--a-l) var(--a-c) var(--hue, 285));
--accent-soft: oklch(var(--a-l) var(--a-c) var(--hue, 285) / var(--a-soft));
--accent-fg: oklch(var(--a-fg-l) 0.02 var(--hue, 285));
--glow: oklch(var(--a-l) var(--a-c) var(--hue, 285) / var(--glow-a));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
margin: 0;
font-family: var(--font-sans);
background: var(--bg);
color: var(--fg);
line-height: 1.55;
font-feature-settings: 'cv11', 'ss01', 'ss03';
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
::selection { background: color-mix(in oklab, var(--accent) 40%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kf-wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hairline { background: linear-gradient(90deg, transparent, var(--line-strong), transparent); height: 1px; border: 0; }
.text-gradient {
background: linear-gradient(180deg, var(--fg) 30%, color-mix(in oklab, var(--fg) 55%, transparent));
-webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-accent-gradient {
background: linear-gradient(100deg, var(--accent), oklch(calc(var(--a-l) + 0.08) 0.15 calc(var(--hue, 285) + 28)) 55%, var(--accent));
background-size: 200% 100%;
-webkit-background-clip: text; background-clip: text; color: transparent;
animation: kf-shimmer 6s linear infinite;
}
.scroll-thin { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after, .aurora > i {
content: ''; position: absolute; border-radius: 9999px; filter: blur(90px);
animation: kf-float 14s ease-in-out infinite;
}
.aurora::before { width: 46rem; height: 46rem; left: -10rem; top: -18rem; background: var(--accent); opacity: 0.28; }
.aurora::after  { width: 38rem; height: 38rem; right: -8rem; top: -8rem; background: oklch(0.7 0.18 calc(var(--hue, 285) + 70)); opacity: 0.2; animation-delay: -6s; }
.aurora > i     { width: 30rem; height: 30rem; left: 40%; top: 18rem; background: oklch(0.65 0.2 calc(var(--hue, 285) - 60)); opacity: 0.14; animation-delay: -3s; }
[data-theme='light'] .aurora::before { opacity: 0.16; }
[data-theme='light'] .aurora::after { opacity: 0.12; }
[data-theme='light'] .aurora > i { opacity: 0.08; }
.grid-bg {
position: absolute; inset: 0; pointer-events: none; z-index: 0;
background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
background-size: 56px 56px;
-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.grain::after {
content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: var(--grain);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
mix-blend-mode: overlay;
}
.glass {
position: relative;
background: var(--card);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
-webkit-backdrop-filter: blur(20px) saturate(1.4);
backdrop-filter: blur(20px) saturate(1.4);
isolation: isolate;
}
.glass-solid { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.spot { --mx: 50%; --my: 0%; }
.spot::before {
content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%);
opacity: 0; transition: opacity 0.35s var(--ease);
}
.spot:hover::before { opacity: 1; }
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
height: 2.5rem; padding: 0 1rem; border-radius: 0.75rem; border: 1px solid transparent;
font: 500 0.875rem/1 var(--font-sans); white-space: nowrap; cursor: pointer; text-decoration: none; user-select: none;
transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }
.btn-sm { height: 2rem; padding: 0 0.75rem; font-size: 0.8125rem; border-radius: 0.5rem; }
.btn-lg { height: 3rem; padding: 0 1.5rem; font-size: 0.9375rem; border-radius: 1rem; }
.btn-primary {
background: var(--accent); color: var(--accent-fg);
box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 60%, white) inset, 0 8px 28px -6px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 60%, white) inset, 0 10px 40px -4px var(--glow); }
.btn-outline { border-color: var(--line-strong); background: var(--card); color: var(--fg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: color-mix(in oklab, var(--accent) 60%, transparent); background: var(--accent-soft); }
.btn-ghost { background: none; color: var(--fg-2); }
.btn-ghost:hover { color: var(--fg); background: var(--accent-soft); }
.btn-danger { border-color: color-mix(in oklab, var(--bad) 40%, transparent); background: none; color: var(--bad); }
.btn-danger:hover { background: color-mix(in oklab, var(--bad) 10%, transparent); }
.icon-btn {
display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
border: 1px solid var(--line); background: var(--card); color: var(--fg-2); cursor: pointer;
transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--fg); background: var(--accent-soft); border-color: var(--line-strong); }
.icon-btn svg { width: 1rem; height: 1rem; }
.badge {
display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.125rem 0.5rem; border-radius: 999px;
border: 1px solid var(--line); background: color-mix(in oklab, var(--fg) 6%, transparent); color: var(--fg-2);
font-size: 0.6875rem; font-weight: 500; line-height: 1.25rem; white-space: nowrap;
}
.badge-accent { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in oklab, var(--accent) 25%, transparent); }
.badge-ok { background: color-mix(in oklab, var(--ok) 10%, transparent); color: var(--ok); border-color: color-mix(in oklab, var(--ok) 25%, transparent); }
.badge-warn { background: color-mix(in oklab, var(--warn) 10%, transparent); color: var(--warn); border-color: color-mix(in oklab, var(--warn) 25%, transparent); }
.badge-bad { background: color-mix(in oklab, var(--bad) 10%, transparent); color: var(--bad); border-color: color-mix(in oklab, var(--bad) 25%, transparent); }
.badge-info { background: color-mix(in oklab, var(--info) 10%, transparent); color: var(--info); border-color: color-mix(in oklab, var(--info) 25%, transparent); }
.badge .dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: currentColor; }
.input, .select, .textarea {
width: 100%; height: 2.75rem; padding: 0 0.875rem; border-radius: 0.75rem;
border: 1px solid var(--line-strong); background: color-mix(in oklab, var(--fg) 4%, transparent); color: var(--fg);
font: inherit; font-size: 0.9375rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { height: auto; min-height: 6rem; padding: 0.75rem 0.875rem; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; color: var(--fg-2); }
input[type='range'].range {
-webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; cursor: pointer; outline-offset: 6px;
background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line-strong) var(--p, 50%));
}
input[type='range'].range::-webkit-slider-thumb {
-webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0;
box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 35%, transparent), 0 4px 14px oklch(0 0 0 / 0.4);
}
input[type='range'].range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 35%, transparent); }
[data-kf-theme-toggle] .kf-moon { display: none; }
[data-theme='light'] [data-kf-theme-toggle] .kf-sun { display: none; }
[data-theme='light'] [data-kf-theme-toggle] .kf-moon { display: block; }
@keyframes kf-float { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(3%, -4%, 0) scale(1.08); } }
@keyframes kf-shimmer { to { background-position: -200% 0; } }
@keyframes kf-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { animation: kf-rise 0.7s var(--ease) both; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-standard-normal.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
:root { --display: 'Bricolage Grotesque', var(--font-sans); --italic: 'Instrument Serif', var(--font-serif); --body: var(--font-sans); }
[data-product='grodi'] { --hue: 128; --bg-hue: 125; }
[data-theme='dark'][data-product='grodi'] { --a-l: 0.9; --a-c: 0.2; --fg-3: oklch(0.74 0.012 90); }
[data-theme='light'][data-product='grodi'] { --a-l: 0.44; --a-c: 0.14; --fg-3: oklch(0.45 0.02 270); }
[data-product] { --track: color-mix(in oklab, var(--fg) 8%, transparent); --dim: color-mix(in oklab, var(--fg) 22%, transparent); }
body { position: relative; overflow-x: clip; font-size: 16px; line-height: 1.5; }
.aurora { height: 44rem; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: var(--accent-fg); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap {
position: relative; z-index: 1;
max-width: 1440px; margin: 0 auto; min-height: 100svh;
padding: clamp(20px, 5vw, 56px) clamp(16px, 8vw, 120px) 0;
display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px);
}
main { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); flex: 1; }
.display { font-family: var(--display); font-weight: 800; font-stretch: 80%; letter-spacing: -.03em; color: var(--fg); text-wrap: balance; }
.display em { font-family: var(--italic); font-style: italic; font-weight: 400; font-stretch: normal; letter-spacing: -.01em; color: var(--accent); font-size: 1.06em; }
.top { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 22px; font-weight: 600; letter-spacing: .01em; color: var(--fg); }
.brand .rune { transition: transform .6s var(--ease); }
.brand:hover .rune { transform: rotate(-8deg) scale(1.08); }
.slagord { font-family: var(--italic); font-style: italic; font-size: 19px; color: var(--fg-2); padding-left: 14px; border-left: 1px solid var(--line-strong); }
.top-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; color: var(--fg-2); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
.switch a:hover { color: var(--fg); }
.switch a[aria-current="page"] { background: var(--accent); color: var(--accent-fg); box-shadow: 0 6px 20px -6px var(--glow); }
.top .icon-btn { width: 44px; height: 44px; border-radius: 14px; }
.hero { position: relative; }
.hero-stav { position: absolute; right: -1rem; top: -4rem; color: var(--fg); opacity: .06; pointer-events: none; z-index: -1; }
.hero-stav svg { width: 24rem; height: 24rem; }
.sticker { display: inline-flex; padding: 7px 14px; border-radius: 999px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; background: var(--accent); color: var(--accent-fg); transform: rotate(-2.5deg); box-shadow: 0 10px 28px -8px var(--glow); }
.hero h1 { margin-top: 18px; font-size: clamp(56px, 13vw, 132px); line-height: .9; }
.lead { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--fg-2); max-width: 620px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card {
display: flex; flex-direction: column; gap: 22px; height: 100%; min-height: 254px;
border-radius: 24px; padding: clamp(22px, 3vw, 34px);
transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 55%, transparent); box-shadow: var(--shadow), 0 20px 50px -24px var(--glow); }
.icon { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; box-shadow: 0 8px 24px -8px var(--glow); }
.icon svg { width: 24px; height: 24px; }
.icon.sm { width: 44px; height: 44px; border-radius: 12px; }
.icon.sm svg { width: 20px; height: 20px; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.grid { counter-reset: kort; }
.card { counter-increment: kort; }
.card h2::before { content: counter(kort, decimal-leading-zero); display: block; margin-bottom: 8px; font: 500 12px/1 var(--font-mono); letter-spacing: .14em; color: var(--accent); }
.card h2 { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.card p { font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.time { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--fg-3); }
.cta {
display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
padding: 0 20px; border-radius: 12px; background: var(--accent); color: var(--accent-fg); font-size: 14px; font-weight: 600;
box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 60%, white) inset, 0 8px 28px -6px var(--glow);
transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 60%, white) inset, 0 10px 40px -4px var(--glow); }
.cta.block { width: 100%; min-height: 52px; font-size: 15px; border-radius: 16px; }
.cta.ghost { background: var(--track); color: var(--fg); box-shadow: none; }
.calc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg-2); font-size: 15px; font-weight: 600; }
.back svg { width: 18px; height: 18px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.calc h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1; margin: 14px 0 clamp(20px, 3vw, 36px); max-width: 20ch; }
.res-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 28px; align-items: start; }
.panel, .result { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.result { position: relative; overflow: hidden; }
.result::before { content: ''; position: absolute; right: -6rem; top: -6rem; width: 18rem; height: 18rem; border-radius: 50%; background: var(--accent); opacity: .12; filter: blur(60px); pointer-events: none; }
.result > * { position: relative; }
.panel { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 28px; }
.result { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.label { font-size: 14px; font-weight: 500; color: var(--fg); }
.value { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hint { font-size: 12.5px; line-height: 1.5; color: var(--fg-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--fg-2); font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s, background .2s; }
.pill:hover { border-color: var(--fg-3); color: var(--fg); }
.pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 600; box-shadow: 0 6px 20px -8px var(--glow); }
.panel .cta { margin-top: auto; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--accent) var(--p), var(--track) var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--track); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 35%, transparent), 0 4px 14px oklch(0 0 0 / .4); transition: box-shadow .2s; }
input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px color-mix(in oklab, var(--accent) 30%, transparent), 0 4px 14px oklch(0 0 0 / .4); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 35%, transparent); }
.res-label { font-size: 15px; font-weight: 600; color: var(--fg-2); }
.big { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 4px; margin-top: 6px; }
.big strong { font-family: var(--display); font-weight: 800; font-stretch: 80%; line-height: 1; color: var(--accent); font-size: clamp(48px, 12vw, 78px); letter-spacing: -.03em; white-space: nowrap; text-shadow: 0 0 40px var(--glow); }
.big span { font-size: 16px; color: var(--fg-2); }
.bars { display: flex; flex-direction: column; gap: 18px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.bar { height: 14px; border-radius: 999px; background: var(--track); overflow: hidden; }
.fill { height: 100%; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px var(--glow); transition: width .6s var(--ease); }
.fill.dim { box-shadow: none; }
.fill.dim { background: var(--dim); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { background: color-mix(in oklab, var(--fg) 4%, transparent); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.stat small { display: block; font-size: 13px; color: var(--fg-2); }
.stat b { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.row b { color: var(--fg); font-weight: 600; }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(3px, 1vw, 10px); align-items: end; height: 150px; }
.col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; font-size: 11px; color: var(--fg-3); }
.col i { display: block; width: 100%; min-height: 4px; border-radius: 6px; background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent) 45%, transparent)); box-shadow: 0 0 12px -2px var(--glow); }
.note { font-size: 13px; line-height: 1.55; color: var(--fg-3); }
.note + .note { margin-top: -16px; }
.samlet { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(28px, 4vw, 40px); align-items: center; }
.total { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.total h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1; }
.total strong { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(60px, 13vw, 104px); line-height: .98; color: var(--accent); letter-spacing: -.03em; white-space: nowrap; text-shadow: 0 0 60px var(--glow); }
.total p { font-size: 16px; line-height: 1.6; color: var(--fg-2); max-width: 380px; }
.list { display: flex; flex-direction: column; gap: 16px; }
.item {
display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 20px;
border-radius: 20px; padding: 20px clamp(16px, 2.5vw, 26px);
transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.item:hover { border-color: color-mix(in oklab, var(--accent) 55%, transparent); transform: translateY(-2px); }
.item .icon { grid-row: 1 / 3; }
.item-title { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.item-title small { display: block; font-size: 12.5px; font-weight: 500; color: var(--fg-3); }
.item-amount { font-family: var(--font-mono); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); text-align: right; white-space: nowrap; }
.item .bar { grid-column: 2 / 4; height: 8px; border-radius: 999px; }
.item .fill { border-radius: 999px; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--track); color: var(--fg-2); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.samlet-lenke { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px clamp(18px, 3vw, 30px); border-radius: 20px; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.samlet-lenke:hover { border-color: color-mix(in oklab, var(--accent) 55%, transparent); transform: translateY(-2px); }
.samlet-lenke b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 22px; letter-spacing: -.02em; }
.samlet-lenke small { font-size: 15px; color: var(--fg-2); }
.del { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.delkort { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 20px 22px; border-radius: 20px; background: #121510; color: #f4f3ef; border: 1px solid color-mix(in oklab, #c3f53c 35%, transparent); --accent: #c3f53c; }
.delkort::before { content: ''; position: absolute; left: -5rem; top: -7rem; width: 15rem; height: 15rem; border-radius: 50%; background: #c3f53c; opacity: .2; filter: blur(50px); }
.delkort > * { position: relative; }
.delkort .rune { grid-row: 1 / 3; }
.delkort p { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: clamp(19px, 3.4vw, 24px); line-height: 1.15; letter-spacing: -.01em; }
.delkort p b { color: #c3f53c; white-space: nowrap; }
.delkort small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #b9bbb2; }
.del-knapper { display: flex; flex-wrap: wrap; gap: 10px; }
.del-knapper .cta { flex: 1 1 150px; min-height: 48px; border: 1px solid var(--line-strong); }
.del-knapper .cta:hover { border-color: var(--accent); }
.neste { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); }
.neste h2 { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 22px; letter-spacing: -.02em; }
.neste-lenke { display: flex; flex-direction: column; gap: 6px; }
.neste-lenke .cta { min-height: 52px; font-size: 15px; }
.annonse { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.tekst { max-width: 46rem; display: flex; flex-direction: column; gap: 14px; padding-top: clamp(8px, 2vw, 24px); }
.tekst h2 { margin-top: 18px; font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.05; letter-spacing: -.02em; }
.tekst p, .tekst li { font-size: 17px; line-height: 1.7; color: var(--fg-2); text-wrap: pretty; }
.tekst ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.tekst a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.tekst table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tekst th, .tekst td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.tekst th { font: 500 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.tekst td:last-child, .tekst th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tekst tr.valgt td { color: var(--fg); font-weight: 600; }
.kilder { font-size: 14px !important; color: var(--fg-3) !important; }
.faq { padding: 4px 20px; border-radius: 16px; }
.faq summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font: 500 22px/1 var(--font-mono); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 16px; }
.foot { margin-top: clamp(16px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; color: var(--fg-2); overflow: clip; }
.foot-rad { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.foot a:hover { text-decoration-color: var(--accent); }
.foot-note { color: var(--fg-3); }
.ordmerke { display: block; width: 100%; height: auto; margin-bottom: -1.5%; color: var(--fg); opacity: .07; }
@media (max-width: 899px) {
.calc-grid, .samlet { grid-template-columns: minmax(0, 1fr); }
.hero-stav svg { width: 15rem; height: 15rem; }
.samlet { align-items: start; }
}
@media (max-width: 639px) {
.grid { grid-template-columns: minmax(0, 1fr); }
.slagord { font-size: 17px; padding-left: 10px; }
.top-right { width: 100%; justify-content: space-between; }
.card { min-height: 0; }
.item { grid-template-columns: auto 1fr; }
.item .icon { grid-row: 1; }
.item-amount { grid-column: 2; text-align: left; }
.item .bar { grid-column: 1 / 3; }
}
@media (prefers-reduced-motion: reduce) {
.card, .item { transition: none; }
.card:hover, .item:hover { transform: none; }
}
