/* Reverie's design world: the one set of values every Reverie piece is made of (her ask, 29 Oct 2026).
   Made from design-world/*.tokens.json by design-world/build.mjs. Never edit by hand: change the source, log the change in design-world/CHANGES.md, then run node design-world/build.mjs.
   Night is the world's look. A piece that offers Day turns it on with data-look="day" on its page, usually <html data-look="day"> (North light,
   her pick 29 Oct). An attribute, never a class: a piece's own .day (a calendar's day cell) must never turn on Day.
   No fine white edge, outline or hairline anywhere (her binding rule, 27 Oct): depth, light and shadow separate surfaces. */
:root{
  /* The dark Reverie lives in: a color, never grey (light rule L2). */
  --ink:13,8,22;  /* The night ink behind every glass pane, at half its violet (her pick, 27 Oct: "colour 2"). */
  --violet:#2e1a47;  /* The sky's deep violet (her color, 15 Oct: "color is back"). */
  --mist:#d6c7e8;  /* The sky's pale violet (15 Oct); in Day, the soft shade in the paper's far corner. */
  /* The night sky's three stops, top to floor. */
  --sky-top:var(--violet);  /* Where the sky is lit, at the top of every screen. */
  --sky-middle:#170d28;  /* The sky halfway down (the Timeline and the calendar, 29 Oct). */
  --sky-floor:#07040d;  /* The sky at the bottom of the screen: nearly black, still violet. */
  /* One white iridescent sheen, ice to white to lilac; vivid only in the moments she acts; never warm, gold or amber (her rule, 23 Oct: "I want it to be cohesive throughout the whole of Reverie, this light"). */
  --ice:#73c7ff;  /* The sheen's cool tail, and the color of keyboard focus. */
  --lilac:#cc8cff;  /* The sheen's violet tail: cool, never pink or gold. */
  --vivid-ice:#2eb5ff;  /* Ice at full strength, only in the moment she acts (the opening flare, a press). */
  --vivid-lilac:#b55cff;  /* Lilac at full strength, only in the moment she acts. */
  --vice:var(--vivid-ice);  /* old name for --vivid-ice; use that */
  --vlilac:var(--vivid-lilac);  /* old name for --vivid-lilac; use that */
  /* A cold white body with colors drifting through it: ice leading, lilac the undertone, rose the lowest edge (her pick, 28 Oct: "react the same way the northern lights do"; "Make this vibrant"). */
  --aurora-pearl:#edf5ff;  /* The aurora's body: a cold white, the one sheen, never warm. */
  --aurora-ice:#80d1ff;  /* The lead color, riding highest. */
  --aurora-lilac:#bd85ff;  /* The undertone that never leaves (her words, 28 Oct: "an undertone that runs throughout"). */
  --aurora-rose:#ed73b3;  /* The aurora's pink lower edge, coming and going: a cool rose, never warm. */
  /* One family of whites for words, brightest for hers (light rule W3). */
  --words:rgba(255,255,255,.95);  /* Her words: light weight, no glow on the letters (her pick, 27 Oct: "3 with B writing"). */
  --heard:rgba(255,255,255,.78);  /* Words still being heard while she speaks, a step quieter than her written ones. */
  --quiet:rgba(255,255,255,.75);  /* Reverie's own words: times, places, where a thing came from (VOICE.md section 3). */
  --suggestion:rgba(255,255,255,.6);  /* The Mac's suggestion for the rest of a word: clearly not hers until she takes it. */
  --unsaid:rgba(255,255,255,.56);  /* Words of a playing recording not yet reached: still readable, still 4.5:1 or more. */
  --words-weight:300;  /* Her words are light weight; on the dark, regular already read bold (her pick, 27 Oct). */
  /* Glass panes and controls, told apart by light, never by a line (her binding rule, 27 Oct: no fine white edge, outline or hairline, ever). */
  --plate:rgba(214,199,232,.05);  /* A pane at rest: just enough light to lift it off the sky. */
  --plate-hi:rgba(214,199,232,.09);  /* A pane under the pointer: it brightens to say it can be pressed. */
  --plate-press:rgba(214,199,232,.13);  /* A pane being pressed: the answer within a tenth of a second. */
  --fill:rgba(214,199,232,.08);  /* A control's own glass (a button, a field) at rest. */
  --fill-hi:rgba(214,199,232,.14);  /* A control under the pointer. */
  --fill-chosen:#d6c7e8;  /* The chosen control: solid mist, clearly apart from one at rest, so chosen never looks like hovered and never greys (her yes, 29 Oct). */
  --on-chosen:#2e1a47;  /* Words on the chosen control: the sky's violet on mist at night; in Day the two trade places. */
  /* Where the keyboard is: a soft glow and a one-point lift, never a ring (the family's match, 29 Oct; a ring is the outline her rule forbids). */
  --focus-glow:0 0 28px 0 rgba(115,199,255,.5),inset 0 0 0 999px rgba(115,199,255,.2);  /* The focused thing lights evenly with ice and its glow spills outward, so the brightest step is never a line at the edge, as Apple TV shows focus (her yes, 29 Oct; it had a 3-point spread). */
  --focus-lift:translateY(-1px);  /* The focused thing rises one point toward her. */
  /* Each person's color, the same in every piece: the calendar, the Command Center, Cards (from the calendar, 29 Oct). */
  --person-tomato:#ff8a7a;
  --person-marigold:#f5b84a;
  --person-fern:#72d488;
  --person-teal:#4cd0de;
  --person-cobalt:#8eaeff;
  --person-violet:#c4a3ff;
  --person-orchid:#ff8fcc;
  --person-cocoa:#e3a47e;
  --person-slate:#b4bdd0;
  /* One rhythm everywhere: arrivals snap, departures sneak (light rule M1). */
  --fast:.18s;  /* A quick change: a hover, a colour easing in. */
  --spring:.3s;  /* Something arriving: the bar springs in in 0.3 s, as the Mac's own ⌘ Space bar does. */
  --in:.14s;  /* An arrival's rise: it snaps in. */
  --out:.26s;  /* A departure: it sneaks away, slower than it came. */
  --press:.08s;  /* The answer to a press: well inside a tenth of a second. */
  --ease:cubic-bezier(.22,1,.36,1);  /* The family's curve: a fast start, a long soft landing. */
  --springy:cubic-bezier(.2,.9,.25,1.06);  /* The same curve with a whisper of overshoot, for things that arrive. */
  --listening-breath:3s;  /* One breath of the soft white light while Reverie listens (her answer, 29 Oct: "3 seconds"; light rule M2: never faster than a breath). */
  --undo-seconds:10;  /* Undo stays on screen 10 seconds in every piece (Apple Mail's default and the bar's; the family's match, 29 Oct). */
  --sys:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",sans-serif;  /* The Mac's and iPhone's own font, untouched: no script or handwritten fonts (VOICE.md section 9; light rule W2). */
  color-scheme:dark;
}
/* Increase Contrast on her Mac or iPhone: every white for words steps up */
@media (prefers-contrast:more){:root{
  --words:#ffffff;  /* Her words at full white. */
  --heard:rgba(255,255,255,.9);  /* Words being heard, nearly full white. */
  --quiet:rgba(255,255,255,.9);  /* Reverie's own words, nearly full white. */
  --suggestion:rgba(255,255,255,.75);  /* The suggestion, brighter but still quieter than her words. */
  --unsaid:rgba(255,255,255,.7);  /* A recording's words not yet reached, brighter. */
}}
/* Day: "North light", cream paper in the cool light of a north window */
[data-look="day"]{
  /* Days are sheets of paper, today on top: time told by tone (her NOW / LATER / EVENTUALLY pad). */
  --paper-ground-top:#f5eee1;  /* The cream desk, where the light falls (the planners she photographed, 29 Oct). */
  --paper-ground-floor:#eee5d3;  /* The cream desk further from the window. */
  --paper-today:#fffdf9;  /* Today's sheet, brightest, on top. */
  --paper-tomorrow:#faf4e8;  /* Tomorrow's sheet, one tone back. */
  --paper-later:#f4ecdf;  /* Later's sheet, furthest back. */
  --north-light:rgba(250,251,253,.96);  /* The window's cool white light from above-left: the one key light. */
  --day-shade:58,36,92;  /* Shadows in Day take Reverie's ink violet, never black or grey. */
  --vivid-ice:#2f5bc4;  /* The light of the moment she acts, in Day: cobalt, because ice vanishes on cream (her yes, 29 Oct; Cards' new-card sweep, Find and the star's glow by day). */
  --words:#1f1530;  /* Words in Day: violet ink on cream, 4.5:1 and up on every paper. */
  --quiet:rgba(31,21,48,.7);  /* Reverie's own words in Day: the same ink, quieter. */
  --plate:rgba(46,26,71,.045);  /* A pane at rest in Day: a breath of violet on the paper (Cards' tested value; her yes, 29 Oct). */
  --plate-hi:rgba(46,26,71,.075);  /* A pane under the pointer, in Day. */
  --plate-press:rgba(46,26,71,.12);  /* A pane being pressed, in Day. */
  --fill:rgba(46,26,71,.06);  /* A control at rest in Day: a breath of violet on the paper. */
  --fill-hi:rgba(46,26,71,.1);  /* A control under the pointer, in Day. */
  --fill-chosen:#2e1a47;  /* The chosen control in Day: solid violet, as the calendar's Day main button (her yes, 29 Oct). */
  --on-chosen:#ffffff;  /* Words on the chosen control in Day: white on violet. */
  --focus-glow:0 0 26px 0 rgba(47,91,196,.42),inset 0 0 0 999px rgba(47,91,196,.1);  /* Focus in Day: a cobalt glow, still never a ring (ice would vanish on cream). */
  /* The deeper set for cream paper, with white words on them (measured 4.5:1). */
  --person-tomato:#d23a2a;
  --person-marigold:#b36200;
  --person-fern:#2b7f3c;
  --person-teal:#00798a;
  --person-cobalt:#2f57d0;
  --person-violet:#7a3fc4;
  --person-orchid:#b8327f;
  --person-cocoa:#8a4b2a;
  --person-slate:#56607a;
  --heard:initial;  /* not decided for Day yet: the page's own ink shows instead of white on cream */
  --suggestion:initial;  /* not decided for Day yet: the page's own ink shows instead of white on cream */
  --unsaid:initial;  /* not decided for Day yet: the page's own ink shows instead of white on cream */
  color-scheme:light;
}
