/* Diana — heydiana.ai
   The room is the window's Workshop theme (`--ws-*`): its painted wall, with Art Deco
   lines over it. The terminal in it is Sanzo (`--sz-*`). Both come from
   `crates/diana-desktop/ui/tokens.css`, and `scripts/laws.sh` fails if either drifts. */

:root {
  --sz-ground:  #0a0a0f;
  --sz-raise:   #101018;
  --sz-card:    #15151e;
  --sz-card-hi: #1e1e2a;
  --sz-line:    #005caf;
  --sz-ink:     #f4f2ec;
  --sz-soft:    #a9a6b8;
  --sz-faint:   #7b7890;
  --sz-accent:  #00a3af;
  --sz-on-accent: #04141a;
  --sz-run:     #86c166;
  --sz-wait:    #ffb11b;
  --sz-fail:    #e94e7a;
  --sz-ext:     #b07bc4;

  /* The room around it: the window's Workshop theme, as `--ws-*`. */
  --ws-ground:  #121013;
  --ws-raise:   #17141a;
  --ws-card:    #1c181f;
  --ws-card-hi: #262029;
  --ws-ink:     #f2ede6;
  --ws-soft:    #b0a69c;
  --ws-faint:   #7d7268;
  --ws-accent:  #ff6b35;
  --ws-on-accent: #1a0a03;
  --ws-ext:     #a38bc4;
  --ws-run:     #5fb98b;
  --ws-wait:    #e8b33e;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ws-ground); }
body {
  margin: 0;
  background: transparent;
  color: var(--ws-ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ws-ink); color: var(--ws-ground); padding: 6px 10px; border-radius: 6px; z-index: 10; }

/* ── the room ──
   The Workshop wall from the app, as it is painted there: three hues of fractal noise
   used as masks, so the marks have torn edges and nothing behind them is a shape. Over
   it, the Art Deco: a sunburst of hairlines rising from below the page, and gold rules
   framing what matters. Fixed, so the room stays put while the page moves. */
.room { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.room i { position: absolute; inset: -14%; -webkit-mask-repeat: repeat; mask-repeat: repeat; }
.paint--a { background: var(--ws-accent); opacity: .30;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22900%22%3E%3Cfilter%20id%3D%22f%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.0030%200.030%22%20numOctaves%3D%225%22%20seed%3D%227%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%20%200%200%200%200%200%20%200%200%200%200%200%20%200.6%200.6%200.6%200%20-0.88%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%226%22%20intercept%3D%22-0.45%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%221200%22%20height%3D%22900%22%20filter%3D%22url%28%23f%29%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22900%22%3E%3Cfilter%20id%3D%22f%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.0030%200.030%22%20numOctaves%3D%225%22%20seed%3D%227%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%20%200%200%200%200%200%20%200%200%200%200%200%20%200.6%200.6%200.6%200%20-0.88%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%226%22%20intercept%3D%22-0.45%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%221200%22%20height%3D%22900%22%20filter%3D%22url%28%23f%29%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 1500px 1000px; mask-size: 1500px 1000px; }
.paint--b { background: var(--ws-ext); opacity: .20;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22900%22%3E%3Cfilter%20id%3D%22f%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.026%200.0030%22%20numOctaves%3D%225%22%20seed%3D%2229%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%20%200%200%200%200%200%20%200%200%200%200%200%20%200.6%200.6%200.6%200%20-0.90%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%226%22%20intercept%3D%22-0.45%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%221200%22%20height%3D%22900%22%20filter%3D%22url%28%23f%29%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22900%22%3E%3Cfilter%20id%3D%22f%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.026%200.0030%22%20numOctaves%3D%225%22%20seed%3D%2229%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%20%200%200%200%200%200%20%200%200%200%200%200%20%200.6%200.6%200.6%200%20-0.90%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%226%22%20intercept%3D%22-0.45%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%221200%22%20height%3D%22900%22%20filter%3D%22url%28%23f%29%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 900px 1300px; mask-size: 900px 1300px; }
.paint--c { background: var(--ws-run); opacity: .12;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22900%22%3E%3Cfilter%20id%3D%22f%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.0048%200.022%22%20numOctaves%3D%226%22%20seed%3D%2253%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%20%200%200%200%200%200%20%200%200%200%200%200%20%200.6%200.6%200.6%200%20-0.92%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%226%22%20intercept%3D%22-0.45%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%221200%22%20height%3D%22900%22%20filter%3D%22url%28%23f%29%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22900%22%3E%3Cfilter%20id%3D%22f%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.0048%200.022%22%20numOctaves%3D%226%22%20seed%3D%2253%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%20%200%200%200%200%200%20%200%200%200%200%200%20%200.6%200.6%200.6%200%20-0.92%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%226%22%20intercept%3D%22-0.45%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%221200%22%20height%3D%22900%22%20filter%3D%22url%28%23f%29%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 1100px 820px; mask-size: 1100px 820px; }
.deco { inset: 0 !important; background: var(--ws-wait); opacity: .2;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221600%22%20height%3D%221000%22%20viewBox%3D%220%200%201600%201000%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221%22%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-621.7%22%20y2%3D%22701.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-590.8%22%20y2%3D%22618.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-555.0%22%20y2%3D%22536.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-514.5%22%20y2%3D%22457.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-469.3%22%20y2%3D%22380.7%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-419.7%22%20y2%3D%22306.8%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-365.7%22%20y2%3D%22236.0%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-307.7%22%20y2%3D%22168.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-245.7%22%20y2%3D%22104.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-180.1%22%20y2%3D%2244.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-111.1%22%20y2%3D%22-11.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-38.8%22%20y2%3D%22-63.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%2236.4%22%20y2%3D%22-111.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22114.4%22%20y2%3D%22-154.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22194.7%22%20y2%3D%22-192.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22277.1%22%20y2%3D%22-225.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22361.4%22%20y2%3D%22-254.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22447.3%22%20y2%3D%22-277.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22534.4%22%20y2%3D%22-296.3%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22622.4%22%20y2%3D%22-309.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22711.0%22%20y2%3D%22-317.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22800.0%22%20y2%3D%22-320.0%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22889.0%22%20y2%3D%22-317.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22977.6%22%20y2%3D%22-309.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221065.6%22%20y2%3D%22-296.3%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221152.7%22%20y2%3D%22-277.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221238.6%22%20y2%3D%22-254.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221322.9%22%20y2%3D%22-225.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221405.3%22%20y2%3D%22-192.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221485.6%22%20y2%3D%22-154.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221563.6%22%20y2%3D%22-111.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221638.8%22%20y2%3D%22-63.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221711.1%22%20y2%3D%22-11.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221780.1%22%20y2%3D%2244.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221845.7%22%20y2%3D%22104.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221907.7%22%20y2%3D%22168.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221965.7%22%20y2%3D%22236.0%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222019.7%22%20y2%3D%22306.8%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222069.3%22%20y2%3D%22380.7%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222114.5%22%20y2%3D%22457.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222155.0%22%20y2%3D%22536.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222190.8%22%20y2%3D%22618.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222221.7%22%20y2%3D%22701.6%22%2F%3E%3Ccircle%20cx%3D%22800%22%20cy%3D%221180%22%20r%3D%22420%22%2F%3E%3Ccircle%20cx%3D%22800%22%20cy%3D%221180%22%20r%3D%22520%22%2F%3E%3Ccircle%20cx%3D%22800%22%20cy%3D%221180%22%20r%3D%22640%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221600%22%20height%3D%221000%22%20viewBox%3D%220%200%201600%201000%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221%22%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-621.7%22%20y2%3D%22701.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-590.8%22%20y2%3D%22618.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-555.0%22%20y2%3D%22536.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-514.5%22%20y2%3D%22457.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-469.3%22%20y2%3D%22380.7%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-419.7%22%20y2%3D%22306.8%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-365.7%22%20y2%3D%22236.0%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-307.7%22%20y2%3D%22168.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-245.7%22%20y2%3D%22104.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-180.1%22%20y2%3D%2244.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-111.1%22%20y2%3D%22-11.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22-38.8%22%20y2%3D%22-63.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%2236.4%22%20y2%3D%22-111.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22114.4%22%20y2%3D%22-154.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22194.7%22%20y2%3D%22-192.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22277.1%22%20y2%3D%22-225.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22361.4%22%20y2%3D%22-254.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22447.3%22%20y2%3D%22-277.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22534.4%22%20y2%3D%22-296.3%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22622.4%22%20y2%3D%22-309.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22711.0%22%20y2%3D%22-317.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22800.0%22%20y2%3D%22-320.0%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22889.0%22%20y2%3D%22-317.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%22977.6%22%20y2%3D%22-309.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221065.6%22%20y2%3D%22-296.3%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221152.7%22%20y2%3D%22-277.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221238.6%22%20y2%3D%22-254.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221322.9%22%20y2%3D%22-225.9%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221405.3%22%20y2%3D%22-192.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221485.6%22%20y2%3D%22-154.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221563.6%22%20y2%3D%22-111.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221638.8%22%20y2%3D%22-63.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221711.1%22%20y2%3D%22-11.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221780.1%22%20y2%3D%2244.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221845.7%22%20y2%3D%22104.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221907.7%22%20y2%3D%22168.5%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%221965.7%22%20y2%3D%22236.0%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222019.7%22%20y2%3D%22306.8%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222069.3%22%20y2%3D%22380.7%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222114.5%22%20y2%3D%22457.4%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222155.0%22%20y2%3D%22536.6%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222190.8%22%20y2%3D%22618.1%22%2F%3E%3Cline%20x1%3D%22800%22%20y1%3D%221180%22%20x2%3D%222221.7%22%20y2%3D%22701.6%22%2F%3E%3Ccircle%20cx%3D%22800%22%20cy%3D%221180%22%20r%3D%22420%22%2F%3E%3Ccircle%20cx%3D%22800%22%20cy%3D%221180%22%20r%3D%22520%22%2F%3E%3Ccircle%20cx%3D%22800%22%20cy%3D%221180%22%20r%3D%22640%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center bottom; mask-position: center bottom; }
/* A veil over the paint where the words are, so they read first. */
.room::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ws-ground) 82%, transparent) 0%, color-mix(in srgb, var(--ws-ground) 40%, transparent) 60%, transparent 100%); }

/* ── head ── */
.head {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding-inline: var(--gut);
}
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-stretch: 115%; text-decoration: none; letter-spacing: .02em; }
.mark img { border-radius: 5px; }
.head__cta { font: 500 13px/1 var(--mono); text-decoration: none; padding: 9px 14px; border: 1px solid color-mix(in srgb, var(--ws-ink) 30%, transparent); border-radius: 999px; }
.head__cta:hover { border-color: var(--ws-accent); color: var(--ws-accent); }

/* ── hero: copy on the left, the terminal falling away to the right ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  /* One column that never grows past the screen: the terminal is wider than a phone
     and must overflow into the clipped edge, not widen the text with it. */
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 120px var(--gut) 80px;
  overflow: hidden;
  isolation: isolate;
}
/* One soft light behind the terminal, nothing more. */
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: -10% -10% -10% 40%;
  background: radial-gradient(45% 50% at 55% 50%, color-mix(in srgb, var(--sz-accent) 18%, transparent), transparent 70%);
}
.hero__copy { position: relative; z-index: 2; max-width: 38rem; }
h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: .98;
  font-weight: 750;
  font-stretch: 122%;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.lede { margin: 28px 0 0; max-width: 30rem; font-size: clamp(17px, 1.5vw, 20px); color: var(--ws-soft); }
.hero__go { margin: 36px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

.dl {
  display: inline-block; text-decoration: none; font-weight: 650; font-stretch: 110%;
  padding: 13px 22px; border-radius: 999px;
  background: var(--ws-ink); color: var(--ws-ground);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ws-accent) 50%, transparent);
  transition: box-shadow .3s ease, transform .3s ease;
}
.dl:hover { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ws-accent) 22%, transparent); transform: translateY(-1px); }
.dl__meta { font: 500 12.5px/1.5 var(--mono); color: var(--ws-faint); }

/* The stage holds the perspective; the terminal is turned inside it. */
.stage {
  position: absolute; z-index: 1;
  top: 52%; left: 47%;
  width: 1300px;
  /* Room around the turned terminal: the mask below crops to this box, and a scaled,
     rotated terminal reaches past its own edges. */
  padding: 160px 0;
  transform: translateY(-50%);
  perspective: 1800px;
  pointer-events: none;
  /* Fades into the copy rather than ending at a hard edge. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
}
.term {
  transform: rotateY(-26deg) rotateX(9deg) rotateZ(-5deg) scale(1.18);
  transform-origin: 20% 50%;
  /* Solid, like the app's: paint on the walls, a clean sheet where you read. */
  background: var(--sz-ground);
  border: 1px solid color-mix(in srgb, var(--sz-line) 70%, transparent);
  border-radius: 16px;
  box-shadow:
    0 60px 120px -40px #000,
    0 0 0 1px color-mix(in srgb, var(--sz-accent) 12%, transparent),
    0 0 80px -10px color-mix(in srgb, var(--sz-accent) 25%, transparent);
  font: 400 22px/1.6 var(--mono);
  overflow: hidden;
}
.term__bar {
  display: flex; align-items: center; gap: 9px; height: 46px; padding-inline: 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--sz-line) 55%, transparent);
  background: var(--sz-raise); font-size: 14px; color: var(--sz-faint);
}
.term__bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--sz-card-hi); }
.term__bar b { margin-left: 14px; font-weight: 500; color: var(--sz-soft); }
.term__bar em { margin-left: auto; font-style: normal; color: var(--sz-wait); }
.term__bar u { text-decoration: none; margin-left: 6px; padding: 0 7px; border-radius: 8px; background: var(--sz-wait); color: var(--sz-on-accent); }

.term__body { margin: 0; padding: 26px 30px 18px; font: inherit; color: var(--sz-soft); white-space: pre; }
.term__body .ink { color: var(--sz-ink); }
.term__body .dim { color: var(--sz-faint); }
.term__body .p { color: var(--sz-accent); }
.term__body .g { color: var(--sz-run); }
.term__body .r { color: var(--sz-fail); }
.term__body .a { color: var(--sz-wait); }
.term__body .hold { color: var(--sz-wait); text-shadow: 0 0 18px color-mix(in srgb, var(--sz-wait) 55%, transparent); }

/* Typed in, one line at a time, and then it stops — on the line that needs you. */
.term__body .l { display: inline-block; opacity: 0; animation: line .45s ease-out forwards; }
.term__body .l:nth-child(1) { animation-delay: .3s; }
.term__body .l:nth-child(2) { animation-delay: .9s; }
.term__body .l:nth-child(3) { animation-delay: 1.4s; }
.term__body .l:nth-child(4) { animation-delay: 1.9s; }
.term__body .l:nth-child(5) { animation-delay: 2.6s; }
.term__body .l:nth-child(6) { animation-delay: 3.3s; }
.term__body .l:nth-child(7) { animation-delay: 3.9s; }
@keyframes line { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.cur { display: inline-block; width: .6em; height: 1.1em; margin-left: .3em; vertical-align: -.18em; background: var(--sz-wait); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.ask {
  margin: 4px 30px 30px; padding: 16px 18px; max-width: 640px;
  display: grid; gap: 6px;
  background: var(--sz-card); border: 1px solid var(--sz-card-hi); border-left: 3px solid var(--sz-wait);
  border-radius: 10px; font-size: 16px; color: var(--sz-ink);
  opacity: 0; animation: ask .7s cubic-bezier(.2,.8,.2,1) 4.6s forwards;
}
@keyframes ask { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ask b { font-weight: 500; }
.ask code { font: inherit; color: var(--sz-wait); }
.ask span { color: var(--sz-faint); font-size: 14px; }
.ask__btns { display: flex; gap: 10px; margin-top: 6px; }
.ask__btns i { font-style: normal; font-size: 13px; padding: 5px 12px; border-radius: 7px; background: var(--sz-ink); color: var(--sz-ground); }
.ask__btns i.ghost { background: none; color: var(--sz-soft); border: 1px solid var(--sz-card-hi); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 0; align-items: start; }
  .stage {
    position: relative; top: auto; left: auto; transform: none;
    width: 900px; margin: 48px 0 -40px -40px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
            mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
  .term { font-size: 16px; }
}

/* ── the tension: one line at a time ── */
.tension { padding: 160px var(--gut) 40px; max-width: 1100px; margin-inline: auto; display: grid; gap: 56px; }
.beat { margin: 0; max-width: 22ch; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.08; font-weight: 300; font-stretch: 105%; letter-spacing: -.025em; color: var(--ws-soft); }
.beat:nth-child(even) { justify-self: end; text-align: right; }
.beat--quiet { color: var(--ws-faint); font-size: clamp(22px, 2.6vw, 34px); justify-self: start !important; text-align: left !important; }
.beat--turn { font-weight: 750; font-stretch: 122%; color: var(--ws-ink); }
.beat--turn::after { content: ""; display: inline-block; width: .5em; height: .9em; margin-left: .15em; vertical-align: -.08em; background: var(--ws-accent); animation: blink 1.1s steps(1) infinite; }
.reveal .beat, .reveal .more > * { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal .beat.in, .reveal .more > .in { opacity: 1; transform: none; }

/* ── explore: questions you open ── */
.explore { padding: 140px var(--gut) 0; max-width: 900px; margin-inline: auto; }
h2 { margin: 0 0 28px; font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--ws-wait); display: flex; align-items: center; gap: 14px; }
/* A Deco rule after the label: a line, a diamond, a line. */
.explore h2::after { content: ""; flex: 1; height: 7px; background:
  linear-gradient(var(--ws-wait), var(--ws-wait)) left center / calc(50% - 6px) 1px no-repeat,
  linear-gradient(var(--ws-wait), var(--ws-wait)) right center / calc(50% - 6px) 1px no-repeat,
  conic-gradient(from 45deg, var(--ws-wait) 0 25%, transparent 0 50%, var(--ws-wait) 0 75%, transparent 0) center / 7px 7px no-repeat;
  opacity: .55; }
details { border-top: 1px solid var(--ws-card-hi); }
details:last-of-type { border-bottom: 1px solid var(--ws-card-hi); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; font-stretch: 112%; letter-spacing: -.015em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 32px/1 var(--mono); color: var(--ws-faint); transition: transform .3s ease, color .3s ease; }
details[open] summary::after { transform: rotate(45deg); color: var(--ws-accent); }
summary:hover::after { color: var(--ws-ink); }
.ans { padding: 0 0 30px; max-width: 58ch; color: var(--ws-soft); font-size: 18px; }
.ans p { margin: 0 0 14px; }

/* ── look closer: Diana's own tabs, drawn small ── */
.tabs { padding: 160px var(--gut) 0; max-width: 1100px; margin-inline: auto; }
.tabs__lead { margin: 0 0 28px; font-size: clamp(24px, 3vw, 38px); font-weight: 300; font-stretch: 105%; letter-spacing: -.02em; color: var(--ws-ink); }
.tabs__win { border-radius: 14px; overflow: hidden; background: var(--sz-ground);
  border: 1px solid color-mix(in srgb, var(--sz-line) 70%, transparent);
  box-shadow: 0 40px 90px -40px #000, 0 0 60px -20px color-mix(in srgb, var(--sz-accent) 25%, transparent); }
.tabs__bar { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 8px 10px 0; background: var(--sz-raise);
  border-bottom: 1px solid color-mix(in srgb, var(--sz-line) 55%, transparent); }
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__bar button { flex: 0 0 auto; font: 500 13px/1 var(--mono); color: var(--sz-faint); background: none; border: 0;
  padding: 10px 13px 11px; border-radius: 8px 8px 0 0; cursor: pointer; border-bottom: 2px solid transparent; }
.tabs__bar button:hover { color: var(--sz-ink); }
.tabs__bar button[aria-selected="true"] { color: var(--sz-ink); background: var(--sz-ground); border-bottom-color: var(--sz-accent); }
.tabs [role="tabpanel"] { padding: 26px 28px 30px; min-height: 230px; }
.tabs__line { margin: 0 0 18px; color: var(--sz-soft); font-size: 17px; }
.tabs__draw { font: 400 15px/1.75 var(--mono); color: var(--sz-soft); display: grid; gap: 2px; }
.tabs__draw .ln { display: block; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.tabs__draw b { font-weight: 500; color: var(--sz-ink); }
.tabs__draw .dim { color: var(--sz-faint); }
.tabs__draw .p { color: var(--sz-accent); }
.tabs__draw .g { color: var(--sz-run); }
.tabs__draw .r { color: var(--sz-fail); }
.tabs__draw .a { color: var(--sz-wait); }
.tabs__draw .chg { background: color-mix(in srgb, var(--sz-run) 10%, transparent); border-left: 2px solid var(--sz-run); }
.tabs__draw .card { display: flex; flex-wrap: wrap; gap: 4px 14px; white-space: normal; margin-bottom: 8px; padding: 10px 12px;
  background: var(--sz-card); border-left: 2px solid var(--sz-wait); border-radius: 7px; }
.tabs__draw .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tabs__draw .grid i { font-style: normal; display: grid; gap: 4px; padding: 12px; background: var(--sz-card); border-radius: 8px; }
.tabs__draw .grid em { font-style: normal; }
.tabs__draw .cal { display: grid; grid-template-columns: repeat(7, 22px); gap: 5px; }
.tabs__draw .cal i { height: 22px; border-radius: 4px; background: var(--sz-card-hi); }
.tabs__draw .cal .d1 { background: color-mix(in srgb, var(--sz-accent) 30%, var(--sz-card)); }
.tabs__draw .cal .d2 { background: color-mix(in srgb, var(--sz-accent) 55%, var(--sz-card)); }
.tabs__draw .cal .d3 { background: color-mix(in srgb, var(--sz-accent) 80%, var(--sz-card)); }
.tabs__draw .cal .d4 { background: var(--sz-wait); }

/* ── one more thing ── */
.more { margin: 200px auto 0; max-width: 980px; padding: 80px var(--gut); text-align: center; position: relative;
  border: 1px solid color-mix(in srgb, var(--ws-wait) 45%, transparent);
  outline: 1px solid color-mix(in srgb, var(--ws-wait) 22%, transparent); outline-offset: 10px;
  background: color-mix(in srgb, var(--ws-ground) 70%, transparent); }
/* Stepped corners, the Deco way: a notch cut at each one. */
.more::before, .more::after { content: ""; position: absolute; width: 26px; height: 26px; border: 1px solid var(--ws-wait); opacity: .7; }
.more::before { top: -14px; left: -14px; border-right: 0; border-bottom: 0; }
.more::after { bottom: -14px; right: -14px; border-left: 0; border-top: 0; }
@media (max-width: 640px) { .more { margin-inline: 16px; } }
.more__lead { margin: 0 0 22px; font: 500 15px/1 var(--mono); color: var(--ws-wait); }
.more h2 { display: block; margin: 0 auto; max-width: 18ch; font: 750 clamp(36px, 5.4vw, 76px)/1.02 var(--sans); font-stretch: 122%; letter-spacing: -.035em; color: var(--ws-ink); }
.more__body { margin: 30px auto 0; max-width: 46ch; font-size: clamp(18px, 1.7vw, 21px); color: var(--ws-soft); }
.more__small { margin-top: 18px; color: var(--ws-faint); font-size: 16px; }

.get { padding: 160px var(--gut) 0; max-width: 980px; margin-inline: auto; text-align: center; }
.get h2 { justify-content: center; font: 750 clamp(32px, 4vw, 56px)/1 var(--sans); font-stretch: 122%; letter-spacing: -.03em; color: var(--ws-ink); margin-bottom: 30px; }
.get p { justify-content: center; }
.get__os { margin: 0 0 16px !important; }
.dl--alt { background: none; color: var(--ws-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ws-ink) 35%, transparent); }
.dl--alt:hover { box-shadow: inset 0 0 0 1px var(--ws-ink), 0 0 0 6px color-mix(in srgb, var(--ws-accent) 18%, transparent); }
.get p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--ws-soft); }
.get p[hidden] { display: none; }

.foot { display: flex; align-items: center; justify-content: space-between; margin-top: 120px; padding: 28px var(--gut); border-top: 1px solid var(--ws-card-hi); color: var(--ws-faint); font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ws-ink); }

@media (prefers-reduced-motion: reduce) {
  .beat--turn::after { animation: none; }
  .term__body .l, .ask { animation: none; opacity: 1; }
  .cur { animation: none; }
  .dl { transition: none; }
}
