:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #f8fbff;
  background: #030814;
  --cyan: #10d9f2;
  --blue: #1688ee;
  --violet: #7c45ef;
  --panel: rgba(4, 11, 28, 0.86);
  --text: rgba(248, 251, 255, 0.88);
  --muted: rgba(248, 251, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #030814;
}

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

.landing {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: center;
  padding: 78px 24px 0;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(0, 193, 234, 0.18) 0%, rgba(3, 8, 20, 0) 32%),
    linear-gradient(128deg, #020712 0%, #051029 48%, #100928 100%);
}

.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(17, 226, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 69, 239, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 84%, transparent);
}

.landing::after {
  content: "";
  position: absolute;
  inset: auto -12% 0;
  height: 42vh;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 222, 244, 0.42), rgba(28, 118, 245, 0.28) 48%, rgba(128, 54, 240, 0.5)),
    repeating-radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.72) 0 1.6px, transparent 1.8px 18px);
  clip-path: polygon(0 43%, 10% 31%, 24% 39%, 39% 34%, 54% 47%, 70% 38%, 84% 30%, 100% 39%, 100% 100%, 0 100%);
  opacity: 0.44;
  transform: perspective(900px) rotateX(62deg) translateY(78px);
  transform-origin: bottom center;
  filter: blur(0.2px);
  mix-blend-mode: screen;
}

.brand-watermark {
  position: absolute;
  top: 12%;
  right: -2%;
  z-index: -1;
  width: min(29vw, 390px);
  min-width: 230px;
  opacity: 0.2;
}

.brand-watermark img {
  display: block;
  width: 100%;
  height: auto;
}

.dot-field {
  position: absolute;
  z-index: -1;
  width: min(56vw, 680px);
  height: 34vh;
  min-height: 220px;
  opacity: 0.58;
  background-image: radial-gradient(circle, currentColor 0 2px, transparent 2.4px);
  background-size: 17px 17px;
  mask-image: linear-gradient(to top, black, transparent 86%);
  transform: rotate(-8deg) skewX(-18deg);
}

.dot-field-left {
  left: -11%;
  bottom: 5%;
  color: #0ad8f0;
}

.dot-field-right {
  right: -8%;
  bottom: 1%;
  color: #8438f3;
  transform: rotate(8deg) skewX(18deg);
}

.hero {
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 34px;
  margin: 0 auto 62px;
}

.brand-mark {
  display: block;
  width: min(54vw, 335px);
  height: auto;
}

.brand-lockup span {
  color: rgba(221, 232, 245, 0.82);
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 52%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-line {
  display: block;
  width: 78px;
  height: 4px;
  margin: 38px auto 32px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.hero p {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.55;
  font-weight: 400;
}

.hero .thanks {
  margin-top: 14px;
  color: #32aaf8;
  font-weight: 700;
}

.hero .tagline {
  width: min(100%, 820px);
  margin: 24px auto 0;
  color: rgba(248, 251, 255, 0.8);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}

.contact-panel {
  width: min(100%, 1160px);
  min-height: 126px;
  display: grid;
  grid-template-columns: 1.55fr 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 68px auto 0;
  padding: 34px 48px;
  border: 1px solid rgba(31, 180, 245, 0.22);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.site-footer {
  position: relative;
  z-index: 0;
  width: calc(100% + 48px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin: 72px -24px 0;
  padding: 52px max(24px, calc((100vw - 1160px) / 2 + 24px)) 42px;
  background: rgba(2, 8, 18, 0.78);
  border-top: 1px solid rgba(89, 183, 241, 0.14);
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -36px;
  height: 58px;
  background: rgba(2, 8, 18, 0.78);
  clip-path: ellipse(58% 44% at 50% 100%);
  z-index: -1;
}

.footer-brand {
  display: inline-grid;
  grid-template-columns: 74px auto;
  gap: 18px;
  align-items: center;
  color: rgba(221, 232, 245, 0.76);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1;
}

.footer-brand img {
  display: block;
  width: 74px;
  height: auto;
}

.footer-logos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  min-width: 0;
}

.footer-logo {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.footer-logo-sgs {
  width: 78px;
  height: auto;
}

.footer-logo-dircom {
  width: 168px;
  height: auto;
}

.footer-logo-cedro {
  width: 150px;
  height: auto;
}

.contact-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  align-items: center;
  min-width: 0;
}

.contact-item + .contact-item {
  padding-left: 34px;
  border-left: 1px solid rgba(177, 210, 255, 0.22);
}

.contact-item svg,
.metaclip-link svg {
  width: 52px;
  height: 52px;
  color: #1db7f8;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.contact-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.45;
  letter-spacing: 0;
}

.contact-item a {
  transition: color 160ms ease;
}

.contact-item a:hover {
  color: #35c9ff;
}

.metaclip-link {
    min-height: 70px;
    display: inline-grid;
    grid-template-columns: 36px auto;
    gap: 18px;
    align-items: center;
    padding: 16px 38px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: linear-gradient(#07122d, #07122d) padding-box, linear-gradient(90deg, var(--cyan), var(--violet)) border-box;
    color: rgba(248, 251, 255, 0.9);
    font-size: clamp(22px, 1.9vw, 30px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease;
    margin-left: 24px;
}

.metaclip-link svg {
  width: 36px;
  height: 36px;
  color: currentColor;
}

.metaclip-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(23, 195, 244, 0.22);
}

@media (max-width: 980px) {
  .landing {
    padding: 48px 18px 0;
  }

  .brand-lockup {
    margin-bottom: 48px;
  }

  .brand-mark {
    width: min(58vw, 300px);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 54px;
    padding: 30px;
  }

  .contact-item + .contact-item {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(177, 210, 255, 0.18);
  }

  .metaclip-link {
    justify-content: center;
  }

  .site-footer {
    width: calc(100% + 36px);
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 30px;
    margin: 58px -18px 0;
    padding: 48px 22px 34px;
    text-align: center;
  }

  .footer-logos {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .landing {
    min-height: 100svh;
    padding-top: 36px;
  }

  .brand-watermark {
    top: 6%;
    right: -30%;
    opacity: 0.16;
  }

  .brand-lockup {
    gap: 26px;
    margin-bottom: 38px;
  }

  .brand-mark {
    width: min(68vw, 230px);
  }

  h1 {
    font-size: clamp(36px, 14vw, 54px);
  }

  .accent-line {
    margin: 28px auto 24px;
  }

  .hero p {
    font-size: 20px;
  }

  .hero .tagline {
    font-size: 17px;
  }

  .hero p br {
    display: none;
  }

  .contact-panel {
    margin-top: 42px;
    padding: 24px 20px;
  }

  .contact-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .contact-item svg {
    width: 40px;
    height: 40px;
  }

  .contact-item p {
    font-size: 17px;
  }

  .metaclip-link {
    min-height: 60px;
    grid-template-columns: 28px auto;
    gap: 12px;
    padding: 14px 20px;
    font-size: 22px;
  }

  .metaclip-link svg {
    width: 28px;
    height: 28px;
  }

  .footer-brand {
    grid-template-columns: 58px auto;
    gap: 14px;
    font-size: 25px;
  }

  .footer-brand img {
    width: 58px;
  }

  .footer-logos {
    gap: 22px;
  }

  .footer-logo-sgs {
    width: 68px;
  }

  .footer-logo-dircom {
    width: 138px;
  }

  .footer-logo-cedro {
    width: 128px;
  }
}
