@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #132641;
  --muted: #536174;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dbe3ee;
  --blue: #2366d1;
  --blue-dark: #174792;
  --green: #159b55;
  --navy: #17395f;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(35, 102, 209, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 102, 209, 0.05) 1px, transparent 1px), var(--paper);
  background-size: 48px 48px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.2em;
}

.site-header,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.github-link {
  font-weight: 600;
}

main {
  overflow: hidden;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  padding: 76px 0 112px;
  animation: reveal 600ms ease-out both;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: 'Manrope', sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.lede {
  max-width: 650px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.primary-action {
  color: var(--white);
  background: var(--blue);
}

.secondary-action {
  background: var(--white);
}

.hero-art {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  animation: reveal 600ms 140ms ease-out both;
}

.hero-art::before {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(35, 102, 209, 0.18);
  border-radius: 50%;
  content: '';
}

.hero-art img {
  position: relative;
  width: 62%;
  height: auto;
  filter: drop-shadow(0 28px 36px rgba(19, 57, 95, 0.22));
}

.orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-one {
  top: 18%;
  right: 12%;
  width: 16px;
  height: 16px;
  background: var(--green);
}

.orbit-two {
  bottom: 16%;
  left: 14%;
  width: 10px;
  height: 10px;
  background: var(--blue);
}

.details,
.trust {
  padding: 96px max(24px, calc((100% - 1180px) / 2));
}

.details {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 96px;
  color: var(--white);
  background: var(--navy);
}

.details .eyebrow {
  color: #6de49d;
}

.details h2,
.trust h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.steps span {
  color: #6de49d;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: #cbd7e6;
}

.trust {
  max-width: 1180px;
  margin: 0 auto;
}

.trust h2 {
  max-width: 820px;
}

.trust > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.trust > a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}

footer {
  min-height: 112px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
}

footer nav {
  display: flex;
  gap: 24px;
}

.policy-page {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 112px;
  overflow: visible;
}

.policy-heading {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.policy-heading h1 {
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.policy-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.policy-content {
  max-width: 720px;
  padding-top: 34px;
}

.policy-content section {
  padding: 20px 0;
}

.policy-content h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.policy-content p {
  margin: 0 0 14px;
  color: #3f4d60;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 760px) {
  .site-header,
  footer,
  .hero,
  .policy-page {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand span {
    max-width: 140px;
    line-height: 1.15;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy {
    padding: 68px 0 10px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .hero-art {
    width: min(86vw, 420px);
    margin: 0 auto 64px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .trust {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  footer {
    min-height: 132px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .policy-page {
    padding-top: 56px;
  }
}
