:root {
  --ink: #f4fbfd;
  --muted: #9db8c3;
  --page: #061827;
  --page-soft: #0a2232;
  --paper: #0d2b3b;
  --paper-soft: #123646;
  --line: rgba(160, 220, 232, 0.24);
  --aqua: #39d8e8;
  --aqua-dark: #7deaf2;
  --amber: #ffb82e;
  --green: #63e69e;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
  --body: "Satoshi", "Avenir Next", system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--page-soft) 0, var(--page) 360px);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

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

.site-header,
main,
.site-footer {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 2px solid rgba(244, 251, 253, 0.9);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 900;
}

.nav-links a,
.button,
.link-list a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 43, 59, 0.86);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.nav-links a {
  padding: 8px 12px;
}

.nav-links a:hover,
.button:hover,
.link-list a:hover {
  border-color: rgba(57, 216, 232, 0.72);
  background: rgba(18, 54, 70, 0.94);
  transform: translateY(-1px);
}

.hero {
  min-height: clamp(560px, calc(100vh - 78px), 690px);
  display: grid;
  align-items: center;
  padding: 22px 0 52px;
}

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  display: block;
  width: clamp(124px, 18vw, 170px);
  height: clamp(124px, 18vw, 170px);
  margin-bottom: 24px;
  border: 4px solid rgba(244, 251, 253, 0.92);
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

h1,
h2,
strong {
  letter-spacing: 0;
}

h1 {
  margin-bottom: clamp(22px, 3vw, 30px);
  color: var(--ink);
  font-size: clamp(4.4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.82;
}

h2 {
  max-width: 600px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 0.96;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--ink);
  font-weight: 900;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.button.primary {
  border-color: rgba(255, 184, 46, 0.95);
  background: var(--amber);
  color: #13212b;
  box-shadow: 0 10px 0 rgba(57, 216, 232, 0.16);
}

.install,
.links,
.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: clamp(24px, 6vw, 58px);
  align-items: start;
  padding: clamp(46px, 8vw, 84px) 0;
  border-top: 2px dashed rgba(160, 220, 232, 0.22);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 14px;
  border: 1px solid rgba(25, 199, 220, 0.42);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(13, 43, 59, 0.9);
  color: var(--aqua-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

pre {
  margin: 0;
  border: 2px solid rgba(244, 251, 253, 0.9);
  border-radius: 18px;
  padding: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(255, 184, 46, 0.22);
}

pre code {
  font-family: var(--mono);
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  font-weight: 800;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

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

.link-list a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.workflow-list {
  counter-reset: workflow;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 42px minmax(72px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(13, 43, 59, 0.86);
}

.workflow-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(244, 251, 253, 0.92);
  border-radius: 50%;
  background: var(--amber);
  color: #13212b;
  font-size: 0.94rem;
  font-weight: 900;
}

.workflow-list strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.workflow-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 18px;
  border-top: 2px dashed rgba(160, 220, 232, 0.22);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 460px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 58px;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .hero-lede {
    font-size: clamp(1.25rem, 7vw, 1.65rem);
  }

  .hero-logo {
    width: 126px;
    height: 126px;
    border-radius: 28px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .install,
  .links,
  .workflow {
    grid-template-columns: 1fr;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    grid-template-columns: 42px 1fr;
    gap: 8px 14px;
  }

  .workflow-list p {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
