:root {
  color-scheme: light;
  --paper: #f2f6f5;
  --white: #fff;
  --ink: #132d35;
  --deep: #142e36;
  --muted: #4a6369;
  --line: #cddbd8;
  --mint: #c2ef9b;
  --wrap: 70rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #20634f; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; transform: translateY(-160%); background: var(--white); padding: .7rem 1rem; }
.skip:focus { transform: translateY(0); }

.masthead { background: var(--white); }
.masthead-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead-inner { min-height: 4.25rem; }
.wordmark { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.2rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.mark { width: 1.52rem; height: 1.52rem; display: grid; align-content: center; justify-items: end; gap: .15rem; border-radius: .32rem; background: var(--deep); padding: .32rem; }
.mark i { display: block; width: 100%; height: .14rem; border-radius: 2rem; background: var(--mint); }
.mark i:nth-child(2) { width: 70%; }
.mark i:nth-child(3) { width: 40%; }
nav a { font-size: .94rem; font-weight: 650; text-underline-offset: .27rem; text-decoration-color: #9ab0ad; }
nav a:hover { text-decoration-color: currentColor; }

.intro {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  color: #f4fbfa;
  background: linear-gradient(108deg, #142e36 32%, #1a4244 100%);
}
.intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 62%;
  inset: 0 0 0 auto;
  background-image: linear-gradient(#d5f7df1c 1px, transparent 1px), linear-gradient(90deg, #d5f7df1c 1px, transparent 1px);
  background-size: 2.7rem 2.7rem;
  mask-image: linear-gradient(to right, transparent, #000);
}
.intro-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); align-items: center; gap: 3.25rem; padding-block: clamp(2.6rem, 7vw, 5.2rem); }
.eyebrow { color: var(--mint); font-size: .86rem; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin-top: .8rem; font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 750; line-height: 1.04; letter-spacing: -.062em; text-wrap: balance; }
.lead { max-width: 35rem; margin-top: 1.35rem; color: #d3e2e0; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.65; }
.bundle { padding: 1.45rem; border: 1px solid #649387; border-radius: 1rem; background: #19393e; box-shadow: .55rem .55rem 0 #122b31; }
.bundle-label { display: flex; align-items: center; gap: .6rem; color: #e0eeeb; font-size: .875rem; font-weight: 650; }
.folder { position: relative; display: inline-block; flex: 0 0 1.15rem; height: .78rem; margin-top: .16rem; border: 1.5px solid var(--mint); border-radius: .16rem; }
.folder::before { content: ""; position: absolute; width: 55%; height: .18rem; left: -.05rem; top: -.24rem; border-radius: .1rem .1rem 0 0; background: var(--mint); }
.format { margin-left: auto; padding: .15rem .4rem; border: 1px solid #648981; border-radius: .27rem; color: #e0eeeb; font-size: .75rem; letter-spacing: .08em; }
.bundle h2 { margin: 1rem 0 1.2rem; font-size: clamp(1.55rem, 2.8vw, 2rem); line-height: 1.14; letter-spacing: -.035em; }

.download { display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; width: fit-content; padding: .55rem .88rem; border: 1px solid #9db8b1; border-radius: .45rem; color: #1d4b44; background: var(--white); font-size: .93rem; font-weight: 700; text-decoration: none; }
.download:hover { background: #e5f1ed; border-color: #6f9c8d; }
.download-primary { border-color: var(--mint); color: #142e36; background: var(--mint); }
.download-primary:hover { border-color: #d5ffb3; background: #d5ffb3; }
.intro a:focus-visible { outline-color: #f4fbfa; }

.guides { padding-block: 2.6rem 3.55rem; scroll-margin-top: 1rem; }
.section-heading { margin-bottom: 1.1rem; }
.section-heading h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.15; letter-spacing: -.041em; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.05rem, 2.3vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: .82rem;
  background: var(--white);
}
.guide-meta { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .95rem; }
.topic { color: #24574e; font-size: .86rem; font-weight: 675; }
.filetype { padding: .11rem .39rem; color: #355b57; background: #eaf3f0; border-radius: .27rem; font-size: .75rem; font-weight: 700; letter-spacing: .075em; }
.guide h3 { font-size: 1.29rem; line-height: 1.2; letter-spacing: -.029em; }
.guide p { margin: .55rem 0 1.18rem; color: var(--muted); line-height: 1.52; }
.guide .download { margin-top: auto; }
.footer { margin-top: auto; border-top: 1px solid var(--line); background: #e8f0ee; }
.footer-inner { min-height: 4.25rem; padding-block: .65rem; color: var(--muted); font-size: .875rem; }
.footer-name { color: var(--ink); font-weight: 750; }

@media (max-width: 51rem) {
  .intro-inner { gap: 1.7rem; }
  .guide-grid { gap: .75rem; }
  .guide h3 { font-size: 1.18rem; }
}
@media (max-width: 41rem) {
  .wrap { width: calc(100% - 2rem); }
  .intro-inner, .guide-grid { grid-template-columns: 1fr; }
  .intro-inner { gap: 1.5rem; }
  .wide-break, .bundle h2 br { display: none; }
  .bundle { width: min(100% - .5rem, 26rem); }
  .guides { padding-block: 2rem 2.6rem; }
  .guide-meta { margin-bottom: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
