/* straipz landing. Plain CSS, mobile first. Tokens sampled from the packaging.
   The page is one workday: every section parodies a piece of office software. */

@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-style: italic; font-display: swap; src: url("/assets/fonts/poppins-latin-800-italic.woff2") format("woff2"); }

:root {
  --ink: #0b2e22;
  --ink-2: #0f3a2b;
  --ink-3: #072018;
  --lime: #b8e22e;
  --lime-2: #d4f26a;
  --paper: #f4f6f1;
  --paper-2: #e8ece2;
  --card: #ffffff;
  --text: #0f1a16;
  --muted: #4d5e55;
  --line: #d5dccf;
  --red: #e5322d;

  --pulse-1: #1f3a8a; --pulse-2: #3e6bc1; --pulse-3: #529cd3; --pulse-4: #65cacc;
  --flow-1: #0d2116;  --flow-2: #183224;  --flow-3: #4c6f37;  --flow-4: #92b044;
  --drift-1: #24143f; --drift-2: #684694; --drift-3: #ad92d1; --drift-4: #d8b7ea;

  --font: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hand: "Marker Felt", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --office: Calibri, Carlito, "Segoe UI", Arial, sans-serif;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: clamp(4rem, 10vw, 8rem);
  --r-1: .5rem; --r-2: .9rem; --r-3: 1.5rem; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(11 46 34 / .06), 0 4px 16px rgb(11 46 34 / .06);
  --shadow-2: 0 2px 6px rgb(11 46 34 / .08), 0 18px 48px rgb(11 46 34 / .14);

  --fs-0: .875rem; --fs-1: 1rem; --fs-2: 1.125rem; --fs-3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5.1rem);

  --nav-h: 4.25rem;
  --status: #f5c542;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-1); line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: 100; padding: var(--s-2) var(--s-4); background: var(--lime); color: var(--ink); font-weight: 600; border-radius: var(--r-1); }
.skip:focus { top: var(--s-4); }

.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 46rem); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 3.25rem; padding: 0 var(--s-5); border: 0; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 600 var(--fs-1)/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(11 46 34 / .25); }
.btn:active { transform: translateY(0); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-2); box-shadow: 0 10px 30px rgb(184 226 46 / .35); }
.btn--small { min-height: 2.5rem; padding: 0 var(--s-4); font-size: var(--fs-0); background: var(--lime); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .35); }
.btn--ghost:hover { background: rgb(255 255 255 / .08); box-shadow: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: rgb(7 32 24 / .74); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: #fff; border-bottom: 1px solid rgb(255 255 255 / .08); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.nav__logo img { width: 6.75rem; }
.nav__links { display: none; gap: var(--s-5); margin-left: var(--s-4); }
.nav__links a { text-decoration: none; font-size: var(--fs-0); opacity: .8; }
.nav__links a:hover { opacity: 1; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.clock { display: inline-flex; align-items: center; gap: var(--s-2); padding: .3rem .75rem; border-radius: var(--r-pill); background: rgb(255 255 255 / .08); font: 600 var(--fs-0)/1 var(--mono); font-variant-numeric: tabular-nums; }
.clock__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--status); box-shadow: 0 0 10px var(--status); transition: background .4s ease, box-shadow .4s ease; }
.clock__status { display: none; font: 400 .78rem/1 var(--font); color: rgb(255 255 255 / .75); }
html[data-status-kind="ok"] { --status: #3ccf6e; }
html[data-status-kind="busy"] { --status: #ef4b4b; }
html[data-status-kind="away"] { --status: #f5c542; }
html[data-status-kind="off"] { --status: #9aa5a0; }
.bosskey { display: none; align-items: center; gap: .4rem; padding: .3rem .7rem; border: 1px solid rgb(255 255 255 / .18); border-radius: var(--r-pill); background: transparent; color: #fff; font-size: var(--fs-0); line-height: 1; cursor: pointer; opacity: .75; }
.bosskey:hover { opacity: 1; }
.bosskey kbd { font: 600 .7rem/1 var(--mono); padding: .15rem .35rem; border-radius: .3rem; background: rgb(255 255 255 / .15); }
.dayline { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.dayline span { display: block; height: 100%; width: calc(var(--progress, 0) * 100%); background: linear-gradient(90deg, var(--pulse-4), var(--pulse-2) 30%, var(--flow-4) 55%, var(--drift-3) 85%, var(--drift-2)); }
@media (min-width: 40rem) { .clock__status { display: inline; } }
@media (min-width: 56rem) { .nav__links { display: flex; } }
@media (min-width: 72rem) { .bosskey { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + var(--s-6)); background: var(--ink-3); color: #fff; isolation: isolate; }
.hero__glow { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 38%, rgb(62 107 193 / .55), transparent 70%),
    radial-gradient(30% 40% at 95% 70%, rgb(146 176 68 / .45), transparent 70%),
    radial-gradient(35% 45% at 55% 75%, rgb(104 70 148 / .55), transparent 70%),
    radial-gradient(40% 50% at 10% 10%, rgb(184 226 46 / .12), transparent 70%);
  filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { display: grid; gap: var(--s-7); align-items: center; padding-bottom: var(--s-8); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); padding: .35rem .85rem; border: 1px solid rgb(255 255 255 / .16); border-radius: var(--r-pill); font-size: var(--fs-0); color: rgb(255 255 255 / .85); }
.eyebrow__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(184 226 46 / .6); } 70% { box-shadow: 0 0 0 .6rem rgb(184 226 46 / 0); } 100% { box-shadow: 0 0 0 0 rgb(184 226 46 / 0); } }
.hero__title { margin-top: var(--s-5); font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.grad-text { background: linear-gradient(90deg, var(--pulse-4), var(--pulse-3) 25%, var(--flow-4) 55%, var(--drift-3) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__what { margin-top: var(--s-5); font-size: clamp(1.3rem, 1rem + 1.1vw, 1.7rem); font-weight: 600; line-height: 1.25; color: #fff; }
.hero__what::after { content: ""; display: block; width: 4.5rem; height: 4px; margin-top: .55rem; border-radius: 2px; background: var(--lime); }
.hero__lead { margin-top: var(--s-3); max-width: 36rem; font-size: var(--fs-2); color: rgb(255 255 255 / .82); }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; }
.hero__facts li { padding: .3rem .75rem; border-radius: var(--r-pill); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); font-size: .82rem; }
.hero__facts li::before { content: "✓ "; color: var(--lime); font-weight: 700; }
/* hand-written whiteboard note pointing at a strip */
.hero__callout { position: absolute; z-index: 2; left: 11%; top: -19%; margin: 0; font: 600 1.15rem/1.15 var(--hand); color: var(--lime); transform: rotate(-5deg); pointer-events: none; }
.hero__callout span { display: block; font-size: 1.4rem; }
.hero__callout span::before { content: "← "; }
.hero__proof { margin-top: var(--s-4); font-size: var(--fs-0); color: rgb(255 255 255 / .7); }
.hero__proof strong { color: var(--lime); }
.hero__art { position: relative; margin: 0; }
.hero__art img { width: 100%; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.render-note { position: absolute; right: 0; bottom: -1.4rem; font-size: .7rem; color: rgb(255 255 255 / .45); }
/* floating strips: translucent film with a glossy sheen, so they read as real oral strips */
.strip { position: absolute; width: 3.4rem; height: 4.6rem; border-radius: .5rem; opacity: .82; box-shadow: 0 12px 26px rgb(0 0 0 / .35), inset 0 0 0 1.5px rgb(255 255 255 / .55); animation: drift 9s ease-in-out infinite; }
.strip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(125deg, rgb(255 255 255 / .55), rgb(255 255 255 / .08) 38%, transparent 60%, rgb(255 255 255 / .18)); }
.strip--a { left: 2%; top: -10%; background: linear-gradient(140deg, var(--pulse-4), var(--pulse-2)); --r: -18deg; }
.strip--b { right: 2%; top: -6%; background: linear-gradient(140deg, var(--flow-4), var(--flow-3)); --r: 14deg; animation-delay: -3s; }
.strip--c { left: -4%; bottom: -16%; background: linear-gradient(140deg, var(--drift-4), var(--drift-2)); --r: -8deg; animation-delay: -6s; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-14px) rotate(calc(var(--r) + 8deg)); } }
@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: calc(88vh - var(--nav-h)); }
  .hero__art img { width: 122%; max-width: none; margin-left: -6%; }
}

/* ---------- forms (shared) ---------- */
.join__consent { display: flex; gap: var(--s-2); align-items: flex-start; margin-top: var(--s-3); font-size: .8rem; }
.join__consent input { margin-top: .2rem; accent-color: var(--lime); }
.join__msg { min-height: 1.5rem; margin-top: var(--s-2); font-size: var(--fs-0); font-weight: 600; }
.join__msg.is-ok { color: var(--flow-3); }
.join__msg.is-err { color: var(--red); }
.join.is-done .invite__input, .join.is-done .invite__rsvp, .join.is-done .join__consent, .join.is-done .join__interest, .join.is-done .mail__compose { display: none; }

/* hero form = calendar invite */
.invite { margin-top: var(--s-6); max-width: 34rem; padding: var(--s-5); border-radius: var(--r-2); background: #fff; color: var(--text); box-shadow: 0 24px 60px rgb(0 0 0 / .35); border-left: 6px solid var(--lime); }
.invite__head { display: flex; gap: var(--s-3); align-items: flex-start; }
.invite__icon { flex: none; width: 2rem; height: 2rem; color: var(--flow-3); }
.invite__title { font-weight: 600; line-height: 1.3; }
.invite__meta, .invite__people { font-size: .8rem; color: var(--muted); }
.invite__people { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.invite__input { width: 100%; min-height: 3rem; margin-top: var(--s-3); padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--r-1); background: var(--paper); font: 400 var(--fs-1) var(--font); color: var(--text); }
.invite .join__consent { color: var(--muted); }
.invite__rsvp { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-2); margin-top: var(--s-4); }
.rsvp { min-height: 2.75rem; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-1); background: #fff; color: var(--text); font-weight: 600; font-size: var(--fs-0); cursor: pointer; transition: background .15s ease, transform .15s ease; }
.rsvp:hover { background: var(--paper); }
.rsvp--yes { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.rsvp--yes:hover { background: var(--lime-2); }
.rsvp--no:hover { background: #fff1f0; border-color: #f2b8b5; }
.invite.is-nudge .rsvp--yes { animation: nudge .5s ease 2; }
@keyframes nudge { 25% { transform: translateX(-4px) rotate(-2deg); } 75% { transform: translateX(4px) rotate(2deg); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--lime); color: var(--ink); border-block: 1px solid rgb(0 0 0 / .08); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { padding: .85rem 1.25rem; font-weight: 600; font-size: var(--fs-0); white-space: nowrap; }
.ticker span::before { content: "⚡"; margin-right: 1.25rem; font-size: .8em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- generic sections ---------- */
.section { padding-block: var(--s-9); }
.section--paper { background-color: var(--paper);
  background-image: linear-gradient(rgb(11 46 34 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(11 46 34 / .045) 1px, transparent 1px);
  background-size: 28px 28px; }
.kicker { font-size: var(--fs-0); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--flow-3); }
.kicker--light { color: var(--lime); }
.h2 { margin-top: var(--s-3); font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.03em; }
.h2--light { color: #fff; }
.lead { margin-top: var(--s-4); max-width: 40rem; font-size: var(--fs-2); color: var(--muted); }
.lead--light { color: rgb(255 255 255 / .78); }
.fineprint { margin-top: var(--s-5); font-size: .8rem; color: var(--muted); }
.punch { margin-top: var(--s-7); max-width: 44rem; font-size: var(--fs-3); font-weight: 600; }
.punch strong { background: linear-gradient(transparent 60%, var(--lime) 60%); }

/* ---------- 07:45 kitchen notes on a cork board ---------- */
.board { margin-top: var(--s-7); padding: var(--s-7) var(--s-5); border-radius: var(--r-3); display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); align-items: start;
  background: radial-gradient(circle at 20% 30%, rgb(0 0 0 / .06) 1px, transparent 1.5px) 0 0 / 7px 7px, radial-gradient(circle at 70% 60%, rgb(255 255 255 / .08) 1px, transparent 1.5px) 0 0 / 9px 9px, #b98a5a;
  box-shadow: inset 0 0 0 10px #8a5f37, inset 0 0 30px rgb(0 0 0 / .35), var(--shadow-2); }
.note { position: relative; padding: var(--s-5) var(--s-4) var(--s-4); color: #2a2a26; box-shadow: 0 10px 18px rgb(0 0 0 / .25); transform: rotate(var(--tilt, -2deg)); transition: transform .25s ease; }
.note:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.note::before { content: ""; position: absolute; top: -.55rem; left: 50%; width: 1.1rem; height: 1.1rem; margin-left: -.55rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff7a6b, #c0261c 70%); box-shadow: 0 3px 4px rgb(0 0 0 / .4); }
.note__head { font: 800 .8rem/1 var(--font); letter-spacing: .2em; color: var(--red); margin-bottom: var(--s-2); }
.note__text { font-size: 1rem; line-height: 1.4; }
.note__sign { margin-top: var(--s-3); text-align: right; font-size: .85rem; opacity: .75; }
.note__sign::before { content: "— "; }
.note--sticky { background: #ffe873; font-family: var(--hand); --tilt: -3deg; }
.note--sticky .note__text { font-size: 1.35rem; font-weight: 600; }
.note--a4 { background: #fff; font-family: Arial, Helvetica, sans-serif; --tilt: 1.5deg; padding-top: var(--s-6); }
.note--a4::before { width: 4.5rem; height: 1.3rem; margin-left: -2.25rem; top: -.6rem; border-radius: 2px; background: rgb(255 255 255 / .55); box-shadow: 0 1px 2px rgb(0 0 0 / .15); }
.note--a4 .note__text { font-weight: 700; text-transform: uppercase; font-size: .9rem; }
.note--card { background: repeating-linear-gradient(#fdfdf8 0 1.4rem, #b9d3ec 1.4rem calc(1.4rem + 1px)); font-family: var(--hand); --tilt: -1deg; }
.note--card::after { content: ""; position: absolute; top: 0; bottom: 0; left: 1.7rem; width: 1px; background: #f2a3a3; }
.note--card .note__text, .note--card .note__sign { padding-left: 1.2rem; }
.note--pink { background: #ff9ec7; font-family: var(--hand); --tilt: 2.5deg; }
.note--pink .note__text { font-size: 1.1rem; }
.note--scrap { background: #f1ede3; font-family: var(--hand); --tilt: -4deg; clip-path: polygon(0 4%, 12% 0, 30% 3%, 48% 0, 66% 4%, 84% 1%, 100% 3%, 98% 100%, 0 97%); }

/* ---------- 07:58 calendar ---------- */
.calwrap { display: grid; gap: var(--s-7); align-items: start; }
.legend { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.legend__item { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline; padding: .6rem .9rem; border-radius: var(--r-1); background: var(--card); border-left: 5px solid; box-shadow: var(--shadow-1); font-weight: 600; }
.legend__item strong { font-family: var(--mono); }
.legend__item span { font-weight: 400; color: var(--muted); font-size: var(--fs-0); }
.legend__item--pulse { border-color: var(--pulse-2); }
.legend__item--flow { border-color: var(--flow-4); }
.legend__item--drift { border-color: var(--drift-2); }
.calwrap__hint { margin-top: var(--s-5); font-size: var(--fs-0); color: var(--muted); }
.calwrap__hint::before { content: "↓ "; }
.cal { border-radius: var(--r-2); background: var(--card); box-shadow: var(--shadow-2); overflow: hidden; font-family: var(--office); font-size: .85rem; }
.cal__bar { display: flex; align-items: center; gap: var(--s-3); padding: .6rem .9rem; border-bottom: 1px solid #e3e3e3; background: #fafafa; }
.cal__today { padding: .15rem .6rem; border: 1px solid #ccc; border-radius: .3rem; }
.cal__date { font-weight: 700; }
.cal__views { margin-left: auto; display: flex; border: 1px solid #ccc; border-radius: .3rem; overflow: hidden; }
.cal__views span { padding: .15rem .55rem; color: #666; }
.cal__views .is-on { background: var(--ink); color: #fff; }
.cal__body { --row: 1.75rem; position: relative; display: grid; grid-template-columns: 3.2rem 1fr; grid-template-rows: repeat(23, var(--row)); padding: .5rem .75rem .75rem 0; }
.cal__times { grid-column: 1; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; color: #888; font-size: .72rem; text-align: right; padding-right: .5rem; }
.cal__times span { transform: translateY(-.45rem); }
.cal__events { grid-column: 2; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; list-style: none; margin: 0; padding: 0;
  background: repeating-linear-gradient(#ececec 0 1px, transparent 1px calc(var(--row) * 2)); }
.ev { margin: 1px 0 1px 1px; padding: .1rem .5rem; border-radius: .3rem; background: #e9eef7; border-left: 3px solid #8a9bb8; color: #33405a; overflow: hidden; line-height: 1.3; font-size: .78rem; }
.ev__time { font-weight: 700; margin-right: .2rem; }
.ev__tag { margin-left: .3rem; font-size: .7rem; opacity: .8; }
.ev--big { background: #eef0f3; }
.ev--cancel { background: repeating-linear-gradient(-45deg, #f6f6f6 0 6px, #ececec 6px 12px); border-color: #bbb; color: #888; }
.ev--tentative { background: #fff; border: 1px dashed #8a9bb8; border-left-width: 3px; }
.ev--gap { background: none; border: 0; text-align: center; font-style: italic; color: #999; }
.ev--strip { position: relative; z-index: 1; color: #fff; font-size: .8rem; border: 0; box-shadow: 0 4px 10px rgb(0 0 0 / .15); }
.ev--strip .ev__tag { opacity: .9; }
.ev--pulse { background: linear-gradient(90deg, var(--pulse-2), var(--pulse-4)); }
.ev--flow { background: linear-gradient(90deg, var(--flow-2), var(--flow-4)); }
.ev--drift { background: linear-gradient(90deg, var(--drift-2), var(--drift-3)); }
.ev-r1 { grid-row: 1; } .ev-r2 { grid-row: 2 / 4; } .ev-r4 { grid-row: 4; } .ev-r5 { grid-row: 5 / 8; } .ev-r8 { grid-row: 8; }
.ev-r9 { grid-row: 9; } .ev-r11 { grid-row: 11 / 15; } .ev-r15 { grid-row: 15; } .ev-r16 { grid-row: 16 / 18; } .ev-r18 { grid-row: 18 / 21; }
.ev-r21 { grid-row: 21; } .ev-r22 { grid-row: 22; } .ev-r23 { grid-row: 23; }
/* red "now" line at 15:07 */
.cal__now { position: absolute; left: 3.2rem; right: .75rem; top: calc(.5rem + var(--row) * 14.23); height: 2px; background: var(--red); font-size: 0; pointer-events: none; z-index: 0; }
.cal__now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
@media (min-width: 60rem) {
  .calwrap { grid-template-columns: .85fr 1.15fr; }
  .calwrap__copy { position: sticky; top: calc(var(--nav-h) + var(--s-6)); }
  .cal__body { --row: 2rem; }
}

/* ---------- product panels ---------- */
.panel { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--s-9); color: #fff; }
.panel__inner { display: grid; gap: var(--s-6); align-items: center; }
.panel__time { position: absolute; z-index: -1; right: -.04em; bottom: -.12em; font-size: clamp(7rem, 4rem + 18vw, 20rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgb(255 255 255 / .1); font-variant-numeric: tabular-nums; pointer-events: none; }
.panel__event { display: inline-flex; gap: .4rem; align-items: center; margin-bottom: var(--s-4); padding: .3rem .7rem; border-radius: .4rem; background: rgb(255 255 255 / .92); color: var(--ink); font: 600 .78rem/1.2 var(--office); box-shadow: 0 6px 16px rgb(0 0 0 / .2); }
.panel__role { font: 600 var(--fs-0)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .75); display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.panel__name { margin-top: var(--s-3); font-size: clamp(2.5rem, 1.6rem + 4.5vw, 5rem); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.04em; }
.panel__text { margin-top: var(--s-4); max-width: 30rem; font-size: var(--fs-2); color: rgb(255 255 255 / .88); }
.panel__facts { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: .45rem; max-width: 30rem; }
.panel__facts li { padding: .55rem .9rem; border-radius: var(--r-1); background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.claim { margin-top: var(--s-4); max-width: 30rem; padding-left: var(--s-3); border-left: 3px solid rgb(255 255 255 / .6); font-size: var(--fs-0); font-style: italic; color: rgb(255 255 255 / .85); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-5); }
.chips span { padding: .3rem .75rem; border-radius: var(--r-pill); background: rgb(255 255 255 / .92); color: var(--ink); font-size: .8rem; font-weight: 600; }
.chips .chips__note { background: none; color: rgb(255 255 255 / .7); font-weight: 400; padding-inline: .2rem; }
.badge { padding: .25rem .55rem; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font: 600 .7rem/1 var(--font); letter-spacing: .06em; }
.panel__art { margin: 0; justify-self: center; width: min(100%, 26rem); }
.panel__art img { filter: drop-shadow(0 40px 50px rgb(0 0 0 / .45)); transform: rotate(-4deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.panel.is-in .panel__art img { transform: rotate(3deg) translateY(-8px); }
.panel--pulse { background: linear-gradient(120deg, var(--pulse-1) 0%, var(--pulse-2) 45%, var(--pulse-3) 75%, var(--pulse-4) 100%); }
.panel--flow  { background: linear-gradient(120deg, var(--flow-1) 0%, var(--flow-2) 40%, var(--flow-3) 75%, var(--flow-4) 100%); }
.panel--drift { background: linear-gradient(120deg, var(--drift-1) 0%, var(--drift-2) 50%, var(--drift-3) 85%, var(--drift-4) 100%); }
@media (min-width: 52rem) {
  .panel { min-height: 92vh; display: grid; align-items: center; }
  .panel__inner { grid-template-columns: 1.1fr .9fr; }
}

/* ---------- 09:12 helpdesk ticket + dashboard ---------- */
.how { display: grid; gap: var(--s-6); align-items: start; }
.ticket { margin-top: var(--s-4); border-radius: var(--r-2); background: var(--card); box-shadow: var(--shadow-2); overflow: hidden; font-family: var(--office); }
.ticket__bar { display: flex; align-items: center; gap: var(--s-3); padding: .6rem 1rem; background: #23395d; color: #fff; font-size: .85rem; }
.ticket__app { font-weight: 700; }
.ticket__id { font-family: var(--mono); opacity: .8; }
.ticket__status { margin-left: auto; padding: .1rem .6rem; border-radius: var(--r-pill); background: #2fb36a; font-weight: 700; font-size: .75rem; }
.ticket__status::before { content: "● "; }
.ticket__body { padding: var(--s-5); }
.ticket__subject { font-family: var(--font); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; }
.ticket__meta { margin: var(--s-4) 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem var(--s-4); font-size: .85rem; }
.ticket__meta div { display: flex; flex-wrap: wrap; gap: 0 .4rem; }
.ticket__meta dt { color: #777; }
.ticket__meta dt::after { content: ":"; }
.ticket__meta dd { margin: 0; font-weight: 700; }
.ticket__label { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid #e6e6e6; font-weight: 700; color: #23395d; text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }
.steps { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-4); font-family: var(--font); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.steps__n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; }
.steps h3 { font-size: var(--fs-2); }
.steps p { margin-top: .2rem; color: var(--muted); }
.ticket__close { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border-radius: var(--r-1); background: #f3f6fb; color: #23395d; font-size: .9rem; font-style: italic; }
.how__side { display: grid; gap: var(--s-5); }
.attach { margin: 0; border-radius: var(--r-2); overflow: hidden; background: #e0e0dd; box-shadow: var(--shadow-2); }
.attach figcaption { padding: .5rem .9rem; background: #fff; font: 600 .8rem/1.3 var(--office); color: #555; }
.attach--art { background: #fff; }
.attach--art img { width: 100%; padding: var(--s-4) var(--s-4) 0; }
.ticket__answer { margin-top: var(--s-3); font: 400 1.05rem/1.6 var(--font); color: var(--text); }
.ticket__answer strong { background: linear-gradient(transparent 60%, var(--lime) 60%); }
.section--what { padding-top: var(--s-8); }
.kpis { padding: var(--s-4); border-radius: var(--r-2); background: var(--ink); color: #fff; box-shadow: var(--shadow-2); }
.kpis__title { font: 600 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.kpis__grid { margin: var(--s-3) 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.kpis__grid div { padding: var(--s-3); border-radius: var(--r-1); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.kpis__grid dt { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.kpis__grid dd { margin: 0; font-size: .78rem; color: rgb(255 255 255 / .7); }
@media (min-width: 56rem) { .how { grid-template-columns: 1.15fr .85fr; } .how__side { margin-top: 2.3rem; } }

/* ---------- 11:04 spreadsheet with CSS-only sheet tabs ---------- */
.xl { position: relative; margin-top: var(--s-6); border-radius: var(--r-2); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; font-family: var(--office); font-size: .9rem; color: #222; }
.xl__radio { position: absolute; opacity: 0; pointer-events: none; }
.xl__bar { display: flex; justify-content: space-between; padding: .5rem .9rem; background: #1e6b45; color: #fff; font-size: .85rem; }
.xl__saved { opacity: .7; }
.xl__formula { display: flex; gap: 1rem; padding: .35rem .9rem; border-bottom: 1px solid #d4d4d4; font: .8rem/1.4 var(--mono); }
.xl__fx { color: #888; font-style: italic; }
.xl__f { display: none; }
.xl__sheets { overflow-x: auto; }
.xl__table { display: none; width: 100%; border-collapse: collapse; min-width: 40rem; }
.xl__table th, .xl__table td { padding: .45rem .6rem; border: 1px solid #e3e3e3; text-align: left; vertical-align: top; font-weight: 400; }
.xl__table thead th { font-weight: 700; background: #f8faf6; }
.xl__table tbody th { font-weight: 600; }
.xl__cols td { background: #f3f3f3; color: #666; text-align: center; font-size: .75rem; padding-block: .2rem; }
.xl__table .xl__n { width: 2.4rem; background: #f3f3f3; color: #666; text-align: center; font-size: .75rem; }
.xl__table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.xl__note { position: relative; background: #fffbe6; }
.xl__note::after { content: ""; position: absolute; top: 0; right: 0; border: 5px solid transparent; border-top-color: var(--red); border-right-color: var(--red); }
.xl__sum th, .xl__sum td { border-top: 2px solid #222; }
.xl__tabs { display: flex; align-items: stretch; gap: 2px; padding: 0 .5rem; background: #f3f3f3; border-top: 1px solid #d4d4d4; overflow-x: auto; }
.xl__tabs label { padding: .45rem 1rem; color: #555; cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; }
.xl__tabs label:hover { background: #e9e9e9; }
.xl__plus { padding: .45rem .8rem; color: #888; }
.xl__status { padding: .3rem .9rem; background: #1e6b45; color: rgb(255 255 255 / .85); font-size: .75rem; }
#sheet-pulse:checked ~ .xl__sheets .xl__table--pulse,
#sheet-flow:checked ~ .xl__sheets .xl__table--flow,
#sheet-drift:checked ~ .xl__sheets .xl__table--drift { display: table; }
#sheet-pulse:checked ~ .xl__formula .xl__f--pulse,
#sheet-flow:checked ~ .xl__formula .xl__f--flow,
#sheet-drift:checked ~ .xl__formula .xl__f--drift { display: inline; }
#sheet-pulse:checked ~ .xl__tabs [for="sheet-pulse"] { background: #fff; color: var(--pulse-1); font-weight: 700; border-bottom-color: var(--pulse-2); }
#sheet-flow:checked ~ .xl__tabs [for="sheet-flow"] { background: #fff; color: var(--flow-2); font-weight: 700; border-bottom-color: var(--flow-4); }
#sheet-drift:checked ~ .xl__tabs [for="sheet-drift"] { background: #fff; color: var(--drift-2); font-weight: 700; border-bottom-color: var(--drift-3); }
.xl__radio:focus-visible ~ .xl__tabs { outline: 3px solid var(--lime); outline-offset: -3px; }

/* ---------- 13:30 tracked-changes document ---------- */
.section--legal { background: var(--ink); color: #fff; overflow: hidden; }
.doc { margin-top: var(--s-6); max-width: 60rem; border-radius: var(--r-2); overflow: hidden; background: #e9ebee; box-shadow: 0 30px 60px rgb(0 0 0 / .35); color: #222; }
.doc__bar { display: flex; justify-content: space-between; gap: var(--s-3); padding: .5rem .9rem; background: #2b579a; color: #fff; font: .85rem/1.3 var(--office); }
.doc__track { padding: 0 .5rem; border-radius: .25rem; background: rgb(255 255 255 / .2); white-space: nowrap; }
.doc__page { position: relative; margin: var(--s-4); padding: var(--s-6) var(--s-4); background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .12); font: 1.1rem/1.6 "Times New Roman", Times, serif; }
.doc__h { font: 700 1.4rem/1.2 "Times New Roman", Times, serif; margin-bottom: var(--s-4); }
.doc__row { display: grid; gap: .4rem var(--s-5); padding: .5rem 0; border-bottom: 1px dotted #ddd; }
.doc__row:last-child { border-bottom: 0; }
.doc del { color: #c0261c; text-decoration-thickness: 2px; }
.doc ins { color: #1f7a3f; text-decoration: underline; text-decoration-thickness: 2px; font-weight: 700; }
.doc__c { align-self: start; padding: .4rem .6rem; border-left: 3px solid #c0261c; border-radius: .25rem; background: #fdf1f0; font: .82rem/1.35 var(--office); color: #444; }
.doc__c b { display: block; color: #c0261c; }
.doc__c--ok { border-color: #1f7a3f; background: #eef8f1; }
.doc__c--ok b { color: #1f7a3f; }
.doc__stamp { position: absolute; right: 1rem; top: .8rem; padding: .4rem .8rem; border: 6px double var(--red); border-radius: .6rem; color: var(--red); font: 800 clamp(.9rem, .7rem + 1.2vw, 1.8rem)/1 var(--font); letter-spacing: .06em; text-align: center; transform: rotate(-12deg); opacity: .85; pointer-events: none; }
.doc.is-in .doc__stamp { animation: slam .45s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes slam { 0% { transform: rotate(-12deg) scale(2.6); opacity: 0; } 100% { transform: rotate(-12deg) scale(1); opacity: .85; } }
.legal__after { margin-top: var(--s-6); max-width: 36rem; color: rgb(255 255 255 / .78); }
@media (min-width: 52rem) { .doc__row { grid-template-columns: 1fr 15rem; align-items: center; } .doc__page { margin: var(--s-6); padding: var(--s-7); } }

/* ---------- 15:30 meeting bingo ---------- */
.section--bingo { background: radial-gradient(70% 60% at 80% 20%, rgb(146 176 68 / .35), transparent 70%), var(--flow-1); color: #fff; }
.bingowrap { display: grid; gap: var(--s-6); align-items: center; }
.bingowrap > * { min-width: 0; }
.bingowrap__copy .btn { margin-top: var(--s-5); }
.bingo { position: relative; padding: var(--s-4); border-radius: var(--r-3); background: #fff; color: var(--text); box-shadow: 0 30px 60px rgb(0 0 0 / .35); }
.bingo__head { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; margin-bottom: .35rem; }
.bingo__head span { padding: .35rem 0; border-radius: .4rem; background: var(--ink); color: var(--lime); text-align: center; font-weight: 800; font-size: 1.3rem; }
.bingo__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
.bingo__grid button { position: relative; aspect-ratio: 1; padding: .25rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); color: var(--text); font: 600 clamp(.58rem, .45rem + .45vw, .8rem)/1.15 var(--font); cursor: pointer; overflow-wrap: anywhere; transition: transform .12s ease, background .12s ease; }
.bingo__grid button:hover { transform: scale(1.04); }
.bingo__grid button[aria-pressed="true"] { background: var(--lime); border-color: var(--ink); }
.bingo__grid button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 18%; border: 3px solid rgb(229 50 45 / .75); border-radius: 50%; transform: rotate(-12deg); pointer-events: none; }
.bingo__grid .is-free { background: var(--ink); color: var(--lime); cursor: default; }
.bingo__grid .is-free:hover { transform: none; }
.bingo__grid .is-free[aria-pressed="true"] { background: var(--ink); }
.bingo__grid .is-free::after { display: none; }
.bingo__grid .is-free small { display: block; font-weight: 400; color: #fff; }
.bingo__grid .is-win { animation: win .6s ease 2; }
@keyframes win { 50% { transform: scale(1.12) rotate(-3deg); } }
.bingo__win { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-3); background: rgb(7 32 24 / .93); color: #fff; text-align: center; }
.bingo__win[hidden] { display: none; }
.bingo__big { font: italic 800 clamp(2.5rem, 2rem + 3vw, 4.5rem)/1 var(--font); color: var(--lime); letter-spacing: -.03em; }
@media (min-width: 56rem) { .bingowrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* ---------- 17:45 rewards as an expense report ---------- */
.expense { margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r-2); background: #fff; box-shadow: var(--shadow-2); border-top: 6px solid var(--ink); }
.expense__title { font: 700 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.expense__fields { margin: var(--s-4) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--s-2); }
.expense__fields div { padding: .5rem .7rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--paper); }
.expense__fields dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.expense__fields dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.countdown { font-family: var(--mono); color: var(--flow-3); }
.tiers { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.tier { position: relative; display: flex; flex-direction: column; padding: var(--s-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2); transition: transform .2s ease, box-shadow .2s ease; }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); background: #fff; }
.tier--hot { border: 2px solid var(--ink); background: linear-gradient(180deg, #fbfff0, #fff 40%); }
.tier__flag { align-self: flex-start; padding: .2rem .6rem; border-radius: var(--r-pill); background: var(--paper-2); font: 600 .7rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tier--hot .tier__flag { background: var(--lime); color: var(--ink); }
.tier__name { margin-top: var(--s-4); font-size: var(--fs-3); }
.tier__price { margin-top: var(--s-2); font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.tier__what { margin-top: var(--s-2); color: var(--muted); }
.tier--ultimate, .tier--ultimate:hover { grid-column: 1 / -1; background: var(--lime); border: 3px solid var(--ink); }
.tier--ultimate .tier__flag { background: var(--ink); color: var(--lime); }
.tier--ultimate .tier__what { color: var(--ink); }
.tier__stamp { position: absolute; right: .8rem; top: 1.6rem; padding: .25rem .6rem; border: 3px solid #1f7a3f; border-radius: .4rem; color: #1f7a3f; font: 800 .9rem/1 var(--font); letter-spacing: .1em; transform: rotate(10deg); opacity: .8; }

.wall { margin-top: var(--s-8); padding: var(--s-6); border-radius: var(--r-3); background: #3b2e22; background-image: repeating-linear-gradient(90deg, rgb(255 255 255 / .03) 0 2px, transparent 2px 9px); box-shadow: inset 0 2px 12px rgb(0 0 0 / .4); }
.wall__title { color: #f1e3c6; font-size: var(--fs-3); text-align: center; }
.wall__plates { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.wall__plates li { padding: .6rem 1.1rem; border-radius: .3rem; background: linear-gradient(160deg, #e9d18f, #b8933f 55%, #e2c47a); color: #3a2a0c; font: 600 var(--fs-0)/1.2 var(--font); letter-spacing: .02em; box-shadow: 0 2px 0 rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .6); text-shadow: 0 1px 0 rgb(255 255 255 / .4); }

/* ---------- 19:10 FAQ as a chat channel ---------- */
.chat { margin-top: var(--s-6); border-radius: var(--r-2); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.chat__bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem var(--s-3); padding: .8rem 1rem; border-bottom: 1px solid #eee; }
.chat__bar span { font-size: .8rem; color: var(--muted); }
.chat__list { padding: .4rem 0; }
.msg summary { list-style: none; display: flex; gap: var(--s-3); padding: .6rem 1rem; cursor: pointer; }
.msg summary::-webkit-details-marker { display: none; }
.msg summary:hover, .msg[open] summary { background: #f7f8f6; }
.av { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .6rem; color: #fff; font-weight: 700; font-size: .8rem; }
.av--1 { background: #e07a5f; } .av--2 { background: #3d5a80; } .av--3 { background: #5f9479; } .av--4 { background: #c06c84; }
.av--5 { background: #c9802a; } .av--6 { background: #6d597a; } .av--7 { background: #457b9d; } .av--8 { background: #8d0801; }
.av--s { background: var(--ink); color: var(--lime); font-size: 1.1rem; }
.msg__main { display: grid; gap: .1rem; min-width: 0; }
.msg__who { font-weight: 700; font-size: .9rem; }
.msg__who em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: .2rem; }
.msg__who time { margin-left: .4rem; font-weight: 400; font-size: .75rem; color: #767676; }
.msg__text { color: var(--text); }
.msg__replies { font-size: .8rem; font-weight: 600; color: #1d6fd1; }
.msg[open] .msg__replies { display: none; }
.msg__reply { display: flex; gap: var(--s-3); margin: 0 1rem .6rem 3.75rem; padding: .6rem .8rem; border-left: 3px solid var(--lime); border-radius: 0 .5rem .5rem 0; background: #f7faef; }
.msg__reply p { color: var(--muted); }
.chat__typing { display: flex; align-items: center; gap: .3rem; padding: .6rem 1rem .9rem; font-size: .8rem; color: var(--muted); }
.chat__typing span { width: .35rem; height: .35rem; border-radius: 50%; background: #aaa; animation: typing 1.2s infinite; }
.chat__typing span:nth-child(2) { animation-delay: .2s; } .chat__typing span:nth-child(3) { animation-delay: .4s; margin-right: .3rem; }
@keyframes typing { 50% { transform: translateY(-3px); opacity: .4; } }
@media (max-width: 30rem) { .msg__reply { margin-left: 1rem; } }

/* ---------- 23:00 final: out-of-office auto-reply ---------- */
.final { position: relative; overflow: hidden; padding-block: var(--s-9); background: radial-gradient(60% 70% at 50% 0%, rgb(184 226 46 / .18), transparent 70%), var(--ink-3); color: #fff; }
.final__inner { display: grid; justify-items: center; text-align: center; }
.final__logo { width: min(60%, 18rem); }
.final__title { margin-top: var(--s-5); font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.03em; }
.mail { width: 100%; margin-top: var(--s-6); border-radius: var(--r-2); background: #fff; color: var(--text); text-align: left; box-shadow: 0 30px 60px rgb(0 0 0 / .4); overflow: hidden; }
.mail__bar { display: flex; align-items: center; gap: var(--s-3); padding: .55rem .9rem; background: #f0f0f0; border-bottom: 1px solid #ddd; font: 600 .8rem/1 var(--office); color: #555; }
.mail__dots { display: flex; gap: .35rem; }
.mail__dots i { width: .7rem; height: .7rem; border-radius: 50%; background: #ff5f57; }
.mail__dots i:nth-child(2) { background: #febc2e; } .mail__dots i:nth-child(3) { background: #28c840; }
.mail__head { margin: 0; padding: .4rem 1.1rem; border-bottom: 1px solid #eee; font: .85rem/1.5 var(--office); }
.mail__head div { display: flex; gap: .5rem; padding: .15rem 0; }
.mail__head dt { width: 4.5rem; flex: none; color: #767676; }
.mail__head dd { margin: 0; }
.mail__body { padding: var(--s-4) 1.1rem 0; display: grid; gap: var(--s-3); font: 1rem/1.55 var(--office); }
.mail__compose { display: flex; flex-direction: column; gap: var(--s-2); margin: var(--s-4) 1.1rem 0; }
.mail__input { flex: 1; min-height: 3.1rem; padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--r-1); background: var(--paper); font: 400 var(--fs-1) var(--font); }
.mail .join__interest, .mail .join__consent, .mail .join__msg { margin-inline: 1.1rem; }
.mail .join__msg { margin-bottom: var(--s-4); }
.mail .join__consent { color: var(--muted); }
.join__interest { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); padding: 0; border: 0; }
.join__interest legend { width: 100%; margin-bottom: var(--s-2); font-size: var(--fs-0); color: var(--muted); }
.join__interest legend span { opacity: .7; }
.join__interest label { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: var(--fs-0); cursor: pointer; }
.join__interest label:has(input:checked) { background: var(--lime); border-color: var(--ink); }
.join__interest input { accent-color: var(--ink); }
@media (min-width: 36rem) { .mail__compose { flex-direction: row; } }

/* ---------- footer ---------- */
.footer { background: #04150f; color: rgb(255 255 255 / .7); padding-block: var(--s-7); }
.footer__inner { display: grid; gap: var(--s-4); }
.footer__logo { width: 6rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer__links a { color: #fff; text-decoration: none; font-size: var(--fs-0); }
.footer__links a:hover { text-decoration: underline; }
.footer__small { max-width: 60rem; font-size: .75rem; }

/* ---------- calendar reminder toast ---------- */
.toast { position: fixed; right: 1.25rem; top: calc(var(--nav-h) + 1rem); z-index: 60; width: 20rem; padding: .9rem 1rem; border-radius: .9rem; background: rgb(250 250 250 / .97); color: #222; box-shadow: 0 20px 50px rgb(0 0 0 / .3); font-family: var(--office); animation: toast-in .4s cubic-bezier(.2,.9,.3,1.2) both; }
.toast[hidden] { display: none; }
@keyframes toast-in { from { transform: translateX(120%); } }
.toast__app { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: #767676; text-transform: uppercase; letter-spacing: .06em; }
.toast__icon { width: .9rem; height: .9rem; border-radius: .2rem; background: linear-gradient(var(--red) 30%, #fff 30%); box-shadow: inset 0 0 0 1px #ccc; }
.toast__title { margin-top: .3rem; font-weight: 700; }
.toast__body { font-size: .85rem; color: #555; }
.toast__actions { display: flex; gap: .4rem; margin-top: .6rem; }
.toast__actions button { flex: 1; padding: .35rem; border: 1px solid #ddd; border-radius: .4rem; background: #fff; cursor: pointer; font-size: .8rem; }
.toast__actions button:hover { background: #f0f0f0; }

/* ---------- boss key ---------- */
.boss { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: #fff; color: #222; font: 13px/1.3 var(--office); }
.boss[hidden] { display: none; }
.boss__bar { display: flex; align-items: center; justify-content: space-between; padding: .5rem .9rem; background: #1e6b45; color: #fff; }
.boss__close { border: 0; background: transparent; color: rgb(255 255 255 / .55); font: inherit; cursor: pointer; }
.boss__close:hover, .boss__close:focus-visible { color: #fff; }
.boss__formula { display: flex; gap: 1rem; padding: .35rem .9rem; border-bottom: 1px solid #d4d4d4; font-family: var(--mono); font-size: 12px; }
.boss__formula span:first-child { color: #888; font-style: italic; }
.boss__grid { flex: 1; overflow: auto; display: grid; grid-template-columns: 3rem repeat(8, minmax(7rem, 1fr)); grid-auto-rows: 1.6rem; }
.boss__grid div { padding: 0 .4rem; border-right: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; white-space: nowrap; overflow: hidden; line-height: 1.6rem; }
.boss__grid .h { background: #f3f3f3; color: #555; text-align: center; }
.boss__grid .b { font-weight: 700; }
.boss__grid .n { text-align: right; font-variant-numeric: tabular-nums; }
.boss__grid .sel { outline: 2px solid #1e6b45; outline-offset: -2px; }
.boss__status { padding: .3rem .9rem; background: #f3f3f3; border-top: 1px solid #d4d4d4; color: #555; font-size: 12px; }

/* ---------- legal + 404 pages ---------- */
.page { padding: calc(var(--nav-h) + var(--s-7)) 0 var(--s-9); }
.page h1 { font-size: var(--fs-h2); font-weight: 800; }
.page h2 { margin-top: var(--s-6); font-size: var(--fs-3); }
.page p, .page li { margin-top: var(--s-3); color: var(--muted); }
.page .todo { padding: var(--s-3) var(--s-4); border-left: 4px solid var(--red); background: #fff1f0; color: #7a1b16; }
.page--404 { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--ink-3); color: #fff; }
.page--404 p { color: rgb(255 255 255 / .75); }
.page--404 .btn { margin-top: var(--s-6); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
}
