:root {
  --bg: #071018;
  --bg-strong: #03070c;
  --surface: #0d1823;
  --surface-strong: #101f2d;
  --line: rgba(160, 210, 230, 0.18);
  --line-strong: rgba(160, 210, 230, 0.32);
  --text: #eef7fb;
  --muted: #9bb0bd;
  --soft: #6f8491;
  --accent: #45d4ff;
  --accent-2: #52f0aa;
  --accent-3: #ff6b6b;
  --warning: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(69, 212, 255, 0.06), transparent 420px),
    linear-gradient(135deg, #071018 0%, #0a1520 48%, #04080d 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(69, 212, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 212, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 82%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

img,
canvas {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 12, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 0 18px rgba(69, 212, 255, 0.14));
}

.site-header .brand {
  flex: 0 0 auto;
}

.site-header .brand-logo {
  width: clamp(165px, 17vw, 225px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--bg-strong);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(69, 212, 255, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #021018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 40px rgba(69, 212, 255, 0.18);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.site-nav .nav-button {
  color: #021018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero-home {
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 120px 0 84px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 7, 12, 0.94), rgba(3, 7, 12, 0.62) 48%, rgba(3, 7, 12, 0.86)),
    linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

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

h1 {
  font-size: 4rem;
  line-height: 1.02;
  margin-bottom: 22px;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.12;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

.hero-text {
  font-size: 1.13rem;
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
}

.hero-metrics div {
  min-height: 126px;
  padding: 20px;
  background: rgba(13, 24, 35, 0.8);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
}

.page-hero {
  padding: 96px 0 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(69, 212, 255, 0.06), transparent);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
}

.page-hero p {
  max-width: 760px;
}

.hero-summary {
  border: 1px solid var(--line);
  background: rgba(13, 24, 35, 0.72);
  border-radius: var(--radius);
  padding: 22px;
}

.hero-summary strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.hero-summary span {
  color: var(--muted);
}

.section {
  padding: 82px 0;
}

.section-compact {
  padding-top: 70px;
}

.section-band {
  background: rgba(6, 13, 20, 0.76);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two,
.split-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
  gap: 28px;
}

.service-card,
.value-card,
.content-panel,
.industry-grid article,
.detail-row {
  border: 1px solid var(--line);
  background: rgba(13, 24, 35, 0.74);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.content-panel::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 18px;
}

.service-card.accent-red::before {
  background: var(--accent-3);
}

.service-card.accent-green::before {
  background: var(--accent-2);
}

.card-code {
  color: var(--soft);
  font-weight: 900;
  margin-bottom: 14px;
}

.service-card p,
.value-card p,
.content-panel p,
.industry-grid p,
.detail-row p {
  margin-bottom: 0;
}

.service-card a {
  color: var(--accent);
  margin-top: auto;
  padding-top: 22px;
  font-weight: 800;
}

.service-card:hover,
.value-card:hover,
.content-panel:hover,
.industry-grid article:hover,
.detail-row:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
}

.timeline-item span {
  color: var(--text);
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
}

.timeline-item p {
  margin-bottom: 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-grid article {
  border: 0;
  border-radius: 0;
  min-height: 190px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.logo-grid a {
  border: 1px solid var(--line);
  background: rgba(13, 24, 35, 0.72);
  border-radius: var(--radius);
  min-height: 92px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 900;
}

.logo-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.expertise-section {
  background: rgba(6, 13, 20, 0.76);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise-heading {
  margin-bottom: 28px;
}

.expertise-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(69, 212, 255, 0.08), rgba(82, 240, 170, 0.03)),
    rgba(13, 24, 35, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.expertise-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.exp-tab {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.exp-tab:hover {
  border-color: var(--line-strong);
  color: var(--text);
  transform: translateY(-1px);
}

.exp-tab.active {
  color: #021018;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(69, 212, 255, 0.2);
}

.exp-panel {
  display: none;
}

.exp-panel.active {
  display: block;
}

.exp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-list li + li {
  border-top: 1px solid var(--line);
}

.exp-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.exp-list a::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(69, 212, 255, 0.12);
}

.exp-list a:hover {
  color: var(--text);
  transform: translateX(4px);
}

.regulatory-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.regulatory-sidebar {
  position: sticky;
  top: 96px;
}

.regulatory-sidebar h2,
.regulatory-detail-header h2 {
  font-size: 1.45rem;
}

.regulation-nav {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.regulation-nav-group {
  display: grid;
  gap: 10px;
}

.regulation-nav-title {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
}

.regulation-link {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 7, 12, 0.46);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.regulation-link:hover,
.regulation-link.active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(69, 212, 255, 0.08);
  transform: translateX(4px);
}

.regulatory-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.regulation-label,
.regulation-chip,
.regulation-badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.regulation-label,
.regulation-chip {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.regulation-label {
  color: var(--accent);
  background: rgba(69, 212, 255, 0.1);
}

.regulation-chip.accent {
  color: #021018;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.regulation-chip-row,
.regulation-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.regulation-badge-row span {
  min-height: 36px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(13, 24, 35, 0.66);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.partner-card {
  min-height: 340px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(69, 212, 255, 0.06), transparent),
    rgba(13, 24, 35, 0.78);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.partner-card::before {
  content: "";
  width: 52px;
  height: 3px;
  background: var(--accent-2);
  margin-bottom: 18px;
}

.partner-card p {
  margin-bottom: 0;
}

.partner-card:hover,
.partner-deal-panel:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.partner-deal-panel .button {
  margin-top: 22px;
}

.partner-mini-grid {
  display: grid;
  gap: 12px;
}

.partner-mini-grid article {
  border: 1px solid var(--line);
  background: rgba(13, 24, 35, 0.74);
  border-radius: var(--radius);
  padding: 18px;
}

.partner-mini-grid strong {
  display: block;
  color: var(--text);
  margin-bottom: 5px;
}

.partner-mini-grid span {
  color: var(--muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(69, 212, 255, 0.12), rgba(82, 240, 170, 0.08)),
    rgba(13, 24, 35, 0.86);
}

.cta-panel > .button {
  justify-self: end;
}

.quick-form,
.contact-form-panel form {
  display: grid;
  gap: 14px;
}

.quick-form input,
.quick-form select,
.quick-form textarea,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  color: var(--text);
  background: rgba(3, 7, 12, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 46px;
  padding: 12px 14px;
  outline: none;
}

.quick-form textarea,
.form-grid textarea {
  resize: vertical;
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(69, 212, 255, 0.12);
}

.consent-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status.success {
  color: var(--accent-2);
}

.form-status.error {
  color: var(--accent-3);
}

.hidden-field {
  display: none;
}

.check-list,
.deliverable-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(82, 240, 170, 0.12);
}

.definition-list {
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.definition-list div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.definition-list dt {
  font-weight: 900;
}

.definition-list dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.deliverable-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 24, 35, 0.74);
}

.deliverable-list strong {
  color: var(--text);
}

.deliverable-list span {
  color: var(--muted);
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
  scroll-margin-top: 100px;
}

.contact-grid {
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list strong {
  color: var(--text);
}

.contact-list a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.full-span {
  grid-column: 1 / -1;
}

.site-footer {
  background: var(--bg-strong);
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.5fr));
  gap: 36px;
}

.footer-grid p {
  max-width: 460px;
  margin: 18px 0 0;
}

.site-footer .brand-logo {
  width: clamp(185px, 18vw, 235px);
}

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

.footer-grid h2 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--accent);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1020px) {
  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .card-grid.three,
  .industry-grid,
  .logo-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-grid,
  .split-grid,
  .contact-grid,
  .detail-row,
  .cta-panel,
  .regulatory-layout {
    grid-template-columns: 1fr;
  }

  .cta-panel > .button {
    justify-self: start;
  }

  .regulatory-sidebar {
    position: static;
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 84px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 7, 12, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a,
  .site-nav .nav-button {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero-home {
    min-height: auto;
    padding: 92px 0 64px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

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

  .brand-copy strong {
    font-size: 0.86rem;
  }

  .brand-copy span {
    display: none;
  }

  .site-header .brand-logo {
    width: min(52vw, 190px);
  }

  .site-footer .brand-logo {
    width: min(56vw, 210px);
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 72px 0 38px;
  }

  .card-grid.three,
  .card-grid.two,
  .industry-grid,
  .logo-grid,
  .partner-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .expertise-shell {
    padding: 22px;
  }

  .expertise-tabs {
    gap: 8px;
  }

  .exp-tab {
    width: 100%;
    justify-content: center;
  }

  .regulatory-detail-header {
    flex-direction: column;
  }

  .deliverable-list li {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
