/* Standalone styles for the GenZ AI Literacy shownotes.
   Replaces the old site's /src/index.css + /src/App.css references and maps
   the variables this page was written against onto the v2 clay palette. */
:root {
  --text-main: #26221c;
  --accent-primary: #33688a;
  --accent-secondary: #c96f4a;
  --bg-card: #fbf9f5;
  --glass-border: rgba(38, 34, 28, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

/* never show the native <details> disclosure triangle */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details > summary::marker {
  content: '';
  font-size: 0;
}

body {
  margin: 0;
  background: #efeae2;
  color: #26221c;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #33688a;
}

img {
  max-width: 100%;
}

.subsite-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  padding: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(239, 234, 226, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38, 34, 28, 0.12);
}

.subsite-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  padding: 0.3rem;
  background: rgba(251, 249, 245, 0.76);
  border: 1px solid rgba(38, 34, 28, 0.13);
  border-radius: 999px;
}

.subsite-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #6b6358;
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.subsite-links a:hover {
  color: #26221c;
  background: rgba(169, 199, 216, 0.4);
}

.subsite-links a.is-active {
  color: #f5f1ea;
  background: #1b1813;
}

.subsite-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #26221c;
  text-decoration: none;
}

.subsite-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #a9c7d8;
  object-fit: cover;
  object-position: top;
}

.subsite-back {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #f5f1ea;
  background: #1b1813;
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.subsite-back:hover {
  background: #214c68;
}

/* ===================================================================
   Clay polish — bring the shownotes in line with the rest of the site.
   Higher-specificity selectors override the page's inline <style>.
   =================================================================== */
:root {
  --paper-deep: #e6dfd3;
  --terra: #c96f4a;
  --blue: #33688a;
  --sage: #7c9a72;
  --yellow: #e3b14f;
  --blue-ink: #214c68;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background:
    radial-gradient(120% 60% at 50% -10%, #f4efe7 0%, transparent 60%),
    #efeae2;
}

/* subtle paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-container {
  max-width: 1000px !important;
  position: relative;
  z-index: 2;
}

/* hero title */
.page-container .main-title {
  font-family: 'Bricolage Grotesque', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.intro-block {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.banner-img {
  border-radius: 22px !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 28px 60px -22px rgba(38, 34, 28, 0.4);
}

/* section cards */
.parts-list {
  display: grid;
  gap: 1.6rem;
}

.parts-list .section-block {
  background: #fbf9f5;
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--sec, var(--terra));
  border-radius: 18px;
  padding: 1.8rem 2rem;
  box-shadow: 0 2px 4px rgba(38, 34, 28, 0.04), 0 18px 36px -24px rgba(38, 34, 28, 0.3);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.parts-list .section-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(38, 34, 28, 0.05), 0 30px 60px -22px rgba(38, 34, 28, 0.38);
}

/* cycle an accent colour per section */
.parts-list .section-block:nth-child(6n + 1) { --sec: var(--terra); }
.parts-list .section-block:nth-child(6n + 2) { --sec: var(--blue); }
.parts-list .section-block:nth-child(6n + 3) { --sec: var(--sage); }
.parts-list .section-block:nth-child(6n + 4) { --sec: var(--yellow); }
.parts-list .section-block:nth-child(6n + 5) { --sec: var(--blue-ink); }
.parts-list .section-block:nth-child(6n + 6) { --sec: var(--terra); }

/* expandable summary — .parts-list prefix beats the page's inline <style> */
.parts-list .section-details > summary {
  cursor: pointer;
  list-style: none;
  display: block !important;
  position: relative;
  padding-right: 3rem;
  border-bottom: 0 !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
}

/* kill the inline rotated-border chevron */
.parts-list .section-details > summary::before {
  content: none !important;
  display: none !important;
}

.parts-list .section-details > summary::-webkit-details-marker {
  display: none;
}

.parts-list .section-details > summary::after {
  content: '＋';
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--sec, var(--terra));
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

.parts-list .section-details[open] > summary::after {
  content: '−';
  background: var(--sec, var(--terra));
  color: #f5f1ea;
}

.page-container .section-title {
  font-family: 'Bricolage Grotesque', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-main);
  border-bottom: 0;
  padding-bottom: 0;
  margin: 0;
  letter-spacing: -0.01em;
}

.parts-list .section-details > summary .part-img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 1.2rem !important;
  margin-bottom: 0;
  box-shadow: 0 14px 30px -16px rgba(38, 34, 28, 0.4);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.parts-list .section-details > summary:hover .part-img {
  transform: scale(1.015);
}

.page-container .subsection-title {
  font-family: 'Bricolage Grotesque', 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--sec, var(--blue-ink));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-container .subsection-title::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sec, var(--terra));
  flex: 0 0 auto;
}

.links-list a {
  border-bottom: 1px solid color-mix(in srgb, var(--sec, var(--terra)) 50%, transparent);
}

.links-list a:hover {
  color: var(--sec, var(--blue)) !important;
  border-bottom-color: var(--sec, var(--blue));
}

.video-card {
  background: #fff !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 26px -16px rgba(38, 34, 28, 0.35);
}

.video-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--sec, var(--blue)) !important;
}

@media (prefers-reduced-motion: reduce) {
  .parts-list .section-block,
  .section-details > summary::after,
  .section-details > summary .part-img,
  .video-card {
    transition: none !important;
  }
}
