/* saasyn.com/dcnav: DCNAV by saasyn. A light page in the colours of the visitor app: the hero the size of /dcos, then the demo on the page itself. */
:root { color-scheme: light; }
body[data-theme="light"] { background: #f3f6f9; color: #0b1220; }
body[data-theme="light"]::after { display: none; }
.nv { --ink: #0b1220; --green: #10b981; --mint: #34d399; --deep: #047857; --dim: #4b5568; --mute: #6b7489;
  --ln: rgba(11,18,32,.08); --ln2: rgba(11,18,32,.14); --card: #fff;
  --grad: linear-gradient(100deg, #059669, #10b981 60%, #34d399); --gradt: linear-gradient(90deg, #047857, #10b981 60%, #34d399);
  --hd: 'Space Grotesk', sans-serif; --tx: 'Inter Tight', system-ui, sans-serif; color: var(--ink); position: relative; z-index: 1; }
.nv * { box-sizing: border-box; }
.nv-wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }
.nv-sec { padding: 140px 0 0; position: relative; }
.nv-num { display: flex; align-items: center; gap: 12px; font: 600 .72rem var(--tx); letter-spacing: .2em; text-transform: uppercase; color: var(--deep); margin: 0 0 20px; }
.nv-num::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.nv-h { font-family: var(--hd); font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 4.4rem); letter-spacing: -.045em; line-height: .98; margin: 0; color: var(--ink); text-wrap: balance; }
.nv-h em, .nv-hero h1 em { font-style: normal; background: var(--gradt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-lead { color: var(--dim); font: 400 1.1rem/1.62 var(--tx); margin: 0; max-width: 60ch; text-wrap: pretty; }
.nv-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.nv-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--ln2);
  color: var(--ink); font: 600 .95rem var(--tx); text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; white-space: nowrap; }
.nv-btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(11,18,32,.24), 0 10px 24px rgba(11,18,32,.08); }
.nv-btn.go { background: var(--grad); color: #fff; box-shadow: 0 14px 34px rgba(5,150,105,.28); }
.nv-btn.go:hover { box-shadow: 0 18px 44px rgba(5,150,105,.38); }
.nv-btn svg { width: 17px; height: 17px; flex: none; }
.nv-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.nv-small { color: var(--mute); font: 400 .9rem/1.5 var(--tx); margin: 22px 0 0; }
.nv-small a { color: var(--deep); font-weight: 600; text-decoration: none; }
.nv-rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.nv-rv.in { opacity: 1; transform: none; }
.nv-rv[data-d="1"] { transition-delay: .08s; } .nv-rv[data-d="2"] { transition-delay: .16s; } .nv-rv[data-d="3"] { transition-delay: .24s; }

/* ---------- the intro: plays by itself, light, no grid */
html.ix-on, html.ix-on body { overflow: hidden !important; }
.ix { position: fixed; inset: 0; z-index: 2147483000; display: none; place-items: center; cursor: pointer; color: #0b1220;
  background: radial-gradient(70% 60% at 85% 0%, rgba(16,185,129,.14), transparent 60%), radial-gradient(60% 55% at 0% 100%, rgba(52,211,153,.10), transparent 60%), #f6f8fa;
  transition: transform 1.05s cubic-bezier(.76,0,.24,1), opacity .5s; }
html.ix-on .ix { display: grid; }
.ix.out { transform: translateY(-100%); }
.ix.gone { opacity: 0; pointer-events: none; }
.ix[hidden] { display: none !important; }
.ix-logo { width: min(70vw, 1000px); color: #0b1220; }
.ix-logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.ix-corner { position: absolute; left: 28px; top: 24px; font: 600 .68rem 'Inter Tight', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #8a93a6; }
.ix-corner.r { left: auto; right: 28px; }

/* ---------- 01 hero: the same size and build as /dcos */
.nv-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden;
  background: radial-gradient(60% 70% at 88% 30%, rgba(16,185,129,.10), transparent 65%); }
.nv-hero-art { position: absolute; z-index: 0; right: -9vw; top: 50%; width: min(1180px, 78vw); translate: 0 -46%; pointer-events: none;
  --bp-floor: rgba(70,81,106,.09); --bp-line: rgba(70,81,106,.30); --rk-fill: rgba(255,255,255,.62);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
.nv-hero-art svg { width: 100%; height: auto; display: block; }
.nv-hero .nv-wrap { position: relative; z-index: 1; }
.nv-hero-tx { max-width: 640px; }
.nv-hero .dcnav-anim { width: min(470px, 82vw); height: auto; color: #0b1220; margin: 0 0 40px; display: block; overflow: visible; }
.nv-hero h1 { font-family: var(--hd); font-weight: 700; font-size: clamp(2.8rem, 6.6vw, 5.6rem); letter-spacing: -.05em; line-height: .95; margin: 0; color: var(--ink); text-wrap: balance; }
.nv-hero p { color: var(--dim); font: 400 1.18rem/1.6 var(--tx); margin: 28px 0 0; max-width: 34em; }

/* ---------- 02 the demo, on the page itself */
.nv-demo { position: relative; height: clamp(840px, 100vh, 940px); scroll-margin-top: 60px;
  background: radial-gradient(55% 60% at 78% 45%, rgba(16,185,129,.10), transparent 70%), radial-gradient(40% 50% at 15% 70%, rgba(52,211,153,.07), transparent 70%); }
.nv-demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: transparent; color-scheme: light; }
.nv-mob { display: none; }

/* ---------- 03 alarms */
.nv-alarm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 44px; align-items: center; }
.nv-phs { display: grid; grid-template-columns: repeat(3, 186px); gap: 16px; }
.nv-phs figure, .nv-dsk { margin: 0; }
.nv-phs .ph { border-radius: 28px; padding: 6px; background: #0d1017; box-shadow: 0 30px 60px rgba(11,18,32,.18); }
.nv-phs .ph img { width: 100%; display: block; border-radius: 22px; aspect-ratio: 390 / 844; object-fit: cover; }
.nv-phs figcaption, .nv-dsk figcaption { margin-top: 14px; color: var(--dim); font: 400 .9rem/1.45 var(--tx); }
.nv-phs figcaption b, .nv-dsk figcaption b { display: block; color: var(--ink); font: 600 .98rem var(--tx); margin-bottom: 2px; }
.nv-dsk .win { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--ln2), 0 40px 90px rgba(11,18,32,.16); }
.nv-dsk .bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: #eef1f5; }
.nv-dsk .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d8e0; }
.nv-dsk img { width: 100%; display: block; }

/* ---------- 04 the desk on a laptop */
.nv-laptop { max-width: 1060px; margin: 0 auto; }
.nv-laptop .lid { border-radius: 20px 20px 8px 8px; background: #0d1017; padding: 12px 12px 16px; box-shadow: 0 50px 110px rgba(11,18,32,.22); }
.nv-laptop .scr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #f4f6f9; }
.nv-laptop iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(var(--k, .6)); display: block; }
.nv-laptop .base { height: 16px; margin: 0 -5%; border-radius: 2px 2px 16px 16px; background: linear-gradient(#cfd4dc, #a8afba 60%, #8f96a2); box-shadow: 0 18px 40px rgba(11,18,32,.18); }
.nv-poster { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; cursor: pointer; background: #0b0f18 top left / cover; display: grid; place-items: center; }
.nv-poster::after { content: ""; position: absolute; inset: 0; background: rgba(11,18,32,.45); }
.nv-poster .in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 34px; color: #fff; font: 400 .92rem/1.45 var(--tx); text-align: center; }
.nv-poster .in b { font: 700 1.35rem var(--hd); letter-spacing: -.02em; }
.nv-poster .play { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 20px 60px rgba(5,150,105,.5); transition: transform .3s; margin-bottom: 6px; }
.nv-poster:hover .play { transform: scale(1.06); }
.nv-poster .play svg { width: 30px; height: 30px; margin-left: 5px; color: #fff; }
.nv-poster[hidden] { display: none; }
.nv-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 48px auto 0; max-width: 1060px; }
.nv-three > div { border-top: 1px solid var(--ln2); padding-top: 16px; display: grid; gap: 6px; }
.nv-three b { color: var(--ink); font: 600 1.02rem var(--tx); }
.nv-three span { color: var(--dim); font: 400 .95rem/1.5 var(--tx); }
#desk .nv-small { text-align: center; }

/* ---------- 05 questions */
.nv-faq { border-top: 1px solid var(--ln2); }
.nv-faq details { border-bottom: 1px solid var(--ln2); }
.nv-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; color: var(--ink); font: 600 1.2rem var(--tx); }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::after { content: "+"; font: 400 1.6rem var(--tx); color: var(--deep); transition: transform .3s; }
.nv-faq details[open] summary::after { transform: rotate(45deg); }
.nv-faq p { color: var(--dim); font: 400 1.03rem/1.65 var(--tx); margin: 0 0 26px; max-width: 70ch; }

/* ---------- 06 end */
.nv-end { position: relative; overflow: hidden; margin: 150px 0 120px; padding: 56px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln), 0 30px 70px rgba(11,18,32,.08);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px 50px; align-items: center;
  --bp-floor: rgba(70,81,106,.08); --bp-line: rgba(70,81,106,.26); --rk-fill: rgba(255,255,255,.7); }
.nv-end .art { position: absolute; right: -4%; top: 50%; translate: 0 -50%; width: 58%; opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%); mask-image: linear-gradient(90deg, transparent, #000 50%); }
.nv-end > div { position: relative; z-index: 1; }
.nv-end h2 { font: 700 clamp(2.2rem, 4.6vw, 3.8rem)/1 var(--hd); letter-spacing: -.045em; color: var(--ink); margin: 0; }
.nv-end h2 em { font-style: normal; background: var(--gradt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-end p { color: var(--dim); font: 400 1.1rem/1.6 var(--tx); margin: 16px 0 0; max-width: 34em; }

/* ---------- the site header on a light page */
body[data-theme="light"] .site-header .brand .word { background: #0b1220; }
body[data-theme="light"] .site-header .brand .gs { background: #8a95a8; }
body[data-theme="light"] .site-header.scrolled { background: rgba(243,246,249,.86); border-bottom-color: rgba(11,18,32,.08); }
body[data-theme="light"] .nav-links > a, body[data-theme="light"] .nav-links > .dd > .dd-trig { color: #46516a; }
body[data-theme="light"] .nav-links > a:hover, body[data-theme="light"] .nav-links > .dd > .dd-trig:hover { color: #0b1220; background: rgba(11,18,32,.05); }
body[data-theme="light"] .nav-links > a.active { color: #0b1220; }
body[data-theme="light"] .nav-links > a.active::after { background: linear-gradient(90deg, #059669, #34d399); }
body[data-theme="light"] .nav-login { color: #46516a; }
body[data-theme="light"] .nav-login:hover { color: #0b1220; background: rgba(11,18,32,.05); border-color: rgba(11,18,32,.12); }
body[data-theme="light"] .nav-toggle span { background: #0b1220; }
@media (max-width: 980px) {
  body[data-theme="light"] .nav-links { background: rgba(243,246,249,.98); border-bottom-color: rgba(11,18,32,.08);
    --white: #0b1220; --text: #0b1220; --text-dim: #46516a; --text-mute: #6b7489; --line: rgba(11,18,32,.08); --line-2: rgba(11,18,32,.14); }
  body[data-theme="light"] .nav-links a { border-bottom-color: rgba(11,18,32,.08); }
}

@media (max-width: 1180px) { .nv-alarm { grid-template-columns: 1fr; justify-items: center; } }
@media (max-width: 920px) {
  .nv-head, .nv-end { grid-template-columns: 1fr; }
  .nv-sec { padding-top: 110px; }
  .ix-logo { width: 86vw; }
  .ix-corner { display: none; }
  .nv-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-top: 120px; }
  .nv-hero-art { order: 2; position: relative; right: auto; top: auto; translate: none; width: 150%; margin: 40px 0 0 -10%; -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
  .nv-demo { height: auto; padding: 20px 0 0; background: none; }
  .nv-demo iframe { display: none; }
  .nv-mob { display: block; position: relative; width: min(340px, 100% - 48px); margin: 0 auto; border-radius: 40px; padding: 8px; background: #0d1017; box-shadow: 0 40px 90px rgba(11,18,32,.22); text-decoration: none; }
  .nv-mob img { width: 100%; display: block; border-radius: 32px; }
  .nv-mob .in { position: absolute; inset: 8px; border-radius: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(180deg, rgba(11,18,32,.1), rgba(11,18,32,.6)); color: #fff; text-align: center; font: 400 .9rem var(--tx); }
  .nv-mob .in b { font: 700 1.3rem var(--hd); }
  .nv-mob .play { width: 76px; height: 76px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 18px 50px rgba(5,150,105,.5); }
  .nv-mob .play svg { width: 28px; height: 28px; margin-left: 4px; color: #fff; }
  .nv-three { grid-template-columns: 1fr; }
  .nv-end { padding: 34px 28px; }
}
@media (max-width: 640px) {
  .nv-wrap { width: calc(100% - 32px); }
  .nv-phs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .nv-phs .ph { border-radius: 18px; padding: 4px; } .nv-phs .ph img { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .nv-rv { opacity: 1; transform: none; transition: none; } }

/* the hero lines up with /dcos: the logo starts at the same point and its letters are the same height
   (DCNAV's wider badge needs 470 x 3318 / 2690 = 580 px to match DCOS at 470 px) */
@media (min-width: 921px) { .nv-hero { align-items: flex-start; padding-top: calc(130px + max(0px, (100svh - 861px) / 2)); } }
.nv-hero .dcnav-anim { width: min(580px, 100%); }
/* the headline on two lines, like /dcos: "The visitor map for" / "data centres." */
@media (min-width: 921px) { .nv-hero h1 { max-width: none; } .nv-hero h1 .l { display: block; white-space: nowrap; } }
/* big screens: the whole drawing stays on screen, starting just after the text */
@media (min-width: 1600px) { .nv-hero .nv-hero-art { right: auto; left: calc((100vw - 1240px) / 2 + 690px); width: min(1080px, calc(100vw - (100vw - 1240px) / 2 - 690px - 48px)); translate: 0 -50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%); } }
/* the drawing sits clear of the longer first line */
@media (min-width: 921px) { .nv-hero-art { right: -16vw; width: min(1080px, 70vw); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); } }
/* questions: the answer sits right under its question, a little wider, and the open mark is a minus rather than a turned plus */
.nv-faq details[open] summary { padding-bottom: 12px; }
.nv-faq p { max-width: 82ch; margin: 0 0 28px; }
.nv-faq summary::after { width: 1em; text-align: center; transition: none; }
.nv-faq details[open] summary::after { content: "\2212"; transform: none; }

/* ---------- what it changes */
.nv-bens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nv-ben { background: #fff; border-radius: 22px; padding: 26px 24px 28px; box-shadow: inset 0 0 0 1px var(--ln), 0 14px 34px rgba(11,18,32,.05); }
.nv-ben .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(16,185,129,.1); color: var(--deep); margin-bottom: 20px; }
.nv-ben .ic svg { width: 23px; height: 23px; }
.nv-ben h3 { font: 700 1.2rem/1.2 var(--hd); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.nv-ben p { color: var(--dim); font: 400 .96rem/1.55 var(--tx); margin: 0; }

/* ---------- the calculator */
.nv-calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--ln), 0 30px 70px rgba(11,18,32,.08); }
.nv-calc .in { padding: 38px 40px; display: grid; gap: 26px; }
.nv-calc label { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.nv-calc label span { color: var(--dim); font: 500 .98rem var(--tx); }
.nv-calc output { font: 700 1.25rem var(--hd); color: var(--ink); font-variant-numeric: tabular-nums; }
.nv-calc input[type=range] { grid-column: 1 / -1; width: 100%; height: 6px; margin: 0; -webkit-appearance: none; appearance: none; border-radius: 3px; cursor: pointer;
  background: linear-gradient(90deg, #10b981 0 var(--p, 50%), #e3e8ee var(--p, 50%) 100%); }
.nv-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #10b981, 0 4px 12px rgba(5,150,105,.3); }
.nv-calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #10b981, 0 4px 12px rgba(5,150,105,.3); }
.nv-calc .out { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; gap: 26px; color: #fff;
  background: radial-gradient(80% 70% at 85% 10%, rgba(52,211,153,.35), transparent 60%), linear-gradient(150deg, #064e3b, #047857 60%, #059669); }
.nv-calc .big span { display: block; font: 600 .78rem var(--tx); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.nv-calc .big b { display: block; font: 700 clamp(3rem, 6vw, 4.8rem)/1 var(--hd); letter-spacing: -.04em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.nv-calc .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
.nv-calc .row b { display: block; font: 700 1.45rem var(--hd); font-variant-numeric: tabular-nums; }
.nv-calc .row span { font: 400 .85rem/1.35 var(--tx); opacity: .8; }
.nv-calc .out p { margin: 0; font: 400 .85rem var(--tx); opacity: .7; }

/* ---------- how we map your site */
.nv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nv-steps li { position: relative; background: #fff; border-radius: 22px; padding: 28px 26px 30px; box-shadow: inset 0 0 0 1px var(--ln), 0 14px 34px rgba(11,18,32,.05); }
.nv-steps .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 24px rgba(5,150,105,.25); }
.nv-steps .ic svg { width: 23px; height: 23px; }
.nv-steps .k { position: absolute; right: 26px; top: 30px; font: 700 1rem var(--hd); color: #c6ceda; letter-spacing: .04em; }
.nv-steps h3 { font: 700 1.2rem/1.2 var(--hd); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.nv-steps p { color: var(--dim); font: 400 .96rem/1.55 var(--tx); margin: 0; }

@media (max-width: 1180px) { .nv-bens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) { .nv-calc { grid-template-columns: 1fr; } .nv-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .nv-bens, .nv-steps { grid-template-columns: 1fr; }
  .nv-calc .in, .nv-calc .out { padding: 28px 22px; }
  .nv-calc .row { grid-template-columns: 1fr; gap: 12px; }
}
