/* Functional additions to the supplied visual system. */
::selection {
  background: #8a6bff55;
  color: #f1eef9;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 16px;
  transform: translateY(-180%);
  padding: 12px 18px;
  color: #f1eef9;
  background: #12101e;
  border: 1px solid #8a6bff;
  border-radius: 12px;
}
.skip-link:focus {
  transform: none;
}
.pending-link {
  opacity: 0.65;
  cursor: help;
}
.nl-footer-col > .pending-link {
  font: inherit;
}
.nl-input {
  caret-color: var(--accent);
}
.nl-input:disabled {
  cursor: not-allowed;
}
.nl-menu[data-open="false"] {
  visibility: hidden;
}
.nl-menu[data-open="true"] {
  visibility: visible;
}
.nl-form-done .nl-btn {
  margin-top: 16px;
}
.nl-doc main,
.nl-doc p,
.nl-doc li {
  overflow-wrap: anywhere;
}
.nl-doc-section-body,
.nl-arch-wrap {
  min-width: 0;
}
/* Decorative contact icons follow the link color, including in legal copy
   and the dynamically rendered chat fallback. No icon font or extra script. */
a[href="mailto:sales@neurolove.ai"] { --nl-contact-icon: url("./icons/mail.svg"); }
a[href="https://t.me/neurolove_bot_support"] { --nl-contact-icon: url("./icons/telegram.svg"); }
a:is([href="mailto:sales@neurolove.ai"], [href="https://t.me/neurolove_bot_support"]) {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  max-inline-size: 100%;
  min-inline-size: 0;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
a:is([href="mailto:sales@neurolove.ai"], [href="https://t.me/neurolove_bot_support"])::before {
  content: "";
  flex: 0 0 1.15em;
  inline-size: 1.15em;
  block-size: 1.15em;
  background-color: currentColor;
  -webkit-mask: var(--nl-contact-icon) center / contain no-repeat;
  mask: var(--nl-contact-icon) center / contain no-repeat;
}
.nl-arch-wrap {
  overscroll-behavior-x: contain;
}
.nl-arch-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.nl-chat-status a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nl-chat-status { margin: 16px 0; font: 400 14px/1.5 "Onest", sans-serif; color: #c9c2dc; }
.nl-chat-status a { color: #c4b4ff; text-underline-offset: 3px; }
.nl-chat-status a:hover { color: #f1eef9; }
.nl-chat-status:empty { display: none; }
.nl-form-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.nl-form-consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.nl-form-consent a { color: inherit; text-underline-offset: 3px; }
.nl-form-consent input:focus-visible, .nl-form-consent a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nl-form-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nl-form-actions .nl-btn { width: 100%; padding-inline: 20px; }
@media (max-width: 639px) { .nl-form-actions { grid-template-columns: 1fr; } }
/* amoCRM supplies the embedded conversation; the site supplies its fixed shell. */
body { --nl-chat-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
.amo-button-holder { display: none !important; }
.nl-chat-launcher, .nl-chat-panel, .nl-chat-invite { box-sizing: border-box; font: 400 15px/1.5 "Onest", sans-serif; color: #F1EEF9; }
.nl-chat-launcher *, .nl-chat-panel *, .nl-chat-invite * { box-sizing: border-box; }
.nl-chat-launcher { position: fixed; z-index: 80; right: max(20px, env(safe-area-inset-right, 0px)); bottom: var(--nl-chat-bottom); display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 1px solid #6C568E; border-radius: 40px; background: #261D35; box-shadow: 0 8px 32px #0005; cursor: pointer; touch-action: manipulation; }
.nl-chat-launcher img, .nl-chat-header img, .nl-chat-person img { display: block; flex: none; border-radius: 50%; object-fit: cover; }
.nl-chat-launcher span { display: grid; text-align: left; gap: 1px; }
.nl-chat-launcher strong { font-size: 15px; font-weight: 500; }
.nl-chat-launcher small { color: #D2C8E4; font-size: 12px; }
.nl-chat-launcher .nl-chat-unread { position: absolute; top: -5px; right: -3px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; background: #7657E8; border: 2px solid #211A2D; border-radius: 20px; color: #FFFFFF; font: 500 12px/1 "Onest", sans-serif; }
.nl-chat-launcher:hover { background: #342744; border-color: #AD92E9; }
.nl-chat-launcher:focus-visible, .nl-chat-panel button:focus-visible, .nl-chat-panel a:focus-visible, .nl-chat-invite button:focus-visible { outline: 2px solid #C5ACFF; outline-offset: 4px; }
.nl-chat-panel { position: fixed; z-index: 120; right: max(20px, env(safe-area-inset-right, 0px)); bottom: var(--nl-chat-bottom); display: grid; grid-template-rows: auto auto minmax(0, 1fr); width: min(390px, calc(100vw - 40px)); height: min(640px, calc(100dvh - 24px - var(--nl-chat-bottom))); border: 1px solid #51415F; border-radius: 22px; overflow: hidden; background: #111018; box-shadow: 0 20px 64px #0007; }
.nl-chat-header { display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 20px; background: #241D2F; }
.nl-chat-header div { min-width: 0; flex: 1; }
.nl-chat-header h2 { font: 500 17px/1.3 "Onest", sans-serif; margin: 0 0 3px; color: #F1EEF9; }
.nl-chat-header p { font: 400 13px/1.4 "Onest", sans-serif; margin: 0; color: #D2C8E4; }
.nl-chat-header button, [data-dismiss-invite] { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; color: #E8DFF6; border: 1px solid #574465; border-radius: 50%; background: transparent; cursor: pointer; }
.nl-chat-header button:hover, [data-dismiss-invite]:hover { background: #40304F; }
.nl-chat-intro { margin: 0; padding: 16px 20px; color: #D2C8E4; font: 400 14px/1.5 "Onest", sans-serif; border-bottom: 1px solid #302738; }
.nl-chat-embed { position: relative; grid-area: 3 / 1; min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
.nl-chat-embed .amo-livechat_frame { position: relative !important; inset: auto !important; width: 100% !important; height: 100% !important; max-height: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.nl-chat-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.nl-chat-panel:not([data-state="ready"]) .nl-chat-embed { visibility: hidden; }
.nl-chat-wait { position: absolute; top: 50%; inset-inline: 20px; text-align: center; color: #D2C8E4; }
.nl-chat-panel:is([data-state="ready"], [data-state="error"]) .nl-chat-wait { display: none; }
.nl-chat-error { grid-area: 3 / 1; align-self: center; padding: 24px; color: #D2C8E4; }
.nl-chat-panel[data-contact-form] .nl-chat-embed { visibility: hidden; }
.nl-chat-contact-form { grid-area: 3 / 1; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px; background: #111018; }
.nl-chat-contact-form h3 { margin: 0 0 8px; color: #F1EEF9; font: 500 20px/1.3 "Onest", sans-serif; }
.nl-chat-contact-form > p { margin: 0 0 20px; color: #D2C8E4; font-size: 14px; line-height: 1.5; }
.nl-chat-contact-form > label:not(.nl-chat-contact-consent) { display: block; margin-bottom: 6px; font-size: 14px; }
.nl-chat-contact-form > input { display: block; width: 100%; min-height: 46px; margin-bottom: 16px; padding: 10px 12px; border: 1px solid #6C5E80; border-radius: 10px; background: #211A2D; color: #F1EEF9; font: 400 16px/1.4 "Onest", sans-serif; }
.nl-chat-contact-form input::placeholder { color: #AFA3C0; }
.nl-chat-contact-form input:focus-visible { outline: 2px solid #C5ACFF; outline-offset: 2px; }
.nl-chat-contact-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; font-size: 13px; line-height: 1.5; color: #D2C8E4; }
.nl-chat-contact-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #7657E8; }
.nl-chat-contact-consent a { color: #CAB5FF; text-underline-offset: 3px; }
.nl-chat-contact-form button { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; font: 500 14px/1.5 "Onest", sans-serif; cursor: pointer; }
.nl-chat-contact-form [type="submit"] { background: #7657E8; color: #FFF; }
.nl-chat-contact-form [type="submit"]:hover { background: #6747D8; }
.nl-chat-contact-form [data-skip-contact] { margin-top: 6px; background: transparent; color: #D2C8E4; }
.nl-chat-contact-form [data-skip-contact]:hover { background: #211A2D; }
.nl-chat-contact-form button:disabled { cursor: wait; opacity: 0.75; }
.nl-chat-contact-form .nl-chat-contact-feedback { color: #FFC1C7; }
.nl-chat-contact-form .nl-chat-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nl-chat-contact-reopen { margin-top: 8px; padding: 6px 0; min-height: 32px; border: 0; background: transparent; color: #CAB5FF; font: 500 14px/1.4 "Onest", sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nl-chat-error p { margin: 0 0 20px; }
.nl-chat-error p:last-child { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.nl-chat-error button, [data-invite-chat] { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 12px; background: #7657E8; color: #FFFFFF; font: 500 14px/1.5 "Onest", sans-serif; cursor: pointer; }
.nl-chat-error a { color: #CAB5FF; text-underline-offset: 3px; }
.nl-chat-invite { position: fixed; z-index: 81; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(104px, calc(88px + env(safe-area-inset-bottom, 0px))); width: min(310px, calc(100vw - 40px)); padding: 20px; border: 1px solid #67527F; border-radius: 20px; background: #211A2D; box-shadow: 0 10px 40px #0005; }
.nl-chat-invite [data-dismiss-invite] { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; }
.nl-chat-person { display: flex; align-items: center; gap: 10px; padding-right: 28px; }
.nl-chat-person span { display: grid; }
.nl-chat-person strong { font-weight: 500; }
.nl-chat-person small { color: #D2C8E4; font-size: 12px; }
.nl-chat-launcher .nl-chat-avatar, .nl-chat-header .nl-chat-avatar, .nl-chat-person .nl-chat-avatar { position: relative; display: block; flex: none; }
.nl-chat-avatar .nl-chat-presence { position: absolute; display: block; right: -1px; bottom: -1px; width: 13px; height: 13px; border: 2px solid #261D35; border-radius: 50%; background: #9B90AA; }
[data-chat-availability="online"] .nl-chat-presence { background: #45D48E; }
[data-chat-availability="online"] .nl-chat-availability { color: #82E9BA; }
.nl-chat-invite p { margin: 16px 0; font-size: 14px; line-height: 1.55; color: #E1D7EC; }
[data-invite-chat] { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.nl-chat-guard { position: absolute; width: 1px; height: 1px; overflow: hidden; }
body[data-chat-modal] { overflow: hidden; }
body:has(.nl-chat-launcher):not(:has(.nl-consent-panel:not([hidden]))) { padding-bottom: 104px; }
@media (max-width: 639px) {
  .nl-chat-panel { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
}
.nl-product-shot { display: block; width: 100%; height: auto; border-radius: inherit; }
.nl-case-result .nl-stat { font-size: clamp(24px, 2.8vw, 40px); }
.nl-case-media:has(.nl-product-shot), .nl-doc-media:has(.nl-product-shot) { aspect-ratio: 8 / 5; overflow: hidden; padding: 0; }
.nl-demo { margin: 0; }
.nl-demo video { display: block; width: 100%; height: auto; background: #110e1a; border: 1px solid var(--line); border-radius: 16px; }
.nl-demo figcaption { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.nl-screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.nl-screen-grid figure { margin: 0; min-width: 0; }
.nl-screen-grid img { border-radius: 12px; }
.nl-screen-grid figcaption { margin-top: 12px; font-size: 14px; }
.nl-service-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 32px; margin-top: 32px; }
.nl-service-directory a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; color: inherit; border-bottom: 1px solid var(--line); text-decoration: none; }
.nl-service-directory a:hover { color: var(--accent); }
.nl-doc-head > .nl-btn { justify-self: start; }
@media(max-width: 700px) {
  .nl-screen-grid, .nl-service-directory { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  :is(.nl-page, .nl-consent-panel, .nl-privacy-settings, .skip-link),
  :is(.nl-page, .nl-consent-panel) *,
  :is(.nl-page, .nl-consent-panel) *::before,
  :is(.nl-page, .nl-consent-panel) *::after {
    animation: none !important;
    transition: none !important;
  }
}
.nl-services-section {
  display: grid;
  gap: var(--space-8);
}
.nl-services-overview {
  min-width: 0;
}
.nl-offer-pair {
  display: grid;
  gap: var(--space-6);
  min-width: 0;
}
.nl-offer-pair article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  min-width: 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.nl-offer-pair .nl-display-sm {
  max-width: 24ch;
  text-wrap: balance;
}
.nl-offer-pair .nl-body {
  max-width: 56ch;
  color: var(--ink-2);
  hyphens: none;
}
.nl-offer-pair .nl-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  max-width: 100%;
  margin-top: auto;
  padding-block: var(--space-2);
  color: var(--accent-text);
  font-size: 17px;
  line-height: 1.5;
  text-decoration: none;
  hyphens: none;
  transition: color var(--duration-fast) var(--easing-standard);
}
.nl-offer-pair .nl-link:hover {
  color: var(--ink);
}
.nl-offer-pair .nl-link:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: var(--space-1);
}
.nl-offer-pair .nl-link:hover .nl-arrow {
  transform: translateX(4px);
}
.nl-services-catalog {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
}
.nl-services-catalog .nl-service-directory {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}
.nl-services-catalog .nl-service-directory a {
  min-width: 0;
  min-height: 72px;
  padding-block: var(--space-5);
}
.nl-services-catalog .nl-service-directory a span:first-child {
  min-width: 0;
  hyphens: none;
}
.nl-services-catalog .nl-service-directory a span:last-child {
  flex: none;
}
@media (min-width: 1024px) {
  .nl-offer-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8);
  }
  .nl-services-catalog .nl-service-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-8);
  }
}
.nl-doc-section > .nl-doc-section-body:only-child { grid-column: 1 / -1; min-width: 0; }
.nl-case-figure { margin: var(--space-5) 0; min-width: 0; }
.nl-case-figure > a { display: block; }
.nl-case-figure figcaption { margin-top: var(--space-3); color: var(--ink-muted); font-size: 14px; line-height: 1.6; max-width: 72ch; }

.nl-studio-case .nl-doc-meta .nl-tags {
  display: flex;
  flex-wrap: wrap;
}
.nl-studio-case .nl-doc-meta > div {
  align-content: start;
}
.nl-studio-case .nl-arch-group-2 {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}
.nl-case-toc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-4);
  border-block: 1px solid var(--line);
}
.nl-case-toc a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  color: var(--accent-text);
  font-size: 15px;
  line-height: 1.5;
  text-underline-offset: 4px;
}
.nl-case-toc a:hover {
  color: var(--ink);
}
.nl-case-toc a:focus-visible,
.nl-case-technical summary:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: var(--space-1);
}
.nl-studio-case .nl-doc-section[id] {
  scroll-margin-top: var(--space-4);
}
.nl-studio-case .nl-doc-section h2 {
  text-wrap: balance;
}
.nl-case-technical {
  padding-block: var(--space-3);
  border-block: 1px solid var(--line);
}
.nl-case-technical summary {
  min-height: 44px;
  align-content: center;
  font-weight: 500;
  cursor: pointer;
}
.nl-case-technical summary:hover {
  color: var(--accent-text);
}
.nl-case-technical[open] ul {
  margin-top: var(--space-4);
}

/* ---- Audit 28.10.2026: responsive rows, display type, rhythm, inner-page details ---- */
/* No grid track in a section may exceed the page width (the calculator button used to). */
.nl-section-inner { grid-template-columns: minmax(0, 1fr); }
@container page (max-width: 1023px) {
  .nl-split { grid-template-columns: minmax(0, 1fr); }
}
@container page (max-width: 767px) {
  .nl-price { grid-template-columns: 48px minmax(0, 1fr); }
  .nl-price > .nl-price-value { grid-column: 2; text-align: left; padding-top: 0; }
  .nl-calc-foot .nl-btn,
  .nl-checklist-verdict .nl-btn { white-space: normal; height: auto; min-height: 56px; padding-block: 14px; text-align: left; }
}
/* Tablets and small laptops: body copy moves under the row title instead of squeezing it. */
@container page (min-width: 768px) and (max-width: 1199px) {
  .nl-service:not(.nl-service-principle),
  .nl-service.nl-price { grid-template-columns: 72px minmax(0, 1fr) 32px; }
  .nl-service > .nl-body-sm,
  .nl-service > .nl-price-value { grid-column: 2; }
  .nl-service > .nl-price-value { text-align: left; padding-top: 0; }
}
@container page (min-width: 1200px) {
  .nl-price { grid-template-columns: 72px minmax(0, 6fr) minmax(0, 5fr) minmax(120px, auto); }
}
/* Display type follows the container width, so headings never break mid-word. */
h1, h2, h3, .nl-display-xl, .nl-display-lg, .nl-display-md, .nl-display-sm { text-wrap: balance; }
@container page (min-width: 768px) {
  .nl-hero-copy .nl-display-xl { font-size: clamp(56px, 6.6cqi, 96px); }
  .nl-split-head .nl-display-lg { font-size: clamp(36px, 3.9cqi, 56px); }
  .nl-calc-results .nl-stat { font-size: clamp(32px, 3.2cqi, 56px); }
}
.nl-calc-results { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
/* Hyphenate running text only; leads, labels, tags and short rows stay whole. */
.nl-lead, .nl-tag, .nl-label, .nl-step-duration, .nl-case-result .nl-body-sm, .nl-doc-meta .nl-body-sm { hyphens: none; }
.nl-lead { text-wrap: pretty; }
.nl-body, .nl-body-sm, .nl-doc p, .nl-doc li, .nl-document-body p { hyphenate-limit-chars: 8 4 4; }
/* Studio section: copy beside a real product screenshot. */
.nl-studio-media {
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--easing-standard);
}
.nl-studio-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nl-studio-media:hover { box-shadow: var(--shadow-raised); }
.nl-studio-media:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* Inner pages: numbered steps, sub-headings and figures follow the document scale. */
.nl-recipe-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: var(--space-5); max-width: 640px; }
.nl-recipe-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--space-3); }
.nl-recipe-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; font: 400 13px/1.5 var(--font-mono); color: var(--accent-text); padding-top: 4px; }
.nl-recipe-steps h3 { grid-column: 2; margin: 0 0 var(--space-2); }
.nl-recipe-steps p { grid-column: 2; margin: 0; font: 400 17px/1.55 var(--font-sans); color: var(--ink-2); }
.nl-doc-section-body h3 { margin: var(--space-2) 0 0; font: 500 20px/1.3 var(--font-sans); letter-spacing: -0.01em; }
.nl-doc-section-body ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2); font: 400 17px/1.55 var(--font-sans); max-width: 640px; }
.nl-doc-figure {
  display: block;
  margin-top: var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-1);
  transition: box-shadow var(--duration-base) var(--easing-standard);
}
.nl-doc-figure:hover { box-shadow: var(--shadow-raised); }
.nl-doc-figure:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.nl-doc-links { margin-top: var(--space-5); }
/* Chat controls step above the consent bar while it is visible. */
body:has(.nl-consent-panel:not([hidden])) { --nl-chat-bottom: calc(max(24px, env(safe-area-inset-bottom, 0px)) + 72px); }
body:has(.nl-consent-panel:not([hidden])) .nl-chat-invite { bottom: calc(max(104px, 88px + env(safe-area-inset-bottom, 0px)) + 72px); }
@media (max-width: 700px) {
  body:has(.nl-consent-panel:not([hidden])) { --nl-chat-bottom: calc(max(24px, env(safe-area-inset-bottom, 0px)) + 140px); }
  body:has(.nl-consent-panel:not([hidden])) .nl-chat-invite { bottom: calc(max(104px, 88px + env(safe-area-inset-bottom, 0px)) + 140px); }
}

/* ---- 28.10 batch 2: gates, price anatomy, production facts, mobile chat shell ---- */
.nl-step-gate { display: inline-flex; align-items: center; gap: var(--space-2); font: 400 13px/1.5 var(--font-mono); color: var(--ink-2); }
.nl-steps-list .nl-step { grid-template-areas: "num title" "num text" "num dur" "num gate"; }
.nl-steps-list .nl-step .nl-step-gate { grid-area: gate; }
@container page (max-width: 767px) {
  .nl-steps-list .nl-step { grid-template-areas: "num" "title" "text" "dur" "gate"; }
}
.nl-step-gate .nl-dot { width: 6px; height: 6px; }
.nl-calc-mode { grid-column: 1 / -1; margin: 0 0 var(--space-2); }
.nl-calc-results .nl-metric:nth-child(-n + 3) { border-top: 0; padding-top: 0; }
.nl-price-anatomy { display: grid; gap: var(--space-6); padding-top: var(--space-8); }
.nl-anatomy-head { display: grid; gap: var(--space-3); }
.nl-anatomy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-7); }
.nl-anatomy-item { display: grid; gap: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--line); align-content: start; }
.nl-anatomy-item h4 { margin: 0; font: 500 20px/1.3 var(--font-sans); letter-spacing: -0.01em; }
.nl-anatomy-item ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.nl-anatomy-item li { position: relative; padding-left: 18px; font: 400 15px/1.5 var(--font-sans); color: var(--ink-2); hyphens: none; }
.nl-anatomy-item li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--accent); }
.nl-fact-list { margin: 0; padding: 0; list-style: none; display: grid; }
.nl-fact-list li { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.nl-fact-list li:last-child { border-bottom: 1px solid var(--line); }
.nl-fact-label { font: 500 12px/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); padding-top: 3px; }
.nl-fact-text { font: 400 16px/1.5 var(--font-sans); color: var(--ink-2); hyphens: none; }
.nl-fact-links { display: grid; gap: var(--space-2); justify-items: start; }
.nl-fact-links .nl-link { font: 400 16px/1.5 var(--font-sans); }
/* Row dividers align with the FAQ and process columns instead of bleeding 12px. */
.nl-service { margin-inline: 0; padding-inline: 0; }
.nl-field-error { margin: var(--space-2) 0 0; font: 400 14px/1.5 var(--font-sans); color: var(--danger); }
.nl-field-error:empty { display: none; }
.nl-input[aria-invalid="true"] { border-color: var(--danger); }
.nl-form-note { font-size: 15px; }
.nl-form-note:focus-visible { outline: 2px solid var(--danger); outline-offset: 4px; border-radius: var(--radius-xs); }
@container page (max-width: 767px) {
  .nl-anatomy-grid { grid-template-columns: minmax(0, 1fr); }
  .nl-fact-list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .nl-container > .nl-hero:has(.nl-system) { padding-top: var(--space-6); gap: var(--space-4); }
  .nl-system-visual { max-width: 320px; }
}
/* Phones: the chat launcher is a bare avatar and steps aside while the consent bar, form or footer is on screen. */
@media (max-width: 767px) {
  .nl-chat-launcher { gap: 0; padding: 4px; border-radius: 50%; }
  .nl-chat-launcher > span:not(.nl-chat-avatar):not(.nl-chat-unread), .nl-chat-launcher > svg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body:has(.nl-consent-panel:not([hidden])) .nl-chat-launcher, body[data-chat-launcher-hidden] .nl-chat-launcher { display: none; }
  .nl-consent-panel { gap: 6px 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); font-size: 13px; }
  .nl-consent-panel #nl-consent-title { display: none; }
  .nl-consent-panel button { min-height: 36px; padding: 0 12px; font-size: 13px; }
  body:has(.nl-consent-panel:not([hidden])) { padding-bottom: 104px; }
}

/* ---- 28.10 batch 3: catalog by task, proof blocks, acceptance checklists, phone layout ---- */
.nl-service-directory-grouped { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-7); margin-top: var(--space-6); }
.nl-service-group { display: grid; gap: var(--space-3); align-content: start; min-width: 0; }
.nl-service-group-title { margin: 0; font: 500 22px/1.25 var(--font-sans); letter-spacing: -0.01em; }
.nl-service-group-lead { margin: 0 0 var(--space-2); font: 400 15px/1.5 var(--font-sans); color: var(--ink-muted); hyphens: none; }
.nl-service-group-list { display: grid; }
.nl-service-directory-grouped a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-3) 0; border-top: 1px solid var(--line); border-bottom: 0; color: inherit; text-decoration: none; }
.nl-service-directory-grouped a:last-child { border-bottom: 1px solid var(--line); }
.nl-service-directory-grouped a > span:first-child { display: grid; gap: 2px; min-width: 0; }
.nl-service-directory-grouped strong { font: 500 16px/1.4 var(--font-sans); color: var(--ink); }
.nl-service-directory-grouped small { font: 400 14px/1.45 var(--font-sans); color: var(--ink-muted); hyphens: none; }
.nl-service-directory-grouped a:hover strong { color: var(--accent-text); }
.nl-service-directory-grouped a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }
.nl-services-catalog .nl-service-directory-grouped { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-7); }
.nl-doc .nl-service-directory-grouped { margin-top: var(--space-4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nl-doc .nl-service-directory:not(.nl-service-directory-grouped) { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 0 var(--space-6); }
.nl-doc .nl-body { max-width: 720px; }
.nl-acceptance { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); max-width: 720px; }
.nl-acceptance li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: start; padding: var(--space-3) 0; border-top: 1px solid var(--line); font: 400 16px/1.5 var(--font-sans); color: var(--ink-2); }
.nl-acceptance li:last-child { border-bottom: 1px solid var(--line); }
.nl-acceptance svg { width: 20px; height: 20px; margin-top: 2px; color: var(--signal); }
.nl-doc .nl-fact-list { max-width: 720px; }
.nl-footer-place { color: var(--ink-muted); }
@container page (max-width: 1199px) {
  .nl-doc .nl-service-directory-grouped { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container page (max-width: 1023px) {
  .nl-service-directory-grouped, .nl-services-catalog .nl-service-directory-grouped, .nl-doc .nl-service-directory-grouped { grid-template-columns: minmax(0, 1fr); }
}
@container page (max-width: 479px) {
  .nl-doc-section { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .nl-doc-section > .nl-service-index { padding-top: 0; }
  .nl-recipe-steps li { grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--space-2); }
  .nl-fact-list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
}
