*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal; /* index.dc.html — no body line-height */
  color: #211c16;
  background: #fcfaf5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  /* no default letter-spacing — set per element (index.dc.html) */
  color: #211c16;
}

h2 {
  font-weight: 700;
  font-size: 28px;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 0 0 auto; /* do not leave flex gap before explore (index.dc.html flow) */
}

.main__content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 32px 3rem;
  box-sizing: border-box;
}

.main__content--home {
  max-width: none;
  padding: 0;
}

.page-section {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.embed-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.embed-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Default path-nav — blue-level.dc.html (hub.css may refine further) */
.path-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: none;
  margin: 0;
  padding: 30px 0;
}

.path-nav a {
  display: inline-block;
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 6px;
  color: #fff;
  background: var(--nav-level, var(--accent-level, #c63b34));
}

.path-nav:has(> :only-child) {
  justify-content: center;
}

.path-nav__arrow {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 700;
}

.path-nav .path-nav__next {
  margin-left: auto;
}

.path-nav a[data-nav-level='blue'] { --nav-level: #2f6db5; }
.path-nav a[data-nav-level='red'] { --nav-level: #c63b34; }
.path-nav a[data-nav-level='yellow'] {
  --nav-level: #efb420;
  color: #2a2521;
}
.path-nav a[data-nav-level='green'] { --nav-level: #277a48; }
.path-nav a[data-nav-level='purple'] { --nav-level: #7a50b8; }
.path-nav a[data-nav-level='orange'] {
  --nav-level: #d9721e;
  color: #2a2521;
}
.path-nav a[data-nav-level='violet'] { --nav-level: #a0409b; }

.path-nav a:first-child:not([data-nav-level]) {
  background: #efe7d6;
  color: #211c16;
}

.path-nav a:last-child:not([data-nav-level]) {
  background: var(--accent-level, #c63b34);
  color: #fff;
}

.path-nav a:hover {
  text-decoration: none;
  filter: brightness(0.95);
}

@media (max-width: 720px) {
  .main__content,
  .page-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .path-nav {
    padding-left: 0;
    padding-right: 0;
  }
}
