/* Menaqqed static site */
:root {
  --paper: #fbfaf6;
  --paper-deep: #f3f1e9;
  --ink: #1e2430;
  --ink-soft: #525a6b;
  --accent: #b5342b;
  --accent-soft: #f4e4e1;
  --line: #ddd8cb;
  --surface: #fff;
  --on-dark: #e8a49e;
  --shadow: rgba(30, 36, 48, .12);
  --display: "Frank Ruhl Libre", "David Libre", David, serif;
  --body: "Assistant", "Heebo", Arial, sans-serif;
  --radius: 12px;
  --wrap: 1060px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 999;
  padding: 8px 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(221,216,203,.8);
  background: rgba(251,250,246,.88);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.footer-logo {
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.72rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.logo::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -.12em;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.logo:hover::after { transform: scaleX(1); }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .94rem;
}
.nav-list a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-dark { background: var(--ink); color: var(--paper) !important; border-color: var(--ink); }
.button-dark:hover { background: #2b3345; border-color: #2b3345; }
.button-light { background: rgba(251,250,246,.82); color: var(--ink); border-color: rgba(30,36,48,.25); }
.button-outline-light { color: var(--paper); border-color: rgba(255,255,255,.8); background: transparent; }
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.button-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
  filter: saturate(.55) contrast(.95);
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(251,250,246,.58), rgba(251,250,246,.78)),
    radial-gradient(circle at 50% 45%, rgba(251,250,246,.62), rgba(251,250,246,.25) 60%, rgba(251,250,246,.18));
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding-block: 92px 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.3rem, 8.4vw, 7.3rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero h1 span { color: var(--accent); }

.hero-sub {
  width: min(100%, 650px);
  margin: 26px auto 0;
  color: #3f4654;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.micro {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
}
.micro strong { color: var(--accent); }

.floating-word {
  position: absolute;
  z-index: 2;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
  color: rgba(30,36,48,.83);
  user-select: none;
  pointer-events: auto;
  transition: transform .28s cubic-bezier(.16,1,.3,1), opacity .28s ease;
  animation: floatWord 10s ease-in-out infinite alternate;
  will-change: transform;
}
.floating-word::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -.12em;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.floating-word:hover::after { transform: scaleX(1); }

.fw-1 { top: 12%; right: 5%; font-size: clamp(2rem, 4.2vw, 4.2rem); animation-duration: 11s; }
.fw-2 { top: 64%; right: 7%; font-size: clamp(1.6rem, 3vw, 3.1rem); animation-duration: 13s; animation-delay: -5s; }
.fw-3 { top: 18%; left: 5%; font-size: clamp(1.55rem, 2.8vw, 2.9rem); animation-duration: 12s; animation-delay: -7s; }
.fw-4 { bottom: 10%; left: 10%; font-size: clamp(2rem, 4vw, 4rem); animation-duration: 14s; animation-delay: -2s; }

@keyframes floatWord {
  0% { translate: -5px 4px; rotate: -.16deg; }
  40% { translate: 4px -7px; rotate: .12deg; }
  70% { translate: -2px -2px; rotate: -.08deg; }
  100% { translate: 7px 5px; rotate: .16deg; }
}

.section { padding-block: 84px; }

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}
.section-heading > p:last-child {
  margin: 14px auto 0;
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 245px;
  padding: 28px 24px 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 14px 30px var(--shadow);
}
.service-mark {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
}
.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.33rem;
}
.service-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.arrow {
  position: absolute;
  inset-inline-end: 20px;
  top: 24px;
  color: var(--line);
  font-size: 1.2rem;
}
.service-card:hover .arrow { color: var(--accent); }

.urgency {
  background: var(--ink);
  color: var(--paper);
  padding-block: 58px;
}
.urgency-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.urgency h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.urgency h2 em { color: var(--on-dark); font-style: normal; }
.urgency p { max-width: 620px; margin: 10px 0 0; color: #c4c9d3; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.trust-item {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust-item h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.45rem;
}
.trust-item h3 span { color: var(--accent); }
.trust-item p { margin: 0; color: var(--ink-soft); }


.clients {
  max-width: none;
  margin: 58px auto 0;
  padding-block: 28px;
  text-align: center;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.clients > p {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 800;
}

.client-marquee:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.client-marquee {
  width: 100%;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.client-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: clientMarquee 150s linear infinite;
  will-change: transform;
}

.client-run {
  flex: none;
  display: block;
  padding-inline-end: 1.5rem;
  white-space: nowrap;
  direction: rtl;
  unicode-bidi: isolate;
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 2;
}

.client-marquee:hover .client-track,
.client-marquee:focus-within .client-track,
.client-marquee:focus .client-track {
  animation-play-state: paused;
}

@keyframes clientMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.process-section { background: #fff; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  counter-increment: step;
  position: relative;
  min-height: 190px;
  padding: 32px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  content: counter(step);
  position: absolute;
  inset-inline-end: 20px;
  top: 14px;
  font-family: var(--display);
  color: var(--accent-soft);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.step h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1.25rem; }
.step p { margin: 0; color: var(--ink-soft); }
.step strong { color: var(--accent); }

.price-section {
  padding-block: 84px;
  background: var(--paper-deep);
}
.price-box {
  max-width: 720px;
  text-align: center;
}
.price-box h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.price-big {
  margin: 14px 0 8px;
  font-family: var(--display);
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
}
.price-big span { color: var(--accent); }
.muted { color: var(--ink-soft); }
.price-factors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
}
.price-factors li {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
}

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 22px; color: var(--ink-soft); }

.guides-section {
  padding-block: 84px;
  background: #ece7db;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.guide-card {
  padding: 30px 25px;
  background: rgba(251,250,246,.75);
  border: 1px solid rgba(30,36,48,.12);
  border-radius: var(--radius);
}
.guide-card > span {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
}
.guide-card h3 {
  margin: 18px 0 8px;
  font-family: var(--display);
  font-size: 1.4rem;
}
.guide-card p { margin: 0; color: var(--ink-soft); }

.contact-section {
  padding-block: 94px;
  background: var(--ink);
  color: var(--paper);
}
.contact-inner { max-width: 780px; text-align: center; }
.contact-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
}
.contact-section > .wrap > p:not(.eyebrow) { color: #c4c9d3; }
.contact-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-meta { margin-top: 20px; color: #aeb5c2; font-size: .9rem; }

.footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.footer p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.footer nav a:hover { color: var(--ink); }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .floating-word { opacity: .68; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }

  .nav-list li:not(.nav-cta) { display: none; }

  .hero { min-height: 690px; }
  .hero-content { padding-block: 115px 70px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-sub { max-width: 90%; }

  .fw-1 { top: 8%; right: 4%; font-size: 9vw; }
  .fw-2 { top: 67%; right: 4%; font-size: 7.2vw; }
  .fw-3 { top: 20%; left: 3%; font-size: 6.8vw; }
  .fw-4 { bottom: 7%; left: 7%; font-size: 10vw; }

  .section,
  .price-section,
  .guides-section { padding-block: 66px; }

  .urgency-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer nav { justify-content: center; }
}

@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .hero-actions .button,
  .contact-actions .button { width: 100%; }
  .price-factors { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


@media (prefers-reduced-motion: reduce) {
  .client-track {
    animation: none !important;
    transform: none !important;
  }

  .client-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .client-run[aria-hidden="true"] {
    display: none;
  }
}


/* =========================
   GUIDES INDEX + ARTICLES
========================= */

.nav-list a.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .35em;
}

.guides-hero {
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, rgba(181,52,43,.08), transparent 34%),
    var(--paper);
}

.guides-hero-inner {
  max-width: 820px;
  text-align: center;
}

.guides-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 6.4rem);
  line-height: .95;
}

.guides-hero p:last-child {
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.guide-index-section {
  padding: 72px 0 96px;
}

.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.guide-index-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.guide-index-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 14px 30px var(--shadow);
}

.guide-index-num {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
}

.guide-index-card h2 {
  margin: 20px 0 10px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
}

.guide-index-card p {
  margin: 0;
  color: var(--ink-soft);
}

.guide-index-link {
  margin-top: auto;
  padding-top: 24px;
  font-weight: 700;
  color: var(--accent);
}

.guides-all-link {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.article-page {
  background: var(--paper);
}

.article-wrap {
  width: min(100% - 48px, 760px);
  margin-inline: auto;
}

.article-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(181,52,43,.08), transparent 35%);
}

.back-to-guides {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.back-to-guides:hover {
  color: var(--accent);
}

.article-number {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  font-size: .88rem;
}

.article-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1.02;
  text-wrap: balance;
}

.article-deck {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.article-draft-status {
  display: inline-block;
  margin-top: 22px;
  padding: 6px 12px;
  border: 1px solid #d7a94b;
  border-radius: 999px;
  color: #745310;
  background: #fff7df;
  font-size: .78rem;
  font-weight: 800;
}

.article-body {
  padding-block: 56px 72px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body > p:first-child {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--ink);
}

.article-body h2,
.article-body h3 {
  font-family: var(--display);
  line-height: 1.2;
  scroll-margin-top: 95px;
}

.article-body h2 {
  margin: 52px 0 18px;
  font-size: 2rem;
}

.article-body h3 {
  margin: 44px 0 14px;
  font-size: 1.65rem;
}

.article-body p {
  margin: 0 0 19px;
}

.article-body ul,
.article-body ol {
  padding-inline-start: 1.4em;
  margin: 0 0 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--accent);
  text-underline-offset: .18em;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-inline-start: 3px solid var(--accent);
  background: var(--paper-deep);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: .94rem;
}

.article-body th,
.article-body td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

.article-body th {
  color: var(--accent);
  font-weight: 800;
}

.draft-note {
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid #e1c476;
  border-radius: 8px;
  background: #fff9e7;
  color: #654d18;
  font-size: .91rem;
  line-height: 1.55;
}

.draft-note::before {
  content: "הערת טיוטה: ";
  font-weight: 800;
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-bottom: 72px;
}

.article-pager a {
  min-height: 115px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  text-decoration: none;
}

.article-pager a:hover {
  border-color: var(--ink);
}

.article-pager small {
  color: var(--accent);
  font-weight: 800;
}

.article-pager strong {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 1.15rem;
}

.article-cta {
  padding: 64px 0;
  background: var(--paper-deep);
  text-align: center;
}

.article-cta h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
}

.guides-section .guide-card {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 760px) {
  .guide-index-grid,
  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-wrap {
    width: min(100% - 32px, 760px);
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body table {
    display: block;
    overflow-x: auto;
  }
}

/* ===== POLISHED GUIDE DESIGN V2 ===== */

/* ===== POLISHED GUIDE DESIGN V2 ===== */

:root {
  --guide-red: #b4312b;
  --guide-red-dark: #8f241f;
  --guide-cream: #f8f5ed;
  --guide-paper: #fffefa;
  --guide-blueblack: #1c2430;
  --guide-muted: #69707c;
  --guide-hairline: rgba(28,36,48,.14);
}

body {
  background: var(--guide-cream);
}

.site-header {
  box-shadow: 0 1px 0 rgba(28,36,48,.06);
}

.nav-list a.is-active {
  color: var(--guide-blueblack);
  position: relative;
}

.nav-list a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -.55rem;
  height: 2px;
  background: var(--guide-red);
}

.guides-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0 clamp(72px, 9vw, 110px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.65), rgba(248,245,237,.98)),
    repeating-linear-gradient(
      90deg,
      transparent 0 89px,
      rgba(28,36,48,.035) 90px
    );
  border-bottom: 1px solid var(--guide-hairline);
}

.guides-hero::before {
  content: "מ";
  position: absolute;
  left: -1vw;
  top: -7vw;
  font-family: var(--display);
  font-size: clamp(14rem, 36vw, 34rem);
  font-weight: 900;
  color: rgba(180,49,43,.055);
  line-height: 1;
  pointer-events: none;
}

.guides-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: right;
}

.guides-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guides-hero .eyebrow::before {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--guide-red);
}

.guides-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.8rem, 12vw, 9rem);
  line-height: .82;
  letter-spacing: -.055em;
}

.guides-hero p:last-child {
  max-width: 600px;
  margin: 26px 0 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--guide-muted);
}

.guide-index-section {
  padding: 70px 0 110px;
}

.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.guide-index-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--guide-paper);
  border: 1px solid var(--guide-hairline);
  border-radius: 4px;
  color: var(--guide-blueblack);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  transition:
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s cubic-bezier(.16,1,.3,1),
    border-color .3s ease;
}

.guide-index-card::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: var(--guide-red);
  transition: width .45s cubic-bezier(.16,1,.3,1);
}

.guide-index-card::after {
  content: attr(data-num);
  position: absolute;
  left: -8px;
  bottom: -36px;
  font-family: var(--display);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(180,49,43,.05);
  pointer-events: none;
}

.guide-index-card:hover {
  transform: translateY(-7px);
  border-color: rgba(28,36,48,.32);
  box-shadow: 0 22px 50px rgba(28,36,48,.10);
}

.guide-index-card:hover::before {
  width: 100%;
}

.guide-index-num {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: var(--guide-red);
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.guide-index-num::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.guide-index-card h2 {
  max-width: 440px;
  margin: 38px 0 15px;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  line-height: 1.03;
  letter-spacing: -.02em;
}

.guide-index-card p {
  max-width: 500px;
  margin: 0;
  color: var(--guide-muted);
  font-size: .98rem;
  line-height: 1.65;
}

.guide-index-link {
  margin-top: auto;
  padding-top: 28px;
  color: var(--guide-red);
  font-weight: 800;
  font-size: .92rem;
}

.article-page {
  background: var(--guide-cream);
}

.article-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 70px;
  background:
    linear-gradient(135deg, #f7f4ec 0%, #fffefa 58%, #f1ece1 100%);
  border-bottom: 1px solid var(--guide-hairline);
  text-align: right;
}

.article-hero::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(to left, var(--guide-red) 0 16%, transparent 16%);
}

.article-hero-number {
  position: absolute;
  left: clamp(-15px, 2vw, 30px);
  top: 34px;
  font-family: var(--display);
  font-size: clamp(14rem, 32vw, 29rem);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.08em;
  color: rgba(180,49,43,.055);
  user-select: none;
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
  z-index: 3;
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

.article-hero-content {
  max-width: 810px;
  margin-right: 0;
  margin-left: auto;
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--guide-red);
  font-size: .86rem;
  font-weight: 800;
}

.article-kicker::before {
  content: "";
  width: 50px;
  height: 2px;
  background: currentColor;
}

.back-to-guides {
  color: var(--guide-muted);
  font-size: .86rem;
  text-decoration: none;
}

.back-to-guides:hover {
  color: var(--guide-red);
}

.article-hero h1 {
  max-width: 950px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 8.6vw, 7.2rem);
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.article-deck {
  max-width: 690px;
  margin: 26px 0 0 auto;
  color: #515966;
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--guide-hairline);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: var(--guide-muted);
  font-size: .78rem;
  font-weight: 700;
}

.article-meta .draft-chip {
  border-color: rgba(180,49,43,.28);
  color: var(--guide-red-dark);
  background: rgba(180,49,43,.06);
}

.article-layout {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) 250px;
  gap: 70px;
  align-items: start;
  padding: 70px 0 95px;
}

.article-body {
  min-width: 0;
  padding: 0;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #29313d;
}

.article-body > p:first-child {
  position: relative;
  margin: 0 0 42px;
  padding: 28px 30px;
  border-right: 3px solid var(--guide-red);
  background: rgba(255,255,255,.72);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.72rem);
  line-height: 1.48;
  color: var(--guide-blueblack);
}

.article-body h2,
.article-body h3 {
  color: var(--guide-blueblack);
  font-family: var(--display);
  scroll-margin-top: 96px;
}

.article-body h2 {
  margin: 68px 0 20px;
  font-size: 2.25rem;
  line-height: 1.08;
}

.article-body h3 {
  position: relative;
  margin: 58px 0 20px;
  padding-top: 18px;
  font-size: clamp(1.7rem, 3.6vw, 2.15rem);
  line-height: 1.12;
}

.article-body h3::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
  height: 2px;
  background: var(--guide-red);
}

.article-body p {
  margin: 0 0 21px;
}

.article-body strong {
  color: var(--guide-blueblack);
}

.article-body em {
  font-family: var(--display);
}

.article-body a {
  color: var(--guide-red-dark);
  text-decoration-color: rgba(180,49,43,.35);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.article-body a:hover {
  text-decoration-color: var(--guide-red);
}

.article-body ul,
.article-body ol {
  margin: 20px 0 30px;
  padding: 0 1.25rem 0 0;
}

.article-body li {
  margin: 9px 0;
  padding-right: 5px;
}

.article-body li::marker {
  color: var(--guide-red);
}

.article-body blockquote {
  margin: 36px 0;
  padding: 26px 28px;
  border: 0;
  border-right: 3px solid var(--guide-red);
  background: #efe9dd;
  font-family: var(--display);
  font-size: 1.16rem;
}

.article-body hr {
  border: 0;
  border-top: 1px solid var(--guide-hairline);
  margin: 54px 0;
}

.article-body table {
  width: 100%;
  overflow: hidden;
  margin: 34px 0;
  border: 1px solid var(--guide-hairline);
  border-radius: 3px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--guide-paper);
  font-size: .95rem;
}

.article-body th {
  background: #eee8dc;
  color: var(--guide-blueblack);
  font-weight: 800;
}

.article-body th,
.article-body td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--guide-hairline);
  text-align: right;
  vertical-align: top;
}

.article-body tr:last-child td {
  border-bottom: 0;
}

.editorial-note {
  position: relative;
  margin: 28px 0 !important;
  padding: 18px 20px 18px 50px;
  border: 1px solid rgba(180,49,43,.18);
  border-right: 3px solid var(--guide-red);
  background: rgba(180,49,43,.045);
  color: #66514f;
  font-size: .92rem;
  line-height: 1.65;
}

.editorial-note::before {
  content: "טיוטה";
  display: inline-block;
  margin-left: 8px;
  color: var(--guide-red);
  font-size: .72rem;
  font-weight: 900;
}

.article-toc {
  position: sticky;
  top: 104px;
  padding: 22px 0 22px 22px;
  border-left: 1px solid var(--guide-hairline);
}

.article-toc-title {
  margin: 0 0 16px;
  color: var(--guide-red);
  font-size: .76rem;
  font-weight: 900;
}

.article-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc li + li {
  margin-top: 10px;
}

.article-toc a {
  display: block;
  color: var(--guide-muted);
  font-size: .88rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.article-toc a:hover {
  color: var(--guide-blueblack);
  transform: translateX(-3px);
}

.article-faq {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--guide-hairline);
}

.article-faq > h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 2.4rem;
}

.article-faq details {
  border-bottom: 1px solid var(--guide-hairline);
}

.article-faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 0 20px 42px;
  color: var(--guide-blueblack);
  font-weight: 800;
}

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

.article-faq summary::after {
  content: "+";
  position: absolute;
  left: 8px;
  top: 13px;
  color: var(--guide-red);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  transition: transform .2s ease;
}

.article-faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 22px;
  color: var(--guide-muted);
}

.article-pager-wrap {
  padding: 0 0 86px;
}

.article-pager {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.article-pager a {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--guide-hairline);
  border-radius: 3px;
  background: var(--guide-paper);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}

.article-pager a:hover {
  transform: translateY(-4px);
  border-color: rgba(28,36,48,.35);
}

.article-pager small {
  color: var(--guide-red);
  font-size: .77rem;
  font-weight: 900;
}

.article-pager strong {
  max-width: 430px;
  margin-top: 8px;
  color: var(--guide-blueblack);
  font-family: var(--display);
  font-size: 1.38rem;
  line-height: 1.16;
}

.article-cta {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  background: var(--guide-blueblack);
  color: var(--guide-cream);
  text-align: right;
}

.article-cta::after {
  content: "מְנַקֵּד";
  position: absolute;
  left: -2vw;
  bottom: -4vw;
  color: rgba(255,255,255,.035);
  font-family: var(--display);
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  line-height: .8;
}

.article-cta-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

.article-cta .eyebrow {
  color: #e29a94;
}

.article-cta h2 {
  max-width: 690px;
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  line-height: 1;
}

.article-cta .button {
  background: var(--guide-cream);
  color: var(--guide-blueblack) !important;
  border-color: var(--guide-cream);
}

.home-guide-card-link {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-toc {
    position: static;
    order: -1;
    margin-bottom: 42px;
    padding: 22px;
    border: 1px solid var(--guide-hairline);
    background: rgba(255,255,255,.55);
  }

  .article-toc ol {
    columns: 2;
    column-gap: 28px;
  }
}

@media (max-width: 760px) {
  .guide-index-grid {
    grid-template-columns: 1fr;
  }

  .guide-index-card {
    min-height: 275px;
    padding: 28px;
  }

  .article-hero {
    min-height: 470px;
    padding: 92px 0 52px;
  }

  .article-hero-inner,
  .article-layout,
  .article-pager,
  .article-cta-inner {
    width: min(100% - 32px, 1120px);
  }

  .article-hero-number {
    top: 65px;
    left: -20px;
    font-size: 15rem;
  }

  .article-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .article-layout {
    padding: 52px 0 70px;
  }

  .article-body > p:first-child {
    padding: 23px 21px;
    font-size: 1.3rem;
  }

  .article-body h3 {
    margin-top: 48px;
  }

  .article-toc ol {
    columns: 1;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }
}
