/* Vollnote homepage, Sky 3D. The Sky design (sky/style.css) with its
   centered hero, and under the headline a wide 3D stage: the week at the
   back, tasks and a note in the middle, the flashcard and two badges in
   front. It flies in on load, turns with the pointer, and stands up and
   spreads apart as you scroll. */

@import url("sky/style.css");

/* Orange and turquoise patches down the page (10 Nov 2026): soft warm and
   cool light behind the sections, so the page is not only blue and white. */
body {
  background:
    radial-gradient(560px 400px at 8% 14%, rgb(96 150 255 / 14%), transparent 70%) no-repeat,
    radial-gradient(600px 420px at 94% 31%, rgb(255 160 90 / 28%), transparent 70%) no-repeat,
    radial-gradient(480px 360px at 4% 52%, rgb(255 186 120 / 30%), transparent 70%) no-repeat,
    radial-gradient(560px 400px at 90% 70%, rgb(255 168 100 / 28%), transparent 70%) no-repeat,
    radial-gradient(520px 380px at 14% 88%, rgb(255 180 115 / 30%), transparent 70%) no-repeat,
    radial-gradient(560px 400px at 70% 22%, rgb(52 200 150 / 18%), transparent 70%) no-repeat,
    radial-gradient(520px 380px at 30% 61%, rgb(60 204 152 / 16%), transparent 70%) no-repeat,
    radial-gradient(540px 380px at 62% 95%, rgb(52 200 150 / 18%), transparent 70%) no-repeat,
    var(--bg);
}

/* The first view (12 Nov 2026): the same light as further down the page,
   white with soft peach, mint and one blue glow, in place of the blue sky. No hard
   edge: every glow fades to nothing. */
.hero {
  background:
    radial-gradient(720px 520px at 12% 18%, rgb(255 176 110 / 38%), transparent 70%) no-repeat,
    radial-gradient(680px 480px at 90% 30%, rgb(52 200 150 / 26%), transparent 70%) no-repeat,
    /* the blue sits higher (about 60% down) so it has faded out before the
       section ends: placed at the bottom it was cut off into a hard band */
    radial-gradient(620px 400px at 16% 60%, rgb(96 150 255 / 18%), transparent 70%) no-repeat;
}



.hero { --mx: 0; --my: 0; padding-bottom: 70px; }

.stage {
  --p: 0.24;
  /* 0 while the page is at the top, 1 after about half a screen. */
  --sp: clamp(0, (var(--p) - 0.24) * 3.4, 1);
  position: relative;
  width: 1100px;
  max-width: 100%;
  height: 540px;
  margin: 0 auto;
  perspective: 1900px;
  perspective-origin: 50% 0%;
}

/* A warm light behind the stack, drifting against the pointer. */
.stage-glow {
  position: absolute;
  left: 50%;
  top: -140px;
  width: 760px;
  height: 760px;
  margin-left: -380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 238 214 / 90%) 0%, rgb(255 228 200 / 40%) 34%, transparent 66%);
  transform: translate(calc(var(--mx) * -24px), calc(var(--my) * -14px));
  pointer-events: none;
}
.js .hero.is-in .stage-glow { animation: glow-in 2.4s var(--ease) both; }
@keyframes glow-in { from { opacity: 0; translate: 0 120px; } }

.stage-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  /* Tipped around the bottom edge, so nothing swings towards the viewer.
     Laid out a size larger, because the depth then shrinks it back: the
     text is drawn at full resolution instead of being blown up. */
  transform-origin: 50% 100%;
  zoom: 1.18;
  transform:
    rotateX(calc(30deg - var(--sp) * 24deg - var(--my) * 5deg))
    rotateY(calc(var(--mx) * 9deg));
}

/* A soft shadow on the floor the stack stands on. */
.stage-floor {
  position: absolute;
  left: 50%;
  top: 60px;
  width: 980px;
  height: 460px;
  margin-left: -490px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(79 107 237 / 14%), transparent 68%);
  transform: translateZ(-720px);
  filter: blur(20px);
}

.layer {
  position: absolute;
  transform-style: preserve-3d;
  /* The whole stack sits behind the screen plane, so every piece is drawn at
     its real size or smaller and the text stays sharp. */
  transform: translateZ(calc(var(--z) * (0.6 + var(--sp) * 0.8) - 340px));
}
.fly { transform-style: preserve-3d; }
.js .hero:not(.is-in) .fly { opacity: 0; }
.js .hero.is-in .fly { animation: fly-in 1.6s var(--ease) var(--d) both; }
@keyframes fly-in { from { opacity: 0; transform: translateZ(-640px) translateY(90px); } }

/* Each piece bobs a little on its own once it has landed. */
.fly > * { animation: bob 7s ease-in-out infinite alternate; }
.l-tasks .fly > * { animation-duration: 8s; animation-delay: -3s; }
.l-note .fly > * { animation-duration: 9s; animation-delay: -5s; }
.l-card .fly > * { animation-duration: 7.5s; animation-delay: -1s; }
.l-badge-a .fly > * { animation-duration: 6s; animation-delay: -2s; }
.l-badge-b .fly > * { animation-duration: 6.5s; animation-delay: -4s; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 6px; } }

.stage .m-panel, .stage .m-badge { --m-surface: #fff; }

.l-week { left: 50%; top: -80px; margin-left: -320px; }
.l-week .m-week { width: 640px; }
.l-week .m-day { min-height: 112px; }
.l-tasks { left: -20px; top: 150px; }
.l-note { left: 50%; top: 160px; margin-left: -205px; }
.l-card { right: -30px; top: 130px; }
.l-card .flip { width: 340px; height: 250px; }
.l-card .face-front .m-q.big { font-size: 23px; }
.l-badge-a { right: 50px; top: 84px; }
.l-badge-b { left: 10px; top: 390px; }
.badge-faces { display: flex; margin-left: 4px; }
.badge-faces .face-dot + .face-dot { margin-left: -7px; box-shadow: 0 0 0 2px #fff; }

/* ---------- shared bits: faces, toolbar pieces ---------- */

.face-dot {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  box-shadow: 0 0 0 2px #fff;
}
.ed-style { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 7px; background: rgb(14 23 38 / 4%); font-size: 11.5px; font-weight: 500; color: var(--ink); }
.ed-style svg { width: 8px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ed-sep { width: 1px; height: 16px; background: var(--line); }
.ed-t { width: 18px; text-align: center; font: 600 12.5px/1 Georgia, serif; color: var(--ink-2); text-decoration-thickness: 1px; }
i.ed-t { font-style: italic; font-weight: 500; }
.ed-caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--accent); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- hero: the editor in the stack ---------- */

.ed { width: 410px; overflow: hidden; }
.ed-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }
.ed-crumbs { flex: 1; white-space: nowrap; }
.ed-crumbs i { font-style: normal; margin: 0 3px; opacity: 0.6; }
.ed-crumbs b { color: var(--ink); font-weight: 500; }
.ed-faces { display: flex; }
.ed-faces .face-dot { width: 22px; height: 22px; font-size: 10px; }
.ed-faces .face-dot + .face-dot { margin-left: -6px; }
.ed-share { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 500; }
.ed-share .i { width: 12px; height: 12px; stroke-width: 2; }
.ed-tools { display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ed-tools .i { width: 15px; height: 15px; }
.ed-tools .i.is-on { color: #b7791f; }
.ed-page { position: relative; padding: 20px 24px 22px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.ed-page h4 { font: 600 19px/1.25 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.ed-meta { margin: 4px 0 12px; font-size: 11.5px; color: var(--ink-3); }
.ed-page .m-write p + p { margin-top: 8px; }
/* Lena is in the document too: her cursor and name tag. */
.ed-peer { position: absolute; left: 302px; top: 22px; width: 1.5px; height: 22px; background: var(--c); }
.ed-peer span { position: absolute; left: 0; bottom: 100%; padding: 1px 6px; border-radius: 5px 5px 5px 0; background: var(--c); color: #fff; font-size: 10px; font-weight: 600; white-space: nowrap; }
.js .hero:not(.is-in) .ed-peer { opacity: 0; }
.js .hero.is-in .ed-peer { animation: peer 0.9s var(--ease) 3s both; }
@keyframes peer { from { opacity: 0; translate: -24px 0; } }

/* ---------- six ways to write ---------- */

.ways { padding: 130px 0 30px; }
.ways-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 48px auto 0;
  padding: 6px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.ways-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: 500 14.5px/1 var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.ways-tabs button .i { width: 17px; height: 17px; }
.ways-tabs button:hover { color: var(--ink); }
.ways-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgb(40 70 140 / 12%); }
.ways-tabs button[aria-selected="true"] .i { color: var(--accent); }
/* How long until the next editor: a thin line along the bottom of the tab. */
.ways-fill { position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; opacity: 0.5; }
.ways.is-running [aria-selected="true"] .ways-fill { animation: fill 5s linear both; }
@keyframes fill { to { transform: scaleX(1); } }

.win {
  position: relative;
  max-width: 980px;
  margin: 30px auto 0;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(14 23 60 / 4%), 0 40px 90px rgb(40 70 140 / 16%);
  overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgb(14 23 38 / 10%); }
.win-crumbs { flex: 1; }
.win-crumbs i { font-style: normal; margin: 0 4px; opacity: 0.6; }
.win-crumbs b { color: var(--ink); font-weight: 500; }
.win-right { display: flex; align-items: center; gap: 12px; }
.win-share { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; }
.win-share .i { width: 13px; height: 13px; stroke-width: 2; }

.win-body { position: relative; height: 470px; }
.view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s 0.45s; }
.view.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease) 0.1s, visibility 0s; }
/* Whatever is in the view rises in as it comes on. */
.view > * { transition: translate 0.7s var(--ease) 0.1s; translate: 0 14px; }
.view.is-on > * { translate: none; }

.ways-caption { max-width: 560px; margin: 22px auto 0; text-align: center; font-size: 15.5px; color: var(--ink-2); min-height: 2em; }

/* 0 Document: the ribbon steps through all eight tabs */
.v-doc { display: flex; flex-direction: column; background: #f5f7fb; }
.rb { background: #fff; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.rb-tabs { position: relative; display: flex; align-items: center; gap: 2px; padding: 6px 14px 0; font-size: 12px; font-weight: 500; }
.rb-saved { font-size: 10.5px; color: var(--accent); }
.rb-right { display: flex; align-items: center; gap: 8px; }
.rb-btn { padding: 3px 9px; border-radius: 6px; font-size: 11px; color: var(--ink-2); }
.rb-undo { width: 11px; height: 9px; border: 1.5px solid var(--ink-3); border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; transform: rotate(-20deg); }
.rb-redo { transform: scaleX(-1) rotate(-20deg); }
.rb-tab { padding: 4px 10px 6px; border-bottom: 2px solid transparent; color: var(--ink-3); transition: color 0.3s, border-color 0.3s; }
.rb-tab.is-on { color: var(--ink); border-color: var(--accent); }
.rb-right { margin-left: auto; }
.rb-mode { padding: 3px 20px 3px 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; color: var(--ink-2); background: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%) right 8px center / 5px 5px no-repeat; }
.rb-panels { position: relative; height: 64px; }
.rb-panel { position: absolute; inset: 0; display: flex; align-items: stretch; padding: 6px 10px 4px; opacity: 0; transition: opacity 0.35s var(--ease); white-space: nowrap; overflow: hidden; }
.rb-panel.is-on { opacity: 1; }
.rb-g { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 0 12px; border-right: 1px solid rgb(14 23 38 / 7%); }
.rb-g small { font-size: 10px; color: var(--ink-3); }
.rb-items { display: flex; align-items: center; gap: 3px; height: 34px; }
.rb-b { padding: 4px 6px; font-size: 11px; color: var(--ink-2); }
.rb-ic { position: relative; display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 5px; font: 600 12.5px/1 Georgia, serif; color: var(--ink-2); }
i.rb-ic { font-style: italic; }
.rb-ic sup, .rb-ic sub { font-size: 7px; }
.rb-sty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 46px; height: 36px; border: 1px solid var(--line); border-radius: 7px; font: 400 8.5px/1 var(--sans); color: var(--ink-3); }
.rb-sty b { font: 400 13px/1 Georgia, serif; color: var(--ink); }
.rb-sty.is-on { border-color: var(--accent); background: #f3f6ff; color: var(--accent); }
.rb-sty--t b { font-size: 17px; font-weight: 700; }
.rb-sty--h b { font-size: 14px; font-weight: 600; }
.rb-sel { padding: 4px 18px 4px 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; background: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%) right 8px center / 5px 5px no-repeat; }
.rb-sel--s { padding-right: 16px; }
.rb-col::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 1px; height: 3px; border-radius: 2px; background: #e5484d; }
.rb-clr::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; border-top: 1.5px solid var(--ink-3); transform: rotate(-35deg); }
.rb-hlt::before { content: ""; width: 10px; height: 13px; border: 1.5px solid var(--ink-2); border-radius: 2px 2px 3px 3px; box-shadow: inset 0 -5px #fde047; }
.rb-ul::before, .rb-ol::before, .rb-ind::before, .rb-al::before, .rb-ac::before, .rb-ar::before, .rb-aj::before { content: ""; width: 13px; height: 10px; }
.rb-aj::before { background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.rb-ul::before { background: radial-gradient(circle, currentColor 1.3px, transparent 1.6px) 0 0 / 3px 3px no-repeat, radial-gradient(circle, currentColor 1.3px, transparent 1.6px) 0 50% / 3px 3px no-repeat, radial-gradient(circle, currentColor 1.3px, transparent 1.6px) 0 100% / 3px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 0 / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 5px 50% / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 5px 100% / 8px 1.5px no-repeat; }
.rb-ol::before { background: linear-gradient(currentColor, currentColor) 0 0 / 2px 3px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 2px 3px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 2px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 0 / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 5px 50% / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 5px 100% / 8px 1.5px no-repeat; }
.rb-ind::before { background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 5px 50% / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.rb-al::before { background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.rb-ac::before { background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.rb-ar::before { background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 100% 50% / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.rb-pen { width: 9px; height: 26px; border-radius: 3px 3px 2px 2px; background: linear-gradient(var(--c) 0 30%, #e8ecf3 30%); border: 1px solid var(--line); }
.rb-pen--hl { width: 12px; }

.doc-desk { position: relative; flex: 1; overflow: hidden; padding: 22px 0 0; }
.doc-page { width: 600px; margin: 0 auto; padding: 22px 56px 30px; min-height: 100%; background: #fff; border-radius: 4px 4px 0 0; box-shadow: 0 1px 3px rgb(14 23 60 / 6%), 0 10px 30px rgb(40 70 140 / 7%); font: 13.5px/1.65 Georgia, serif; color: #2a3140; }
.doc-head { display: flex; justify-content: space-between; margin-bottom: 14px; font: 10.5px var(--sans); color: var(--ink-3); }
.doc-page h3 { font: 700 25px/1.2 Georgia, serif; color: var(--ink); }
.doc-page h5 { margin: 12px 0 3px; font: 600 15px/1.3 Georgia, serif; color: var(--ink); }
.doc-cmt { box-shadow: 0 2px 0 #2f9e62; }
.doc-cite { color: var(--accent); }
.doc-fn { color: var(--accent); font-size: 9px; }
.doc-page del { color: #e5484d; }
.doc-page ins { color: #2f7a52; text-decoration: underline; text-decoration-color: #2f9e62; }
.doc-row { display: flex; gap: 22px; margin: 10px 0 18px; }
.doc-table { border-collapse: collapse; font-size: 12px; line-height: 1.4; }
.doc-table th { color: var(--ink); font-weight: 700; text-align: left; border-bottom-color: var(--ink-3) !important; }
.doc-table th, .doc-table td { padding: 3px 14px 3px 0; border: 0; border-bottom: 1px solid #e6eaf2; }
.doc-ink { position: relative; }
.doc-ink::after { content: ""; position: absolute; inset: -3px -7px; border: 1.6px solid #e5484d; border-radius: 50%; transform: rotate(-4deg); opacity: 0.75; }
.view.v-doc.is-on .doc-ink::after { animation: fade 0.5s ease 1.2s both; }
.doc-chart { position: relative; display: flex; align-items: flex-end; gap: 9px; width: 190px; height: 70px; margin: 0; padding: 0 10px; border-bottom: 1px solid var(--ink-3); }
.doc-chart span { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: #7f9fe6; transform-origin: bottom; }
.view.v-doc.is-on .doc-chart span { animation: doc-bar 0.9s var(--ease) 0.6s both; }
@keyframes doc-bar { from { transform: scaleY(0); } }
.doc-chart figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 4px); font-size: 10.5px; font-style: italic; color: var(--ink-3); text-align: center; }
.doc-foot { position: relative; margin-top: 16px; padding-top: 6px; font-size: 10.5px; color: var(--ink-3); }
.doc-foot::before { content: ""; position: absolute; left: 0; top: 0; width: 90px; border-top: 1px solid var(--ink-3); }
.doc-comment { position: absolute; right: 18px; top: 120px; display: flex; gap: 8px; width: 170px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgb(40 70 140 / 8%); font-size: 11.5px; line-height: 1.4; }
.doc-comment b { color: var(--ink); font-size: 11.5px; }
.doc-comment p { color: var(--ink-2); }
.view.v-doc.is-on .doc-comment { animation: fade 0.6s ease 1s both; }
.doc-status { display: flex; gap: 16px; padding: 5px 16px; background: #fff; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--ink-2); }
.doc-zoom { margin-left: auto; }

/* 1 Cue notes */

/* 1 Mind map: topics written on their own coloured underlines, branches
   that draw themselves in from the middle out (10 Nov 2026 redesign). */
.v-mind { background: #fcfbf8; }
.mm-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mm-lines path { stroke: var(--b); stroke-width: var(--w); stroke-dasharray: 1 1.01; opacity: 0.85; }
.mm-root { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 22px; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgb(14 23 38 / 6%), 0 12px 30px rgb(40 60 120 / 10%); font: 600 19px/1.15 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.mm-root small { font: 400 11px var(--sans); letter-spacing: 0; color: var(--ink-3); }
.mm-t { position: absolute; transform: translateY(-100%); display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 0 2px 4px; border-bottom: 1.5px solid color-mix(in srgb, var(--b) 55%, transparent); font: 400 12.5px/1.2 var(--sans); color: var(--ink-2); white-space: nowrap; }
.mm-main { box-sizing: border-box; align-items: center; padding-bottom: 5px; border-bottom-width: 3px; border-bottom-color: color-mix(in srgb, var(--b) 85%, transparent); font: 600 15px/1.2 var(--sans); color: var(--ink); }
.view.v-mind.is-on .mm-t { animation: mm-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(0.72s + var(--k) * 0.42s) both; }
@keyframes mm-in { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
.mm-photo { display: block; width: 74px; height: 44px; border-radius: 8px; background: radial-gradient(circle at 30% 35%, #b6e3a0 0 6px, transparent 7px), radial-gradient(circle at 62% 62%, #9bd68a 0 8px, transparent 9px), radial-gradient(circle at 80% 28%, #b6e3a0 0 5px, transparent 6px), linear-gradient(135deg, #4f9a5c, #2f6e3e); box-shadow: 0 4px 10px rgb(40 90 50 / 18%); }
.mm-cards { align-self: flex-start; padding: 1px 7px; border-radius: 999px; background: #fff3c4; color: #7a5d12; font: 600 10px/1.6 var(--sans); font-style: normal; }
.mm-note { position: absolute; right: 30px; bottom: 14px; font: 600 19px/1 "Caveat", cursive; color: #b4532a; transform: rotate(-3deg); }
.mm-bar { position: absolute; left: 16px; top: 14px; display: flex; gap: 2px; padding: 3px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font: 500 11.5px var(--sans); color: var(--ink-3); }
.mm-bar span { padding: 3px 11px; border-radius: 999px; }
.mm-bar span.is-on { background: #eef2ff; color: var(--accent); }

/* Smooth + soft (10 Nov 2026): the rough filters read as broken lines, not hand drawing,
   so lines and outlines are clean; only the words stay handwritten. Everything starts
   hidden and builds in from the middle: card, branches, topics, then the bar and note. */
.mm-main { transform: translateY(-50%); padding: 6px 14px; border: 1.5px solid color-mix(in srgb, var(--b) 55%, transparent); color: var(--ink); background: color-mix(in srgb, var(--b) 12%, #fff); border-radius: 14px; }
.mm-t:not(.mm-main) { padding-bottom: 3px; border-bottom: 1.5px solid color-mix(in srgb, var(--b) 50%, transparent); font: 600 16.5px/1.1 "Caveat", cursive; color: #3a4252; }
.mm-root { background: #fffdf8; }
.view.v-mind.is-on .mm-lines path { animation: mm-draw 0.85s cubic-bezier(0.45, 0, 0.2, 1) calc(0.3s + var(--k) * 0.42s) both; }
@keyframes mm-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.view.v-mind.is-on .mm-root { animation: mm-root-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
@keyframes mm-root-in { from { opacity: 0; scale: 0.92; } to { opacity: 1; scale: 1; } }
.view.v-mind.is-on .mm-bar { animation: mm-show 0.5s ease 2.9s both; }
.view.v-mind.is-on .mm-note { animation: mm-show 0.6s ease 3.1s both; }
@keyframes mm-show { from { opacity: 0; } to { opacity: 1; } }
/* While the map is the shown view, every piece rests hidden and its animation brings it in
   (explicit "to" frames). So a frame painted before an animation has started shows nothing,
   never the finished map. Off, they rest visible: the view itself is hidden then, and they
   keep their look while it fades out. */
.view.v-mind.is-on .mm-lines path { stroke-dashoffset: 1; opacity: 0; }
.view.v-mind.is-on .mm-t, .view.v-mind.is-on .mm-root, .view.v-mind.is-on .mm-bar, .view.v-mind.is-on .mm-note { opacity: 0; }

/* 2 Notebook: blocks on a dotted page */
.v-book { background: #fff radial-gradient(rgb(14 23 38 / 13%) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.book-grid { position: absolute; inset: 0 0 0 232px; }
.nb-side { position: absolute; inset: 0 auto 0 0; width: 232px; padding: 16px 12px; background: #f7f9fd; border-right: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.nb-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 12px; }
.nb-head b { font-weight: 600; color: var(--ink); font-size: 13.5px; }
.nb-head .i { width: 16px; height: 16px; color: var(--ink-3); }
.nb-find { display: flex; align-items: center; gap: 7px; padding: 7px 9px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink-3); font-size: 12.5px; }
.nb-find .i { width: 14px; height: 14px; }
.nb-find kbd { margin-left: auto; padding: 1px 5px; border-radius: 5px; background: #eef2f9; font: 500 10.5px var(--sans); color: var(--ink-3); }
.nb-tree, .nb-tree ul { list-style: none; margin: 0; padding: 0; }
.nb-tree ul { padding-left: 14px; }
.nb-row { display: flex; align-items: center; gap: 7px; padding: 5px 6px; border-radius: 7px; font-weight: 500; color: var(--ink); }
.nb-sec { font-weight: 450; color: var(--ink-2); }
.nb-chev { width: 0; height: 0; border-left: 4.5px solid var(--ink-3); border-block: 3.5px solid transparent; transition: rotate 0.2s; }
.is-open > .nb-row .nb-chev { rotate: 90deg; }
.nb-sw { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.nb-tree li:not(.is-open) > ul { display: none; }
.nb-pages li { padding: 5px 8px 5px 14px; border-radius: 7px; color: var(--ink-2); }
.nb-pages li.is-on { background: #e6eeff; color: var(--accent); font-weight: 500; }
.nb-pages .nb-add { color: var(--ink-3); font-size: 12px; }
.blk { position: absolute; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgb(40 70 140 / 8%); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.blk b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13.5px; }
.b-title { left: 32px; top: 30px; border: 0; box-shadow: none; background: none; padding: 0; }
.b-title h3 { font: 600 26px/1.2 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.b-title span { font-size: 12.5px; color: var(--ink-3); }
.b-text { left: 32px; top: 118px; width: 260px; }
.b-eq { left: 318px; top: 140px; padding: 18px 26px; font: 500 26px/1 Georgia, serif; font-style: italic; color: var(--ink); }
.b-list { left: 520px; top: 56px; width: 205px; display: flex; flex-direction: column; gap: 6px; }
.b-list span { display: flex; align-items: center; gap: 9px; }
.b-list span i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ink-3); }
.b-list span i.tick { background: var(--accent); border-color: var(--accent); }
.b-sticky { left: 330px; top: 285px; width: 170px; background: #fff3c4; border-color: rgb(180 140 20 / 18%); color: #6b5310; transform: rotate(-2deg); }
.b-move { left: 520px; top: 270px; width: 205px; }
/* One block gets picked up and dropped somewhere new. */
.view.v-book.is-on .b-move { animation: drag 2.4s var(--ease) 0.9s both; }
@keyframes drag {
  0% { translate: -400px 30px; box-shadow: 0 6px 18px rgb(40 70 140 / 8%); }
  30% { translate: -400px 22px; rotate: -2deg; box-shadow: 0 24px 50px rgb(40 70 140 / 22%); }
  85% { translate: 0 -8px; rotate: 1deg; box-shadow: 0 24px 50px rgb(40 70 140 / 22%); }
  100% { translate: 0 0; rotate: 0deg; }
}

/* 3 Canvas: a sketch that draws itself */
.v-canvas { background: #fffdf8; }
.sketch { position: absolute; inset: 20px 30px 40px; width: calc(100% - 60px); height: calc(100% - 60px); stroke-width: 3; }
.sketch path, .sketch circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.s-sea { stroke: #3b6fe0; }
.s-hill { stroke: #2f9e62; }
.s-sun { stroke: #e0a21a; }
.s-cloud { stroke: #7c8aa5; }
.s-arrow { stroke: var(--ink); stroke-width: 2.4; }
.s-rain { stroke: #3b6fe0; stroke-width: 2.4; }
.view.v-canvas.is-on .sketch path, .view.v-canvas.is-on .sketch circle { animation: draw 1.2s var(--ease) both; }
.view.v-canvas.is-on .s-hill { animation-delay: 0.3s !important; }
.view.v-canvas.is-on .s-sun { animation-delay: 0.5s !important; }
.view.v-canvas.is-on .s-cloud { animation-delay: 0.8s !important; }
.view.v-canvas.is-on .s-arrow, .view.v-canvas.is-on .s-rain { animation-delay: 1.2s !important; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.hand { position: absolute; font: 600 22px/1 "Caveat", cursive; color: var(--ink); white-space: nowrap; }
.view.v-canvas.is-on .hand { animation: fade 0.6s ease 1.8s both; }
.canvas-note { position: absolute; left: 50px; top: 200px; padding: 10px 14px; background: #fff3c4; border-radius: 4px; font: 600 19px/1.2 "Caveat", cursive; color: #6b5310; box-shadow: 0 6px 16px rgb(120 90 20 / 12%); transform: rotate(-3deg); }
.canvas-tools { position: absolute; right: 18px; top: 16px; display: flex; gap: 10px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 18px rgb(40 70 140 / 10%); }
.canvas-tools i { width: 18px; height: 18px; border-radius: 50%; background: var(--t, var(--ink)); }
.canvas-tools i.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
@keyframes fade { from { opacity: 0; } }

/* 4 Journal */
.v-journal { display: grid; place-items: center; background: linear-gradient(180deg, #fffaf3, #fff); }
.jr { width: 680px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.jr-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.jr-head b { font: 600 28px/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.jr-head span { color: var(--ink-3); }
.jr-mood { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: #e7f6ee; color: #2f7a52 !important; font-size: 12.5px; font-weight: 500; }
.jr-row { display: flex; gap: 22px; margin-top: 20px; align-items: flex-start; }
.jr-photo { position: relative; flex: none; width: 300px; height: 190px; margin: 0; border-radius: 14px; overflow: hidden; background: #3a3f55; box-shadow: 0 10px 26px rgb(120 80 40 / 14%); }
.jr-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.jr-photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 7px; background: rgb(0 0 0 / 35%); color: #fff; font-size: 11.5px; }
.jr-side { display: flex; flex-direction: column; gap: 12px; }
.jr-voice, .jr-place { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgb(40 70 140 / 7%); font-size: 13px; color: var(--ink); }
.jr-voice .i, .jr-place .i { width: 17px; height: 17px; color: var(--accent); }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; border-radius: 3px; background: var(--accent); opacity: 0.55; height: 40%; }
.wave i:nth-child(3n) { height: 85%; }
.wave i:nth-child(4n+1) { height: 60%; }
.wave i:nth-child(5n+2) { height: 100%; }
.view.v-journal.is-on .wave i { animation: wave 1s ease-in-out infinite alternate; animation-delay: calc(var(--n, 0) * 1s); }
.wave i:nth-child(2n) { --n: -0.3; }
.wave i:nth-child(3n) { --n: -0.6; }
@keyframes wave { to { transform: scaleY(0.45); } }

/* 5 Flashcards */
.v-cards { display: grid; place-items: center; background: linear-gradient(180deg, #f6f8ff, #fff); }
.fc { display: flex; align-items: center; gap: 56px; }
.fc-stack { position: relative; width: 380px; height: 300px; }
.fc-card { position: absolute; inset: 0; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgb(40 70 140 / 12%); }
.fc-back2 { transform: translate(18px, 18px) rotate(4deg); opacity: 0.6; }
.fc-back1 { transform: translate(9px, 9px) rotate(2deg); opacity: 0.85; }
.fc-front { padding: 24px 26px; }
.fc-q { margin-top: 26px; font: 600 34px/1.1 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.fc-a { font-size: 17px; color: var(--ink); font-weight: 500; }
.fc-a span { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.view.v-cards.is-on .fc-front { animation: deal 0.8s var(--ease) 0.2s both; }
@keyframes deal { from { transform: translate(60px, -30px) rotate(8deg); opacity: 0; } }
.view.v-cards.is-on .m-review .is-picked { animation: m-press 0.5s ease 1.4s both; }
.fc-side { display: flex; flex-direction: column; gap: 10px; width: 200px; color: var(--ink-2); font-size: 14px; }
.fc-side b { color: var(--ink); font-size: 17px; }
.fc-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 6px; }
.fc-bar i { display: block; height: 100%; width: 60%; border-radius: 6px; background: var(--accent); }
.view.v-cards.is-on .fc-bar i { animation: bar 1.2s var(--ease) 0.5s both; }
@keyframes bar { from { width: 0; } }
.fc-stat em { font-style: normal; font-weight: 600; color: var(--ink); margin-right: 4px; }

/* ---------- sharing ---------- */

.share { padding: 30px 0 40px; }
.share-in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
  padding: 64px 56px;
  border-radius: 36px;
  background: linear-gradient(160deg, var(--tint), #fff 70%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.share-copy h2 { font: 600 clamp(32px, 3.6vw, 46px) / 1.08 var(--sans); letter-spacing: -0.04em; }
.share-copy > p { margin-top: 14px; max-width: 440px; font-size: 17.5px; color: var(--ink-2); }
.share-points { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.share-points li { display: flex; gap: 14px; align-items: flex-start; }
.share-points b { display: block; color: var(--ink); font-weight: 600; }
.share-points li > span:last-child { font-size: 15px; color: var(--ink-2); }
.pt-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: 0 6px 16px rgb(40 70 140 / 12%); }
.pt-icon .i { width: 19px; height: 19px; }

.share-art { position: relative; height: 470px; }
.dlg { position: absolute; left: 0; top: 64px; width: 360px; padding: 18px; }
.dlg header { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ink); }
.dlg-x { width: 12px; height: 12px; background: linear-gradient(45deg, transparent 45%, var(--ink-3) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--ink-3) 45% 55%, transparent 55%); }
.dlg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 14px 0 8px; padding: 4px; border-radius: 11px; background: rgb(14 23 38 / 4%); font-size: 13px; color: var(--ink-2); }
.dlg-tabs span { padding: 6px; border-radius: 8px; text-align: center; }
.dlg-tabs .is-on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 4px rgb(14 23 60 / 10%); }
.dlg-tabs em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; }
.dlg-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 12px; }
.dlg-row .face-dot { width: 32px; height: 32px; font-size: 11.5px; box-shadow: none; }
.dlg-who { flex: 1; display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.3; }
.dlg-who b { color: var(--ink); font-weight: 500; }
.dlg-who i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.dlg-box { width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid var(--ink-3); display: grid; place-items: center; color: #fff; }
.dlg-box .i { width: 14px; height: 14px; stroke-width: 3; }
.dlg-row:not(.is-off) .dlg-box { background: var(--accent); border-color: var(--accent); }
.dlg footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.dlg-seg { display: flex; padding: 3px; border-radius: 10px; background: rgb(14 23 38 / 4%); font-size: 12.5px; color: var(--ink-2); }
.dlg-seg span { padding: 5px 11px; border-radius: 8px; }
.dlg-seg .is-on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 4px rgb(14 23 60 / 10%); }
.dlg-save { padding: 8px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; }

.code-chip { position: absolute; right: 30px; top: 10px; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 26px rgb(40 70 140 / 12%); font-size: 13px; color: var(--ink-2); }
.code-chip b { margin-left: 6px; color: var(--accent); letter-spacing: 0.04em; }
.export { position: absolute; right: 0; top: 250px; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 26px rgb(40 70 140 / 12%); }
.ex-file { width: 38px; height: 46px; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 6px; color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em; }
.ex-pdf { background: #e5484d; }
.ex-doc { background: #3b6fe0; margin-left: -18px; transform: rotate(6deg); box-shadow: -2px 0 0 #fff; }
.ex-text { display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.ex-text b { color: var(--ink); font-size: 13.5px; }
.toast { position: absolute; left: 180px; bottom: 0; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 14px 30px rgb(14 23 38 / 25%); transform: translateX(-50%); }
.toast .i { width: 16px; height: 16px; stroke-width: 2.4; color: #7ee2a8; }

/* The sharing plays out once: two people get ticked, Save is pressed, and
   the confirmation slides up. */
.js .share-in.is-in .dlg-row:not(.is-off) .dlg-box { animation: tick 0.45s var(--ease-spring, var(--ease)) calc(1.1s + var(--k) * 0.45s) both; }
@keyframes tick { from { background: transparent; border-color: var(--ink-3); transform: scale(0.8); } }
.js .share-in.is-in .dlg-row:not(.is-off) { animation: row 0.9s ease calc(1s + var(--k) * 0.45s) both; }
@keyframes row { 0%, 100% { background: transparent; } 40% { background: var(--accent-soft); } }
.js .share-in.is-in .dlg-tabs em { animation: pop 0.4s var(--ease-spring) 1.6s both; }
@keyframes pop { from { transform: scale(0); } }
.js .share-in.is-in .dlg-save { animation: press 0.5s ease 2.3s both; }
@keyframes press { 45% { transform: scale(0.93); } }
.js .share-in .toast { opacity: 0; }
.js .share-in.is-in .toast { animation: toast 0.7s var(--ease) 2.6s both; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- scroll hint ---------- */
/* A quiet chevron at the foot of the first screen, a nudge rather than a
   button. It bobs slowly and fades away as soon as the page moves. */
.scroll-hint { position: fixed; left: 50%; bottom: 22px; z-index: 20; translate: -50% 0; pointer-events: none; color: var(--ink); opacity: calc(0.32 * (1 - var(--gone, 0))); }
.scroll-hint svg { display: block; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: hint-in 1s ease 2.2s both, hint-bob 2.6s ease-in-out 3.2s infinite; }
@keyframes hint-in { from { opacity: 0; } }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: hint-in 1s ease 2.2s both; } }

/* ---------- the calendar, drawn as a real one (10 Nov 2026) ---------- */
.cal { position: relative; width: 660px; padding: 14px 14px 12px; font-size: 11px; color: var(--ink-2); }
.cal-bar { display: flex; align-items: center; gap: 10px; padding: 0 2px 12px; }
.cal-title { display: flex; align-items: baseline; gap: 8px; margin-right: auto; }
.cal-title b { font: 650 15px var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.cal-title span { font-size: 11.5px; color: var(--ink-3); }
.cal-nav { display: flex; align-items: center; gap: 2px; }
.cal-arrow { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 15px; color: var(--ink-3); }
.cal-today { padding: 3px 9px; border: 1px solid var(--line); border-radius: 7px; font-weight: 550; color: var(--ink); }
.cal-views { display: flex; padding: 2px; border-radius: 8px; background: #f1f4fa; }
.cal-views span { padding: 3px 9px; border-radius: 6px; font-weight: 500; color: var(--ink-3); }
.cal-views .is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(14 23 38 / 10%); }
.cal-new { padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; }
.cal-head, .cal-allday, .cal-grid { display: grid; grid-template-columns: 30px repeat(7, 1fr); }
.cal-dh { display: flex; align-items: baseline; justify-content: center; gap: 4px; padding: 0 0 6px; font-size: 10.5px; color: var(--ink-3); }
.cal-dh b { font: 600 14px var(--sans); color: var(--ink); }
.cal-dh.is-today b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
.cal-dh.is-wknd b { color: var(--ink-3); }
.cal-allday { position: relative; align-items: center; min-height: 24px; padding: 3px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-alllabel { grid-column: 1; font-size: 8.5px; line-height: 1; color: var(--ink-3); text-align: right; padding-right: 4px; }
.cal-all { grid-row: 1; display: flex; align-items: center; gap: 4px; margin: 0 2px; padding: 2px 5px; border-radius: 6px; font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; }
.cal-grid { position: relative; height: var(--h); margin-top: 0; }
.cal-hours { position: relative; }
.cal-hours span { position: absolute; right: 5px; translate: 0 -50%; font-size: 9px; color: var(--ink-3); }
.cal-hours span:first-child { translate: 0 2px; }
.cal-col { position: relative; border-left: 1px solid #edf0f6; background: repeating-linear-gradient(180deg, transparent 0 calc(var(--px) - 1px), #f1f3f8 calc(var(--px) - 1px) var(--px)); }
.cal-col.is-wknd { background-color: #fafbfd; }
.cal-col.is-today { background-color: rgb(59 111 224 / 3.5%); }
.cal-ev { position: absolute; left: 2px; right: 2px; overflow: hidden; padding: 3px 4px 3px 5px; border-radius: 6px; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); line-height: 1.25; }
.cal-ev b { display: block; font-size: 10px; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev small { display: block; font-size: 9px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-blue { --c: #3b6fe0; } .k-violet { --c: #8e4ec6; } .k-green { --c: #2f9e62; } .k-warm { --c: #e07b1a; } .k-teal { --c: #1c9a8a; } .k-pink { --c: #d6336c; }
.cal-all.k-pink, .cal-all.k-teal { background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); }
.cal-ev.k-review { --c: var(--accent); background: transparent; border: 1.5px dashed var(--accent); border-left-width: 1.5px; }
.cal-ev.k-review b { color: var(--accent); }
.cal-ev .cal-ic { position: absolute; right: 4px; top: 4px; }
.cal-ic { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.cal-faces { display: flex; margin-top: 3px; }
.cal-faces i { display: grid; place-items: center; width: 15px; height: 15px; margin-left: -4px; border-radius: 50%; background: var(--c); color: #fff; font: 600 8px var(--sans); font-style: normal; box-shadow: 0 0 0 1.5px #fff; }
.cal-faces i:first-child { margin-left: 0; }
.cal-due { position: absolute; z-index: 1; left: 0; right: -1px; display: flex; align-items: center; gap: 3px; padding-top: 2px; border-top: 2px solid #e5484d; color: #c9302c; font-size: 9px; font-weight: 600; white-space: nowrap; }
.cal-due .cal-ic { width: 10px; height: 10px; }
.cal-now { position: absolute; left: -4px; right: 0; height: 0; border-top: 1.5px solid #e5484d; }
.cal-now::before { content: ""; position: absolute; left: 0; top: -4.5px; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.cal-pop { position: absolute; left: 432px; top: 196px; z-index: 2; width: 200px; padding: 11px 12px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgb(40 60 120 / 18%), 0 2px 6px rgb(40 60 120 / 8%); font-size: 10.5px; color: var(--ink-2); }
.cal-ev.is-picked { box-shadow: 0 0 0 1.5px var(--c), 0 4px 10px rgb(142 78 198 / 22%); z-index: 1; }
.cal-pop > b { display: block; margin-bottom: 6px; font: 650 13px var(--sans); color: var(--ink); }
.cal-pop-row { display: flex; align-items: center; gap: 7px; padding: 3px 0; }
.cal-pop-dot { width: 9px; height: 9px; border-radius: 3px; background: #8e4ec6; }
.cal-pop .cal-faces { margin: 0; }
.cal-switch { position: relative; width: 22px; height: 13px; margin-left: auto; border-radius: 99px; background: var(--accent); }
.cal-switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.cal-pop-foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.cal-pop-foot span { padding: 3px 9px; border-radius: 7px; font-weight: 600; color: var(--ink-2); }
.cal-pop-foot .cal-save { background: var(--accent); color: #fff; }
/* It fills in: the events rise one after another, then the new meeting's card opens. */
.js [data-play] .cal-ev, .js [data-play] .cal-all, .js [data-play] .cal-due, .js [data-play] .cal-pop { opacity: 0; }
.js [data-play].is-in .cal-ev, .js [data-play].is-in .cal-all, .js [data-play].is-in .cal-due { animation: p-rise 0.6s var(--ease) calc(0.35s + var(--e, 0) * 0.08s) both; }
.js [data-play].is-in .cal-pop { animation: cal-pop 0.6s var(--ease) 1.6s both; }
@keyframes cal-pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }

/* Clearer edges for the big section cards (11 Nov 2026): they faded to white at the
   bottom and melted into the page. A light-blue end, a fine outline, a soft shadow. */
.panel, .share-in { background: linear-gradient(160deg, #eef3ff, #f6f9ff 75%); border: 1px solid rgb(40 70 140 / 12%); box-shadow: 0 1px 2px rgb(14 23 38 / 4%), 0 22px 44px -28px rgb(40 70 140 / 28%); }
.download-in { background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 60%, #edf3ff); border: 1px solid rgb(40 70 140 / 12%); box-shadow: 0 1px 2px rgb(14 23 38 / 4%), 0 22px 44px -28px rgb(40 70 140 / 28%); }

/* FAQ: grey + instead of blue (11 Nov 2026). */
.faq summary .i { color: var(--ink-3); }
.faq summary:hover .i, .faq details[open] summary .i { color: var(--ink-2); }

/* ---------- smaller screens ---------- */

@media (max-width: 1100px) {
  .stage { transform: scale(0.78); transform-origin: top center; margin-bottom: -120px; }
  .win-body { zoom: 0.78; height: 470px; }
  .share-in { grid-template-columns: 1fr; padding: 48px 32px; }
}
@media (max-width: 760px) {
  .stage { transform: scale(0.48); width: 1100px; max-width: none; margin-left: 50%; translate: -50% 0; margin-bottom: -300px; }
  .ways-tabs { border-radius: 22px; }
  .ways-tabs button { padding: 9px 13px; font-size: 13.5px; }
  .win-body { zoom: 0.38; }
  .share-in { padding: 36px 20px; }
  .share-art { zoom: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
  .fly > * { animation: none; }
  .ed-caret, .ed-peer, .wave i { animation: none !important; opacity: 1 !important; }
}

/* The real logo (concept 3 by Anik Paul, 12 Nov 2026): the blue V and the
   word, drawn from the delivered SVG. The word takes the text colour. */
.logo-lockup { display: block; height: 28px; width: auto; }
.foot .logo-lockup, footer .logo-lockup { height: 24px; }

/* Beta tester signup (27 Nov 2026): the Tally form in a white card. */
.beta { padding-block: 40px 20px; }
.beta .head p { max-width: 520px; margin: 12px auto 0; color: var(--ink-2); }
.beta-card { max-width: 720px; margin: 28px auto 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgb(40 70 140 / 10%); }
.beta-card iframe { display: block; border: 0; }
@media (max-width: 600px) { .beta-card { padding: 14px 12px; border-radius: 18px; } }
