:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --sunk: #f3f0ec;
  --text: #1c1a19;
  --muted: #6b6560;
  --faint: #a49d96;
  --line: #e8e4df;
  --accent: #ff6b3d;
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-ink: #ffffff;
  --good: #2fb57e;
  --warn: #f2a516;
  --bad: #e84d5b;
  --seg: #ffffff;
  --blue: #4c8df6;
  --violet: #8d6cf2;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141312;
    --surface: #1e1c1b;
    --sunk: #262321;
    --text: #f3f0ec;
    --muted: #a39d96;
    --faint: #6f6964;
    --line: #2e2b29;
    --seg: #4a4644;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
header.top.scrolled { border-bottom-color: var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
nav.links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }
nav.links a.btn { color: var(--accent-ink); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: none; color: var(--muted); font-size: 12px;
  padding: 3px 9px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 650; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -10px var(--accent); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn .price { opacity: .85; font-weight: 500; }

/* ---------- Scroll scene ----------
   A tall section with a full-screen stage pinned inside it. Scroll progress through the section
   (set as variables by widget.js) moves the widget, tilts it flat, and fades the captions. */
.scene { position: relative; height: 640vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.pin-inner { position: relative; max-width: 1080px; height: 100%; margin: 0 auto; }

.hero-copy { position: absolute; left: 20px; right: 20px; top: calc(64px + 7vh); text-align: center;
  opacity: var(--hero-o, 1); transform: translateY(var(--hero-y, 0px)); will-change: transform, opacity; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-copy .buy-row { justify-content: center; }
h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 18px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.buy-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.req { font-size: 14px; color: var(--muted); }

.holder { position: absolute; left: 50%; top: 0; width: 370px; z-index: 3;
  transform-origin: 50% 0; perspective: 1400px; will-change: transform;
  transform: translateX(-50%) translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1)); }

.captions { position: absolute; left: 20px; width: calc(50% - 70px); height: 380px; top: calc(50% + 32px); margin-top: -190px; z-index: 2; }
.cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  opacity: var(--o, 0); transform: translateY(var(--cy, 24px)); will-change: transform, opacity; pointer-events: none; }
.cap.live { pointer-events: auto; }
.cap .kicker { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cap h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; }
.cap p { color: var(--muted); margin: 0 0 16px; max-width: 30em; }
.cap ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.cap li::before { content: "→ "; color: var(--accent); }

.dots { position: absolute; left: 20px; top: calc(50% + 32px + 210px); display: flex; gap: 8px; z-index: 2; opacity: var(--dots-o, 0); }
.dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0; cursor: pointer; background: var(--line); position: relative; overflow: hidden; }
.dots button::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--f, 0)); }
.dots button::before { content: ""; position: absolute; inset: -10px -2px; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 12px; color: var(--faint);
  display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: var(--hero-o, 1); }
.scroll-cue i { width: 18px; height: 28px; border: 1.5px solid var(--faint); border-radius: 10px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px;
  background: var(--faint); border-radius: 2px; animation: wheel 1.6s infinite var(--ease); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(9px) } }

/* ---------- Widget (mirrors the app's medium size: 370 pt wide) ---------- */
@property --rx { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --ry { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.widget {
  --fill: color-mix(in srgb, var(--text) 4.5%, transparent);
  --track: color-mix(in srgb, var(--text) 8%, transparent);
  --hair: color-mix(in srgb, var(--text) 9%, transparent);
  --sec: color-mix(in srgb, var(--text) 55%, transparent);
  --ter: color-mix(in srgb, var(--text) 32%, transparent);
  --rain: #3f86f5;
  position: relative; width: 370px; padding: 16px; border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: .5px solid var(--hair);
  font-size: 11px; line-height: 1.3; color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.45), 0 0 0 .5px rgba(0,0,0,.04);
  transform-origin: 50% 100%;
  transform: rotateX(calc(var(--tilt, 0deg) + var(--rx, 0deg))) rotateY(var(--ry, 0deg));
  transition: --rx .5s var(--ease), --ry .5s var(--ease);
}
.widget svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.widget svg.i.f { fill: currentColor; stroke: none; }
.rnd { font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.eb { font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--sec); white-space: nowrap; }
.sec { color: var(--sec); } .ter { color: var(--ter); } .acc { color: var(--accent); }
.wc { background: var(--fill); border-radius: 14px; padding: 12px; }
.hrow { display: flex; align-items: center; gap: 8px; }
.hrow .sp { flex: 1; }
.num { display: inline-flex; align-items: baseline; gap: 2px; }
.num b { font-weight: 600; } .num i { font-style: normal; font-weight: 500; color: var(--sec); }
.meter { height: 4px; border-radius: 2px; background: var(--track); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 2px; width: 0; transition: width .8s var(--ease); }
.on .meter i, .wh .meter i { width: var(--w); }
.cbtn { width: 18px; height: 18px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--sec); font-size: 8px; }
.cbtn:hover { background: color-mix(in srgb, var(--text) 12%, transparent); }
.stats { display: flex; gap: 4px; }
.stats > div { flex: 1; min-width: 0; }
.stats .lbl { font-size: 9px; font-weight: 500; color: var(--sec); margin-top: 3px; }
.gd { color: var(--good); } .wn { color: var(--warn); }
.dot6 { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* header + tab bar + footer */
.wh { display: flex; align-items: center; gap: 10px; }
.mood { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: 15px; flex: none; }
.wh .mt { font-size: 14px; font-weight: 600; line-height: 1.2; margin-top: 2px; }
.ready { width: 92px; flex: none; }
.ready .meter { width: 70px; margin-top: 4px; }
.gear { position: absolute; top: 9px; right: 9px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--sec); font-size: 13px; transition: transform .3s; }
.gear:hover { transform: rotate(30deg); color: var(--text); }
.wtabs { display: flex; gap: 2px; padding: 2px; margin: 10px 0; border-radius: 999px; background: var(--track); }
.wtabs button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 0;
  border: 0; background: transparent; color: var(--sec); padding: 5px 8px; border-radius: 999px; cursor: pointer; font-size: 10.5px; font-weight: 500;
  transition: flex-grow .3s var(--ease), background .25s, color .25s; }
.wtabs button .t { display: none; white-space: nowrap; }
.wtabs button.on { flex-grow: 2.6; background: var(--seg); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.wtabs button.on .t { display: inline; }
.wtabs svg.i { font-size: 10px; stroke-width: 2.4; }
.wfoot { text-align: center; font-size: 9px; color: var(--ter); margin-top: 10px; }

/* the open tab; each pane scrolls inside like the real widget */
.screen { position: relative; height: 430px; overflow: hidden; border-radius: 14px;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
.pane { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(.985); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease); }
.pane.on { opacity: 1; transform: none; pointer-events: auto; }
.pscroll { display: flex; flex-direction: column; gap: 10px; transform: translateY(var(--sy, 0px)); will-change: transform; }

/* I dag */
.status-c p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.status-c p strong { font-weight: 650; }
.hero2 { display: flex; gap: 14px; padding: 16px 12px; }
.hero2 > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.hring { position: relative; width: 96px; height: 96px; }
.hring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hring circle { fill: none; stroke-width: 8; }
.hring .arc { stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.on .hring .arc { stroke-dashoffset: var(--off); }
.hring .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hring .c svg { width: 10px; height: 10px; transform: none; }
.hring .v { font-size: 26px; font-weight: 700; line-height: 1.05; }
.hring .l { font-size: 8px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--sec); }
.hero2 .cap2 { font-size: 10px; font-weight: 500; color: var(--sec); text-align: center; }
.factor { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.factor .n { width: 66px; color: var(--sec); }
.factor .meter { flex: 1; }
.factor .val { width: 52px; text-align: right; }
.spark { display: block; width: 100%; height: 40px; }
.spark .ln { fill: none; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .15s; }
.spark .ar { opacity: 0; transition: opacity .8s .8s; }
.on .spark .ln { stroke-dashoffset: 0; } .on .spark .ar { opacity: 1; }
.spark .band { fill: color-mix(in srgb, var(--good) 10%, transparent); }

/* weather pieces */
.wxnow { display: flex; align-items: center; gap: 10px; }
.wxnow .big { font-size: 26px; font-weight: 600; }
.wxicon { width: 28px; height: 28px; flex: none; }
.hours { display: flex; background: var(--fill); border-radius: 10px; padding: 6px 0; }
.hours > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hours .hh { font-size: 9px; color: var(--sec); }
.hours .tt { font-size: 11px; font-weight: 600; }
.hours .rr { font-size: 8.5px; font-weight: 500; color: var(--rain); min-height: 11px; }
.hours svg { width: 13px; height: 13px; }
.cells { display: flex; gap: 2px; }
.cells i { flex: 1; height: 16px; border-radius: 2px; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); transition-delay: calc(var(--k) * 18ms); }
.on .cells i { transform: none; }
.ticks { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--ter); }
.nowc { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.nowc > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.nowc i { width: 100%; border-radius: 2px; height: 3px; background: color-mix(in srgb, var(--rain) 14%, transparent); transition: height .6s var(--ease); transition-delay: calc(var(--k) * 40ms); }
.on .nowc i.wet { height: var(--h); background: color-mix(in srgb, var(--rain) 70%, transparent); }
.nowc span { font-size: 7.5px; color: var(--ter); }

/* calendar, week bars, sleep */
.strip { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.strip > div { position: relative; flex: 1; height: 100%; border-radius: 2.5px; background: var(--track); cursor: default; }
.strip > div i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 2.5px; background: var(--accent); height: 0; transition: height .6s var(--ease); transition-delay: calc(var(--k) * 15ms); }
.on .strip > div i { height: var(--h); }
.strip > div:hover { background: color-mix(in srgb, var(--text) 14%, transparent); }
.strip > div:hover i { opacity: 1 !important; }
.strip > div.today { box-shadow: inset 0 0 0 1.2px var(--accent); animation: tpulse 2s infinite; }
@keyframes tpulse { 50% { box-shadow: inset 0 0 0 1.2px color-mix(in srgb, var(--accent) 30%, transparent); } }
.ring46 { position: relative; width: 46px; height: 46px; flex: none; }
.ring46 svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring46 circle { fill: none; stroke-width: 5; }
.ring46 .arc { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); }
.ring46 span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; }
.seg { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: var(--track); }
.seg button { border: 0; background: none; color: var(--sec); font-size: 9.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--seg); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.runc { position: relative; overflow: hidden; }
.runc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.wbars { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 60px; padding-top: 12px; }
.wbars .goal { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--ter); }
.wbars > div:not(.goal) { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; }
.wbars .kmv { font-size: 9px; color: var(--sec); }
.wbars i { width: 100%; border-radius: 3px; background: color-mix(in srgb, var(--text) 13%, transparent); height: 0; transition: height .7s var(--ease); transition-delay: calc(var(--k) * 50ms); }
.wbars i.cur { background: var(--accent); }
.on .wbars i { height: var(--h); }
.wbl { display: flex; gap: 6px; font-size: 8.5px; color: var(--ter); margin-top: 4px; }
.wbl span { flex: 1; text-align: center; }
.metrics { display: flex; background: var(--fill); border-radius: 14px; padding: 4px; }
.metrics > div { flex: 1; padding: 7px 9px; border-radius: 10px; cursor: pointer; }
.metrics > div:hover, .metrics > div.sel { background: var(--track); }
.metrics > div.sel .t { color: var(--accent); }
.metrics .t { font-size: 9.5px; font-weight: 500; color: var(--sec); }
.metrics .sepv { width: .5px; background: var(--hair); margin: 7px 0; padding: 0; flex: none; }
.phases { display: flex; gap: 2px; height: 6px; border-radius: 3px; overflow: hidden; }
.phases i { width: 0; transition: width .9s var(--ease); }
.on .phases i { width: var(--w); }
.legend { display: flex; gap: 10px; font-size: 9px; color: var(--sec); }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 1.5px; margin-right: 4px; }
.nights { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.nights > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: default; }
.nights i { width: 100%; border-radius: 2.5px; background: color-mix(in srgb, var(--text) 13%, transparent); height: 3px; transition: height .6s var(--ease); transition-delay: calc(var(--k) * 40ms); }
.nights i.sel { background: var(--accent); }
.on .nights i { height: var(--h); }
.nights span { font-size: 8.5px; color: var(--sec); }
.nights span.sel { color: var(--text); font-weight: 600; }

/* maps */
.wmap { position: relative; border-radius: 14px; overflow: hidden; background: var(--map-land); }
.wmap svg.m { display: block; width: 100%; height: 100%; }
.wmap .pill { position: absolute; left: 8px; bottom: 8px; font-size: 9.5px; font-weight: 600; padding: 4px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.route-c { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-a { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-c, .route-a { stroke-dashoffset: var(--draw, 1); }
.mapbtns { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; }
.mapbtns span { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); }
.attrib { position: absolute; left: 8px; bottom: 44px; font-size: 7.5px; color: var(--sec); padding: 2px 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); }
.radarbar { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--fill); }
.radarbar .play { width: 22px; height: 22px; border-radius: 50%; background: var(--track); display: grid; place-items: center; font-size: 9px; flex: none; }
.frames { flex: 1; display: flex; align-items: center; gap: 3px; height: 18px; }
.frames i { flex: 1; height: 5px; border-radius: 3px; background: var(--track); transition: height .15s, background .15s; }
.frames i.past { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.frames i.cur { background: var(--accent); height: 9px; }
.radarbar .tl { width: 92px; text-align: right; font-size: 9.5px; font-weight: 600; }
:root { --map-land: #f2efe9; --map-water: #a9cdee; --map-park: #cfe6c4; --map-road: #ffffff; --map-road2: #fbfaf7; --map-casing: #e2ddd5; --map-block: #e9e5de; --map-label: #8a857e; }
@media (prefers-color-scheme: dark) {
  :root { --map-land: #2a2a2c; --map-water: #1d3550; --map-park: #233a28; --map-road: #4a4a4d; --map-road2: #3c3c3f; --map-casing: #222224; --map-block: #323235; --map-label: #8d8a86; }
}

/* ask */
.ask .intro { font-size: 11.5px; color: var(--sec); margin: 0 0 8px; }
.sugg { display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: var(--fill);
  color: var(--text); font-size: 11px; text-align: left; cursor: pointer; margin-bottom: 6px; transition: background .2s; }
.sugg:hover { background: var(--track); }
.sugg svg { color: var(--accent); font-size: 9px; }
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 280px; justify-content: flex-start; }
.bub { max-width: 85%; padding: 7px 10px; border-radius: 12px; font-size: 12px; line-height: 1.45; animation: pop .3s var(--ease); }
.bub.me { align-self: flex-end; background: var(--accent); color: #fff; }
.bub.ai { align-self: flex-start; background: var(--fill); }
.bub.ai.typing::after { content: "▍"; color: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0 } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) } }
.askbar { display: flex; gap: 6px; align-items: center; margin-top: 10px; }
.askbar .field { flex: 1; padding: 7px 10px; border-radius: 10px; background: var(--fill); color: var(--ter); font-size: 12px; }
.askbar .send { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 25%, transparent); color: #fff; font-size: 11px; }
.ask .fine { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--ter); margin-top: 8px; }
.ask .fine button { border: 0; background: none; color: var(--sec); font-size: 9.5px; font-weight: 500; cursor: pointer; padding: 0; }

.lang-note { text-align: center; font-size: 11px; color: var(--faint); margin-top: 10px; }

/* ---------- Regular sections ---------- */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
h2.big { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 40px; max-width: 36em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tile h3 { font-size: 16px; margin: 12px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ico svg { width: 19px; height: 19px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 640px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%;
  background: var(--text); color: var(--bg); display: grid; place-items: center; font-weight: 650; font-size: 14px; }
.steps p { margin: 3px 0 0; color: var(--muted); font-size: 15px; }
code { font: 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--sunk); padding: 1px 6px; border-radius: 5px; }

.pricebox { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 32px; }
.pricebox .amount { font-size: 52px; font-weight: 750; letter-spacing: -0.03em; }
.pricebox ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }

details { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 720px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 40px 0 60px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer p { margin: 4px 0; }
footer a { color: var(--muted); }

/* ---------- Changelog page ---------- */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); }
.release { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.release aside { position: sticky; top: 96px; align-self: start; }
.ver { display: inline-block; font-weight: 750; font-size: 28px; letter-spacing: -0.02em; }
.badge { display: inline-block; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent); padding: 3px 8px; border-radius: 6px; margin-top: 8px; }
.badge.grey { background: var(--sunk); color: var(--muted); }
.date { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.release h2 { font-size: 26px; letter-spacing: -0.015em; margin: 0 0 10px; }
.release h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 34px 0 12px; }
.release > div > p { color: var(--muted); margin: 0; max-width: 40em; }
.changes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.changes li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline; }
.changes li p { margin: 0; }
.changes li p span.muted { color: var(--muted); }
.tag { font-size: 10.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; text-align: center;
  padding: 3px 0; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.tag.int { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.tag.priv { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
.tag.known { background: color-mix(in srgb, var(--warn) 16%, transparent); color: color-mix(in srgb, var(--warn) 75%, var(--text)); }
.tag.soon { background: var(--sunk); color: var(--muted); }
.integrations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.integ { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); }
.integ strong { display: block; }
.integ span { color: var(--muted); font-size: 14px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.subscribe { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0 72px; background: var(--surface); }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  nav.links .hide-s { display: none; }
  .scene { height: 600vh; }
  .hero-copy { top: calc(64px + 4vh); }
  .lead { font-size: 17px; margin-bottom: 22px; }
  .screen { height: 380px; }
  .captions { left: 16px; right: 16px; width: auto; height: 150px; margin: 0; }
  @media (max-width: 519px) { .captions { height: 178px; } .cap p { font-size: 14.5px; } }
  .cap { justify-content: flex-start; text-align: center; align-items: center; }
  .cap .kicker { margin-bottom: 6px; font-size: 12px; }
  .cap h2 { font-size: 24px; margin-bottom: 8px; }
  .cap p { font-size: 15px; margin: 0; }
  .cap ul { display: none; }
  .dots { left: 50%; transform: translateX(-50%); }
  .scroll-cue { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .pricebox { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; gap: 16px; }
  .release aside { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  nav.links { gap: 12px; }
  nav.links .btn { display: none; }
  .grid, .integrations { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .pricebox { padding: 22px; }
  .wtabs button { font-size: 11px; }
  .changes li { grid-template-columns: 1fr; gap: 4px; }
  .tag { justify-self: start; padding: 3px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* language */
[data-en] { display: none; }
html[lang="en"] [data-da] { display: none; }
html[lang="en"] [data-en] { display: revert; }

/* ---------- Notch section ---------- */
.notch-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.notch-sec .kicker { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.mac { position: relative; height: 300px; border-radius: 18px 18px 0 0; overflow: hidden;
  border: 8px solid #1b1b1d; border-bottom: 0;
  background: radial-gradient(120% 90% at 20% 0%, #f6b98a 0%, #ec6f8e 45%, #8f6af2 100%); }
.mac::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.18)); pointer-events: none; }
.menubar { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; justify-content: space-between; align-items: center;
  padding: 0 12px; background: rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.menubar i { display: inline-block; height: 7px; border-radius: 4px; background: rgba(0,0,0,.35); margin-right: 10px; }
.mb-l i:nth-child(1) { width: 10px; } .mb-l i:nth-child(2) { width: 34px; } .mb-l i:nth-child(3) { width: 26px; } .mb-l i:nth-child(4) { width: 30px; }
.mb-r i { width: 12px; } .mb-r b { font-size: 10.5px; font-weight: 600; color: rgba(0,0,0,.7); }
.island { --w: 172px; --h: 26px; --r: 9px; position: absolute; top: 0; left: 50%; z-index: 2; width: var(--w); height: var(--h);
  transform: translateX(-50%); background: #000; color: #fff; border-radius: 0 0 var(--r) var(--r); outline: none; cursor: default;
  transition: width .5s cubic-bezier(.3,1.25,.4,1), height .5s cubic-bezier(.3,1.25,.4,1), border-radius .4s, box-shadow .4s; }
.island::before, .island::after { content: ""; position: absolute; top: 0; width: 10px; height: 10px; }
.island::before { left: -10px; background: radial-gradient(circle at 0 100%, transparent 9.5px, #000 10px); }
.island::after { right: -10px; background: radial-gradient(circle at 100% 100%, transparent 9.5px, #000 10px); }
.island.open { --w: min(470px, calc(100% - 40px)); --h: 168px; --r: 26px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.isl-content { position: absolute; left: 30px; right: 30px; top: 38px; display: grid; gap: 11px; opacity: 0; transform: scale(.96); transform-origin: top;
  transition: opacity .2s, transform .3s; pointer-events: none; }
.island.open .isl-content { opacity: 1; transform: none; transition-delay: .15s; pointer-events: auto; }
.isl-row { display: flex; align-items: center; gap: 14px; }
.isl-score { display: flex; align-items: center; gap: 8px; }
.isl-ring { position: relative; width: 36px; height: 36px; flex: none; }
.isl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.isl-ring circle { fill: none; stroke-width: 4; }
.isl-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.isl-t { font-size: 11px; font-weight: 600; } .isl-n { font-size: 9.5px; color: rgba(255,255,255,.6); white-space: nowrap; }
.isl-status { font-size: 11px; line-height: 1.4; color: rgba(255,255,255,.8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.isl-bar { width: 54px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.isl-bar i { display: block; height: 100%; background: var(--accent); }
.isl-btn { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); font-size: 10px; }
.isl-btn svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) {
  .notch-sec { grid-template-columns: 1fr; gap: 28px; }
  .mac { height: 250px; }
}
@media (max-width: 519px) {
  .island.open { --w: calc(100% - 24px); --h: 186px; }
  .isl-content { left: 18px; right: 18px; }
  .isl-n { display: none; }
}

/* ---------- Legal pages ---------- */
.doc { max-width: 760px; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(32px, 4.6vw, 46px); margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc h3 { font-size: 16px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--muted); font-size: 16px; }
.doc p strong, .doc li strong { color: var(--text); }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc a { color: var(--accent); }
.doc .box { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--surface); margin: 16px 0; }
.doc .box p { margin: 6px 0; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.doc .toc a { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; }
.doc .toc a:hover { color: var(--text); border-color: var(--accent); }
.doc .missing { color: var(--bad); font-weight: 600; }
.form { display: grid; gap: 14px; margin: 18px 0; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .btn { justify-self: start; }
.done { display: none; }
.done.show { display: block; }
footer .legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer .seller { white-space: pre-line; }
.missing { color: var(--bad) !important; font-weight: 600; }
