
#nr-root { --nr-motion-base: 200ms; --nr-motion-reveal: 560ms; }
#nr-root .hero-reassure { margin: 18px 0 0; font-size: 13px; color: var(--fg-faint); letter-spacing: 0.01em; text-align: center;
}
#nr-root .hero-reassure-left { text-align: left;
}
#nr-root .hero-free-lead { color: #6ce3a4; font-weight: 600;
}
#nr-root[data-theme="light"] .hero-free-lead { color: #15803d;
}
#nr-root .t-display { font-weight: 500; font-size: clamp(30px, 5.19vw, 71px); line-height: 0.98; letter-spacing: -0.035em;
}
#nr-root .t-lead { font-size: 18px; line-height: 1.5; color: var(--fg-dim);
}
#nr-root .hero { padding: 140px 0 110px; position: relative; overflow: hidden;
}
#nr-root .hero-inner { position: relative; z-index: 1; text-align: center;
}
#nr-root .nr-hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: nr-hero-in var(--nr-motion-reveal) var(--ease-entry) both;
}
#nr-root .nr-hero-d1 { animation-delay: 0ms;
}
#nr-root .nr-hero-d2 { animation-delay: 70ms;
}
#nr-root .nr-hero-d3 { animation-delay: 140ms;
}
#nr-root .nr-hero-d4 { animation-delay: 210ms;
}
@keyframes nr-hero-in {to { opacity: 1; transform: none; }}
#nr-root .nr-hero-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 40%, #000 45%, transparent 88%);
  mask-image: radial-gradient(70% 65% at 50% 40%, #000 45%, transparent 88%);
}
@media (prefers-reduced-motion: reduce) {
  #nr-root .nr-hero-canvas { display: none;
  }
}
@media (hover: none) {
  #nr-root .nr-hero-canvas { display: none;
  }
}
#nr-root .hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap;
}
#nr-root .hero-actions-left { justify-content: flex-start;
}
#nr-root .hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
#nr-root .hero-copy { text-align: left;
}
#nr-root .hero-copy .eyebrow { margin-bottom: 24px;
}
#nr-root .hero-h1 { text-align: left;
}
#nr-root .hero h1.t-display { text-wrap: balance;
}
#nr-root .hero-lead { margin: 22px 0 0; max-width: 540px;
}
#nr-root .hero-grid .studio { height: 600px;
}
#nr-root .hero-grid .studio-body { flex: 1 1 auto; min-height: 0;
}
#nr-root .hero-grid .studio-canvas { flex: 1 1 auto; min-height: 0; max-height: none;
}
#nr-root .studio {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  
  overflow: visible;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
#nr-root[data-theme="light"] .studio {
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.18);
}
#nr-root .studio-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
#nr-root .studio-dots { display: inline-flex; gap: 7px;
}
#nr-root .studio-dots .d {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
#nr-root .studio-dots .d-r { background: #ff5f56;
}
#nr-root .studio-dots .d-y { background: #ffbd2e;
}
#nr-root .studio-dots .d-g { background: #27c93f;
}
#nr-root .studio-title {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--fg-dim);
  letter-spacing: 0.02em;
}
#nr-root .studio-body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 12px;
}
#nr-root .studio-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
}
#nr-root .studio-label-sm { margin-top: 6px;
}
#nr-root .studio-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
#nr-root .studio-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg-dim);
  font-size: 13px; line-height: 1; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
#nr-root .studio-chip:hover { color: var(--fg); border-color: var(--line-2);
}
#nr-root .studio-chip.active {
  background: var(--bg-3); color: var(--fg);
  border-color: var(--line-2);
}
#nr-root .studio-chip-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-3);
  flex-shrink: 0;
}
#nr-root .studio-chip-label { display: inline-block;
}
#nr-root .studio-chip:not(:has(.studio-chip-icon)) { padding-left: 14px;
}
#nr-root .studio-canvas {
  position: relative;
  min-height: 320px; max-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  padding: 16px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin;
}
#nr-root .studio-canvas::-webkit-scrollbar { width: 6px;
}
#nr-root .studio-canvas::-webkit-scrollbar-track { background: transparent;
}
#nr-root .studio-canvas::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px;
}
#nr-root .studio-canvas-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-mute);
  pointer-events: none;
}
#nr-root .studio-canvas.has-content .studio-canvas-empty { display: none;
}
#nr-root .studio-msg {
  display: flex; flex-direction: column;
  max-width: 80%;
  animation: nr-msg-in .25s var(--ease);
}
@keyframes nr-msg-in {from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }}
#nr-root .studio-msg.user { align-self: flex-end; align-items: flex-end; max-width: 75%;
}
#nr-root .studio-msg.model { align-self: flex-start; align-items: flex-start;
}
#nr-root .studio-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px; line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
}
#nr-root .studio-msg.user .studio-bubble {
  background: var(--grad);
  color: #1a0f08; font-weight: 500;
  border-bottom-right-radius: 6px;
  box-shadow: 0 10px 24px -14px rgba(179, 122, 255, 0.55);
}
#nr-root[data-theme="light"] .studio-msg.user .studio-bubble { color: #1a0f08;
}
#nr-root .studio-msg.model .studio-bubble {
  background: var(--bg-3);
  color: var(--fg);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
#nr-root .studio-msg.model.is-error .studio-bubble {
  color: var(--a2);
  border-color: rgba(255, 122, 89, 0.35);
  background: rgba(255, 122, 89, 0.08);
}
#nr-root .studio-bubble.studio-md { white-space: normal;
}
#nr-root .studio-md > :first-child { margin-top: 0;
}
#nr-root .studio-md > :last-child { margin-bottom: 0;
}
#nr-root .studio-md p { margin: 0 0 8px;
}
#nr-root .studio-md h1,
#nr-root .studio-md h2,
#nr-root .studio-md h3,
#nr-root .studio-md h4,
#nr-root .studio-md h5,
#nr-root .studio-md h6 { margin: 14px 0 6px; font-weight: 600; line-height: 1.3;
}
#nr-root .studio-md h1 { font-size: 18px;
}
#nr-root .studio-md h2 { font-size: 16px;
}
#nr-root .studio-md h3 { font-size: 15px;
}
#nr-root .studio-md h4,
#nr-root .studio-md h5,
#nr-root .studio-md h6 { font-size: 14px;
}
#nr-root .studio-md ul,
#nr-root .studio-md ol { margin: 6px 0 8px; padding-left: 20px;
}
#nr-root .studio-md li { margin: 2px 0;
}
#nr-root .studio-md strong { font-weight: 600;
}
#nr-root .studio-md em { font-style: italic;
}
#nr-root .studio-md a { color: var(--a3); text-decoration: underline;
}
#nr-root .studio-md code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}
#nr-root .studio-md-pre {
  margin: 8px 0; padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
}
#nr-root .studio-md-pre code {
  background: none; border: none; padding: 0;
  font-size: 12.5px; line-height: 1.5; white-space: pre;
}
#nr-root .studio-md hr { border: none; border-top: 1px solid var(--line); margin: 12px 0;
}
#nr-root .studio-md blockquote {
  margin: 8px 0; padding: 4px 12px;
  border-left: 3px solid var(--line-2);
  color: var(--fg-dim);
}
#nr-root .studio-bar.studio-bar-col { flex-direction: column; align-items: stretch; gap: 10px;
}
#nr-root .studio-bar-row { display: flex; align-items: center; gap: 8px;
}
#nr-root .studio-bar-spacer { flex: 1 1 auto;
}
#nr-root .studio-cap { position: relative; display: inline-flex;
}
#nr-root .studio-cap-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 10px 0 6px;
  border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--fg);
  font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap; max-width: 240px;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
#nr-root .studio-cap-trigger:hover { background: var(--bg-3); border-color: var(--line-2);
}
#nr-root .studio-cap-ico {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
#nr-root .studio-cap-ico img { width: 100%; height: 100%; object-fit: cover;
}
#nr-root .studio-cap-ico-letters { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}
#nr-root .studio-cap-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#nr-root .studio-cap-chev { color: var(--fg-faint); flex-shrink: 0;
}
#nr-root .studio-cap-pop {
  display: none;
  position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 40;
  width: 320px; max-width: 92vw; max-height: 56vh;
  flex-direction: column;
  background: var(--bg-1); border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: studio-cap-in .14s var(--ease);
}
#nr-root .studio-cap[data-open="true"] .studio-cap-pop { display: flex;
}
@keyframes studio-cap-in {from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; }}
#nr-root .studio-cap-search {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--fg-faint);
}
#nr-root .studio-cap-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 13px; color: var(--fg);
}
#nr-root .studio-cap-search input::placeholder { color: var(--fg-faint);
}
#nr-root .studio-cap-list { flex: 1; min-height: 0; overflow-y: auto; padding: 6px;
}
#nr-root .studio-cap-row {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 10px; background: transparent; border: 0;
  color: var(--fg); cursor: pointer; text-align: left;
  transition: background .12s var(--ease);
}
#nr-root .studio-cap-row:hover { background: var(--bg-2);
}
#nr-root .studio-cap-row.is-active { background: var(--bg-3);
}
#nr-root .studio-cap-row-ico {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
#nr-root .studio-cap-row-ico img { width: 100%; height: 100%; object-fit: cover;
}
#nr-root .studio-cap-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px;
}
#nr-root .studio-cap-row-name { font-size: 13.5px; font-weight: 600; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#nr-root .studio-cap-row-desc { font-size: 12px; color: var(--fg-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#nr-root .studio-cap-check { display: inline-flex; align-items: center; color: var(--a1); flex-shrink: 0;
}
#nr-root .studio-cap-check[hidden] { display: none;
}
@media (max-width: 640px) {
  #nr-root .studio-cap-pop { width: 280px;
  }
}
#nr-root .studio-typing { display: inline-flex; gap: 4px; padding: 2px 0;
}
#nr-root .studio-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-faint);
  animation: nr-typing 1s var(--ease) infinite;
}
#nr-root .studio-typing i:nth-child(2) { animation-delay: .15s;
}
#nr-root .studio-typing i:nth-child(3) { animation-delay: .3s;
}
@keyframes nr-typing {0%, 60%, 100% { opacity: .25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }}
#nr-root .studio-msg-image {
  display: block;
  width: 100%; max-width: 360px;
  height: auto; max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
#nr-root .studio-msg-actions {
  display: flex; gap: 6px; margin-top: 6px;
}
#nr-root .studio-dl {
  gap: 6px; padding: 6px 12px;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--fg-dim);
  display: inline-flex; align-items: center; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
#nr-root .studio-dl:hover { color: var(--fg); border-color: var(--line-2); background: var(--bg-3);
}
#nr-root .studio-dl[disabled] { opacity: .65; cursor: progress;
}
#nr-root .studio-dl.is-loading svg { opacity: .5;
}
#nr-root .studio-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
#nr-root .studio-bar:focus-within {
  border-color: var(--line-2);
  background: var(--bg-3);
}
#nr-root .studio-input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.4;
  padding: 8px 0;
}
#nr-root .studio-input::placeholder { color: var(--fg-mute);
}
#nr-root .studio-bar-quota {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--fg-faint);
  display: inline-flex; align-items: baseline; gap: 1px;
  white-space: nowrap;
  padding: 0 4px;
}
#nr-root .studio-bar-quota-sep { color: var(--fg-mute); padding: 0 1px;
}
#nr-root .studio-bar-quota-total { color: var(--fg-mute);
}
#nr-root .studio-bar-quota.is-zero { color: var(--a2);
}
#nr-root .studio-bar-quota.is-zero .studio-bar-quota-total,
#nr-root .studio-bar-quota.is-zero .studio-bar-quota-sep { color: var(--a2);
}
#nr-root .studio-send {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad);
  color: #1a0f08;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(179, 122, 255, 0.55);
  transition: transform .15s var(--ease), opacity .15s var(--ease), box-shadow .2s var(--ease);
  flex-shrink: 0;
}
#nr-root .studio-send:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(179, 122, 255, 0.7);
}
#nr-root .studio-send:active { transform: translateY(0);
}
#nr-root .studio-send[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none;
}
#nr-root .studio-send-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.28); border-top-color: rgba(0,0,0,.78);
  display: none; animation: nr-spin .8s linear infinite;
}
#nr-root .studio-send.is-loading .studio-send-arrow { display: none;
}
#nr-root .studio-send.is-loading .studio-send-spinner { display: inline-block;
}
@keyframes nr-spin {to { transform: rotate(360deg); }}
#nr-root .studio-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  flex-wrap: wrap;
}
#nr-root .studio-cta-hint { font-size: 13px; color: var(--fg-dim);
}
#nr-root .studio-cta[hidden] { display: none;
}
@media (prefers-reduced-motion: reduce) {
  #nr-root .ambient .blob,
  #nr-root .ambient,
  #nr-root .nr-hero-in {
    animation: none;
  }
  #nr-root .ambient,
  #nr-root .nr-hero-in {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1040px) {
  #nr-root .hero-grid { grid-template-columns: 1fr; gap: 40px;
  }
  #nr-root .hero-actions-left { justify-content: flex-start;
  }
  #nr-root .hero-grid .studio { height: auto;
  }
  #nr-root .hero-grid .studio-body { flex: 0 1 auto;
  }
  #nr-root .hero-grid .studio-canvas { flex: 0 1 auto; min-height: 320px; max-height: 420px;
  }
}
@media (max-width: 640px) {
  #nr-root .studio-input { font-size: 16px;
  }
  #nr-root .hero { padding: 80px 0 60px;
  }
  #nr-root .studio-body { padding: 18px 16px; gap: 10px;
  }
  #nr-root .studio-canvas { min-height: 240px; max-height: 320px;
  }
  #nr-root .studio-msg, #nr-root .studio-msg.user { max-width: 88%;
  }
  #nr-root .hero-actions,
  #nr-root .hero-actions-left { flex-direction: column; align-items: stretch; gap: 10px;
  }
  #nr-root .hero-actions .btn { width: 100%; justify-content: center;
  }
  #nr-root .studio-bar { padding: 5px 5px 5px 12px; gap: 6px;
  }
  #nr-root .studio-bar-quota { font-size: 11px;
  }
  #nr-root .studio-send { width: 36px; height: 36px;
  }
}
#nr-root .blog-hero { padding: 96px 0 64px;
}
#nr-root .chlog-hero { padding: 96px 0 48px;
}
#nr-root .chlog-hero__row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px; align-items: end; margin-top: 24px;
}
#nr-root .chlog-hero__title {
  margin: 0; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-sans); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1;
}
#nr-root .chlog-hero__num {
  font-weight: 500; letter-spacing: -0.035em;
  font-size: clamp(72px, 12vw, 160px); line-height: 0.9;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#nr-root .chlog-hero__lbl {
  font-size: clamp(14px, 1.4vw, 18px); color: var(--fg-dim);
  text-transform: lowercase; letter-spacing: 0; max-width: 220px;
}
#nr-root .chlog-hero__sub {
  margin: 0; max-width: 420px; color: var(--fg-dim);
  display: flex; flex-direction: column; gap: 12px;
}
#nr-root .chlog-hero__sub-line {
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; color: var(--fg);
  letter-spacing: -0.022em;
}
#nr-root .chlog-hero__sub-line em { font-style: normal; color: var(--fg-dim);
}
#nr-root .chlog-hero__sub-tail { font-size: 15px; line-height: 1.55;
}
@media (max-width: 1040px) {
  #nr-root .chlog-hero__row { grid-template-columns: 1fr; gap: 24px; align-items: start;
  }
}
@media (max-width: 720px) {
  #nr-root .blog-hero { padding: 56px 0 40px;
  }
  #nr-root .chlog-hero { padding: 56px 0 32px;
  }
}
#nr-root .nr-asst-hero {
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
#nr-root .nr-asst-hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  display: flex; flex-direction: column; gap: 22px;
}
#nr-root .nr-asst-hero-inner .eyebrow { align-self: flex-start;
}
#nr-root .nr-asst-hero-h1 { margin: 6px 0 0;
}
#nr-root .nr-asst-hero-lead { max-width: 660px; margin: 0;
}
#nr-root .nr-asst-hero-cta {
  display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap;
}
#nr-root .nr-asst-hero-note {
  color: var(--fg-faint); font-size: 12px; letter-spacing: 0.04em;
}
#nr-root .nr-asst-card-hero {
  background:
    linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  padding: 24px;
  min-height: 260px;
}
#nr-root .nr-asst-card-hero:hover {
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
}
#nr-root[data-theme="light"] .nr-asst-card-hero {
  background:
    linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
    var(--grad) border-box;
}
@media (max-width: 1040px) {
  #nr-root .nr-asst-hero { padding: 80px 0 56px;
  }
}
@media (max-width: 640px) {
  #nr-root .nr-asst-hero { padding: 64px 0 40px;
  }
  #nr-root .nr-asst-card-hero { min-height: 220px; padding: 20px;
  }
}
#nr-root .legal-hero {
  position: relative;
  padding: 96px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
#nr-root .legal-hero-glow {
  position: absolute; top: -280px; width: 840px; height: 840px;
  border-radius: 50%; opacity: 0.55;
  pointer-events: none;
}
#nr-root .legal-hero-glow-l { left: -320px; background: radial-gradient(closest-side, rgba(179,122,255,0.30), rgba(179,122,255,0.12) 45%, rgba(179,122,255,0) 100%);
}
#nr-root .legal-hero-glow-r { right: -320px; background: radial-gradient(closest-side, rgba(255,122,89,0.22), rgba(255,122,89,0.09) 45%, rgba(255,122,89,0) 100%);
}
#nr-root[data-theme="light"] .legal-hero-glow { opacity: 0.40;
}
#nr-root .legal-hero .crumbs {
  color: var(--fg-faint); font-size: 11px;
  margin-bottom: 24px;
}
#nr-root .legal-hero .crumbs a { color: var(--fg-dim); transition: color .2s;
}
#nr-root .legal-hero .crumbs a:hover { color: var(--fg);
}
#nr-root .legal-hero .crumbs [aria-current="page"] { color: var(--fg);
}
#nr-root .legal-hero-body { max-width: 820px;
}
#nr-root .legal-hero-title { margin: 18px 0 16px;
}
#nr-root .legal-hero-sub { max-width: 640px; margin: 0 0 24px;
}
@media (max-width: 640px) {
  #nr-root .legal-hero { padding: 64px 0 40px;
  }
}
#nr-root .nr-dev-hero { padding: 104px 0 40px;
}
#nr-root .nr-dev-hero .crumbs { margin-bottom: 24px;
}
#nr-root .nr-dev-hero h1.t-h1 { margin: 20px 0 16px; text-wrap: balance;
}
#nr-root .nr-dev-hero .t-lead { max-width: 760px;
}
#nr-root .nr-dev-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px;
}
@media (max-width: 1040px) {
  #nr-root .nr-dev-hero { padding-top: 88px;
  }
}
@media (max-width: 640px) {
  #nr-root .nr-dev-hero { padding-top: 24px;
  }
  #nr-root .nr-dev-hero-actions .btn { width: 100%; justify-content: center;
  }
}
#nr-root .hero-stack { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto;
}
#nr-root .hero--stack {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  padding: 96px 0 calc(56px + env(safe-area-inset-bottom, 0px));
}
#nr-root .hero--stack > .container { width: 100%; margin: auto;
}
#nr-root .hero-stack .hero-h1 { margin: 0;
}
#nr-root .hero-stack .hero-lead { margin: 18px auto 0; max-width: 640px; text-wrap: balance;
}
#nr-root .hero-stack .hero-voice { margin-top: 14px; max-width: 620px;
}
#nr-root .hero-stack .hero-copy > .hero-reassure { margin-top: 14px; max-width: 620px; margin-left: auto; margin-right: auto;
}
@media (max-height: 760px) {
  #nr-root .hero--stack { padding-top: 76px; padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  }
  #nr-root .hero-stack .hero-actions { margin-top: 22px;
  }
  #nr-root .hero--stack .hero-h1 { font-size: clamp(30px, 7vh, 71px);
  }
  #nr-root .hero--stack .hero-lead { font-size: 16px;
  }
}
#nr-root .hero-stack .hero-copy { text-align: center;
}
#nr-root .hero-stack .hero-h1 { text-align: center;
}
#nr-root .hero-stack .hero-voice { margin-left: auto; margin-right: auto; text-align: center;
}
#nr-root .hero-stack .hero-actions { justify-content: center; margin-top: 28px;
}
#nr-root .studio-wide {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  overflow: visible;
  margin-top: 34px;
}
#nr-root .studio-wide .studio-body { padding: 0; gap: 14px;
}
#nr-root .studio-wide .studio-label { text-align: center;
}
#nr-root .studio-wide .studio-chips { justify-content: center; order: 0;
}
#nr-root .studio-wide .studio-bar {
  order: 1;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  border-color: var(--line-2);
  background: var(--bg-1);
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.55);
}
#nr-root[data-theme="light"] .studio-wide .studio-bar { box-shadow: 0 18px 44px -30px rgba(0, 0, 0, 0.22);
}
#nr-root .studio-wide .studio-input { font-size: 15px; padding: 10px 0;
}
#nr-root .studio-wide .studio-send { width: 42px; height: 42px; border-radius: 999px;
}
#nr-root .studio-wide .studio-canvas {
  order: 2;
  text-align: left;
  min-height: 0; max-height: min(44vh, 380px);
}
#nr-root .studio-wide .studio-canvas:not(.has-content) { display: none;
}
#nr-root .studio-wide .studio-canvas.has-content { animation: nr-canvas-in 0.34s var(--ease-entry);
}
@keyframes nr-canvas-in {from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }}
#nr-root .studio-wide .studio-cta { order: 3; text-align: left;
}
@media (max-width: 640px) {
  #nr-root .studio-wide .studio-input { font-size: 16px;
  }
  #nr-root .studio-wide .studio-bar { padding-left: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #nr-root .studio-wide .studio-canvas.has-content { animation: none;
  }
}
#nr-root .nr-dock-home { position: relative; z-index: 20; margin-top: 26px;
}
#nr-root .nr-dock { position: relative; text-align: left;
}
#nr-root .nr-dock[hidden] { display: none !important;
}
#nr-root .nr-dock-inner {
  position: relative;
  max-width: 880px; margin: 0 auto;
  will-change: transform;
  transition: transform 0.55s var(--ease-entry), opacity 0.3s var(--ease);
}
#nr-root .nr-dock--fixed {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; justify-content: center;
  padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
#nr-root .nr-dock--fixed .nr-dock-inner { pointer-events: auto; width: min(640px, 100%);
}
#nr-root:has(.nr-dock--fixed) main { padding-bottom: 84px;
}
#nr-root .nr-dock-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas:
    "input input input input"
    "model .     quota send";
  gap: 14px 10px;
  padding: 16px 16px 14px 20px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--nav-bg);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 4px 18px -8px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s var(--ease);
}
#nr-root .nr-dock-bar:focus-within { border-color: var(--line-2);
}
#nr-root[data-theme="light"] .nr-dock-bar {
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.25), 0 4px 18px -10px rgba(0, 0, 0, 0.12);
}
#nr-root .nr-dock-form-slot,
#nr-root .nr-dock .studio-bar { display: contents;
}
#nr-root .nr-dock .studio-input {
  grid-area: input;
  min-width: 0;
  font-size: 16px;
  padding: 2px 0 0;
}
#nr-root .nr-dock-model { grid-area: model; justify-self: start;
}
#nr-root .nr-dock .studio-bar-quota { grid-area: quota; align-self: center; justify-self: end;
}
#nr-root .nr-dock .studio-send { grid-area: send; justify-self: end; border-radius: 999px; width: 40px; height: 40px;
}
#nr-root .nr-dock-model {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px 0 9px;
  border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--fg);
  font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
#nr-root .nr-dock-model:hover { background: var(--bg-3); border-color: var(--line-2);
}
#nr-root .nr-dock-model-ico {
  width: 20px; height: 20px; border-radius: 50%;
  object-fit: cover; background: var(--bg-3); flex-shrink: 0;
}
#nr-root .nr-dock-model-ico[hidden] { display: none;
}
#nr-root .nr-dock-model-label { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#nr-root .nr-dock-model-chev {
  color: var(--fg-faint); flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
#nr-root .nr-dock.is-open .nr-dock-model-chev { transform: rotate(180deg);
}
#nr-root .nr-dock-panel {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 10px);
  padding: 0;
  display: grid; grid-template-rows: 0fr;
  visibility: hidden; opacity: 0; transform: translateY(8px);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.65);
  transition: grid-template-rows 0.32s var(--ease-entry), opacity 0.24s var(--ease),
              transform 0.32s var(--ease-entry), visibility 0s 0.32s;
}
#nr-root[data-theme="light"] .nr-dock-panel { box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.28);
}
#nr-root .nr-dock.is-open .nr-dock-panel {
  grid-template-rows: 1fr;
  visibility: visible; opacity: 1; transform: none;
  transition-delay: 0s;
}
#nr-root .nr-dock-clip { overflow: hidden; min-height: 0; display: flex; flex-direction: column;
}
#nr-root .nr-dock-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px 10px;
}
#nr-root .nr-dock-title {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
}
#nr-root .nr-dock-min {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent;
  color: var(--fg-dim); cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
#nr-root .nr-dock-min:hover { background: var(--bg-2); color: var(--fg); border-color: var(--line);
}
#nr-root .nr-dock-min:focus-visible,
#nr-root .nr-dock-model:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px;
}
#nr-root .nr-dock-slot {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0 16px 16px;
  min-height: 0;
  overflow-y: auto;
}
#nr-root .nr-dock-head,
#nr-root .nr-dock .studio-chips,
#nr-root .nr-dock .studio-cta { flex-shrink: 0;
}
#nr-root .nr-dock .studio-chips { justify-content: flex-start;
}
#nr-root .nr-dock .studio-canvas {
  flex: 1 1 auto;
  min-height: 140px; height: 40vh; max-height: 420px;
}
#nr-root .studio.is-absorbed { display: none;
}
#nr-root:has(.studio.has-receipt) .nr-dock .studio-cta { display: none;
}
@media (max-width: 640px) {
  #nr-root .hero--stack { padding: 64px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  }
  #nr-root .hero--stack .hero-h1 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.02;
  }
  #nr-root .hero--stack .hero-lead { font-size: 16px; line-height: 1.45;
  }
  #nr-root .hero-stack .hero-lead { margin-top: 14px;
  }
  #nr-root .hero-stack .hero-voice,
  #nr-root .hero-stack .hero-copy > .hero-reassure { margin-top: 12px;
  }
  #nr-root .hero-stack .hero-actions { margin-top: 20px;
  }
  #nr-root .nr-dock--fixed { padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  #nr-root .nr-dock .studio-chips {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  #nr-root .nr-dock .studio-chips::-webkit-scrollbar { display: none;
  }
  #nr-root .nr-dock-bar { padding: 12px 12px 10px 16px; border-radius: 20px; gap: 12px 8px;
  }
  #nr-root .nr-dock-home { margin-top: 20px;
  }
  #nr-root .nr-dock-model-label { max-width: 96px;
  }
  #nr-root .nr-dock .studio-canvas { height: 46vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  #nr-root .nr-dock-inner,
  #nr-root .nr-dock-panel,
  #nr-root .nr-dock-model-chev { transition: none !important;
  }
}
#nr-root .nr-dock--fixed { transition: opacity var(--nr-motion-base) var(--ease), transform var(--nr-motion-base) var(--ease);
}
#nr-root .nr-dock--fixed.is-yield { opacity: 0; transform: translateY(14px);
}
#nr-root .nr-dock--fixed.is-yield-done { visibility: hidden;
}
@media (pointer: coarse), (max-width: 640px) {
  #nr-root .nr-dock-min { width: 44px; height: 44px;
  }
  #nr-root .nr-dock-model { height: 44px;
  }
}
