@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Hebrew', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

/* ===== LAYOUT WRAPPER ===== */
.site-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-areas: "aside body";
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
}

.site-aside {
  grid-area: aside;
  border-right: 2px solid #000;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  z-index: 10;
}

.page-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== ASIDE NAV ===== */
.site-aside nav {
  padding: 0;
}

.site-aside nav ul {
  display: flex;
  flex-direction: column;
}

.site-aside nav ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-aside nav ul li a:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.aside-block {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
}

.aside-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #000;
}

.aside-links li a {
  display: block;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.aside-links li a:hover {
  color: #555;
}

.aside-cta {
  margin-top: auto;
}

/* ===== SITE HEADER ===== */
.site-header {
  border-bottom: 2px solid #000;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

.header-brand {
  padding: 14px 32px;
  border-bottom: 1px solid #e0e0e0;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #000;
}

.brand-name:hover {
  text-decoration: none;
  opacity: 0.75;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 32px;
}

/* ===== PILL NAV ===== */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.pill-nav li a {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1.5px solid #000;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  min-height: 34px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.pill-nav li a:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-height: 40px;
  border: 2px solid #000;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.cta-btn:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

.cta-btn--block {
  display: flex;
  width: 100%;
}

/* ===== MAIN / ARTICLE / SECTION ===== */
main {
  flex: 1;
}

main > section {
  display: flex;
  flex-direction: column;
}

main > section > div {
  /* Each div is a direct child */
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 40px 32px;
  border-bottom: 2px solid #000;
}

.page-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 720px;
}

.page-meta {
  font-size: 0.82rem;
  color: #666;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.page-meta time {
  font-weight: 500;
}

/* ===== HERO SECTION (home) ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 45vh;
  border-bottom: 2px solid #000;
  align-items: stretch;
}

.hero-text {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1rem;
  color: #444;
  max-width: 480px;
  line-height: 1.7;
}

.hero-media {
  border-left: 2px solid #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== REVIEW HERO ===== */
.page-hero--review {
  padding: 0;
}

.review-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  min-height: 45vh;
}

.review-hero-text {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.review-hero-media {
  border-left: 2px solid #000;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
}

.review-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CONTENT SECTION ===== */
.content-section {
  padding: 40px 32px;
  border-bottom: 1px solid #e0e0e0;
}

.page-content {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 8px;
  letter-spacing: -0.01em;
}

.page-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.93rem;
}

.page-content th,
.page-content td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.page-content th {
  background: #000;
  color: #fff;
  font-weight: 600;
}

.page-content hr {
  border: none;
  border-top: 2px solid #000;
  margin: 28px 0;
}

/* ===== PULL QUOTE ===== */
.pull-quote-wrap {
  margin-bottom: 32px;
}

.pull-quote {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  border-left: 4px solid #000;
  padding: 12px 24px;
  color: #111;
  max-width: 680px;
  font-style: italic;
}

/* ===== DROP CAP ===== */
.drop-cap-wrap .page-content > p:first-child::first-letter {
  font-size: 3.8rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 4px 10px 0 0;
  padding: 0;
  color: #000;
}

/* ===== HR DECORATION ===== */
h2 + hr,
h3 + hr {
  border: none;
  border-top: 2px solid #000;
  margin: 8px 0 24px;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.card-grid--half {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid #e0e0e0;
  border-bottom: 3px solid #000;
  margin: -1px -1px 0 0;
  position: relative;
}

.card > a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  height: 100%;
  min-height: 140px;
  transition: background 0.15s;
}

.card > a:hover {
  background: #f8f8f8;
  text-decoration: none;
}

.card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #000;
}

.card-desc {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
  margin-top: 2px;
}

.card small {
  font-size: 0.75rem;
  color: #888;
  margin-top: auto;
}

/* ===== HOME SECTIONS ===== */
.home-grid-section,
.home-ranking-section,
.home-compare-section {
  padding: 40px 32px;
  border-bottom: 1px solid #e0e0e0;
}

.home-grid-section h2,
.home-ranking-section h2,
.home-compare-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

/* ===== RANKING LIST ===== */
.ranking-list-section {
  padding: 40px 32px;
  border-bottom: 1px solid #e0e0e0;
}

.ranking-list-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rank-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
  min-height: 64px;
}

.rank-item:last-child {
  border-bottom: 2px solid #000;
}

.rank-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ccc;
  border-right: 1px solid #e0e0e0;
  letter-spacing: -0.04em;
}

.rank-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 20px;
  transition: background 0.15s;
}

.rank-item a:hover {
  background: #f8f8f8;
  text-decoration: none;
}

.rank-item a strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.rank-item a small {
  font-size: 0.8rem;
  color: #666;
}

/* ===== FAQ GUIDE LIST ===== */
.faq-links-section {
  padding: 40px 32px;
  border-bottom: 1px solid #e0e0e0;
}

.faq-links-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-guide-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: decimal;
  padding-left: 0;
  counter-reset: faq-count;
}

.faq-guide-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  counter-increment: faq-count;
}

.faq-guide-list li a {
  font-size: 0.95rem;
  font-weight: 600;
}

.faq-guide-list li a:hover {
  text-decoration: underline;
}

.faq-guide-list li small {
  font-size: 0.8rem;
  color: #666;
}

/* ===== ABOUT / PRIVACY SECTIONS ===== */
.about-links-section,
.privacy-footer-section,
.review-nav-section,
.compare-cta-section,
.faq-links-section {
  padding: 40px 32px;
  border-bottom: 1px solid #e0e0e0;
}

.about-links-section h2,
.privacy-footer-section h2,
.review-nav-section h2,
.compare-cta-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.privacy-footer-section p {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 2px solid #000;
  background: #000;
  color: #fff;
}

footer > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  padding: 18px 32px;
  font-size: 0.85rem;
  border-bottom: 1px solid #333;
}

.footer-copy a {
  color: #ccc;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-copy a:hover {
  color: #fff;
}

.footer-note {
  padding: 12px 32px;
  font-size: 0.75rem;
  color: #888;
}

/* ===== SCROLL REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .rank-item,
  .faq-guide-list li,
  .content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .card.revealed,
  .rank-item.revealed,
  .faq-guide-list li.revealed,
  .content-section.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .rank-item,
  .faq-guide-list li,
  .content-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .site-wrap {
    grid-template-columns: 180px 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body";
  }

  .site-aside {
    display: none;
  }

  .header-brand {
    padding: 12px 20px;
  }

  .header-menu {
    padding: 8px 20px;
    gap: 8px;
    overflow-x: auto;
  }

  .pill-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pill-nav li a {
    white-space: nowrap;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    display: none;
  }

  .hero-text {
    padding: 32px 20px;
  }

  .review-hero-inner {
    grid-template-columns: 1fr;
  }

  .review-hero-media {
    display: none;
  }

  .review-hero-text {
    padding: 28px 20px;
  }

  .page-hero {
    padding: 28px 20px;
  }

  .content-section {
    padding: 28px 20px;
  }

  .home-grid-section,
  .home-ranking-section,
  .home-compare-section,
  .ranking-list-section,
  .faq-links-section,
  .about-links-section,
  .privacy-footer-section,
  .review-nav-section,
  .compare-cta-section {
    padding: 28px 20px;
  }

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

  .card-grid--half {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 48px 1fr;
  }

  .rank-num {
    font-size: 1.2rem;
  }

  .footer-copy,
  .footer-note {
    padding: 14px 20px;
    justify-content: center;
    text-align: center;
  }

  .pull-quote {
    font-size: 1.05rem;
    padding: 10px 18px;
  }
}

@media (max-width: 480px) {
  .header-menu {
    flex-wrap: wrap;
  }

  .cta-btn {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }
}
