:root {
  --bg: #0b1220;
  --panel: #111827;
  --panel-soft: #0f172a;
  --border: #1f2937;
  --text: #e5e7eb;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --cta: #0ea5e9;
  --cta-dark: #0284c7;
  --success: #22c55e;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  background: var(--text);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: 8px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, h3 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 32px); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1rem; }
.lead, .section-lead {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  max-width: 780px;
}
.eyebrow {
  margin: 0 0 .8rem;
  color: #7dd3fc;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand, .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  line-height: 0;
}
.logo-brand img { width: 132px; height: auto; display: block; }
.brand-text {
  color: var(--text);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.site-nav a, .nav-parent {
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 700;
  padding: .65rem .8rem;
  border-radius: 8px;
  white-space: nowrap;
}
.site-nav a:hover, .nav-group:hover .nav-parent {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}
.nav-group { position: relative; }
.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 230px;
  display: none;
  padding: .55rem;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}
.nav-group:hover .nav-submenu, .nav-group:focus-within .nav-submenu { display: grid; }
.nav-submenu a { display: block; padding: .7rem .8rem; }
.nav-cta, .btn, .footer-cta, .sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .78rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--cta);
  color: #06111f !important;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}
.nav-cta:hover, .btn.primary:hover, .footer-cta:hover, .sticky-cta:hover {
  background: #38bdf8;
  color: #06111f !important;
}
.btn.secondary {
  background: transparent;
  color: var(--text) !important;
  border-color: #334155;
}
.btn.secondary:hover { border-color: var(--cta); color: #e0f2fe !important; }
.btn.full { width: 100%; }
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: .65rem .8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.hero, .page-hero {
  background: var(--bg);
  color: var(--text);
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: 2rem;
  align-items: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}
.audit-card, .result-panel, .service-aside, .notice, .contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.35rem;
}
.audit-card p, .result-panel p, .service-aside p { color: var(--muted); }
.audit-card .micro, small { color: var(--subtle); }

.section {
  padding: 96px 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(31, 41, 55, .72);
}
.section.alt { background: #0f172a; }
.section-head { max-width: 820px; margin-bottom: 1.6rem; }
.section-head p { color: var(--muted); }
.split, .service-detail-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: 1.4rem;
  align-items: start;
}

.cards, .service-grid, .case-link-grid, .story-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three, .service-grid, .case-link-grid, .story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards article, .service-grid article, .case-link-card, .story-card, .case-intro-card, .quote-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  color: var(--muted);
  text-decoration: none;
}
.cards article.motion-card, .case-link-card.motion-card, .story-card.motion-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, .78), rgba(17, 24, 39, .94)),
    url('/assets/img/datacenter-hero.jpg') center / cover no-repeat;
  isolation: isolate;
}
.motion-card:before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  background: url('/assets/img/datacenter-hero.jpg') center / cover no-repeat;
  opacity: .26;
  animation: rnsImageDrift 18s ease-in-out infinite alternate;
}
.motion-card:nth-child(2n):before { animation-duration: 22s; }
.motion-card:nth-child(3n):before { animation-duration: 26s; }
.motion-card > * { position: relative; z-index: 1; }
.visual-band {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11,18,32,.96), rgba(11,18,32,.74), rgba(11,18,32,.96)),
    url('/assets/img/datacenter-hero.jpg') center / cover no-repeat;
}
.visual-band:before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url('/assets/img/datacenter-hero.jpg') center / cover no-repeat;
  opacity: .28;
  animation: rnsImageDrift 24s ease-in-out infinite alternate;
}
.visual-band .container { position: relative; z-index: 1; }
@keyframes rnsImageDrift {
  from { transform: scale(1.02) translate3d(-1%, 0, 0); }
  to { transform: scale(1.1) translate3d(1.5%, -.8%, 0); }
}
.cards article:hover, .case-link-card:hover {
  border-color: #334155;
}
.cards article p, .case-link-card p, .story-card p, .quote-card blockquote { color: var(--muted); }
.cards article a, .case-link-card a, .service-grid article a {
  color: #7dd3fc;
  font-weight: 800;
  text-decoration: none;
}
.case-link-card span, .story-label {
  display: inline-flex;
  margin-bottom: .7rem;
  color: #7dd3fc;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: .75rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}
.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cta);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}
.trust-list li, .rns-trust-bar-grid span {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .8rem .95rem;
  color: var(--muted);
}
.rns-trust-bar {
  padding: 28px 0;
  background: #0f172a;
  border-bottom: 1px solid var(--border);
}
.rns-trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}
.rns-trust-bar-grid strong {
  display: block;
  color: var(--text);
}

.cta-band {
  padding: 96px 0;
  background: #0f172a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.story-card { display: grid; gap: .85rem; }
.story-card dl {
  display: grid;
  gap: .75rem;
  margin: 0;
}
.story-card dt {
  color: var(--text);
  font-weight: 800;
}
.story-card dd {
  margin: .1rem 0 0;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.full-row { grid-column: 1 / -1; }
.mini-process {
  display: grid;
  gap: .8rem;
  margin: 1rem 0;
}
.mini-process div {
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0b1220;
}
.mini-process strong { display: block; color: var(--text); }
.mini-process span { display: block; color: var(--muted); font-size: .95rem; }
.article-wrap { max-width: 920px; }
.article-body {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.article-body h2 { margin-top: 2rem; }
.article-body p, .article-body li { color: var(--muted); }
.article-meta { color: var(--subtle); margin: 0 0 1.2rem; }
.article-cta { margin-top: 2rem; }
.remote-quicklink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  color: #bae6fd;
  font-weight: 800;
  text-decoration: none;
}
.remote-quicklink:hover { color: var(--text); }
.lead-form label { display: grid; gap: .4rem; color: var(--text); font-weight: 750; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0b1220;
  color: var(--text);
  padding: .85rem .9rem;
  font: inherit;
}
.lead-form textarea { min-height: 140px; }

.site-footer {
  background: #090f1d;
  color: var(--muted);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, .6fr) minmax(220px, .7fr);
  gap: 2rem;
}
.footer-logo img { width: 132px; display: block; }
.footer-company { max-width: 480px; }
.footer-tagline { color: var(--subtle); }
.site-footer h2 {
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin: .35rem 0;
}
.site-footer a:hover { color: var(--text); }
.footer-cta { display: inline-flex !important; margin-top: .8rem !important; }
.fineprint {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--subtle);
  font-size: .9rem;
}
.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  box-shadow: 0 16px 36px rgba(14, 165, 233, .28);
}

.rns-video-bg-section { position: relative; overflow: hidden; background: var(--bg); }
.rns-section-video-bg { display: none; }
.dark-link { color: var(--text) !important; }
.micro { color: var(--subtle); font-size: .92rem; }
code {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .1rem .35rem;
}

@media (max-width: 980px) {
  .hero-grid, .split, .service-detail-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .cards.three, .service-grid, .case-link-grid, .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rns-trust-bar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    padding: .6rem;
    background: #0f172a;
    border: 1px solid var(--border);
    border-radius: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a, .nav-parent { width: 100%; padding: .85rem; }
  .nav-group { display: grid; }
  .nav-submenu {
    position: static;
    display: grid;
    width: 100%;
    margin: .25rem 0 .4rem;
    box-shadow: none;
    background: #0b1220;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { min-height: 66px; }
  .logo-brand img { width: 112px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    padding: .6rem;
    background: #0f172a;
    border: 1px solid var(--border);
    border-radius: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a, .nav-parent { width: 100%; padding: .85rem; }
  .nav-group { display: grid; }
  .nav-submenu {
    position: static;
    display: grid;
    width: 100%;
    margin: .25rem 0 .4rem;
    box-shadow: none;
    background: #0b1220;
  }
  .hero, .page-hero, .section, .cta-band { padding: 72px 0; }
  h1 { font-size: clamp(40px, 12vw, 48px); }
  .hero-actions { display: grid; }
  .hero-actions .btn, .btn.full { width: 100%; }
  .cards.two, .cards.three, .service-grid, .case-link-grid, .story-grid, .rns-trust-bar-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-card:before, .visual-band:before { animation: none; }
}
