/* Navorvisor — navorvisor.navortec.com
   Site version 1.0.0 */

@font-face {
  font-family: "Saira";
  src: url("fonts/saira.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --frost: #e8eef3;
  --snow: #f6f8fa;
  --ink: #0c1a28;
  --steel: #4a6276;
  --rule: #c8d4de;
  --link: #1f5684;
  --ice: #8fd0f2;
  --ice-deep: #3a8fca;

  --night-text: #e8eef3;
  --night-muted: #9db2c4;
  --night-rule: #22364a;

  --display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --measure: 34rem;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--frost);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ice-deep); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--ink); color: var(--frost); padding: 10px 16px; z-index: 10;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 2; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 22px; padding-bottom: 22px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 650; font-stretch: 100%;
  font-size: 1.375rem; letter-spacing: 0.01em; line-height: 1;
}
.brand-mark { width: 22px; height: auto; }

.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-nav a {
  color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 1rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--ice-deep); }

/* ---------- Buttons ---------- */

/* Corner cut at the same slant as the N's bars. */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px 12px 30px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  background: var(--ink); color: var(--frost);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 26px));
  transition: background-color .15s ease;
}
.button:hover { background: #1b3350; }
.button:focus-visible { clip-path: none; outline-offset: 4px; }

.night .button { background: var(--frost); color: var(--ink); }
.night .button:hover { background: #ffffff; }
.night .button:focus-visible { outline-color: var(--ice); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--rule); padding: 40px 0 56px; font-size: 0.9375rem; color: var(--steel); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-top .brand { font-size: 1.125rem; }
.footer-top .brand-mark { width: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.legal { margin: 28px 0 0; max-width: 46rem; font-size: 0.8125rem; line-height: 1.55; }
.copyright { margin: 8px 0 0; font-size: 0.8125rem; }

/* ---------- 404 ---------- */

.lost { min-height: 70vh; display: flex; align-items: center; }
.lost h1 {
  margin: 0 0 20px; font-family: var(--display); font-weight: 700; font-stretch: 84%;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.96;
}
.lost p { margin: 0 0 32px; color: var(--steel); max-width: var(--measure); font-size: 1.1875rem; }


code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em; padding: 0.08em 0.32em; border-radius: 3px;
  background: rgba(12, 26, 40, 0.07);
}

/* ---------- Navorvisor page ---------- */

.top { background: var(--ink); color: var(--night-text); }
.top .brand { color: var(--night-text); }
.top .brand-mark { width: 30px; }
.by-line { color: var(--night-muted); font-size: 0.9375rem; text-decoration: none; }
.by-line span { color: var(--night-text); border-bottom: 1px solid var(--night-rule); padding-bottom: 2px; }
.by-line:hover span { border-bottom-color: var(--ice); }
.top :focus-visible { outline-color: var(--ice); }

.hero .wrap {
  display: grid; gap: clamp(40px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  padding-top: clamp(40px, 7vh, 88px); padding-bottom: clamp(72px, 11vh, 128px);
}

.hero h1 {
  margin: 0;
  font-family: var(--display); font-weight: 700; font-stretch: 84%;
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  line-height: 0.95; letter-spacing: -0.012em;
  text-wrap: balance;
}
.hero .lede {
  margin: clamp(24px, 3vw, 36px) 0 0; max-width: var(--measure);
  font-size: clamp(1.125rem, 1.45vw, 1.28rem); line-height: 1.55; color: var(--night-muted);
}
.availability {
  margin: 32px 0 0; padding-top: 20px; max-width: var(--measure);
  border-top: 1px solid var(--night-rule);
  color: var(--night-text); font-size: 1rem;
}
.status-dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 10px;
  vertical-align: 0.08em; transform: skewX(-28deg);
  box-shadow: inset 0 0 0 1.5px var(--night-muted);
}

/* Engine picker: the page's one interactive piece. */
.engine {
  background: var(--snow); color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 30px 60px -20px rgba(0,0,0,0.55);
  overflow: hidden;
}
.engine-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; background: #e3e9ee; border-bottom: 1px solid var(--rule);
}
.engine-machine { display: flex; align-items: center; gap: 12px; min-width: 0; }
.engine-machine svg { width: 28px; height: 28px; flex: none; }
.engine-machine b { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.engine-machine small { display: block; color: var(--steel); font-size: 0.8125rem; line-height: 1.3; }
.engine-state { font-size: 0.8125rem; color: var(--steel); white-space: nowrap; }

.engine-body { padding: 22px 22px 24px; }
.engine-label { margin: 0 0 10px; font-size: 0.875rem; font-weight: 600; color: var(--steel); }

.segmented {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  padding: 3px; border-radius: 8px; background: #dbe3ea;
}
.segmented button {
  appearance: none; border: 0; margin: 0; cursor: pointer;
  padding: 9px 8px; border-radius: 6px;
  background: transparent; color: var(--ink);
  font: 500 0.875rem/1.2 var(--body);
}
.segmented button:hover { background: rgba(255,255,255,0.5); }
.segmented button[aria-selected="true"] {
  background: #ffffff; font-weight: 600;
  box-shadow: 0 1px 2px rgba(12,26,40,0.18), 0 0 0 0.5px rgba(12,26,40,0.08);
}
.segmented button:focus-visible { outline-offset: 1px; }

.engine-panel { margin-top: 22px; }
.engine-panel[hidden] { display: none; }
.engine-panel h2 {
  margin: 0 0 4px;
  font-family: var(--display); font-weight: 700; font-stretch: 88%;
  font-size: 1.75rem; line-height: 1.05;
}
.engine-panel .what { margin: 0 0 18px; color: var(--steel); font-size: 0.9875rem; }
.engine-panel dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: 20px; }
.engine-panel dt, .engine-panel dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.5; }
.engine-panel dt { color: var(--steel); }
.engine-note { margin: 18px 0 0; font-size: 0.875rem; color: var(--steel); }

@media (prefers-reduced-motion: no-preference) {
  .engine-panel:not([hidden]) { animation: swap .22s ease-out; }
}
@keyframes swap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Features ---------- */

.group { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--rule); }
.group:first-of-type { border-top: 0; }
.group .wrap {
  display: grid; gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.group h2 {
  margin: 0;
  font-family: var(--display); font-weight: 700; font-stretch: 84%;
  font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 0.98; letter-spacing: -0.01em;
  text-wrap: balance;
}
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items h3 { margin: 0 0 6px; font-size: 1.125rem; font-weight: 650; line-height: 1.3; }
.items p { margin: 0; color: var(--steel); font-size: 1rem; line-height: 1.6; }

@media (max-width: 960px) { .group .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .items { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Release ---------- */

.release { background: var(--snow); border-top: 1px solid var(--rule); padding: clamp(72px, 10vw, 120px) 0; }
.release .wrap {
  display: grid; gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start;
}
.release h2 {
  margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 84%;
  font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 0.98;
}
.release p { margin: 0 0 28px; max-width: var(--measure); font-size: 1.1875rem; }
@media (max-width: 960px) { .release .wrap { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.lost { min-height: 64vh; display: flex; align-items: center; }
.lost h1 {
  margin: 0 0 20px; font-family: var(--display); font-weight: 700; font-stretch: 84%;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.96;
}
.lost p { margin: 0 0 32px; color: var(--steel); max-width: var(--measure); font-size: 1.1875rem; }

@media print { .top { background: none; color: #000; } .engine { display: none; } }
