/* --- FONT FACE --- */

/* Primary: Orbitron — Logo, headings, brand name */
@font-face {
  font-family: "Orbitron";
  src: url("fonts/Orbitron.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* Complementary: League Spartan — Taglines, subheadings, buttons */
@font-face {
  font-family: "League Spartan";
  src: url("fonts/LeagueSpartan.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* Secondary: Jost — Body text, paragraphs */
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* --- RESET --- */

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

:root {
  --near-black: #212121;
  --dark-gray: #4a4a4a;
  --mid-gray: #8a8a8a;
  --light-gray: #b0b0b0;
  --off-white: #f2f2f2;
  --soft-light: #e8eaed;
  --accent-blue: #0375fe;
  --accent-blue-hover: #0260d4;
  --accent-blue-rgb: 3, 117, 254;
  --accent-teal: #2bd3e0;
  --accent-teal-rgb: 43, 211, 224;
  --accent-teal-on-light: #0e929c;
  --font-primary: "Orbitron", sans-serif;
  --font-complementary: "League Spartan", sans-serif;
  --font-body: "Jost", sans-serif;
  --ls-tight: 0.02em;
  --ls-normal: 0.08em;
  --ls-wide: 0.2em;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--near-black);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(33, 33, 33, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.nav--scrolled {
  padding: 0.85rem 2rem;
  background: rgba(33, 33, 33, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  transition: opacity 0.3s ease;
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.85;
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-complementary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--off-white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.nav__link--active {
  color: var(--off-white);
}

.nav__links a.nav__link--active::after {
  width: 100%;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--off-white);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO --- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Neural mesh canvas */
#hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Glow orb — centered on the morph animation */
.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.10) 0%, rgba(var(--accent-teal-rgb), 0.06) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
  animation: heroGlowPulse 4s ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Content wrapper */
.hero__content {
  max-width: 1100px;
  width: 100%;
  margin: auto 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero__text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Staggered reveal */
.hero__brand,
.hero__headline,
.hero__accent-line,
.hero__subtitle,
.hero__cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero__brand.hero__reveal     { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.hero__headline.hero__reveal  { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.hero__accent-line.hero__reveal { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.hero__subtitle.hero__reveal  { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.hero__cta.hero__reveal       { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }

/* Brand label */
.hero__brand {
  font-family: var(--font-complementary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
}

/* Headline — value proposition */
.hero__headline {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 30px rgba(var(--accent-blue-rgb), 0.12);
}

/* Accent line */
.hero__accent-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  margin-bottom: 1.25rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.hero__accent-line.hero__reveal {
  transform: scaleX(1);
}

/* Subtitle — improved contrast */
.hero__subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--light-gray);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* CTA button */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-complementary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--accent-blue);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hero__cta:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.hero__cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- HERO MORPH --- */

.hero__morph {
  flex: 0 0 auto;
  width: clamp(280px, 30vw, 420px);
  height: clamp(280px, 30vw, 420px);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s ease 0.8s, transform 1s ease 0.8s;
  position: relative;
}

.hero__morph--visible {
  opacity: 1;
  transform: scale(1);
}

.hero__morph-svg {
  width: 100%;
  height: 100%;
  will-change: contents;
}

.hero__morph-svg path {
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 40px rgba(var(--accent-blue-rgb), 0.2)) drop-shadow(0 0 20px rgba(var(--accent-teal-rgb), 0.15));
}

/* --- SECTION BASE --- */

.section {
  padding: 7rem 2rem;
}

.section--light {
  background: var(--soft-light);
  color: var(--near-black);
}

.section__container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section__label {
  font-family: var(--font-complementary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section__text {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--light-gray);
  max-width: 680px;
}

.section--light .section__text {
  color: #3d3d3d;
}

/* --- STATS --- */

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 3rem;
  gap: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(33, 33, 33, 0.1);
  border-radius: 8px;
  flex: 1;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(var(--accent-blue-rgb), 0.12);
}

.stat__number {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-teal-on-light);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-normal);
  color: var(--dark-gray);
}

/* --- SCROLL REVEAL --- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Stagger delays for platform section children */
#platform .section__label.reveal { transition-delay: 0.05s; }
#platform .section__title.reveal { transition-delay: 0.15s; }
#platform .section__text.reveal { transition-delay: 0.25s; }
#platform .stats.reveal { transition-delay: 0.35s; }

/* --- ACCENT LINE UNDER PLATFORM TITLE --- */

#platform .section__title {
  position: relative;
  display: inline-block;
}

#platform .section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  margin-top: 1rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  transition-delay: 0.25s;
}

#platform .section__title.reveal--visible::after {
  transform: scaleX(1);
}

/* --- MODULES --- */

/* Stagger delays for modules section header */
#modules .section__label.reveal { transition-delay: 0.05s; }
#modules .section__title.reveal { transition-delay: 0.12s; }
#modules .section__text.reveal { transition-delay: 0.2s; }

/* Stagger delays for module cards — tighter stagger */
#modules .module.reveal:nth-child(1) { transition-delay: 0.05s; }
#modules .module.reveal:nth-child(2) { transition-delay: 0.1s; }
#modules .module.reveal:nth-child(3) { transition-delay: 0.15s; }
#modules .module.reveal:nth-child(4) { transition-delay: 0.2s; }
#modules .module.reveal:nth-child(5) { transition-delay: 0.25s; }
#modules .module.reveal:nth-child(6) { transition-delay: 0.3s; }

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.module {
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.module:hover {
  border-color: var(--accent-blue);
  transform: translateY(-5px);
  background: rgba(var(--accent-blue-rgb), 0.04);
  box-shadow: 0 12px 40px rgba(var(--accent-blue-rgb), 0.2), 0 0 0 1px rgba(var(--accent-blue-rgb), 0.1);
}

.module__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.25rem;
  color: var(--accent-blue);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.module:hover .module__icon {
  transform: scale(1.1);
  color: var(--accent-teal);
  filter: drop-shadow(0 0 6px rgba(var(--accent-teal-rgb), 0.5));
}

/* SVG icon stroke draw animation — draws with its parent card */
.module__icon path,
.module__icon rect,
.module__icon circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.6s ease 0.15s;
}

.module.reveal--visible .module__icon path,
.module.reveal--visible .module__icon rect,
.module.reveal--visible .module__icon circle {
  stroke-dashoffset: 0;
}

.module__title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  margin-bottom: 0.75rem;
}

.module__text {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--light-gray);
}

/* --- VALUES --- */

/* Stagger delays for values section header */
#values .section__label.reveal { transition-delay: 0.05s; }
#values .section__title.reveal { transition-delay: 0.12s; }
#values .section__text.reveal { transition-delay: 0.2s; }

/* Stagger delays for value rows — compact cascade */
#values .value.reveal:nth-child(1) { transition-delay: 0.05s; }
#values .value.reveal:nth-child(2) { transition-delay: 0.1s; }
#values .value.reveal:nth-child(3) { transition-delay: 0.15s; }
#values .value.reveal:nth-child(4) { transition-delay: 0.2s; }
#values .value.reveal:nth-child(5) { transition-delay: 0.25s; }
#values .value.reveal:nth-child(6) { transition-delay: 0.3s; }
#values .value.reveal:nth-child(7) { transition-delay: 0.35s; }
#values .value.reveal:nth-child(8) { transition-delay: 0.4s; }

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  background: rgba(0, 0, 0, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.value:hover {
  background: rgba(var(--accent-blue-rgb), 0.06);
  border-left-color: var(--accent-blue);
  transform: translateX(4px);
}

.value__marker {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--accent-blue);
  border-radius: 2px;
  margin-top: 0.5rem;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.value.reveal--visible .value__marker {
  transform: scale(1);
}

.value__text {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--dark-gray);
}

/* --- QUOTE --- */

.quote {
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.quote__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.10) 0%, rgba(var(--accent-teal-rgb), 0.08) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}

.quote__text {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
  color: var(--off-white);
  position: relative;
  z-index: 1;
}

.quote__text::before,
.quote__text::after {
  font-family: var(--font-primary);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  color: rgba(var(--accent-blue-rgb), 0.08);
  position: absolute;
  pointer-events: none;
  line-height: 1;
}

.quote__text::before {
  content: "\201C";
  top: -0.45em;
  left: -0.15em;
}

.quote__text::after {
  content: "\201D";
  bottom: -0.65em;
  right: -0.1em;
}

.quote__text span {
  color: var(--accent-teal);
}

/* --- CTA --- */

.cta {
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-teal-rgb), 0.08) 0%, rgba(var(--accent-blue-rgb), 0.06) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(35px);
}

/* Stagger delays for CTA elements */
.cta .cta__title.reveal { transition-delay: 0.05s; }
.cta .cta__text.reveal { transition-delay: 0.15s; }
.cta .cta__form.reveal { transition-delay: 0.25s; }

.cta__title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta__text {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--light-gray);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta__form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  text-align: left;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cta__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta__label {
  font-family: var(--font-complementary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--mid-gray);
}

.cta__input,
.cta__textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta__input::placeholder,
.cta__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta__input:focus,
.cta__textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(var(--accent-blue-rgb), 0.2);
}

.cta__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Autofill override */
.cta__input:-webkit-autofill,
.cta__input:-webkit-autofill:hover,
.cta__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--off-white);
  -webkit-box-shadow: 0 0 0 1000px rgba(33, 33, 33, 1) inset;
  border-color: rgba(255, 255, 255, 0.1);
  transition: background-color 5000s ease-in-out 0s;
}

.cta__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-complementary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--accent-blue);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  align-self: flex-start;
}

.cta__submit:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(var(--accent-blue-rgb), 0.3);
}

/* --- FOOTER --- */

.footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  font-family: var(--font-complementary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--off-white);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--mid-gray);
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__copy a {
  color: var(--mid-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__copy a:hover {
  color: var(--off-white);
}

/* --- MOBILE --- */

@media (max-width: 768px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(33, 33, 33, 0.97);
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav__links--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__hamburger {
    display: flex;
  }

  .cta__form-row {
    grid-template-columns: 1fr;
  }

  .modules {
    grid-template-columns: 1fr;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .hero__morph {
    width: clamp(160px, 40vw, 220px);
    height: clamp(160px, 40vw, 220px);
  }

  .hero__morph-svg path {
    filter: none;
    stroke-width: 35;
  }

  .hero__content {
    flex-direction: column-reverse;
  }

  .hero {
    padding-top: 8rem;
    align-items: center;
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
    align-items: center;
  }

  .hero__headline {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero__accent-line {
    transform-origin: center;
  }

  .hero__glow {
    width: 130%;
    height: 130%;
  }

  .stats {
    flex-direction: column;
    gap: 0;
  }

  .stat + .stat::before {
    display: none;
  }

  .stat + .stat {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .module__text {
    color: var(--light-gray);
  }

  .footer__links {
    gap: 1.25rem;
  }
}

/* --- TABLET --- */

@media (max-width: 1024px) and (min-width: 769px) {
  .modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 5rem 1.25rem;
  }

  .cta__submit {
    width: 100%;
  }
}

/* --- FOCUS VISIBLE --- */

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.nav__links a:focus-visible,
.hero__cta:focus-visible,
.cta__submit:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.cta__input:focus-visible,
.cta__textarea:focus-visible {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(var(--accent-blue-rgb), 0.2);
}

/* --- SCROLL TO TOP --- */

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(var(--accent-blue-rgb), 0.3);
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: var(--off-white);
}

/* --- SECTION TRANSITIONS --- */

.section--light {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

/* --- PREFERS REDUCED MOTION --- */

@media (prefers-reduced-motion: reduce) {
  .nav__logo-img {
    animation: none;
  }

  .hero__glow {
    animation: none;
    opacity: 0.85;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__brand,
  .hero__headline,
  .hero__accent-line,
  .hero__subtitle,
  .hero__cta {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__accent-line {
    transform: scaleX(1);
  }

  .hero__morph {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .value__marker {
    transform: scale(1);
    transition: none;
  }

  .module__icon path,
  .module__icon rect,
  .module__icon circle {
    stroke-dashoffset: 0;
    transition: none;
  }

  .scroll-top {
    transition: none;
  }
}
