/* Uriel OS storefront — stylesheet.
 * Two palettes live here on purpose:
 *   .space  the new single-page storefront: white sky, gold, a little purple, a little black.
 *           A canvas starfield sits behind everything (index.html), so every surface above it
 *           must be a real translucent pane — glass — and every text colour must survive on white.
 *   .nav / .doc / the earlier components keep working for pricing.html, mirror.html, docs.html
 *           and terms.html, which are still dark-page documents reached from the one-pager.
 * Change a token here and re-run _check/verify-serve.mjs plus a render pass. */

:root{
  /* new light palette */
  --white:#ffffff;
  --paper:rgba(255,255,255,.62);
  --paper-solid:#fbf9f5;
  --gold:#c99a2e;
  --gold-deep:#a97b1b;
  --gold-ink:#6b4c0c;      /* gold dark enough to be READ, not just seen, on white glass */
  --gold-light:#f0d489;
  --purple:#5b35b8;
  --purple-soft:rgba(91,53,184,.14);
  --black:#121016;
  --ink:var(--black); --ink-2:#1b1720; --panel:#ffffff; --line:#242c39;
  --text:#e8ecf3; --muted:#9aa6b8; --amber:#f5a623; --amber-2:#ffc35c;
  --ok:#4ec27a; --warn:#e0b341;
  --radius:12px; --max:1080px;
  /* The type. All families are self-hosted from _fonts/ (see _fonts/fonts.css) and the
     browser falls back to a close system face only until the file answers - font-display:swap.
     Bodoni Moda is the display voice: a Didone, so the thick stems and the hairlines are as
     far apart as type gets, and it carries a real 400-900 weight axis (Cormorant's axis moves
     the width of "Uriel" by 3px across 300-700, which is why weight alone could not make the
     wordmark read bolder). Cormorant stays second in the stack as the fallback display face.
     Inter is the body voice: a neutral grotesque that stays readable at 13-17px on glass. */
  --font:"Inter","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  --display:"Bodoni Moda","Cormorant","Didot","Bodoni MT",Georgia,serif;
  --mono:"JetBrains Mono","Cascadia Mono",Consolas,ui-monospace,monospace;
  /* Added when the hero banner was removed (2026-11-28). Cormorant's strokes go hairline at
     the top of the letters: inside the old dark plate that read as an elegant flick, on white
     it thins toward nothing. --rim is the deep gold used for the glyph edge and the shadow
     stack, so one token tunes the whole contrast treatment. */
  --rim:107,76,12;   /* rgb of --gold-ink */
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;
  background:var(--ink);color:var(--text)}
img{max-width:100%;height:auto;display:block}
a{color:var(--amber-2);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.2;letter-spacing:-.01em}
h1{font-size:clamp(30px,4.4vw,50px);margin:0 0 18px;font-weight:700}
h2{font-size:clamp(23px,2.6vw,32px);margin:0 0 14px}
h3{font-size:19px;margin:0 0 8px;color:var(--amber-2)}
main{max-width:var(--max);margin:0 auto;padding:0 22px}

/* ============================== LIGHT SINGLE-PAGE (body.space) ============================== */
body.space{
  background:var(--white);
  color:var(--black);
  position:relative;
  min-height:100vh;
}
body.space a{color:var(--purple)}
body.space a:hover{color:var(--gold-deep)}
#field{
  position:fixed;inset:0;width:100%;height:100%;
  z-index:0;pointer-events:none;
}
body.space::before{ /* a soft gold haze from the top so the hero glass reads as lit, not stuck on */
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(58% 44% at 50% 4%,rgba(240,212,137,.42) 0%,rgba(240,212,137,0) 70%),
    radial-gradient(40% 34% at 88% 32%,rgba(91,53,184,.10) 0%,rgba(91,53,184,0) 70%);
}
/* everything above the starfield canvas gets its own stacking layer. The nav is the exception:
   it must stay position:sticky (set further down, line ~92), and a positioned, non-sticky header
   would break that, so it only gets the z-index here. */
body.space > *:not(#field){position:relative;z-index:1}
body.space > header.nav:not(#field){position:sticky;z-index:5}

/* glass — one definition, used by nav, cards, table, steps, footer */
.glass{
  background:linear-gradient(160deg,rgba(255,255,255,.74),rgba(255,255,255,.44));
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  backdrop-filter:blur(18px) saturate(140%);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 18px 40px -26px rgba(18,16,22,.45),
    0 2px 10px -6px rgba(169,123,27,.28);
}

/* The bar keeps its full layout height always, so nothing below it ever shifts; it shows
   only when the visitor scrolls UP (scroll-up.js sets body.nav-open). Without this rule block
   the header is a plain, fully visible bar — a no-JS visitor still gets the old behaviour.
   The transition is on the bar's PADDING BOX, never on a transform: once scrolled, the sticky
   box is already pinned at viewport top, so transform:translateY(-100%) leaves it at -scrollY
   and it can never slide into view. box-sizing:border-box keeps the padding inside the
   measured width instead of widening the page. */
body.space .nav{position:sticky;top:0;z-index:5;box-sizing:border-box;
  border-left:0;border-right:0;border-top:0;
  transition:padding-top .28s ease,padding-bottom .28s ease,opacity .22s ease,box-shadow .28s ease}
body.space .nav.glass{
  border-bottom:1px solid rgba(201,154,46,.22);
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,
     0 18px 40px -26px rgba(18,16,22,.45),
     0 2px 10px -6px rgba(169,123,27,.28);
}
body.space .nav.glass:not(.nav-armed){visibility:hidden;transition:none}
body.space.nav-open .nav.glass{opacity:1}
body.space .nav.glass > *{transition:opacity .18s ease}
body.space .nav nav a{color:#4a4450;font-size:14px;letter-spacing:.02em}
body.space .nav nav a:hover{color:var(--gold-deep)}
body.space .btn-sm,
body.space .btn-primary{
  background:linear-gradient(135deg,var(--gold-light),var(--gold) 55%,var(--gold-deep));
  color:#20180a;
  box-shadow:0 6px 18px -10px rgba(169,123,27,.9);
}
body.space .btn-ghost{
  border-color:rgba(169,123,27,.5);color:#3b3226;
  background:rgba(255,255,255,.55);
}
body.space .btn-ghost:hover{border-color:var(--gold-deep);color:var(--black)}

/* hero: NO plate. The wordmark stands on the white field itself.
   The banner was removed by the Commander's call (2026-11-28): a dark rectangle behind the
   lockup read as a slab, not as light. Gold still needs contrast on white, so contrast now
   comes from three things that are not a shape: (1) a deep-gold rim drawn per glyph edge,
   (2) layered shadows that sit the letters ON the page instead of behind a panel, and
   (3) a soft gold aura that separates the mark from the white without drawing a border. */
/* The wordmark - the whole point of the page.
   Cormorant set at one weight below its bold, tracked slightly NEGATIVE so the letters
   interlock instead of standing apart, clipped to a five-stop gold ramp (white-hot top
   edge, deep amber foot) and pushed forward by a soft purple shadow that matches the
   motes in the field. Nothing here is a system font. */
.hero{
  min-height:min(78vh,720px);
  /* FLEX ON THE INNER LOCKUP, NOT ON THE SECTION. A section-level flex makes every child
     (the plate and the sub-line) shrink-to-fit, which would drop the glow to ~400px wide and
     halve the wordmark. The section stays block-level and full-bleed; .hero-inner is the flex
     column. Measured before and after: wordmark 295px desktop / 342px phone at 1440 / 390. */
  display:block;
  padding:70px 22px 60px;gap:26px;text-align:center;
  /* THE CONTRAST CARRIER. A glow painted on the SECTION, not on a panel: the section is
     full-bleed, and the gradient fades to zero inside it, so there is no box to see. This is
     the only thing standing between gold type and pure white — it replaced the black banner.
     z-index:-1 keeps it behind the type; the section itself has no other background. */
  position:relative;isolation:isolate;
}
.hero-inner{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:26px;min-height:min(78vh,720px);
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(46% 62% at 50% 46%,rgba(255,244,214,.95) 0%,rgba(246,226,176,.55) 40%,rgba(240,212,137,0) 76%),
    radial-gradient(70% 90% at 50% 52%,rgba(201,154,46,.10) 0%,rgba(201,154,46,0) 70%);
}
.plate{
  position:relative;
  max-width:100%;
  /* Vertical padding is NOT decoration, even with no visible plate: it is the box the lockup
     is measured against, and fonts.mjs asserts the lockup stays inside it. Dropping it to 0
     with the banner moved the ink to the padding edge and failed that check. */
  /* The horizontal inset is 3%, not 4%: with no banner there is no border to hold the type
     away from, and fonts.mjs requires >=1px of padding left on BOTH sides of the lockup box
     at 390px. At 4% the phone lockup measured exactly flush (L0 R0) and failed. */
  padding:clamp(6px,1.2vw,14px) 3%;
  width:min(100%,860px);
  /* No background, no border, no radius, no blur: there is nothing here to see. */
  background:none;
  border:0;
  overflow:visible;
}
.plate::before{ /* the horizon: a thin gold rule that fades out at both ends, under the word.
   It replaces the banner's bottom edge — a line, not a slab. */
  content:"";position:absolute;left:6%;right:6%;bottom:-6px;height:1px;
  background:linear-gradient(90deg,rgba(201,154,46,0),rgba(201,154,46,.55) 22%,rgba(240,212,137,.95) 50%,rgba(201,154,46,.55) 78%,rgba(201,154,46,0));
  opacity:.9;
}
.plate::after{display:none} /* the boxed aura is RETIRED — the hero section paints the glow */
.mark{
  /* gap .10em: at .16em the "OS" floats away from the word and the lockup reads as two
     separate things rather than one mark. */
  /* TRACKING UNWOUND ON THE LOCKUP (measured, 2026-11-28). -.022em on the flex container is
     tracked across the GAP as well, so at 40.95px the phone lockup measured 310px against a
     285px inner box and box-overran its padding. The 1.2px per-gap saving is not worth a
     layout that only just fits; letter-spacing belongs on the display spans, not here. */
  margin:0;display:flex;align-items:baseline;justify-content:center;gap:.18em;
  min-width:0;

  /* ONE SIZE TOKEN FOR THE WHOLE LOCKUP. Bodoni Moda sets "Uriel" at ~2.27em of its own
     size (measured, 424.7px at 187.2px), where Cormorant set the same word at ~2.7em - so a
     ratio of viewport units per span left the phone hero half-empty and the OS at 20px
     against a 50px word. Both spans now derive from --mark, so the proportion of OS to word
     is identical at every width: 2.81em of lockup in total, ~305px of a 342px phone plate. */
  /* 28.4vw, not 30vw: at 30 the phone lockup measured 321px of ink inside a 338px plate, which
     left 6px of clear glass on the left. 28.4 leaves ~17px a side, which is what fonts.mjs
     requires (>=12px) and what the eye wants at the edge of a phone. */
  /* CORRECTED 2026-11-30, by measurement: 28.4vw did NOT leave 17px a side. With the trailing
     letter-space cancelled above, the phone lockup measured 11px of clear glass each side against
     fonts.mjs' 12px standard. 28.0vw takes 4.6px out of the ink and leaves 13px each side. The
     210px cap means this only changes viewports under 750px; desktop and tablet are untouched. */
  --mark:clamp(52px,28vw,210px);

  font-family:var(--display);font-optical-sizing:auto;
  font-weight:500;letter-spacing:0;line-height:.98;
  position:relative;z-index:1;
}
.mark-uriel{
  /* TRACKING. -.036em closes the Didone's wide sidebearings without letting the hair of one
     letter touch the stem of the next. It went one step tighter when the weight went to 900:
     at black weight the stems are wider, so the same -.028em read as AIR between the letters
     rather than interlock. Measured on the served page at 1440 and 390 (fonts.mjs). */
  font-size:var(--mark);
  font-feature-settings:"dlig" 1,"liga" 1,"kern" 1;
  font-kerning:normal;
  letter-spacing:-.036em; /* the interlock that keeps the letters one mark */
  /* BLACK WEIGHT, the top of Bodoni Moda's 400-900 axis. A Didone is not made interesting by
     size - it is made interesting by the GAP between the thick stem and the hairline, and that
     gap is widest at 900. At 700 the wordmark read as "medium serif"; here the bowls of the
     r/e carry a real hairline and the stems land like a struck die. font-optical-sizing is
     auto, so at 210px the engine already picks the largest opsz and the hairlines go thinnest. */
  font-weight:900;
  /* A STRIKE OF METAL, NOT A SWATCH, and not a brown one. The first ramp put a #7a5309 waist
     across the middle of the letters, which on white read as olive smudge rather than shadow -
     a vision read of the 1440 frame called the gold "muddy/olive at the edges". This ramp keeps
     the same lit-bar idea (white-hot specular, fast fall, waist, bounce light at the foot) but
     lifts the darks into champagne and keeps the deepest stop out of the middle of the glyph. */
  background-image:
    /* the sheen: a band of warm light that travels across the metal (see @keyframes below).
       Deliberately GOLD-white, never neutral white - a grey band would read as a glare. */
    linear-gradient(101deg,rgba(255,232,168,0) 38%,rgba(255,240,200,.85) 50%,rgba(255,232,168,0) 62%),
    linear-gradient(178deg,#fffdf8 0%,#ffeec4 5%,#f6cf7c 13%,#e5b34d 26%,#cf9a2f 42%,#ab7a17 58%,#c79022 72%,#e7bd5e 86%,#fff2cd 100%);
  background-size:260% 100%,100% 100%;
  background-position:190% 0,0 0;
  background-repeat:no-repeat,no-repeat;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  animation:mark-sheen 15s cubic-bezier(.45,0,.25,1) 1.1s infinite;
  /* An engraved edge: half of the stroke sits inside the glyph, so it sharpens the hairline
     ends instead of fringing them, and it gives the gold a defined boundary against white. */
  -webkit-text-stroke:.5px rgba(56,38,3,.40);
  paint-order:stroke fill;
  /* No panel behind it, so the gold has to earn its edge. Lightest work last: a tight
     deep-gold rim, a 1px drop on the DOWN side (the light comes from above), a soft amber
     bloom, then the purple cast that matches the drifting motes. */
  filter:
    drop-shadow(0 0 1px rgba(56,38,3,.90))
    drop-shadow(0 1px 0 rgba(56,38,3,.75))
    drop-shadow(0 4px 9px rgba(120,86,16,.28))
    drop-shadow(0 18px 34px rgba(91,53,184,.24));
}
/* The metal catches the light. One band, one slow pass, then a long rest - a shine that ran
   constantly would be a flicker, not a finish. The second layer (the ramp) does not move:
   background-position is animated per layer, so only the sheen travels. */
@keyframes mark-sheen{
  0%,64%{background-position:190% 0,0 0}
  100%{background-position:-90% 0,0 0}
}
.mark-os{
  /* A HALLMARK, NOT A SMALLER WORD. The wordmark is now black weight; setting the OS heavy too
     would make the lockup one grey mass. So the contrast is turned into the design: 900 on the
     name, 400 on the OS, opened to .24em so it reads as stamped into the plate rather than
     typed after the word. .27 of the mark: Bodoni Moda's capital S is only 76% the width of
     its O (measured 104px vs 137px at 200px), so a smaller size with wider tracking keeps the
     pair a deliberate two-word mark instead of type that slipped. */
  font-size:calc(var(--mark) * .27);
  letter-spacing:.24em;text-transform:uppercase;
  /* THE TRAILING LETTER-SPACE IS NOT INK (measured 2026-11-30). .mark is a centred flex row, and
     letter-spacing also adds .24em AFTER the S — inside the item's box but under no glyph. The
     lockup was therefore centred on box + phantom space and sat ~4px left of centre: fonts.mjs
     read ink gaps of L7 R15px. Cancelling the trailing space with an equal negative margin puts
     the pair's measured centre back on the ink, L and R equal from the same ruler. */
  margin-right:-.24em;
  /* The OS is the smallest gold on the page, so its ramp runs almost the whole way at deep
     gold and only greets the specular in its first 7% - the same light, at lower intensity. */
  background:linear-gradient(178deg,#f8e5b3 0%,#c1912a 8%,#8f6712 48%,#6d5009 74%,#b1831f 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  /* Raised only .34em: its baseline rides just above the word's, so "OS" reads as part of the
     name. A full cap-line hallmark (-1.63em) was rendered and rejected here: at that height the
     OS detaches from the word and floats in white space. */
  font-family:var(--display);font-weight:400;
  transform:translateY(-.34em);
  -webkit-text-stroke:.4px rgba(56,38,3,.34);
  /* Same edge as the wordmark, scaled down: at a third the size its hairlines are the
     thinnest gold on the page and need the rim most. */
  filter:
    drop-shadow(0 0 1px rgba(56,38,3,.88))
    drop-shadow(0 1px 0 rgba(56,38,3,.70))
    drop-shadow(0 2px 6px rgba(120,86,16,.24))
    drop-shadow(0 10px 20px rgba(91,53,184,.20));
}
.hero-sub{
  margin:0;font-family:var(--font);
  /* .30em, not .42em: wide tracking is right for a small all-caps line, but at .42em the words
     came apart. The trailing letter-space on the last character is trimmed so the line is
     optically centred. */
  font-size:clamp(11px,1.2vw,13.5px);font-weight:600;letter-spacing:.30em;text-transform:uppercase;
  padding-left:.30em;
  color:#6d6470;
}
/* The sub-line is gold, painted the same way the wordmark is: a gradient clipped to the letters,
   dark top-left to bright light, so it reads as metal rather than a flat swatch. The three stops
   are all from the existing gold ramp (--gold-deep, --gold, --gold-light). On the glass plate the
   darkest stop sits against white-tinted glass, so the light stop carries the legibility. */
.hero-sub-gold{
  /* Darkened end to end with the plate gone: this line is 11-13px, the smallest gold on the
     page, so it cannot afford a light stop at all. Solid deep gold, one ramp, no highlight. */
  background:linear-gradient(176deg,#4a3407 0%,#5f4309 40%,#7a570e 78%,#5f4309 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  /* A hairline drop shadow, now heavier: on white there is no panel to hold the light end up. */
  filter:drop-shadow(0 1px 1px rgba(60,41,4,.55)) drop-shadow(0 0 1px rgba(60,41,4,.50));
}

@media(max-width:600px){
  /* Phone: the wordmark gets the full width. With no banner there is no frame to hug, so the
     aura is pulled in tighter to keep the gold pool centred on a narrow screen. */
  body.space .hero{padding-inline:10px}
  body.space .mark{padding-inline:0}
}

/* the list */
.included{padding:26px 0 10px}
.gets{
  list-style:none;margin:0 auto;padding:clamp(24px,3.4vw,40px) clamp(22px,3.6vw,52px);
  border-radius:22px;
  columns:2;column-gap:clamp(28px,4vw,64px);
  max-width:980px;
}
.gets li{
  break-inside:avoid;position:relative;padding:9px 0 9px 26px;margin:0;
  font-size:16.5px;color:#2a2530;line-height:1.45;
}
.gets li::before{
  content:"";position:absolute;left:0;top:17px;width:9px;height:9px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,var(--gold-light),var(--gold) 60%,var(--gold-deep));
  box-shadow:0 0 0 3px rgba(201,154,46,.14);
}

/* section titles on white */
.section-title{
  /* 700, not 600: with the wordmark at black weight the section titles read thin beside it.
     Optical sizing is on, so the hairlines stay fine at 34px instead of filling in. */
  font-family:var(--display);font-weight:700;letter-spacing:-.005em;font-optical-sizing:auto;
  font-size:clamp(24px,3vw,34px);color:var(--black);
  margin:64px 0 22px;
}
.section-title::after{
  content:"";display:block;width:64px;height:2px;margin-top:12px;
  background:linear-gradient(90deg,var(--gold),rgba(201,154,46,0));
}

/* pricing: four panels on ONE row */
.pricing{padding-top:34px}
body.space .plans{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;padding:0;align-items:stretch;
}
body.space .plan{
  border-radius:20px;padding:26px 20px 22px;
  display:flex;flex-direction:column;
  transition:transform .18s ease,box-shadow .18s ease;
}
.plan:hover{transform:translateY(-3px)}
.plan .tag{
  align-self:flex-start;display:inline-block;font-size:10.5px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;
  color:#3a2e10;background:rgba(240,212,137,.34);
  border:1px solid rgba(201,154,46,.36);
  border-radius:999px;padding:4px 10px;margin-bottom:14px;
}
.plan .tag-gold{color:#20180a;background:linear-gradient(135deg,var(--gold-light),var(--gold));border-color:transparent}
.plan h2{
  font-family:var(--font);font-size:18px;font-weight:600;letter-spacing:-.012em;
  margin:0 0 8px;color:var(--black);
}
.plan .price{
  /* The figures are the second-largest type on the page after the wordmark, so they share its
     voice: Didone numerals at 600 with optical sizing. Bodoni Moda's old-style figures are
     switched to lining + tabular so the four cards align down the row. */
  font-family:var(--display);font-size:clamp(36px,3.6vw,50px);font-weight:600;
  font-feature-settings:"lnum" 1,"tnum" 1;
  letter-spacing:-.03em;line-height:1;margin:0 0 6px;
  color:var(--gold-ink);
}
.plan .price small{
  display:block;margin-top:6px;font-family:var(--font);font-size:12.5px;font-weight:500;
  letter-spacing:.01em;color:#6d6470;line-height:1.35;
}
.plan .what{font-size:13.5px;color:#4d4754;margin:10px 0 18px;flex:1 1 auto;line-height:1.45}
.plan .btn{width:100%;text-align:center;padding:11px 14px;font-size:14.5px}
.plan.featured{
  border-color:rgba(201,154,46,.62);
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 26px 54px -30px rgba(169,123,27,.65),
    0 0 0 1px rgba(201,154,46,.28);
}
.mirror-line{
  margin:18px 0 0;padding:14px 20px;border-radius:16px;
  font-size:14.5px;color:#3d3746;line-height:1.5;
}
body.space .notice{
  background:rgba(201,154,46,.10);
  border:1px solid rgba(201,154,46,.42);
  border-radius:16px;
  padding:14px 18px;font-size:14px;color:#5b4a22;margin:16px 0 0;
}
body.space .notice strong{color:#2a2110}

/* the full spec sheet, folded away */
.specs{margin-top:16px;border-radius:18px;padding:16px 22px}
.specs summary{
  cursor:pointer;font-weight:600;font-size:15px;color:var(--gold-deep);
  list-style:none;letter-spacing:.01em;
}
.specs summary::-webkit-details-marker{display:none}
.specs summary::before{content:"+ ";font-weight:700}
.specs[open] summary::before{content:"– "}
.spec-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px 34px;margin-top:20px;
}
.spec h3{font-size:15px;color:var(--black);margin:0 0 10px;font-weight:600}

/* light-theme list ticks (the dark pages keep the amber square) */
body.space ul.check li{color:#454050;font-size:14px;padding-left:22px;margin-bottom:7px}
body.space ul.check li a{color:var(--purple)}
body.space ul.check li::before{
  width:7px;height:7px;top:8px;
  background:radial-gradient(circle at 35% 30%,var(--gold-light),var(--gold) 60%,var(--gold-deep));
}
body.space .fineprint{color:#6d6470;font-size:13px;margin:18px 0 0}

/* table */
.compare{padding-bottom:10px}
body.space table.cmp{
  border-collapse:separate;border-spacing:0;border-radius:18px;overflow:hidden;
  margin:0;font-size:14.5px;
}
body.space table.cmp th,
body.space table.cmp td{
  border-bottom:1px solid rgba(201,154,46,.18);
  padding:13px 14px;color:#2a2530;
}
body.space table.cmp tr:last-child td{border-bottom:0}
body.space table.cmp th{
  font-size:11px;letter-spacing:.14em;color:var(--gold-ink);
  background:rgba(240,212,137,.20);font-weight:700;
}
body.space table.cmp td:first-child{color:#4d4754;width:38%}
body.space table.cmp td strong{color:var(--black)}

/* licence steps */
.license{padding-bottom:40px}
body.space .steps{border-radius:18px;padding:26px clamp(20px,3vw,36px);margin:0}
body.space .steps li{padding-left:40px;color:#3d3746;font-size:15px;margin-bottom:14px}
body.space .steps li:last-child{margin-bottom:0}
body.space .steps li a{color:var(--purple)}
body.space .steps li::before{
  background:linear-gradient(135deg,var(--gold-light),var(--gold) 70%);
  color:#20180a;box-shadow:0 4px 10px -6px rgba(169,123,27,.9);
}
.license-more{margin:16px 0 0;font-size:14px;color:#6d6470}
.license-more a{color:var(--purple)}

body.space footer{
  margin-top:26px;padding:26px 22px 40px;
  border-top:1px solid rgba(201,154,46,.22);
  border-left:0;border-right:0;border-bottom:0;
  border-radius:0;background:transparent;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  color:#6d6470;font-size:13.5px;
}
body.space footer nav a{color:#5b5560}
body.space footer nav a:hover{color:var(--gold-deep)}
body.space footer img{opacity:.75;filter:none}

/* responsive: four across, then two, then one */
@media(max-width:1000px){
  body.space .plans{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .hero{min-height:64vh;padding:44px 16px 40px}
  /* The plate gives way to the type on a phone: the gold wordmark is the selling image, so
     it gets the width, and the glass frames it with one even inset instead of 8% + 8%. */
  body.space .hero{padding-inline:8px}
  body.space .plate{padding-inline:2px}
  .gets{columns:1;border-radius:16px}
  body.space .plans{grid-template-columns:1fr;gap:12px}
  .spec-grid{grid-template-columns:1fr}
  .section-title{margin-top:46px}
  /* phone: keep the wordmark on one line and drop the in-page links to a single
     scrollable strip, so the brand and the Buy button never share a cramped row */
  body.space .nav{padding:10px 12px;gap:8px;flex-wrap:nowrap;align-items:center}
  body.space .nav .brand{flex:0 0 auto}
  body.space .nav .brand img{height:17px;width:auto}
  body.space .nav nav{gap:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;order:3;width:100%;
    -webkit-overflow-scrolling:touch}
  body.space .nav nav::-webkit-scrollbar{display:none}
  body.space .nav nav a{font-size:12.5px;padding:6px 10px;white-space:nowrap}
  body.space .nav nav a.btn{background:linear-gradient(135deg,var(--gold-light),var(--gold) 55%,var(--gold-deep));
    color:#20180a;margin-left:auto;padding:6px 14px}
  body.space .nav{flex-wrap:wrap}
  body.space .nav .brand{order:1}
  body.space .nav nav a.btn{order:2;margin-left:auto}
  body.space table.cmp{font-size:13px}
  body.space table.cmp th,body.space table.cmp td{padding:10px 8px}
  main{padding:0 16px}
}

/* ============================== DARK DOCUMENT PAGES ============================== */
.nav{display:flex;align-items:center;justify-content:space-between;gap:18px;
  max-width:var(--max);margin:0 auto;padding:20px 22px;border-bottom:1px solid var(--line)}
.nav nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.nav nav a{color:var(--muted);font-size:15px}
.nav nav a[aria-current="page"]{color:var(--text)}
.brand img{height:26px;width:auto}
body.space .nav{max-width:none;padding-left:max(22px,calc((100vw - var(--max)) / 2 + 22px));
  padding-right:max(22px,calc((100vw - var(--max)) / 2 + 22px))}

/* COLLAPSED (armed by scroll-up.js, not open): the box keeps its place in the layout but its
   padding shuts, leaving a hairline, and its content fades out - on landing there is no bar to
   see and nothing below it moves. This sits AFTER the legacy .nav rules above on purpose: they
   set padding:20px 22px with the same one-class weight, so an earlier rule would lose.
   The state lives on the HEADER alone (scroll-up.js adds/removes nav-armed and nav-open there).
   No body-scoped selector is used, so the bar never depends on a cascade it does not own.
   CORRECTION (2026-11-28): an earlier version of this comment claimed "this Chromium build
   IGNORES every body.class-prefixed rule (measured in _check/diag-forms.mjs)". That is FALSE and
   the cited probe does not exist in the tree. Measured this pass: body.space .nav at :456 paints
   the nav, and body.page .plans at :586 computes display:grid on pricing. body.class rules apply
   normally - the bar simply does not use one, which is a style decision, not a browser limit. */
.nav.glass.nav-armed:not(.nav-open){position:fixed !important;top:0 !important;left:0;right:0;height:0 !important;min-height:0;max-height:0;overflow:hidden;padding-top:0;padding-bottom:0;border-bottom:1px solid rgba(201,154,46,.18)}
.nav.glass.nav-armed:not(.nav-open) > *{opacity:0;pointer-events:none}
/* holds the header solid in the flow: height is set by scroll-up.js to the OPEN bar height, so
   toggling the bar never changes document height (see scroll-up.js for why that matters) */
.nav-spacer{display:block;width:100%}
/* the children keep their layout box but take no height either: the bar is a hairline, not a gap */
.nav.glass.nav-armed:not(.nav-open) > *{max-height:0;overflow:hidden;margin-top:0;margin-bottom:0}
.nav.glass.nav-armed.nav-open > *{max-height:none;overflow:visible;opacity:1;pointer-events:auto}
/* OPEN is purely additive: padding and content come back, nothing else is removed. The phone
   bar is shorter (brand 17px + one 6px row + 10px padding), so it gets its own padding. */
.nav.glass.nav-armed.nav-open{position:fixed !important;top:0 !important;left:0;right:0;padding-top:20px;padding-bottom:20px}
@media (max-width:720px){
  .nav.glass.nav-armed:not(.nav-open){transition:none}
  .nav.glass.nav-armed.nav-open{padding-top:10px;padding-bottom:10px}
  /* phone: the 1px rule plus the short bar still leaves the header's own minimum; pin it shut */

}
/* measuring pass: the open bar geometry without the transition, so the spacer is exact */
.nav.glass.nav-armed.nav-measure{transition:none;opacity:1}
.btn{display:inline-block;padding:12px 22px;border-radius:999px;font-weight:600;font-size:16px;
  border:1px solid transparent;transition:transform .08s ease,filter .12s ease}
.btn:hover{text-decoration:none;filter:brightness(1.06)}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--amber);color:#10141a}
.btn-ghost{border-color:var(--line);color:var(--text)}
.btn-sm{padding:8px 16px;font-size:14px;background:var(--amber);color:#10141a}
.btn[disabled]{opacity:.55;cursor:not-allowed;filter:none}

.lede{font-size:19px;color:var(--muted);max-width:720px;margin:0 auto 30px}
.fineprint{font-size:13.5px;color:#7d8798;margin:0}
ul.check{list-style:none;margin:0;padding:0}
ul.check li{position:relative;padding-left:26px;margin-bottom:9px;color:var(--muted);font-size:15.5px}
ul.check li::before{content:"";position:absolute;left:2px;top:9px;width:9px;height:9px;border-radius:2px;background:var(--amber)}

table.cmp{width:100%;border-collapse:collapse;margin:28px 0 8px;font-size:15.5px}
table.cmp th,table.cmp td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}
table.cmp th{color:var(--muted);font-weight:600;font-size:13.5px;text-transform:uppercase;letter-spacing:.06em}
table.cmp td:first-child{color:var(--muted);width:44%}

/* docs / terms */
.doc{max-width:780px;padding:44px 0 70px}
.doc h2{margin-top:40px}
.doc h2:first-of-type{margin-top:0}
.doc p,.doc li{color:var(--muted)}
.doc code{background:var(--ink-2);border:1px solid var(--line);border-radius:6px;padding:1px 6px;font-size:14px;color:var(--amber-2)}
.steps{counter-reset:s;list-style:none;padding:0}
.steps li{counter-increment:s;position:relative;padding-left:40px;margin-bottom:16px}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;
  background:var(--amber);color:#10141a;font-weight:700;font-size:14px;display:grid;place-items:center}

/* pricing page blocks (still used by pricing.html) */
.plans-page{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;padding:30px 0 10px;align-items:start}
.plans-page .plan{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:26px;display:block}
.plans-page .plan.featured{border-color:var(--amber);box-shadow:0 0 0 1px rgba(245,166,35,.22)}
.plans-page .plan .tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:#10141a;background:var(--amber);border-radius:999px;padding:3px 10px;margin-bottom:12px}
.plans-page .plan h3{color:var(--text);font-size:20px;margin-bottom:4px}
.plans-page .plan .what{color:var(--muted);font-size:14.5px;margin:0 0 16px}
.plans-page .price{font-size:42px;font-weight:700;letter-spacing:-.02em;color:var(--text);font-family:var(--font)}
.plans-page .price small{font-size:15px;font-weight:500;color:var(--muted);display:block;margin-top:2px}
.plans-page .plan ul.check{margin:18px 0 22px}
.plans-page .plan .btn{width:100%;text-align:center}

/* pricing.html — the edition cards, on the dark document theme (2026-11-28).
   Measured before this block on the served page: #tiers computed display:block, so the four
   editions were four full-width blocks with no panel, no gap and no radius, and the two things
   that carry the sale were the least readable text on the page — .price rgb(107,76,12) on
   rgb(18,16,22) = 2.40:1, the small print 3.34:1, the one-line .what 2.11:1.
   Every rule is scoped to body.page, so the white-glass homepage keeps its own .plans.
   Tokens only: no new colour enters the palette. */
body.page .plans{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
  gap:18px;padding:6px 0 4px;margin:22px 0 6px;align-items:stretch;
}
body.page .plans + .plans{margin-top:24px}
body.page .plan{
  background:rgba(255,255,255,.028);border:1px solid var(--line);
  border-radius:16px;padding:24px 22px;
  display:flex;flex-direction:column;
}
/* the unscoped .plan .what grows to fill a flex card (it is the homepage's spacer); here the
   copy keeps its own height and the buy button takes the slack, so the two CTAs line up */
body.page .plan .what{flex:0 0 auto}
body.page .plan .btn{margin-top:auto}
/* the nav Buy pill: .nav nav a (0,2,1) was painting --muted onto --amber = 1.22:1 */
body.page .nav nav a.btn{color:#10141a}
body.page .plan.featured{border-color:rgba(245,166,35,.55);box-shadow:0 0 0 1px rgba(245,166,35,.16)}
/* the featured tag is the one tag without an inline colour, so it gets its own legible one */
body.page .plan .tag{color:#f7ecd0;background:rgba(240,212,137,.16);border-color:rgba(201,154,46,.5)}
body.page .plan .price{color:var(--gold-light)}   /* was --gold-ink: 2.40:1 on this ground */
body.page .plan .price small{color:var(--muted)}  /* was #6d6470: 3.34:1 */
body.page .plan .what{color:var(--muted);margin:6px 0 16px}  /* was #4d4754: 2.11:1 */
body.page .plan .fineprint{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 18px}
body.page .plan ul.check{margin:16px 0 18px}
body.page .plan ul.check li:last-child{margin-bottom:0}

/* footer (dark pages) */
footer{max-width:var(--max);margin:0 auto;padding:34px 22px 56px;border-top:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#7d8798;font-size:14px}
footer p{margin:0;flex:1 1 320px}
footer nav{display:flex;gap:18px;flex-wrap:wrap}
/* The footer nav is now a door, not only a sitemap: "Collect a licence" is the way back to keys a
   buyer has already paid for. Measured 2026-11-30 before this rule, those links rendered 22.4px
   tall — under the 24x24 minimum target size, and awkward to hit on a phone. The padding is
   vertical only, so the row still reads as one line of small print and nothing wraps differently;
   the -9px margin keeps the footer's own height and spacing exactly as it was. */
footer nav a{color:var(--muted);padding-top:9px;padding-bottom:9px;margin-top:-9px;margin-bottom:-9px}
footer img{height:18px;width:auto;opacity:.85}

/* reduced motion: nothing moves, nothing shimmers */
@media (prefers-reduced-motion: reduce){
  .plate::after{animation:none}
  .mark-uriel{animation:none;background-position:190% 0,0 0}
  .plan{transition:none}
}

/* ============================== CRAFT PASS (motion skills) ==============================
 * Applied from iart-ai/web-animation-skills — glassmorphism + 60fps-animation +
 * accessible-animation + micro-interaction. Cloned to ..\_skills\iart\web-animation-skills.
 *
 * WHY EACH LINE EXISTS (measured on 2026-11-28, not assumed):
 *  - The .glass fill is a GRADIENT, and a gradient leaves .plan background-color as
 *    rgba(0,0,0,0). So the glass surface was there but backing nothing, and the card's own
 *    backdrop filter was doing the work with no fill to tint it. A flat alpha fill under the
 *    gradient restores the "translucency" ingredient.
 *  - Chrome 158 warns "-webkit-backdrop-filter is not supported" and drops it, which is
 *    harmless for the standard property but noise in every console. An @supports block
 *    emits the prefixed line only where the engine still needs it (old Safari).
 *  - .plan:hover animated transform AND box-shadow. box-shadow is a paint property, so the
 *    hover repainted a blurred 300px card every frame. The 60fps skill's fix: paint the
 *    shadow once on a pseudo-element and fade its opacity. Movement stays on transform.
 *  - A focus ring of Chrome's default 1px auto was the only keyboard cue on a 4-panel row.
 * ===================================================================================== */

/* 1. the missing fill under the gradient (glassmorphism: translucency) */
.glass{background:rgba(255,255,255,.40);
  background-image:linear-gradient(160deg,rgba(255,255,255,.74),rgba(255,255,255,.44))}

/* 2. the prefixed blur only where the engine needs it — stops the Chrome 158 warning */
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .glass{-webkit-backdrop-filter:blur(18px) saturate(140%)}
}

/* 3. hover lift, compositor-only: transform moves the card, a pre-painted shadow fades in */
body.space .plan{position:relative;isolation:isolate}
body.space .plan::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;
  box-shadow:0 22px 46px -24px rgba(140,104,20,.55);
  opacity:0;transition:opacity .22s ease;
}
body.space .plan:hover{transform:translateY(-4px);transition-property:transform}
body.space .plan:hover{transition-duration:.22s;transition-timing-function:cubic-bezier(.16,1,.3,1)}
body.space .plan:hover::after{opacity:1}
body.space .plan.featured::after{box-shadow:0 26px 54px -26px rgba(169,123,27,.72)}
body.space .plan.featured:hover::after{opacity:1}

/* 4. a keyboard ring that is actually visible on the white glass */
body.space a:focus-visible,body.space .btn:focus-visible{
  outline:2px solid var(--gold-deep);outline-offset:3px;border-radius:10px;
}

/* 5. reduced motion, tiered (accessible-animation): drop the displacement, keep the shadow
      and the focus ring — a teleporting card is worse than a still one */
@media (prefers-reduced-motion: reduce){
  body.space .plan:hover{transform:none}
  body.space .plan::after,body.space .plan{transition:opacity .15s ease}
}

/* the dark document pages get their old dark notice back, now that .notice is scoped to body.space */
body.page .notice{background:rgba(224,179,65,.1);border:1px solid rgba(224,179,65,.4);border-radius:var(--radius);
  padding:14px 18px;font-size:14.5px;color:#f0dca6;margin:22px 0 0}
body.page .notice strong{color:#fff}
