.hebrew-skill-page {
  --hebrew-ink: #162744;
  --hebrew-muted: #607087;
  --hebrew-purple: #6753dc;
  --hebrew-teal: #209d91;
  --hebrew-coral: #e06b63;
  --hebrew-blue: #2c7db8;
  --hebrew-line: #dce5ef;
  color: var(--hebrew-ink);
}

.hebrew-skill-page main section {
  position: relative;
  overflow: hidden;
}

.hebrew-skill-page .section-kicker {
  margin-block: 0.55rem 0;
  color: var(--hebrew-purple);
  font-weight: 900;
  text-align: center;
}

.hebrew-hero {
  padding-block: clamp(2.4rem, 6vw, 5.3rem);
  background:
    radial-gradient(circle at 7% 12%, rgb(103 83 220 / 10%) 0 9rem, transparent 9.1rem),
    radial-gradient(circle at 92% 88%, rgb(32 157 145 / 10%) 0 11rem, transparent 11.1rem),
    #ffffff;
}

.hebrew-hero .breadcrumbs {
  margin-block-end: clamp(1.6rem, 4vw, 2.6rem);
}

.hebrew-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hebrew-hero-copy h1 {
  max-width: 13ch;
  margin: 0 auto 1rem;
  color: var(--hebrew-ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

.hebrew-hero-copy .section-kicker,
.hebrew-hero-copy .direct-answer {
  margin-inline: auto;
  text-align: center;
}

.hebrew-hero-copy .direct-answer {
  max-width: 43rem;
  margin-block: 1.1rem 1.5rem;
  color: var(--hebrew-muted);
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  font-weight: 650;
  line-height: 1.78;
}

.hebrew-path-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin-block: 1.5rem;
}

.hebrew-path-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 4.6rem;
  padding: 0.85rem;
  border: 1px solid var(--hebrew-line);
  border-radius: 1.15rem;
  color: var(--hebrew-ink);
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 0.35rem 1rem rgb(23 50 85 / 7%);
  text-align: center;
}

.hebrew-path-strip span:nth-child(1) { background: #f0edff; }
.hebrew-path-strip span:nth-child(2) { background: #e9f8f5; }
.hebrew-path-strip span:nth-child(3) { background: #eef6fd; }
.hebrew-path-strip span:nth-child(4) { background: #fff1ef; }

.hebrew-path-strip strong {
  color: var(--hebrew-ink);
}

.hebrew-path-strip img {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
}

.hebrew-hero-copy .zv-actions {
  justify-content: center;
}

.hebrew-hero-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hebrew-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hebrew-action-section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: #f6f8fc;
}

.hebrew-answer-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  max-width: 68rem;
  margin-inline: auto;
  gap: 1.25rem 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--hebrew-line);
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 1rem 2.5rem rgb(31 51 82 / 8%);
}

.hebrew-answer-icon {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  padding: 0.76rem;
  border-radius: 1.25rem;
  background: #eeebff;
}

.hebrew-skill-card > img,
.hebrew-progress-grid img,
.hebrew-start-grid img {
  display: block;
  width: 4.2rem;
  height: 4.2rem;
  padding: 0.76rem;
  border-radius: 1.25rem;
  background: #eeebff;
}

.hebrew-answer-icon img {
  width: 100%;
  height: 100%;
}

.hebrew-answer-copy h2,
.hebrew-section-heading h2 {
  margin: 0;
  color: var(--hebrew-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
}

.hebrew-answer-copy p {
  max-width: 51rem;
  margin: 0.65rem 0 0;
  color: var(--hebrew-muted);
  font-weight: 650;
  line-height: 1.75;
}

.hebrew-action-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hebrew-action-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 0.65rem;
  padding: 0.9rem;
  border: 1px solid var(--hebrew-line);
  border-radius: 1rem;
  background: #f8faff;
}

.hebrew-action-grid img {
  grid-row: 1 / 3;
  width: 2.25rem;
  height: 2.25rem;
}

.hebrew-action-grid strong {
  color: var(--hebrew-ink);
  font-size: 0.92rem;
}

.hebrew-action-grid span {
  color: var(--hebrew-muted);
  font-size: 0.74rem;
  font-weight: 650;
}

.hebrew-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding-block: 1.35rem;
  background: #ffffff;
}

.hebrew-section-divider span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #cac4ff;
  border-radius: 50%;
  color: var(--hebrew-purple);
  background: #f2f0ff;
  font-family: var(--font-display);
  font-weight: 900;
}

.hebrew-section-divider i {
  width: clamp(2.6rem, 8vw, 6.5rem);
  height: 0.16rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hebrew-purple), var(--hebrew-teal));
  opacity: 0.45;
}

.hebrew-skills-section,
.hebrew-progress-section,
.hebrew-start-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hebrew-skills-section {
  background: #f7f7fc;
}

.hebrew-section-heading {
  max-width: 53rem;
  margin: 0 auto clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
}

.hebrew-section-heading > p:last-child {
  max-width: 46rem;
  margin: 0.9rem auto 0;
  color: var(--hebrew-muted);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  font-weight: 650;
  line-height: 1.75;
}

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

.hebrew-skill-card {
  --card-accent: var(--hebrew-purple);
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid var(--hebrew-line);
  border-block-start: 0.32rem solid var(--card-accent);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 0.75rem 1.8rem rgb(32 51 80 / 7%);
}

.hebrew-skill-page .accent-purple { --card-accent: var(--hebrew-purple); }
.hebrew-skill-page .accent-teal { --card-accent: var(--hebrew-teal); }
.hebrew-skill-page .accent-coral { --card-accent: var(--hebrew-coral); }
.hebrew-skill-page .accent-blue { --card-accent: var(--hebrew-blue); }

.hebrew-skill-card > img {
  margin-inline: auto;
  background: color-mix(in srgb, var(--card-accent) 11%, white);
}

.hebrew-card-label {
  align-self: center;
  margin-block: 0.85rem 0.25rem;
  color: var(--card-accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.hebrew-skill-card h3 {
  margin: 0;
  color: var(--hebrew-ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  text-align: center;
}

.hebrew-skill-card > p {
  margin: 0.65rem 0 0;
  color: var(--hebrew-muted);
  font-weight: 650;
  line-height: 1.65;
  text-align: center;
}

.hebrew-skill-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.hebrew-skill-card li {
  position: relative;
  padding: 0.68rem 1.75rem 0.68rem 0.65rem;
  border-radius: 0.85rem;
  color: var(--hebrew-ink);
  background: #f5f7fb;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.4;
}

.hebrew-skill-card li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0.65rem;
  color: var(--card-accent);
  font-weight: 950;
}

.hebrew-card-goal {
  margin-block-start: auto;
  padding: 0.9rem 1rem;
  border-inline-start: 0.24rem solid var(--card-accent);
  border-radius: 0.8rem;
  color: var(--hebrew-muted);
  background: color-mix(in srgb, var(--card-accent) 7%, white);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.55;
}

.hebrew-card-goal strong {
  color: var(--hebrew-ink);
}

.hebrew-language-systems {
  max-width: 68rem;
  margin: 2rem auto 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid #cfdce9;
  border-radius: 1.5rem;
  background: #eef5fb;
}

.hebrew-language-systems-heading {
  max-width: 50rem;
  margin: 0 auto 1.2rem;
  text-align: center;
}

.hebrew-language-systems-heading h3 {
  margin: 0;
  color: var(--hebrew-ink);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.hebrew-language-systems-heading p {
  margin: 0.45rem 0 0;
  color: var(--hebrew-muted);
  font-weight: 650;
  line-height: 1.65;
}

.hebrew-language-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hebrew-language-system-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.2rem 0.7rem;
  padding: 1rem;
  border: 1px solid #d7e3ee;
  border-radius: 1rem;
  background: #ffffff;
}

.hebrew-language-system-grid img {
  grid-row: 1 / 3;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  border-radius: 0.85rem;
  background: #eeebff;
}

.hebrew-language-system-grid article:nth-child(2) img { background: #e7f7f3; }
.hebrew-language-system-grid article:nth-child(3) img { background: #fff0ed; }

.hebrew-language-system-grid strong {
  color: var(--hebrew-ink);
  font-size: 1rem;
}

.hebrew-language-system-grid span {
  color: var(--hebrew-muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.5;
}

.hebrew-scope-note {
  max-width: 58rem;
  margin: 2rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid #cddce9;
  border-radius: 1rem;
  color: var(--hebrew-muted);
  background: #eef6fd;
  font-weight: 650;
  line-height: 1.7;
  text-align: center;
}

.hebrew-progress-section {
  background: #ffffff;
}

.hebrew-progress-grid,
.hebrew-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hebrew-progress-grid article,
.hebrew-start-grid article {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--hebrew-line);
  border-radius: 1.4rem;
  background: #ffffff;
  box-shadow: 0 0.75rem 1.8rem rgb(32 51 80 / 7%);
  text-align: center;
}

.hebrew-progress-grid article:nth-child(1) { border-block-start: 0.3rem solid var(--hebrew-purple); }
.hebrew-progress-grid article:nth-child(2) { border-block-start: 0.3rem solid var(--hebrew-teal); }
.hebrew-progress-grid article:nth-child(3) { border-block-start: 0.3rem solid var(--hebrew-coral); }

.hebrew-progress-grid article > span {
  position: static;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-inline: auto;
  border-radius: 50%;
  color: #ffffff;
  background: var(--hebrew-purple);
  font-weight: 900;
}

.hebrew-progress-grid article:nth-child(2) > span { background: var(--hebrew-teal); }
.hebrew-progress-grid article:nth-child(3) > span { background: var(--hebrew-coral); }

.hebrew-start-grid img {
  margin-inline: auto;
}

.hebrew-bridge-media {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(180deg, #ffffff, #f3f8fc);
}

.hebrew-image-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 70rem);
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border: 0.13rem dashed #9b91e8;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgb(73 175 198 / 18%) 0 5.5rem, transparent 5.6rem),
    radial-gradient(circle at 86% 82%, rgb(107 89 220 / 14%) 0 7rem, transparent 7.1rem),
    linear-gradient(145deg, #f7f4ff, #eef9fb 58%, #f7fbff);
}

.hebrew-image-slot > div {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  max-width: 30rem;
  padding: 1.2rem;
  text-align: center;
}

.hebrew-image-slot-art {
  display: grid;
  place-items: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 82%);
}

.hebrew-image-slot-art img {
  width: 3.2rem;
  height: 3.2rem;
}

.hebrew-image-slot figcaption {
  display: grid;
  gap: 0.4rem;
  color: var(--hebrew-muted);
  font-weight: 650;
  line-height: 1.65;
}

.hebrew-image-slot figcaption strong {
  color: var(--hebrew-ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.hebrew-image-slot.hebrew-image-ready {
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hebrew-image-slot.hebrew-image-ready picture,
.hebrew-image-slot.hebrew-image-ready img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hebrew-progress-grid h3,
.hebrew-start-grid h3 {
  margin: 0.85rem 0 0.35rem;
  color: var(--hebrew-ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.hebrew-progress-grid p,
.hebrew-start-grid p {
  margin: 0;
  color: var(--hebrew-muted);
  font-weight: 650;
  line-height: 1.65;
}

.hebrew-start-section {
  background: #f2f7fb;
}

.hebrew-start-grid article:nth-child(1) img { background: #eeebff; }
.hebrew-start-grid article:nth-child(2) img { background: #e7f7f3; }
.hebrew-start-grid article:nth-child(3) img { background: #fff0ed; }

.hebrew-start-tip {
  max-width: 57rem;
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid #c8d9e8;
  border-radius: 1rem;
  color: var(--hebrew-muted);
  background: #ffffff;
  font-weight: 650;
  line-height: 1.7;
  text-align: center;
}

.hebrew-faq-section {
  background: #f7f7fc;
}

.hebrew-faq-section .faq-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.3rem;
}

.hebrew-faq-heading {
  text-align: center;
}

.hebrew-faq-heading::before {
  display: none !important;
  content: none !important;
}

.hebrew-faq-section .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.hebrew-faq-divider {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 5vw, 3.5rem);
  width: min(28rem, calc(100% - 2rem));
  margin: -2.1rem auto;
}

.hebrew-faq-divider::before {
  position: absolute;
  inset-inline: 1rem;
  height: 0.18rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hebrew-teal), var(--hebrew-purple), var(--hebrew-coral));
  content: "";
}

.hebrew-faq-divider span {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid #d8e2ed;
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: 0 0.65rem 1.5rem rgb(32 51 80 / 10%);
}

.hebrew-faq-divider img {
  width: 2.25rem;
  height: 2.25rem;
}

.hebrew-faq-section .faq-list details {
  border-color: #d8e2ed;
  background: #ffffff;
  box-shadow: 0 0.55rem 1.25rem rgb(32 51 80 / 5%);
}

.hebrew-faq-section .faq-list details:nth-child(3n + 1) { border-inline-end: 0.22rem solid var(--hebrew-purple); }
.hebrew-faq-section .faq-list details:nth-child(3n + 2) { border-inline-end: 0.22rem solid var(--hebrew-teal); }
.hebrew-faq-section .faq-list details:nth-child(3n) { border-inline-end: 0.22rem solid var(--hebrew-coral); }

.hebrew-final-cta {
  background: #172b4b;
}

.hebrew-final-cta h2,
.hebrew-final-cta p {
  color: #ffffff;
}

@media (max-width: 70rem) {
  .hebrew-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hebrew-hero-image {
    width: min(100%, 48rem);
    margin-inline: auto;
  }

  .hebrew-path-strip,
  .hebrew-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hebrew-progress-grid,
  .hebrew-start-grid,
  .hebrew-language-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hebrew-language-system-grid article:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }

  .hebrew-progress-grid article:last-child,
  .hebrew-start-grid article:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }
}

@media (max-width: 52rem) {
  .hebrew-hero-grid {
    grid-template-columns: 1fr;
  }

  .hebrew-hero-copy,
  .hebrew-hero-copy .section-kicker {
    text-align: center;
  }

  .hebrew-hero-copy h1,
  .hebrew-hero-copy .direct-answer {
    margin-inline: auto;
  }

  .hebrew-hero-copy .zv-actions {
    justify-content: center;
  }

  .hebrew-hero-image {
    max-width: 30rem;
    margin-inline: auto;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
  }

  .hebrew-answer-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hebrew-answer-icon {
    margin-inline: auto;
  }

  .hebrew-action-grid {
    grid-column: auto;
  }

  .hebrew-system-image-slot {
    width: min(100%, 30rem);
    aspect-ratio: 9 / 16;
  }

  .hebrew-faq-section .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .hebrew-hero,
  .hebrew-action-section,
  .hebrew-skills-section,
  .hebrew-progress-section,
  .hebrew-start-section,
  .hebrew-faq-section {
    padding-block: 3.5rem;
  }

  .hebrew-hero {
    padding-block-start: 2rem;
  }

  .hebrew-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.65rem, 13vw, 3.8rem);
  }

  .hebrew-path-strip,
  .hebrew-action-grid,
  .hebrew-skill-grid,
  .hebrew-progress-grid,
  .hebrew-start-grid,
  .hebrew-language-system-grid {
    grid-template-columns: 1fr;
  }

  .hebrew-path-strip span {
    min-height: 4rem;
  }

  .hebrew-progress-grid article:last-child,
  .hebrew-start-grid article:last-child {
    grid-column: auto;
    width: 100%;
  }

  .hebrew-language-system-grid article:last-child {
    grid-column: auto;
    width: 100%;
  }

  .hebrew-skill-card {
    padding: 1.2rem;
  }

  .hebrew-skill-card ul {
    grid-template-columns: 1fr;
  }

  .hebrew-section-divider {
    gap: 0.45rem;
  }

  .hebrew-section-divider i {
    width: 2.2rem;
  }

  .hebrew-faq-divider {
    gap: 0.8rem;
  }

  .hebrew-faq-divider span {
    width: 3.35rem;
    height: 3.35rem;
  }

  .hebrew-faq-divider img {
    width: 1.9rem;
    height: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hebrew-skill-page * {
    scroll-behavior: auto !important;
  }
}

/*
 * Small explanatory cards use one consistent icon-first hierarchy:
 * icon, heading, supporting text. Keep it identical at every breakpoint.
 */
.hebrew-action-grid > div,
.hebrew-language-system-grid article {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-items: center;
  row-gap: 0.35rem;
  text-align: center;
}

.hebrew-action-grid img,
.hebrew-language-system-grid img {
  grid-row: auto;
  grid-column: auto;
  display: block;
  margin-inline: auto;
  margin-block-end: 0.2rem;
}
