/* Novarch's landing-page palette and system typography for the rest of the site. */
.nv-page {
  --ink: #1d1d1f;
  --ink-2: #515154;
  --paper: #fff;
  --mist: #f5f5f7;
  --line: #d2d2d7;
  --night: #161617;
  --blue: #0071e3;
  --link: #0066cc;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}

.nv-page *, .nv-page *::before, .nv-page *::after { box-sizing: border-box; }
.nv-page [hidden] { display: none !important; }
.nv-page img { max-width: 100%; }
.nv-page a { color: var(--link); text-underline-offset: .18em; }
.nv-page :focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.nv-page :is([id], summary) { scroll-margin-top: 60px; }
.nv-page .nv-skip { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 8px 12px; background: var(--paper); border-radius: 6px; }
.nv-page .nv-skip:not(:focus) { clip-path: inset(50%); }

.nv-global { position: sticky; top: 0; z-index: 60; }
.nv-global::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(22, 22, 23, .88); backdrop-filter: saturate(180%) blur(20px); }
.nv-global-inner, .nv-site-footer-inner, .nv-wide { width: min(1024px, calc(100% - 40px)); margin-inline: auto; }
.nv-global-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nv-global-links { display: flex; flex: 1; justify-content: space-between; gap: 12px; }
.nv-global a { display: inline-flex; align-items: center; min-height: 44px; color: #e8e8ed; text-decoration: none; font: 500 12px/1.2 var(--text); }
.nv-global a:hover, .nv-global a[aria-current="page"] { color: #fff; text-decoration: underline; }
.nv-global img { display: block; border-radius: 5px; }
.nv-global .nv-home { min-width: 32px; }
.nv-mobile-nav { display: none; }
.nv-mobile-nav summary {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  color: #e8e8ed;
  cursor: pointer;
  list-style: none;
}
.nv-mobile-nav summary::-webkit-details-marker { display: none; }
.nv-mobile-nav summary span { display: block; width: 17px; height: 1.5px; background: currentColor; border-radius: 2px; }
.nv-mobile-nav[open] summary span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nv-mobile-nav[open] summary span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nv-mobile-sheet {
  position: absolute;
  inset: 100% 0 auto;
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  padding: 20px 32px 28px;
  background: var(--night);
}
.nv-global .nv-mobile-sheet a { display: flex; font-size: 26px; font-weight: 600; }
@media (prefers-reduced-transparency: reduce) {
  .nv-global::before { background: var(--night); backdrop-filter: none; }
}

.nv-site-footer { background: var(--mist); color: var(--ink-2); }
.nv-site-footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-block: 24px 32px; font-size: 13px; }
.nv-site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.nv-site-footer a { color: var(--ink-2); }

.nv-page-hero { background: var(--mist); text-align: center; padding: clamp(56px, 9vw, 104px) 20px clamp(48px, 7vw, 80px); }
.nv-page-hero h1, .nv-document h1, .nv-utility h1 {
  margin: 0;
  font: 600 clamp(40px, 7vw, 76px)/1.04 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.nv-page-hero .nv-kicker { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.nv-page-hero .lede { max-width: 63ch; margin: 20px auto 0; color: var(--ink-2); font-size: clamp(17px, 2.4vw, 22px); text-wrap: pretty; }
.nv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nv-page-hero .nv-actions { justify-content: center; margin-top: 24px; }
.nv-page :is(.nv-pill, .nv-document .button, .nv-utility .install, .nv-utility .button) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 980px;
  text-align: center;
  text-decoration: none;
  color: var(--link);
  font-size: 15px;
  font-weight: 500;
}
.nv-page :is(.nv-pill-primary, .nv-document .button-primary, .nv-utility .install, .nv-utility .button:not(.secondary)) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.nv-page :is(.nv-pill, .nv-document .button, .nv-utility .install, .nv-utility .button):hover { text-decoration: underline; }

/* Editorial feed. */
.nv-announcements { display: flex; flex-direction: column; }
.nv-announcements main { flex: 1; }
.nv-announcements .nv-list { width: min(760px, calc(100% - 40px)); margin-inline: auto; padding: 24px 0 64px; }
.nv-announcements .nv-ann { padding: 36px 0; border-bottom: 1px solid var(--line); }
.nv-announcements .nv-ann-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--ink-2); font-size: 14px; }
.nv-announcements .nv-ann-kind { border-radius: 980px; padding: 4px 12px; background: var(--mist); font-weight: 600; }
.nv-announcements .nv-ann-release { background: #e7f1fb; color: #07548b; }
.nv-announcements .nv-ann-beta { background: #f5ecda; color: #684b16; }
.nv-announcements .nv-ann > h2 { margin: 12px 0 16px; font-size: clamp(28px, 5vw, 44px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.nv-announcements .nv-ann-body { color: var(--ink-2); overflow-wrap: anywhere; }
.nv-announcements .nv-ann-body > * { margin: 0 0 16px; }
.nv-announcements .nv-ann-body > :last-child { margin-bottom: 0; }
.nv-announcements .nv-ann-body :is(h3, h4, h5, h6, strong) { color: var(--ink); }
.nv-announcements .nv-ann-body :is(h3, h4, h5, h6) { margin-top: 24px; line-height: 1.2; }
.nv-announcements .nv-ann-body li + li { margin-top: 8px; }
.nv-announcements .nv-ann-body blockquote { border-inline-start: 3px solid var(--line); padding-inline-start: 16px; }
.nv-announcements .nv-ann-body table { display: block; overflow-x: auto; border-collapse: collapse; }
.nv-announcements .nv-ann-body :is(th, td) { padding: 8px 12px; border: 1px solid var(--line); text-align: start; }
.nv-announcements .nv-ann-body th { background: var(--mist); }
.nv-announcements .nv-ann-body pre, .nv-document pre { overflow-x: auto; border-radius: 12px; background: var(--mist); padding: 16px; }
.nv-announcements .nv-ann-body code, .nv-document code { font-family: var(--mono); font-size: .88em; }
.nv-announcements .nv-ann-link { display: inline-block; margin-top: 20px; }
.nv-announcements :is(.nv-ann-empty, .nv-ann-loading) { padding: 24px 0; color: var(--ink-2); }

/* Policies, support and release notes keep the same comfortable reading measure. */
.nv-document { --reading: min(760px, calc(100% - 40px)); }
.nv-document .nv-reading { width: var(--reading); margin: 0 auto; padding: 48px 0 64px; overflow-wrap: anywhere; }
.nv-document .nv-reading h1 { font-size: clamp(36px, 6vw, 56px); margin: 8px 0 16px; }
.nv-document .nv-reading h2 { font-size: clamp(23px, 4vw, 30px); line-height: 1.15; letter-spacing: -.025em; margin: 32px 0 8px; }
.nv-document .nv-reading h3 { line-height: 1.25; margin: 24px 0 8px; }
.nv-document .nv-reading p { margin: 0 0 12px; }
.nv-document .nv-reading :is(.kicker, .eyebrow, .updated, .date, .policy-meta, .muted, .mono) { color: var(--ink-2); font-size: 14px; }
.nv-document .nv-reading .lede { color: var(--ink-2); font-size: 20px; }
.nv-document .nv-reading :is(.summary, .policy-summary, .contact-card, .support-card, .latest) { margin-block: 20px; padding: 20px; background: var(--mist); border-radius: 16px; }
.nv-document .nv-reading :is(.summary, .policy-summary, .contact-card, .support-card, .latest) > :last-child { margin-bottom: 0; }
.nv-document .nv-reading :is(ol, ul) { padding-inline-start: 24px; }
.nv-document .nv-reading li + li { margin-top: 8px; }
.nv-document .nv-reading :is(.rule, hr) { border: 0; border-top: 1px solid var(--line); margin-block: 24px; }
.nv-document .nv-reading .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nv-document .nv-reading .support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nv-document .nv-reading .support-card { margin: 0; }
.nv-document .nv-reading .support-card h3 { margin-top: 0; }
.nv-document .nv-reading .versions { padding: 0; list-style: none; }
.nv-document .nv-reading .versions a { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
.nv-document :is(.site-header, .site-footer, .nv-local, .backwrap) { width: var(--reading); margin-inline: auto; }
.nv-document :is(.site-header, .site-footer, .nv-local) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.nv-document :is(.site-nav, .top-nav, .site-header nav, .footer-links, .site-footer nav) { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nv-document :is(.brand, .nv-doc-brand) { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.nv-document .brand img, .nv-document .nv-doc-brand img { display: block; width: 32px; height: 32px; border-radius: 8px; }
.nv-document .brand :is(small, .brand-copy > span) { display: block; color: var(--ink-2); font-size: 12px; }
.nv-document .site-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.nv-document .backwrap { padding-bottom: 32px; }

.nv-utility main { width: min(540px, calc(100% - 40px)); margin: 0 auto; padding-block: 48px 64px; }
.nv-utility h1 { margin: 12px 0 16px; font-size: clamp(38px, 7vw, 56px); }
.nv-utility .brand, .nv-utility .note { font-size: 14px; }
.nv-utility p, .nv-utility ol { color: var(--ink-2); }
.nv-utility .panel { margin: 24px 0; padding: 24px; border-radius: 20px; background: var(--mist); }
.nv-utility .panel p { text-align: center; }
.nv-utility .panel :is(.button, .install) { width: 100%; }
.nv-utility .back { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 734px) {
  .nv-global-links { display: none; }
  .nv-mobile-nav { display: block; margin-inline-end: -12px; }
  .nv-document .nv-reading .support-grid { grid-template-columns: minmax(0, 1fr); }
  .nv-document .nv-reading { padding-block: 36px 48px; }
}

@media (max-width: 360px) {
  .nv-global-inner { width: calc(100% - 24px); gap: 8px; }
}

.nv-document .nv-reading .lettered-list { list-style-type: lower-alpha; }
.nv-document .nv-reading .lettered-list h3 { margin-top: 12px; }
.nv-document .nv-reading .faq-list { padding: 0; list-style: none; }
.nv-document .nv-reading .faq-list li { border-top: 1px solid var(--line); }
.nv-document .site-header .header-button { min-height: 36px; }
.nv-document .site-footer .footer-copy > * { display: block; }

.nv-handleme .nv-product-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nv-handleme .nv-product-nav a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; text-decoration: none; }
.nv-handleme .nv-product-nav a:first-child { color: var(--ink); font-size: 20px; font-weight: 600; margin-inline-end: auto; }
.nv-handleme .nv-product-nav a:hover { text-decoration: underline; }
.nv-handleme .nv-hero h1 { text-wrap: balance; }
.nv-handleme .nv-hero img { height: auto; }

@media (max-width: 560px) {
  .nv-handleme .nv-product-nav a:first-child { width: 100%; }
  .nv-handleme .nv-hero { padding-top: 48px !important; }
}

.nv-guide .doc-layout { grid-template-columns: 240px minmax(0, 1fr); }
.nv-guide .doc { background: var(--mist); }
.nv-guide .doc h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.04em; }
.nv-guide .doc h1 .rw { font-family: var(--display) !important; }
.nv-guide .code {
  --accent: #7cb9f6;
  --amber: #f0c26d;
  --green: #9ed292;
  --dimmer: #b8b8bf;
  background: var(--night);
  border-color: var(--night);
  color: #f5f5f7;
}
.nv-guide article.doc-body h2 .anchor:focus-visible { opacity: 1; }
@media (max-width: 960px) {
  .nv-guide .doc-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .nv-guide article.doc-body h2 { display: block; overflow-wrap: anywhere; }
  .nv-guide article.doc-body h2 .num { margin-inline-end: 8px; }
}
