/*
  NIORET SYSTEMS — HOMEPAGE EDITOR TEMPLATE
  Visual source: the established Nioret Systems website theme.
  Keep brand tokens and shared component styles centralized here.
*/

:root {
  --nioret-night: #040912;
  --nioret-navy: #071426;
  --nioret-panel: #0b1b31;
  --nioret-blue: #217cf3;
  --nioret-cyan: #4bd7ff;
  --nioret-violet: #7968ff;
  --nioret-line: rgba(151, 188, 224, 0.2);
  --nioret-white: #f6f9ff;
  --nioret-light: #f1f5f8;
  --nioret-light-alt: #eef3f7;
  --nioret-ink: #091b2e;
  --nioret-muted: #5a7084;
  --header-height: 82px;
  --content-width: 1240px;
  --gutter: 28px;
  --section-space: clamp(92px, 8vw, 132px);
  --motion-fast: 180ms;
  --motion-standard: 260ms;
  --motion-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: #dce9f7;
  background: var(--nioret-night);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; }

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(121, 104, 255, 0.62);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: white;
  background: #1169e8;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  color: var(--nioret-white);
  line-height: 1.08;
}

.section { padding: var(--section-space) 0; }

.kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: #72cbff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 820;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  display: block;
  width: 23px;
  height: 1px;
  background: var(--nioret-cyan);
}

.kicker > span:first-child:empty { display: none; }

.kicker em {
  margin-left: 5px;
  color: #72869a;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.kicker-dark { color: #176dcb; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: white;
  background: linear-gradient(105deg, #1169e8, #178ff0 65%, #5b69ee);
  box-shadow: 0 14px 35px rgba(17, 105, 232, 0.27);
  font-size: 0.77rem;
  font-weight: 790;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 19px 44px rgba(17, 105, 232, 0.38);
}

.button:active { transform: translateY(0); }

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.7rem;
}

.button-secondary {
  border-color: rgba(145, 190, 229, 0.35);
  color: #e5f2ff;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: rgba(75, 215, 255, 0.66);
  background: rgba(75, 215, 255, 0.07);
  box-shadow: none;
}

/* Header — same logo, wordmark, scale, and dark translucent treatment. */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: #d8e8f8;
  background: rgba(4, 9, 18, 0.74);
  border-bottom: 1px solid rgba(150, 190, 230, 0.11);
  backdrop-filter: blur(22px);
  transition: background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.site-header.is-scrolled {
  border-color: rgba(150, 190, 230, 0.2);
  background: rgba(4, 9, 18, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: white;
  text-decoration: none;
}

.brand-lockup { display:inline-flex; align-items:center; min-width:0; }
.brand-ns { display:block; width:56px; height:auto; object-fit:contain; filter:drop-shadow(0 0 10px rgba(55,213,255,.12)); }
.brand-divider { width:1px; height:31px; margin:0 11px; background:rgba(151,188,224,.24); }
.brand-nioret-stack { display:flex; min-width:92px; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; }
.brand-nioret-wordmark { display:block; width:92px; height:auto; }
.brand-systems { margin-left:2px; color:#6f8498; font-size:.42rem; font-weight:760; line-height:1; letter-spacing:.38em; text-transform:uppercase; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.35vw, 21px);
}

.primary-nav > a:not(.button) {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #a9bbcc;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.primary-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 1px;
  background: linear-gradient(90deg, var(--nioret-blue), var(--nioret-violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-fast) ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button):focus-visible { color: white; }

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button):focus-visible::after { transform: scaleX(1); }

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 1px solid rgba(145, 190, 229, 0.25);
  border-radius: 5px;
  color: white;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: white;
  transition: transform var(--motion-fast), opacity var(--motion-fast);
}

.menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero — established atmospheric field and real product proof. */
.hero {
  position: relative;
  min-height: 900px;
  padding: 158px 0 0;
  overflow: hidden;
  background: radial-gradient(circle at 78% 22%, rgba(29, 119, 224, 0.19), transparent 34rem), radial-gradient(circle at 88% 60%, rgba(121, 104, 255, 0.12), transparent 27rem), linear-gradient(118deg, #040912 0%, #071321 52%, #0a1c31 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(103, 168, 224, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 168, 224, 0.11) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000, transparent 63%);
}

.hero-grid-field {
  position: absolute;
  width: 680px;
  height: 680px;
  right: -150px;
  top: 50px;
  border: 1px solid rgba(75, 215, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 85px rgba(53, 125, 235, 0.025), 0 0 0 175px rgba(121, 104, 255, 0.018);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 72px;
  align-items: center;
  min-height: 610px;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 27px;
  font-size: clamp(4rem, 6.5vw, 7rem);
  font-weight: 590;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 19px;
  color: #c0d0de;
  font-size: 1.13rem;
  line-height: 1.72;
}

.hero-audience {
  max-width: 660px;
  margin: 0;
  color: #7f96aa;
  font-size: 0.84rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
  margin-top: 37px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: #c7d8e7;
  font-size: 0.75rem;
  font-weight: 760;
  text-decoration: none;
}

.text-action:hover { color: white; }

.hero-proof {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(145, 190, 229, 0.24);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(15, 35, 59, 0.91), rgba(5, 17, 32, 0.94));
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.43), 0 0 70px rgba(25, 126, 232, 0.1);
  transform: perspective(1500px) rotateY(-3deg);
}

.media-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 1px 4px 13px;
  color: #82a0b9;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-label em { color: #68d7ff; font-style: normal; }

.hero-screen {
  height: 430px;
  overflow: hidden;
  border: 1px solid rgba(153, 197, 234, 0.22);
  border-radius: 8px;
  background: #e9f0f6;
}

.hero-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero-proof figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 5px 2px;
}

.hero-proof figcaption strong { color: #f1f7fd; font-size: 0.76rem; }
.hero-proof figcaption span { color: #6f879c; font-size: 0.62rem; text-align: right; }

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
  border-top: 1px solid rgba(145, 190, 229, 0.17);
}

.proof-strip > div {
  display: grid;
  gap: 5px;
  min-height: 90px;
  padding: 22px 24px 22px 0;
  border-right: 1px solid rgba(145, 190, 229, 0.13);
}

.proof-strip > div:not(:first-child) { padding-left: 24px; }
.proof-strip span { color: #577087; font-size: 0.55rem; font-weight: 820; letter-spacing: 0.12em; text-transform: uppercase; }
.proof-strip strong { color: #b9cad9; font-size: 0.68rem; font-weight: 720; }

/* Available software — light Nioret catalog surface, not a new corporate skin. */
.software-section {
  color: var(--nioret-ink);
  background: var(--nioret-light);
}

.software-section h2,
.software-section h3 { color: var(--nioret-ink); }

.software-section p { color: var(--nioret-muted); }

.section-heading {
  margin-bottom: 58px;
}

.section-heading h2,
.technology-intro h2,
.trust-section h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.5vw, 4.7rem);
  font-weight: 630;
  letter-spacing: -0.055em;
}

.heading-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.heading-split > p {
  max-width: 520px;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.78;
}

.software-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 16px;
  padding-top: 20px;
  border-top: 1px solid #cbd9e5;
}

.software-label span {
  color: #176dcb;
  font-size: 0.64rem;
  font-weight: 830;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.software-label strong { color: #6a8094; font-size: 0.67rem; }
.free-label { margin-top: 42px; }

.product-grid {
  display: grid;
  gap: 12px;
}

.product-grid-paid { grid-template-columns: repeat(3, 1fr); }
.product-grid-free { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 390px;
  padding: 32px 30px 26px;
  overflow: hidden;
  border: 1px solid #d5e1eb;
  background: white;
  box-shadow: 0 14px 35px rgba(8, 29, 50, 0.045);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #176dd0, #38c9ed, #7968ff);
}

.product-card > img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(8, 29, 50, 0.14));
}

.product-card > div { align-self: center; padding-block: 34px; }

.product-card .product-category {
  margin-bottom: 12px;
  color: #42769f;
  font-size: 0.58rem;
  font-weight: 830;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 15px;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}

.product-card > div > p:last-child { margin-bottom: 0; font-size: 0.82rem; line-height: 1.72; }

.product-card footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #dce6ee;
}

.product-card footer strong { color: #135faa; font-size: 1.02rem; }
.product-card footer span { max-width: 160px; color: #7a8e9f; font-size: 0.58rem; font-weight: 720; line-height: 1.5; text-align: right; }
.product-card-compact { grid-template-columns: 76px 1fr; grid-template-rows: 1fr auto; column-gap: 25px; min-height: 255px; }
.product-card-compact > div { align-self: start; padding: 0; }
.product-card-compact footer { grid-column: 1 / -1; }

/* Flagship — established deep-navy technology band. */
.flagship {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 40%, rgba(34, 119, 232, 0.18), transparent 37rem), linear-gradient(135deg, #040912, #071426 57%, #081b30);
}

.flagship::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(100, 168, 229, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 168, 229, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.flagship-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 75px;
  align-items: center;
}

.flagship-copy .kicker {
  justify-content: space-between;
  max-width: 540px;
}

.flagship-wordmark {
  display: block;
  width: min(100%, 475px);
  height: auto;
  margin: 6px 0 28px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.3));
}

.flagship-copy h2 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.5vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.flagship-copy > p:not(.kicker) { max-width: 630px; color: #9eb3c6; font-size: 0.98rem; line-height: 1.78; }
.flagship-copy .button { margin-top: 0; }

.status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #60d2f2;
  background: rgba(63, 184, 226, 0.08);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 820;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.flagship-capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: 580px;
  margin: 30px 0 34px;
  padding: 1px;
  list-style: none;
  background: rgba(135, 181, 222, 0.16);
}

.flagship-capability-list li {
  padding: 13px 15px;
  color: #a9bdd0;
  background: rgba(7, 22, 39, 0.93);
  font-size: 0.67rem;
  font-weight: 720;
}

.flagship-capability-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--nioret-cyan);
  box-shadow: 0 0 12px rgba(75, 215, 255, 0.6);
}

.flagship-stage {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(119, 179, 231, 0.19);
  border-radius: 16px;
  background: radial-gradient(circle at 50% 45%, rgba(36, 117, 219, 0.16), transparent 18rem), linear-gradient(145deg, rgba(13, 34, 57, 0.82), rgba(5, 16, 29, 0.9));
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.34);
}

.flagship-stage::before {
  content: "SYSTEM SCOPE";
  position: absolute;
  top: 22px;
  left: 24px;
  color: #4d7292;
  font-size: 0.55rem;
  font-weight: 840;
  letter-spacing: 0.16em;
}

.flagship-orbit {
  position: absolute;
  inset: 19%;
  border: 1px solid rgba(75, 215, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(38, 118, 226, 0.025), 0 0 0 96px rgba(121, 104, 255, 0.015);
}

.flagship-stage > img {
  position: absolute;
  z-index: 2;
  width: 240px;
  height: 240px;
  left: 50%;
  top: 47%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(42, 151, 237, 0.2));
}

.flagship-signal {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 165px;
  padding: 16px;
  border: 1px solid rgba(125, 185, 235, 0.23);
  border-radius: 8px;
  background: rgba(7, 21, 37, 0.92);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(12px);
}

.flagship-signal span { position: absolute; right: 11px; top: 9px; color: #3b6b93; font-size: 0.5rem; }
.flagship-signal strong { color: #ecf6ff; font-size: 0.72rem; }
.flagship-signal small { margin-top: 3px; color: #708ba3; font-size: 0.57rem; }
.signal-projects { left: 5%; top: 17%; }
.signal-tools { right: 4%; top: 35%; }
.signal-context { left: 8%; bottom: 15%; }

.flagship-stage > p {
  position: absolute;
  right: 24px;
  bottom: 20px;
  max-width: 300px;
  margin: 0;
  color: #536f87;
  font-size: 0.59rem;
  text-align: right;
}

/* Editorial technology, trust, Studios, and footer treatments. */
.technology-section { color: var(--nioret-ink); background: #f4f7fa; }
.technology-section h2,
.technology-section h3 { color: var(--nioret-ink); }
.technology-section p { color: var(--nioret-muted); }

.technology-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 85px; align-items: start; }
.technology-intro { position: sticky; top: 118px; }
.technology-intro > p:last-child { max-width: 520px; margin-top: 22px; line-height: 1.78; }
.technology-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: #cfdde9; }
.technology-list article { min-height: 235px; padding: 30px; background: white; }
.technology-list span { color: #428fcb; font-size: 0.55rem; font-weight: 840; letter-spacing: 0.13em; text-transform: uppercase; }
.technology-list h3 { margin: 44px 0 14px; font-size: 1.1rem; }
.technology-list p { margin: 0; font-size: 0.76rem; }

.trust-section { padding-block: 94px; background: var(--nioret-light-alt); color: var(--nioret-ink); }
.trust-section h2 { color: var(--nioret-ink); }
.trust-section p { max-width: 620px; color: var(--nioret-muted); }
.trust-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.trust-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: #cfdde9; }
.trust-links a { display: grid; gap: 8px; min-height: 112px; padding: 22px; background: white; text-decoration: none; }
.trust-links a:hover { background: #f7faff; }
.trust-links span { color: #8295a7; font-size: 0.55rem; font-weight: 820; letter-spacing: 0.11em; text-transform: uppercase; }
.trust-links strong { color: #135faa; font-size: 0.72rem; overflow-wrap: anywhere; }

.studios-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 12% 20%, rgba(39, 127, 255, 0.2), transparent 34rem), radial-gradient(circle at 88% 26%, rgba(194, 45, 255, 0.16), transparent 32rem), linear-gradient(145deg, #050611, #070919 55%, #09061a);
}

.studios-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image: linear-gradient(rgba(110, 127, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 127, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.studios-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(126, 146, 255, 0.23);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 16, 37, 0.88), rgba(9, 11, 29, 0.82));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.studios-brand { position: relative; display: grid; place-items: center; padding: 30px; border-right: 1px solid rgba(126, 146, 255, 0.16); }
.studios-brand::before { content: ""; position: absolute; inset: 21%; border-radius: 50%; background: conic-gradient(from 90deg, rgba(45, 194, 255, 0.28), rgba(139, 64, 255, 0.17), rgba(255, 55, 207, 0.26), rgba(45, 194, 255, 0.28)); filter: blur(44px); }
.studios-brand img { position: relative; display: block; width: min(100%, 390px); height: auto; filter: drop-shadow(0 0 28px rgba(73, 104, 255, 0.27)); }
.studios-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 68px; background: linear-gradient(135deg, rgba(16, 19, 45, 0.72), rgba(8, 10, 27, 0.38)); }
.studios-copy h2 { max-width: 570px; margin-bottom: 22px; font-size: clamp(2.7rem, 4.7vw, 5rem); font-weight: 580; letter-spacing: -0.06em; }
.studios-copy > p:last-child { max-width: 540px; color: #aeb8d3; font-size: 0.99rem; line-height: 1.73; }

.final-cta { padding: 100px 0; background: linear-gradient(112deg, #082746, #0d5da4 65%, #4b54c6); }
.final-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 90px; align-items: center; }
.final-cta h2 { max-width: 780px; margin-bottom: 18px; font-size: clamp(2.7rem, 4.8vw, 5rem); font-weight: 600; letter-spacing: -0.06em; }
.final-cta p:not(.kicker) { max-width: 690px; margin-bottom: 0; color: #c4daec; }
.final-grid > .button { justify-self: start; }

.site-footer { background:#03070d; border-top:1px solid rgba(151,188,224,.08); }
.footer-main { display:flex; align-items:center; justify-content:space-between; gap:42px; padding-block:27px 22px; }
.footer-brand { flex:0 0 auto; }
.footer-brand-link { display:inline-flex; align-items:center; color:inherit; text-decoration:none; }
.footer-brand .brand-ns { width:46px; }
.footer-brand .brand-divider { height:27px; margin-inline:9px; }
.footer-brand .brand-nioret-stack { min-width:78px; gap:3px; }
.footer-brand .brand-nioret-wordmark { width:78px; }
.footer-brand .brand-systems { font-size:.36rem; letter-spacing:.34em; }
.footer-main nav { display:flex; flex:1 1 auto; flex-wrap:wrap; justify-content:flex-end; column-gap:22px; row-gap:8px; }
.footer-main nav a { display:inline-flex; min-height:0; padding:4px 0; color:#8194a7; font-size:.67rem; font-weight:680; line-height:1.2; text-decoration:none; }
.footer-main nav a:hover { color:white; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:14px 0 17px; border-top:1px solid rgba(151,188,224,.09); }
.footer-bottom p { margin:0; color:#536a7e; font-size:.58rem; line-height:1.45; }
.footer-bottom a { color:#6f93ad; text-decoration:none; }
.footer-bottom a:hover { color:#a8ddf4; }


/* Shared product-category dropdown. */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 3px; color: #94a9bc; font-size: .68rem; font-weight: 720; letter-spacing: .055em; text-decoration: none; }
.nav-dropdown-trigger::after { position: absolute; right: 3px; bottom: 4px; left: 3px; height: 1px; content: ""; background: var(--nioret-cyan); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-fast); }
.nav-dropdown:hover .nav-dropdown-trigger, .nav-dropdown:focus-within .nav-dropdown-trigger, .nav-dropdown-trigger[aria-current="page"] { color: white; }
.nav-dropdown:hover .nav-dropdown-trigger::after, .nav-dropdown:focus-within .nav-dropdown-trigger::after, .nav-dropdown-trigger[aria-current="page"]::after { transform: scaleX(1); }
.nav-dropdown-menu { position: absolute; z-index: 120; top: calc(100% + 10px); left: 50%; display: grid; width: 310px; padding: 10px; gap: 4px; border: 1px solid rgba(151,188,224,.2); border-radius: 9px; background: rgba(5,14,26,.98); box-shadow: 0 24px 60px rgba(0,0,0,.38); opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity var(--motion-fast), transform var(--motion-fast), visibility var(--motion-fast); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-menu a { display: grid; gap: 2px; min-height: 62px; padding: 12px 13px; border-radius: 6px; color: #c4d6e6; text-decoration: none; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible, .nav-dropdown-menu a[aria-current="page"] { color: white; background: rgba(75,215,255,.07); }
.nav-dropdown-menu strong { color: inherit; font-size: .76rem; }
.nav-dropdown-menu span { color: #6f879d; font-size: .62rem; line-height: 1.4; }
.walkthrough-cta { white-space: nowrap; }

@media (max-width: 1180px) {
  .brand-ns { width:50px; }
  .brand-nioret-wordmark { width:82px; }
  .brand-nioret-stack { min-width:82px; }
  .primary-nav { gap: 10px; }
  .primary-nav > a:not(.button) { font-size: 0.64rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr); gap: 42px; }
}

@media (max-width: 1180px) {
  .menu-button { display: block; margin-left: auto; }
  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    align-items: stretch;
    gap: 5px;
    padding: 20px 28px 30px;
    border-bottom: 1px solid rgba(145, 182, 218, 0.18);
    background: rgba(4, 9, 18, 0.98);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
  }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a:not(.button) { padding-inline: 4px; color: #b6c7d7; font-size: 0.9rem; }
  .primary-nav > a:not(.button)::after { display: none; }
  .primary-nav .button { margin-top: 8px; }
  .hero { min-height: 0; padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 810px; }
  .hero-proof { width: min(100%, 720px); justify-self: center; transform: none; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip > div { border-bottom: 1px solid rgba(145, 190, 229, 0.13); }
  .product-grid-paid { grid-template-columns: 1fr 1fr; }
  .product-grid-paid .product-card:last-child { grid-column: 1 / -1; }
  .flagship-grid,
  .technology-grid,
  .trust-grid,
  .final-grid { grid-template-columns: 1fr; gap: 50px; }
  .technology-intro { position: static; }
  .flagship-stage { min-height: 520px; }
  .studios-shell { grid-template-columns: 1fr; }
  .studios-brand { min-height: 380px; border-right: 0; border-bottom: 1px solid rgba(126, 146, 255, 0.16); }
  .footer-main { align-items:flex-start; flex-direction:column; gap:20px; padding-block:26px 20px; }
  .footer-main nav { justify-content:flex-start; }
}


@media (max-width: 1180px) {
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-trigger { width: 100%; min-height: 52px; padding: 13px 4px; color: #b6c7d7; font-size: .9rem; }
  .nav-dropdown-trigger::after { display: none; }
  .nav-dropdown-menu { position: static; width: 100%; padding: 4px 0 10px 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown-menu a { min-height: 52px; padding: 10px 12px; border-left: 1px solid rgba(75,215,255,.22); border-radius: 0; }
  .nav-dropdown-menu span { font-size: .7rem; }
  .walkthrough-cta { width: 100%; }
}

@media (max-width: 760px) {
  :root { --gutter: 17px; --section-space: 84px; }
  .kicker { align-items: flex-start; }
  .kicker em { width: 100%; margin: 0 0 0 33px; }
  .heading-split { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { margin-bottom: 40px; }
  .hero-copy h1 { font-size: clamp(3.35rem, 14vw, 5.25rem); }
  .hero-screen { height: 355px; }
  .hero-proof figcaption { grid-template-columns: 1fr; gap: 4px; }
  .hero-proof figcaption span { text-align: left; }
  .product-grid-paid,
  .product-grid-free { grid-template-columns: 1fr; }
  .product-grid-paid .product-card:last-child { grid-column: auto; }
  .product-card { min-height: 320px; padding: 28px; }
  .product-card-compact { grid-template-columns: 76px 1fr; min-height: 245px; }
  .flagship-copy .kicker { align-items: center; justify-content: flex-start; }
  .flagship-copy .kicker .status { margin-left: auto; }
  .flagship-stage { min-height: 460px; }
  .flagship-stage > img { width: 185px; height: 185px; }
  .flagship-signal { min-width: 145px; padding: 13px; }
  .signal-projects { left: 3%; }
  .signal-tools { right: 3%; }
  .signal-context { left: 5%; }
  .flagship-stage > p { max-width: 235px; }
  .technology-list { grid-template-columns: 1fr; }
  .technology-list article { min-height: 210px; }
  .studios-copy { padding: 46px 28px; }
  .trust-links { grid-template-columns: 1fr; }
  .footer-main nav { column-gap:18px; row-gap:7px; }
}

@media (max-width: 520px) {
  .brand-ns { width:45px; }
  .brand-divider { height:27px; margin-inline:8px; }
  .brand-nioret-wordmark { width:76px; }
  .brand-nioret-stack { min-width:76px; }
  .brand-systems { font-size:.36rem; letter-spacing:.32em; }
  .hero { padding-top: 116px; }
  .hero .kicker em { display: none; }
  .hero-lede { font-size: 1rem; }
  .hero-actions,
  .hero-actions .button { width: 100%; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-action { justify-content: center; }
  .hero-proof { padding: 10px; }
  .hero-screen { height: 300px; }
  .proof-strip { grid-template-columns: 1fr; margin-top: 42px; }
  .proof-strip > div,
  .proof-strip > div:not(:first-child) { min-height: 0; padding: 17px 0; border-right: 0; }
  .software-label { align-items: flex-start; flex-direction: column; gap: 6px; }
  .product-card-compact { grid-template-columns: 62px 1fr; column-gap: 18px; }
  .product-card-compact > img { width: 62px; height: 62px; }
  .flagship-capability-list { grid-template-columns: 1fr; }
  .flagship-stage { min-height: 410px; }
  .flagship-stage > img { width: 145px; height: 145px; }
  .flagship-orbit { inset: 21%; }
  .flagship-signal { min-width: 124px; padding: 11px; }
  .flagship-signal small { font-size: 0.5rem; }
  .signal-projects { top: 15%; }
  .signal-tools { top: 38%; }
  .signal-context { bottom: 14%; }
  .flagship-stage > p { display: none; }
  .studios-brand { min-height: 290px; }
  .studios-copy { padding: 38px 23px; }
  .final-grid > .button { width: 100%; }
  .footer-bottom { align-items:flex-start; flex-direction:column; gap:7px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-proof,
  .button:hover { transform: none; }
}
