:root {
  --bg: #07111f;
  --bg-deep: #030914;
  --panel: rgba(13, 27, 46, 0.76);
  --panel-solid: #0d1b2e;
  --text: #f4f7fb;
  --muted: #aab8cb;
  --line: rgba(255, 255, 255, 0.10);
  --cyan: #25d0c7;
  --cyan-soft: #75ece5;
  --gold: #d8aa5b;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(37, 208, 199, 0.10), transparent 30rem),
    radial-gradient(circle at 12% 40%, rgba(216, 170, 91, 0.06), transparent 26rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--bg);
  background: var(--cyan);
  border-radius: 10px;
  transition: top 160ms ease;
}

.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  background: rgba(3, 9, 20, 0.70);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(3, 9, 20, 0.92);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  width: 210px;
  display: block;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav .nav-cta {
  color: var(--bg-deep);
  background: var(--cyan);
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 90px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -120px;
  top: 8%;
  border-radius: 50%;
  border: 1px solid rgba(37, 208, 199, 0.18);
  box-shadow:
    0 0 0 80px rgba(37, 208, 199, 0.025),
    0 0 0 160px rgba(37, 208, 199, 0.018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: 76px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.20em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--cyan-soft), var(--cyan), #d3fffb);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 670px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan));
  box-shadow: 0 12px 34px rgba(37, 208, 199, 0.20);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.trust-note {
  color: #77879d;
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
}

.logo-frame {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015)),
    rgba(3, 9, 20, .5);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
}

.logo-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(37, 208, 199, 0.16);
  border-radius: 18px;
  pointer-events: none;
}

.logo-frame img {
  width: 100%;
  border-radius: 16px;
}

.signal-line {
  width: 80%;
  height: 1px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 18px rgba(216, 170, 91, 0.55);
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-muted {
  background: rgba(255,255,255,.016);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 100px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.048em;
}

.section-heading.narrow {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy p + p {
  margin-top: 22px;
}

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

.card {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 208, 199, 0.30);
  background: linear-gradient(180deg, rgba(37,208,199,.075), rgba(255,255,255,.02));
}

.card-index {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: .18em;
  font-weight: 800;
}

.card h3 {
  margin: 70px 0 12px;
  font-size: 1.22rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.collaboration {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.collaboration-panel {
  padding: 36px;
  border: 1px solid rgba(37, 208, 199, 0.19);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(37, 208, 199, 0.10), transparent 18rem),
    var(--panel);
  box-shadow: var(--shadow);
}

.collaboration-panel > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.collaboration-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0 32px;
}

.collaboration-points span {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #dbe5f2;
  background: rgba(255,255,255,.025);
}

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

.contact-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(37,208,199,.11), rgba(216,170,91,.055));
}

.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--cyan-soft);
  font-weight: 750;
  text-decoration: none;
  word-break: break-word;
}

.contact-link span {
  font-size: 1.35rem;
}

.site-footer {
  padding: 34px 0 46px;
  color: #77879d;
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.footer-grid p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 70px 0 90px;
  }

  .hero-grid,
  .section-grid,
  .collaboration {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-visual {
    max-width: 720px;
  }

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

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .nav-shell {
    min-height: 68px;
  }

  .brand {
    width: 176px;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(3, 9, 20, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    gap: 46px;
  }

  .logo-frame {
    transform: none;
    padding: 10px;
    border-radius: 20px;
  }

  .section {
    padding: 82px 0;
  }

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

  .card {
    min-height: 230px;
  }

  .card h3 {
    margin-top: 48px;
  }

  .collaboration-panel,
  .contact-panel {
    padding: 26px;
    border-radius: 22px;
  }

  .collaboration-points {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    gap: 8px;
  }
}
