/* Horizon: the page is a sky. Its colours follow the time of day like the app's window does,
   and the sun sits on the same flat arc above a dark sea as in the app icon. */
:root {
  --bg: #0b0d26;
  --bg-2: #11143a;
  --txt: #f4f2fb;
  --mut: #a9a6c6;
  --faint: #6f6b93;
  --line: rgba(255, 255, 255, .09);
  --sun: #ffb347;
  --ember: #ff6b6b;
  --brand: linear-gradient(120deg, #ffd27a 0%, #ffa552 40%, #ff5f7e 100%);

  --body: 'Geist', -apple-system, system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --sys: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --round: ui-rounded, 'SF Pro Rounded', -apple-system, system-ui, sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--txt); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--body); background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.label { color: var(--faint); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; }
em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .06em .16em 0;
}
code { font: .86em var(--mono); padding: .15em .45em; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
kbd {
  display: inline-grid; place-items: center; min-width: 1.8em; height: 1.6em; padding: 0 .45em;
  font: 500 .78em/1 var(--mono); color: var(--txt); background: linear-gradient(180deg, #2a2b45, #181930);
  border-radius: .38em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 0 #05061a; vertical-align: .1em;
}
.big { font: 500 clamp(36px, 5.4vw, 72px)/1.02 var(--body); letter-spacing: -.035em; margin: 0 0 22px; }
.say { color: var(--mut); max-width: 60ch; margin: 0; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--out), transform .9s var(--out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gut); background: rgba(11, 13, 38, .76); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line);
  transform: translateY(-110%); transition: transform .45s var(--out);
}
.top.show { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 16px var(--body); letter-spacing: -.01em; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--mut); text-decoration: none; }
.top-nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .06); }
.top-nav .top-cta { color: #1b1030; background: var(--brand); font-weight: 600; }
@media (max-width: 760px) { .top-nav a:not(.top-cta) { display: none; } }

/* ---------- the sky, shared by hero, day and download ---------- */
.sky { --sky-a: #1e1a55; --sky-b: #8a3f8c; --sky-c: #ff7a4f; --sun-x: 50%; --sun-y: 70%; --night: 0; --hz: 66%; position: relative; isolation: isolate; }
.sky-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) calc(var(--hz) * .62), var(--sky-c) var(--hz), #1a1440 var(--hz), #0b0d26 100%);
  transition: background .25s linear;
}
.sky-bg .stars {
  position: absolute; inset: 0 0 calc(100% - var(--hz)); opacity: calc(var(--night) * .9); transition: opacity .6s;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 41% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 68% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 79% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 44%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 93% 46%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 19% 60%, #fff 50%, transparent 51%);
}
.sky-bg .sun {
  position: absolute; width: clamp(120px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%;
  left: calc(6% + .88 * var(--sun-x)); top: calc(24% + (var(--hz) - 24%) * var(--sun-y) / 100%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 35%, #fff3c4 0%, #ffd27a 38%, #ff9a52 70%, #ff7a4f 100%);
  box-shadow: 0 0 80px 30px rgba(255, 170, 90, .35), 0 0 240px 120px rgba(255, 120, 80, .18);
}
.sky-bg .sea {
  position: absolute; inset: var(--hz) 0 0; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 16px;
  background: linear-gradient(180deg, #2b1f55 0%, #171338 40%, #0b0d26 100%);
  box-shadow: 0 -1px 0 rgba(255, 210, 160, .55);
}
.sky-bg .sea b {
  display: block; height: 6px; border-radius: 3px; flex: none;
  position: relative; left: calc(-44% + .88 * var(--sun-x));
  background: linear-gradient(90deg, transparent, rgba(255, 180, 110, .7), transparent);
  opacity: calc(1 - var(--night) * .75);
}
.sky-bg .sea b:nth-child(1) { width: clamp(120px, 15vw, 220px); }
.sky-bg .sea b:nth-child(2) { width: clamp(100px, 12.5vw, 184px); opacity: calc(.8 - var(--night) * .6); }
.sky-bg .sea b:nth-child(3) { width: clamp(80px, 10vw, 148px); opacity: calc(.6 - var(--night) * .45); }
.sky-bg .sea b:nth-child(4) { width: clamp(60px, 7.5vw, 112px); opacity: calc(.42 - var(--night) * .3); }
.sky-bg .sea b:nth-child(5) { width: clamp(40px, 5vw, 76px); opacity: calc(.26 - var(--night) * .18); }

/* ---------- fake macOS menu bar ---------- */
.menubar {
  display: flex; align-items: center; gap: 18px; height: 28px; padding: 0 14px; font: 500 13px/1 var(--sys); color: #fff;
  background: rgba(20, 16, 50, .35); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.menubar b { font-weight: 700; }
.mb-apple { width: 13px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.1-1.7-2.9-1.9-3.5-1.9-1.5-.2-2.9.9-3.7.9-.8 0-1.9-.9-3.2-.8-1.6 0-3.1 1-4 2.4-1.7 3-.4 7.4 1.2 9.8.8 1.2 1.8 2.5 3 2.4 1.2 0 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8 0 0-2.5-1-2.5-3.9zM14 5.4c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.1-1.7-2.9-1.9-3.5-1.9-1.5-.2-2.9.9-3.7.9-.8 0-1.9-.9-3.2-.8-1.6 0-3.1 1-4 2.4-1.7 3-.4 7.4 1.2 9.8.8 1.2 1.8 2.5 3 2.4 1.2 0 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8 0 0-2.5-1-2.5-3.9zM14 5.4c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.mb-dim { font-weight: 400; opacity: .92; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.mb-horizon { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; margin: 0 -7px; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .2); font: 500 13px/1 var(--sys); color: #fff; white-space: nowrap; cursor: pointer; }
.bar-ico { width: 19px; height: 16px; flex: none; }
.mb-sys { display: flex; gap: 14px; }
.mb-sys i { width: 16px; height: 11px; border: 1.4px solid currentColor; border-radius: 3px; opacity: .9; }
.mb-sys i:first-child { width: 15px; border: 0; border-radius: 0; background: currentColor; -webkit-mask: radial-gradient(circle at 50% 100%, #000 18%, transparent 19%, transparent 38%, #000 39%, #000 52%, transparent 53%, transparent 70%, #000 71%, #000 84%, transparent 85%) top/100% 200%; mask: radial-gradient(circle at 50% 100%, #000 18%, transparent 19%, transparent 38%, #000 39%, #000 52%, transparent 53%, transparent 70%, #000 71%, #000 84%, transparent 85%) top/100% 200%; }
.mb-clock { white-space: nowrap; }
@media (max-width: 760px) { .menubar .mb-dim, .menubar .mb-sys { display: none; } .menubar { gap: 12px; } }
@media (max-width: 420px) { .menubar > b { display: none; } }

/* ---------- the popover replica ---------- */
.pop {
  --pw: 330px; position: relative; width: var(--pw); overflow: hidden; border-radius: 12px; font: 400 13px/1.25 var(--sys); color: #f5f5f7; text-align: left;
  background: rgba(36, 34, 52, .72); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .22) inset, 0 0 0 .5px rgba(0, 0, 0, .6), 0 24px 70px rgba(4, 3, 20, .55), 0 6px 20px rgba(4, 3, 20, .35);
  user-select: none; -webkit-user-select: none; outline: none;
}
.pop:focus-visible { box-shadow: 0 0 0 2px rgba(255, 165, 82, .6), 0 24px 70px rgba(4, 3, 20, .55); }
.pop > * { position: relative; }
.p-sky { position: absolute !important; inset: 0; pointer-events: none; opacity: .38; transition: background 1.2s;
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 30%, transparent 60%); mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 30%, transparent 60%); }
.pop[data-phase="night"] .p-sky { background: linear-gradient(135deg, #27346e, #4b2c6f); }
.pop[data-phase="dawn"] .p-sky { background: linear-gradient(135deg, #6b5ba8, #f29a6b); }
.pop[data-phase="day"] .p-sky { background: linear-gradient(135deg, #3d86e0, #7fc0ff); }
.pop[data-phase="dusk"] .p-sky { background: linear-gradient(135deg, #7d4a9e, #f2895a); }
.p-hair { display: block; height: 1px; margin: 0 16px; background: rgba(255, 255, 255, .12); }
.sec2 { color: rgba(235, 235, 245, .6); }

.p-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 14px 16px 12px; cursor: default; }
.p-wd { display: block; font: 600 15px/1.2 var(--sys); }
.p-num { display: block; font: 300 54px/1 var(--round); font-variant-numeric: tabular-nums; margin-top: -2px; letter-spacing: -.01em; }
.p-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.p-right b { font: 600 13px var(--sys); }
.p-right span:last-child { font: 500 12px var(--sys); color: rgba(235, 235, 245, .6); font-variant-numeric: tabular-nums; }
.p-phase { line-height: 0; padding-bottom: 4px; color: #f5f5f7; }
.p-phase .sym { width: 24px; height: 24px; }

.p-now { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; }
.p-now-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 22%, transparent); }
.p-now-ico svg { width: 15px; height: 15px; }
.p-now-ico.wave { display: flex; gap: 2px; justify-content: center; align-items: center; }
.p-now-ico.wave i, .nico.wave i { width: 2.5px; height: 12px; border-radius: 2px; background: var(--c); animation: wave 1s ease-in-out infinite; }
.p-now-ico.wave i:nth-child(2), .nico.wave i:nth-child(2) { animation-delay: -.33s; }
.p-now-ico.wave i:nth-child(3), .nico.wave i:nth-child(3) { animation-delay: -.66s; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); opacity: .55; } 50% { transform: scaleY(1); opacity: 1; } }
.p-now-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.p-now-txt > span:first-child { font: 500 11.5px var(--sys); color: rgba(235, 235, 245, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-now-txt b { font: 600 14px var(--sys); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-prog { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); margin-top: 2px; overflow: hidden; }
.p-prog i { display: block; height: 100%; border-radius: 2px; background: var(--c); }
.p-join { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font: 600 11.5px var(--sys); color: #fff; background: color-mix(in srgb, var(--c) 85%, transparent); cursor: pointer; }
.p-join:hover { background: var(--c); }
.p-join svg { width: 12px; height: 12px; }

.p-arc { padding: 12px 16px; }
.p-arc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font: 600 11px var(--sys); color: rgba(235, 235, 245, .6); }
.p-cap-title { text-transform: uppercase; letter-spacing: .02em; }
.p-link { color: #ff6b6b; cursor: pointer; font: 600 11px var(--sys); }
.p-sun { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font: 500 11px var(--sys); font-variant-numeric: tabular-nums; }
.p-sun svg { width: 13px; height: 13px; margin-left: 5px; color: rgba(235, 235, 245, .8); }
.p-sun svg:first-child { margin-left: 0; }
.p-chips { display: flex; gap: 5px; margin-bottom: 8px; }
.p-chips span { padding: 3px 7px; border-radius: 99px; font: 600 11px var(--sys); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--c) 25%, transparent); box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--c) 50%, transparent); cursor: pointer; }
.p-arc-box { position: relative; }
.p-arc-svg { position: absolute; inset: 0; overflow: visible; }
.p-hour { font: 500 10px var(--sys); fill: rgba(235, 235, 245, .3); text-anchor: middle; font-variant-numeric: tabular-nums; }
.p-cap { position: absolute; height: 15px; padding: 0 5px; border-radius: 5px; font: 600 10px/15px var(--sys); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: clip;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 100%, #fff 12%), var(--c)); opacity: .9; cursor: pointer; transition: transform .15s, opacity .15s; }
.p-cap:hover { opacity: 1; transform: scale(1.04); }
.p-cap.past { opacity: .4; }
.p-rem { position: absolute; width: 10px; height: 10px; }
.p-rem::before { content: ''; position: absolute; inset: 1px; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); transform: rotate(45deg); }
.p-empty { position: absolute; left: 0; right: 0; text-align: center; font: 500 11px/15px var(--sys); color: rgba(235, 235, 245, .3); }

.p-month { padding: 10px 12px 6px; }
.p-month-head { display: flex; align-items: center; gap: 5px; padding: 0 4px 4px; }
.p-month-head b { font: 600 15px var(--sys); }
.p-month-head > span { font: 400 15px var(--sys); color: rgba(235, 235, 245, .6); }
.p-nav { margin-left: auto; display: flex; }
.p-nav i { width: 24px; height: 22px; display: grid; place-items: center; border-radius: 6px; font: 700 15px/1 var(--sys); font-style: normal; color: rgba(235, 235, 245, .6); cursor: pointer; }
.p-nav i:nth-child(2) { font-size: 10px; }
.p-nav i:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.p-wds, .p-row { display: grid; grid-template-columns: 26px repeat(7, 1fr); }
.p-wds span { text-align: center; font: 600 11px var(--sys); color: rgba(235, 235, 245, .6); padding: 4px 0; }
.p-grid { overflow: hidden; }
.p-grid.pushr { animation: pushR .32s var(--out); }
.p-grid.pushl { animation: pushL .32s var(--out); }
@keyframes pushR { from { transform: translateX(30%); opacity: 0; } }
@keyframes pushL { from { transform: translateX(-30%); opacity: 0; } }
.p-kw { display: grid; place-items: center; font: 500 10px var(--sys); color: rgba(235, 235, 245, .3); font-variant-numeric: tabular-nums; }
.p-day { height: 36px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.p-day b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; font: 500 13px var(--round); font-variant-numeric: tabular-nums; }
.p-day:hover b { background: rgba(255, 255, 255, .09); }
.p-day.we b { color: rgba(235, 235, 245, .6); }
.p-day.past b { color: rgba(235, 235, 245, .3); }
.p-day.out b { color: rgba(235, 235, 245, .18); }
.p-day.sel b { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); background: none; }
.p-day.today b { color: #fff; font-weight: 700; background: linear-gradient(135deg, #ffa552, #ff5f7e); box-shadow: 0 1px 5px rgba(255, 107, 107, .45); }
.p-day.today.sel b { box-shadow: 0 1px 5px rgba(255, 107, 107, .45), inset 0 0 0 2px #ff7a6e, inset 0 0 0 3px rgba(255, 255, 255, .6); }
.p-day i { display: flex; gap: 2.5px; height: 4px; }
.p-day u { width: 4px; height: 4px; border-radius: 50%; }
.p-day.past i { opacity: .5; }
.p-day.out i { opacity: .35; }

.p-agenda { max-height: 250px; overflow-y: auto; padding: 0 8px 8px; scrollbar-width: none; }
.p-agenda::-webkit-scrollbar { display: none; }
.p-sec { height: 30px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 8px 3px; font: 600 12px var(--sys); }
.p-sec span { font-weight: 500; color: rgba(235, 235, 245, .6); }
.p-item { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 8px; border-radius: 9px; cursor: pointer; }
.p-item:hover { background: rgba(255, 255, 255, .07); }
.p-item.on { background: color-mix(in srgb, var(--c) 14%, transparent); }
.p-bar { flex: none; width: 4px; height: 30px; border-radius: 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 100%, #fff 15%), var(--c)); }
.p-check { flex: none; width: 16px; height: 16px; margin: 0 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c); display: grid; place-items: center; transition: background .2s; }
.p-check:hover::after, .p-check.done::after { content: '✓'; font: 900 9px/1 var(--sys); color: var(--c); }
.p-check.done { background: var(--c); }
.p-check.done::after { color: #fff; }
.p-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.p-item b { font: 600 13px var(--sys); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-item div span { font: 400 11.5px var(--sys); color: rgba(235, 235, 245, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-badge { flex: none; padding: 3px 7px; border-radius: 99px; font: 700 10.5px var(--sys); color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.p-badge.red { --c: #ff453a; }
.p-cd { flex: none; font: 500 11px var(--sys); color: rgba(235, 235, 245, .6); font-variant-numeric: tabular-nums; }
.p-cam { flex: none; color: rgba(235, 235, 245, .3); }
.p-cam svg { width: 13px; height: 13px; }
.p-free { display: flex; gap: 10px; align-items: center; padding: 12px 16px; }
.p-free span:first-child { line-height: 0; color: #f5f5f7; }
.p-free .sym { width: 22px; height: 22px; }
.p-free div { display: flex; flex-direction: column; }
.p-free b { font: 600 13px var(--sys); }
.p-free div span { font: 400 11.5px var(--sys); color: rgba(235, 235, 245, .6); }

.p-qa { padding: 10px 12px; }
.p-qa-field { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); font: 400 13px var(--sys); color: rgba(235, 235, 245, .3); }
.p-qa-field b { color: rgba(235, 235, 245, .6); font-size: 15px; line-height: 1; }
.p-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font: 500 13px var(--sys); color: rgba(235, 235, 245, .6); }
.p-set svg { width: 15px; height: 15px; display: block; }

.p-detail { padding: 10px 16px 14px; animation: slideIn .3s var(--out); }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } }
.d-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 12px; font: 600 13px var(--sys); }
.d-title { display: flex; gap: 10px; margin-bottom: 14px; }
.d-title > i { flex: none; width: 4px; border-radius: 2px; background: var(--c); }
.d-title h4 { margin: 0 0 4px; font: 600 17px/1.25 var(--sys); }
.d-title span { display: block; font: 500 12.5px var(--sys); color: rgba(235, 235, 245, .6); margin-bottom: 4px; }
.d-title small { display: flex; align-items: center; gap: 5px; font: 400 11.5px var(--sys); color: rgba(235, 235, 245, .6); }
.d-title u { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.d-join { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.d-join small { font: 400 11.5px var(--sys); color: rgba(235, 235, 245, .6); }
.d-sec { margin-bottom: 14px; }
.d-lbl { display: block; font: 600 11px var(--sys); text-transform: uppercase; letter-spacing: .03em; color: rgba(235, 235, 245, .6); margin-bottom: 5px; }
.d-sec p { margin: 0 0 5px; display: flex; align-items: center; gap: 7px; font: 400 12px var(--sys); }
.d-sec p i { width: 14px; text-align: center; font: 700 11px var(--sys); font-style: normal; }
.ok { color: #30d158; } .maybe { color: #ff9f0a; } .wait { color: rgba(235, 235, 245, .5); }
.d-map { position: relative; height: 110px; border-radius: 9px; overflow: hidden; margin-top: 6px;
  background:
    radial-gradient(ellipse 38% 30% at 62% 58%, #3b6fa8 0 98%, transparent 100%),
    linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .16) 46.5% 47.5%, transparent 48%),
    linear-gradient(20deg, transparent 30%, rgba(255, 220, 140, .25) 30.5% 31.5%, transparent 32%),
    linear-gradient(160deg, #2f3d34, #26332d); }
.d-map i { position: absolute; left: 40%; top: 32%; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ff453a; box-shadow: 0 0 0 2px #fff; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; --hz: 74%; }
.hero-in { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(40px, 7vh, 90px) var(--gut) 80px; max-width: 1320px; width: 100%; margin: 0 auto; }
.hero-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 20px var(--body); margin-bottom: 30px; }
.hero-brand img { border-radius: 10px; filter: drop-shadow(0 6px 18px rgba(255, 120, 80, .35)); }
.kicker { color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px; }
.hero h1 { font: 500 clamp(52px, 8.4vw, 124px)/.95 var(--body); letter-spacing: -.045em; margin: 0 0 26px; text-shadow: 0 2px 40px rgba(10, 6, 40, .35); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .82); max-width: 54ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font: 600 15px var(--body); text-decoration: none; transition: transform .2s var(--out), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-main { color: #1b1030; background: var(--brand); box-shadow: 0 10px 30px rgba(255, 110, 90, .35); }
.btn-ghost { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.wip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.coach { display: flex; gap: 10px; align-items: flex-start; max-width: 56ch; color: rgba(255, 255, 255, .78); line-height: 1.7; margin: 0;
  padding: 12px 16px; border-radius: 14px; background: rgba(16, 13, 46, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.coach kbd { font-size: 11px; }
.pulse { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 179, 71, .6); animation: ring 2s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(255, 179, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0); } }
.pop-wrap { position: relative; margin-top: -40px; transform-origin: top right; transition: transform .35s var(--out), opacity .25s; }
.pop-wrap.closed { transform: scale(.94) translateY(-10px); opacity: 0; pointer-events: none; }
.pop-wrap::before { content: ''; position: absolute; inset: 10% -20% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 140, 90, .25), transparent); filter: blur(30px); }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .pop-wrap { margin: 0 auto; transform-origin: top center; }
}
@media (max-width: 380px) { .pop-wrap .pop, .day-pop .pop, .detail-pop .pop { zoom: .9; } }

/* ---------- day scrub ---------- */
.day { height: 420vh; --hz: 70%; }
.day-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.day-in { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 80px); align-items: start; padding: 70px var(--gut) 40px; max-width: 1320px; margin: 0 auto; }
.day-copy { margin-top: clamp(20px, 12vh, 150px); }
.day .label { color: rgba(255, 255, 255, .6); }
.day-clock { font: 300 clamp(80px, 13vw, 190px)/.9 var(--round); letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin: 0 0 8px; text-shadow: 0 4px 60px rgba(10, 6, 40, .4); }
.day-sun { color: rgba(255, 255, 255, .7); margin: 0 0 22px; }
.day-copy { text-shadow: 0 1px 14px rgba(10, 6, 40, .45); }
/* The phase text sits on frosted glass, so it stays readable on the pale midday horizon too. */
.day-phase { min-height: 90px; }
/* The box hugs its text; the fixed-height wrapper around it keeps the steps below from moving. */
.ph-box { display: inline-block; max-width: 44ch; padding: 10px 14px; border-radius: 12px; background: rgba(12, 10, 40, .38); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); text-shadow: none; }
.day-phase b { display: block; font: 600 17px var(--body); margin-bottom: 2px; }
.day-phase span { display: block; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.ph-steps { display: flex; gap: 6px; padding: 0; margin: 12px 0 0; list-style: none; }
.ph-steps li { padding: 5px 11px; border-radius: 99px; color: rgba(255, 255, 255, .55); background: rgba(10, 8, 40, .25); transition: all .3s; }
.ph-steps li.on { color: #1b1030; background: #fff; }
.day-hint { color: rgba(255, 255, 255, .45); margin: 12px 0 0; }
.day-pop { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.menubar.mini { width: max-content; min-width: 330px; max-width: 100%; border-radius: 8px; justify-content: flex-end; overflow: hidden; }
.menubar.mini .mb-right { margin-left: 0; }
@media (max-width: 980px) {
  .day-in { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: 64px; }
  .day-pop { align-items: center; }
  .menubar.mini .mb-clock { display: none; }
  .day-clock { font-size: 72px; }
  .day-copy { margin-top: 0; }
  .day-phase { min-height: 0; } .ph-box { padding: 6px 12px; } .day-phase span, .day-hint, .day .big { display: none; }
}
@media (max-width: 980px) and (max-height: 900px) { .day-pop .pop { zoom: .82; } .menubar.mini { zoom: .82; } }

/* ---------- now ---------- */
.now, .quick, .detail, .barsec, .keys, .priv, .faq { padding: clamp(90px, 14vh, 160px) var(--gut); max-width: 1240px; margin: 0 auto; }
.now-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 48px 0 40px; }
.ncard { padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--line); }
.ncard p { color: var(--mut); margin: 18px 0 0; }
.ncard p b { color: var(--txt); }
.nrow { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(36, 34, 52, .9); font-family: var(--sys); }
.nrow > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nrow small { font: 500 12px var(--sys); color: rgba(235, 235, 245, .6); }
.nrow b { font: 600 16px var(--sys); }
.nico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2px; background: color-mix(in srgb, var(--c) 22%, transparent); }
.nico.clock::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--c) radial-gradient(circle, transparent 0); -webkit-mask: radial-gradient(circle, #000 70%, transparent 71%); }
.nprog { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 3px; }
.nprog i { display: block; height: 100%; background: var(--c); border-radius: 2px; }
.njoin { padding: 6px 12px; border-radius: 99px; background: var(--c); font: 600 12px var(--sys); color: #fff; }
.hosts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hosts p { margin: 0; color: var(--faint); text-transform: uppercase; letter-spacing: .12em; }
.hosts ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.hosts li { padding: 6px 12px; border-radius: 99px; font-size: 14px; color: var(--mut); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 760px) { .now-cards { grid-template-columns: 1fr; } }

/* ---------- quick add ---------- */
.qa { margin-top: 44px; max-width: 820px; }
.qa-field { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 165, 82, .35), 0 20px 60px rgba(255, 100, 90, .08); cursor: text; }
.qa-field:focus-within { box-shadow: inset 0 0 0 1.5px rgba(255, 140, 100, .8), 0 20px 60px rgba(255, 100, 90, .18); }
.qa-field b { font: 600 26px/1 var(--sys); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qa-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--txt); font: 400 clamp(18px, 2.2vw, 24px) var(--sys); }
.qa-field input::placeholder { color: rgba(235, 235, 245, .3); }
.qa-line { display: flex; align-items: center; gap: 8px; min-height: 22px; margin: 12px 6px 0; font-size: 13px; color: var(--mut); }
.qa-line kbd { margin-left: auto; }
.qa-hint { color: var(--faint); }
.qa-out { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--out); }
.qa-out.has { grid-template-rows: 1fr; }
.qa-out > * { min-height: 0; }
.qa-ticket { position: relative; overflow: hidden; margin-top: 18px; padding: 22px 24px 22px 32px; border-radius: 18px; background: rgba(36, 34, 52, .85); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.qa-ticket.saved { box-shadow: inset 0 0 0 1.5px #30d158; }
.qa-ticket.saved::after { content: '✓ Eingetragen (nur zum Schein)'; position: absolute; top: 22px; right: 24px; font: 600 13px var(--sys); color: #30d158; }
.qa-strip { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.qa-ticket h3 { margin: 0 0 14px; font: 600 24px var(--sys); }
.qa-ticket dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 24px; margin: 0; }
.qa-ticket dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.qa-ticket dd { margin: 3px 0 0; font: 500 15px var(--sys); display: flex; align-items: center; gap: 7px; }
.qa-ticket .off dd { color: var(--faint); }
.qa-ticket dd u { width: 9px; height: 9px; border-radius: 50%; }
.qa-ex { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.qa-ex button { padding: 8px 14px; border: 0; border-radius: 99px; font: 400 14px var(--sys); color: var(--mut); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.qa-ex button:hover { color: var(--txt); background: rgba(255, 255, 255, .1); }
.grammar { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 10px; max-width: 820px; }
.grammar li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.grammar li span { margin-left: auto; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.qa-note { color: var(--faint); margin: 22px 0 0; }

/* ---------- details ---------- */
.detail { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.facts li { color: var(--mut); padding-left: 22px; position: relative; }
.facts li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.facts b { color: var(--txt); }
.detail-pop { position: relative; }
.detail-pop::before { content: ''; position: absolute; inset: -10% 0; z-index: -1; background: radial-gradient(closest-side, rgba(79, 140, 255, .22), transparent); filter: blur(30px); }
.detail-pop .p-agenda, .detail-pop .p-foot { pointer-events: none; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } .detail-pop { justify-self: center; } }

/* ---------- menu bar styles ---------- */
.bar-demo { margin-top: 44px; }
.menubar.wide { height: 34px; border-radius: 12px; font-size: 14px; background: linear-gradient(90deg, rgba(125, 74, 158, .5), rgba(242, 137, 90, .45)); }
.menubar.wide .mb-horizon { font-size: 14px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 20px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { padding: 8px 14px; border: 0; border-radius: 9px; background: none; font-size: 14px; color: var(--mut); cursor: pointer; }
.seg button[aria-checked="true"] { color: #1b1030; background: var(--brand); font-weight: 600; }

/* ---------- keys ---------- */
.keymap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin-top: 44px; }
.keymap > div { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s; }
.keymap > div span { display: flex; gap: 4px; min-width: 96px; }
.keymap p { margin: 0; color: var(--mut); font-size: 15px; }
.keymap > div.hit { background: rgba(255, 140, 90, .12); box-shadow: inset 0 0 0 1px rgba(255, 140, 90, .6); }

/* ---------- privacy ---------- */
.priv-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.priv-grid li { padding: 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px var(--line); }
.priv-grid b { display: block; font-size: 18px; margin-bottom: 8px; }
.priv-grid span { color: var(--mut); font-size: 15px; }

/* ---------- faq ---------- */
.faq-list { margin-top: 30px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 500 19px var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 26px var(--body); color: var(--sun); transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); margin: 0 0 22px; max-width: 64ch; }

/* ---------- download ---------- */
.get { min-height: 92svh; display: grid; place-items: center; text-align: center; padding: 100px var(--gut) 40vh; overflow: hidden; --hz: 80%; --sky-a: #1b1752; --sky-b: #7a3d8f; --sky-c: #ff8a5c; --sun-x: 50%; --sun-y: 100%; }
.get-in { display: flex; flex-direction: column; align-items: center; }
.app-icon { width: 128px; height: 128px; border-radius: 28px; margin-bottom: 26px; filter: drop-shadow(0 18px 40px rgba(10, 6, 40, .5)); }
.get .say { color: rgba(255, 255, 255, .8); margin-bottom: 30px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.get-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-dl, .btn-coffee { gap: 14px; padding: 16px 26px; text-align: left; }
.btn-dl { color: #1b1030; background: #fff; box-shadow: 0 14px 40px rgba(10, 6, 40, .35); }
.btn-dl svg { width: 24px; height: 24px; }
.btn-coffee { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.btn-dl b, .btn-coffee b { display: block; font-size: 16px; }
.btn-dl small, .btn-coffee small { display: block; font: 500 13px var(--body); opacity: .65; }
.cup { font-size: 22px; line-height: 1; }
.get-note { max-width: 60ch; margin: 24px 0 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.get-note b { color: #fff; font-weight: 600; }
.get-foot { margin-top: 26px; color: rgba(255, 255, 255, .7); }
.get-foot a { text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px var(--gut); font-size: 14px; color: var(--faint); background: #0b0d26; }
.foot p { margin: 0; }
.foot-links { display: flex; gap: 18px; }
.foot a { color: var(--mut); }
