/* Pulse's website (round 20, 2026-11-27): the home page and Pulse Check share this. Pulse's own colors (Aura), light or dark
   as the reader's device is set. Everything comes from this site: no outside fonts, scripts or analytics. Inter (SIL Open Font
   License, shared/fonts) for the name and headings; the reader's own system font for everything else. */
@font-face { font-family: "Inter"; src: url("fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --base: #F8F5FB; --sheet: rgba(255,255,255,0.93); --solid: rgba(255,255,255,0.97); --field: rgba(22,22,29,0.06);
  --soft: rgba(22,22,29,0.035); --track: rgba(22,22,29,0.08); --line: rgba(22,22,29,0.09); --dash: rgba(22,22,29,0.22);
  --ink: #16161D; --ink2: #3D3D4A; --muted: #62626F; --iris: #5B3FD9;
  --green: #1E7A4C; --red: #B4253D; --amber: #8A5300;
  --fill: #16161D; --fill-text: #FFFFFF; --pill: rgba(255,255,255,0.8);
  --blob-a: rgba(255,160,120,0.60); --blob-b: rgba(140,110,255,0.42); --blob-c: rgba(110,160,255,0.32);
  --quote: #2E9BF0; --quote-soft: rgba(46,155,240,0.5); --ai: #E0457E; --other: rgba(22,22,29,0.28);
  --bar: linear-gradient(90deg, #FF7A59, #F0508A, #7A5CFF);
  --disc: linear-gradient(135deg, #E4572E 0%, #C93A78 50%, #6247E6 100%);
  --dot: linear-gradient(135deg, #FF9A4D 0%, #F0479A 48%, #6A4DFF 100%);
  --shadow: 0 24px 60px rgba(70,50,140,0.14), 0 0 0 0.5px rgba(255,255,255,0.9);
  --paper-shadow: 0 30px 70px rgba(70,50,140,0.22), 0 0 0 0.5px rgba(22,22,29,0.08);
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --base: #0B0E1F; --sheet: rgba(15,19,40,0.80); --solid: rgba(15,19,40,0.96); --field: rgba(255,255,255,0.08);
    --soft: rgba(255,255,255,0.045); --track: rgba(255,255,255,0.10); --line: rgba(255,255,255,0.09); --dash: rgba(255,255,255,0.24);
    --ink: #EEEDF7; --ink2: #C9C8DA; --muted: #A3A1BC; --iris: #AE9CFF;
    --green: #52CC8F; --red: #FF8A8A; --amber: #F5C451;
    --fill: #EEEDF7; --fill-text: #0F1326; --pill: rgba(255,255,255,0.08);
    --blob-a: rgba(255,106,61,0.40); --blob-b: rgba(122,92,255,0.42); --blob-c: rgba(240,80,138,0.26);
    --quote: #6CC4FF; --quote-soft: rgba(108,196,255,0.5); --ai: #FF5C9A; --other: rgba(255,255,255,0.32);
    --bar: linear-gradient(90deg, #FF8A66, #FF5C9A, #9A82FF);
    --shadow: 0 24px 60px rgba(0,0,0,0.40), 0 0 0 0.5px rgba(255,255,255,0.10);
    --paper-shadow: 0 30px 70px rgba(0,0,0,0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--base); }
body {
  margin: 0; min-height: 100vh; background: var(--base); color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }

/* The Aura: three soft blobs behind everything. */
.aura { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aura span { position: absolute; border-radius: 50%; }
.aura .a { left: -180px; top: -120px; width: 680px; height: 600px; background: var(--blob-a); filter: blur(80px); animation: drift-a 23s ease-in-out infinite alternate; }
.aura .b { right: -200px; top: 60px; width: 700px; height: 700px; background: var(--blob-b); filter: blur(90px); animation: drift-b 29s ease-in-out infinite alternate; }
.aura .c { left: 30%; bottom: -320px; width: 760px; height: 480px; background: var(--blob-c); filter: blur(90px); animation: drift-a 31s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(46px, 34px) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-56px, 26px) scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .aura span { animation: none; } }

/* The name, as Daniel picked it (S68): Inter SemiBold, the gradient disc with the editing cursor sitting on the line. */
.wm { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; display: inline-flex; align-items: baseline; color: var(--ink); line-height: 1; text-decoration: none; }
.wm .dot { display: inline-flex; align-items: center; justify-content: center; width: .30em; height: .30em; margin-left: .045em; border-radius: 50%; background: var(--dot); }
.wm .dot svg { width: 62%; height: 62%; }

.wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* Header */
.hdr { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; height: 76px; font-size: 14px; }
.hdr .wm { font-size: 28px; }
.hdr nav { margin-left: auto; display: flex; gap: 26px; color: var(--ink2); }
.hdr nav a { text-decoration: none; }
.hdr nav a:hover { color: var(--ink); }
.hdr nav a[aria-current] { color: var(--ink); font-weight: 600; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 8px; margin-right: -8px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 44px; z-index: 5; display: flex; flex-direction: column; gap: 2px; min-width: 210px; padding: 8px; border-radius: 18px; background: var(--solid); box-shadow: var(--shadow); }
.menu nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.menu nav a:hover { background: var(--soft); }

/* Buttons */
.btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--fill); color: var(--fill-text); font: 600 15px/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; white-space: nowrap; text-decoration: none; border: 0; cursor: pointer; }
.btn.sm, .button { height: 38px; padding: 0 17px; font-size: 14px; }
.btn.q, .button.quiet { background: var(--field); color: var(--ink); }
.btn:focus-visible, .button:focus-visible, a:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; }

.sheet { border-radius: 28px; background: var(--sheet); -webkit-backdrop-filter: blur(30px) saturate(1.4); backdrop-filter: blur(30px) saturate(1.4); box-shadow: var(--shadow); }
.solid { background: var(--solid); }
.lbl { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.disc { flex: none; border-radius: 50%; background: var(--disc); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 30px/1 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; font-variant-numeric: tabular-nums; }
.ok { color: var(--green); }
.todo { color: var(--amber); }

/* Footer */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-top: 30px; padding-bottom: 30px; font-size: 13.5px; color: var(--muted); }
.foot .wm { font-size: 20px; }
.foot .links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hdr { height: 64px; }
  .hdr .wm { font-size: 25px; }
  .hdr > nav, .hdr > .btn { display: none; }
  .menu { display: block; }
  .foot .links { margin-left: 0; }
}

/* The Pulse check heartbeat (H): the same rules as MARK_CSS in check/pulse-mark.js, for pages without scripts. */
.pm { display: inline-flex; flex: none; vertical-align: middle; line-height: 0; }
.pm svg { display: block; overflow: visible; }
.pm-wait .pm-l { clip-path: inset(0 100% 0 0); }
.pm-wait .pm-c { transform: translateX(-634.6%); }
.pm-once .pm-l { animation: pm-reveal .55s cubic-bezier(.25,.7,.3,1) both; }
.pm-once .pm-c { animation: pm-ride .55s cubic-bezier(.25,.7,.3,1) both, pm-blink .4s steps(1) .38s; }
@keyframes pm-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pm-ride { from { transform: translateX(-634.6%); } to { transform: translateX(0); } }
@keyframes pm-blink { 0% { opacity: 0; } 25% { opacity: 1; } 50% { opacity: 0; } 75%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .pm-wait .pm-l, .pm-once .pm-l { clip-path: none; animation: none; }
  .pm-wait .pm-c, .pm-once .pm-c { transform: none; animation: none; }
}
