@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap");

@font-face {
  font-family: "Chivo Black";
  src: url("./Chivo-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #0d1b2d;
  --panel: #1d334b;
  --lime: #caff31;
  --mint: #58ded1;
  --paper: #f4f7f5;
  --muted: #aebdca;
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff;
  background: var(--ink);
  font-family: "Barlow", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  font-family: "Chivo Black", sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.brand-label,
.edition {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.edition {
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.document {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(52px, 8vw, 118px);
  align-items: center;
  padding: 72px 0 82px;
}

.eyebrow,
.section-number {
  margin: 0 0 18px;
  color: var(--mint);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 26px;
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: clamp(62px, 6.4vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-bottom: 26px;
  color: #d5dee6;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.7;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.meta span {
  padding: 7px 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.download {
  width: min(100%, 400px);
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.download:hover {
  background: #d7ff61;
  box-shadow: 0 14px 36px rgba(202, 255, 49, 0.17);
}

.download:focus-visible,
.preview-link:focus-visible,
.final-download a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.download svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download span {
  display: grid;
  gap: 3px;
}

.download strong {
  font-size: 17px;
}

.download small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.68;
}

.preview-link {
  width: fit-content;
  display: flex;
  gap: 8px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 5px;
}

.cover-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 410px);
  padding: 14px 14px 0 0;
}

.cover {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
}

.cover-shadow {
  position: absolute;
  z-index: 1;
  inset: 36px -14px -18px 28px;
  background: var(--panel);
}

.year-badge {
  position: absolute;
  z-index: 3;
  top: -18px;
  right: -20px;
  width: 70px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
}

.contents {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.contents h2,
.final-download h2 {
  margin-bottom: 0;
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
}

.contents ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contents li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  color: #e1e8ed;
  font-size: 17px;
}

.contents li span {
  color: var(--mint);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
}

.final-download {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 44px 48px;
  color: var(--ink);
  background: var(--lime);
}

.final-download p {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 700;
}

.final-download h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.final-download a {
  min-width: 150px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

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

  .brand-label {
    display: none;
  }

  .document {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 58px 0 78px;
  }

  h1 {
    font-size: clamp(48px, 13.2vw, 54px);
  }

  .eyebrow {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.4;
  }

  .cover-wrap {
    justify-self: center;
    width: min(88%, 390px);
  }

  .contents {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 74px 0;
  }

  .final-download {
    grid-template-columns: 1fr;
    padding: 34px 28px;
  }

  .final-download a {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
