:root {
  color-scheme: dark;
  --bg: #080910;
  --surface: rgba(17, 20, 31, 0.78);
  --surface-strong: #11141f;
  --line: rgba(164, 176, 207, 0.18);
  --text: #edf2ff;
  --muted: #aeb8cf;
  --soft: #d7dded;
  --cyan: #67e8f9;
  --rose: #ff6aa9;
  --amber: #f7c66b;
  --green: #83f3c7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(103, 232, 249, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(255, 106, 169, 0.12), transparent 24rem),
    linear-gradient(180deg, #080910 0%, #0d1018 48%, #080910 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(8, 9, 16, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.62);
  background: #030509;
  border-radius: 8px;
  box-shadow:
    0 0 18px rgba(103, 232, 249, 0.16),
    0 0 28px rgba(255, 106, 169, 0.12);
}

.brand-mark::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.2), rgba(255, 106, 169, 0.18));
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.brand-text {
  display: grid;
  gap: 1px;
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.04;
}

.brand-text span:first-child {
  color: var(--soft);
  font-size: clamp(0.68rem, 1.05vw, 0.78rem);
  font-weight: 700;
}

.brand-text span:last-child {
  color: var(--text);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(32px, 6vw, 88px);
  min-height: 92vh;
  padding: 132px clamp(20px, 6vw, 88px) 56px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

#hero-title {
  max-width: 760px;
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  overflow-wrap: break-word;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

#foundation-title {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  border: 1px solid rgba(103, 232, 249, 0.72);
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.96), rgba(131, 243, 199, 0.86));
  color: #071018;
}

.button.secondary {
  border: 1px solid rgba(255, 106, 169, 0.42);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hero-panel,
.service-card,
.tier-card,
.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 28px;
  border-radius: 8px;
}

.hero-panel > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.hero-panel > div:last-child {
  border-bottom: 0;
}

.metric {
  color: var(--rose);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-panel p {
  margin: 0;
  color: var(--soft);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-plane {
  position: absolute;
  right: -8vw;
  bottom: -16vh;
  width: 74vw;
  height: 48vh;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 169, 0.14) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to top, black, transparent 88%);
  transform: perspective(560px) rotateX(62deg) rotateZ(-3deg);
  transform-origin: bottom right;
}

.signal-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.9), transparent);
  opacity: 0.62;
}

.signal-line-one {
  top: 30%;
  right: 0;
  width: 44vw;
}

.signal-line-two {
  top: 48%;
  right: 18vw;
  width: 30vw;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 169, 0.75), transparent);
}

.section {
  padding: 72px clamp(20px, 6vw, 88px);
}

#services {
  padding-top: 0;
}

.section-heading > p,
.about-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

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

.section-heading > p:last-child {
  max-width: 700px;
}

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

.service-card,
.tier-card {
  border-radius: 8px;
  padding: 28px;
}

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

.tier-label {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--amber);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
}

.service-card p,
.tier-card p,
.tier-card li {
  color: var(--muted);
}

.mission {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

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

.mission-principles article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 20, 31, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mission-principles span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--rose);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.mission-principles p {
  color: var(--muted);
}

.foundation {
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.04), transparent),
    rgba(255, 255, 255, 0.018);
}

.tier-card {
  display: flex;
  min-height: 305px;
  flex-direction: column;
}

.tier-card.featured {
  border-color: rgba(103, 232, 249, 0.58);
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.1), rgba(17, 20, 31, 0.88));
}

.tier-card.coming-soon {
  justify-content: center;
}

.tier-card.coming-soon p {
  max-width: 480px;
}

.tier-card ul {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 24px 0 0 18px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.about-signal {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-left: 1px solid rgba(255, 106, 169, 0.34);
}

.about-signal a {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.about-signal a:hover,
.about-signal a:focus-visible {
  border-color: rgba(103, 232, 249, 0.62);
  background: rgba(103, 232, 249, 0.055);
  transform: translateY(-2px);
}

.about-signal img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(103, 232, 249, 0.14));
}

.about-signal strong {
  color: var(--soft);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 8, 14, 0.72);
  color: var(--text);
  font: inherit;
  outline: 0;
}

input,
select {
  height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 132px;
  resize: vertical;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(103, 232, 249, 0.76);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.12);
}

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

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.contact-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-status.success {
  color: var(--green);
}

.contact-status.error {
  color: var(--rose);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--cyan);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-page {
  padding-top: 80px;
}

.legal-hero {
  padding-bottom: 36px;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.04;
}

.legal-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 0;
}

.legal-content article,
.legal-note {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-content article {
  padding: 28px;
}

.legal-content h2 {
  margin-top: 28px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-note {
  grid-column: 1 / -1;
  padding: 22px 28px;
}

.legal-note strong {
  color: var(--soft);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.1rem;
}

.legal-note p {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-panel {
    align-self: auto;
  }

  .service-grid,
  .mission-principles,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .tier-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text span:first-child {
    max-width: 156px;
    font-size: 0.62rem;
    line-height: 1.12;
  }

  .brand-text span:last-child {
    font-size: 0.95rem;
  }

  .about-signal {
    padding: 22px 0 22px 18px;
  }

  .about-signal a {
    grid-template-columns: 58px 1fr;
    padding: 12px 14px;
  }

  .about-signal img {
    width: 58px;
    height: 58px;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(9, 11, 18, 0.96);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

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

  #hero-title {
    font-size: clamp(2rem, 9.5vw, 2.8rem);
    line-height: 1.08;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .section {
    padding-block: 54px;
  }

  #services {
    padding-top: 0;
  }
}
