/* Skrifter ligger på vår egen server (ingen oppslag mot Google). Kilde: @expo-google-fonts, OFL-lisens. */
@font-face { font-family: 'Geist'; src: url('/fonts/geist-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist-600.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-400-italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }

/* Entil – nettsiden. Samme farger og skrifter som appen: «bein, blekk og kobolt». */
:root {
  --bg: #F4F2ED;
  --surface: #FFFFFF;
  --surface2: #ECE9E2;
  --line: #E4E0D8;
  --line2: #DCD8CF;
  --ink: #15161A;
  --ink2: #3A3934;
  --muted: #67645C;
  --faint: #A8A398;
  --accent: #2E3CE0;
  --accent-pressed: #1F2BB8;
  --accent-soft: rgba(46, 60, 224, 0.10);
  --gold: #A57A1E;
  --gold-text: #7F5E14;
  --gold-soft: rgba(165, 122, 30, 0.10);
  --on-accent: #FFFFFF;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 22px;
  --page: min(1080px, calc(100% - 40px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0A0B;
    --surface: #141416;
    --surface2: #1C1C1F;
    --line: #232326;
    --line2: #2A2A2E;
    --ink: #F4F2EE;
    --ink2: #C9C6BE;
    --muted: #9A978F;
    --faint: #5A5852;
    --accent: #4F5DFF;
    --accent-pressed: #3A47E0;
    --accent-soft: rgba(79, 93, 255, 0.18);
    --gold: #C9A04A;
    --gold-text: #E6C27A;
    --gold-soft: rgba(230, 194, 122, 0.12);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-pressed); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--page); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Topp */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: transparent; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; }
.wordmark { height: 34px; width: 118px; display: block; flex-shrink: 0; }
footer .wordmark { height: 26px; width: 90px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--on-accent); }
.lang { display: inline-flex; align-items: center; gap: 5px; font-size: 14px !important; font-weight: 600 !important; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line2); }
.lang:hover { border-color: var(--ink2); }
@media (max-width: 640px) { .nav-links a:not(.btn):not(.lang) { display: none; } .nav-links { gap: 10px; } .lang { padding: 6px 9px; } }

/* Knapper */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-pressed); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--line2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled="true"] { cursor: default; }

/* Typografi */
.label { font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.label.accent { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 400; }
.display { font: 400 clamp(52px, 9vw, 104px)/0.95 var(--serif); letter-spacing: -0.02em; }
.display em { font-style: italic; color: var(--accent); }
/* Engelsk: lengre ord – litt mindre, så overskriften holder seg på to linjer */
html[lang="en"] .story .display { font-size: clamp(44px, 6.6vw, 84px); }
.h2 { font: 400 clamp(36px, 5vw, 56px)/1.02 var(--serif); letter-spacing: -0.015em; }
.h3 { font: 600 19px/1.3 var(--sans); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink2); max-width: 36em; }
.small { font-size: 15px; color: var(--muted); }
p { margin: 0; }

/* Forside */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }

.phone { width: min(330px, 100%); aspect-ratio: 9 / 19; border-radius: 48px; background: #15161A; border: 1px solid #2A2A2E; padding: 11px; box-shadow: 0 40px 80px -30px rgba(20, 20, 26, 0.45); }

/* Seksjoner */
section { padding: clamp(56px, 9vw, 104px) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 40em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.icon svg { width: 21px; height: 21px; }
.card p { color: var(--ink2); font-size: 16px; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 500 16px/1 var(--mono); }
.step p { color: var(--ink2); }

.band { background: var(--ink); color: var(--bg); border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; gap: 20px; }
.band .h2 { color: var(--bg); }
.band p { color: color-mix(in srgb, var(--bg) 75%, transparent); max-width: 34em; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; }
.band li::before { content: '✓'; color: var(--accent); font-weight: 700; }
@media (prefers-color-scheme: dark) { .band { background: var(--surface); color: var(--ink); border: 1px solid var(--line); } .band .h2 { color: var(--ink); } .band p { color: var(--ink2); } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 17px/1.35 var(--sans); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 24px/1 var(--sans); color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink2); display: grid; gap: 10px; }
.faq .faq-group { margin: 26px 0 2px; }
.faq .faq-group:first-child { margin-top: 0; }

/* Tekstsider (personvern, vilkår, support …) */
.page { padding: clamp(40px, 7vw, 80px) 0 80px; }
.page .wrap { max-width: 760px; }
.page-head { display: grid; gap: 14px; margin-bottom: 40px; }
.prose { display: grid; gap: 28px; }
.prose section { padding: 0; display: grid; gap: 8px; }
.prose h2 { font: 600 20px/1.3 var(--sans); }
.prose p, .prose li { color: var(--ink2); white-space: pre-line; }
.prose ol, .prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.note { background: var(--accent-soft); border-radius: 16px; padding: 16px 18px; color: var(--ink2); }
.center-card { max-width: 520px; margin: 0 auto; text-align: center; display: grid; gap: 18px; justify-items: center; padding: clamp(48px, 10vw, 120px) 0; }
.check { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }

/* Bunn */
footer { padding: 40px 0 56px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--ink2); text-decoration: none; font-size: 15px; }
footer a:hover { color: var(--ink); }
footer .small { font-size: 14px; }

/* --- Liv: ting glir inn, telefonen svever, kort løfter seg ------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.card { transition: transform .25s ease, box-shadow .25s ease, opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.card.in:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(20, 20, 26, 0.35); }
.card .icon { transition: transform .3s ease; }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.story .display em { background: linear-gradient(90deg, var(--accent), #6B76FF, var(--accent)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* Forsiden: telefonen henger fast mens teksten glir forbi, og skjermen bytter */
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
.story-step { min-height: 88vh; display: grid; align-content: center; gap: 22px; padding: 40px 0; }
.story-step:first-child { min-height: calc(100vh - 64px); }
.story-phone { position: relative; }
.story-device { position: sticky; top: calc(50vh - min(330px, (100vh - 120px) / 2) + 32px); width: min(310px, calc((100vh - 120px) * 0.46)); aspect-ratio: auto; padding: 10px; border-radius: 50px; margin: 0 auto; }
.story-screens { position: relative; aspect-ratio: 1320 / 2868; border-radius: 40px; overflow: hidden; background: var(--bg); }
.story-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.story-screens img.on { opacity: 1; transform: none; }
.story-screens, .shot-live { container-type: inline-size; }
.shot-live { position: relative; }
/* Dagens dato på hjem-skjermen (samme stil som i appen: Geist Mono 11 pt, sporing 1.4 pt på 440 pt bredde) */
.live-date { position: absolute; left: 4.545cqw; top: calc(var(--y) * 1cqw - 0.06cqw); font: 400 2.5cqw/1 var(--mono); letter-spacing: 0.355cqw; text-transform: uppercase; white-space: nowrap; color: #67645C; pointer-events: none; transition: opacity .6s ease; }
.story-screens img[data-screen="0"]:not(.on) ~ .live-date, .story-screens img[data-screen="0"]:not(.on) ~ .live-week { opacity: 0; }
/* Klokka i statuslinja: SF Pro på Apple-enheter, ellers Geist. Sifrene er ca. 0,7 em høye. */
.live-clock { position: absolute; left: calc(var(--cx) * 1cqw); top: calc(var(--cy) * 1cqw); transform: translate(-50%, -50%); font: 600 calc(var(--ch) / 0.7 * 1cqw)/1 -apple-system, BlinkMacSystemFont, var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: #000; white-space: nowrap; pointer-events: none; z-index: 1; }
/* Ukestripa (appen: 38 pt sirkler, ukedag Geist Medium 12 pt, dato Geist Mono 13 pt) */
.live-week { position: absolute; left: 0; right: 0; top: calc(var(--wy) * 1cqw); height: 8.636cqw; pointer-events: none; transition: opacity .6s ease; }
.lw { position: absolute; top: 0; left: calc((109 + var(--i) * 183.33) / 13.2 * 1cqw); }
.lw i { position: absolute; left: 0; top: -5.8cqw; transform: translateX(-50%); font: 500 2.727cqw/1 var(--sans); font-style: normal; color: #77736A; }
.lw b { position: absolute; left: 0; top: 0; transform: translateX(-50%); width: 8.636cqw; height: 8.636cqw; border-radius: 50%; display: grid; place-items: center; font: 400 2.955cqw/1 var(--mono); color: #77736A; }
.lw.today i { color: #15161A; }
.lw.today b { background: #15161A; color: #fff; }
.lw.done b { background: #2E3CE0; color: #fff; }
.story-step > * { transition: opacity .5s ease; }
@media (min-width: 861px) { .story-step:not(.active) > * { opacity: .22; } }
.step-shot { display: none; }
.step-frame { width: min(290px, 76vw); margin: 8px auto 0; padding: 8px; border-radius: 42px; background: #15161A; box-shadow: 0 34px 60px -30px rgba(20, 20, 26, 0.55); }
.step-frame img { display: block; width: 100%; height: auto; border-radius: 34px; }
@media (max-width: 860px) {
  /* Mobil: tekst og skjermbilde etter hverandre, ingen telefon som henger fast */
  .story-grid { display: block; }
  .story-phone { display: none; }
  .story-step, .story-step:first-child { min-height: 0; padding: 0; gap: 18px; }
  .story-step + .story-step { margin-top: 72px; }
  .story-step:first-child { padding-top: 28px; }
  .step-shot { display: block; margin-top: 10px; }
  .story { padding-bottom: 8px; }
}

/* Skjermbilder: rad man kan sveipe (på mobil) */
.screens-section .section-head { margin-bottom: 28px; }
.screens { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(20px, calc((100% - 1080px) / 2)) 30px; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.shot { margin: 0; flex: 0 0 auto; width: min(250px, 66vw); scroll-snap-align: center; display: grid; gap: 12px; }
.shot-frame { border-radius: 34px; padding: 7px; background: #15161A; box-shadow: 0 30px 60px -30px rgba(20, 20, 26, 0.5); }
.shot-frame img { width: 100%; height: auto; border-radius: 28px; display: block; }
.shot figcaption { text-align: center; color: var(--ink2); font-size: 15px; }
.shot:nth-child(even) { transform: translateY(24px); }
/* Midtstilt når alle får plass, sveipbar ellers */
.shot:first-child { margin-left: auto; }
.shot:last-child { margin-right: auto; }
.shot.reveal:nth-child(even) { transform: translateY(50px); }
.shot.reveal.in:nth-child(even) { transform: translateY(24px); }

/* «Slik funker det»: tre steg med små app-skjermer */
.demo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.demo::before, .demo::after { content: ''; position: absolute; top: 19px; left: 44px; right: calc(33.3% - 20px); height: 2px; background: var(--line2); }
.demo::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .3s; }
.demo.in::after { transform: scaleX(1); }
.demo-step { display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.demo-copy { align-content: start; }
/* Kortene starter på samme høyde selv om teksten over har ulik lengde */
@media (min-width: 861px) { .demo { grid-template-rows: auto 1fr; } .demo-step { grid-row: span 2; grid-template-rows: subgrid; } }
.demo-copy { display: grid; gap: 8px; }
.demo-copy p { color: var(--ink2); }
.demo-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 500 14px/1 var(--mono); position: relative; z-index: 1; margin-bottom: 6px; }
.demo-step.in .demo-num { animation: numpop .5s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + 200ms) both; }
@keyframes numpop { from { transform: scale(.6); background: var(--accent); } }
.demo-ui { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 26px 50px -34px rgba(20, 20, 26, 0.4); min-height: 330px; }
.ui-label { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ui-label.accent { color: var(--accent); }
.ui-label b { color: var(--ink); font-weight: 600; }
.ui-title { font: 400 38px/1 var(--serif); letter-spacing: -.01em; }
.ui-meta { color: var(--muted); font-size: 14px; }
.ui-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-list span { background: var(--surface2); border-radius: 999px; padding: 6px 11px; font-size: 13px; color: var(--ink2); }
.ui-list .more { background: var(--accent-soft); color: var(--accent); }
.ui-btn { display: flex; align-items: center; justify-content: space-between; min-height: 46px; flex-shrink: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 600 15px/1 var(--sans); padding: 0 8px 0 20px; margin-top: auto; }
.ui-btn i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 11px; }
.ui-btn.ghost { background: var(--surface2); color: var(--ink); }
.ui-row { display: flex; justify-content: space-between; }
.ui-weight { display: flex; align-items: baseline; gap: 8px; font-family: var(--mono); }
.ui-weight b { font-size: 44px; font-weight: 500; letter-spacing: -.03em; }
.ui-weight span { color: var(--muted); font-size: 16px; }
.ui-weight em { font-style: normal; color: var(--faint); font-size: 26px; }
.ui-hint { font-size: 13px; color: var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 8px 10px; }
.ui-rpe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ui-rpe span { height: 34px; border-radius: 10px; border: 1px solid var(--line2); display: grid; place-items: center; font: 500 13px/1 var(--mono); }
.ui-rpe .on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ui-log { justify-content: center; padding: 0; margin-top: 4px; animation: tap 3.2s ease-in-out infinite; }
@keyframes tap { 0%, 70%, 100% { transform: none; } 76% { transform: scale(.96); } 82% { transform: none; } }
.ui-rest { align-self: center; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.ui-rest b { font-family: var(--mono); font-weight: 500; }
.ui-rest .dot { width: 8px; height: 8px; border-radius: 50%; background: #4F5DFF; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); padding-top: 12px; }
.ui-stats span { display: block; font-size: 12px; color: var(--muted); }
.ui-stats b { font: 500 16px/1.3 var(--mono); }
.ui-pr { background: var(--gold-soft); color: var(--gold-text); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.demo-step.in .ui-pr { animation: prpop .6s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + 700ms) both; }
@keyframes prpop { from { opacity: 0; transform: scale(.85) translateY(8px); } }
.ui-share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.ui-share .ui-btn { justify-content: center; padding: 0; }
@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; gap: 44px; }
  .demo::before, .demo::after { display: none; }
  .demo-ui { min-height: 0; }
}

/* Merkevaren: «Alltid én til.» – teksten står fast, og én linje kommer for hvert stykke man blar */
#en-til { height: 340vh; padding: 0; }
.en-til-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-content: center; overflow: hidden; }
#en-til .label { margin-bottom: 22px; color: var(--accent); }
.en-til { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.en-til li { font: 400 clamp(44px, 9vw, 112px)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); opacity: 0; transform: translateY(40px); transition: opacity .55s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.en-til li.on { opacity: 1; transform: none; }
.en-til li:nth-child(odd) { padding-left: clamp(0px, 8vw, 120px); }
.en-til em { font-style: italic; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { #en-til { height: auto; padding: 96px 0; } .en-til-sticky { position: static; height: auto; } .en-til li { opacity: 1; transform: none; } }
.lead strong { color: var(--ink); font-weight: 600; }

/* Delt oppsett: tekst og eksempel side om side */
.split { align-items: center; gap: clamp(32px, 6vw, 72px); }

/* Eksempel-innlegg */
.mini-post { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 30px 60px -36px rgba(20, 20, 26, 0.35); max-width: 440px; justify-self: center; width: 100%; }
.mp-head { display: flex; gap: 12px; align-items: center; }
.mp-head div { display: grid; }
.mp-head span:not(.mp-avatar) { font-size: 13px; color: var(--muted); }
.mp-avatar { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); background: var(--surface2); display: grid; place-items: center; font-weight: 600; }
.mp-title { font: 600 19px/1.2 var(--sans); }
.mp-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); padding-top: 12px; }
.mp-stats span { display: block; font-size: 12px; color: var(--muted); }
.mp-stats b { font: 500 17px/1.3 var(--mono); }
.mp-pr { background: var(--gold-soft); color: var(--gold-text); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.mp-likes { font-size: 14px; color: var(--ink2); }
.mp-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line2); padding-top: 10px; }
.mp-actions button, .mp-actions span { display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 16px/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 8px; cursor: pointer; }
.mp-like svg { fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.mp-like.on { color: #C8321E; }
.mp-like.on svg { fill: currentColor; stroke: currentColor; animation: heart .45s cubic-bezier(.3,1.8,.5,1); }
@keyframes heart { 40% { transform: scale(1.35); } }

/* Ukesringen */
.ring-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: grid; justify-items: center; gap: 16px; position: relative; max-width: 420px; width: 100%; justify-self: center; }
.ring { width: 190px; height: 190px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring-bg { stroke: var(--line2); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1) .3s; }
.ring-card.in .ring-fg { stroke-dashoffset: 25; }
.ring-num { position: absolute; top: 28px; height: 190px; display: grid; place-items: center; grid-auto-flow: column; align-items: baseline; align-content: center; }
.ring-num b { font: 500 52px/1 var(--mono); }
.ring-num span { font: 500 24px/1 var(--mono); color: var(--faint); }
.ring-days { display: flex; gap: 8px; }
.ring-days i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface2); }
.ring-days i.on { background: var(--accent); color: #fff; }
@media (max-width: 860px) { #ukesmaal .ring-card { order: 2; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav .wrap { height: 58px; }
  .wordmark { height: 28px; width: 97px; }
  .display { font-size: clamp(44px, 12.5vw, 60px); }
  .h2 { font-size: clamp(32px, 9vw, 40px); }
  .lead { font-size: 17px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; height: 50px; padding: 0 18px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 26px; }
  .card { padding: 22px; }
  .band { border-radius: 26px; padding: 30px 24px; }
  .mini-post { padding: 18px; }
  footer .wrap { flex-direction: column; }
  footer nav { gap: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ring-fg { stroke-dashoffset: 25; }
}

/* «Bytter du fra en annen app?» under funksjonene */
.switch-card { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.switch-card .h3 { margin: 0 0 4px; }
.switch-arrow { font-size: 24px; color: var(--accent); transition: transform .25s ease; }
.switch-card:hover .switch-arrow { transform: translateX(4px); }
@media (max-width: 600px) { .switch-card { grid-template-columns: 1fr; gap: 12px; } .switch-arrow { display: none; } }
