* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #211b28;
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}
a {
  color: #69497e;
  text-underline-offset: 4px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9a6fba;
  outline-offset: 5px;
}
header,
main,
.guide-footer {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px;
}
.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  border-bottom: 1px solid #eee8f1;
}
.guide-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #211b28;
  font:
    800 25px "Manrope",
    Arial,
    sans-serif;
  text-decoration: none;
  letter-spacing: -1px;
}
.guide-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.guide-header > a:last-child {
  font-size: 14px;
}
.guide-languages {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 30px 0;
  font-size: 14px;
}
.guide-languages [aria-current] {
  font-weight: 700;
  color: #211b28;
}
.guide-hero {
  padding: 48px;
  border-radius: 36px;
  background: #f4eafa;
  margin: 28px 0 38px;
  position: relative;
  overflow: hidden;
}
.guide-hero h1 {
  font:
    800 clamp(36px, 5vw, 64px)/1.08 "Manrope",
    Arial,
    sans-serif;
  letter-spacing: -2px;
  max-width: 830px;
  margin: 20px 0;
}
.guide-hero > p {
  max-width: 750px;
  font-size: 19px;
  color: #655970;
}
.guide-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.guide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.guide-button {
  display: inline-block;
  background: #241c2d;
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600;
}
.guide-button.secondary {
  background: white;
  color: #241c2d;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 50px;
}
.guide-content section {
  scroll-margin-top: 24px;
  margin-bottom: 40px;
}
.guide-content h2 {
  font:
    750 27px/1.3 "Manrope",
    Arial,
    sans-serif;
  letter-spacing: -0.8px;
}
.guide-content p,
.guide-content li {
  color: #5e5765;
  font-size: 17px;
}
.guide-content li {
  margin: 10px 0;
}
.guide-aside {
  align-self: start;
  padding: 28px;
  border-radius: 28px;
  background: #edf9f2;
  position: sticky;
  top: 24px;
}
.guide-aside strong {
  display: block;
  font-size: 28px;
  letter-spacing: -1px;
}
.guide-aside nav {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  font-size: 14px;
}
.guide-aside p {
  font-size: 14px;
  color: #5f6b62;
}
.guide-faq details {
  border-bottom: 1px solid #e4dce9;
  padding: 17px 0;
}
.guide-faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}
.guide-sources {
  padding: 26px;
  border-radius: 22px;
  background: #f6f5f7;
  font-size: 14px;
  margin: 35px 0;
}
.guide-sources li {
  margin: 8px 0;
}
.editorial-note {
  font-size: 13px;
  color: #79717f;
}
.guide-footer {
  border-top: 1px solid #eee8f1;
  margin-top: 40px;
  padding-top: 26px;
  padding-bottom: 35px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}
.static-library {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.static-card {
  border-radius: 28px;
  background: #f5edfa;
  padding: 26px;
  overflow: hidden;
}
.static-card:nth-child(4n + 2) {
  background: #edf9f2;
}
.static-card:nth-child(4n + 3) {
  background: #f6f8df;
}
.static-card:nth-child(4n) {
  background: #fbf4dc;
}
.static-card h2 {
  font-size: 24px;
  line-height: 1.3;
}
.static-card video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f4f5f3;
  border-radius: 16px;
  display: block;
  margin: 18px 0;
}
.static-card li {
  font-size: 15px;
  margin: 12px 0;
  color: #5e5765;
}
.static-card h3 {
  font-size: 15px;
  margin: 16px 0 0;
}
.library-note {
  margin: 28px 0;
  color: #5e5765;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
}
.guide-table th,
.guide-table td {
  text-align: left;
  border-bottom: 1px solid #e3d9eb;
  padding: 12px 8px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
}
.skip-link:focus {
  top: 12px;
  background: #fff;
  padding: 12px;
  z-index: 3;
}
@media (max-width: 760px) {
  header,
  main,
  .guide-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .guide-hero {
    padding: 28px;
    border-radius: 28px;
  }
  .guide-hero h1 {
    letter-spacing: -1.5px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .guide-aside {
    position: static;
    order: -1;
    padding: 22px;
  }
  .guide-aside nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .static-library {
    grid-template-columns: 1fr;
  }
  .guide-header {
    min-height: 80px;
  }
  .guide-header > a:last-child {
    font-size: 12px;
  }
  .guide-languages {
    gap: 14px;
  }
  .guide-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .guide-button {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
