:root {
  --bg: #f6f3ee;
  --surface: #fffcf7;
  --text: #232129;
  --muted: #625e70;
  --purple: #4a4799;
  --purple-dark: #35327d;
  --lavender: #cbc8de;
  --lime: #b4d236;
  --yellow: #f7ed69;
  --pink: #cc5f98;
  --orange: #ef8e42;
  --teal: #94cbc5;
  --slate: #58676d;
  --border: rgba(53, 50, 125, 0.16);
  --shadow: 0 18px 48px rgba(53, 50, 125, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(203, 200, 222, 0.65), transparent 18%),
    radial-gradient(circle at 88% 16%, rgba(180, 210, 54, 0.2), transparent 16%),
    linear-gradient(180deg, #f8f5f0 0%, #f5f1eb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 4.5vw;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(53, 50, 125, 0.09);
  min-width: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-logo {
  width: clamp(170px, 18vw, 240px);
  height: auto;
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
  padding: 2.2rem 4.5vw;
  color: rgba(255, 255, 255, 0.8);
  background: var(--purple-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: clamp(150px, 15vw, 210px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-note {
  margin: 0;
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-note {
  text-align: right;
}

.main-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  font-size: 0.88rem;
  min-width: 0;
}

.main-nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.main-nav a:hover {
  border-color: rgba(74, 71, 153, 0.2);
  background: rgba(255, 255, 255, 0.5);
}

.hero,
.section {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-copy {
  position: relative;
  padding: 2.2rem;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.95)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -32px -24px auto auto;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(circle, rgba(203, 200, 222, 0.9) 0 10px, transparent 11px 100%);
  background-size: 34px 34px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 7%;
  bottom: -22px;
  height: 68px;
  background: var(--purple);
  border-radius: 80px 120px 85px 140px;
  z-index: -1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

h2,
h3 {
  text-wrap: balance;
}

.hero-text,
.section-heading p,
.content-card p,
.feature-copy p,
.benefit-card p,
.resource-card p,
.contact-note,
.importance-strip p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 62ch;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
}

.hero-actions,
.signal-row,
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.5rem;
}

.signal-row {
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-primary {
  background: var(--lime);
  color: #1e250c;
}

.button-secondary,
.button-ghost {
  background: transparent;
  border-color: rgba(53, 50, 125, 0.18);
}

.content-more {
  margin-top: 0.5rem;
  cursor: pointer;
}

.signal-pill,
.wire-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.signal-pill {
  background: rgba(203, 200, 222, 0.42);
  border: 1px solid rgba(53, 50, 125, 0.1);
}

.wire-label {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(74, 71, 153, 0.16);
  box-shadow: 0 10px 24px rgba(53, 50, 125, 0.08);
}

.hero-panel {
  position: relative;
}

.wire-card,
.content-card,
.benefit-card,
.resource-card,
.contact-form,
.contact-note,
.importance-strip {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.wire-card {
  padding: 1.4rem;
}

.hero-cover {
  display: block;
  width: min(100%, 390px);
  margin: 1.2rem auto;
  border-radius: 22px;
  box-shadow: 0 22px 42px rgba(53, 50, 125, 0.2);
  transform: rotate(7deg);
}

.metric-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.metric-card {
  padding: 1.15rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(74, 71, 153, 0.06), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(74, 71, 153, 0.14);
}

.metric-card strong,
.benefit-card h3,
.resource-card h3 {
  display: block;
  margin-bottom: 0.35rem;
}

.metric-card span {
  color: var(--muted);
}

.metric-card.muted {
  background: rgba(180, 210, 54, 0.11);
}

.section {
  padding: 2.6rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.content-card,
.benefit-card,
.resource-card,
.contact-note {
  padding: 1.4rem;
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.mini-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.mini-block {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(74, 71, 153, 0.25);
  background: rgba(203, 200, 222, 0.16);
}

.mini-block.large,
.mini-block.full {
  grid-column: 1 / -1;
}

.structure-title {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.structure-subtitle {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.accent-section {
  position: relative;
}

.accent-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 56px;
  height: 160px;
  background: linear-gradient(180deg, rgba(203, 200, 222, 0.55), transparent);
  border-radius: 120px;
  z-index: -1;
}

.feature-grid {
  display: grid;
  gap: 1.4rem;
}

.feature-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(74, 71, 153, 0.12);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.feature-copy {
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0.55rem 0;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.feature-card img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(74, 71, 153, 0.09);
  background: white;
}

.complex-interactive {
  margin-top: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.complex-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.complex-stage {
  position: relative;
  padding: 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(74, 71, 153, 0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(203, 200, 222, 0.52), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 242, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 40px rgba(53, 50, 125, 0.08);
}

.complex-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.complex-hint {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--purple);
}

.complex-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.complex-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
}

.complex-pill.creative {
  background: linear-gradient(180deg, #f7a65f, #ef7a2f);
}

.complex-pill.critical {
  background: linear-gradient(180deg, #f16051, #df3127);
}

.complex-pill.careful {
  background: linear-gradient(180deg, #dd78b6, #cd589d);
}

.complex-figure {
  position: relative;
  padding-bottom: 11rem;
}

.complex-canvas {
  position: relative;
  width: min(100%, 860px);
  margin: 0 auto;
}

.complex-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 36px rgba(53, 50, 125, 0.1));
}

.complex-svg-labels {
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.complex-svg-small {
  font-size: 14px;
}

.complex-svg-large {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.complex-svg-center-small {
  font-size: 12px;
}

.complex-svg-center-large {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.complex-hotspot {
  position: absolute;
  display: block;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  outline: 2px solid transparent;
  transition: box-shadow 180ms ease, outline-color 180ms ease, transform 180ms ease;
}

.complex-hotspot:hover {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.hotspot-creative {
  left: 50%;
  top: 28.7%;
  width: 39.5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.hotspot-critical {
  left: 67.2%;
  top: 63.5%;
  width: 42.8%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.hotspot-careful {
  left: 32.8%;
  top: 63.5%;
  width: 42.8%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.complex-callout {
  position: absolute;
  width: 228px;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(74, 71, 153, 0.16);
  box-shadow: 0 22px 40px rgba(53, 50, 125, 0.12);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.complex-callout::before {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: 0.45;
}

.complex-callout::after {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: 0.45;
}

.complex-callout p {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
}

.callout-creative {
  top: 188px;
  left: -14px;
  color: #f0782b;
}

.callout-creative::before {
  top: 50%;
  right: -66px;
  width: 66px;
  height: 2px;
  transform: translateY(-50%);
}

.callout-creative::after {
  top: 50%;
  right: -69px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  opacity: 1;
  transform: translateY(-50%) rotate(45deg);
}

.callout-critical {
  top: 204px;
  right: -14px;
  color: #df2d23;
}

.callout-critical::before {
  top: 50%;
  left: -66px;
  width: 66px;
  height: 2px;
  transform: translateY(-50%);
}

.callout-critical::after {
  top: 50%;
  left: -69px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  opacity: 1;
  transform: translateY(-50%) rotate(-135deg);
}

.callout-careful {
  left: 50%;
  right: auto;
  bottom: 0;
  width: min(100%, 500px);
  color: #cd579a;
  transform: translateX(-50%) translateY(10px) scale(0.98);
}

.callout-careful::before {
  top: -42px;
  left: 50%;
  width: 2px;
  height: 42px;
  transform: translateX(-50%);
}

.callout-careful::after {
  top: -8px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  opacity: 1;
  transform: translateX(-50%) rotate(-45deg);
}

#complex-creative:checked ~ .complex-stage .callout-creative,
#complex-critical:checked ~ .complex-stage .callout-critical {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#complex-careful:checked ~ .complex-stage .callout-careful {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

#complex-creative:checked ~ .complex-stage .hotspot-creative,
#complex-critical:checked ~ .complex-stage .hotspot-critical,
#complex-careful:checked ~ .complex-stage .hotspot-careful {
  outline-color: transparent;
  box-shadow: none;
}

#complex-creative:checked ~ .complex-stage .complex-svg .creative-orb,
#complex-critical:checked ~ .complex-stage .complex-svg .critical-orb,
#complex-careful:checked ~ .complex-stage .complex-svg .careful-orb {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 8;
  vector-effect: non-scaling-stroke;
}

.importance-strip {
  margin-top: 1.4rem;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(90deg, rgba(247, 237, 105, 0.48), rgba(180, 210, 54, 0.22));
}

.importance-strip h3 {
  max-width: 42ch;
  margin: 0 0 0.8rem;
  color: var(--purple-dark);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.importance-strip p {
  max-width: 78ch;
  margin: 0;
}

.importance-strip p + p {
  margin-top: 0.85rem;
}

[hidden] {
  display: none !important;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 33, 41, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: min(94vh, 920px);
  overflow: auto;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(25, 22, 50, 0.35);
}

.lightbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lightbox-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.lightbox-close,
.lightbox-arrow {
  display: inline-grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: var(--purple-dark);
  background: rgba(203, 200, 222, 0.48);
}

.lightbox-close {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-slide-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(74, 71, 153, 0.12);
  border-radius: 18px;
  background: #fff;
}

.lightbox-slide {
  margin: 0;
}

.lightbox-slide img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #fff;
}

.lightbox-document {
  display: block;
  width: 100%;
  height: min(65vh, 720px);
  border: 0;
  background: #fff;
}

.lightbox-slide figcaption {
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.lightbox-arrow {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 2rem;
}

.lightbox-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.lightbox-dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--lavender);
}

.lightbox-dot.is-active {
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(74, 71, 153, 0.14);
}

@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.benefit-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.student-section {
  position: relative;
}

.student-section::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 180px;
  background: radial-gradient(circle at center top, rgba(203, 200, 222, 0.75), transparent 70%);
  z-index: -1;
}

.carousel-wireframe {
  padding: 1.2rem;
  border-radius: 32px;
  background: rgba(74, 71, 153, 0.08);
  border: 1px dashed rgba(74, 71, 153, 0.2);
}

.carousel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.slide-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 1.2rem;
  text-align: center;
  font-weight: 700;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(74, 71, 153, 0.9), rgba(74, 71, 153, 0.75)),
    var(--purple);
  color: white;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.slide-card:hover,
.slide-card.is-selected {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: 0 16px 28px rgba(53, 50, 125, 0.2);
}

.slide-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 108px;
  margin-bottom: 0.8rem;
  border: 1px dashed rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 600;
}

.slide-image {
  display: block;
  width: 100%;
  height: 108px;
  margin-bottom: 0.8rem;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.slide-card strong {
  min-height: 2.6em;
  line-height: 1.3;
}

.resource-viewer {
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(74, 71, 153, 0.14);
  box-shadow: 0 12px 28px rgba(53, 50, 125, 0.08);
}

.resource-viewer h3 {
  margin: 0.7rem 0 0.45rem;
  color: var(--purple-dark);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.resource-viewer p {
  max-width: 82ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.resource-grid {
  margin-top: 1.2rem;
}

.contact-section {
  padding-bottom: 4rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid label:last-child {
  grid-column: 1 / -1;
}

.contact-form label,
.contact-form legend {
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  border-radius: 16px;
  border: 1px solid rgba(74, 71, 153, 0.16);
  background: rgba(255, 255, 255, 0.95);
}

.contact-form select {
  min-height: 52px;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: 3px solid rgba(180, 210, 54, 0.35);
  border-color: var(--purple);
}

.contact-form input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--purple);
}

.required-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.required-mark,
.required-note span {
  color: #b3261e;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.legal-consent {
  padding: 1rem;
  border: 1px solid rgba(74, 71, 153, 0.18);
  border-radius: 16px;
  background: rgba(246, 243, 238, 0.78);
}

.legal-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  line-height: 1.55;
}

.legal-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
}

.legal-consent a,
.legal-disclosure a {
  color: var(--purple-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-disclosure {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--lime);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.62);
}

.legal-disclosure p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.legal-disclosure p + p {
  margin-top: 0.65rem;
}

.legal-disclosure strong {
  color: var(--text);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.contact-form fieldset {
  margin: 0;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(74, 71, 153, 0.15);
  background: rgba(246, 243, 238, 0.7);
}

.contact-form legend {
  padding: 0 0.45rem;
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.contact-form .choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.contact-note {
  align-self: start;
}

@media (max-width: 960px) {
  .site-header,
  .hero,
  .two-column,
  .benefit-grid,
  .resource-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-header,
  .hero {
    display: grid;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .complex-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .complex-figure {
    padding-bottom: 0;
    display: grid;
    gap: 1rem;
  }

  .complex-callout {
    position: static;
    width: auto;
    display: none;
    opacity: 1;
    transform: none;
  }

  .complex-callout::before,
  .complex-callout::after {
    display: none;
  }

  #complex-creative:checked ~ .complex-stage .callout-creative,
  #complex-critical:checked ~ .complex-stage .callout-critical,
  #complex-careful:checked ~ .complex-stage .callout-careful {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    width: min(calc(100% - 1.5rem), 1200px);
  }

  .site-header {
    padding: 1rem 0.75rem;
  }

  .main-nav {
    display: flex;
    justify-content: flex-start;
    gap: 0.2rem 0.5rem;
    width: 100%;
    min-width: 0;
  }

  .main-nav a {
    flex: 0 0 calc(50% - 0.25rem);
    padding: 0.55rem 0.35rem;
    text-align: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-copy,
  .wire-card,
  .content-card,
  .feature-card,
  .benefit-card,
  .resource-card,
  .contact-form,
  .contact-note,
  .importance-strip {
    border-radius: 24px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .complex-stage {
    padding: 1rem;
  }

  .complex-pills {
    display: none;
  }

  .complex-svg-small,
  .complex-svg-center-small {
    font-size: 12px;
  }

  .complex-svg-large {
    font-size: 24px;
  }

  .complex-svg-center-large {
    font-size: 22px;
  }

  .form-grid,
  .contact-form .choice-row {
    grid-template-columns: 1fr;
  }

  .hotspot-creative {
    width: 41.5%;
  }

  .hotspot-critical,
  .hotspot-careful {
    width: 45%;
  }

  .complex-callout {
    padding: 0.95rem 0.95rem;
  }

  .lightbox {
    padding: 0.5rem;
  }

  .lightbox-panel {
    padding: 1rem;
    border-radius: 22px;
  }

  .lightbox-carousel {
    grid-template-columns: 2.2rem minmax(0, 1fr) 2.2rem;
    gap: 0.35rem;
  }

  .lightbox-arrow {
    width: 2.2rem;
    height: 2.2rem;
  }

  .lightbox-slide img {
    max-height: 58vh;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 2rem 1rem;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-brand p,
  .footer-note {
    text-align: center;
  }
}

.importance-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  align-items: center;
  min-height: 330px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  padding-right: clamp(1.5rem, 4vw, 3.2rem);
  overflow: visible;
  box-shadow: none !important;
}

.importance-copy {
  position: relative;
  z-index: 1;
}

.importance-book-wrap {
  position: relative;
  align-self: stretch;
  min-height: 250px;
}

.importance-book {
  position: absolute;
  right: -5rem;
  bottom: -4rem;
  display: block;
  width: min(112%, 442px);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 16px rgba(24, 22, 48, 0.22));
  cursor: zoom-in;
  transform: rotate(1deg);
  transition: transform 260ms ease, filter 260ms ease;
}

.importance-book:hover {
  filter: drop-shadow(0 24px 22px rgba(24, 22, 48, 0.28));
  transform: rotate(1deg) scale(1.06);
}

@media (max-width: 800px) {
  .importance-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    padding-bottom: 1.5rem;
  }

  .importance-book-wrap {
    min-height: 0;
    margin-top: 0.5rem;
  }

  .importance-book {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 520px);
    margin: 0 auto;
    transform: rotate(1deg);
  }
}

/* Infinite cover carousel */
.cover-carousel-section {
  --cover-width: clamp(168px, 20vw, 238px);
  --cover-gap: clamp(0.75rem, 2vw, 1.4rem);
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  overflow: hidden;
}

.cover-carousel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1200px, 100%);
  margin: 0 auto 1.25rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.cover-carousel-heading h3 {
  margin: 0;
  color: var(--purple-ink);
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}

.cover-carousel-heading p {
  max-width: 58ch;
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.45;
}

.cover-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.cover-carousel-control {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(41, 38, 94, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--purple-ink);
  cursor: pointer;
  font-size: 1.15rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.cover-carousel-control:hover,
.cover-carousel-control:focus-visible {
  background: var(--purple-ink);
  color: #fff;
  transform: translateY(-2px);
}

.cover-carousel-viewport {
  position: relative;
  width: min(100%, calc(var(--cover-width) + var(--cover-width) + var(--cover-width) + var(--cover-gap) + var(--cover-gap)));
  margin-inline: auto;
  min-height: clamp(320px, 42vw, 470px);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.cover-carousel-viewport::before,
.cover-carousel-viewport::after {
  display: none;
}

.cover-carousel-viewport:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -3px;
}

.cover-carousel-track {
  display: flex;
  align-items: center;
  gap: var(--cover-gap);
  width: max-content;
  min-height: clamp(320px, 42vw, 470px);
  transition: transform 680ms cubic-bezier(0.22, 0.75, 0.28, 1);
  will-change: transform;
}

.cover-carousel-track.is-resetting {
  transition: none;
}

.cover-card {
  flex: 0 0 var(--cover-width);
  margin: 0;
  opacity: 1;
  transform: scale(0.78);
  filter: saturate(0.72);
  cursor: pointer;
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 0.75, 0.28, 1), filter 680ms ease;
}

.cover-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(41, 38, 94, 0.16);
}

.cover-card.is-near {
  opacity: 1;
  transform: scale(0.9);
  filter: saturate(0.9);
}

.cover-card.is-current {
  position: relative;
  z-index: 1;
  opacity: 1 !important;
  transform: scale(1.08);
  filter: saturate(1.1);
}

@media (min-width: 801px) {
  .cover-card:hover {
    z-index: 3;
    transform: scale(1.25) !important;
    filter: saturate(1.12);
  }
}

@media (max-width: 640px) {
  .cover-carousel-section {
    --cover-width: min(62vw, 208px);
  }

  .cover-carousel-heading {
    align-items: start;
    flex-direction: column;
    padding-inline: 1.2rem;
  }

  .cover-carousel-heading p {
    font-size: 0.9rem;
  }

  .cover-carousel-viewport,
  .cover-carousel-track {
    min-height: 300px;
  }

  .cover-card.is-current {
    transform: scale(1.04);
  }
}

/* Nested SM Aprendizaje module */
.nested-resource-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(41, 38, 94, 0.12);
  border-radius: 20px;
  background: linear-gradient(135deg, #f8f8fc 0%, #fff 58%, #eef7e2 100%);
}

.nested-resource-copy h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--purple-ink);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.nested-resource-lead {
  max-width: 54ch;
  margin: 0.9rem 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.resource-benefit-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-benefit-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.4;
}

.resource-benefit-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.platform-preview {
  position: sticky;
  top: 1.5rem;
  align-self: start;
}

@media (min-width: 801px) {
  .nested-resource-section .platform-preview {
    position: relative;
    top: auto;
    align-self: center;
  }
}

.platform-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(41, 38, 94, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(41, 38, 94, 0.14);
  cursor: zoom-in;
  text-align: left;
}

.platform-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.platform-zoom-hint {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: rgba(41, 38, 94, 0.9);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(0.3rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.platform-image-button:hover .platform-zoom-hint,
.platform-image-button:focus-visible .platform-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.platform-image-button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.platform-lightbox-panel {
  width: min(1080px, calc(100vw - 2rem));
}

.platform-lightbox-image {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}


.zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: -0.25rem 0 0.85rem;
}

.zoom-toolbar button {
  min-width: 2.15rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(41, 38, 94, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--purple-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.zoom-toolbar button:hover,
.zoom-toolbar button:focus-visible {
  background: var(--purple-ink);
  color: #fff;
}

.zoom-toolbar span {
  min-width: 3.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

#acompanamiento-lightbox .lightbox-slide-frame {
  max-height: 70vh;
  overflow: auto;
}

#acompanamiento-lightbox .zoomable-image {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: initial;
  transform-origin: center top;
  transition: width 180ms ease;
}

@media (max-width: 800px) {
  .nested-resource-section {
    grid-template-columns: 1fr;
  }

  .platform-preview {
    position: static;
    max-width: 720px;
  }

  .platform-zoom-hint {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .nested-resource-section {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .nested-resource-copy h3 {
    max-width: none;
  }

  .resource-benefit-list li {
    font-size: 0.9rem;
  }

  .platform-lightbox-panel {
    width: min(100% - 1rem, 1080px);
  }
}

/* High-fidelity editorial pass: the page keeps the En Frecuencia palette,
   but shifts the hierarchy from wireframe cards to a launch-ready narrative. */
:root {
  --ink-strong: #201e27;
  --ink-soft: #686477;
  --purple-ink: #29265e;
  --surface-clean: #fffefa;
}

body {
  background:
    radial-gradient(circle at 92% 18%, rgba(180, 210, 54, 0.14), transparent 20%),
    linear-gradient(180deg, #f8f8f5 0%, #f1f2ee 100%);
  color: var(--ink-strong);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(41, 38, 94, 0.12);
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  min-width: 0;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.5rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(212, 98, 166, 0.33), transparent 24%),
    radial-gradient(circle at 8% 90%, rgba(240, 134, 53, 0.22), transparent 22%),
    var(--purple-dark);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -14rem;
  width: 44rem;
  height: 24rem;
  border: 1px solid rgba(247, 237, 105, 0.28);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero-copy {
  z-index: 1;
  max-width: 760px;
  min-width: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy::before,
.hero-copy::after {
  display: none;
}

.hero h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.eyebrow {
  color: var(--yellow);
}

.hero-text {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.button-primary {
  background: var(--lime);
  box-shadow: 0 8px 0 rgba(20, 17, 55, 0.22);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(20, 17, 55, 0.22);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
}

.signal-pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-panel {
  z-index: 1;
  justify-self: center;
  width: min(100%, 440px);
}

.wire-card {
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(20, 17, 55, 0.3);
}

.hero-cover {
  width: min(100%, 420px);
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 28px 46px rgba(20, 17, 55, 0.35);
  transform: rotate(4deg);
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2 {
  color: var(--purple-ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.025em;
}

.section-heading p {
  max-width: 68ch;
  font-size: 1.05rem;
  text-wrap: pretty;
}

.content-card,
.benefit-card,
.resource-card,
.contact-form,
.contact-note,
.importance-strip,
.feature-card {
  border-radius: 18px;
  border-color: rgba(41, 38, 94, 0.13);
  background: var(--surface-clean);
  box-shadow: 0 10px 28px rgba(41, 38, 94, 0.07);
}

.content-card,
.benefit-card,
.resource-card,
.contact-note {
  padding: clamp(1.3rem, 2.4vw, 2rem);
}

.accent-section {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1.5rem, 8vw, 8rem);
  background: #ececf7;
}

.accent-section > * {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.accent-section::before {
  display: none;
}

.feature-card {
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.feature-card:first-child {
  background: #fff;
}

.feature-card:nth-child(2) {
  background: #f8f8fc;
}

.benefit-card:nth-child(1) {
  background: #eeedf8;
}

.benefit-card:nth-child(2) {
  background: #edf7e2;
}

.benefit-card:nth-child(3) {
  background: #fff4e8;
}

.carousel-wireframe {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(41, 38, 94, 0.12);
  border-radius: 18px;
  background: #fff;
}

.slide-card {
  min-height: 206px;
  border-radius: 14px;
  background: var(--purple-ink);
  box-shadow: none;
}

.slide-card:hover,
.slide-card.is-selected {
  border-color: var(--lime);
  box-shadow: 0 12px 24px rgba(41, 38, 94, 0.16);
}

.resource-viewer {
  border-radius: 14px;
  border-color: rgba(41, 38, 94, 0.14);
  box-shadow: none;
}

.resource-connector {
  --connector-x: 50%;
  position: relative;
  height: 3.4rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
  pointer-events: none;
}

.resource-connector::before,
.resource-connector::after {
  display: none;
}

.resource-connector-wave {
  position: absolute;
  top: 0;
  left: calc(var(--connector-x) - 1.875rem);
  width: 3.75rem;
  height: 3.25rem;
  overflow: visible;
  transition: left 220ms ease;
}

.resource-connector-wave-accent {
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-width: 3;
}

.resource-connector-wave-main {
  fill: none;
  stroke: var(--pink);
  stroke-linecap: round;
  stroke-width: 5;
}

.resource-connector-wave polygon {
  fill: var(--pink);
}

.resource-viewer {
  margin-top: 0;
}

.importance-strip {
  background: var(--purple-ink);
  border: 0;
  color: #fff;
}

.importance-strip h3,
.importance-strip p {
  color: #fff;
}

.contact-section {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1.5rem, 8vw, 8rem);
  background: #f7ed69;
}

.contact-section > * {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.contact-form {
  background: #fff;
  box-shadow: 0 14px 28px rgba(41, 38, 94, 0.12);
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 1.5rem 4.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 9.5vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  .hero-panel {
    width: min(100%, 340px);
  }

  .accent-section,
  .contact-section {
    padding-inline: 1.5rem;
  }
}

/* Keep every section introduction on the same left rail as Section 3. */
.section > .section-heading,
.accent-section > .section-heading,
.contact-section > .section-heading {
  width: min(1200px, 100%);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

@media (max-width: 640px) {
  .resource-connector {
    height: 2.7rem;
  }

  .resource-connector-wave {
    height: 2.55rem;
  }
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid rgba(41, 38, 94, 0.16);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.27rem 0;
  border-radius: 999px;
  background: var(--purple-ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    display: flex;
    padding: 0.75rem 1rem;
  }

  .brand-logo {
    width: min(190px, 58vw);
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.65rem;
    border: 1px solid rgba(41, 38, 94, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(41, 38, 94, 0.16);
  }

  .site-header.is-menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    flex: none;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    text-align: left;
  }

  .main-nav a:hover {
    background: rgba(180, 210, 54, 0.16);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(0.34rem) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.34rem) rotate(-45deg);
  }
}
