/* passioncode.ai, airy style, candidate B: the kit's LIGHT values (2026-12-02, art direction brief.md in this folder).
   Load AFTER /styles.css:  <link rel="stylesheet" href="/docs/design/2026-12-02-airy/candidate-b-light-airy.css">
   (for production, copy it beside styles.css; the docs/ folder is not in the deploy allow-list).
   Colours: section 0 is the colour, glass, shadow, type, space, radius and motion block of the Noosmos brand kit 1.2.0
   brand-kit/tokens-light.css ("for light sites (passioncode.ai)"), copied by script, byte for byte, from
   passioncode-ai/noosmos origin/main; every rule below uses only var(--nf-*) and var(--pc-*) remapped onto them.
   The kit's tokens.css also carries an older light block under [data-theme="light"] (#f6f8fb page); this candidate
   follows tokens-light.css, which the kit README names for passioncode.ai. No --noosmos-* token, no purple, no magenta.
   Gold (--nf-core) appears twice in the whole system: the core point of the hero field and the fill of .button-primary.
   Ice (--nf-accent-line) is used only for lines and dots, never for text, as the kit says.
   Spacing that is not a kit token is a local --air-* value built from kit tokens; no colour is defined here. */

/* ---------------------------------------------------------------- 0. the kit's light tokens (brand-kit/tokens-light.css 1.2.0, verbatim) */
:root, :root[data-theme="light"], .nf-light {
  /* ---- colour ---- */
  --nf-bg: #fbfaf7;                   /* warm off-white page */
  --nf-surface-1: #ffffff;            /* cards */
  --nf-surface-2: #f3f1ec;            /* sand band */
  --nf-surface-ice: #eef7fb;          /* pale ice band */
  --nf-ink: #0b0d14;                  /* headings: 18.6:1 on bg (AAA) */
  --nf-ink-body: #2a303b;             /* body: 12.7:1 on bg, 12.2:1 on ice (AAA) */
  --nf-ink-muted: #4a5566;            /* secondary: 7.2:1 on bg (AAA), 6.7:1 on sand (AA) */
  --nf-ink-faint: #5f6979;            /* captions, mono labels: 5.3:1 on bg, 4.9:1 on sand (AA) */
  --nf-hairline: rgba(11, 13, 20, 0.08);
  --nf-hairline-strong: rgba(11, 13, 20, 0.14);
  --nf-accent: #08708f;               /* links, focus, signal: 5.4:1 on bg (AA) */
  --nf-accent-strong: #065a73;        /* small accent text and kickers: 7.4:1 on bg (AAA) */
  --nf-accent-tint: #dff4fb;          /* ice fill behind a pill or an active row */
  --nf-accent-line: #7fe6ff;          /* decorative ice lines and dots only, never text */
  --nf-core: #ffd21a;                 /* gold: one per view, the primary action; ink on gold 13.4:1 */
  --nf-core-ink: #0b0d14;
  --nf-core-mark: #d99a00;            /* gold inside logos on light (mark-light.svg), never text */
  --nf-danger: #b42318;
  --nf-ok: #067647;

  /* ---- glass and shadow (soft on light) ---- */
  --nf-glass: rgba(255, 255, 255, 0.72);
  --nf-glass-blur: 16px;
  --nf-glass-solid: rgba(255, 255, 255, 0.94);
  --nf-shadow-card: 0 1px 2px rgba(11, 13, 20, 0.04), 0 8px 24px rgba(11, 13, 20, 0.06);
  --nf-shadow-raised: 0 2px 4px rgba(11, 13, 20, 0.05), 0 16px 40px rgba(11, 13, 20, 0.08);
  --nf-shadow-cta: 0 0 0 1px rgba(217, 154, 0, 0.35), 0 8px 24px rgba(217, 154, 0, 0.18);

  /* ---- typography (the same scale as the dark set; weights one step heavier on light) ---- */
  --nf-font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --nf-font-cyrillic: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --nf-font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --nf-text-body: 1.0625rem;
  --nf-text-small: 0.9rem;
  --nf-text-eyebrow: 0.78rem;
  --nf-text-lede: clamp(1.15rem, 1.6vw, 1.35rem);
  --nf-text-h3: clamp(1.3rem, 1.8vw, 1.6rem);
  --nf-text-h2: clamp(2rem, 4.2vw, 3.4rem);
  --nf-text-display: clamp(2.6rem, 6.4vw, 5.9rem);
  --nf-weight-display: 350;
  --nf-weight-body: 400;
  --nf-weight-medium: 500;
  --nf-leading-body: 1.65;
  --nf-leading-tight: 1.05;
  --nf-tracking-display: -0.03em;
  --nf-tracking-eyebrow: 0.12em;

  /* ---- space: more air than the dark set ---- */
  --nf-space-1: 0.25rem;
  --nf-space-2: 0.5rem;
  --nf-space-3: 0.875rem;
  --nf-space-4: 1.25rem;
  --nf-space-5: 1.75rem;
  --nf-space-6: 2.5rem;
  --nf-space-7: 4rem;
  --nf-space-8: 6rem;
  --nf-wrap: 1200px;
  --nf-gutter: clamp(1.5rem, 8vw, 8rem);
  --nf-section: clamp(7rem, 20svh, 14rem);
  --nf-tap: 44px;

  /* ---- radius ---- */
  --nf-r-sm: 8px;
  --nf-r-md: 14px;
  --nf-r-lg: 20px;
  --nf-r-pill: 999px;

  /* ---- motion ---- */
  --nf-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nf-dur-press: 0.14s;
  --nf-dur-fast: 0.2s;
  --nf-dur-entrance: 0.6s;
}
@media (prefers-reduced-motion: reduce) {
  :root, .nf-light { --nf-dur-press: 0.01ms; --nf-dur-fast: 0.01ms; --nf-dur-entrance: 0.01ms; }
}
/* not taken from the kit file: its @font-face for IBM Plex Mono (not shipped on this site; --nf-font-mono falls back to the
   system mono) and its ":lang(ru) { font-family: Manrope }" (this site already serves Manrope for Cyrillic only, SITE-171). */

/* ---------------------------------------------------------------- 1. tokens */
:root, :root[data-theme="light"] {
  color-scheme: light;
  /* the site's legacy names, onto the kit */
  --bg: var(--nf-bg);
  --bg-raised: var(--nf-surface-1);
  --surface: var(--nf-surface-2);
  --surface-bright: var(--nf-surface-2);
  --line: var(--nf-hairline);
  --line-strong: var(--nf-hairline-strong);
  --ink: var(--nf-ink);
  --ink-soft: var(--nf-ink-muted);
  --ink-muted: var(--nf-ink-muted);   /* --nf-ink-faint (5.32:1) only for captions */
  --plum: var(--nf-surface-2);
  --magenta: var(--nf-accent);
  --gold: var(--nf-accent);           /* the role "gold text" becomes the kit's link and signal colour */
  --gold-deep: var(--nf-accent);
  --glow: var(--nf-accent-tint);
  --content: var(--nf-wrap);
  --radius-sm: var(--nf-r-md);
  --radius-md: var(--nf-r-lg);
  --radius-lg: var(--nf-r-lg);
  /* the --pc-* names, onto the kit */
  --pc-bg: var(--nf-bg);
  --pc-panel: var(--nf-surface-1);
  --pc-panel-raised: var(--nf-surface-2);
  --pc-text: var(--nf-ink);
  --pc-text-muted: var(--nf-ink-muted);
  --pc-border: var(--nf-hairline-strong);
  --pc-border-strong: var(--nf-ink-faint);  /* control boundaries: 5.32:1 on --nf-bg */
  --pc-warning: var(--nf-ink-muted);
  --pc-warning-soft: var(--nf-surface-2);
  --pc-positive-soft: var(--nf-surface-2);
  --pc-negative-soft: var(--nf-surface-2);
  --pc-accent: var(--nf-accent);
  --pc-accent-hover: var(--nf-accent);
  --pc-on-accent: var(--nf-core-ink);
  --pc-accent-soft: var(--nf-accent-tint);
  --pc-focus: var(--nf-accent);
  --pc-link: var(--nf-accent);
  --pc-brand-plum: var(--nf-surface-2);
  --pc-brand-magenta: var(--nf-accent);
  --pc-positive: var(--nf-ok);
  --pc-negative: var(--nf-danger);
  --pc-info: var(--nf-accent);
  --pc-info-soft: var(--nf-accent-tint);
  --pc-radius-panel: var(--nf-r-lg);
  --pc-radius-feature: var(--nf-r-lg);
  --pc-radius-control: var(--nf-r-md);
  --pc-shadow-overlay: var(--nf-shadow-card);
  --pc-ease: var(--nf-ease-out);
  /* air: the rhythm of the page */
  --air-gutter: var(--nf-gutter);                       /* the kit's gutter: 100 px at 1440; 20 px on phones (section 12) */
  --air-section: var(--nf-section);                     /* the kit's light rhythm: clamp(7rem, 20svh, 14rem) */
  --air-heading: clamp(var(--nf-space-7), 6vw, var(--nf-space-8));  /* heading block to its content */
  --air-card: clamp(var(--nf-space-5), 3vw, var(--nf-space-7));     /* card padding */
  --air-gap: clamp(var(--nf-space-4), 2vw, var(--nf-space-6));      /* gap between cards */
  --air-h1: clamp(2.25rem, 4.6vw, 4.5rem);
  --air-h1-page: clamp(2.25rem, 4.2vw, 4rem);
  --air-weight-display: var(--nf-weight-display);       /* 350: one step heavier than dark, as the kit says */
  --air-weight-title: var(--nf-weight-display);
  --air-weight-body: var(--nf-weight-body);
  --air-weight-small: var(--nf-weight-body);
  --air-track-display: var(--nf-tracking-display);
  --air-track-title: var(--nf-tracking-title, -0.01em);
  --air-track-eyebrow: var(--nf-tracking-eyebrow);
  --air-measure: 64ch;
  --air-measure-lede: 44ch;
}
/* CJK and Hangul keep their own spacing (styles.css SITE-053, SITE-070) */
:root:lang(zh-Hans), :root:lang(ja), :root:lang(ko) { --air-track-display: normal; --air-track-title: normal; --air-track-eyebrow: normal; }

/* ---------------------------------------------------------------- 2. base */
body { background: var(--nf-bg); color: var(--nf-ink-body); font-size: var(--nf-text-body); line-height: var(--nf-leading-body); font-weight: var(--air-weight-body); }
body::before { content: none; }                        /* the page-wide grid goes; the hero keeps a field of its own */
::selection { background: var(--nf-accent); color: var(--nf-surface-1); }
a:focus-visible, summary:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--nf-accent); outline-offset: 3px; }
:is(h1, h2, h3) { font-weight: var(--air-weight-title); }
strong, b { font-weight: var(--nf-weight-medium); }
main p { max-width: var(--air-measure); }
code { font-family: var(--pc-font-data); }
.skip-link { background: var(--nf-ink); color: var(--nf-bg); border-radius: var(--nf-r-sm); }

/* ---------------------------------------------------------------- 3. family bar (kit family-nav.html, unchanged rules; air only) */
.nf-family { background: var(--nf-bg); border-bottom: 1px solid var(--nf-hairline); }
.nf-family__list, .nf-footer__inner { width: min(calc(100% - 2 * var(--air-gutter)), var(--content)); max-width: none; padding-inline: 0; }  /* one left edge with the header and the page */
nav.nf-family { display: block; }   /* styles.css hides every <nav> under 900 px (line 398): the family bar must stay on phones */

/* ---------------------------------------------------------------- 4. header */
.site-header {
  width: min(calc(100% - 2 * var(--air-gutter)), var(--content));
  min-height: 80px;
  border-bottom: 1px solid var(--nf-hairline);
  background: var(--nf-glass-solid);
  box-shadow: none;
  -webkit-backdrop-filter: blur(var(--nf-glass-blur)); backdrop-filter: blur(var(--nf-glass-blur));
}
.site-header { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 22px; }
.story-site .site-header nav { gap: 0 18px; justify-content: center; flex-wrap: wrap; align-content: center; }   /* long languages take a second row of links inside the 80 px bar, never overlap the brand or the actions */
.site-header nav a, .nav-menu > summary { white-space: nowrap; font-size: 14px; }
.header-actions { gap: 16px; }
.brand { gap: 10px; }
.brand img { width: 36px; height: 36px; }
.site-header.is-scrolled { background: var(--nf-glass-solid); box-shadow: 0 1px 0 var(--nf-hairline); }
.site-header:not(.is-scrolled) { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }   /* glass only once content passes under it */
.story-site.home-page .site-header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; }
.brand { font-weight: var(--nf-weight-medium); letter-spacing: var(--air-track-title); }
.brand-dot { color: var(--nf-ink-muted); }             /* one gold per view: the wordmark does not spend it */
nav a, .header-link, .lang-menu > summary, .nav-menu > summary { color: var(--nf-ink-muted); font-weight: var(--air-weight-small); }
nav a:hover, .header-link:hover, .lang-menu > summary:hover, .lang-menu[open] > summary,
.nav-menu > summary:hover, .nav-menu[open] > summary, .nav-menu > summary:focus-visible { color: var(--nf-ink); }
.site-header nav a::after { background: var(--nf-accent); }
.header-assessment { color: var(--nf-accent); font-weight: var(--nf-weight-medium); }
.header-assessment:hover { color: var(--nf-ink); }
.header-account { color: var(--nf-ink); font-weight: var(--nf-weight-medium); }
.site-header nav a.nav-assessment { color: var(--nf-accent); }
.lang-menu > ul, .nav-menu > ul { background: var(--nf-surface-2); border: 1px solid var(--nf-hairline-strong); border-radius: var(--nf-r-md); box-shadow: var(--nf-shadow-card); }
.lang-menu > ul a, .site-header .nav-menu > ul a { color: var(--nf-ink-muted); }
.lang-menu > ul a:hover, .lang-menu > ul a:focus-visible,
.site-header .nav-menu > ul a:hover, .site-header .nav-menu > ul a:focus-visible { color: var(--nf-ink); background: var(--nf-accent-tint); }

/* ---------------------------------------------------------------- 5. heroes */
/* every hero: lighter, smaller, more space; the inner pages lose the 700 px floor */
.hero { width: min(calc(100% - 2 * var(--air-gutter)), var(--content)); min-height: 0; padding-block: clamp(4rem, 12svh, 8.5rem) clamp(3.5rem, 10svh, 7rem); gap: clamp(2.5rem, 5vw, 5rem); }
.hero h1, .page-hero h1, .fabric-hero h1, .legal h1, .notice-page h1 {
  max-width: 16ch; font-size: var(--air-h1-page); font-weight: var(--air-weight-display);
  line-height: var(--nf-leading-tight); letter-spacing: var(--air-track-display); margin-bottom: var(--nf-space-6);
}
h1 em { color: var(--nf-ink-muted); font-weight: inherit; }     /* words need no emphasis colour (kit voice.md) */
.hero-reframe { max-width: var(--air-measure-lede); color: var(--nf-ink); font-size: var(--nf-text-lede); line-height: 1.5; letter-spacing: 0; font-weight: var(--air-weight-body); }
.hero-body, .page-lead { color: var(--nf-ink-muted); font-size: var(--nf-text-body); font-weight: var(--air-weight-body); }
.hero-caption { color: var(--nf-ink-muted); font-size: var(--nf-text-small); font-weight: var(--air-weight-small); }
.hero-caption > span:last-child:not(:first-child) { color: var(--nf-ink-muted); }
.status-dot { background: var(--nf-accent); box-shadow: none; }
.hero-principles li { border-color: var(--nf-hairline-strong); background: transparent; color: var(--nf-ink-muted); font-size: var(--nf-text-small); }
.split-step { color: var(--nf-accent); }

/* the home stage: no render behind the words until the new visual exists; a calm field with one gold core instead */
.home-hero.hero-stage {
  margin: 0; min-height: min(calc(100svh - 124px), 840px); align-items: center;
  padding: clamp(2.5rem, 9svh, 6rem) max(var(--air-gutter), calc((100% - var(--content)) / 2)) clamp(3rem, 10svh, 6.5rem);
}
.hero-stage .hero-copy { max-width: 880px; }
.hero-stage h1 { max-width: 20ch; font-size: var(--air-h1); font-weight: var(--air-weight-display); line-height: 1.04; letter-spacing: var(--air-track-display); margin: 0 0 var(--nf-space-6); }
.hero-stage .hero-reframe { max-width: 40ch; color: var(--nf-ink); font-size: var(--nf-text-lede); margin: 0 0 var(--nf-space-7); }
.hero-stage .hero-reframe + .hero-doors { margin-top: 0; }
.hero-backdrop { background: var(--nf-bg); }
.hero-backdrop picture, .hero-backdrop img, .hero-backdrop .hero-loop { display: none; }   /* interim: the render returns as the new visual */
.hero-backdrop::before {                                  /* the field: an ice wash, a hairline grid, the datum lines through the core */
  z-index: 0; inset: -4%; opacity: 1;
  background:
    linear-gradient(90deg, transparent calc(var(--air-core-x) - 0.5px), var(--nf-hairline-strong) calc(var(--air-core-x) - 0.5px), var(--nf-hairline-strong) calc(var(--air-core-x) + 0.5px), transparent calc(var(--air-core-x) + 0.5px)),
    linear-gradient(180deg, transparent calc(var(--air-core-y) - 0.5px), var(--nf-hairline-strong) calc(var(--air-core-y) - 0.5px), var(--nf-hairline-strong) calc(var(--air-core-y) + 0.5px), transparent calc(var(--air-core-y) + 0.5px)),
    radial-gradient(ellipse 38% 46% at var(--air-core-x) var(--air-core-y), var(--nf-accent-tint), transparent 72%),
    linear-gradient(var(--nf-hairline) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, var(--nf-hairline) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 52% 62% at var(--air-core-x) var(--air-core-y), var(--nf-ink) 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 52% 62% at var(--air-core-x) var(--air-core-y), var(--nf-ink) 0%, transparent 78%);
}
.hero-backdrop::after {                                   /* the core: Fabric, the CEO agent; the only gold of the first screen */
  z-index: 1; inset: auto; opacity: 1; mix-blend-mode: normal;
  left: var(--air-core-x); top: var(--air-core-y); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--nf-core);
  box-shadow: 0 0 0 14px var(--nf-accent-tint), var(--nf-shadow-cta);
}
.hero-stage { --air-core-x: 80%; --air-core-y: 44%; }
.hero-backdrop.is-moving::before { animation: air-drift 48s var(--nf-ease-out) infinite alternate; }
.hero-backdrop.is-moving::after { animation: air-core 7s ease-in-out infinite alternate; }
.hero-backdrop.is-paused::before, .hero-backdrop.is-paused::after { animation-play-state: paused; }
@keyframes air-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-1.2%, -0.8%, 0); } }
@keyframes air-core { from { box-shadow: 0 0 0 10px var(--nf-accent-tint), var(--nf-shadow-cta); } to { box-shadow: 0 0 0 22px transparent, var(--nf-shadow-cta); } }
.hero-pause { background: var(--nf-glass-solid); border: 1px solid var(--nf-ink-faint); color: var(--nf-ink); }
.hero-pause:hover { border-color: var(--nf-accent); }

/* the two doors: equal, quiet, the wow is their clarity */
.hero-doors { max-width: 880px; gap: var(--nf-space-4); margin: 0 0 var(--nf-space-6); }
.hero-door {
  padding: var(--nf-space-5) var(--nf-space-5); column-gap: var(--nf-space-4); min-height: 112px;
  background: var(--nf-surface-1); border: 1px solid var(--nf-hairline-strong); border-radius: var(--nf-r-lg);
  -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--nf-ink);
  transition: border-color var(--nf-dur-fast) var(--nf-ease-out), background-color var(--nf-dur-fast) var(--nf-ease-out), transform var(--nf-dur-fast) var(--nf-ease-out);
}
.hero-door:hover, .hero-door:focus-visible { border-color: var(--nf-accent); background: var(--nf-surface-2); transform: translateY(-2px); }
.hero-door:focus-visible { outline: 2px solid var(--nf-accent); outline-offset: 3px; }
.hero-door-step { width: 36px; height: 36px; border: 1px solid var(--nf-accent); color: var(--nf-accent); font-size: var(--nf-text-small); }
.hero-door-title { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: var(--nf-weight-medium); letter-spacing: var(--air-track-title); }
.hero-door-note { color: var(--nf-ink-muted); font-size: var(--nf-text-small); font-weight: var(--air-weight-small); line-height: 1.45; }
.hero-door-arrow { color: var(--nf-accent); transition: transform var(--nf-dur-fast) var(--nf-ease-out); }
.hero-door:hover .hero-door-arrow, .hero-door:focus-visible .hero-door-arrow { transform: translateX(3px); }

/* inner-page hero furniture */
.page-toc, .assess-card, .project-brief { background: var(--nf-surface-1); border: 1px solid var(--nf-hairline); border-radius: var(--nf-r-lg); }
.page-toc a:hover { color: var(--nf-ink); background: var(--nf-accent-tint); }
.hero-funnel li { background: var(--nf-surface-1); border-color: var(--nf-hairline); border-radius: var(--nf-r-md); }
.hero-funnel li:nth-child(4) { border-color: var(--nf-hairline-strong); }

/* ---------------------------------------------------------------- 6. sections: one idea each, air between */
.section, .home-page .section {
  width: min(calc(100% - 2 * var(--air-gutter)), var(--content));
  padding-block: var(--air-section); border-top: 0;
}
.section + .section { border-top: 1px solid var(--nf-hairline); }
.home-page .section + .section { border-top: 0; }
.section-heading, .home-page .section-heading { max-width: 760px; margin-bottom: var(--air-heading); }
.section-heading h2, .home-page .section-heading h2, .closing h2, .vision h2, .teaser-copy h2 {
  max-width: 20ch; font-size: var(--nf-text-h2); font-weight: var(--air-weight-title);
  line-height: var(--nf-leading-tight); letter-spacing: var(--air-track-title); margin-bottom: var(--nf-space-5);
}
.section-heading > p:last-child, .home-page .section-heading > p:last-child, .closing > p:not(.section-number), .vision-lead, .teaser-copy p:not(.section-number) {
  max-width: 52ch; color: var(--nf-ink-muted); font-size: var(--nf-text-lede); line-height: 1.55; font-weight: var(--air-weight-body);
}
.section-note, .home-page .section-note { max-width: var(--air-measure); color: var(--nf-ink-muted); font-size: var(--nf-text-small); font-weight: var(--air-weight-small); line-height: 1.7; margin-top: var(--nf-space-6); }
.section-note a, .faq details a, .legal a, .inline-link, .text-link { color: var(--nf-accent); text-underline-offset: 4px; }
/* the CEO agent's section is the one band of the home: a full-bleed surface without a box */
#fabric-process { background: var(--nf-surface-ice); box-shadow: 0 0 0 100vmax var(--nf-surface-ice); clip-path: inset(0 -100vmax); } /* judges: the brief's pale ice band */
.legacy-anchor { height: 0; }

/* labels, numbers, rings */
.availability, .eyebrow, .section-number, .card-kicker, .repo-type, .assess-kicker, .tool-directory-label, .split-step, .board-data-note, .home-page main .availability {
  color: var(--nf-accent-strong); font-size: max(var(--nf-text-eyebrow), 0.875rem); font-weight: var(--nf-weight-medium); letter-spacing: var(--air-track-eyebrow);
}
.cycle-number, .stage-index, .step-index, .hero-funnel span, .setup-steps li > span, .page-toc span { color: var(--nf-accent); }
.dev-label { border-color: var(--nf-accent); color: var(--nf-accent); font-weight: var(--nf-weight-medium); }
.dev-label[data-label="in-design"], .dev-label[data-label="direction"] { border-color: var(--nf-ink-faint); color: var(--nf-ink-muted); }

/* lists of three: open rows, hairlines, no boxes */
.work-cycle li { border-top: 1px solid var(--nf-hairline-strong); padding-top: var(--nf-space-6); }
.work-cycle li + li { border-left: 1px solid var(--nf-hairline); }
.work-cycle h3, .feature-grid h3, .fabric-loop h3, .contribute-steps h3, .setup-steps h3 { font-size: var(--nf-text-h3); font-weight: var(--nf-weight-body); letter-spacing: var(--air-track-title); line-height: 1.25; }
.work-cycle h3 { margin: var(--nf-space-6) 0 var(--nf-space-3); }
.work-cycle .availability + h3 { margin-top: var(--nf-space-3); }
.work-cycle p, .feature-grid p, .fabric-loop p, .contribute-steps p, .setup-steps p { color: var(--nf-ink-muted); font-size: var(--nf-text-body); font-weight: var(--air-weight-body); }
.feature-grid article, .contribute-steps li, .fabric-loop li, .setup-steps li, .teaser-list li, .vision-principles li { border-color: var(--nf-hairline); }

/* ---------------------------------------------------------------- 7. cards */
.path-card, .option-card, .case-card, .tool-choice, .request-card, .download-card, .setup-panel, .today-grid article,
.source-card, .formula-card, .lead-form, .vision-meter, .product-feature, .service-stack, .story-desk, .comparison-card,
.principles article, .repo-card, .project-cell, .agents-map, .mark-specimens figure, .route-preview, .closing {
  background: var(--nf-surface-1); border: 1px solid var(--nf-hairline); border-radius: var(--nf-r-lg); box-shadow: none;
}
.path-card, .option-card, .case-card, .request-card, .download-card, .setup-panel, .source-card, .formula-card, .lead-form { padding: var(--air-card); }
.path-grid, .option-grid, .case-grid, .tool-directory, .download-grid, .source-grid, .today-grid { gap: var(--air-gap); }
.path-card:hover, .tool-choice:hover, .source-card:hover, .comparison-card:hover, .repo-card:hover, .project-cell:hover { border-color: var(--nf-hairline-strong); background: var(--nf-surface-1); }
.path-card h3, .option-card h3, .case-card h3, .request-card h3, .download-card h3, .source-card h3, .repo-card h3, .product-title h3 {
  font-size: var(--nf-text-h3); font-weight: var(--nf-weight-body); letter-spacing: var(--air-track-title);
}
.path-card p:not(.availability), .option-card p, .case-card li, .request-card > p, .download-card > p, .source-card p, .setup-panel p { color: var(--nf-ink-muted); }
.path-card-commercial, .bright-card, .featured-repo, .agent-request, .onboarding-promise { background: var(--nf-surface-2); border-color: var(--nf-hairline-strong); }
.muted-card, .stages li:last-child { background: var(--nf-surface-1); }
.case-card li::before, .comparison-card li::before { color: var(--nf-accent); }
.shift-list li::before { background: var(--nf-accent); }
.tool-choice strong { font-weight: var(--nf-weight-medium); }
.tool-choice small, .tool-arrow { color: var(--nf-accent); }
.split-list li { border-top-color: var(--nf-hairline); }
.split-list strong { color: var(--nf-ink); }
.assess-facts dt { color: var(--nf-ink); font-weight: var(--air-weight-display); }
.assess-facts > div, .assess-source { border-top-color: var(--nf-hairline); }
.product-screenshot img, .app-preview img, .product-shot { border: 1px solid var(--nf-hairline-strong); border-radius: var(--nf-r-md); }
.brain-box, .hero-brain .brain-box, .memory-hero .brain-box { background: var(--nf-surface-1); box-shadow: 0 0 0 1px var(--nf-hairline-strong), var(--nf-shadow-card); }  /* no violet glow */
pre, .setup-panel pre, .agent-setup pre, .onboarding-steps pre, .guide-steps pre, .setup-section pre, .pipeline-note pre, .path-card pre.copyable, .agent-prompt {
  background: var(--nf-bg); border: 1px solid var(--nf-hairline-strong); border-radius: var(--nf-r-md);
}
.copy-button { background: var(--nf-surface-2); border-color: var(--nf-ink-faint); color: var(--nf-ink); }
.copy-button:hover { color: var(--nf-ink); border-color: var(--nf-accent); }
.step-prompt { background: var(--nf-surface-1); border-color: var(--nf-hairline-strong); }
.beta-note { background: var(--nf-surface-2); border-left-color: var(--nf-accent); color: var(--nf-ink-muted); }
.formula span, .route-destination { background: var(--nf-surface-2); border-color: var(--nf-hairline-strong); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form input[type="number"], .lead-form select, .lead-form textarea {
  background: var(--nf-bg); border-color: var(--nf-ink-faint); border-radius: var(--nf-r-md); color: var(--nf-ink);
}
.lead-form input:focus-visible, .lead-form select:focus-visible, .lead-form textarea:focus-visible { outline-color: var(--nf-accent); border-color: var(--nf-accent); }

/* the demo board: still numbers, more space */
.demo-board { border-top-color: var(--nf-hairline); padding-top: var(--nf-space-7); margin-top: var(--nf-space-8); }
.board-counters { border-color: var(--nf-hairline); border-radius: var(--nf-r-lg); }
.board-counters > div { border-left-color: var(--nf-hairline); padding: var(--nf-space-5) var(--nf-space-5); }
.board-counters dd { font-weight: var(--air-weight-display); letter-spacing: var(--air-track-display); }
.board-cards li { background: var(--nf-surface-2); border-color: var(--nf-hairline); border-radius: var(--nf-r-md); padding: var(--nf-space-5); }
.board-cards li[data-state="waiting"] { border-color: var(--nf-accent); }
.board-card-state { color: var(--nf-accent); font-weight: var(--nf-weight-medium); }
.board-card-text { font-weight: var(--air-weight-body); }
.board-source a { color: var(--nf-accent); }

/* tables */
.legal th, .legal td, .share-table th, .share-table td, .fabric-agent-table th, .fabric-agent-table td, .offer-matrix th, .offer-matrix td, .agent-table th, .agent-table td { border-color: var(--nf-hairline); }

/* ---------------------------------------------------------------- 8. buttons: one gold fill, everything else is ink and ice */
.button { min-height: 48px; padding: 0 var(--nf-space-5); border-radius: var(--nf-r-pill); font-size: 15px; font-weight: var(--nf-weight-medium); letter-spacing: 0; }
.button-primary, .legal .button-primary, .article-page .button-primary { background: var(--nf-core); border: 1px solid var(--nf-core-ink); color: var(--nf-core-ink); } /* judges: an explicit ink edge, the gold alone is 1.4:1 on paper */
.button-primary:hover { background: var(--nf-core); box-shadow: var(--nf-shadow-cta); }
.button-secondary { background: transparent; border-color: var(--nf-ink-faint); color: var(--nf-ink); }
.button-secondary:hover { background: var(--nf-accent-tint); border-color: var(--nf-accent); }
/* two primaries side by side (the split) would be two golds in one view: they become equal doors */
.split-grid .button-primary { background: transparent; border-color: var(--nf-ink-faint); color: var(--nf-ink); }
.split-grid .button-primary:hover { background: var(--nf-accent-tint); border-color: var(--nf-accent); box-shadow: none; }
.text-button { border-color: var(--nf-ink-faint); color: var(--nf-accent); }
.swatch-gold { background: var(--nf-core); color: var(--nf-core-ink); }

/* ---------------------------------------------------------------- 9. FAQ */
.faq details { border-top: 1px solid var(--nf-hairline); padding-block: var(--nf-space-5); }
.faq details:last-child { border-bottom: 1px solid var(--nf-hairline); }
.faq summary { font-size: clamp(1.125rem, 1.6vw, 1.35rem); font-weight: var(--nf-weight-body); letter-spacing: var(--air-track-title); min-height: var(--nf-tap); display: list-item; }
.faq summary::marker { color: var(--nf-accent); }
.faq details p { max-width: var(--air-measure); color: var(--nf-ink-muted); font-size: var(--nf-text-body); font-weight: var(--air-weight-body); }

/* ---------------------------------------------------------------- 10. footers */
footer:not(.nf-footer) { width: min(calc(100% - 2 * var(--air-gutter)), var(--content)); color: var(--nf-ink-muted); }
.story-footer { padding-block: var(--nf-space-8) var(--nf-space-7); border-top: 1px solid var(--nf-hairline); margin-top: 0; }
.story-footer p { color: var(--nf-ink-muted); font-size: var(--nf-text-small); }
footer.story-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }   /* footer.class beats footer:not(.nf-footer) */
.story-footer nav { max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); justify-content: stretch; gap: 0 var(--nf-space-5); }
.story-footer nav a { overflow-wrap: anywhere; }
.story-footer nav a { justify-content: flex-start; min-height: var(--nf-tap); }
.story-footer nav a { color: var(--nf-ink-muted); font-size: var(--nf-text-small); font-weight: var(--air-weight-small); }
@media (max-width: 900px) { footer.story-footer { grid-template-columns: 1fr; } .story-footer nav { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); } }
.story-footer nav a:hover { color: var(--nf-ink); }
.footer-brand { color: var(--nf-ink); font-weight: var(--nf-weight-medium); }
.by-noosmos { color: var(--nf-ink-muted); }
.nf-footer { padding: var(--nf-space-8) 0 var(--nf-space-6); }
.nf-footer__cols { gap: var(--nf-space-7); }

/* ---------------------------------------------------------------- 11. motion: calm, and nothing under reduced motion */
.path-card, .tool-choice, .source-card, .button { transition: border-color var(--nf-dur-fast) var(--nf-ease-out), background-color var(--nf-dur-fast) var(--nf-ease-out), box-shadow var(--nf-dur-fast) var(--nf-ease-out), transform var(--nf-dur-fast) var(--nf-ease-out); }
.path-card:hover, .button:hover { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js-motion .reveal { transform: translateY(12px); transition-duration: var(--nf-dur-entrance); transition-timing-function: var(--nf-ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-backdrop::before, .hero-backdrop::after { animation: none !important; }
  .hero-door:hover, .hero-door:focus-visible, .hero-door:hover .hero-door-arrow, .hero-door:focus-visible .hero-door-arrow { transform: none; }
}

/* ---------------------------------------------------------------- 12. widths */
@media (max-width: 1280px) and (min-width: 621px) {
  /* under 1280 px the links take their own row (styles.css does this only under 1100 px; long languages overlapped) */
  .story-site .site-header { grid-template-columns: 1fr auto; padding-block: var(--nf-space-4) var(--nf-space-2); row-gap: 8px; }
  .story-site .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 0 24px; }
  .story-site .site-header .header-actions { grid-column: 2; grid-row: 1; }
  .story-site [id] { scroll-margin-top: 142px; }
}
@media (max-width: 900px) {
  .hero-stage { --air-core-x: 84%; --air-core-y: 18%; }
}
@media (max-width: 760px) {
  .hero-doors { gap: 0.75rem; }
  .hero-door { min-height: 0; padding: 1rem; column-gap: 0.75rem; grid-template-areas: "step title arrow" "note note note"; }   /* the note takes the full width */
  .hero-door-step { width: 32px; height: 32px; }
}
@media (max-width: 700px) {
  /* phone: the stage starts under the header, the field sits top right, both doors above the fold at 390 x 844 */
  /* fixed values here, not kit spaces: the light kit's spaces are larger, and both doors must clear 844 px in every language */
  .home-hero.hero-stage { align-items: flex-start; min-height: 0; padding: 1.5rem var(--air-gutter) 3rem; }
  .hero-stage { --air-core-x: 86%; --air-core-y: 9%; }
  .hero-backdrop::before { background:
    radial-gradient(ellipse 60% 30% at var(--air-core-x) var(--air-core-y), var(--nf-accent-tint), transparent 72%),
    linear-gradient(var(--nf-hairline) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--nf-hairline) 1px, transparent 1px) 0 0 / 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 34% at var(--air-core-x) var(--air-core-y), var(--nf-ink) 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 34% at var(--air-core-x) var(--air-core-y), var(--nf-ink) 0%, transparent 80%); }
  .hero-stage h1 { font-size: clamp(1.9rem, 8.2vw, 2.5rem); margin-bottom: 1rem; }
  .hero-stage .hero-reframe { font-size: 1rem; line-height: 1.5; margin-bottom: 1.25rem; }
  .hero-door-title { font-size: 1.0625rem; }
  .hero-door-note { line-height: 1.35; }
  .hero-pause { top: auto; bottom: var(--nf-space-5); right: var(--air-gutter); }
  .hero-stage .hero-caption { padding-right: 56px; }   /* room for the pause control, which now sits bottom right */
}
@media (max-width: 620px) {
  :root { --air-gutter: 1.25rem; }   /* phones: air comes from the vertical rhythm, the edges stay at 20 px like the rest of the site */
  .site-header, .hero, .section, .closing, footer:not(.nf-footer) { width: calc(100% - 2 * var(--air-gutter)); }
  .story-site .site-header { min-height: 0; padding-block: var(--nf-space-3) var(--nf-space-2); }
  .story-site .site-header nav { align-content: flex-start; row-gap: 0; column-gap: 0.75rem; justify-content: flex-start; }
  .story-site .site-header nav a, .story-site .site-header .nav-menu > summary { font-size: 13px; min-height: 36px; }   /* two rows of links in most languages */
  .hero { padding-block: var(--nf-space-7) var(--nf-space-7); }
  .hero:not(.hero-stage) h1 { font-size: clamp(2.1rem, 9vw, 2.75rem); }
  .section, .home-page .section { padding-block: clamp(4.5rem, 14svh, 6.5rem); }
  .section-heading h2, .home-page .section-heading h2 { font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
  .section-heading > p:last-child, .home-page .section-heading > p:last-child { font-size: var(--nf-text-body); }
  .work-cycle li, .work-cycle li + li, .home-page .work-cycle li:nth-child(n) { padding: var(--nf-space-5) 0; border-left: 0; }
  .path-card, .option-card, .case-card, .request-card, .download-card, .setup-panel, .source-card, .lead-form { padding: var(--nf-space-5); }
  .faq summary { font-size: 1.0625rem; }
}

/* ---------------------------------------------------------------- 13. light only: what the dark structure above needs on paper */
:is(h1, h2, h3, h4), .brand, .footer-brand, .header-account, .tool-choice strong, .split-list strong, .board-card-text, .assess-facts dt { color: var(--nf-ink); }
.hero-reframe, .hero-stage .hero-reframe { color: var(--nf-ink-body); }
.hero-caption, .section-note, .home-page .section-note, .board-recorded, .board-card-day, .assess-source, .preview-caption, .product-screenshot figcaption { color: var(--nf-ink-faint); }
/* small accent text: the darker ice (7.4:1) */
.availability, .eyebrow, .section-number, .card-kicker, .repo-type, .assess-kicker, .tool-directory-label, .split-step, .board-data-note, .home-page main .availability,
.cycle-number, .stage-index, .step-index, .hero-funnel span, .setup-steps li > span, .page-toc span, .dev-label, .board-card-state, .tool-choice small { color: var(--nf-accent-strong); }
.dev-label { border-color: var(--nf-accent-strong); }
.dev-label[data-label="in-design"], .dev-label[data-label="direction"] { border-color: var(--nf-ink-faint); color: var(--nf-ink-muted); }

/* family bar and footer: the kit's light rules (brand-kit/family-nav-light.html) */
.nf-family { background: var(--nf-surface-1); letter-spacing: 0.02em; }
.nf-footer { background: var(--nf-surface-2); }
.nf-footer__links a { color: var(--nf-ink-body); }
.nf-footer__links a:hover { color: var(--nf-accent); }
.nf-footer__legal { border-top-color: var(--nf-hairline-strong); }

/* header on paper */
.site-header.is-scrolled { background: var(--nf-glass-solid); }
.lang-menu > ul, .nav-menu > ul { background: var(--nf-surface-1); box-shadow: var(--nf-shadow-raised); }

/* the hero field on paper: ice lines (decorative only), a pale ice wash, the gold core ringed by the logo gold */
.hero-backdrop::before {
  background:
    linear-gradient(90deg, transparent calc(var(--air-core-x) - 0.5px), var(--nf-accent-line) calc(var(--air-core-x) - 0.5px), var(--nf-accent-line) calc(var(--air-core-x) + 0.5px), transparent calc(var(--air-core-x) + 0.5px)),
    linear-gradient(180deg, transparent calc(var(--air-core-y) - 0.5px), var(--nf-accent-line) calc(var(--air-core-y) - 0.5px), var(--nf-accent-line) calc(var(--air-core-y) + 0.5px), transparent calc(var(--air-core-y) + 0.5px)),
    radial-gradient(ellipse 38% 46% at var(--air-core-x) var(--air-core-y), var(--nf-surface-ice), transparent 72%),
    linear-gradient(var(--nf-hairline) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, var(--nf-hairline) 1px, transparent 1px) 0 0 / 72px 72px;
}
.hero-backdrop::after { box-shadow: 0 0 0 1px var(--nf-core-mark), 0 0 0 14px var(--nf-accent-tint), var(--nf-shadow-cta); }
@keyframes air-core { from { box-shadow: 0 0 0 1px var(--nf-core-mark), 0 0 0 10px var(--nf-accent-tint), var(--nf-shadow-cta); } to { box-shadow: 0 0 0 1px var(--nf-core-mark), 0 0 0 22px transparent, var(--nf-shadow-cta); } }
@media (max-width: 700px) {
  .hero-backdrop::before { background:
    radial-gradient(ellipse 60% 30% at var(--air-core-x) var(--air-core-y), var(--nf-surface-ice), transparent 72%),
    linear-gradient(var(--nf-hairline) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--nf-hairline) 1px, transparent 1px) 0 0 / 48px 48px; }
}

/* doors and cards: white on warm paper, soft and low shadows */
.hero-door { background: var(--nf-surface-1); box-shadow: var(--nf-shadow-card); }
.hero-door:hover, .hero-door:focus-visible { background: var(--nf-surface-1); box-shadow: var(--nf-shadow-raised); }
.path-card, .option-card, .case-card, .tool-choice, .request-card, .download-card, .setup-panel, .today-grid article,
.source-card, .formula-card, .lead-form, .vision-meter, .product-feature, .service-stack, .story-desk, .comparison-card,
.principles article, .repo-card, .project-cell, .agents-map, .mark-specimens figure, .route-preview, .closing,
.page-toc, .assess-card, .project-brief, .board-counters { background: var(--nf-surface-1); box-shadow: var(--nf-shadow-card); }
.path-card:hover, .tool-choice:hover, .source-card:hover, .repo-card:hover { background: var(--nf-surface-1); box-shadow: var(--nf-shadow-raised); }
.path-card-commercial, .bright-card, .featured-repo, .agent-request, .onboarding-promise { background: var(--nf-surface-ice); border-color: var(--nf-hairline); }
.board-cards li { background: var(--nf-surface-1); box-shadow: var(--nf-shadow-card); }
/* the CEO agent's band: pale ice; the questions: sand */
#fabric-process { background: var(--nf-surface-ice); box-shadow: 0 0 0 100vmax var(--nf-surface-ice); }
#fabric-process .demo-board { border-top-color: var(--nf-hairline-strong); }
pre, .setup-panel pre, .agent-setup pre, .onboarding-steps pre, .guide-steps pre, .setup-section pre, .pipeline-note pre, .path-card pre.copyable, .agent-prompt { background: var(--nf-surface-2); color: var(--nf-ink); }
.copy-button { background: var(--nf-surface-1); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form input[type="number"], .lead-form select, .lead-form textarea { background: var(--nf-surface-1); }
.formula span, .route-destination, .step-prompt { background: var(--nf-surface-2); }

/* the one gold fill: ink on gold 13.4:1; the gold edge alone is 1.39:1 on paper, so the control keeps an ink outline (18.6:1) */
.button-primary, .legal .button-primary, .article-page .button-primary { border-color: var(--nf-ink); }
.button-primary:hover { box-shadow: var(--nf-shadow-cta); }
.split-grid .button-primary { border-color: var(--nf-ink-faint); }

/* the Noosmos mark is the dark-ground file (starlight rings); on paper it sits on an ink chip until mark-light.svg is shipped */
.by-noosmos img { box-sizing: content-box; padding: 3px 5px; border-radius: var(--nf-r-sm); background: var(--nf-ink); }
.hero-pause { color: var(--nf-ink); }
.perch-rabbit { filter: drop-shadow(0 4px 8px var(--nf-hairline-strong)); }

/* ---------------------------------------------------------------- 13. after the judges (verdicts.json): the hero's words and the motion opt-out */
.hero-kicker { margin: 0 0 var(--nf-space-4); color: var(--nf-accent-strong); font-size: var(--nf-text-small); font-weight: var(--nf-weight-medium); letter-spacing: 0; max-width: 46ch; }
.status-pill { display: inline-flex; align-items: center; min-height: 26px; margin-inline-end: .6em; padding: 0 .7em; border: 1px solid var(--nf-accent-strong); border-radius: var(--nf-r-pill); color: var(--nf-accent-strong); font-size: .72em; font-weight: var(--nf-weight-medium); letter-spacing: .08em; text-transform: uppercase; vertical-align: .2em; }
.hero-stage h1 em { font-style: normal; color: var(--nf-ink-muted); }
@media (max-width: 700px) { .hero-kicker { padding-inline-end: 3.5rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero-backdrop.is-moving::before, .hero-backdrop.is-moving::after, .hero-backdrop::before, .hero-backdrop::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- 14. the first screen in the long languages (de, fr, es, pt-br): both doors above the fold */
/* judges (Kimi, GPT): one menu row on phones; the row scrolls sideways (the menu, the doors and the footer keep every link) */
@media (max-width: 620px) {
  .story-site .site-header nav { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .story-site .site-header nav::-webkit-scrollbar { display: none; }
  .story-site .site-header nav a, .story-site .site-header .nav-menu > summary { flex: none; white-space: nowrap; }
  .home-hero.hero-stage { padding-top: 1rem; }
  .hero-kicker { margin-bottom: .5rem; font-size: .8125rem; }
}
@media (min-width: 701px) {
  .home-hero.hero-stage { padding-top: clamp(1.5rem, 7svh, 4rem); }
  .hero-stage h1 { margin-bottom: var(--nf-space-5); }
}
