:root {
  --ink: #091014;
  --charcoal: #141716;
  --charcoal-2: #1e2522;
  --paper: #f7f9f2;
  --mist: #e9efe5;
  --line: rgba(9, 16, 20, 0.14);
  --line-dark: rgba(255, 255, 255, 0.18);
  --white: #ffffff;
  --cyan: #10c7d8;
  --lime: #a7ef45;
  --amber: #ffb23e;
  --rose: #d84d74;
  --shadow: 0 24px 70px rgba(9, 16, 20, 0.18);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --glow-cyan: 0 22px 52px rgba(16, 199, 216, 0.2);
  --glow-lime: 0 18px 42px rgba(167, 239, 69, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 1rem 4vw;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(247, 249, 242, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  border-radius: 8px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
  font-weight: 800;
}

.brand-copy small {
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  position: relative;
  overflow: hidden;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.94rem;
  opacity: 0.88;
  transition: color 170ms ease, background 170ms ease, opacity 170ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--lime);
  opacity: 1;
}

.site-nav a.is-active {
  color: var(--ink);
  background: rgba(167, 239, 69, 0.92);
  opacity: 1;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0.85rem 0.35rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  min-height: 86svh;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("assets/nxbits-hero-platform.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 86% 18%, rgba(167, 239, 69, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(4, 8, 10, 0.98) 0%, rgba(4, 8, 10, 0.88) 34%, rgba(4, 8, 10, 0.42) 67%, rgba(4, 8, 10, 0.2) 100%);
}

.hero-network {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.68;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-inner {
  width: min(1180px, 92vw);
  min-height: 86svh;
  margin: 0 auto;
  padding: 9.5rem 0 2.5rem;
  display: grid;
  align-content: end;
  gap: 2.4rem;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.25rem;
}

.hero-lede {
  max-width: 640px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.82rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button::before {
  content: "";
  position: absolute;
  inset: -40% -24%;
  z-index: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.44) 48%, transparent 68%);
  transform: translateX(-90%) rotate(6deg);
  transition: transform 520ms var(--ease-out);
}

.button:hover::before {
  transform: translateX(90%) rotate(6deg);
}

.button > * {
  position: relative;
  z-index: 1;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.button-primary:hover {
  box-shadow: var(--glow-lime);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: var(--glow-cyan);
}

.button-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  transition: transform 190ms var(--ease-out);
}

.button:hover .button-icon {
  transform: translateX(4px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(7, 12, 13, 0.36);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 1rem;
  border-right: 1px solid var(--line-dark);
  transition: background 180ms ease, transform 180ms var(--ease-out);
}

.hero-stats div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(16, 199, 216, 0.16) 45%, transparent 70%);
  transform: translateX(-105%);
  transition: transform 560ms var(--ease-out);
  pointer-events: none;
}

.hero-stats div:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.hero-stats div:hover::after {
  transform: translateX(105%);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: var(--lime);
  font-size: 1.75rem;
  font-weight: 950;
}

.hero-stats dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.signal-band {
  color: var(--paper);
  background: var(--charcoal);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.signal-track {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.signal-track span {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.signal-track span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-track span::after {
  content: "";
  position: absolute;
  inset: auto 14% 0;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 240ms var(--ease-out);
}

.signal-track span:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.signal-track span:hover::after {
  transform: scaleX(1);
}

.portfolio-section {
  padding-top: 6.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-product {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  align-content: space-between;
  gap: 2rem;
  padding: 1.2rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(9, 16, 20, 0.18);
  transition: transform 180ms var(--ease-out), border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-product::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 84%);
  pointer-events: none;
}

.portfolio-product::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.78;
  pointer-events: none;
}

.portfolio-product > * {
  position: relative;
  z-index: 1;
}

.portfolio-payments::after {
  background: radial-gradient(circle at 76% 18%, rgba(16, 199, 216, 0.28), transparent 38%);
}

.portfolio-mes::after {
  background: radial-gradient(circle at 76% 18%, rgba(167, 239, 69, 0.24), transparent 38%);
}

.portfolio-society::after {
  background: radial-gradient(circle at 76% 18%, rgba(255, 178, 62, 0.24), transparent 38%);
}

.portfolio-atlas::after {
  background: radial-gradient(circle at 76% 18%, rgba(216, 77, 116, 0.24), transparent 38%);
}

.portfolio-product:hover {
  border-color: rgba(167, 239, 69, 0.42);
  box-shadow: 0 26px 78px rgba(9, 16, 20, 0.24);
  transform: translateY(-4px);
}

.portfolio-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portfolio-topline span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-weight: 950;
}

.portfolio-topline button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms var(--ease-out);
}

.portfolio-topline button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.portfolio-product h3 {
  max-width: 560px;
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.portfolio-product p:not(.panel-kicker) {
  max-width: 640px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-product ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-product li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-weight: 800;
}

.portfolio-product li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--lime);
  border-radius: 50%;
}

.section {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 6rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section h2 {
  color: var(--ink);
  font-size: 3.1rem;
}

.section-heading p:not(.eyebrow),
.delivery-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(9, 16, 20, 0.68);
  font-size: 1.05rem;
}

.panel-kicker {
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.architecture-item,
.industry-grid article,
.delivery-steps li,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.architecture-item h3,
.industry-grid h3 {
  margin: 1rem 0 0;
  font-size: 1.24rem;
}

.architecture-item p,
.industry-grid p,
.delivery-steps p,
.intelligence-card p,
.proof-item p {
  margin: 0.5rem 0 0;
  color: rgba(9, 16, 20, 0.66);
}

.intelligence-section {
  padding-top: 2rem;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.intelligence-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms var(--ease-out), border-color 180ms ease, box-shadow 180ms ease;
}

.intelligence-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167, 239, 69, 0.22), transparent 42%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.intelligence-card > * {
  position: relative;
  z-index: 1;
}

.intelligence-card:hover {
  border-color: rgba(167, 239, 69, 0.68);
  box-shadow: var(--glow-lime);
  transform: translateY(-4px);
}

.intelligence-card:hover::before {
  opacity: 1;
}

.intelligence-number {
  display: block;
  color: var(--ink);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 950;
}

.intelligence-card h3,
.proof-item h3 {
  margin: 1rem 0 0;
  font-size: 1.22rem;
}

.meter {
  height: 9px;
  margin-top: 1.5rem;
  overflow: hidden;
  background: var(--mist);
  border-radius: 999px;
}

.meter i {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--amber));
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out);
}

.is-visible .meter i {
  transform: scaleX(1);
}

.release-river {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 2rem;
}

.release-river::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.9rem;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--amber), var(--rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1000ms var(--ease-out);
}

.release-river.is-visible::before {
  transform: scaleX(1);
}

.release-river span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0.65rem;
  color: rgba(9, 16, 20, 0.78);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.platform-section {
  width: auto;
  margin: 0;
  padding-inline: max(4vw, calc((100vw - 1180px) / 2));
  background: var(--mist);
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.architecture-item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 1.2rem;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease;
}

.architecture-item span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: var(--amber);
  border-radius: 8px;
  font-weight: 950;
  transition: transform 220ms var(--ease-out), background 180ms ease;
}

.architecture-item::after,
.industry-grid article::after,
.delivery-steps li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(125deg, rgba(16, 199, 216, 0.13), transparent 50%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 240ms var(--ease-out);
  pointer-events: none;
}

.architecture-item > *,
.industry-grid article > *,
.delivery-steps li > * {
  position: relative;
  z-index: 1;
}

.architecture-item:hover,
.industry-grid article:hover,
.delivery-steps li:hover {
  border-color: rgba(16, 199, 216, 0.45);
  box-shadow: 0 18px 44px rgba(9, 16, 20, 0.12);
  transform: translateY(-4px);
}

.architecture-item:hover::after,
.industry-grid article:hover::after,
.delivery-steps li:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.architecture-item:hover span {
  background: var(--lime);
  transform: rotate(-3deg) scale(1.04);
}

.industries-section {
  padding-bottom: 4.8rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.industry-grid article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 1.15rem;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease;
}

.industry-grid article:nth-child(2) {
  border-top: 4px solid var(--cyan);
}

.industry-grid article:nth-child(3) {
  border-top: 4px solid var(--rose);
}

.industry-grid article:nth-child(4) {
  border-top: 4px solid var(--amber);
}

.industry-grid article:first-child {
  border-top: 4px solid var(--lime);
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
  padding-top: 1rem;
}

.delivery-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1;
}

.delivery-steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.delivery-steps li {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 1rem 1rem 1rem 4.6rem;
  counter-increment: steps;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease;
}

.delivery-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 950;
  z-index: 1;
  transition: background 180ms ease, transform 220ms var(--ease-out);
}

.delivery-steps li:hover::before {
  background: var(--cyan);
  transform: scale(1.06);
}

.delivery-steps span {
  display: block;
  font-size: 1.1rem;
  font-weight: 950;
}

.proof-section {
  width: auto;
  margin: 0;
  padding-inline: max(4vw, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(216, 77, 116, 0.16), transparent 36%),
    linear-gradient(225deg, rgba(16, 199, 216, 0.16), transparent 42%),
    var(--ink);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.proof-band h2 {
  margin: 0;
  color: var(--white);
  font-size: 2.65rem;
  line-height: 1;
}

.proof-band p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-item {
  min-height: 220px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transition: transform 180ms var(--ease-out), border-color 180ms ease, background 180ms ease;
}

.proof-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(167, 239, 69, 0.54);
  transform: translateY(-4px);
}

.proof-item span {
  color: var(--lime);
  font-weight: 950;
}

.proof-item h3 {
  color: var(--white);
}

.proof-item p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: start;
  padding-top: 2.5rem;
}

.contact-email {
  font-weight: 850;
}

.contact-email a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.contact-email a:hover {
  color: #0b7780;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.72rem 0.78rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: rgba(16, 199, 216, 0.72);
  box-shadow: 0 0 0 4px rgba(16, 199, 216, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-modal {
  width: min(680px, 92vw);
  max-height: 92vh;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.contact-modal::backdrop {
  background: rgba(9, 16, 20, 0.72);
  backdrop-filter: blur(10px);
}

.contact-modal:not([open]).is-open {
  display: grid;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-height: none;
  place-items: center;
  background: rgba(9, 16, 20, 0.72);
}

.modal-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(9, 16, 20, 0.36);
}

.modal-copy {
  padding-right: 3rem;
}

.modal-copy h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.modal-copy p:not(.eyebrow) {
  margin: 0.7rem 0 0;
  color: rgba(9, 16, 20, 0.68);
  font-weight: 850;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), border-color 180ms ease;
}

.modal-close:hover {
  border-color: rgba(16, 199, 216, 0.72);
  transform: translateY(-2px);
}

.modal-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.modal-form {
  box-shadow: none;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(9, 16, 20, 0.72);
  font-weight: 750;
}

.site-footer {
  display: grid;
  gap: 0.25rem;
  padding: 2rem 4vw;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 950;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes corePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(167, 239, 69, 0.24), 0 22px 54px rgba(16, 199, 216, 0.2);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(167, 239, 69, 0), 0 22px 68px rgba(16, 199, 216, 0.28);
  }
}

@keyframes signalFlow {
  0% {
    opacity: 0.28;
    filter: saturate(1);
  }

  50% {
    opacity: 1;
    filter: saturate(1.5);
  }

  100% {
    opacity: 0.28;
    filter: saturate(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 4vw;
    right: 4vw;
    display: none;
    grid-template-columns: 1fr;
    padding: 0.65rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .signal-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delivery-section,
  .contact-section,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .architecture-grid,
  .industry-grid,
  .portfolio-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-media {
    background-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 8, 10, 0.96) 0%, rgba(4, 8, 10, 0.82) 58%, rgba(4, 8, 10, 0.48) 100%);
  }

  .hero-inner {
    min-height: 84svh;
    padding-top: 7.5rem;
    gap: 1.4rem;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.02;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .signal-track,
  .intelligence-grid,
  .portfolio-grid,
  .architecture-grid,
  .industry-grid,
  .proof-grid,
  .release-river {
    grid-template-columns: 1fr;
  }

  .portfolio-product {
    min-height: 390px;
    padding: 1rem;
  }

  .portfolio-product h3 {
    font-size: 1.65rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats div {
    min-height: 76px;
    padding: 0.75rem;
    border-right: 1px solid var(--line-dark);
    border-bottom: 0;
  }

  .hero-stats div:last-child {
    border-right: 0;
  }

  .hero-stats dt {
    font-size: 1.25rem;
  }

  .hero-stats dd {
    font-size: 0.78rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .section h2,
  .delivery-copy h2,
  .contact-copy h2,
  .proof-band h2 {
    font-size: 2.05rem;
    line-height: 1.04;
  }

}

@media (max-width: 380px) {
  .site-header {
    min-height: 62px;
    padding-block: 0.7rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero,
  .hero-inner {
    min-height: 78svh;
  }

  .hero-inner {
    padding-top: 6.25rem;
    padding-bottom: 1rem;
    gap: 0.85rem;
  }

  .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-lede {
    margin-top: 0.75rem;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .hero-actions {
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .button {
    min-height: 44px;
    padding: 0.7rem 0.82rem;
  }

  .hero-stats div {
    min-height: 60px;
    padding: 0.55rem;
  }

  .hero-stats dt {
    font-size: 1rem;
  }

  .hero-stats dd {
    font-size: 0.68rem;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .hero-stats div:hover,
  .architecture-item:hover,
  .industry-grid article:hover,
  .delivery-steps li:hover,
  .intelligence-card:hover,
  .proof-item:hover,
  .portfolio-product:hover {
    transform: none;
  }
}
