/* Inner pages: product + FAQ */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 6vw, 56px);
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(14, 116, 144, 0.14), transparent 60%),
    linear-gradient(165deg, #eef5f8 0%, #f5f8fa 55%, #e8eef3 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--brand-deep);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

html[lang="he"] .page-hero h1 {
  max-width: 24ch;
}

@media (max-width: 720px) {
  .page-hero h1,
  .page-hero h1.is-wide,
  html[lang="he"] .page-hero h1,
  .page-hero__lead {
    max-width: none;
  }
}

.page-hero__lead {
  margin: 0 0 28px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-body {
  padding: clamp(48px, 8vw, 88px) 0;
}

.page-body__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: clamp(36px, 6vw, 56px);
}

.prose h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.prose p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 62ch;
}

.prose a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.cta-band p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  max-width: 36ch;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: left;
  color: var(--brand);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  max-width: 70ch;
}

.related {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .related {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.related a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.related a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.related strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-deep);
}

.related span {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav__links > a[aria-current="page"],
.nav-drop.is-current .nav-drop__btn {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 34%;
  color: var(--ink);
  font-weight: 700;
  background: #f8fbfc;
}

@media (max-width: 640px) {
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }
}

.spec-table td {
  color: var(--muted);
}

.page-hero h1.is-wide {
  max-width: 22ch;
}


.faq-item summary {
  line-height: 1.45;
  text-wrap: pretty;
}

@media (min-width: 720px) {
  .faq-item summary .ltr {
    white-space: nowrap;
  }
}

/* Knowledge notes */
.knowledge-toc {
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .knowledge-toc {
    grid-template-columns: repeat(3, 1fr);
  }
}

.knowledge-toc a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.knowledge-toc a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.knowledge-toc strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

.knowledge-toc span {
  color: var(--muted);
  font-size: 0.92rem;
}

.chapter {
  padding-top: 8px;
}

.chapter__label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.sources a {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbfc;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.sources a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.note-card {
  margin-top: 20px;
  padding: 16px 18px;
  border-inline-start: 3px solid var(--brand);
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--ink-soft);
}

.note-card p {
  margin: 0;
  max-width: none;
  color: var(--ink-soft);
}
