:root {
  --br-amber: #dcaa28;
  --br-amber-soft: #fff3c7;
  --br-night: #173d31;
  --br-leaf: #2a6a4f;
  --br-blue: #315e8c;
}
html {
  scroll-behavior: smooth;
}
main {
  padding-bottom: 68px;
}
.br-hero {
  min-height: 540px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}
.br-hero h1 {
  max-width: 820px;
}
.br-mark {
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(145deg, var(--br-night) 0 52%, #285f4b 52% 100%);
  box-shadow: var(--shadow);
}
.br-mark strong {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.85;
  color: #f1c44f;
}
.br-mark p {
  max-width: 26ch;
  font-size: 1.03rem;
}
.br-stripe {
  height: 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    #efc04a 0 40px,
    #1e2924 40px 68px
  );
}
.br-jump {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 64px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #eef4ef;
}
.br-jump a {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  font-weight: 850;
}
.br-section {
  padding: 0 0 68px;
  scroll-margin-top: 100px;
}
.br-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: 34px;
  align-items: end;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.br-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}
.br-heading p {
  margin: 0;
  color: var(--muted);
}
.br-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.br-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.br-card,
.br-feature,
.br-resource {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}
.br-card h3,
.br-resource h3 {
  margin-top: 0;
}
.br-card ul,
.br-card ol {
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.br-card li + li {
  margin-top: 7px;
}
.br-feature {
  padding: clamp(24px, 5vw, 46px);
  background: linear-gradient(135deg, #fffef8, #f5f0dc);
}
.br-feature h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0.2em 0;
}
.br-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}
.br-stats div {
  border-left: 4px solid var(--br-amber);
  padding: 8px 14px;
}
.br-stats strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.55rem);
  line-height: 1;
}
.br-stats span,
.br-note,
.br-meta {
  color: var(--muted);
}
.br-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.br-resource {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.br-resource .br-type {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  background: var(--br-amber-soft);
  color: #694d06;
  padding: 5px 9px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.br-resource h3 {
  margin: 18px 0 8px;
}
.br-resource p {
  color: var(--muted);
}
.br-resource a {
  color: var(--br-blue);
  font-weight: 850;
  margin-top: auto;
}
.br-resource small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}
.br-callout {
  border-left: 6px solid var(--br-amber);
  background: #fff8dd;
  padding: 20px 22px;
  border-radius: 0 14px 14px 0;
  margin-top: 18px;
}
.br-route {
  counter-reset: route;
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.br-route li {
  counter-increment: route;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px 18px 18px 68px;
  position: relative;
}
.br-route li:before {
  content: counter(route);
  position: absolute;
  left: 18px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--br-leaf);
  color: #fff;
  font-weight: 900;
}
.br-sibling {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 16px;
  background: var(--br-night);
  color: #fff;
}
.br-sibling p {
  margin: 0.4em 0 0;
  color: #d7e5df;
}
.br-sibling .button {
  white-space: nowrap;
}
@media (max-width: 900px) {
  .br-hero,
  .br-heading {
    grid-template-columns: 1fr;
  }
  .br-jump {
    grid-template-columns: repeat(2, 1fr);
  }
  .br-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
  }
  .site-header nav {
    width: 100%;
  }
  .br-grid,
  .br-grid.three,
  .br-jump,
  .br-stats,
  .br-sibling {
    grid-template-columns: 1fr;
  }
  .br-hero {
    min-height: auto;
  }
  .br-mark {
    min-height: 260px;
  }
  .br-actions .button {
    width: 100%;
    text-align: center;
  }
}
