:root {
  color-scheme: dark;
  --ocean: #071b24;
  --deep: #0b2d38;
  --water: #17a7b8;
  --foam: #d9f5f2;
  --sand: #e8ba66;
  --mist: #9fc0c4;
  --line: rgba(217, 245, 242, 0.16);
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ocean);
  color: var(--foam);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body {
  margin: 0;
  min-width: 280px;
}

a {
  color: #72d8df;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--sand);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #06171e;
}

.header-inner,
main,
.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--foam);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 7px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.88rem;
}

nav a {
  color: var(--mist);
  text-decoration: none;
}

main {
  padding: 64px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 18px;
  max-width: 680px;
  font-size: clamp(2.1rem, 7vw, 3.8rem);
}

h2 {
  margin: 46px 0 12px;
  font-size: 1.35rem;
}

h3 {
  margin: 4px 0 18px;
  font-size: 1.16rem;
}

p,
li {
  color: #c4dcde;
}

.lead {
  max-width: 680px;
  color: var(--foam);
  font-size: 1.12rem;
}

.notice {
  margin: 34px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--sand);
  background: var(--deep);
}

.notice strong {
  color: var(--sand);
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.link-list a {
  display: block;
  min-height: 94px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--foam);
  font-weight: 700;
  text-decoration: none;
}

.link-list span {
  display: block;
  margin-top: 4px;
  color: var(--mist);
  font-size: 0.88rem;
  font-weight: 400;
}

ul,
ol {
  padding-left: 24px;
}

code {
  color: var(--sand);
  overflow-wrap: anywhere;
  word-break: break-word;
}

pre {
  max-width: 100%;
  margin: 14px 0 18px;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #041319;
  color: var(--foam);
  line-height: 1.45;
}

pre code {
  color: inherit;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.84rem;
  overflow-wrap: normal;
  word-break: normal;
}

kbd {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #041319;
  color: var(--foam);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.download-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--deep);
}

.download-card p:last-child {
  margin-bottom: 0;
}

.platform-tag {
  margin: 0 0 8px;
  color: var(--sand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.button-link,
.secondary-link {
  display: block;
  overflow-wrap: anywhere;
}

.button-link {
  padding: 10px 13px;
  border-radius: 7px;
  background: var(--water);
  color: #031116;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--sand);
  color: #031116;
}

.secondary-link {
  margin-top: 12px;
  font-size: 0.88rem;
}

.steps > li {
  margin-bottom: 16px;
  padding-left: 4px;
}

footer {
  border-top: 1px solid var(--line);
  background: #06171e;
}

.footer-inner {
  padding: 28px 0;
  color: var(--mist);
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 44px;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}
