:root {
  --ink: #f6fbff;
  --muted: #a8b6c8;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #030711;
  --white: rgba(12, 20, 34, 0.88);
  --green: #5df0ae;
  --dark-green: #17805e;
  --blue: #8bb8ff;
  --gold: #ffd27a;
  --deep: #060b16;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: transparent;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  inset: -20vh -10vw;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

body::before {
  animation: star-drift 42s linear infinite;
  background:
    radial-gradient(circle at 14% 18%, rgba(93, 240, 174, 0.18), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(139, 184, 255, 0.18), transparent 24%),
    radial-gradient(circle at 60% 70%, rgba(255, 210, 122, 0.1), transparent 20%),
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(139, 184, 255, 0.65) 0 1px, transparent 1.6px),
    linear-gradient(135deg, #02040a 0%, #07111f 45%, #030711 100%);
  background-position: 0 0, 0 0, 0 0, 0 0, 56px 78px, 0 0;
  background-size: auto, auto, auto, 150px 150px, 230px 230px, auto;
}

body::after {
  animation: star-drift-slow 90s linear infinite;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(93, 240, 174, 0.42) 0 1px, transparent 1.6px);
  background-position: 34px 12px, 120px 80px;
  background-size: 320px 320px, 520px 520px;
  opacity: 0.72;
  z-index: -1;
}

@keyframes star-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-120px, 180px, 0);
  }
}

@keyframes star-drift-slow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(160px, 240px, 0) scale(1.04);
  }
}

body.has-legal-gate {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 520;
}

.hero h1 {
  font-family: "Arial Narrow", "Aptos Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: clamp(2.35rem, 5vw, 5.25rem);
  font-stretch: condensed;
  font-weight: 460;
  line-height: 0.98;
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
  text-wrap: balance;
}

h2 {
  font-family: "Arial Narrow", "Aptos Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-stretch: condensed;
  font-weight: 460;
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
}

.site-header {
  align-items: center;
  background: rgba(3, 7, 17, 0.78);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 0 4vw;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 850;
  gap: 0.7rem;
  white-space: nowrap;
}

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

.top-tabs {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  overflow-x: auto;
}

.top-tabs a {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  padding: 0.58rem 0.85rem;
  white-space: nowrap;
}

.top-tabs a:hover,
.top-tabs a:focus {
  border-color: var(--green);
  color: var(--ink);
  background: rgba(93, 240, 174, 0.1);
  outline: 0;
}

.header-cta,
.button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
}

.header-cta,
.button.primary {
  background:
    linear-gradient(135deg, rgba(93, 240, 174, 0.34), transparent 54%),
    #f6fbff;
  color: #06101a;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(118vh - 76px);
  padding: 11rem 4vw 14rem;
  text-align: center;
}

.hero-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 1120px;
}

.hero .eyebrow {
  margin-bottom: 3rem;
}

.hero .button-row {
  margin-top: 7rem;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section {
  border-top: 1px solid var(--line);
  padding: 6rem 4vw;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 2.25rem;
}

.section-heading p:not(.eyebrow) {
  font-size: 1.08rem;
  margin-top: 1rem;
}

.intro-strip {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
}

.process-grid,
.feature-grid,
.metric-grid,
.team-grid,
.legal-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid,
.team-grid,
.legal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article,
.feature-grid article,
.team-grid article,
.legal-grid article,
.contact-form,
.email-card {
  background: rgba(9, 17, 31, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.process-grid span,
.team-grid span {
  color: var(--green);
  display: block;
  font-weight: 900;
  margin-bottom: 1.4rem;
}

.process-grid p,
.feature-grid p,
.legal-grid p {
  margin-top: 0.75rem;
}

.team-grid article {
  align-content: center;
  display: grid;
  min-height: 220px;
}

.team-logo {
  fill: none;
  height: 92px;
  margin-bottom: 1.5rem;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  width: 92px;
}

.dark-section {
  background:
    linear-gradient(135deg, rgba(139, 184, 255, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(93, 240, 174, 0.15), transparent 44%),
    rgba(4, 9, 20, 0.86);
  color: var(--white);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-section .eyebrow {
  color: var(--dark-green);
}

.dark-section h2,
.dark-section .metric-grid strong {
  color: var(--dark-green);
}

.metric-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
}

.metric-grid strong {
  display: block;
  font-size: 1.25rem;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  margin-top: 0.7rem;
}

.rd-badge {
  align-items: center;
  background: rgba(9, 17, 31, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  display: inline-grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 1.5rem;
  max-width: 620px;
  padding: 1.25rem;
}

.rd-badge b {
  color: var(--green);
  font-size: 2.8rem;
  line-height: 1;
}

.rd-badge span {
  color: var(--muted);
}

.contact-layout {
  align-items: stretch;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(340px, 1fr) minmax(280px, 0.72fr);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

label {
  color: var(--ink);
  display: grid;
  font-weight: 750;
  gap: 0.45rem;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0.8rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
}

textarea {
  resize: vertical;
}

.email-card {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 280px;
}

.email-card a {
  background:
    linear-gradient(135deg, rgba(93, 240, 174, 0.2), transparent 56%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
  padding: 1.6rem;
  text-align: center;
  width: 100%;
  word-break: break-word;
}

.form-status {
  color: var(--green);
  font-weight: 750;
}

.legal-section a,
.site-footer a {
  color: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer {
  background: rgba(3, 7, 17, 0.94);
  color: var(--white);
  display: grid;
  gap: 1.35rem;
  padding: 3rem 4vw;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 1180px;
}

.site-footer .brand {
  color: var(--white);
}

.fine-print {
  font-size: 0.92rem;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  padding-top: 1rem;
}

.legal-gate {
  align-items: center;
  background: rgba(3, 7, 17, 0.82);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 100;
}

.legal-gate__panel {
  background: #09111f;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: min(760px, calc(100vh - 2.5rem));
  max-width: 760px;
  overflow: auto;
  padding: 2rem;
  width: 100%;
}

.legal-gate__panel h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
}

.legal-gate__copy {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.legal-gate__copy p {
  color: var(--ink);
}

.legal-gate__copy a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-gate__accept {
  width: 100%;
}

@media (max-width: 1020px) {
  .site-header {
    align-items: start;
    grid-template-columns: 1fr;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .top-tabs {
    justify-content: start;
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .intro-strip,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .metric-grid,
  .team-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.05rem);
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero,
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .process-grid,
  .feature-grid,
  .metric-grid,
  .team-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

}
