/* ============================================================================
   Notely shared marketing + auth shell
   One design system for the landing page, sign-in/up, and legal pages.
   Scoped to classes so the React workspace tokens stay untouched.
   ========================================================================== */

:root {
  --n-bg: #060c1c;
  --n-bg-elev: #0a1224;
  --n-surface: #0c162b;
  --n-surface-2: #111d36;
  --n-ink: #f4f6ff;
  --n-ink-2: #c3cfe6;
  --n-muted: #8b99ba;
  --n-line: rgba(148, 170, 210, 0.16);
  --n-line-strong: rgba(148, 170, 210, 0.28);
  --n-cyan: #8fe8f8;
  --n-blue: #1f6fb5;
  --n-cyan-soft: rgba(143, 232, 248, 0.1);
  --n-blue-soft: rgba(31, 111, 181, 0.14);
  --n-danger: #ff8fab;
  --n-success: #7fe3c3;
  --n-radius-sm: 10px;
  --n-radius: 14px;
  --n-radius-lg: 20px;
  --n-radius-xl: 28px;
  --n-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.28);
  --n-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7);
  --n-shadow-lg: 0 40px 100px -40px rgba(0, 0, 0, 0.85);
  --n-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --n-container: 1160px;
  --n-font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --n-font-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --n-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;

  /* Aliases for the older auth/trial flow stylesheets (notely-flow.css) so the
     loading screen and entry-choice dialog inherit the same palette. */
  --bg: var(--n-bg);
  --ink: var(--n-ink);
  --mut: var(--n-muted);
  --lime: var(--n-cyan);
  --vio: var(--n-blue);
  --hero-surface: var(--n-surface);
  --hero-glass: color-mix(in srgb, var(--n-ink) 6%, transparent);
  --hero-glass-low: color-mix(in srgb, var(--n-ink) 2.5%, transparent);
  --hero-glass-border: var(--n-line-strong);
  --theme-contrast-ink: #06101d;
  --notely-theme-dark-bg: #060c1c;
  --notely-theme-light-bg: #f4f6ff;
}

html[data-theme='light'] {
  --n-bg: #f4f6ff;
  --n-bg-elev: #eef2fb;
  --n-surface: #ffffff;
  --n-surface-2: #f6f8fe;
  --n-ink: #0e1830;
  --n-ink-2: #3d4c6b;
  --n-muted: #64748f;
  --n-line: rgba(14, 24, 48, 0.1);
  --n-line-strong: rgba(14, 24, 48, 0.18);
  --n-cyan: #1f6fb5;
  --n-blue: #1f6fb5;
  --n-cyan-soft: rgba(31, 111, 181, 0.08);
  --n-blue-soft: rgba(31, 111, 181, 0.06);
  --n-danger: #b4234b;
  --n-success: #08785d;
  --n-shadow-sm: 0 1px 2px rgba(14, 24, 48, 0.06);
  --n-shadow: 0 16px 40px -22px rgba(14, 24, 48, 0.28);
  --n-shadow-lg: 0 40px 100px -50px rgba(14, 24, 48, 0.3);
  color-scheme: light;
}

/* --- Base reset (scoped to the marketing/auth shell) --------------------- */
.n-shell *, .n-shell *::before, .n-shell *::after { box-sizing: border-box; }
.n-shell body { margin: 0; }
.n-shell [hidden] { display: none !important; }
.n-shell img, .n-shell svg { max-width: 100%; }
.n-shell button { font: inherit; color: inherit; }
.n-shell p { margin: 0 0 1em; }
.n-shell p:last-child { margin-bottom: 0; }
.n-shell ul, .n-shell ol { margin: 0; }
.n-shell a { color: inherit; }

html.n-shell,
html.n-shell body,
html.n-shell body.n-auth,
html.n-shell body.n-auth-page {
  background: var(--n-bg);
  color: var(--n-ink);
  min-height: 100%;
}

/* Page-entry shutter (#pre). Hidden by default; the shutter controller shows
   it with an explicit display and translate. */
#pre.notely-shutter {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  place-items: center;
  background: var(--n-cyan);
  color: #06101d;
}
#pre.notely-shutter .notely-shutter-inner {
  display: flex; align-items: center; justify-content: center;
}
#pre.notely-shutter img { width: clamp(64px, 9vw, 112px); height: auto; }

body {
  font-family: var(--n-font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.n-shell ::selection { background: var(--n-cyan); color: var(--n-bg); }

.n-shell :focus-visible {
  outline: 2px solid var(--n-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Skip link ----------------------------------------------------------- */
.n-skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--n-radius-sm);
  background: var(--n-cyan); color: var(--n-bg);
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: top 160ms var(--n-ease);
}
.n-skip:focus { top: 16px; }

/* --- Layout -------------------------------------------------------------- */
.n-container {
  width: 100%;
  max-width: var(--n-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.n-section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.n-section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.n-rule { height: 1px; background: var(--n-line); border: 0; margin: 0; }

/* --- Typography ---------------------------------------------------------- */
.n-shell h1, .n-shell h2, .n-shell h3, .n-shell h4 {
  font-family: var(--n-font-display);
  font-weight: 700;
  color: var(--n-ink);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.n-display {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.02;
}
.n-h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.08; }
.n-h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.02em; }
.n-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--n-ink-2);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.n-body { font-size: 15px; line-height: 1.68; color: var(--n-muted); margin: 0; }
.n-small { font-size: 13px; line-height: 1.6; color: var(--n-muted); }
.n-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--n-muted);
}
.n-eyebrow--cyan { color: var(--n-cyan); }
html[data-theme='light'] .n-eyebrow--cyan { color: var(--n-blue); }
.n-mono { font-family: var(--n-font-mono); font-size: 12px; letter-spacing: 0; }

/* --- Buttons ------------------------------------------------------------- */
.n-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--n-font-ui);
  font-size: 14px; font-weight: 600; line-height: 1;
  padding: 13px 20px; border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
              transform 140ms var(--n-ease), box-shadow 160ms ease;
}
.n-btn:active { transform: scale(0.985); }
.n-btn svg { width: 16px; height: 16px; }
.n-btn--primary {
  background: var(--n-cyan); color: #06101d; font-weight: 700;
  box-shadow: 0 10px 30px -14px rgba(143, 232, 248, 0.55);
}
html[data-theme='dark'] .n-btn--primary { color: #06101d; }
html[data-theme='dark'] .n-btn--primary:hover { background: #a9f2ff; color: #06101d; }
.n-btn--primary:hover { background: #a9f2ff; }
html[data-theme='light'] .n-btn--primary { background: var(--n-blue); color: #fff; box-shadow: 0 10px 26px -16px rgba(31, 111, 181, 0.8); }
html[data-theme='light'] .n-btn--primary:hover { background: #155b96; }
.n-btn--solid { background: var(--n-blue); color: #fff; }
.n-btn--solid:hover { background: #2a82cc; }
html[data-theme='light'] .n-btn--solid { background: var(--n-blue); }
html[data-theme='light'] .n-btn--solid:hover { background: #155b96; }
.n-btn--ghost {
  background: transparent; color: var(--n-ink);
  border-color: var(--n-line-strong);
}
.n-btn--ghost:hover { background: var(--n-surface-2); border-color: var(--n-ink-2); }
.n-btn--quiet { background: transparent; color: var(--n-ink-2); padding: 10px 12px; }
.n-btn--quiet:hover { color: var(--n-ink); background: var(--n-surface-2); }
.n-btn--sm { padding: 9px 14px; font-size: 13px; }
.n-btn--lg { padding: 16px 26px; font-size: 15px; }
.n-btn--block { width: 100%; }

/* --- Nav ---------------------------------------------------------------- */
.n-nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--n-bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.n-nav.is-scrolled { border-bottom-color: var(--n-line); }
.n-nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 68px;
}
.n-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--n-font-display); font-size: 20px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--n-ink); text-decoration: none;
}
.n-brand img, .n-brand svg { width: 26px; height: 26px; border-radius: 7px; display: block; object-fit: contain; }
.n-nav__links { display: flex; align-items: center; gap: 4px; }
.n-nav__link {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--n-ink-2); text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}
.n-nav__link:hover { color: var(--n-ink); background: var(--n-surface-2); }
.n-nav__actions { display: flex; align-items: center; gap: 8px; }
.n-nav__toggle {
  display: none; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--n-line); background: transparent;
  color: var(--n-ink); cursor: pointer;
}
.n-theme-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 999px; border: 1px solid var(--n-line);
  background: transparent; color: var(--n-ink-2); cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.n-theme-btn:hover { color: var(--n-ink); border-color: var(--n-line-strong); background: var(--n-surface-2); }
.n-theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.n-theme-btn .n-sun { display: none; }
html[data-theme='dark'] .n-theme-btn .n-sun { display: block; }
html[data-theme='dark'] .n-theme-btn .n-moon { display: none; }

.n-nav__mobile {
  display: none;
  border-top: 1px solid var(--n-line);
  background: var(--n-bg);
  padding: 12px clamp(20px, 5vw, 40px) 20px;
}
.n-nav__mobile.is-open { display: block; }
.n-nav__mobile a {
  display: block; padding: 12px 4px; color: var(--n-ink-2); text-decoration: none;
  font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--n-line);
}
.n-nav__mobile .n-nav__cta { display: grid; gap: 8px; margin-top: 16px; }
.n-nav__mobile .n-btn { display: inline-flex; width: 100%; justify-content: center; text-align: center; }

/* --- Cards / surfaces ---------------------------------------------------- */
.n-card {
  background: var(--n-surface);
  border: 1px solid var(--n-line);
  border-radius: var(--n-radius-lg);
  box-shadow: var(--n-shadow-sm);
}
.n-card--pad { padding: clamp(20px, 3vw, 28px); }
.n-panel {
  background: var(--n-surface);
  border: 1px solid var(--n-line);
  border-radius: var(--n-radius-xl);
  overflow: hidden;
}
.n-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 5px 10px; border-radius: 999px;
  background: var(--n-cyan-soft); color: var(--n-cyan);
  border: 1px solid color-mix(in srgb, var(--n-cyan) 26%, transparent);
}
html[data-theme='light'] .n-tag { color: var(--n-blue); }
.n-tag--plain {
  background: var(--n-surface-2); color: var(--n-muted);
  border-color: var(--n-line);
}

/* --- Product screenshot frames ------------------------------------------ */
.n-frame {
  border-radius: var(--n-radius-lg);
  border: 1px solid var(--n-line-strong);
  background: var(--n-surface);
  box-shadow: var(--n-shadow-lg);
  overflow: hidden;
}
.n-frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--n-line);
  background: var(--n-surface-2);
}
.n-frame__dots { display: flex; gap: 6px; }
.n-frame__dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--n-line-strong); display: block;
}
.n-frame__url {
  flex: 1; min-width: 0; text-align: center;
  font-family: var(--n-font-mono); font-size: 10.5px; color: var(--n-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.n-frame img { display: block; width: 100%; height: auto; }

/* --- Reveal animation (JS adds is-visible) ------------------------------ */
/* Content is visible by default. Only when the page's inline script has
   confirmed IntersectionObserver support (html.n-anim) is it pre-hidden, so a
   failed script can never leave the page blank. */
.n-reveal { opacity: 1; transform: none; }
html.n-anim .n-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--n-ease), transform 620ms var(--n-ease);
  will-change: opacity, transform;
}
html.n-anim .n-reveal.is-visible { opacity: 1; transform: none; }
.n-reveal[data-delay='1'] { transition-delay: 70ms; }
.n-reveal[data-delay='2'] { transition-delay: 140ms; }
.n-reveal[data-delay='3'] { transition-delay: 210ms; }
.n-reveal[data-delay='4'] { transition-delay: 280ms; }

/* --- Footer -------------------------------------------------------------- */
.n-footer {
  border-top: 1px solid var(--n-line);
  padding: clamp(40px, 6vw, 64px) 0 32px;
  background: var(--n-bg-elev);
}
.n-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.n-footer__title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--n-muted); margin-bottom: 14px;
}
.n-footer__links { display: grid; gap: 10px; }
.n-footer__links a {
  font-size: 13.5px; color: var(--n-ink-2); text-decoration: none;
  transition: color 150ms ease;
}
.n-footer__links a:hover { color: var(--n-ink); }
.n-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--n-line);
  font-size: 12.5px; color: var(--n-muted);
}

/* --- Auth layouts -------------------------------------------------------- */
/* Single-column auth page (login, signup, password reset). */
.n-auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.n-auth-page .n-auth__main { flex: 1; min-height: 100vh; min-height: 100dvh; }

.n-auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.n-auth__aside {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  border-right: 1px solid var(--n-line);
  background:
    radial-gradient(700px 420px at 12% 8%, var(--n-cyan-soft), transparent 62%),
    var(--n-bg-elev);
  overflow: hidden;
}
.n-auth__main {
  display: flex; flex-direction: column;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px);
}
.n-auth__topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.n-auth__body {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 32px 0;
}
.n-auth__card { width: 100%; max-width: 412px; }
.n-auth__card h1 {
  font-size: clamp(25px, 2.6vw, 30px);
  letter-spacing: -0.032em;
  line-height: 1.12;
  max-width: 22ch;
}
.n-auth__sub { margin: 10px 0 24px; font-size: 13.5px; line-height: 1.6; color: var(--n-muted); max-width: 46ch; }
.n-auth__foot { text-align: center; font-size: 13px; color: var(--n-muted); margin-top: 20px; }
.n-auth__legal {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px; font-size: 12.5px;
}
.n-auth__legal a { color: var(--n-ink-2); font-weight: 500; text-decoration: none; background: none; border: 0; padding: 0; font-family: inherit; font-size: inherit; cursor: pointer; }
.n-auth__legal a:hover { color: var(--n-ink); text-decoration: underline; text-underline-offset: 3px; }
.n-auth__legal > span { color: var(--n-line-strong); }
.n-auth__fine {
  margin: 18px auto 0; max-width: 46ch;
  font-size: 11.5px; line-height: 1.6; color: var(--n-muted);
}
.n-auth__foot { text-wrap: pretty; }
.n-auth__fine a { color: var(--n-ink-2); }
.n-auth__foot a, .n-auth__foot button {
  color: var(--n-ink); font-weight: 600; text-decoration: none;
  background: none; border: 0; font-family: inherit; font-size: inherit; cursor: pointer; padding: 0;
}
.n-auth__foot a:hover, .n-auth__foot button:hover { text-decoration: underline; text-underline-offset: 3px; }
.n-auth__aside-note { font-size: 12px; color: var(--n-muted); line-height: 1.7; max-width: 44ch; }

/* --- Forms --------------------------------------------------------------- */
.n-field { display: grid; gap: 6px; margin-bottom: 14px; }
.n-field > label {
  font-size: 12.5px; font-weight: 600; color: var(--n-ink-2);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.n-field > label a { color: var(--n-muted); font-weight: 500; font-size: 12px; text-decoration: none; }
.n-field > label a:hover { color: var(--n-ink); text-decoration: underline; }
.n-input-wrap { position: relative; display: flex; align-items: center; }
.n-input-wrap > svg {
  position: absolute; left: 14px; width: 16px; height: 16px;
  color: var(--n-muted); pointer-events: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.n-input {
  width: 100%; min-height: 46px;
  font-family: var(--n-font-ui); font-size: 14px;
  color: var(--n-ink); background: var(--n-surface);
  border: 1px solid var(--n-line-strong);
  border-radius: var(--n-radius);
  padding: 12px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.n-input-wrap > svg + .n-input { padding-left: 40px; }
.n-input::placeholder { color: var(--n-muted); opacity: 0.85; }
.n-input:hover { border-color: var(--n-ink-2); }
.n-input:focus {
  outline: none;
  border-color: var(--n-cyan);
  box-shadow: 0 0 0 3px var(--n-cyan-soft);
}
.n-input[aria-invalid='true'] { border-color: var(--n-danger); }
.n-input[aria-invalid='true']:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-danger) 18%, transparent); }
.n-input:disabled { opacity: 0.6; cursor: not-allowed; }
.n-input-wrap .n-input { padding-right: 52px; }
.n-reveal-pw {
  position: absolute; right: 6px;
  border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600;
  color: var(--n-muted); padding: 8px 10px; border-radius: 8px;
}
.n-reveal-pw:hover { color: var(--n-ink); background: var(--n-surface-2); }
.n-hint { font-size: 12px; line-height: 1.5; color: var(--n-muted); margin: 0; }
.n-error-text { font-size: 12px; line-height: 1.5; color: var(--n-danger); margin: 0; }
.n-captcha {
  min-height: 64px; margin: 2px 0 16px;
  display: flex; align-items: center;
  border-radius: var(--n-radius);
  overflow: hidden;
}
.n-captcha:empty::before {
  content: 'Loading security check…';
  font-size: 12px; color: var(--n-muted);
}
.n-form-alert {
  display: none;
  gap: 9px; align-items: flex-start;
  font-size: 13px; line-height: 1.5;
  padding: 11px 13px; border-radius: var(--n-radius-sm);
  margin: 0 0 16px;
  border: 1px solid transparent;
}
.n-form-alert.is-visible { display: flex; }
.n-form-alert[data-type='error'] {
  color: var(--n-danger);
  background: color-mix(in srgb, var(--n-danger) 10%, transparent);
  border-color: color-mix(in srgb, var(--n-danger) 30%, transparent);
}
.n-form-alert[data-type='success'] {
  color: var(--n-success);
  background: color-mix(in srgb, var(--n-success) 10%, transparent);
  border-color: color-mix(in srgb, var(--n-success) 30%, transparent);
}
.n-form-alert svg { width: 15px; height: 15px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.n-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.55; color: var(--n-muted); }
.n-check input { width: 15px; height: 15px; margin-top: 1px; accent-color: var(--n-cyan); flex: none; }
.n-check a { color: var(--n-ink-2); text-decoration: underline; text-underline-offset: 2px; }

.n-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--n-muted); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.n-divider::before, .n-divider::after { content: ''; flex: 1; height: 1px; background: var(--n-line); }

/* Spinner inside buttons */
.n-spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: n-spin 700ms linear infinite; flex: none;
}
@keyframes n-spin { to { transform: rotate(360deg); } }
.n-btn.is-loading { cursor: wait; }
.n-btn.is-loading > *:not(.n-spinner) { opacity: 0.75; }

/* Steps list used on auth aside */
.n-steps { display: grid; gap: 18px; counter-reset: n-step; }
.n-step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.n-step__num {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--n-cyan-soft); color: var(--n-cyan);
  border: 1px solid color-mix(in srgb, var(--n-cyan) 24%, transparent);
  font-size: 11.5px; font-weight: 700;
}
html[data-theme='light'] .n-step__num { color: var(--n-blue); }
.n-step h3 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin: 3px 0 3px; }
.n-step p { font-size: 12.5px; line-height: 1.6; color: var(--n-muted); margin: 0; }

/* --- Utilities ----------------------------------------------------------- */
.n-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.n-stack { display: grid; }
.n-gap-8 { gap: 8px; } .n-gap-12 { gap: 12px; } .n-gap-16 { gap: 16px; }
.n-gap-20 { gap: 20px; } .n-gap-24 { gap: 24px; } .n-gap-32 { gap: 32px; }
.n-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.n-hide { display: none !important; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .n-auth { grid-template-columns: minmax(0, 1fr); }
  .n-auth__aside { display: none; }
  .n-auth__main { min-height: 100dvh; }
}

@media (max-width: 860px) {
  .n-nav__links { display: none; }
  .n-nav__toggle { display: inline-flex; }
  .n-nav__actions .n-hide-sm { display: none; }
  .n-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .n-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .n-footer__bottom { justify-content: flex-start; }
  .n-auth__main { padding: 20px; }
  .n-nav__inner { height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html.n-anim .n-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .n-spinner { animation-duration: 1.6s; }
  .n-shell * { scroll-behavior: auto !important; }
}
