:root {
  --nr-bg: #090a0f;
  --nr-bg-soft: #101116;
  --nr-surface: #15161c;
  --nr-surface-light: #f4f3f7;
  --nr-text: #f6f4f8;
  --nr-text-dark: #141318;
  --nr-muted: #aaa7b3;
  --nr-muted-dark: #615e69;
  --nr-line: rgba(255, 255, 255, 0.12);
  --nr-line-dark: rgba(20, 19, 24, 0.12);
  --nr-violet: #a992ff;
  --nr-violet-deep: #7565d8;
  --nr-violet-soft: #d6ccff;
  --nr-radius-lg: 26px;
  --nr-radius-md: 18px;
  --nr-max: 1200px;
  --nr-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--nr-bg);
}

body.nr-landing #root,
body:not(.nr-app) #root {
  display: none;
}

body.nr-app #nr-site {
  display: none;
}

body.nr-app #root {
  display: block;
}

.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;
}

.nr-site,
.nr-site * {
  box-sizing: border-box;
}

.nr-site {
  min-height: 100vh;
  overflow-x: clip;
  color: var(--nr-text);
  background:
    radial-gradient(circle at 78% 7%, rgba(122, 99, 212, 0.13), transparent 28rem),
    linear-gradient(180deg, #090a0f 0%, #0d0e14 60%, #090a0f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.nr-site a {
  color: inherit;
}

.nr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--nr-max)) / 2));
  border-bottom: 1px solid var(--nr-line);
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: blur(18px) saturate(120%);
}

.nr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nr-text);
  text-decoration: none;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.nr-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nr-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nr-nav > a {
  position: relative;
  color: #c5c2cc;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nr-nav > a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--nr-violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nr-nav > a:hover,
.nr-nav > a:focus-visible {
  color: #fff;
}

.nr-nav > a:hover::after,
.nr-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.nr-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--nr-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.nr-menu-toggle > span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nr-section {
  width: min(var(--nr-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.nr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 78px;
  padding-bottom: 86px;
}

.nr-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.nr-eyebrow {
  margin: 0 0 20px;
  color: var(--nr-violet-soft);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nr-hero h1,
.nr-section h2,
.nr-module-card h3,
.nr-footer h2 {
  margin-top: 0;
  text-wrap: balance;
}

.nr-hero h1 {
  max-width: 800px;
  margin-bottom: 26px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.nr-lead-text {
  max-width: 680px;
  margin: 0;
  color: #c9c6d0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.nr-audience {
  margin: 22px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.nr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.nr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nr-button:hover {
  transform: translateY(-1px);
}

.nr-button:active {
  transform: translateY(0);
}

.nr-button:focus-visible,
.nr-site a:focus-visible,
.nr-site input:focus-visible,
.nr-site textarea:focus-visible,
.nr-copy-phone:focus-visible,
.nr-menu-toggle:focus-visible {
  outline: 3px solid rgba(169, 146, 255, 0.45);
  outline-offset: 3px;
}

.nr-site .nr-button-primary {
  color: #111015;
  background: #f2efff;
  box-shadow: 0 10px 34px rgba(117, 101, 216, 0.17);
}

.nr-button-primary:hover {
  background: #fff;
}

.nr-button-secondary,
.nr-button-quiet {
  color: #f5f2fa;
  border-color: var(--nr-line);
  background: rgba(255, 255, 255, 0.045);
}

.nr-button-secondary:hover,
.nr-button-quiet:hover {
  border-color: rgba(214, 204, 255, 0.38);
  background: rgba(255, 255, 255, 0.075);
}

.nr-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.nr-module-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #bcb8c5;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nr-module-tags a:hover,
.nr-module-tags a:focus-visible {
  color: #fff;
  border-color: rgba(169, 146, 255, 0.55);
  background: rgba(169, 146, 255, 0.12);
}

.nr-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
}

.nr-hero-visual::before {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 101, 216, 0.13), transparent 68%);
}

.nr-hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.36));
  animation: nr-float 7s ease-in-out infinite;
}

.nr-visual-label {
  position: absolute;
  right: 6%;
  bottom: 10%;
  z-index: 2;
  padding: 9px 13px;
  color: #d7d2de;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  background: rgba(9, 10, 15, 0.76);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

@keyframes nr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.nr-intro {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--nr-max)) / 2));
  padding-left: max(24px, calc((100vw - var(--nr-max)) / 2));
  color: var(--nr-text-dark);
  background: var(--nr-surface-light);
}

.nr-intro .nr-eyebrow {
  color: var(--nr-violet-deep);
}

.nr-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 84px;
}

.nr-intro h2,
.nr-section-heading h2,
.nr-lead-copy h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.nr-intro-grid > p {
  max-width: 560px;
  margin: 4px 0 0;
  color: var(--nr-muted-dark);
  font-size: 19px;
  line-height: 1.65;
}

.nr-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 46px;
}

.nr-section-heading > p {
  margin: 0 0 7px;
  color: var(--nr-muted);
}

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

.nr-card {
  padding: 30px;
  border: 1px solid var(--nr-line);
  border-radius: var(--nr-radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.12);
}

.nr-module-card {
  scroll-margin-top: 106px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nr-module-card:hover {
  border-color: rgba(169, 146, 255, 0.38);
  background: linear-gradient(160deg, rgba(169, 146, 255, 0.11), rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.17);
}

.nr-social-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 28px 32px;
  border: 1px solid var(--nr-line);
  border-radius: var(--nr-radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.nr-social-kicker {
  color: var(--nr-violet-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nr-social-strip p {
  margin: 5px 0 0;
  color: #c8c4cf;
  font-size: 14px;
}

.nr-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nr-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  color: #f2eff8;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nr-social-links a:hover {
  border-color: rgba(169, 146, 255, 0.55);
  background: rgba(169, 146, 255, 0.1);
}

.nr-social-links a span {
  color: var(--nr-violet-soft);
}

.nr-card-index {
  display: block;
  margin-bottom: 72px;
  color: var(--nr-violet-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nr-module-card h3 {
  margin-bottom: 18px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.nr-module-card > p {
  min-height: 112px;
  margin: 0;
  color: #b7b3bf;
}

.nr-module-card ul {
  display: grid;
  gap: 11px;
  padding: 22px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--nr-line);
  list-style: none;
}

.nr-module-card li {
  position: relative;
  padding-left: 19px;
  color: #e6e2eb;
  font-size: 14px;
}

.nr-module-card li::before {
  position: absolute;
  top: 0.61em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--nr-violet);
}

#nr-efficiency {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--nr-max)) / 2));
  padding-left: max(24px, calc((100vw - var(--nr-max)) / 2));
  color: var(--nr-text-dark);
  background: var(--nr-surface-light);
}

#nr-efficiency .nr-eyebrow {
  color: var(--nr-violet-deep);
}

#nr-efficiency .nr-section-heading > p {
  color: var(--nr-muted-dark);
}

.nr-efficiency-list {
  display: grid;
  gap: 12px;
}

.nr-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--nr-line-dark);
  border-radius: var(--nr-radius-lg);
  background: rgba(255, 255, 255, 0.55);
}

.nr-comparison > div {
  padding: 24px;
  border-radius: var(--nr-radius-md);
  background: #fff;
}

.nr-comparison > div:nth-child(2) {
  background: #e9e5f7;
}

.nr-comparison span {
  display: block;
  margin-bottom: 16px;
  color: var(--nr-muted-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nr-comparison p {
  margin: 0;
  font-size: 17px;
}

.nr-comparison > a {
  grid-column: 1 / -1;
  padding: 8px 12px 4px;
  color: #5d4fb1;
  font-size: 13px;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nr-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.nr-price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--nr-line);
  border-radius: var(--nr-radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.nr-price-option {
  width: 100%;
  color: var(--nr-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nr-price-option:hover,
.nr-price-option:focus-visible {
  border-color: rgba(169, 146, 255, 0.65);
  background: rgba(169, 146, 255, 0.085);
}

.nr-price-option[aria-pressed="true"] {
  border-color: var(--nr-violet);
  background: rgba(169, 146, 255, 0.14);
}

.nr-price-option[aria-pressed="true"] > span::after {
  content: "  ✓";
  color: var(--nr-violet-soft);
}

.nr-price-card span {
  color: #c4c0ca;
}

.nr-price-card strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.nr-price-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 220px;
  padding: 34px;
  color: var(--nr-text-dark);
  background: var(--nr-surface-light);
}

.nr-price-summary {
  display: grid;
  gap: 10px;
}

.nr-price-amount {
  display: grid;
  gap: 5px;
  justify-items: end;
  grid-row: 1;
  grid-column: 2;
}

.nr-price-amount del {
  color: #7b7782;
  font-size: 18px;
}

.nr-price-featured .nr-price-amount > span {
  color: #6456bd;
  font-size: 13px;
  font-weight: 700;
}

.nr-price-featured span {
  color: var(--nr-muted-dark);
}

.nr-price-featured strong {
  font-size: clamp(48px, 7vw, 88px);
}

.nr-price-featured small {
  color: var(--nr-violet-deep);
  font-size: 16px;
  font-weight: 700;
}

.nr-lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 56px;
  align-items: start;
}

.nr-lead-copy {
  position: sticky;
  top: 112px;
}

.nr-lead-copy > p:last-child {
  max-width: 430px;
  color: var(--nr-muted);
}

.nr-form {
  padding: 28px;
  border: 1px solid var(--nr-line);
  border-radius: var(--nr-radius-lg);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--nr-shadow);
}

.nr-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--nr-line);
}

.nr-form-head img {
  flex: 0 0 auto;
  object-fit: contain;
}

.nr-form-head strong,
.nr-form-head span {
  display: block;
}

.nr-form-head strong {
  font-size: 17px;
}

.nr-form-head span {
  margin-top: 2px;
  color: var(--nr-muted);
  font-size: 13px;
}

.nr-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
}

.nr-form label {
  display: grid;
  gap: 8px;
}

.nr-form label > span {
  color: #d6d2dc;
  font-size: 12px;
  font-weight: 650;
}

.nr-form label small {
  color: #88848f;
  font-weight: 500;
}

.nr-form input,
.nr-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(5, 5, 8, 0.54);
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, background 160ms ease;
}

.nr-form input:hover,
.nr-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.nr-form input:focus,
.nr-form textarea:focus {
  border-color: rgba(169, 146, 255, 0.72);
  background: rgba(5, 5, 8, 0.76);
  outline: none;
}

.nr-form input[aria-invalid="true"] {
  border-color: #e3909c;
}

.nr-form textarea {
  min-height: 116px;
  resize: vertical;
}

.nr-form-wide {
  grid-column: 1 / -1;
}

.nr-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.nr-consent {
  margin: 18px 0;
  color: #8e8a95;
  font-size: 11px;
}

.nr-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nr-form-status {
  color: #c3becb;
  font-size: 13px;
}

.nr-form-status[data-state="success"] {
  color: #b9dbc5;
}

.nr-form-status[data-state="error"] {
  color: #e9a4ae;
}

.nr-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  width: min(var(--nr-max), calc(100% - 48px));
  padding: 58px 0 34px;
  margin: 0 auto;
  border-top: 1px solid var(--nr-line);
}

.nr-footer-brand p {
  margin: 16px 0 0;
  color: var(--nr-muted);
}

.nr-contact-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.nr-footer h2 {
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nr-contact-group > a,
.nr-phone-row > a {
  color: #e7e3ec;
  text-decoration: none;
}

.nr-contact-group > a:hover,
.nr-phone-row > a:hover {
  color: #fff;
}

.nr-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nr-copy-phone {
  padding: 5px 9px;
  color: #b7b2be;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.nr-legal-compact {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 26px;
  color: #787580;
  border-top: 1px solid var(--nr-line);
  font-size: 11px;
}

.nr-legal-compact a,
.nr-consent a {
  color: #c8bfdc;
  text-decoration-color: rgba(200, 191, 220, 0.45);
  text-underline-offset: 3px;
}

.nr-legal-compact a:hover,
.nr-consent a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

/* Login alone follows the public site's visual language; the cabinet stays untouched. */
body.nr-app:has(#root .modalOverlay input[type="password"]) #nr-site {
  display: block;
}

body.nr-app:has(#root .modalOverlay input[type="password"]) #root .siteFrame,
body.nr-app:has(#root .modalOverlay input[type="password"]) #root .fixedToast {
  display: none;
}

body.nr-app #root .modalOverlay:has(input[type="password"]) {
  background: rgba(6, 6, 10, 0.68);
  backdrop-filter: blur(10px);
}

body.nr-app #root .modal:has(input[type="password"]) {
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f4f8;
  --muted: #aaa7b3;
  --cyan: #a992ff;
  --blue: #9986ee;
  --violet: #a992ff;
  position: relative;
  width: min(100% - 32px, 480px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 26px;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 10%, rgba(126, 101, 216, 0.17), transparent 42%),
    linear-gradient(160deg, #1a1a21, #111218 82%);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nr-app #root .modal:has(input[type="password"])::before {
  content: "Neiris";
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-left: 48px;
  margin-bottom: 36px;
  color: #f6f4f8;
  background: url('/assets/neiris-n-mark.png') left center / 40px 40px no-repeat;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

body.nr-app #root .modal:has(input[type="password"]) > .moduleIcon {
  display: none;
}

body.nr-app #root .modal:has(input[type="password"]) h2 {
  max-width: 390px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(32px, 6vw, 42px);
  line-height: 1.07;
  letter-spacing: -0.05em;
}

body.nr-app #root .modal:has(input[type="password"]) .muted {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.55;
}

body.nr-app #root .modal:has(input[type="password"]) .close {
  top: 30px;
  right: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

body.nr-app #root .modal:has(input[type="password"]) input {
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: #101116;
}

body.nr-app #root .modal:has(input[type="password"]) input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(169, 146, 255, 0.17);
}

body.nr-app #root .modal:has(input[type="password"]) .button.primary {
  min-height: 52px;
  margin-top: 10px;
  border: 1px solid #eee9ff;
  border-radius: 999px;
  color: #17141e;
  background: #eee9ff;
  box-shadow: 0 14px 32px rgba(137, 114, 223, 0.13);
  font-weight: 750;
}

body.nr-app #root .modal:has(input[type="password"]) .button.primary:hover {
  background: #fff;
}

body.nr-app #root .modal:has(input[type="password"]) :is(button, input):focus-visible {
  outline: 3px solid rgba(169, 146, 255, 0.45);
  outline-offset: 2px;
}

.nr-legal-main {
  width: min(860px, calc(100% - 48px));
  padding: 88px 0 110px;
  margin: 0 auto;
}

.nr-legal-main h1 {
  margin: 12px 0 20px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.nr-legal-main .nr-legal-lead {
  max-width: 740px;
  color: var(--nr-muted);
  font-size: 18px;
}

.nr-legal-main article {
  padding-top: 18px;
}

.nr-legal-main section {
  padding: 22px 0;
  border-top: 1px solid var(--nr-line);
}

.nr-legal-main h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.nr-legal-main p,
.nr-legal-main li {
  color: #c9c6d0;
}

.nr-legal-main ul {
  padding-left: 22px;
}

.nr-legal-main a {
  color: var(--nr-violet-soft);
  text-underline-offset: 3px;
}

.nr-legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  text-decoration: none;
}

@media (max-width: 1020px) {
  .nr-nav {
    gap: 14px;
  }

  .nr-nav > a {
    font-size: 12px;
  }

  .nr-hero {
    grid-template-columns: 1fr 0.72fr;
  }

  .nr-hero-visual {
    min-height: 500px;
  }

  .nr-card-grid {
    grid-template-columns: 1fr;
  }

  .nr-card-index {
    margin-bottom: 38px;
  }

  .nr-module-card > p {
    min-height: 0;
  }

  .nr-lead-section {
    grid-template-columns: 1fr;
  }

  .nr-lead-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 76px;
  }

  .nr-header {
    min-height: 68px;
    padding: 10px 20px;
  }

  .nr-menu-toggle {
    display: block;
  }

  .nr-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nr-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nr-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nr-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--nr-line);
    border-radius: 18px;
    background: rgba(16, 17, 22, 0.98);
    box-shadow: var(--nr-shadow);
  }

  .nr-nav[data-open="true"] {
    display: grid;
  }

  .nr-nav > a {
    min-height: 44px;
    padding: 11px 10px;
    border-radius: 10px;
    font-size: 14px;
  }

  .nr-nav > a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nr-nav > a::after {
    display: none;
  }

  .nr-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 78px;
  }

  .nr-hero-visual {
    min-height: 470px;
    margin-top: 22px;
  }

  .nr-intro-grid,
  .nr-section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nr-pricing-grid {
    grid-template-columns: 1fr;
  }

  .nr-price-card {
    min-height: 150px;
  }

  .nr-price-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nr-price-amount {
    grid-row: auto;
    grid-column: auto;
    justify-items: start;
  }

  .nr-social-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nr-section {
    width: min(100% - 32px, var(--nr-max));
    padding: 78px 0;
  }

  .nr-brand {
    font-size: 21px;
  }

  .nr-brand img {
    width: 38px;
    height: 38px;
  }

  .nr-hero {
    padding-top: 58px;
  }

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

  .nr-lead-text {
    font-size: 17px;
  }

  .nr-actions {
    display: grid;
  }

  .nr-button {
    width: 100%;
    min-height: 50px;
  }

  .nr-hero-visual {
    min-height: 360px;
  }

  .nr-hero-visual img {
    width: 112%;
    max-width: none;
  }

  .nr-visual-label {
    right: 2%;
    bottom: 6%;
  }

  .nr-intro,
  #nr-efficiency {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .nr-intro h2,
  .nr-section-heading h2,
  .nr-lead-copy h2 {
    font-size: 34px;
  }

  .nr-intro-grid > p {
    font-size: 17px;
  }

  .nr-card {
    padding: 24px;
    border-radius: 20px;
  }

  .nr-card-index {
    margin-bottom: 32px;
  }

  .nr-comparison {
    grid-template-columns: 1fr;
  }

  .nr-comparison > a {
    grid-column: auto;
  }

  .nr-price-card {
    min-height: 136px;
  }

  .nr-social-strip {
    padding: 22px;
  }

  .nr-social-links {
    width: 100%;
  }

  .nr-social-links a {
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .nr-form {
    padding: 20px;
    border-radius: 20px;
  }

  .nr-form-grid {
    grid-template-columns: 1fr;
  }

  .nr-form-wide {
    grid-column: auto;
  }

  .nr-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nr-footer {
    grid-template-columns: 1fr;
    gap: 34px;
    width: calc(100% - 32px);
  }

  .nr-legal-compact {
    grid-column: auto;
    flex-direction: column;
  }

  body.nr-app #root .modal:has(input[type="password"]) {
    width: 100%;
    padding: 24px;
  }

  body.nr-app #root .modal:has(input[type="password"])::before {
    margin-bottom: 28px;
  }

  body.nr-app #root .modal:has(input[type="password"]) .close {
    top: 24px;
    right: 24px;
  }

  .nr-legal-main {
    width: calc(100% - 32px);
    padding: 64px 0 84px;
  }

  .nr-legal-main h1 {
    font-size: clamp(32px, 9vw, 42px);
  }
}

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

  .nr-site *,
  .nr-site *::before,
  .nr-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
