/* NEXTX design system core (nextx-ui: tokens, base, foundations, brand) - copied by nextx-ui/build/site/build-site-assets.mjs.
   Do not edit here: change nextx-ui and re-run the script. Site-only styles live in site.css. */

/* NEXTX tokens — 街头机能 STREET GEAR (2026-10-21). Every component reads these; designs should too.
   Paper and ink are the skeleton. Acid green marks the one thing that is selected or happening now;
   signal orange marks what needs someone to act. Structure is a 1.5px ink line, dividers are faint
   lines, and only the selected thing casts a hard shadow. A streetwear label's energy, laid out like
   flight-gear labels: codes, specs and numbers in their own faces.
   Ink sections (the site's hero and manifesto, the console sidebar, toasts) wrap content in .nx-ink,
   which re-points the same tokens to light-on-ink - components inside need no dark variants. */
:root {
  /* Palette - the raw colors. Prefer the role tokens below in layouts. */
  --nx-paper: #F2EEE5;            /* warm paper: the page */
  --nx-card: #FBF9F4;             /* card white: raised panels, inputs, sheets */
  --nx-stone: #E5E0D5;            /* stone: sunken bands, ticket headers, done states */
  --nx-ink: #121212;              /* ink: text, structure lines, primary buttons, ink sections */
  --nx-ink-2: #1E1E1C;            /* a raised panel on ink */
  --nx-ink-3: #2B2B28;            /* hover and pressed on ink */
  --nx-acid: #C6FF1A;             /* acid green: the brand mark - selected, live, the primary action's label */
  --nx-signal: #FF5A00;           /* signal orange: needs action - unpaid, to assign, executing, maintenance */

  /* Surfaces */
  --nx-bg: var(--nx-paper);       /* page background */
  --nx-bg-alt: #EBE6DB;           /* alternate band between page sections */
  --nx-surface: var(--nx-card);   /* raised panel: card, sheet, modal, input fill, table */
  --nx-surface-2: var(--nx-stone); /* sunken: board header, ticket header, done phase, neutral tag */
  --nx-surface-3: #DAD4C7;        /* pressed, hover on stone */
  --nx-scrim: rgba(18, 18, 18, 0.46); /* behind sheets and modals */

  /* Lines - structure is a 1.5px ink line; everything else divides with faint lines */
  --nx-line: rgba(18, 18, 18, 0.12);       /* default divider: table rows, column rules */
  --nx-line-mid: rgba(18, 18, 18, 0.22);   /* resting border of options, fields, chips, unselected tickets */
  --nx-line-strong: var(--nx-ink);         /* structure: selected card, focused field, line button (at --nx-bw) */

  /* Text */
  --nx-text: #121212;             /* titles and body */
  --nx-text-dim: #5E5A52;         /* secondary text, descriptions, inactive tabs */
  --nx-text-faint: #8E897F;       /* meta, placeholders, index numbers, disabled */

  /* Accent - acid green. On paper it is only ever a fill under ink text; on ink it may also be the text color. */
  --nx-accent: var(--nx-acid);
  --nx-accent-soft: rgba(198, 255, 26, 0.42);   /* highlighter stroke under heading words, lead KPI */
  --nx-on-accent: var(--nx-ink);                /* text and icons on an acid fill - always ink */
  --nx-accent-text: var(--nx-ink);              /* "accent" text color: ink on paper, acid inside .nx-ink */

  /* Status - functional only, each with a soft fill and a readable text tone. Always paired with a word. */
  --nx-warning: var(--nx-signal); /* needs action */
  --nx-warning-soft: #FFE7DA;
  --nx-warning-text: #B83F00;
  --nx-success: #12A150;          /* done, online, connected */
  --nx-success-soft: #DDF2E4;
  --nx-success-text: #0B6E37;
  --nx-danger: #E5322D;           /* failed, offline, destructive actions */
  --nx-danger-soft: #FBE0DF;
  --nx-danger-text: #A8201C;
  --nx-neutral-soft: var(--nx-stone); /* cancelled, refunded, closed */

  /* Shadow - a hard offset marks the one thing in focus; sheets and toasts get one soft shadow */
  --nx-shadow-hard: 3px 3px 0 var(--nx-ink);       /* selected ticket / option / slot, lead KPI, the valid voucher (dialogs and the next flight phase use 4px) */
  --nx-shadow-hard-sm: 2px 2px 0 var(--nx-ink);    /* small selected things: date cell, slot cell */
  --nx-shadow-overlay: 0 18px 48px rgba(18, 18, 18, 0.2); /* only floating layers: sheet, toast (a dialog takes the hard 4px offset) */

  /* Scope-flipping roles - they invert inside .nx-ink, so the nearest section decides */
  --nx-fill-strong: var(--nx-ink);        /* the strong fill: primary button, chosen segment, active icon button, switch on */
  --nx-fill-strong-hover: #000000;
  --nx-on-fill-strong: var(--nx-acid);    /* label on the strong fill */
  --nx-mark: var(--nx-acid);              /* highlighter stroke under a stressed phrase (transparent on ink) */
  --nx-mark-text: var(--nx-text);         /* the stressed phrase itself (acid on ink) */
  --nx-ring-ink: var(--nx-ink);           /* the thin ring that lets an acid dot read on paper (none on ink) */
  --nx-live-bg: var(--nx-ink);            /* fill of a live tag (体验中) */
  --nx-pop: var(--nx-ink);                /* hard shadow under acid-filled things (paper on ink) */
  --nx-line-btn-bg: var(--nx-card);       /* fill of a line button (transparent on ink) */

  /* Type - Noto Sans SC for Chinese and body; Archivo for numbers, prices and English (condensed for big
     figures and headlines); JetBrains Mono for codes, specs and labels */
  --nx-font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --nx-font-display: "Archivo", "Noto Sans SC", "PingFang SC", sans-serif;
  --nx-font-mono: "JetBrains Mono", "Noto Sans SC", ui-monospace, monospace;
  --nx-stretch-condensed: 68%; /* @kind other */
  --nx-stretch-wide: 118%; /* @kind other */
  --nx-size-hero: 76px;           /* marketing hero title (desktop) */
  --nx-size-display: 52px;        /* section display heading (desktop) */
  --nx-size-h1: 32px;             /* page title; display heading on a phone */
  --nx-size-h2: 24px;             /* block title */
  --nx-size-h3: 18px;             /* card and row title */
  --nx-size-body: 15px;
  --nx-size-small: 13px;
  --nx-size-micro: 11px;          /* mono labels, table headers, index numbers */
  --nx-weight-black: 900;         /* display headings, prices, buttons */
  --nx-weight-bold: 700;          /* titles, tags */
  --nx-weight-medium: 500;
  --nx-weight-regular: 400;
  --nx-leading: 1.65;
  --nx-leading-tight: 1.12;
  --nx-tracking-display: -0.03em; /* big Chinese headings sit tight */
  --nx-tracking-code: 0.06em;     /* mono codes: order numbers, ticket codes, rig ids */
  --nx-tracking-eyebrow: 0.14em;  /* mono uppercase labels above sections and in tables */

  /* Space */
  --nx-space-1: 4px;
  --nx-space-2: 8px;
  --nx-space-3: 12px;
  --nx-space-4: 16px;
  --nx-space-5: 20px;
  --nx-space-6: 24px;
  --nx-space-7: 32px;
  --nx-space-8: 40px;
  --nx-space-9: 56px;
  --nx-space-10: 80px;
  --nx-gutter-phone: 20px;        /* page sides on a phone */
  --nx-gutter-pad: 28px;          /* page sides on the staff and device pads */
  --nx-gutter-desktop: 40px;      /* console content, site wrap */

  /* Shape - soft but not bubbly: 12px cards, pill buttons and tags */
  --nx-radius-sm: 6px;            /* small chips, QR frame */
  --nx-radius: 12px;              /* cards, panels, tickets, options, tables */
  --nx-radius-control: 10px;      /* fields, select faces, date cells, slot cells */
  --nx-radius-lg: 20px;           /* sheets, modals, device frames */
  --nx-radius-pill: 999px;        /* buttons, tags, chips, switches, segmented controls */
  --nx-bw: 1.5px;                 /* the structure line width */
  --nx-control-sm: 32px;          /* console buttons and fields */
  --nx-control-md: 44px;
  --nx-control-lg: 52px;          /* phone primary actions */
  --nx-control-xl: 64px;          /* pad primary actions, touch with gloves on */

  /* Motion - quick and springy, settles fast */
  --nx-ease: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --nx-ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1); /* @kind other */
  --nx-dur-fast: 150ms; /* @kind other */
  --nx-dur-base: 280ms; /* @kind other */
  --nx-dur-slow: 700ms; /* @kind other */
  --nx-dur-pulse: 1.6s; /* @kind other */
}

/* Ink sections: the same roles, re-pointed light-on-ink. Put .nx-ink (or Stage tone="ink") on a hero,
   a manifesto band, a sidebar; every component inside follows. */
.nx-ink {
  --nx-bg: var(--nx-ink);
  --nx-bg-alt: var(--nx-ink-2);
  --nx-surface: var(--nx-ink-2);
  --nx-surface-2: var(--nx-ink-3);
  --nx-surface-3: #383834;
  --nx-line: rgba(242, 238, 229, 0.12);
  --nx-line-mid: rgba(242, 238, 229, 0.24);
  --nx-line-strong: var(--nx-paper);
  --nx-text: var(--nx-paper);
  --nx-text-dim: rgba(242, 238, 229, 0.64);
  --nx-text-faint: rgba(242, 238, 229, 0.4);
  --nx-accent-text: var(--nx-acid);
  --nx-neutral-soft: var(--nx-ink-3);
  --nx-shadow-hard: 3px 3px 0 var(--nx-acid);
  --nx-shadow-hard-sm: 2px 2px 0 var(--nx-acid);
  --nx-fill-strong: var(--nx-acid);
  --nx-fill-strong-hover: #D4FF4F;
  --nx-on-fill-strong: var(--nx-ink);
  --nx-mark: transparent;
  --nx-mark-text: var(--nx-acid);
  --nx-ring-ink: transparent;
  --nx-live-bg: var(--nx-ink-3);
  --nx-pop: var(--nx-paper);
  --nx-line-btn-bg: transparent;
  background-color: var(--nx-bg);
  color: var(--nx-text);
}

/* Back to paper inside an ink section (a light card on the hero, a strip on a poster). Stage tone="base" carries it. */
.nx-paper {
  --nx-bg: var(--nx-paper);
  --nx-bg-alt: #EBE6DB;
  --nx-surface: var(--nx-card);
  --nx-surface-2: var(--nx-stone);
  --nx-surface-3: #DAD4C7;
  --nx-line: rgba(18, 18, 18, 0.12);
  --nx-line-mid: rgba(18, 18, 18, 0.22);
  --nx-line-strong: var(--nx-ink);
  --nx-text: #121212;
  --nx-text-dim: #5E5A52;
  --nx-text-faint: #8E897F;
  --nx-accent-text: var(--nx-ink);
  --nx-neutral-soft: var(--nx-stone);
  --nx-shadow-hard: 3px 3px 0 var(--nx-ink);
  --nx-shadow-hard-sm: 2px 2px 0 var(--nx-ink);
  --nx-fill-strong: var(--nx-ink);
  --nx-fill-strong-hover: #000000;
  --nx-on-fill-strong: var(--nx-acid);
  --nx-mark: var(--nx-acid);
  --nx-mark-text: var(--nx-text);
  --nx-ring-ink: var(--nx-ink);
  --nx-live-bg: var(--nx-ink);
  --nx-pop: var(--nx-ink);
  --nx-line-btn-bg: var(--nx-card);
  background-color: var(--nx-bg);
  color: var(--nx-text);
}

/* Stage - the root surface - and the shared bits every component leans on. */

.nx-stage {
  position: relative;
  isolation: isolate;
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: var(--nx-font-sans);
  font-size: var(--nx-size-body);
  font-weight: var(--nx-weight-regular);
  line-height: var(--nx-leading);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.nx-stage *,
.nx-stage *::before,
.nx-stage *::after { box-sizing: border-box; }
:where(.nx-stage) :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd) { margin: 0; }
:where(.nx-stage) :where(ul, ol) { padding: 0; list-style: none; }
.nx-stage ::selection { background: var(--nx-acid); color: var(--nx-ink); }

.nx-stage--alt { background: var(--nx-bg-alt); }
.nx-stage--surface { background: var(--nx-surface); }
.nx-stage--padded { padding: 28px 32px; }

/* Device frames: fixed width, at least one screen tall, rounded like the device and outlined in ink
   so a screen stays visible on a Stage of the same color. */
.nx-stage--phone,
.nx-stage--pad,
.nx-stage--desktop {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 0 var(--nx-bw) var(--nx-ink);
}
.nx-stage--phone { width: 390px; min-height: 844px; border-radius: 40px; }
.nx-stage--pad { width: 820px; min-height: 1180px; border-radius: 32px; }
.nx-stage--desktop { width: 1440px; min-height: 900px; border-radius: 16px; }

/* Brand textures - posters, heroes, merch. Never inside product UI. They sit under the content
   (z-index -1 inside the element's own stacking context). */
.nx-grain { position: relative; isolation: isolate; }
.nx-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.nx-ink.nx-grain::after { mix-blend-mode: screen; opacity: 0.12; filter: invert(1); }
.nx-halftone {
  background-image: radial-gradient(circle, currentColor 1.4px, transparent 1.6px);
  background-size: 9px 9px;
}
.nx-stage--halftone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.18;
  background-image: radial-gradient(circle, var(--nx-text) 1.4px, transparent 1.6px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(165deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(165deg, transparent 38%, #000 100%);
}

/* Numbers and prices: Archivo with tabular figures. Codes and specs: JetBrains Mono. Use on your own glue too. */
.nx-num {
  font-family: var(--nx-font-display);
  font-variant-numeric: tabular-nums;
}
.nx-num--cond { font-stretch: var(--nx-stretch-condensed); font-weight: var(--nx-weight-black); }
.nx-code {
  font-family: var(--nx-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--nx-tracking-code);
  text-transform: uppercase;
}

/* The highlighter: an acid stroke under the lower half of a phrase. The one emphasized phrase in a
   heading on paper; inside .nx-ink the phrase turns acid instead. */
.nx-mark {
  font-style: normal;
  background: linear-gradient(transparent 56%, var(--nx-mark) 56%, var(--nx-mark) 94%, transparent 94%);
  color: var(--nx-mark-text);
  padding: 0 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The pulse: a ring in the dot's own color grows and fades around it (acid when live, orange while connecting). */
.nx-pulse { position: relative; }
.nx-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: nx-ping var(--nx-dur-pulse) var(--nx-ease) infinite;
  pointer-events: none;
}
@keyframes nx-ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
@keyframes nx-spin { to { transform: rotate(360deg); } }
@keyframes nx-fade-in { from { opacity: 0; } to { opacity: 1; } }

.nx-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.nx-icon__dot { fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: reduce) {
  .nx-stage *, .nx-stage *::before, .nx-stage *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Foundations: wordmark, eyebrow, heading, hairline, button, icon button, tag, status dot, figure. */

/* ---------- Wordmark ---------- */
.nx-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; color: inherit; }
.nx-wordmark--dim { color: var(--nx-text-faint); }
.nx-wordmark--accent { color: var(--nx-acid); }
.nx-wordmark__svg { display: block; flex-shrink: 0; fill: currentColor; }
.nx-wordmark__lock { display: inline-flex; align-items: center; }
.nx-wordmark--stacked .nx-wordmark__lock { flex-direction: column; }
.nx-wordmark__row { display: inline-flex; align-items: center; gap: calc(var(--nx-wm-h, 20px) * 0.45); }
.nx-wordmark__product {
  display: block;
  padding: 0.13em 0.2em 0.07em;
  border-radius: 0.14em;
  background: var(--nx-acid);
  color: var(--nx-ink);
  font-family: var(--nx-font-display);
  font-stretch: var(--nx-stretch-condensed);
  font-weight: var(--nx-weight-black);
  font-size: calc(var(--nx-wm-h, 20px) * 1.16);
  line-height: 0.82;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nx-wordmark__name {
  display: block;
  font-family: var(--nx-font-sans);
  font-weight: var(--nx-weight-black);
  font-size: calc(var(--nx-wm-h, 20px) * 1.08);
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nx-wordmark__tagline {
  margin-top: calc(var(--nx-wm-h, 20px) * 0.62);
  font-family: var(--nx-font-mono);
  font-size: max(9px, calc(var(--nx-wm-h, 20px) * 0.36));
  font-weight: var(--nx-weight-medium);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nx-text-dim);
  white-space: nowrap;
}
.nx-wordmark--stacked .nx-wordmark__tagline { align-self: center; }

/* ---------- Eyebrow ---------- */
.nx-eyebrow {
  margin: 0;
  font-family: var(--nx-font-mono);
  font-size: 11.5px;
  font-weight: var(--nx-weight-medium);
  line-height: 1.5;
  letter-spacing: var(--nx-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--nx-accent-text);
}
.nx-eyebrow--dim { color: var(--nx-text-dim); }
.nx-eyebrow--faint { color: var(--nx-text-faint); }
.nx-eyebrow__text { white-space: nowrap; }
.nx-eyebrow__index { font-weight: var(--nx-weight-bold); }
.nx-eyebrow__cn { font-family: var(--nx-font-sans); letter-spacing: 0.12em; }
.nx-eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.nx-eyebrow--rule::after { content: ""; flex: 1; height: 1px; background: var(--nx-line-mid); }

/* ---------- Heading ---------- */
.nx-heading {
  margin: 0;
  font-family: var(--nx-font-display);
  font-weight: var(--nx-weight-black);
  color: var(--nx-text);
  text-wrap: balance;
}
/* The one emphasized phrase: an acid highlighter stroke on paper, acid letters on ink. */
.nx-heading em {
  font-style: normal;
  color: var(--nx-mark-text);
  background: linear-gradient(transparent 56%, var(--nx-mark) 56%, var(--nx-mark) 94%, transparent 94%);
  padding: 0 0.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.nx-heading--hero { font-size: var(--nx-size-hero); line-height: 0.96; font-stretch: var(--nx-stretch-condensed); letter-spacing: -0.005em; }
.nx-heading--display { font-size: var(--nx-size-display); line-height: 1.1; letter-spacing: var(--nx-tracking-display); }
.nx-heading--h1 { font-size: var(--nx-size-h1); line-height: 1.2; letter-spacing: -0.025em; }
.nx-heading--h2 { font-size: var(--nx-size-h2); line-height: 1.3; letter-spacing: -0.02em; }
.nx-heading--h3 { font-size: var(--nx-size-h3); line-height: 1.4; font-weight: var(--nx-weight-bold); letter-spacing: -0.01em; }
.nx-heading--center { text-align: center; }

/* ---------- Hairline ---------- */
.nx-hairline { flex-shrink: 0; border: 0; }
.nx-hairline--h { height: 1px; width: 100%; }
.nx-hairline--v { width: 1px; align-self: stretch; min-height: 1em; }
.nx-hairline--faint { background: var(--nx-line); }
.nx-hairline--mid { background: var(--nx-line-mid); }
.nx-hairline--strong { background: var(--nx-line-strong); }
.nx-hairline--h.nx-hairline--strong { height: var(--nx-bw); }
.nx-hairline--v.nx-hairline--strong { width: var(--nx-bw); }
.nx-hairline--accent { background: var(--nx-acid); box-shadow: inset 0 0 0 1px var(--nx-ring-ink); }
.nx-hairline--h.nx-hairline--accent { height: 4px; border-radius: 2px; }
.nx-hairline--v.nx-hairline--accent { width: 4px; border-radius: 2px; }
.nx-hairline--h.nx-hairline--fade-end { -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }
.nx-hairline--h.nx-hairline--fade-both { -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.nx-hairline--v.nx-hairline--fade-end { -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.nx-hairline--v.nx-hairline--fade-both { -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }

/* ---------- Button ---------- */
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border: 0;
  border-radius: var(--nx-radius-pill);
  background: none;
  color: var(--nx-text);
  font-family: var(--nx-font-sans);
  font-weight: var(--nx-weight-black);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--nx-dur-fast) var(--nx-ease), color var(--nx-dur-fast) var(--nx-ease), box-shadow var(--nx-dur-fast) var(--nx-ease), transform var(--nx-dur-fast) var(--nx-ease);
}
.nx-btn:focus-visible { outline: 2px solid var(--nx-text); outline-offset: 3px; }
.nx-btn--sm { height: var(--nx-control-sm); padding: 0 14px; font-size: 13px; gap: 6px; }
.nx-btn--md { height: var(--nx-control-md); padding: 0 20px; font-size: 15px; }
.nx-btn--lg { height: var(--nx-control-lg); padding: 0 26px; font-size: 16px; }
.nx-btn--xl { height: var(--nx-control-xl); padding: 0 32px; font-size: 18px; gap: 10px; }
.nx-btn--block { display: flex; width: 100%; }
.nx-btn__label { display: block; }
.nx-btn__en {
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: var(--nx-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* Primary: an ink pill with an acid label - one per screen. Inside an ink section it turns acid with an ink label. */
.nx-btn--primary { background: var(--nx-fill-strong); color: var(--nx-on-fill-strong); }
.nx-btn--primary:hover { background: var(--nx-fill-strong-hover); }
.nx-btn--primary:active { transform: translateY(1px); }
/* Accent: the loud brand call to action - acid fill, ink ring, hard shadow. Campaign pages and empty states. */
.nx-btn--accent { background: var(--nx-acid); color: var(--nx-ink); box-shadow: inset 0 0 0 var(--nx-bw) var(--nx-ink), 3px 3px 0 var(--nx-pop); }
.nx-btn--accent:active { transform: translate(2px, 2px); box-shadow: inset 0 0 0 var(--nx-bw) var(--nx-ink), 1px 1px 0 var(--nx-pop); }
.nx-btn--line { background: var(--nx-line-btn-bg); color: var(--nx-text); box-shadow: inset 0 0 0 var(--nx-bw) var(--nx-line-strong); }
.nx-btn--line:hover { background: var(--nx-surface-2); }
.nx-btn--ghost { background: var(--nx-surface-2); color: var(--nx-text); }
.nx-btn--ghost:hover { background: var(--nx-surface-3); }
.nx-btn--text { color: var(--nx-text-dim); padding-left: 10px; padding-right: 10px; }
.nx-btn--text:hover { color: var(--nx-text); }
.nx-btn--danger { background: var(--nx-surface); color: var(--nx-danger); box-shadow: inset 0 0 0 var(--nx-bw) var(--nx-danger); }
.nx-btn--danger:hover { background: var(--nx-danger-soft); }
.nx-btn--primary:disabled,
.nx-btn--accent:disabled { background: var(--nx-surface-2); color: var(--nx-text-faint); box-shadow: none; cursor: not-allowed; transform: none; }
.nx-btn:not(.nx-btn--primary):not(.nx-btn--accent):disabled { opacity: 0.4; cursor: not-allowed; }
.nx-btn--loading { cursor: progress; }
.nx-btn--primary.nx-btn--loading:disabled { background: var(--nx-fill-strong); color: var(--nx-on-fill-strong); }
.nx-btn__spinner {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: nx-spin 0.8s linear infinite;
}

/* ---------- Icon button ---------- */
.nx-iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--nx-radius-pill);
  background: none;
  color: var(--nx-text-dim);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--nx-dur-fast) var(--nx-ease), background var(--nx-dur-fast) var(--nx-ease), box-shadow var(--nx-dur-fast) var(--nx-ease);
}
.nx-iconbtn:hover { color: var(--nx-text); }
.nx-iconbtn:focus-visible { outline: 2px solid var(--nx-text); outline-offset: 2px; }
.nx-iconbtn--sm { width: 32px; height: 32px; }
.nx-iconbtn--md { width: 40px; height: 40px; }
.nx-iconbtn--lg { width: 48px; height: 48px; }
.nx-iconbtn--line { background: var(--nx-surface); box-shadow: inset 0 0 0 1px var(--nx-line-mid); }
.nx-iconbtn--line:hover { box-shadow: inset 0 0 0 var(--nx-bw) var(--nx-line-strong); }
.nx-iconbtn--solid { background: var(--nx-surface-2); color: var(--nx-text); }
.nx-iconbtn--solid:hover { background: var(--nx-surface-3); }
.nx-iconbtn--active,
.nx-iconbtn--active:hover { color: var(--nx-on-fill-strong); background: var(--nx-fill-strong); box-shadow: none; }
.nx-iconbtn:disabled { opacity: 0.35; cursor: not-allowed; }
.nx-iconbtn__dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-signal);
  box-shadow: 0 0 0 2px var(--nx-bg);
}

/* ---------- Tag ---------- */
.nx-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--nx-radius-pill);
  font-family: var(--nx-font-sans);
  font-size: 12px;
  font-weight: var(--nx-weight-bold);
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}
.nx-tag--sm { height: 20px; padding: 0 8px; font-size: 11px; gap: 5px; }
.nx-tag__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
/* soft - statuses */
.nx-tag--soft.nx-tag--neutral { color: var(--nx-text-dim); background: var(--nx-neutral-soft); }
.nx-tag--soft.nx-tag--accent { color: var(--nx-text); background: var(--nx-surface); box-shadow: inset 0 0 0 1px var(--nx-line-mid); }
.nx-tag--soft.nx-tag--accent .nx-tag__dot { background: var(--nx-acid); box-shadow: 0 0 0 1.5px var(--nx-ring-ink); }
.nx-tag--soft.nx-tag--live { color: var(--nx-paper); background: var(--nx-live-bg); }
.nx-tag--soft.nx-tag--live .nx-tag__dot { background: var(--nx-acid); }
.nx-tag--soft.nx-tag--success { color: var(--nx-success-text); background: var(--nx-success-soft); }
.nx-tag--soft.nx-tag--warning { color: var(--nx-warning-text); background: var(--nx-warning-soft); }
.nx-tag--soft.nx-tag--danger { color: var(--nx-danger-text); background: var(--nx-danger-soft); }
/* solid - labels (推荐, 即将上线, NEW) */
.nx-tag--solid { font-weight: var(--nx-weight-black); }
.nx-tag--solid.nx-tag--neutral { background: var(--nx-text); color: var(--nx-bg); }
.nx-tag--solid.nx-tag--accent { background: var(--nx-fill-strong); color: var(--nx-on-fill-strong); }
.nx-tag--solid.nx-tag--live { background: var(--nx-acid); color: var(--nx-ink); }
.nx-tag--solid.nx-tag--success { background: var(--nx-success); color: #fff; }
.nx-tag--solid.nx-tag--warning { background: var(--nx-signal); color: var(--nx-ink); }
.nx-tag--solid.nx-tag--danger { background: var(--nx-danger); color: #fff; }
/* line - quiet categories */
.nx-tag--line { background: none; }
.nx-tag--line.nx-tag--neutral { color: var(--nx-text-dim); box-shadow: inset 0 0 0 1px var(--nx-line-mid); }
.nx-tag--line.nx-tag--accent,
.nx-tag--line.nx-tag--live { color: var(--nx-text); box-shadow: inset 0 0 0 var(--nx-bw) var(--nx-line-strong); }
.nx-tag--line.nx-tag--live .nx-tag__dot { background: var(--nx-acid); box-shadow: 0 0 0 1.5px var(--nx-ring-ink); }
.nx-tag--line.nx-tag--success { color: var(--nx-success-text); box-shadow: inset 0 0 0 1px var(--nx-success); }
.nx-tag--line.nx-tag--warning { color: var(--nx-warning-text); box-shadow: inset 0 0 0 1px var(--nx-signal); }
.nx-tag--line.nx-tag--danger { color: var(--nx-danger-text); box-shadow: inset 0 0 0 1px var(--nx-danger); }

/* ---------- Status dot ---------- */
.nx-statusdot { display: inline-flex; align-items: center; gap: 8px; line-height: 1.2; vertical-align: middle; }
.nx-statusdot__dot { display: block; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.nx-statusdot--neutral { color: var(--nx-text-faint); }
.nx-statusdot--accent,
.nx-statusdot--live { color: var(--nx-acid); }
.nx-statusdot--accent .nx-statusdot__dot,
.nx-statusdot--live .nx-statusdot__dot { box-shadow: 0 0 0 1.5px var(--nx-ring-ink); }
.nx-statusdot--success { color: var(--nx-success); }
.nx-statusdot--warning { color: var(--nx-signal); }
.nx-statusdot--danger { color: var(--nx-danger); }
.nx-statusdot__label { color: var(--nx-text-dim); font-size: var(--nx-size-small); }

/* ---------- Figure ---------- */
.nx-figure { display: inline-flex; flex-direction: column; }
.nx-figure--center { align-items: center; text-align: center; }
.nx-figure--end { align-items: flex-end; text-align: right; }
.nx-figure__row { display: flex; align-items: baseline; gap: 10px; }
.nx-figure__value {
  font-family: var(--nx-font-display);
  font-stretch: var(--nx-stretch-condensed);
  font-weight: var(--nx-weight-black);
  line-height: 0.95;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nx-figure--sm .nx-figure__value { font-size: 28px; }
.nx-figure--md .nx-figure__value { font-size: 44px; }
.nx-figure--lg .nx-figure__value { font-size: 68px; }
.nx-figure--xl .nx-figure__value { font-size: 112px; letter-spacing: -0.02em; }
.nx-figure--text { color: var(--nx-text); }
.nx-figure--dim { color: var(--nx-text-dim); }
/* The one figure that matters: an acid highlighter under it on paper, acid digits on ink. */
.nx-figure--accent { color: var(--nx-text); }
.nx-figure--accent .nx-figure__value { background: linear-gradient(transparent 56%, var(--nx-mark) 56%, var(--nx-mark) 94%, transparent 94%); color: var(--nx-mark-text); padding: 0 0.06em; }
.nx-figure__affix { font-size: 0.48em; font-weight: var(--nx-weight-bold); letter-spacing: 0; margin: 0 0.06em; }
.nx-figure__prefix { margin-right: 0.08em; }
.nx-figure__delta { font-family: var(--nx-font-mono); font-size: 12.5px; font-weight: var(--nx-weight-bold); font-variant-numeric: tabular-nums; }
.nx-figure__delta--good { color: var(--nx-success); }
.nx-figure__delta--bad { color: var(--nx-danger); }
.nx-figure__delta--flat { color: var(--nx-text-faint); }
.nx-figure__label { margin-top: 8px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--nx-text-dim); line-height: 1.4; }
.nx-figure--sm .nx-figure__label { margin-top: 5px; font-size: 12px; }

/* Brand: strand field, hero, section head, columns, sequence, punchline, index list, media frame, site nav, footer.
   The editorial side of NEXTX: paper pages with ink sections for the high moments, heavy headings with one
   highlighted phrase, mono labels and spec columns, and the site's strand field as the motion signature. */

/* ---------- Strand field ---------- */
.nx-strands { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.nx-strands__fallback { display: none; }
.nx-strands--off .nx-strands__fallback { display: block; position: absolute; }
.nx-strands--off.nx-strands--logo .nx-strands__fallback { left: 12%; right: 12%; top: 38%; height: 34%; width: 76%; fill: currentColor; opacity: 0.1; }
.nx-strands--off.nx-strands--burst .nx-strands__fallback {
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 50%, currentColor 0deg 0.4deg, transparent 0.4deg 7deg);
  opacity: 0.08;
  -webkit-mask-image: radial-gradient(closest-side, transparent 12%, #000 40%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 12%, #000 40%, transparent 100%);
}

/* ---------- Hero ---------- */
.nx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 104px 40px 96px;
  background: var(--nx-bg);
  color: var(--nx-text);
}
.nx-hero--start { align-items: flex-start; text-align: left; padding-left: 56px; padding-right: 56px; }
.nx-hero__bg { position: absolute; inset: 0; z-index: -3; background: center / cover no-repeat; filter: grayscale(1) contrast(1.1); }
.nx-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 18, 0.55), rgba(18, 18, 18, 0.82) 70%, var(--nx-bg)); }
.nx-hero:not(.nx-ink) .nx-hero__bg::after { background: linear-gradient(180deg, rgba(242, 238, 229, 0.7), rgba(242, 238, 229, 0.9) 70%, var(--nx-bg)); }
.nx-hero .nx-strands { z-index: -2; color: var(--nx-text); }
.nx-hero__inner { position: relative; max-width: 960px; }
/* Text over the strands keeps a soft ink shadow for legibility, like the site - never a box behind it. */
.nx-hero.nx-ink .nx-hero__sub,
.nx-hero.nx-ink .nx-hero__desc,
.nx-hero.nx-ink .nx-hero__kicker { text-shadow: 0 0 14px var(--nx-ink), 0 0 28px var(--nx-ink); }
.nx-hero--start .nx-hero__inner { max-width: 780px; }
.nx-hero__kicker {
  margin: 0 0 20px;
  font-family: var(--nx-font-mono);
  font-size: 12px;
  font-weight: var(--nx-weight-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nx-accent-text);
}
.nx-hero__title {
  margin: 0 0 18px;
  font-family: var(--nx-font-display);
  font-stretch: var(--nx-stretch-condensed);
  font-size: 104px;
  font-weight: var(--nx-weight-black);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--nx-text);
}
.nx-hero__title em { font-style: normal; color: var(--nx-mark-text); background: linear-gradient(transparent 56%, var(--nx-mark) 56%, var(--nx-mark) 94%, transparent 94%); }
.nx-hero__sub { margin: 0 0 18px; font-size: 19px; font-weight: var(--nx-weight-bold); letter-spacing: 0.08em; color: var(--nx-text); }
.nx-hero__desc { margin: 0 auto; max-width: 620px; font-size: 15.5px; line-height: 1.9; color: var(--nx-text-dim); }
.nx-hero--start .nx-hero__desc { margin: 0; }
.nx-hero__actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.nx-hero--start .nx-hero__actions { justify-content: flex-start; }
.nx-hero__meta {
  position: absolute;
  bottom: 26px;
  right: 40px;
  z-index: 1;
  margin: 0;
  font-family: var(--nx-font-mono);
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
  color: var(--nx-text-dim);
}
.nx-hero__meta b { color: var(--nx-text); font-weight: var(--nx-weight-bold); }
.nx-hero--phone { padding: 84px 20px 84px; }
.nx-hero--phone .nx-hero__kicker { font-size: 10px; letter-spacing: 0.12em; margin-bottom: 14px; }
.nx-hero--phone .nx-hero__title { font-size: 52px; margin-bottom: 14px; }
.nx-hero--phone .nx-hero__sub { font-size: 15px; letter-spacing: 0.06em; margin-bottom: 14px; }
.nx-hero--phone .nx-hero__desc { font-size: 14px; line-height: 1.85; }
.nx-hero--phone .nx-hero__actions { margin-top: 24px; }
.nx-hero--phone .nx-hero__meta { display: none; }
.nx-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--nx-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--nx-text-faint);
}
.nx-hero__scroll i { position: relative; width: 1px; height: 36px; overflow: hidden; background: var(--nx-line-mid); }
.nx-hero__scroll i::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -14px;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--nx-fill-strong);
  animation: nx-scroll-line 2.1s ease-in-out infinite;
}
@keyframes nx-scroll-line { 0% { top: -14px; } 60%, 100% { top: 40px; } }

/* ---------- Section head ---------- */
.nx-sectionhead {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 56px;
  flex-wrap: wrap;
}
.nx-sectionhead__main { position: relative; z-index: 1; flex: 1 1 420px; min-width: 0; }
.nx-sectionhead__main > .nx-eyebrow + .nx-sectionhead__title { margin-top: 20px; }
.nx-sectionhead--h1 .nx-sectionhead__main > .nx-eyebrow + .nx-sectionhead__title { margin-top: 12px; }
.nx-sectionhead__title { max-width: 16em; }
.nx-sectionhead__lead { margin-top: 18px; max-width: 680px; font-size: 16px; line-height: 1.9; color: var(--nx-text-dim); }
.nx-sectionhead--h1 .nx-sectionhead__lead { margin-top: 10px; font-size: 14px; line-height: 1.8; }
.nx-sectionhead__lead strong { color: var(--nx-text); font-weight: var(--nx-weight-bold); }
.nx-sectionhead__aside { position: relative; z-index: 1; flex: 0 0 auto; }
/* The index: a huge outlined number behind the head, top right. */
.nx-sectionhead__ghost {
  position: absolute;
  right: -0.02em;
  top: -0.28em;
  z-index: 0;
  font-family: var(--nx-font-display);
  font-stretch: var(--nx-stretch-condensed);
  font-size: 200px;
  font-weight: var(--nx-weight-black);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nx-line-mid);
  pointer-events: none;
}
.nx-sectionhead--h1 .nx-sectionhead__ghost { font-size: 120px; }
.nx-sectionhead--center { justify-content: center; text-align: center; }
.nx-sectionhead--center .nx-sectionhead__main { flex: 0 1 auto; }
.nx-sectionhead--center .nx-sectionhead__title,
.nx-sectionhead--center .nx-sectionhead__lead { margin-left: auto; margin-right: auto; }

/* ---------- Columns ---------- */
.nx-columns { display: grid; border-top: var(--nx-bw) solid var(--nx-line-strong); }
.nx-columns__item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 26px 26px 30px;
  border-right: 1px solid var(--nx-line);
}
.nx-columns__item--first { padding-left: 0; }
.nx-columns__item--last { padding-right: 0; border-right: 0; }
.nx-columns__item--wrap { border-top: 1px solid var(--nx-line); }
.nx-columns__ghost {
  position: absolute;
  right: 0.02em;
  top: -0.1em;
  font-family: var(--nx-font-display);
  font-stretch: var(--nx-stretch-condensed);
  font-size: 128px;
  font-weight: var(--nx-weight-black);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nx-line-mid);
  pointer-events: none;
}
.nx-columns__item--last .nx-columns__ghost { right: 0; }
.nx-columns__dash { display: block; width: 20px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--nx-text); }
.nx-columns__viz { position: relative; height: 44px; margin-bottom: 18px; display: flex; align-items: center; color: var(--nx-text); }
.nx-columns__en {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: var(--nx-weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-text-dim);
}
.nx-columns__title {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--nx-font-display);
  font-size: 21px;
  font-weight: var(--nx-weight-black);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--nx-text);
}
.nx-columns__body { position: relative; margin: 0; font-size: 14px; line-height: 1.8; color: var(--nx-text-dim); }
.nx-columns--md .nx-columns__item { padding: 18px 16px 20px; }
.nx-columns--md .nx-columns__item--first { padding-left: 0; }
.nx-columns--md .nx-columns__item--last { padding-right: 0; }
.nx-columns--md .nx-columns__ghost { display: none; }
.nx-columns--md .nx-columns__title { font-size: 16px; margin-bottom: 6px; }
.nx-columns--md .nx-columns__body { font-size: 12.5px; line-height: 1.7; }
.nx-columns--md .nx-columns__viz { height: 30px; margin-bottom: 12px; }
.nx-columns--md .nx-columns__dash { margin-bottom: 12px; }

/* ---------- Sequence ---------- */
.nx-seq { --nx-seq-pct: 20%; }
.nx-seq__rail { position: relative; background: var(--nx-line-mid); }
.nx-seq--rail .nx-seq__rail { height: 2px; }
.nx-seq__fill {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--nx-text);
  transition: width var(--nx-dur-slow) var(--nx-ease), height var(--nx-dur-slow) var(--nx-ease);
}
.nx-seq--rail .nx-seq__fill { height: 100%; width: var(--nx-seq-pct); }
.nx-seq__head {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--nx-acid);
  box-shadow: 0 0 0 var(--nx-bw) var(--nx-ring-ink);
  transition: left var(--nx-dur-slow) var(--nx-ease), top var(--nx-dur-slow) var(--nx-ease);
}
.nx-seq--rail .nx-seq__head { top: -5px; left: var(--nx-seq-pct); margin-left: -6px; }
.nx-seq__list { margin: 0; padding: 0; list-style: none; }
.nx-seq--rail .nx-seq__list { display: grid; }
.nx-seq__step { display: flex; flex-direction: column; min-width: 0; }
.nx-seq--rail .nx-seq__step { padding: 22px 20px 4px 0; }
.nx-seq--rail .nx-seq__step + .nx-seq__step { padding-left: 20px; }
.nx-seq__no {
  display: block;
  margin-bottom: 12px;
  font-family: var(--nx-font-mono);
  font-size: 12px;
  font-weight: var(--nx-weight-bold);
  letter-spacing: 0.08em;
  color: var(--nx-text-faint);
  font-variant-numeric: tabular-nums;
}
.nx-seq__label {
  display: block;
  font-family: var(--nx-font-display);
  font-size: 19px;
  font-weight: var(--nx-weight-bold);
  line-height: 1.4;
  color: var(--nx-text-dim);
  transition: color var(--nx-dur-base) var(--nx-ease);
}
.nx-seq__sub { display: block; margin-top: 5px; font-size: 13px; color: var(--nx-text-faint); }
.nx-seq__step.is-past .nx-seq__no { color: var(--nx-text-dim); }
.nx-seq__step.is-on .nx-seq__no { color: var(--nx-text); }
.nx-seq__step.is-on .nx-seq__label { color: var(--nx-text); font-weight: var(--nx-weight-black); }

.nx-seq--vertical { display: grid; grid-template-columns: 2px 1fr; gap: 0 22px; }
.nx-seq--vertical .nx-seq__rail { width: 2px; }
.nx-seq--vertical .nx-seq__fill { width: 100%; height: var(--nx-seq-pct); }
.nx-seq--vertical .nx-seq__head { left: 1px; top: var(--nx-seq-pct); margin: -6px 0 0 -6px; }
.nx-seq--vertical .nx-seq__step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding: 13px 0; }
.nx-seq--vertical .nx-seq__no { margin: 0; }
.nx-seq--vertical .nx-seq__label { font-size: 16px; }
.nx-seq--vertical .nx-seq__sub { grid-column: 2; margin-top: 2px; }

.nx-seq--compact { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nx-seq__cstep { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.nx-seq__seg { display: block; height: 4px; border-radius: 2px; background: var(--nx-line-mid); }
.nx-seq__cstep.is-past .nx-seq__seg { background: var(--nx-text); opacity: 0.4; }
.nx-seq__cstep.is-on .nx-seq__seg { background: var(--nx-text); }
.nx-seq__clabel { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.3; color: var(--nx-text-faint); white-space: nowrap; }
.nx-seq__cno {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  font-family: var(--nx-font-mono);
  font-size: 10px;
  font-weight: var(--nx-weight-bold);
}
.nx-seq__cstep.is-past .nx-seq__clabel { color: var(--nx-text-dim); }
.nx-seq__cstep.is-on .nx-seq__clabel { color: var(--nx-text); font-weight: var(--nx-weight-black); }
.nx-seq__cstep.is-on .nx-seq__cno { background: var(--nx-fill-strong); color: var(--nx-on-fill-strong); }

/* ---------- Punchline ---------- */
.nx-punch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 44px 0 46px;
  border-top: var(--nx-bw) solid var(--nx-line-strong);
  text-align: left;
}
.nx-punch__kicker {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 16px;
  font-family: var(--nx-font-mono);
  font-size: 11.5px;
  font-weight: var(--nx-weight-medium);
  letter-spacing: var(--nx-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--nx-text-dim);
}
.nx-punch__text {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 18em;
  font-family: var(--nx-font-display);
  font-size: 64px;
  font-weight: var(--nx-weight-black);
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--nx-text);
}
.nx-punch__text em {
  font-style: normal;
  color: var(--nx-mark-text);
  background: linear-gradient(transparent 56%, var(--nx-mark) 56%, var(--nx-mark) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.nx-punch--md { padding: 34px 0 36px; }
.nx-punch--md .nx-punch__text { font-size: 40px; }
.nx-punch--sm { padding: 22px 0 24px; }
.nx-punch--sm .nx-punch__text { font-size: 26px; line-height: 1.3; letter-spacing: -0.02em; }
/* burst: the site's closing manifesto - an ink band, the strand burst behind a centered statement */
.nx-punch--burst { border-top: 0; padding: 120px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.nx-punch--burst .nx-strands { z-index: 0; color: var(--nx-text); }
.nx-punch--burst .nx-punch__text { max-width: 16em; }
.nx-punch--burst.nx-punch--md { padding: 84px 32px; }
.nx-punch--burst.nx-punch--sm { padding: 56px 20px; }
.nx-punch__after { position: relative; z-index: 1; margin-top: 18px; font-family: var(--nx-font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nx-text-faint); }

/* ---------- Index list ---------- */
.nx-index { container-type: inline-size; margin: 0; padding: 0; list-style: none; border-top: var(--nx-bw) solid var(--nx-line-strong); }
.nx-index__row {
  position: relative;
  display: grid;
  align-items: baseline;
  gap: 6px 26px;
  /* The last column is fixed: the live row's flag is a tag, wider than plain words - auto would shift the middle columns on that row only. */
  grid-template-columns: 112px minmax(170px, 1fr) 104px minmax(0, 1.25fr) 92px;
  /* The 16px on the left is the shared slot for the live row's bar, so every row's columns line up. */
  padding: 22px 0 22px 16px;
  border-bottom: 1px solid var(--nx-line);
}
.nx-index__lead { font-family: var(--nx-font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--nx-text-faint); font-variant-numeric: tabular-nums; }
.nx-index__title { font-family: var(--nx-font-display); font-size: 26px; font-weight: var(--nx-weight-black); letter-spacing: 0.01em; line-height: 1.2; color: var(--nx-text); }
.nx-index__title b { font-weight: var(--nx-weight-black); }
.nx-index__kind { font-size: 13.5px; font-weight: var(--nx-weight-bold); color: var(--nx-text-dim); }
.nx-index__detail { font-size: 13.5px; color: var(--nx-text-faint); }
.nx-index__flag { justify-self: end; font-family: var(--nx-font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--nx-text-faint); white-space: nowrap; }
.nx-index__row--live { padding-block: 36px; background: var(--nx-surface); }
.nx-index__row--live::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--nx-text); }
.nx-index__row--live .nx-index__lead { color: var(--nx-text); font-weight: var(--nx-weight-bold); }
.nx-index__row--live .nx-index__title { font-size: 36px; }
.nx-index__row--live .nx-index__title b { background: linear-gradient(transparent 56%, var(--nx-mark) 56%, var(--nx-mark) 94%, transparent 94%); color: var(--nx-mark-text); padding: 0 0.04em; }
.nx-index__row--live .nx-index__kind { color: var(--nx-text); }
.nx-index__row--live .nx-index__flag {
  padding: 6px 11px;
  border-radius: var(--nx-radius-pill);
  background: var(--nx-fill-strong);
  color: var(--nx-on-fill-strong);
  font-family: var(--nx-font-sans);
  font-size: 11.5px;
  font-weight: var(--nx-weight-black);
  letter-spacing: 0.02em;
}
@container (max-width: 680px) {
  .nx-index__row { grid-template-columns: 1fr auto; gap: 5px 16px; padding: 18px 0 18px 16px; }
  .nx-index__lead { grid-column: 1; grid-row: 1; }
  .nx-index__flag { grid-column: 2; grid-row: 1; }
  .nx-index__title, .nx-index__kind, .nx-index__detail { grid-column: 1 / -1; }
  .nx-index__title { font-size: 21px; }
  .nx-index__row--live { padding-block: 24px; }
  .nx-index__row--live .nx-index__title { font-size: 27px; }
}

/* ---------- Media frame ---------- */
.nx-media { margin: 0; }
.nx-media--fill { display: flex; flex-direction: column; height: 100%; }
.nx-media--fill .nx-media__box { flex: 1; min-height: 0; }
.nx-media__box { position: relative; overflow: hidden; border-radius: var(--nx-radius); background: var(--nx-ink); }
.nx-media--fill .nx-media__box { border-radius: 0; }
.nx-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-media--mono .nx-media__img { filter: grayscale(1) contrast(1.12) brightness(1.05); }
.nx-media__box--empty {
  background:
    repeating-linear-gradient(-45deg, transparent 0 10px, var(--nx-line) 10px 11px),
    var(--nx-surface-2);
}
.nx-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--nx-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--nx-text-faint);
}
.nx-media__overlay { position: absolute; inset: 0; pointer-events: none; }
.nx-media__overlay--bottom { background: linear-gradient(180deg, transparent 40%, rgba(18, 18, 18, 0.88)); }
.nx-media__overlay--full { background: rgba(18, 18, 18, 0.5); }
.nx-media__content { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: var(--nx-paper); }
/* Over a darkened photo the content is an ink scope (light text, acid accents) without the ink fill. */
.nx-media__content.nx-ink { background: none; }
.nx-media__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px 0;
  font-family: var(--nx-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-text-dim);
}
.nx-media__caption::before { content: ""; width: 18px; height: 1.5px; background: var(--nx-text); flex-shrink: 0; }

/* ---------- Site nav ---------- */
.nx-sitenav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 32px;
  background: transparent;
  color: var(--nx-text);
}
.nx-sitenav--solid {
  background: color-mix(in srgb, var(--nx-bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: inset 0 -1px 0 var(--nx-line);
}
.nx-sitenav.nx-ink { background-color: transparent; }
.nx-sitenav.nx-ink.nx-sitenav--solid { background: color-mix(in srgb, var(--nx-ink) 88%, transparent); }
.nx-sitenav__links { display: flex; align-items: center; gap: 28px; }
.nx-sitenav__link {
  position: relative;
  padding: 4px 0;
  font-size: 13.5px;
  font-weight: var(--nx-weight-medium);
  color: var(--nx-text-dim);
  text-decoration: none;
  transition: color var(--nx-dur-fast) var(--nx-ease);
}
.nx-sitenav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 1px;
  background: var(--nx-accent-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--nx-dur-base) var(--nx-ease);
}
.nx-sitenav__link:hover,
.nx-sitenav__link--on { color: var(--nx-text); font-weight: var(--nx-weight-bold); }
.nx-sitenav__link:hover::after,
.nx-sitenav__link--on::after { transform: scaleX(1); }

/* ---------- Site footer ---------- */
.nx-sitefoot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 48px 40px 40px;
  box-shadow: inset 0 1px 0 var(--nx-line);
}
.nx-sitefoot__brand { display: flex; flex-direction: column; gap: 14px; }
.nx-sitefoot__slogan {
  margin: 0;
  font-family: var(--nx-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nx-text-faint);
}
.nx-sitefoot__legal { text-align: right; font-size: 13px; color: var(--nx-text-faint); }
.nx-sitefoot__legal p { margin: 0; }
.nx-sitefoot__company { margin-bottom: 3px !important; color: var(--nx-text-dim); }
.nx-sitefoot__company--en { margin-bottom: 9px !important; font-size: 12px; color: var(--nx-text-faint); }
.nx-sitefoot__beian { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-bottom: 8px !important; }
.nx-sitefoot__beian a { color: var(--nx-text-faint); text-decoration: none; transition: color var(--nx-dur-fast) var(--nx-ease); }
.nx-sitefoot__beian a:hover { color: var(--nx-accent-text); }
.nx-sitefoot__sep { color: var(--nx-line-mid); }
.nx-sitefoot__police { display: inline-flex; align-items: center; gap: 5px; }
