:root {
  color-scheme: dark;
  --bg: #090d12;
  --bg-soft: #0f161c;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #f4f7f5;
  --muted: #a9b5b0;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #42e8c4;
  --accent-strong: #80f4d9;
  --accent-dark: #102820;
  --warm: #f7c66a;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(9, 13, 18, 0.18), var(--bg) 42rem),
    radial-gradient(circle at 8% 4%, rgba(66, 232, 196, 0.16), transparent 32rem),
    radial-gradient(circle at 92% 18%, rgba(247, 198, 106, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration-color: rgba(128, 244, 217, 0.52);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 18, 0.84);
  backdrop-filter: blur(18px);
}

.nav,
.content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 210, 180, 0.22);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 10px;
  text-decoration: none;
}

.nav-links a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.home-hero {
  position: relative;
  min-height: clamp(600px, 78vh, 760px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-backdrop,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 13, 18, 0.96) 0%, rgba(9, 13, 18, 0.78) 47%, rgba(9, 13, 18, 0.34) 100%),
    linear-gradient(180deg, rgba(9, 13, 18, 0.34), rgba(9, 13, 18, 0.94));
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(76px, 11vw, 132px) 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.home-hero h1,
.section-heading h2,
.legal-cta h2,
.doc h1 {
  margin: 0;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(2.6rem, 8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d5dfdc;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 120ms ease;
}

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

.button-primary {
  border-color: rgba(128, 244, 217, 0.7);
  background: var(--accent);
  color: #06130f;
}

.button-primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #06130f;
}

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

.button-secondary:hover {
  border-color: rgba(128, 244, 217, 0.48);
  background: rgba(128, 244, 217, 0.1);
  color: var(--text);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 44px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 16, 15, 0.58);
  padding: 10px 12px;
  color: #e7efec;
  font-size: 0.85rem;
  font-weight: 720;
  box-shadow: 0 18px 60px var(--shadow);
}

.section-block {
  padding: clamp(70px, 10vw, 112px) 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 520px;
}

.section-heading h2,
.legal-cta h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

.section-heading p,
.legal-cta p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.capability-card,
.proof-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.capability-card {
  min-height: 240px;
  padding: 22px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  border: 1px solid rgba(128, 244, 217, 0.3);
  border-radius: 8px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
}

.capability-card h3 {
  margin: 42px 0 0;
  color: var(--text);
  font-size: 1.27rem;
  line-height: 1.2;
}

.capability-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(66, 232, 196, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--bg-soft);
  padding: clamp(70px, 10vw, 108px) 0;
}

.split-layout,
.proof-layout,
.legal-cta,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

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

.process-step {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 18px;
}

.process-step span {
  color: var(--warm);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-step p {
  margin: 0;
  color: #d3ddd9;
}

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

.proof-item {
  min-height: 150px;
  padding: 20px;
}

.proof-item strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.5rem, 4vw, 2.45rem);
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.legal-cta {
  margin-bottom: clamp(70px, 10vw, 108px);
  border: 1px solid rgba(128, 244, 217, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(128, 244, 217, 0.14), transparent 45%),
    rgba(255, 255, 255, 0.07);
  padding: clamp(28px, 5vw, 48px);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.doc {
  max-width: 860px;
  padding: clamp(50px, 8vw, 78px) 0 88px;
}

.doc h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.doc-meta {
  margin: 16px 0 0;
  color: var(--muted);
}

.doc section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.doc h2,
.doc p,
.doc li {
  color: var(--text);
}

.doc h2 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.doc p,
.doc li {
  color: #d7dfdc;
}

.doc ul {
  padding-left: 20px;
}

.notice {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(247, 198, 106, 0.38);
  border-radius: 8px;
  background: rgba(247, 198, 106, 0.09);
  color: #f4dfb3;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 13, 18, 0.95), rgba(9, 13, 18, 0.72)),
      linear-gradient(180deg, rgba(9, 13, 18, 0.2), rgba(9, 13, 18, 0.96));
  }

  .hero-content {
    padding: 72px 0 58px;
  }

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

  .split-layout,
  .proof-layout,
  .legal-cta {
    grid-template-columns: 1fr;
  }

  .legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav,
  .content,
  .hero-content {
    width: min(100% - 24px, 1120px);
  }

  .nav-links {
    gap: 6px;
    font-size: 0.84rem;
  }

  .nav-links a {
    min-height: 34px;
    padding: 6px 8px;
  }

  .home-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4.4rem);
  }

  .hero-actions,
  .hero-proof,
  .legal-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .capability-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 210px;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
