:root {
  color-scheme: dark;
  --bg: #06121f;
  --panel: #0d1d2c;
  --text: #f4f8fb;
  --muted: #a6b7c8;
  --cyan: #30d7ff;
  --lime: #94da45;
  --line: rgba(255, 255, 255, .15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

main {
  display: flex;
  flex-direction: column;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: none;
  border-bottom: 0;
}

.header-cta,
.button,
.download-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  color: #03111b;
  background: var(--lime);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hero {
  order: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #030b14;
}

.hero-bg {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 18px clamp(18px, 5vw, 82px) 22px;
  background: #06121f;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  max-width: 12ch;
  font-size: clamp(3.25rem, 7vw, 7rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d8e5ee;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
}

.button {
  min-height: 54px;
  padding: 0 26px;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--line);
}

.proof {
  order: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-height: 190px;
  padding: clamp(24px, 4vw, 48px);
  background: #081827;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.proof-item span {
  margin-top: 12px;
  color: var(--muted);
}

.how-it-works {
  order: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(180deg, rgba(7, 20, 34, .96), rgba(5, 12, 22, 1)),
    #071422;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  order: 1;
  max-width: 860px;
  margin: 0 auto clamp(24px, 4vw, 42px);
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 700px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.flow {
  order: 3;
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  align-items: stretch;
  max-width: 1180px;
  margin: clamp(28px, 5vw, 58px) auto 0;
}

.flow-step {
  position: relative;
  min-height: 260px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(18, 42, 64, .94), rgba(8, 23, 38, .96));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.flow-step h3 {
  margin: 24px 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  color: var(--lime);
  font-weight: 900;
  font-size: .9rem;
}

.step-icon {
  position: relative;
  width: 78px;
  height: 78px;
  margin-top: 28px;
  border: 1px solid rgba(48, 215, 255, .45);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(48, 215, 255, .30), rgba(48, 215, 255, .06) 58%, transparent 60%);
}

.download-mark,
.key-mark,
.chat-mark {
  position: absolute;
  inset: 0;
  margin: auto;
}

.download-mark {
  width: 28px;
  height: 34px;
  border: 3px solid var(--cyan);
  border-top: 0;
  transform: translateY(9px);
}

.download-mark::before,
.download-mark::after,
.key-mark::before,
.key-mark::after,
.chat-mark::before,
.chat-mark::after {
  content: "";
  position: absolute;
  display: block;
}

.download-mark::before {
  left: 10px;
  top: -26px;
  width: 3px;
  height: 29px;
  background: var(--cyan);
}

.download-mark::after {
  left: 5px;
  top: -8px;
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(45deg);
}

.key-mark {
  width: 44px;
  height: 44px;
  border: 4px solid var(--lime);
  border-radius: 50%;
  transform: translate(-10px, -2px);
}

.key-mark::before {
  left: 32px;
  top: 18px;
  width: 36px;
  height: 4px;
  background: var(--lime);
}

.key-mark::after {
  left: 56px;
  top: 18px;
  width: 4px;
  height: 14px;
  border-right: 4px solid var(--lime);
  border-bottom: 4px solid var(--lime);
}

.chat-mark {
  width: 50px;
  height: 34px;
  border: 3px solid var(--cyan);
  border-radius: 8px;
}

.chat-mark::before {
  left: 8px;
  bottom: -12px;
  width: 14px;
  height: 14px;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: skew(-25deg);
}

.chat-mark::after {
  left: 12px;
  top: 12px;
  width: 26px;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 8px 0 rgba(48, 215, 255, .75);
}

.flow-line {
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, rgba(48, 215, 255, .18), var(--cyan), rgba(148, 218, 69, .45));
  box-shadow: 0 0 22px rgba(48, 215, 255, .35);
}

.privacy-diagram {
  order: 4;
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(210px, 300px) 1fr;
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  max-width: 1080px;
  min-height: 300px;
  margin: clamp(28px, 5vw, 58px) auto 0;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    rgba(3, 13, 24, .62);
  background-size: 34px 34px;
  overflow: hidden;
}

.infographic-card {
  order: 2;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 8px;
  background: rgba(3, 13, 24, .72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .36);
}

.infographic-card svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.peer,
.server-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.peer {
  border: 1px solid rgba(48, 215, 255, .38);
  background: rgba(48, 215, 255, .10);
  color: var(--text);
  font-weight: 900;
}

.server-node {
  border: 1px solid rgba(148, 218, 69, .55);
  background: rgba(148, 218, 69, .10);
}

.server-node span {
  font-weight: 900;
}

.server-node small {
  margin-top: 6px;
  color: var(--muted);
}

.key-path,
.message-path {
  position: absolute;
  z-index: 1;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.key-path::before,
.message-path::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 2px;
}

.key-left {
  left: 24%;
  top: 34%;
}

.key-right {
  right: 24%;
  top: 34%;
}

.key-left::before,
.key-right::before {
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}

.message-path {
  left: 20%;
  right: 20%;
  bottom: 20%;
  text-align: center;
  color: #dcefff;
}

.message-path::before {
  top: -18px;
  background: linear-gradient(90deg, var(--cyan), #fff, var(--cyan));
  box-shadow: 0 0 20px rgba(48, 215, 255, .52);
}

.download {
  order: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(54px, 9vw, 110px) clamp(18px, 6vw, 88px);
  background: #eef4f7;
  color: #07111c;
}

.download-copy p:not(.eyebrow),
.fine-print {
  color: #4c5b66;
}

.download-copy p:not(.eyebrow) {
  max-width: 660px;
  font-size: 1.12rem;
}

.download-form {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid #d7e0e5;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(7, 17, 28, .14);
}

.download-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) auto;
  gap: 10px;
}

.download-form input,
.download-form select {
  min-width: 0;
  min-height: 52px;
  width: 100%;
  border: 1px solid #bccbd4;
  border-radius: 8px;
  padding: 0 14px;
  color: #07111c;
  font: inherit;
  background: #ffffff;
}

.download-form button {
  min-height: 52px;
}

.download-form button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.fine-print {
  margin: 14px 0 0;
  font-size: .92rem;
}

.responsibility-tagline {
  margin: 12px 0 0;
  color: var(--cyan);
  font-size: .9rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 14px 16px 18px;
  }

  .hero-actions {
    justify-content: center;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
  }

  .proof,
  .flow,
  .download {
    grid-template-columns: 1fr;
  }

  .flow {
    gap: 16px;
  }

  .flow-line {
    width: 2px;
    height: 34px;
    justify-self: center;
  }

  .privacy-diagram {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .key-path,
  .message-path {
    position: static;
    margin: 0 auto;
  }

  .key-path::before,
  .message-path::before {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
