  :root {
    --blue-900: #0F1F5C;
    --blue-800: #1E3A8A;
    --blue-700: #1D4ED8;
    --blue-600: #2547C8;
    --blue-500: #3B5BDB;
    --blue-300: #8FA8E8;
    --blue-100: #DCE5F4;
    --blue-50:  #EEF2F8;

    --paper: #F4F7FB;
    --paper-2: #E6ECF5;
    --ink: #0B1230;
    --ink-2: #4A5478;
    --ink-3: #7C85A4;
    --line: rgba(15, 31, 92, 0.08);

    --dark-bg: #060A18;
    --dark-bg-2: #0A0F22;
    --dark-card: #0F1530;
    --dark-line: rgba(255,255,255,0.06);
    --dark-ink: #E6EAF6;
    --dark-ink-2: #9AA3BE;

    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-hebrew: "Frank Ruhl Libre", "Times New Roman", serif;
    --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }

  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

  /* ─────────  NAV  ───────── */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(244, 247, 251, 0.72);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 32px;
    max-width: 1240px; margin: 0 auto;
  }
  .brand {
    display: flex; align-items: baseline; gap: 10px;
  }
  .brand .he {
    font-family: var(--font-hebrew);
    font-size: 22px; font-weight: 700;
    color: var(--blue-800);
    line-height: 1;
  }
  .brand .latin {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 26px;
    color: var(--blue-800);
    line-height: 1;
    letter-spacing: 0.5px;
  }
  .nav-links {
    display: flex; gap: 32px; align-items: center;
    font-size: 14px; color: var(--ink-2); font-weight: 500;
  }
  .nav-links a { transition: color .15s ease; }
  .nav-links a:hover { color: var(--blue-700); }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 999px;
    background: var(--blue-800); color: white;
    font-size: 13px; font-weight: 600;
    transition: transform .15s ease, background .15s ease;
  }
  .nav-cta:hover { background: var(--blue-700); transform: translateY(-1px); }
  @media (max-width: 760px) { .nav-links { display: none; } }

  /* ─────────  HERO  ───────── */
  .hero {
    position: relative;
    padding: 100px 0 60px;
    background:
      radial-gradient(1200px 600px at 50% -10%, #DCE5F4 0%, transparent 60%),
      linear-gradient(180deg, #F4F7FB 0%, #EAEFF7 100%);
    overflow: hidden;
  }
  .hero::before, .hero::after {
    content: ""; position: absolute; pointer-events: none;
    font-family: var(--font-hebrew);
    color: var(--blue-800);
    opacity: 0.035;
    font-size: 480px;
    line-height: 1;
    font-weight: 900;
  }
  .hero::before { top: 80px; left: -40px; content: "תהילים"; transform: rotate(-6deg); }
  .hero::after { bottom: -120px; right: -40px; content: "מזמור"; transform: rotate(4deg); font-size: 320px; }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px; border-radius: 999px;
    background: white; border: 1px solid var(--line);
    color: var(--blue-800);
    font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase;
  }
  .eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue-700);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15);
  }

  .hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 880px; margin: 0 auto;
  }
  .hero-he {
    font-family: var(--font-hebrew);
    font-size: clamp(72px, 10vw, 132px);
    font-weight: 500;
    color: var(--blue-800);
    line-height: 1;
    margin: 28px 0 4px;
    letter-spacing: -2px;
  }
  .hero-latin {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(48px, 7vw, 88px);
    color: var(--blue-700);
    line-height: 1;
    margin: 0 0 22px;
  }
  .hero-tagline {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--ink-2);
    max-width: 580px; margin: 0 auto 38px;
    line-height: 1.5;
    font-weight: 400;
  }
  .hero-cta {
    display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: 14px;
    background: var(--ink); color: white;
    font-size: 15px; font-weight: 600;
    transition: transform .15s ease, background .15s ease;
  }
  .btn-primary:hover { transform: translateY(-2px); background: #1a234b; }
  .btn-primary svg { width: 20px; height: 20px; }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 22px; border-radius: 14px;
    background: transparent; color: var(--blue-800);
    font-size: 15px; font-weight: 600;
    border: 1px solid var(--blue-100);
    transition: all .15s ease;
  }
  .btn-ghost:hover { background: white; border-color: var(--blue-300); }

  .hero-dedicace {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    max-width: 520px;
    margin-left: auto; margin-right: auto;
  }
  .hero-dedicace .he {
    font-family: var(--font-hebrew);
    color: var(--blue-800);
    font-size: 17px;
    margin-bottom: 4px;
    direction: rtl;
  }
  .hero-dedicace .fr {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--ink-2);
    font-size: 15px;
  }

  /* mockups */
  .hero-mockups {
    position: relative; z-index: 2;
    margin-top: 70px;
    display: flex; justify-content: center; align-items: flex-end;
    gap: 40px;
    perspective: 2000px;
  }
  .device-ipad, .device-iphone {
    position: relative;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  }
  .device-ipad {
    width: min(640px, 54vw);
    transform: rotateY(8deg) rotateX(2deg);
  }
  .device-iphone {
    width: min(240px, 22vw);
    transform: rotateY(-10deg) rotateX(2deg) translateY(-20px);
  }
  .device-ipad:hover, .device-iphone:hover {
    transform: rotateY(0) rotateX(0);
  }
  .device-ipad .frame, .device-iphone .frame {
    background: #0B1230;
    padding: 14px;
    border-radius: 38px;
    box-shadow:
      0 1px 1px rgba(255,255,255,0.6) inset,
      0 40px 80px -20px rgba(15, 31, 92, 0.35),
      0 20px 40px -10px rgba(15, 31, 92, 0.2);
  }
  .device-iphone .frame {
    padding: 8px;
    border-radius: 38px;
  }
  .device-ipad .screen {
    border-radius: 24px;
    overflow: hidden;
    background: #F4F7FB;
    /* iPad paysage — même ratio que la capture (2360×1640) : aucun rognage. */
    aspect-ratio: 2360/1640;
  }
  .device-iphone .screen {
    border-radius: 30px;
    overflow: hidden;
    background: #F4F7FB;
    aspect-ratio: 393/852;
  }
  .device-ipad .screen img,
  .device-iphone .screen img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
  }

  @media (max-width: 800px) {
    .hero-mockups { gap: 16px; }
    .device-ipad { width: 60vw; }
    .device-iphone { width: 28vw; }
  }

  /* ─────────  TRIBUTE  ───────── */
  .tribute {
    position: relative;
    padding: 140px 0;
    background:
      radial-gradient(800px 400px at 80% 30%, rgba(30,58,138,0.04), transparent 70%),
      var(--paper);
  }
  .tribute-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
  }
  @media (max-width: 900px) {
    .tribute-grid { grid-template-columns: 1fr; gap: 48px; }
  }
  .tribute-portrait {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, #DCE5F4 0%, #EEF2F8 100%);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(15, 31, 92, 0.18);
  }
  .tribute-portrait::before {
    content: "";
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(45deg, transparent 0 12px, rgba(30,58,138,0.04) 12px 13px);
  }
  .tribute-portrait .candle {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    color: var(--blue-800);
    gap: 18px;
  }
  .tribute-portrait .flame {
    width: 38px; height: 58px;
    background: radial-gradient(ellipse at 50% 70%, #FFD27A 0%, #F8A93D 35%, #E07A2E 65%, transparent 75%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    filter: blur(0.5px);
    animation: flame 2.4s ease-in-out infinite alternate;
    transform-origin: 50% 100%;
  }
  @keyframes flame {
    0%   { transform: rotate(-2deg) scale(1, 1); }
    50%  { transform: rotate(1deg) scale(1.05, 0.98); }
    100% { transform: rotate(-1deg) scale(0.97, 1.03); }
  }
  .tribute-portrait .candle-body {
    width: 8px; height: 120px;
    background: linear-gradient(180deg, #FAF7EE 0%, #E8DFC6 100%);
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(248, 169, 61, 0.25);
  }
  .tribute-portrait .he-name {
    font-family: var(--font-hebrew);
    font-size: 28px;
    direction: rtl;
    margin-top: 8px;
    font-weight: 500;
  }
  .tribute-portrait .fr-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--blue-700);
  }
  .tribute-portrait .dates {
    font-size: 12px; color: var(--ink-3);
    letter-spacing: 2px;
    margin-top: 6px;
    font-weight: 500;
  }

  .tribute-eyebrow {
    color: var(--blue-700);
    font-size: 13px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
    margin-bottom: 20px;
  }
  .tribute h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(38px, 4.5vw, 56px);
    line-height: 1.05;
    color: var(--ink);
    margin: 0 0 28px;
    letter-spacing: -1px;
  }
  .tribute h2 em {
    font-style: italic;
    color: var(--blue-700);
  }
  .tribute p {
    color: var(--ink-2);
    font-size: 17px; line-height: 1.7;
    margin: 0 0 18px;
    max-width: 560px;
  }
  .tribute-quote {
    margin-top: 36px;
    padding: 24px 28px;
    border-left: 2px solid var(--blue-700);
    background: rgba(30, 58, 138, 0.03);
    border-radius: 0 12px 12px 0;
  }
  .tribute-quote .he {
    font-family: var(--font-hebrew);
    direction: rtl;
    font-size: 20px;
    color: var(--blue-800);
    margin-bottom: 8px;
    font-weight: 500;
  }
  .tribute-quote .fr {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--ink-2);
  }

  /* ─────────  SECTION COMMON  ───────── */
  .section {
    padding: 140px 0;
    position: relative;
  }
  .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
  }
  .section-head .eyebrow { margin-bottom: 20px; }
  .section-head h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(38px, 4.5vw, 56px);
    line-height: 1.05;
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: -1px;
  }
  .section-head h2 em {
    font-style: italic;
    color: var(--blue-700);
  }
  .section-head p {
    color: var(--ink-2);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
  }

  /* ─────────  FEATURES  ───────── */
  .features {
    background: linear-gradient(180deg, #F4F7FB 0%, #EBF0F8 100%);
  }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }
  .feat-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 40px -16px rgba(15, 31, 92, 0.15);
  }
  .feat-card.col-7 { grid-column: span 7; }
  .feat-card.col-5 { grid-column: span 5; }
  .feat-card.col-6 { grid-column: span 6; }
  .feat-card.col-12 { grid-column: span 12; }
  @media (max-width: 900px) {
    .feat-card.col-7, .feat-card.col-5, .feat-card.col-6 { grid-column: span 12; }
  }

  .feat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--blue-50);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-700);
    margin-bottom: 20px;
  }
  .feat-icon svg { width: 22px; height: 22px; }
  .feat-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 28px;
    margin: 0 0 12px;
    color: var(--ink);
    letter-spacing: -0.3px;
  }
  .feat-card p {
    color: var(--ink-2);
    font-size: 15px; line-height: 1.6;
    margin: 0;
  }
  .feat-visual {
    margin-top: 24px;
    border-radius: 16px;
    background: var(--blue-50);
    overflow: hidden;
    aspect-ratio: 16/10;
  }
  .feat-visual img {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
  }

  /* ─────────  PSALM 119 INTERACTIVE  ───────── */
  .psalm119 {
    background: var(--paper);
    position: relative;
    overflow: hidden;
  }
  .psalm119::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(600px 300px at 20% 30%, rgba(30,58,138,0.05), transparent 70%),
      radial-gradient(500px 300px at 80% 70%, rgba(59,91,219,0.04), transparent 70%);
    pointer-events: none;
  }

  .letters-grid {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 10px;
    max-width: 980px;
    margin: 0 auto 40px;
    position: relative;
  }
  @media (max-width: 900px) {
    .letters-grid { grid-template-columns: repeat(6, 1fr); }
  }
  @media (max-width: 500px) {
    .letters-grid { grid-template-columns: repeat(5, 1fr); }
  }

  .letter-card {
    aspect-ratio: 1;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
    padding: 8px 4px;
  }
  .letter-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-300);
    box-shadow: 0 12px 24px -8px rgba(30, 58, 138, 0.18);
  }
  .letter-card.active {
    background: var(--blue-800);
    border-color: var(--blue-800);
    transform: translateY(-3px);
  }
  .letter-card.active .he,
  .letter-card.active .lat,
  .letter-card.active .num { color: white; }
  .letter-card .he {
    font-family: var(--font-hebrew);
    font-size: 28px;
    color: var(--blue-800);
    line-height: 1;
    font-weight: 500;
    margin-bottom: 4px;
  }
  .letter-card .lat {
    font-size: 9px;
    font-weight: 600;
    color: var(--blue-700);
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }
  .letter-card .num {
    position: absolute; top: 6px; right: 8px;
    font-size: 9px; color: var(--ink-3);
    font-weight: 500;
  }

  .letter-detail {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px 48px;
    text-align: center;
    min-height: 280px;
    display: flex; flex-direction: column; justify-content: center;
    box-shadow: 0 20px 40px -20px rgba(15, 31, 92, 0.12);
  }
  .letter-detail .big-he {
    font-family: var(--font-hebrew);
    font-size: 120px;
    color: var(--blue-800);
    line-height: 1;
    font-weight: 500;
    margin-bottom: 8px;
  }
  .letter-detail .name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 32px;
    color: var(--blue-700);
    margin-bottom: 4px;
  }
  .letter-detail .range {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-weight: 600;
  }
  .letter-detail .verse {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.5;
    max-width: 540px;
    margin: 0 auto;
  }

  /* ─────────  DAY/NIGHT TOGGLE  ───────── */
  .dn {
    background: var(--ink);
    color: white;
    padding: 140px 0;
    overflow: hidden;
    position: relative;
  }
  .dn::before {
    content: "תהילים";
    position: absolute;
    font-family: var(--font-hebrew);
    font-size: 580px;
    opacity: 0.03;
    color: white;
    line-height: 1;
    font-weight: 900;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
  }
  .dn .section-head h2 { color: white; }
  .dn .section-head p { color: var(--dark-ink-2); }
  .dn .section-head h2 em { color: var(--blue-300); }
  .dn .eyebrow {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: var(--blue-300);
  }

  .dn-stage {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
  }
  .dn-control {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 40px;
  }
  .dn-toggle {
    display: inline-flex;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 5px;
  }
  .dn-toggle button {
    background: transparent;
    border: none;
    color: var(--dark-ink-2);
    padding: 10px 22px;
    font-family: var(--font-sans);
    font-size: 14px; font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .dn-toggle button.active {
    background: white;
    color: var(--ink);
  }
  .dn-toggle button svg { width: 16px; height: 16px; }

  .dn-devices {
    display: flex; justify-content: center; align-items: flex-end;
    gap: 48px;
    perspective: 2000px;
  }
  .dn-iphone {
    width: min(280px, 32vw);
    position: relative;
  }
  .dn-iphone .frame {
    background: #060A18;
    padding: 8px;
    border-radius: 42px;
    box-shadow:
      0 1px 1px rgba(255,255,255,0.06) inset,
      0 50px 100px -20px rgba(0,0,0,0.6),
      0 0 0 1px rgba(255,255,255,0.04);
  }
  .dn-iphone .screen {
    border-radius: 34px;
    overflow: hidden;
    aspect-ratio: 393/852;
    position: relative;
  }
  .dn-iphone .screen img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    position: absolute; inset: 0;
    transition: opacity .6s ease;
  }
  .dn-iphone .screen img.hidden { opacity: 0; }

  @media (max-width: 700px) {
    .dn-devices { gap: 20px; }
    .dn-iphone { width: 40vw; }
  }

  /* ─────────  VIDEO  ───────── */
  .video-section {
    background: linear-gradient(180deg, #F4F7FB 0%, #EAEFF7 100%);
    padding: 140px 0;
  }
  .video-frame {
    max-width: 1040px;
    margin: 0 auto;
    background: #0B1230;
    padding: 20px;
    border-radius: 28px;
    box-shadow: 0 50px 100px -30px rgba(15, 31, 92, 0.3);
    position: relative;
  }
  .video-frame video {
    width: 100%;
    border-radius: 16px;
    display: block;
    background: #060A18;
    aspect-ratio: 16/9;
    object-fit: contain;
  }

  /* ─────────  DOWNLOAD CTA  ───────── */
  .download {
    padding: 160px 0;
    background:
      radial-gradient(800px 400px at 50% 50%, rgba(30,58,138,0.08), transparent 70%),
      var(--paper);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .download::before {
    content: "תהילים";
    position: absolute;
    font-family: var(--font-hebrew);
    font-size: 280px;
    opacity: 0.04;
    color: var(--blue-800);
    line-height: 1;
    font-weight: 900;
    top: 30px; left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
  }
  .download h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(44px, 5.5vw, 72px);
    line-height: 1.02;
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: -1.5px;
    position: relative;
  }
  .download h2 em {
    font-style: italic;
    color: var(--blue-700);
  }
  .download p {
    font-size: 19px;
    color: var(--ink-2);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.5;
    position: relative;
  }
  .appstore-btn {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 18px 28px;
    background: var(--ink);
    color: white;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .2s ease;
    position: relative;
  }
  .appstore-btn:hover { transform: translateY(-2px); }
  .appstore-btn .label {
    display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1;
  }
  .appstore-btn .label .top {
    font-size: 10px; font-weight: 500; opacity: 0.7; letter-spacing: 0.4px;
  }
  .appstore-btn .label .bot {
    font-size: 18px; font-weight: 600;
  }
  .appstore-btn svg { width: 32px; height: 32px; }

  /* ─────────  FOOTER  ───────── */
  footer {
    background: var(--ink);
    color: var(--dark-ink-2);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  @media (max-width: 760px) {
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  }
  footer h4 {
    color: white;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin: 0 0 16px;
  }
  footer .brand .he, footer .brand .latin {
    color: white;
  }
  footer .desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
  }
  footer ul { list-style: none; padding: 0; margin: 0; }
  footer ul li { margin-bottom: 10px; font-size: 14px; }
  footer ul li a:hover { color: white; }
  .footer-bot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 40px;
    font-size: 13px;
    flex-wrap: wrap; gap: 16px;
  }
  .footer-bot .he {
    font-family: var(--font-hebrew);
    direction: rtl;
    color: white;
    opacity: 0.7;
  }

  /* ─────────  CHAÎNE DE TEHILIM  ───────── */
  .chaine {
    background: linear-gradient(180deg, #EBF0F8 0%, #F4F7FB 100%);
    position: relative;
    overflow: hidden;
  }
  .chaine::before {
    content: "ביחד";
    position: absolute;
    font-family: var(--font-hebrew);
    font-size: 420px;
    opacity: 0.035;
    color: var(--blue-800);
    line-height: 1;
    font-weight: 900;
    top: 40px; right: -60px;
    transform: rotate(4deg);
    pointer-events: none;
  }
  .badge-new {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--blue-700);
    color: white;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase;
    vertical-align: middle;
    margin-left: 6px;
  }
  .chaine-phones {
    display: flex; justify-content: center; align-items: flex-start;
    gap: 36px; flex-wrap: wrap;
    margin-bottom: 72px;
    position: relative; z-index: 2;
  }
  .chaine-phone { width: min(250px, 26vw); text-align: center; }
  .chaine-phone.lift { margin-top: -22px; }
  .chaine-phone .frame {
    background: #0B1230;
    padding: 8px;
    border-radius: 38px;
    box-shadow:
      0 1px 1px rgba(255,255,255,0.6) inset,
      0 40px 80px -20px rgba(15, 31, 92, 0.3),
      0 20px 40px -10px rgba(15, 31, 92, 0.18);
  }
  .chaine-phone .screen {
    border-radius: 30px;
    overflow: hidden;
    background: #F4F7FB;
    /* même ratio que les captures iPhone (1320×2868) : aucun rognage */
    aspect-ratio: 1320/2868;
  }
  .chaine-phone .screen img { width: 100%; height: 100%; object-fit: cover; }
  .chaine-phone .cap {
    margin-top: 16px;
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
    letter-spacing: 0.3px;
  }
  .chaine-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
    position: relative; z-index: 2;
  }
  .chaine-step {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .chaine-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 40px -16px rgba(15, 31, 92, 0.15);
  }
  .chaine-step .n {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 44px;
    color: var(--blue-700);
    line-height: 1;
    margin-bottom: 14px;
  }
  .chaine-step h4 {
    margin: 0 0 8px;
    font-size: 17px; font-weight: 700;
    color: var(--ink);
  }
  .chaine-step p {
    margin: 0;
    font-size: 14px; line-height: 1.6;
    color: var(--ink-2);
  }
  @media (max-width: 800px) {
    .chaine-steps { grid-template-columns: 1fr; }
    .chaine-phone { width: min(70vw, 280px); }
    .chaine-phone.lift { margin-top: 0; }
    .chaine::before { font-size: 220px; }
  }

  /* Reveal animation */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

/* ─────────  H1 HERO (SEO : les deux lignes dans un seul h1)  ───────── */
.hero h1 { margin: 0; }
.hero h1 .hero-he, .hero h1 .hero-latin { display: block; }

/* ─────────  SÉLECTEUR DE LANGUE  ───────── */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  background: white; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
}
.lang-switch a {
  padding: 6px 10px; border-radius: 999px;
  color: var(--ink-3); transition: all .15s ease;
}
.lang-switch a:hover { color: var(--blue-700); }
.lang-switch a.active { background: var(--blue-800); color: white; }
@media (max-width: 760px) { .lang-switch { display: inline-flex; } }

/* ─────────  RTL (page hébreu)  ───────── */
[dir="rtl"] body, [dir="rtl"] { font-family: var(--font-hebrew-sans, var(--font-sans)); }
[dir="rtl"] .hero-latin,
[dir="rtl"] .tribute h2, [dir="rtl"] .section-head h2,
[dir="rtl"] .download h2, [dir="rtl"] .feat-card h3,
[dir="rtl"] .letter-detail .name, [dir="rtl"] .chaine-step .n {
  font-family: var(--font-hebrew);
  font-style: normal;
}
[dir="rtl"] .tribute-quote {
  border-left: none;
  border-right: 2px solid var(--blue-700);
  border-radius: 12px 0 0 12px;
}
[dir="rtl"] .letter-card .num { right: auto; left: 8px; }
