/* Nexora public site system
   Sections: Variables, Base, Navbar, Hero, Cards, Forms, Footer, Responsive
   Scoped to body.nx-public-body so dashboard styles remain untouched.
*/

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg-main: #f7fbff;
  --bg-deep: #edf6ff;
  --bg-surface: rgba(255, 255, 255, 0.86);
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-strong: #ffffff;
  --border-soft: rgba(25, 73, 130, 0.13);
  --border-strong: rgba(19, 136, 255, 0.34);
  --text-main: #101a2d;
  --text-body: #31425c;
  --text-muted: #62738c;
  --text-soft: #8394aa;
  --accent-blue: #1388ff;
  --accent-blue-2: #0067df;
  --accent-cyan: #009fd6;
  --accent-soft: rgba(19, 136, 255, 0.1);
  --cyan-soft: rgba(0, 159, 214, 0.09);
  --green-soft: rgba(25, 147, 93, 0.1);
  --radius-card: 16px;
  --radius-small: 12px;
  --shadow-soft: 0 18px 48px rgba(26, 71, 125, 0.09);
  --shadow-hover: 0 22px 58px rgba(19, 91, 173, 0.14);
  --font-main: "Plus Jakarta Sans", "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nx-public-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 76% 8%, rgba(19, 136, 255, 0.13), transparent 27%),
    radial-gradient(circle at 14% 10%, rgba(0, 159, 214, 0.08), transparent 25%),
    linear-gradient(rgba(19, 72, 130, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 72, 130, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--bg-main) 44%, #eef7ff 100%);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  color: var(--text-body);
  font-family: var(--font-main);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.nx-public-body a {
  color: inherit;
  text-decoration: none;
}

body.nx-public-body * {
  min-width: 0;
}

body.nx-public-body h1,
body.nx-public-body h2,
body.nx-public-body h3,
body.nx-public-body p,
body.nx-public-body a,
body.nx-public-body button,
body.nx-public-body span,
body.nx-public-body strong,
body.nx-public-body small,
body.nx-public-body li {
  overflow-wrap: anywhere;
}

body.nx-public-body a,
body.nx-public-body button,
body.nx-public-body input,
body.nx-public-body textarea,
body.nx-public-body .nx-card,
body.nx-public-body .nx-opportunity,
body.nx-public-body .nx-metric,
body.nx-public-body .nx-preview-card {
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    color 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

body.nx-public-body a:focus-visible,
body.nx-public-body button:focus-visible,
body.nx-public-body input:focus-visible,
body.nx-public-body textarea:focus-visible {
  outline: 3px solid rgba(46, 231, 255, 0.28);
  outline-offset: 3px;
}

.nx-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.nx-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(26, 71, 125, 0.045);
}

.nx-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.nx-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  border: 1px solid rgba(19, 136, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(19, 136, 255, 0.08);
}

.nx-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.34);
}

.nx-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.nx-links a {
  border-radius: 999px;
  padding: 9px 12px;
}

.nx-links a:hover,
.nx-links a[aria-current="page"] {
  background: rgba(19, 136, 255, 0.08);
  color: var(--accent-blue);
}

.nx-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.nx-btn,
.nx-btn-ghost,
.nx-btn-soft,
.nx-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow-wrap: normal;
}

.nx-btn {
  border: 1px solid rgba(46, 231, 255, 0.22);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(19, 136, 255, 0.22);
}

.nx-btn:hover,
.nx-form button:hover,
.nx-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(19, 136, 255, 0.28);
}

.nx-form button:disabled,
.nx-search button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.nx-btn-ghost {
  color: var(--text-muted);
}

.nx-btn-ghost:hover {
  color: var(--accent-blue);
}

.nx-btn-soft {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-main);
}

.nx-btn-soft:hover {
  border-color: var(--border-strong);
  background: rgba(19, 136, 255, 0.1);
}

.nx-menu-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-main);
  cursor: pointer;
}

.nx-menu-toggle::before {
  content: "Menu";
}

.nx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding: 74px 0 48px;
}

.nx-page-hero {
  padding: 76px 0 34px;
}

.nx-hero-showcase {
  width: min(100%, 1120px);
  margin: 4px auto 34px;
}

.nx-hero-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.nx-hero-showcase.is-wide {
  width: min(100vw, 1380px);
  margin-top: 8px;
  margin-right: calc(50% - min(50vw, 690px));
  margin-left: calc(50% - min(50vw, 690px));
  overflow: hidden;
}

.nx-hero-showcase.is-wide img {
  width: 100%;
  max-width: none;
  margin-left: 50%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.nx-download-blend {
  width: min(100%, 760px);
  margin: 0 auto 30px;
  padding: 0;
}

.nx-download-blend img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter:
    drop-shadow(0 18px 40px rgba(26, 71, 125, 0.07))
    saturate(0.96);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.nx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nx-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-blue);
  box-shadow: 0 0 14px rgba(19, 136, 255, 0.42);
}

.nx-hero h1,
.nx-page-hero h1,
.nx-section-head h2,
.nx-cta h2 {
  margin: 0;
  color: var(--text-main);
  letter-spacing: -0.045em;
}

.nx-hero h1 {
  max-width: 790px;
  font-size: clamp(46px, 6.6vw, 82px);
  line-height: 0.98;
}

.nx-page-hero h1 {
  max-width: 850px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
}

.nx-hero h1 span,
.nx-page-hero h1 span {
  color: var(--accent-blue);
}

.nx-lede,
.nx-page-hero p:not(.nx-kicker),
.nx-section-head p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.nx-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.nx-search input,
.nx-form input,
.nx-form textarea {
  min-width: 0;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-main);
  font: inherit;
  outline: 0;
}

.nx-search input {
  border: 0;
  padding: 0 16px;
  background: transparent;
  font-size: 16px;
}

.nx-search input::placeholder,
.nx-form input::placeholder,
.nx-form textarea::placeholder {
  color: #8a9bb1;
}

.nx-search button,
.nx-form button {
  min-height: 46px;
  border: 0;
  border-radius: 15px;
  padding: 0 22px;
  background: var(--accent-blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.nx-hero-actions,
.nx-tabs,
.nx-card-tags,
.nx-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nx-hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.nx-preview-wrap {
  position: relative;
}

.nx-preview-wrap::before {
  content: "";
  position: absolute;
  inset: 10% -8% 8% 12%;
  z-index: 0;
  border-radius: 32px;
  background: rgba(19, 136, 255, 0.12);
  filter: blur(44px);
}

.nx-preview,
.nx-card,
.nx-opportunity,
.nx-metric,
.nx-roadmap,
.nx-form,
.nx-auth-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.nx-preview {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 255, 0.9)),
    var(--bg-surface);
}

.nx-preview:hover {
  border-color: rgba(19, 136, 255, 0.24);
  box-shadow: var(--shadow-hover);
}

.nx-preview-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 750;
}

.nx-preview-head strong {
  color: var(--accent-blue);
}

.nx-preview-search {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 0 15px;
  background: rgba(241, 247, 253, 0.94);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 750;
}

.nx-preview-card {
  margin-top: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.78);
}

.nx-preview-card small,
.nx-card small {
  color: var(--accent-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nx-preview-card h3,
.nx-card h3,
.nx-opportunity h3,
.nx-roadmap h2 {
  margin: 12px 0 8px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.nx-preview-card p,
.nx-card p,
.nx-opportunity p,
.nx-roadmap p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.nx-preview-tags,
.nx-card-tags {
  margin-top: 14px;
}

.nx-preview-tags span,
.nx-card-tags span,
.nx-badge,
.nx-mode,
.nx-tabs a {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  overflow-wrap: normal;
}

.nx-card-tags span,
.nx-preview-tags span,
.nx-badge {
  background: var(--accent-soft);
  color: #0867c5;
}

.nx-mode {
  background: var(--green-soft);
  color: #147a4b;
}

.nx-section {
  padding: 42px 0;
}

.nx-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}

.nx-section-head h2 {
  max-width: 650px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.nx-section-head p {
  max-width: 520px;
  margin: 0;
  font-size: 16px;
}

.nx-tabs {
  margin-bottom: 20px;
}

.nx-tabs a {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
}

.nx-tabs a:hover,
.nx-tabs a.active {
  border-color: rgba(19, 136, 255, 0.32);
  background: rgba(19, 136, 255, 0.1);
  color: var(--text-main);
}

.nx-grid,
.nx-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nx-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nx-article {
  max-width: 880px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.nx-article h1 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.nx-article-lede {
  margin: 24px 0 34px;
  color: var(--text-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.nx-article section {
  margin-top: 30px;
  border-top: 1px solid var(--border-soft);
  padding-top: 26px;
}

.nx-article h2 {
  margin: 0 0 12px;
  color: var(--text-main);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.nx-article p,
.nx-article li {
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.72;
}

.nx-article ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.nx-article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.nx-article-links a {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-blue);
  font-size: 14px;
  font-weight: 800;
}

.nx-article-links a:hover {
  border-color: var(--border-strong);
  background: rgba(19, 136, 255, 0.09);
}

.nx-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nx-opportunity {
  display: flex;
  min-height: 302px;
  flex-direction: column;
  padding: 20px;
}

.nx-card,
.nx-roadmap,
.nx-metric {
  padding: 24px;
}

.nx-opportunity:hover,
.nx-card:hover,
.nx-metric:hover,
.nx-roadmap:hover,
.nx-auth-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--bg-card-strong);
}

.nx-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.nx-deadline {
  margin-top: 14px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 750;
}

.nx-card-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-blue);
  font-size: 14px;
  font-weight: 800;
}

.nx-card-link:hover {
  color: var(--accent-blue-2);
}

.nx-metric strong {
  display: block;
  color: var(--text-main);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.nx-metric span {
  display: block;
  margin-top: 9px;
  color: var(--text-muted);
  font-weight: 800;
}

.nx-step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(19, 136, 255, 0.18);
  color: #0867c5;
  font-weight: 800;
}

.nx-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
}

.nx-roadmap {
  background:
    linear-gradient(135deg, rgba(19, 136, 255, 0.09), rgba(255, 255, 255, 0.58)),
    var(--bg-surface);
}

.nx-proof-list {
  display: grid;
  gap: 12px;
}

.nx-proof-item {
  display: grid;
  grid-template-columns: minmax(112px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-small);
  padding: 16px;
  background: var(--bg-surface);
}

.nx-proof-item:has(.nx-proof-icon) {
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
}

.nx-proof-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--accent-blue);
  font-weight: 800;
}

.nx-proof-item strong {
  display: block;
  color: var(--text-main);
  line-height: 1.18;
}

.nx-proof-item span {
  display: block;
  margin-top: 0;
  color: var(--text-muted);
  line-height: 1.4;
}

.nx-proof-item div span {
  margin-top: 3px;
}

.nx-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 34px 0 56px;
  border: 1px solid rgba(19, 136, 255, 0.18);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 46px);
  background:
    radial-gradient(circle at 88% 18%, rgba(19, 136, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(230, 244, 255, 0.96));
  box-shadow: var(--shadow-soft);
}

.nx-cta p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.nx-form,
.nx-auth-card {
  padding: clamp(22px, 4vw, 34px);
}

.nx-auth-note {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.nx-auth-note strong {
  color: var(--text-main);
  font-size: 14px;
}

.nx-auth-note span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.nx-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.65fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 46px 0;
}

.nx-form {
  display: grid;
  gap: 14px;
}

.nx-form label {
  display: grid;
  gap: 8px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 700;
}

.nx-form input,
.nx-form textarea {
  width: 100%;
  padding: 13px 14px;
}

.nx-form textarea {
  min-height: 126px;
  resize: vertical;
}

.nx-form h2 {
  margin: 0 0 8px;
  color: var(--text-main);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.form-status,
.auth-alt {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.form-status {
  display: none;
}

.form-status:not(:empty) {
  display: block;
  border: 1px solid rgba(19, 136, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(19, 136, 255, 0.07);
  color: #164a7d;
  font-size: 14px;
  font-weight: 650;
}

.form-status[data-error="true"]:not(:empty) {
  border-color: rgba(180, 35, 24, 0.18);
  background: rgba(180, 35, 24, 0.07);
  color: #b42318;
}

.reset-feedback {
  margin: -6px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.reset-feedback[data-error="true"] {
  color: #b42318;
}

.password-policy {
  margin: -8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.auth-alt a {
  color: var(--accent-blue);
  font-weight: 800;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border-soft);
}

.auth-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nx-form .auth-provider-button {
  min-height: 46px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
  color: var(--text-main);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nx-form .auth-provider-button:hover {
  border-color: var(--border-strong);
  background: rgba(19, 136, 255, 0.08);
  box-shadow: none;
  color: var(--text-main);
  transform: none;
}

.nx-form .auth-provider-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.auth-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nx-form .auth-link-button {
  display: inline;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
  font: inherit;
  font-weight: 800;
  vertical-align: baseline;
}

.nx-form .auth-link-button:hover {
  background: transparent;
  box-shadow: none;
  color: var(--accent-blue);
  transform: none;
}

.auth-link-button:hover {
  color: var(--accent-blue-2);
}

.auth-link-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.nx-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border-soft);
  padding: 32px 0 44px;
  color: var(--text-muted);
}

.nx-footer strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 5px;
}

.nx-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.nx-footer nav a:hover {
  color: var(--accent-blue);
}

.nx-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.nx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.nx-public-body a,
  body.nx-public-body button,
  body.nx-public-body input,
  body.nx-public-body textarea,
  body.nx-public-body .nx-card,
  body.nx-public-body .nx-opportunity,
  body.nx-public-body .nx-metric,
  body.nx-public-body .nx-preview-card,
  .nx-reveal {
    transition: none;
  }

  .nx-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .nx-nav {
    grid-template-columns: auto 1fr auto;
  }

  .nx-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 22px 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 44px rgba(26, 71, 125, 0.09);
  }

  .nx-public-body.nav-open .nx-links {
    display: flex;
  }

  .nx-menu-toggle {
    display: inline-flex;
  }

  .nx-actions {
    justify-content: flex-end;
  }

  .nx-hero,
  .nx-proof,
  .nx-auth-shell {
    grid-template-columns: 1fr;
  }

  .nx-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nx-shell {
    width: min(100% - 30px, 1180px);
  }

  .nx-nav {
    min-height: 64px;
    gap: 12px;
  }

  .nx-btn-ghost {
    display: none;
  }

  .nx-hero {
    padding: 44px 0 32px;
  }

  .nx-search,
  .nx-cta {
    grid-template-columns: 1fr;
  }

  .nx-search input {
    min-height: 44px;
  }

  .nx-grid,
  .nx-resource-grid,
  .nx-workflow {
    grid-template-columns: 1fr;
  }

  .nx-section-head,
  .nx-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nx-proof-item {
    grid-template-columns: 1fr;
  }

  .nx-proof-item:has(.nx-proof-icon) {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .nx-download-blend {
    width: min(100%, 540px);
    margin: 0 auto 24px;
  }

  .nx-download-blend img {
    opacity: 0.86;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  }
}

@media (max-width: 480px) {
  .nx-shell {
    width: min(100% - 24px, 1180px);
  }

  .nx-brand span {
    font-size: 17px;
  }

  .nx-brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .nx-actions .nx-btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .nx-hero h1,
  .nx-page-hero h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .nx-lede,
  .nx-page-hero p:not(.nx-kicker) {
    font-size: 17px;
  }

  .nx-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nx-hero-actions a {
    width: 100%;
  }

  .nx-metrics {
    grid-template-columns: 1fr;
  }

  .nx-opportunity,
  .nx-card,
  .nx-roadmap,
  .nx-preview,
  .nx-auth-card {
    padding: 18px;
  }
}
