/* Cross-brand neutral tokens — ported from branding/novalex/tokens.css */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/dm-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/dm-sans-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/fraunces.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/fraunces-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/fraunces-ital.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/fraunces-ital-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand-accent: var(--nx-coral);
  --brand-accent-dark: var(--nx-coral-dark);
  --brand-accent-tint: var(--nx-coral-tint);
  --brand-name: '';

  --nx-coral: #F36E6D;
  --nx-coral-dark: #DB5C5B;
  --nx-coral-tint: #FDECEC;
  --nx-navy: #112543;
  --nx-navy-text: #112543;
  --nx-navy-2: #1C3258;
  --nx-charcoal: #353A3F;
  --nx-ink: #1A1E22;
  --nx-text: #4A5057;
  --nx-muted: #8A8F96;
  --nx-canvas: #FCFCFC;
  --nx-surface: #FFFFFF;
  --nx-cool: #F0F2F5;
  --nx-cool-2: #E6E9EE;
  --nx-border: #E1E4EA;
  --nx-border-2: #CFD4DC;
  --nx-success: #1B7F58;
  --nx-warn: #B98024;
  --nx-danger: #B8392F;
  --nx-info: #2C5FAE;
  --nx-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --nx-font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nx-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nx-radius-sm: 4px;
  --nx-radius: 8px;
  --nx-radius-lg: 14px;
  --nx-radius-pill: 999px;
  --nx-shadow: 0 1px 3px rgba(17,37,67,.06), 0 4px 16px rgba(17,37,67,.05);
  --nx-shadow-lg: 0 8px 28px rgba(17,37,67,.10);
  --nx-shadow-cta: 0 4px 14px rgba(243,110,109,.30);
  --nx-transition: 160ms ease;
}

body {
  margin: 0;
  background: var(--nx-canvas);
}

.nx {
  font-family: var(--nx-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--nx-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nx h1, .nx h2, .nx h3, .nx h4, .nx h5 {
  font-family: var(--nx-font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--nx-ink);
  margin: 0 0 0.75rem;
}

.nx p { margin: 0 0 0.75rem; }

.nx a {
  color: var(--brand-accent);
  text-decoration: none;
}

.nx a:hover {
  color: var(--brand-accent-dark);
  text-decoration: underline;
}

.brand-page__main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
}

.lang-switcher__link {
  padding: 0.25rem 0.65rem;
  border-radius: var(--nx-radius-pill);
  border: 1px solid var(--nx-border);
  color: var(--nx-muted);
}

.lang-switcher__link--active {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

.nx :focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

[data-theme="dark"] {
  --nx-coral: #FF8584;
  --nx-coral-dark: #F36E6D;
  --nx-coral-tint: rgba(243,110,109,.14);
  --nx-navy: #0A0F18;
  --nx-navy-text: #FCFCFC;
  --nx-navy-2: #141A28;
  --nx-charcoal: #E1E4EA;
  --nx-ink: #FCFCFC;
  --nx-text: #B8BEC8;
  --nx-muted: #7A8290;
  --nx-canvas: #0E1117;
  --nx-surface: #181C24;
  --nx-cool: #20242E;
  --nx-cool-2: #2A2F3B;
  --nx-border: rgba(252,252,252,.08);
  --nx-border-2: rgba(252,252,252,.16);
  --nx-success: #34D399;
  --nx-warn: #FBBF24;
  --nx-danger: #F87171;
  --nx-info: #60A5FA;
  --nx-shadow: 0 1px 3px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3);
  --nx-shadow-lg: 0 8px 28px rgba(0,0,0,.5);
  --nx-shadow-cta: 0 4px 14px rgba(255,133,132,.30);
}

.nx .wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.nx-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252,252,252,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nx-border);
}

[data-theme="dark"] .nx-nav {
  background: rgba(14,17,23,.90);
}

.nx-nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
}

.nx-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nx-font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--nx-navy);
  letter-spacing: -.01em;
  flex-shrink: 0;
}

[data-theme="dark"] .nx-nav__brand {
  color: var(--nx-ink);
}

.nx-nav__mark {
  width: 28px;
  height: 28px;
  background: var(--nx-navy);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #FCFCFC;
  font-family: var(--nx-font-body);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="dark"] .nx-nav__mark {
  background: var(--brand-accent);
}

.nx-nav__logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.nx-nav__wordmark {
  font-family: var(--nx-font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.hero {
  padding: 96px 0 80px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-accent-tint);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 25%, transparent);
  border-radius: var(--nx-radius-pill);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--nx-font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--nx-ink);
  margin: 0 0 24px;
  max-width: 840px;
  font-weight: 500;
}

.hero h1 em {
  font-style: italic;
  color: var(--brand-accent);
}

.hero__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--nx-text);
  max-width: 580px;
  margin: 0 0 36px;
}

.apps-section {
  padding: 72px 0;
  border-top: 1px solid var(--nx-border);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 28px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 800px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .apps-grid .app-card:first-child {
    grid-column: 1 / -1;
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  background: var(--nx-surface);
  transition: all var(--nx-transition);
  box-shadow: var(--nx-shadow);
  color: inherit;
  text-decoration: none;
}

.app-card:hover {
  border-color: color-mix(in srgb, var(--brand-accent) 40%, transparent);
  box-shadow: var(--nx-shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.app-card--active {
  border-color: var(--brand-accent);
  background: var(--brand-accent-tint);
}

.app-badge {
  --badge-size: 40px;
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: calc(var(--badge-size) * 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
}

.app-badge__glyph {
  color: #FCFCFC;
  font-family: var(--nx-font-display);
  font-size: calc(var(--badge-size) * 0.42);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.app-badge__dot {
  position: absolute;
  bottom: calc(var(--badge-size) * 0.12);
  right: calc(var(--badge-size) * 0.12);
  width: calc(var(--badge-size) * 0.16);
  height: calc(var(--badge-size) * 0.16);
  border-radius: 50%;
  border: 1.5px solid var(--badge-bg, transparent);
}

.app-card__name {
  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--nx-navy);
}

[data-theme="dark"] .app-card__name {
  color: var(--nx-ink);
}

.app-card__desc {
  font-size: 12px;
  color: var(--nx-muted);
  line-height: 1.5;
}

.how-section {
  padding: 72px 0;
  background: var(--nx-cool);
}

.how-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 720px) {
  .how-inner {
    grid-template-columns: 1fr;
  }
}

.cta-section {
  padding: 96px 0;
  text-align: center;
}

.nx-footer {
  border-top: 1px solid var(--nx-border);
  padding: 28px 0;
}

.nx-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--nx-muted);
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--nx-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--nx-transition);
}

.nx-btn-primary {
  background: var(--brand-accent);
  color: #fff;
}

.nx-btn-primary:hover {
  background: var(--brand-accent-dark);
  box-shadow: var(--nx-shadow-cta);
}

.nx-btn-ghost {
  background: transparent;
  color: var(--nx-charcoal);
  border-color: var(--nx-border);
}

.nx-btn-ghost:hover {
  border-color: var(--nx-border-2);
  background: var(--nx-cool);
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.nx-nav__spacer {
  flex: 1;
}

.nx-nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-grp {
  display: flex;
  gap: 3px;
  background: var(--nx-cool);
  border-radius: var(--nx-radius-pill);
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  border-radius: var(--nx-radius-pill);
  cursor: pointer;
  font-family: var(--nx-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--nx-muted);
  padding: 4px 9px;
  transition: all var(--nx-transition);
}

.lang-btn.active {
  background: var(--brand-accent);
  color: #fff;
}

.lang-btn:not(.active):hover {
  color: var(--nx-charcoal);
}

.theme-btn {
  background: none;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-pill);
  cursor: pointer;
  color: var(--nx-muted);
  padding: 5px 8px;
  display: flex;
  align-items: center;
  transition: all var(--nx-transition);
}

.theme-btn:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.nx-nav__signin {
  background: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: var(--nx-radius);
  padding: 7px 14px;
  font-family: var(--nx-font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--nx-transition);
}

.nx-nav__signin:hover {
  background: var(--brand-accent-dark);
  box-shadow: var(--nx-shadow-cta);
}

/* Responsive nav — below 760px every nav row wraps its controls onto a
   second line instead of overflowing/shrinking. CSP-safe (no JS); applies
   to the host nav, the hub nav, and all four product-site navs. */
@media (max-width: 760px) {
  .nx-nav-inner,
  .nx-rg-nav__inner,
  .nx-id-nav__inner,
  .nx-bq-nav__inner,
  .nx-bv-nav__inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .nx-nav-controls,
  .nx-rg-nav__actions,
  .nx-hub-nav__links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

a.btn-primary,
a.btn-ghost {
  text-decoration: none;
}

a.btn-ghost {
  color: var(--nx-charcoal);
}

a.btn-primary {
  color: #fff;
}

.btn-primary,
.nx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: var(--nx-radius);
  padding: 9px 16px;
  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--nx-transition);
}

.btn-primary:hover,
.nx-btn-primary:hover {
  background: var(--brand-accent-dark);
  box-shadow: var(--nx-shadow-cta);
  transform: translateY(-1px);
}

.btn-primary--lg {
  font-size: 16px;
  padding: 14px 28px;
}

.btn-ghost,
.nx-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--nx-charcoal);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 9px 16px;
  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--nx-transition);
}

.btn-ghost:hover,
.nx-btn-ghost:hover {
  border-color: var(--nx-border-2);
  background: var(--nx-cool);
}

/* Product-frame nav: paired ghost sign-in + primary CTA (all brand themes load _base) */
.nx-nav-controls .btn-primary,
.nx-nav-controls .btn-ghost,
.nx-nav-controls .nx-btn-ghost-sm {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.nx-nav-controls .btn-ghost {
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.2;
  min-height: 36px;
}

.nx-nav-controls .nx-btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--nx-font-body);
  font-weight: 500;
  background: transparent;
  color: var(--nx-charcoal);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  cursor: pointer;
  transition: all var(--nx-transition);
}

.nx-nav-controls .nx-btn-ghost-sm:hover {
  border-color: var(--nx-border-2);
  background: var(--nx-cool);
  color: var(--nx-ink);
}

.nx-nav-controls .btn-primary {
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.2;
  min-height: 36px;
}

.how-section h2 {
  font-family: var(--nx-font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  color: var(--nx-ink);
  letter-spacing: -.01em;
  margin: 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand-accent);
  padding-top: 3px;
  flex-shrink: 0;
  width: 24px;
}

.step h3 {
  font-family: var(--nx-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--nx-navy);
  margin: 0 0 4px;
}

[data-theme="dark"] .step h3 {
  color: var(--nx-ink);
}

.step p {
  margin: 0;
  color: var(--nx-text);
  font-size: 13px;
  line-height: 1.6;
}

.cta-section h2 {
  font-family: var(--nx-font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  color: var(--nx-ink);
  letter-spacing: -.02em;
  margin: 0 0 16px;
}

.cta-section h2 em {
  font-style: italic;
  color: var(--brand-accent);
}

.cta-section p {
  font-size: 17px;
  color: var(--nx-text);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.nx-footer__brand {
  font-family: var(--nx-font-display);
  font-size: 14px;
  color: var(--nx-navy);
  font-weight: 500;
}

[data-theme="dark"] .nx-footer__brand {
  color: var(--nx-ink);
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0 48px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero__body {
    font-size: 16px;
  }

  .apps-section,
  .how-section,
  .cta-section {
    padding: 48px 0;
  }

  .nx-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ───────────────────────────────────────────────────────────────────────
   Design-system parity — ported from Claude Design tokens.css (2026-06-21)
   Adds the primitives the delivered design defines that were missing here,
   so live themes match the mockups. Additive: classes above are preserved.
   ─────────────────────────────────────────────────────────────────────── */

/* Buttons — dark CTA + small size */
.nx-btn-dark { background: var(--nx-navy); color: #fff; }
.nx-btn-dark:hover { background: var(--nx-navy-2); }
.nx-btn-sm { padding: 6px 11px; font-size: 13px; }
[data-theme="dark"] .nx-btn-dark { background: #2A2F3B; color: #FCFCFC; }
[data-theme="dark"] .nx-btn-dark:hover { background: #353A47; }
[data-theme="dark"] .nx-btn-ghost { color: #C5CCD4; border-color: rgba(252,252,252,.12); }
[data-theme="dark"] .nx-btn-ghost:hover { border-color: rgba(252,252,252,.24); background: rgba(252,252,252,.04); }

/* Chips — canonical pill. Single-dash = design source; double-dash aliases
   keep existing repo views rendering on-design without changes. */
.nx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--nx-radius-pill);
  background: var(--nx-cool);
  color: var(--nx-charcoal);
  border: 1px solid var(--nx-border);
}
.nx-chip-coral,   .nx-chip--coral   { background: var(--nx-coral-tint); color: var(--nx-coral-dark); border-color: rgba(243,110,109,.25); }
.nx-chip-navy,    .nx-chip--navy    { background: rgba(17,37,67,.06); color: var(--nx-navy-text); border-color: rgba(17,37,67,.12); }
.nx-chip-success, .nx-chip--success { background: rgba(27,127,88,.10); color: var(--nx-success); border-color: rgba(27,127,88,.22); }
.nx-chip-warn,    .nx-chip--warn    { background: rgba(185,128,36,.10); color: var(--nx-warn); border-color: rgba(185,128,36,.22); }
.nx-chip-danger,  .nx-chip--danger  { background: rgba(184,57,47,.08); color: var(--nx-danger); border-color: rgba(184,57,47,.22); }
.nx-chip-info,    .nx-chip--info    { background: rgba(44,95,174,.10); color: var(--nx-info); border-color: rgba(44,95,174,.22); }
.nx-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

[data-theme="dark"] .nx-chip-coral,   [data-theme="dark"] .nx-chip--coral   { background: rgba(243,110,109,.16); color: #FF8584; border-color: rgba(243,110,109,.30); }
[data-theme="dark"] .nx-chip-navy,    [data-theme="dark"] .nx-chip--navy    { background: rgba(252,252,252,.06); color: #E1E4EA; border-color: rgba(252,252,252,.12); }
[data-theme="dark"] .nx-chip-success, [data-theme="dark"] .nx-chip--success { background: rgba(52,211,153,.12); color: #34D399; border-color: rgba(52,211,153,.25); }
[data-theme="dark"] .nx-chip-warn,    [data-theme="dark"] .nx-chip--warn    { background: rgba(251,191,36,.12); color: #FBBF24; border-color: rgba(251,191,36,.25); }
[data-theme="dark"] .nx-chip-danger,  [data-theme="dark"] .nx-chip--danger  { background: rgba(248,113,113,.12); color: #F87171; border-color: rgba(248,113,113,.25); }
[data-theme="dark"] .nx-chip-info,    [data-theme="dark"] .nx-chip--info    { background: rgba(96,165,250,.12); color: #60A5FA; border-color: rgba(96,165,250,.25); }

/* Inputs */
.nx-input {
  font-family: var(--nx-font-body);
  font-size: 14px;
  padding: 9px 12px;
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-border);
  background: var(--nx-surface);
  color: var(--nx-charcoal);
  transition: border var(--nx-transition), box-shadow var(--nx-transition);
}
.nx-input:focus {
  outline: none;
  border-color: var(--nx-coral);
  box-shadow: 0 0 0 3px rgba(243,110,109,.12);
}

/* Divider */
.nx-hr { height: 1px; background: var(--nx-border); border: 0; margin: 0; }

/* Card — design surface: 8px radius + soft shadow. Brand files may add padding. */
.nx-card {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  box-shadow: var(--nx-shadow);
}

/* Type helpers — usable standalone (outside the .nx scope too) */
.eyebrow {
  font-family: var(--nx-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-coral);
}
.eyebrow-muted { color: var(--nx-muted); }
.display-ital {
  font-family: var(--nx-font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--nx-coral);
}
.mono { font-family: var(--nx-font-mono); font-size: 12px; }

/* Status dot + label */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--nx-charcoal);
}
.status-dot__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-muted); }
.status-dot--success .status-dot__dot { background: #1B7F58; }
.status-dot--warn .status-dot__dot { background: #B98024; }
.status-dot--danger .status-dot__dot { background: #B8392F; }
.status-dot--info .status-dot__dot { background: #2C5FAE; }
.status-dot--muted .status-dot__dot { background: #8A8F96; }
.status-dot--mono { font-family: var(--nx-font-mono); }

/* Keyboard key cap */
.kbd {
  font-family: var(--nx-font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--nx-border);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--nx-surface);
  color: var(--nx-text);
  line-height: 1;
}

/* Theme-swapped logo visibility */
.nx-light-only { display: inline-block; }
.nx-dark-only { display: none; }
[data-theme="dark"] .nx-light-only { display: none; }
[data-theme="dark"] .nx-dark-only { display: inline-block; }

/* Inline SVG icon (server-rendered via the `icon()` helper). Geometry only;
   color follows currentColor through the stroke attribute. */
.nx-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.nx-ico-success { color: var(--nx-success); }
.nx-ico-coral { color: var(--nx-coral); }
.nx-ico-danger { color: var(--nx-danger); }
.nx-ico-warn { color: var(--nx-warn); }
.nx-ico-navy { color: var(--nx-navy-text); }
.nx-ico-brand { color: var(--brand-accent); }
.nx-step-ico { display: inline-flex; color: var(--brand-accent); }
.nx-tile-ico { display: inline-flex; margin-bottom: 10px; color: var(--brand-accent); }
