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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(203,252,4,0.025), transparent 15%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      116deg,
      rgba(255,255,255,0.017) 0,
      rgba(255,255,255,0.017) 1px,
      transparent 1px,
      transparent 34px
    );
  opacity: 0.48;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.section-tight {
  padding: clamp(4.25rem, 7vw, 6rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(203,252,4,.5);
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 820;
}

h2 {
  font-size: clamp(2.35rem, 4.4vw, 4.45rem);
  font-weight: 790;
}

h3 {
  font-size: 1.35rem;
  font-weight: 760;
}

.accent {
  color: var(--lime);
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.78;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 820;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn-primary {
  color: #080a06;
  background: var(--lime);
  box-shadow: 0 12px 38px rgba(203,252,4,.16);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--lime-bright);
  box-shadow: 0 17px 46px rgba(203,252,4,.23);
}

.btn-secondary {
  border-color: rgba(203,252,4,.3);
  background: rgba(255,255,255,.025);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
  background: rgba(203,252,4,.07);
}

.arrow {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}

.site-header.scrolled {
  background: rgba(8,10,7,.86);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  font-weight: 840;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--lime);
  filter: drop-shadow(0 0 15px rgba(203,252,4,.23));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  list-style: none;
  color: #c9cec4;
  font-size: 0.84rem;
  font-weight: 680;
}

.nav-links a {
  position: relative;
  transition: color .17s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--lime);
  transition: right .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  min-height: 42px;
  padding-inline: 18px;
  font-size: .78rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: relative;
  width: 18px;
  height: 1px;
  display: block;
  background: var(--text);
  transition: .18s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

.section-head {
  display: grid;
  grid-template-columns: 1fr .78fr;
  align-items: end;
  gap: 56px;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head .lede {
  justify-self: end;
}

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

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

.footer {
  background: #090b08;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, .72fr);
  gap: 52px;
  padding: 72px 0 48px;
}

.footer-intro p {
  max-width: 345px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: #dde2d8;
  font-size: .73rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-col a,
.footer-col li {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.68;
  transition: color .16s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted-2);
  font-size: .84rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    inset: 82px 20px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10,12,9,.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .18s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 14px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(203,252,4,.07);
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head .lede {
    justify-self: start;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

/* DIGITUM PROFESSIONAL FOOTER V3 */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 74px 0 0;
  border-top: 1px solid rgba(203,252,4,.1);
  background:
    radial-gradient(circle at 14% 8%, rgba(203,252,4,.075), transparent 27%),
    linear-gradient(180deg, #0b0e0a 0%, #080a07 100%);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: repeating-linear-gradient(128deg, rgba(255,255,255,.018) 0 1px, transparent 1px 34px);
  opacity: .52;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

.footer-light {
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 920px;
  right: -150px;
  top: -360px;
  transform: rotate(31deg);
  background: linear-gradient(90deg, transparent, rgba(203,252,4,.018) 20%, rgba(203,252,4,.12) 48%, rgba(255,255,255,.038) 57%, rgba(203,252,4,.018) 72%, transparent);
  opacity: .72;
  pointer-events: none;
}

.footer-wrap { position: relative; z-index: 2; }

.footer-cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: 42px;
  align-items: center;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(203,252,4,.24);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(203,252,4,.085), transparent 34%),
    linear-gradient(155deg, rgba(24,29,20,.97), rgba(12,15,11,.97));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 28px 78px rgba(0,0,0,.28);
}

.footer-cta-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 650px;
  right: -110px;
  top: -265px;
  transform: rotate(31deg);
  background: linear-gradient(90deg, transparent, rgba(203,252,4,.015), rgba(203,252,4,.12), rgba(255,255,255,.04), transparent);
  pointer-events: none;
}

.footer-cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(var(--lime), var(--lime)) 28px 25px / 58px 1px no-repeat,
    linear-gradient(var(--lime), var(--lime)) 28px 25px / 1px 34px no-repeat,
    linear-gradient(rgba(203,252,4,.35), rgba(203,252,4,.35)) calc(100% - 86px) calc(100% - 25px) / 58px 1px no-repeat,
    linear-gradient(rgba(203,252,4,.35), rgba(203,252,4,.35)) calc(100% - 28px) calc(100% - 59px) / 1px 34px no-repeat;
  opacity: .78;
  pointer-events: none;
}

.footer-cta-copy,
.footer-cta-actions { position: relative; z-index: 2; }

.footer-kicker,
.footer-heading {
  display: block;
  color: var(--lime);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-cta-copy h2 {
  max-width: 760px;
  margin-top: 15px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  letter-spacing: -.055em;
}

.footer-cta-copy p {
  max-width: 720px;
  margin-top: 16px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.72;
}

.footer-cta-actions {
  min-width: 215px;
  display: grid;
  justify-items: stretch;
  gap: 12px;
}

.footer-cta-actions .btn { width: 100%; }

.footer-inline-link {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  color: #dfe3da;
  background: rgba(255,255,255,.025);
  font-size: .8rem;
  font-weight: 790;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.footer-inline-link:hover {
  border-color: rgba(203,252,4,.3);
  color: var(--lime);
  background: rgba(203,252,4,.045);
}

.footer-inline-link .arrow { width: 16px; height: 16px; }

.footer-surface {
  display: grid;
  grid-template-columns: 1.45fr .78fr .78fr 1.18fr;
  gap: 34px;
  margin-top: 24px;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    rgba(8,10,7,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
}

.footer-brand-link { font-size: 1.24rem; }
.footer-brand-link .brand-mark { width: 38px; height: 38px; }

.footer-brand-block p {
  max-width: 370px;
  margin-top: 20px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.78;
}

.footer-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.footer-trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(203,252,4,.14);
  border-radius: 999px;
  color: #cfd5ca;
  background: rgba(203,252,4,.035);
  font-size: .68rem;
  font-weight: 730;
}

.footer-nav-block ul {
  display: grid;
  gap: 2px;
  margin-top: 19px;
  list-style: none;
}

.footer-nav-block a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: var(--muted);
  font-size: .86rem;
  transition: color .18s ease, padding-left .18s ease;
}

.footer-nav-block li:last-child a { border-bottom: 0; }
.footer-nav-block a:hover { padding-left: 4px; color: var(--lime); }

.footer-nav-block i {
  color: rgba(203,252,4,.42);
  font-size: .62rem;
  font-style: normal;
  font-weight: 790;
}

.footer-contact-block {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-contact-block > .footer-heading { margin-bottom: 10px; }

.footer-contact-item {
  min-height: 72px;
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.footer-contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(203,252,4,.23);
  background: rgba(203,252,4,.035);
}

.footer-contact-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(203,252,4,.18);
  border-radius: 11px;
  color: var(--lime);
  background: transparent;
}

.footer-contact-icon svg { width: 18px; height: 18px; }

.footer-contact-item small {
  display: block;
  color: var(--muted-2);
  font-size: .59rem;
  font-weight: 790;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-contact-item strong {
  display: block;
  margin-top: 3px;
  color: #e2e6de;
  font-size: .76rem;
  font-weight: 720;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 4px 31px;
  border-top: 0;
  color: var(--muted-2);
  font-size: .78rem;
}

.footer-company-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-bottom-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(203,252,4,.55);
}

.footer-legal { display: flex; gap: 18px; }
.footer-legal a { transition: color .16s ease; }
.footer-legal a:hover { color: var(--lime); }

@media (max-width: 1080px) {
  .footer-cta-panel { grid-template-columns: 1fr; }
  .footer-cta-actions { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-surface { grid-template-columns: 1.25fr repeat(2, .75fr); }
  .footer-contact-block { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .footer-contact-block > .footer-heading { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .footer { padding-top: 52px; }
  .footer-cta-panel,
  .footer-surface { border-radius: 23px; }
  .footer-cta-actions { grid-template-columns: 1fr; }
  .footer-surface { grid-template-columns: 1fr; gap: 34px; padding: 30px 22px; }
  .footer-contact-block { grid-column: auto; grid-template-columns: 1fr; }
  .footer-contact-block > .footer-heading { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-inline: 2px; }
  .footer-company-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .footer-bottom-dot { display: none; }
}
