:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #aac1d7;
  --deep: #06131f;
  --panel: rgba(9, 28, 44, 0.82);
  --panel-strong: #0b2033;
  --line: rgba(160, 216, 255, 0.18);
  --blue: #16a4ff;
  --cyan: #7fe8ff;
  --orange: #ff9b42;
  --yellow: #f8c84e;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, rgba(22, 164, 255, 0.34), transparent 34rem),
    linear-gradient(180deg, #06131f 0%, #08243b 46%, #05101b 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(127, 232, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 232, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 16px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 16, 27, 0.74);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  margin-bottom: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #cce7ff;
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a,
.header-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
}

.desktop-nav a + a::before {
  position: absolute;
  left: 0;
  width: 1px;
  height: 18px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(127, 232, 255, 0.62), transparent);
}

.desktop-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.side-wave {
  position: fixed;
  top: -150px;
  bottom: -150px;
  z-index: -1;
  width: 220px;
  height: calc(100vh + 300px);
  pointer-events: none;
  opacity: 0.52;
  overflow: hidden;
  filter: drop-shadow(0 0 26px rgba(22, 164, 255, 0.32));
}

.side-wave-left {
  left: 0;
  transform: scaleX(-1);
}

.side-wave-right {
  right: 0;
}

.side-wave-layer {
  position: absolute;
  top: -80px;
  left: -34px;
  width: 244px;
  height: 100%;
  overflow: visible;
  transform-origin: left center;
  animation: sideWaveDrift 5.8s ease-in-out infinite;
}

.side-wave-layer path {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 9px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.side-wave-layer.layer-one {
  left: -34px;
  width: 244px;
  opacity: 0.62;
  animation-delay: 0s;
}

.side-wave-layer.layer-one path {
  fill: rgba(0, 153, 255, 0.5);
}

.side-wave-layer.layer-two {
  left: -2px;
  width: 226px;
  opacity: 0.52;
  animation-duration: 6.8s;
  animation-delay: -1.8s;
}

.side-wave-layer.layer-two path {
  fill: rgba(127, 232, 255, 0.34);
}

.side-wave-layer.layer-three {
  left: 28px;
  width: 206px;
  opacity: 0.42;
  animation-duration: 7.6s;
  animation-delay: -3.2s;
}

.side-wave-layer.layer-three path {
  fill: rgba(255, 155, 66, 0.22);
  stroke: rgba(255, 255, 255, 0.48);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  font-weight: 900;
}

.header-cta {
  padding: 0 18px;
  color: #06131f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 24px rgba(22, 164, 255, 0.24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.74fr);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 64px 0 96px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.sponsor-content p,
.contact-copy p,
.service-card p,
.workflow-step p,
.legal-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  font-size: 20px;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button {
  padding: 0 24px;
  color: #06131f;
  border-color: rgba(255, 255, 255, 0.38);
  background: linear-gradient(135deg, #aaf3ff, #14a6ff 58%, #ffb35c);
  box-shadow: 0 16px 42px rgba(22, 164, 255, 0.28);
}

.secondary-button {
  padding: 0 22px;
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.secondary-button.light {
  color: #06131f;
  background: rgba(255, 255, 255, 0.86);
}

.primary-button:hover,
.secondary-button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 44px;
}

.proof-strip div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 26, 43, 0.68);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  color: white;
  font-size: 26px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.hero-logo {
  width: min(460px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.36));
  animation: floatLogo 5.2s ease-in-out infinite;
}

.signal-panel {
  width: min(390px, 100%);
  margin: -28px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(4, 15, 25, 0.82);
  box-shadow: var(--shadow);
}

.signal-panel span,
.signal-panel strong {
  display: block;
}

.signal-panel span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-panel strong {
  margin-top: 5px;
  font-size: 20px;
}

.hero-water {
  position: absolute;
  inset: auto -18vw 16px -18vw;
  height: 230px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.wave {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 150px;
  border-radius: 46% 54% 0 0;
  opacity: 0.78;
  transform-origin: center bottom;
}

.wave-one {
  bottom: 4px;
  background: linear-gradient(90deg, rgba(14, 91, 168, 0), rgba(22, 164, 255, 0.32), rgba(127, 232, 255, 0.12));
  animation: waveMove 9s ease-in-out infinite;
}

.wave-two {
  bottom: 36px;
  background: linear-gradient(90deg, rgba(127, 232, 255, 0.05), rgba(127, 232, 255, 0.22), rgba(255, 155, 66, 0.12));
  animation: waveMove 11s ease-in-out infinite reverse;
}

.wave-three {
  bottom: 70px;
  background: linear-gradient(90deg, rgba(22, 164, 255, 0.08), rgba(255, 255, 255, 0.11), rgba(22, 164, 255, 0.05));
  animation: waveMove 13s ease-in-out infinite;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-tight {
  padding-top: 40px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.service-card,
.channel-card,
.legal-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 42, 67, 0.9), rgba(6, 20, 33, 0.86));
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border-radius: 24px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  color: #06131f;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  font-weight: 950;
}

.workflow-band {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(22, 164, 255, 0.18), rgba(255, 155, 66, 0.13)),
    #071928;
  box-shadow: var(--shadow);
}

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

.workflow-step {
  min-height: 188px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.workflow-step span {
  display: block;
  margin-bottom: 40px;
  color: var(--yellow);
  font-size: 24px;
  font-weight: 950;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

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

.channel-card {
  min-height: 168px;
  padding: 22px;
  border-radius: 22px;
  text-decoration: none;
}

.channel-card span,
.channel-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-card strong {
  display: block;
  margin: 34px 0 10px;
  font-size: 24px;
}

.channel-card:hover {
  border-color: rgba(127, 232, 255, 0.52);
  transform: translateY(-3px);
}

.sponsor-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(8, 128, 222, 0.94), rgba(6, 30, 51, 0.95) 58%, rgba(255, 155, 66, 0.5)),
    #08243b;
  box-shadow: var(--shadow);
}

.sponsor-stack {
  display: grid;
  gap: 12px;
}

.sponsor-stack div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.sponsor-stack span,
.sponsor-stack strong {
  display: block;
}

.sponsor-stack span {
  margin-bottom: 6px;
  color: #dbf4ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsor-stack strong {
  font-size: 24px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8f2ff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(5, 18, 31, 0.78);
  box-shadow: var(--shadow);
}

label span {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(127, 232, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(22, 164, 255, 0.16);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: white;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: #d8f2ff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 92px;
}

.legal-card {
  padding: clamp(24px, 6vw, 58px);
  border-radius: 30px;
}

.legal-card h1 {
  font-size: clamp(42px, 7vw, 70px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-card a {
  color: var(--cyan);
  font-weight: 800;
}

.legal-date {
  color: var(--cyan);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

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

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes waveMove {
  0%,
  100% {
    transform: translateX(-3%) skewX(-9deg);
  }
  50% {
    transform: translateX(3%) skewX(8deg);
  }
}

@keyframes sideWaveDrift {
  0%,
  100% {
    transform: translateY(-28px) translateX(0);
  }
  50% {
    transform: translateY(34px) translateX(6px);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .side-wave {
    display: none;
  }

  .hero,
  .split-section,
  .sponsor-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .workflow-band {
    padding: 34px;
  }

  .hero {
    gap: 20px;
    padding-top: 48px;
  }

  .hero-logo-wrap {
    order: -1;
  }

  .hero-logo {
    width: min(320px, 80vw);
  }

  .service-grid,
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    min-height: 66px;
    margin-top: 10px;
    border-radius: 18px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero,
  .section,
  .workflow-band,
  .sponsor-section,
  .site-footer,
  .legal-page {
    width: calc(100% - 20px);
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding-top: 22px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .hero-copy,
  .section-heading p,
  .sponsor-content p,
  .contact-copy p,
  .service-card p,
  .workflow-step p,
  .legal-card p {
    font-size: 16px;
  }

  .proof-strip,
  .service-grid,
  .workflow,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-section {
    padding: 24px;
    border-radius: 24px;
  }

  .workflow-band {
    padding: 24px;
    border-radius: 24px;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
