:root {
  color-scheme: dark;
  --bg: #10171b;
  --paper: #1b252b;
  --line: #354045;
  --ink: #f0f1e9;
  --muted: #b5c1c2;
  --amber: #f3bc75;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 5px;
}
.wrap {
  width: min(1152px, 90%);
  margin: auto;
}
header {
  background: #121b21;
  border-bottom: 1px solid #2c363b;
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand,
.wordmark {
  font-weight: 850;
  letter-spacing: -0.065em;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 25px;
}
.brand span {
  color: var(--amber);
}
.brandmark {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background: linear-gradient(
    90deg,
    var(--amber) 0 29%,
    transparent 29% 36%,
    var(--amber) 36% 65%,
    transparent 65% 72%,
    var(--amber) 72%
  );
  clip-path: polygon(
    0 42%,
    30% 42%,
    30% 20%,
    66% 20%,
    66% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}
nav {
  display: flex;
  gap: 28px;
}
nav a,
footer a {
  font-size: 14px;
  color: var(--muted);
}
a:hover {
  color: #fff;
}
.hero {
  position: relative;
  isolation: isolate;
  background: #101d30 url("/assets/nightfall.jpg") center 53% / cover no-repeat;
  border-bottom: 1px solid #35444c;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #101a27ec 0%,
    #111c2a96 32%,
    transparent 69%
  );
}
.hero-copy {
  padding: clamp(40px, 4.2vw, 74px) 0;
}
.hero h1,
.hero h1 em,
h2,
h3,
p {
  margin: 0;
}
.hero h1 {
  font-size: clamp(49px, 5.3vw, 85px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 750;
}
.hero em {
  color: #f3c384;
  font-style: normal;
}
.hero p {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  max-width: 430px;
  color: #e0e3e0;
  margin: 19px 0 23px;
}
.hero-jump {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #b79a70;
  padding: 0 0 6px;
  font-weight: 600;
  font-size: 14px;
}
.hero-jump span {
  color: var(--amber);
  font-size: 18px;
}
.collection {
  padding: 40px 0 37px;
  scroll-margin: 16px;
}
.section-head,
.card-head,
.download-row,
footer .wrap {
  display: flex;
  align-items: center;
}
.section-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.platform {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}
.platform i {
  height: 13px;
  width: 13px;
  background:
    linear-gradient(90deg, transparent 46%, var(--bg) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--bg) 46% 54%, transparent 54%),
    #a8b7bb;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 26px 19px;
  --accent: #a7ca88;
}
.card.shelf {
  --accent: #86bfd5;
}
.card-head {
  gap: 15px;
}
.app-icon {
  position: relative;
  width: 49px;
  height: 49px;
  flex: none;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blocks {
  background: #304330;
}
.blocks i,
.blocks b {
  position: absolute;
}
.blocks i {
  width: 27px;
  height: 30px;
  background: linear-gradient(90deg, #8eab60 50%, #5e864d 50%);
  clip-path: polygon(50% 0, 100% 25%, 100% 74%, 50% 100%, 0 74%, 0 25%);
}
.blocks b {
  width: 27px;
  height: 15px;
  background: #b7d995;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  top: 10px;
}
.books {
  background: #294555;
  align-items: flex-end;
  gap: 3px;
  padding-bottom: 11px;
}
.books i {
  background: #b0d9eb;
  width: 6px;
  height: 22px;
  border-radius: 1px;
}
.books i:nth-child(2) {
  height: 27px;
}
.books i:last-child {
  height: 20px;
  transform: rotate(-14deg);
  margin-left: 1px;
}
.family {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 3px;
}
.card h3 {
  font-size: clamp(21px, 2.25vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.044em;
}
.description {
  color: var(--muted);
  line-height: 1.55;
  margin: 17px 0 21px;
  font-size: 15px;
  flex: 1;
}
.download-row {
  width: 100%;
  gap: 16px;
  flex-wrap: wrap;
}
.download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--accent);
  color: #112026;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
}
.download[href]:hover {
  background: #e0eadb;
  color: #102027;
}
.download[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.download i {
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}
.file-info,
.portable,
.feedback {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.portable {
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feedback {
  margin-top: 8px;
}
.help {
  padding: 24px 0 46px;
  border-top: 1px solid var(--line);
}
.help h2 {
  margin-bottom: 16px;
  font-size: 23px;
}
.help details {
  border-bottom: 1px solid #2e393f;
}
.help summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 15px;
  list-style: none;
}
.help summary::-webkit-details-marker {
  display: none;
}
.help summary::after {
  content: "+";
  color: var(--muted);
}
.help details[open] summary::after {
  content: "−";
}
.help p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  max-width: 720px;
  margin: 0 0 16px;
}
footer {
  border-top: 1px solid var(--line);
  background: #0e1418;
}
footer .wrap {
  justify-content: space-between;
  padding: 17px 0;
}
.wordmark {
  color: #93a1a6;
  font-size: 17px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 690px) {
  .wrap {
    width: 89%;
  }
  .nav {
    height: 56px;
  }
  nav {
    gap: 16px;
  }
  .hero {
    background-position: 64% center;
  }
  .hero::before {
    background: linear-gradient(90deg, #101824e6, #10182477 67%, #10182420);
  }
  .hero p {
    max-width: 270px;
    font-size: 15px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 21px;
  }
  .collection {
    padding: 29px 0;
  }
  .section-head {
    margin-bottom: 14px;
  }
  .hero-copy {
    padding: 39px 0;
  }
  .help {
    padding-bottom: 32px;
  }
  .platform {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

@media (min-width: 691px) {
  .card {
    display: grid;
    grid-template-rows: auto 1fr auto minmax(28px, auto);
    justify-items: start;
    align-content: start;
  }
  .portable {
    align-self: start;
  }
  .feedback {
    grid-column: 1;
  }
}
