/* Bani's site: the app's own colors, Rubik, rounded tiles and the sky by the hour. */
@font-face { font-family: 'Rubik'; font-weight: 400; font-display: swap; src: url('/fonts/rubik-400.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-weight: 500; font-display: swap; src: url('/fonts/rubik-500.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-weight: 700; font-display: swap; src: url('/fonts/rubik-700.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-weight: 800; font-display: swap; src: url('/fonts/rubik-800.woff2') format('woff2'); }

:root {
  --bg: #FBF6F2;
  --surface: #FFFFFF;
  --muted: #F3EBE4;
  --border: #EADFD6;
  --text: #271D1F;
  --text-2: #5C4D50;
  --text-3: #7A6A6D;
  --tint: #2F6DB0;
  --tint-soft: #E7F0FA;
  --bunny: #7FB3EA;
  --word: #46536B;
  --rose-soft: #FAEEF5;
  --rose-mid: #EBCDE0;
  --rose-deep: #6E2D58;
  --night: #1A2A4A;
  --shadow: 106, 42, 42;
  --sky1: #F7E5B0;
  --sky2: #EFEADB;
  --sky3: #CFDDEE;
  --stars: 0;
  --ink: var(--text);
  --ink-2: var(--text-2);
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120E17;
    --surface: #1D1724;
    --muted: #272030;
    --border: #30283A;
    --text: #FBF3F6;
    --text-2: #E4D7E0;
    --text-3: #C2B4BE;
    --tint: #9CC6F2;
    --tint-soft: #1C2838;
    --bunny: #96C3F5;
    --word: #DEE7F8;
    --rose-soft: #33192B;
    --rose-mid: #4D2742;
    --rose-deep: #F3CFE6;
    --shadow: 0, 0, 0;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--tint); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--surface); padding: 10px 16px; border-radius: 12px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.015em; }
[lang="he"] h1, [lang="he"] h2 { letter-spacing: -0.005em; }
p { margin: 0; }

/* ── The logo, as in the app: the bunny and BANI; at night the bunny is the moon ── */
.logo { display: inline-flex; align-items: center; gap: 0.32em; text-decoration: none; direction: ltr; color: inherit; }
.logo svg { display: block; }
.logo .b { width: 0.9em; height: 1.385em; fill: var(--bunny); transition: fill 0.8s ease, filter 0.8s ease; }
.logo .w { width: 2.95em; height: 0.8em; fill: var(--word); transition: fill 0.8s ease; }
.on-dark .logo .w { fill: rgba(222, 231, 248, 0.9); }
.moon .logo .b { fill: #FFF4D6; filter: drop-shadow(0 0 6px rgba(255, 240, 200, 0.75)) drop-shadow(0 0 18px rgba(255, 236, 190, 0.45)); }

/* ── Header ── */
.top { position: absolute; inset: 0 0 auto; z-index: 20; }
.page .top { position: relative; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.top .logo { font-size: 30px; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background 0.2s; }
.top nav a:hover { background: rgba(255, 255, 255, 0.45); }
.on-dark .top nav a { color: #F2F5FB; }
.on-dark .top nav a:hover { background: rgba(255, 255, 255, 0.12); }
.top nav a.lang { border: 1.5px solid currentColor; padding: 6px 14px; opacity: 0.85; }
.top nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.5); }
.page .top nav a:hover, .page .top nav a[aria-current="page"] { background: var(--tint-soft); }
@media (max-width: 860px) { .top nav a.hide-s { display: none; } }
@media (max-width: 420px) { .top .logo { font-size: 26px; } .top nav a { padding: 7px 10px; font-size: 15px; } }

/* ── Buttons ── */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; transition: transform 0.2s cubic-bezier(.3,.7,.4,1), box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.primary { background: var(--tint); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 109, 176, 0.7); }
.btn.soft { background: rgba(255, 255, 255, 0.7); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.on-dark .btn.soft { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); font-weight: 500; font-size: 16px; color: var(--ink); }
.on-dark .pill { background: rgba(255, 255, 255, 0.12); color: #F2F5FB; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #38A064; box-shadow: 0 0 0 4px rgba(56, 160, 100, 0.18); }

/* ── The sky (hero and the hour show) ── */
.sky { position: relative; background: linear-gradient(160deg, var(--sky1) 0%, var(--sky2) 48%, var(--sky3) 100%); color: var(--ink); overflow: hidden; isolation: isolate; }
.sky.on-dark { --ink: #FFFFFF; --ink-2: rgba(236, 241, 250, 0.86); }
.sky::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: var(--stars); transition: opacity 1s;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 28% 8%, #fff 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 44% 26%, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 63% 12%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 78% 30%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 90% 9%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 7% 44%, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 36% 52%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 85% 50%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 55% 40%, #fff 50%, transparent 52%),
    radial-gradient(1.1px 1.1px at 20% 64%, #fff 50%, transparent 52%), radial-gradient(1.3px 1.3px at 70% 66%, #fff 50%, transparent 52%);
}
.sky .glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; border-radius: 50%; inset-inline-end: -20vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), transparent); opacity: calc(1 - var(--stars)); pointer-events: none; }

/* ── Hero ── */
.hero { min-height: min(100svh, 980px); display: flex; align-items: stretch; }
.hero .wrap { width: 100%; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; padding-top: 110px; }
.hero h1 { font-size: clamp(52px, 7.4vw, 104px); line-height: 0.98; color: var(--ink); }
.hero .lead { font-size: clamp(19px, 1.7vw, 23px); color: var(--ink-2); margin: 26px 0 34px; max-width: 30ch; line-height: 1.5; }
.hero .note { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.hero .phone-wrap { justify-self: center; align-self: end; position: relative; width: min(400px, 80vw); margin-bottom: -170px; }
.hero .phone.front { width: 100%; transform: rotate(-3deg); position: relative; z-index: 2; }
.hero .phone.back { position: absolute; width: 86%; top: 70px; inset-inline-end: -44%; transform: rotate(-11deg); opacity: 0.96; z-index: 1; }
[dir="ltr"] .hero .phone.front { transform: rotate(3deg); }
[dir="ltr"] .hero .phone.back { transform: rotate(11deg); }
.hero .sky-now { position: absolute; bottom: 22px; inset-inline-start: 24px; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.hero .sky-now b { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 120px; gap: 44px; }
  .hero .lead { margin-inline: auto; }
  .hero .btns { justify-content: center; }
  .hero .phone-wrap { margin-bottom: -48%; width: min(330px, 76vw); }
  .hero .phone.front { transform: none !important; }
  .hero .phone.back { width: 80%; top: 60px; inset-inline-end: -40%; }
  .hero .sky-now { display: none; }
}

/* ── Phones ── */
.phone { position: relative; aspect-ratio: 390 / 844; border-radius: 15% / 7%; padding: 3.2%; background: #16131B; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.12) inset, 0 40px 80px -30px rgba(var(--shadow), 0.45), 0 18px 40px -24px rgba(20, 20, 40, 0.5); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: #FBF6F2; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.7s ease; }

/* ── Sections ── */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.kicker { display: inline-block; font-size: 15px; font-weight: 700; color: var(--tint); margin-bottom: 18px; letter-spacing: 0.02em; }
.on-dark .kicker { color: #BCDAF8; }
.h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.06; text-wrap: balance; }
.lead2 { text-wrap: pretty; font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); margin-top: 22px; max-width: 46ch; line-height: 1.6; }
.on-dark .lead2 { color: var(--ink-2); }

/* One tap: three phones */
.taps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 70px; }
.taps figure { margin: 0; }
.taps .phone { width: 100%; max-width: 330px; margin: 0 auto; }
.taps figcaption { max-width: 330px; margin: 26px auto 0; }
.taps h3 { font-size: 22px; font-weight: 700; }
.taps p { color: var(--text-2); margin-top: 6px; font-size: 17px; }
.taps figure:nth-child(2) { transform: translateY(48px); }
@media (max-width: 860px) {
  .taps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-inline: -24px; padding: 0 24px 12px; scrollbar-width: none; }
  .taps::-webkit-scrollbar { display: none; }
  .taps figure { flex: 0 0 72%; scroll-snap-align: center; transform: none !important; }
}

/* The hour show */
.hours { padding: clamp(80px, 10vw, 140px) 0; transition: color 0.6s; }
.hours .wrap { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'text stage' 'dial stage'; column-gap: 60px; align-items: center; }
.hours .text { grid-area: text; align-self: end; }
.hours .stage { grid-area: stage; justify-self: center; width: min(340px, 74vw); }
.dial { grid-area: dial; align-self: start; margin-top: 44px; max-width: 460px; }
.dial input { width: 100%; appearance: none; -webkit-appearance: none; height: 44px; background: transparent; cursor: grab; }
[dir="rtl"] .dial input::-webkit-slider-runnable-track { transform: scaleX(-1); }
[dir="rtl"] .dial input::-moz-range-track { transform: scaleX(-1); }
.dial input:active { cursor: grabbing; }
.dial input::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #14213C 0%, #2E4472 25%, #F7E5B0 30%, #EFEADB 50%, #EAD3A0 72%, #5A76A2 78%, #3F5C8C 94%, #14213C 100%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.5) inset; }
.dial input::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #14213C 0%, #2E4472 25%, #F7E5B0 30%, #EFEADB 50%, #EAD3A0 72%, #5A76A2 78%, #3F5C8C 94%, #14213C 100%); }
.dial input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.35); }
.dial input::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.35); }
.dial .now { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.dial .clock { font-size: 44px; font-weight: 800; font-variant-numeric: tabular-nums; direction: ltr; }
.dial .part { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.dial .stops { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.dial .stops button { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, 0.4); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.on-dark .dial .stops button { background: rgba(255, 255, 255, 0.12); }
.dial .stops button[aria-pressed="true"] { background: #fff; color: #1A2A4A; }
.dial .hint { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 900px) { .hours .wrap { grid-template-columns: 1fr; grid-template-areas: 'text' 'stage' 'dial'; row-gap: 44px; } .dial { margin-top: 0; } }

/* Family */
.family .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.family .phone { width: min(340px, 74vw); justify-self: center; transform: rotate(3deg); }
[dir="ltr"] .family .phone { transform: rotate(-3deg); }
.bullets { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.bullets svg { width: 18px; height: 28px; flex: none; margin-top: 1px; }
.bullets li:nth-child(1) svg { fill: #EE9466; }
.bullets li:nth-child(2) svg { fill: #3B86D9; }
.bullets li:nth-child(3) svg { fill: #38A064; }
@media (max-width: 900px) { .family .wrap { grid-template-columns: 1fr; gap: 50px; } .family .phone { order: 2; } }

/* More: tiles in the app's own colors */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.tile { border-radius: 30px; padding: 28px 28px 30px; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, var(--s) 0%, var(--m) 100%); box-shadow: 0 20px 40px -28px var(--g); color: var(--k); }
.tile { position: relative; }
.tile .chip { position: absolute; top: 22px; inset-inline-start: 22px; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; color: var(--g); box-shadow: 0 6px 14px -8px var(--g); }
.tile .chip svg { width: 26px; height: 26px; }
.tile h3 { font-size: 24px; font-weight: 700; }
.tile p { margin-top: 6px; font-size: 16.5px; opacity: 0.82; }
.tile.growth { --s: #E5F6EA; --m: #B5E3C3; --g: #38A064; --k: #08190F; }
.tile.medical { --s: #FDE9EE; --m: #F8BFCC; --g: #D9506F; --k: #2A0B14; }
.tile.care { --s: #E7F5FC; --m: #BCE1F3; --g: #3B98C6; --k: #0C2B3B; }
.tile.feeding { --s: #FFF0E5; --m: #FFD4B8; --g: #EE9466; --k: #2A140A; }
.tile.sleep { --s: #EEEAFE; --m: #CBC1FA; --g: #6E5BE6; --k: #150F30; }
.tile.diaper { --s: #E6F1FD; --m: #B3D4F7; --g: #3B86D9; --k: #0A1A2E; }
@media (prefers-color-scheme: dark) {
  .tile.growth { --s: #14301F; --m: #1E4A30; --k: #E5F6EA; }
  .tile.medical { --s: #3D1824; --m: #5C2536; --k: #FDE9EE; }
  .tile.care { --s: #13283A; --m: #1E3D55; --k: #E7F5FC; }
  .tile.feeding { --s: #3A2014; --m: #5A3220; --k: #FFF0E5; }
  .tile.sleep { --s: #231C48; --m: #352B6B; --k: #EEEAFE; }
  .tile.diaper { --s: #142640; --m: #1F3A60; --k: #E6F1FD; }
}
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 150px; } }

/* The promise: the evening sky */
.promise { background: linear-gradient(170deg, #5A76A2 0%, #3F5C8C 45%, #1A2A4A 100%); color: #fff; overflow: hidden; }
.promise::before { opacity: 0.8; }
.promise .wrap { display: grid; grid-template-columns: auto 1fr; gap: 70px; align-items: center; }
.promise .moon-bunny { width: clamp(110px, 14vw, 190px); fill: #FFF4D6; filter: drop-shadow(0 0 22px rgba(255, 240, 200, 0.55)) drop-shadow(0 0 60px rgba(255, 236, 190, 0.35)); }
.promise ul { list-style: none; margin: 0; padding: 0; }
.promise li { font-size: clamp(30px, 4.2vw, 58px); font-weight: 800; line-height: 1.12; padding: 8px 0; }
.promise li + li { color: rgba(255, 255, 255, 0.92); }
.promise a { color: #fff; display: inline-block; margin-top: 30px; font-weight: 500; }
@media (max-width: 760px) { .promise .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* Parents' corner teaser */
.corner { background: var(--rose-soft); }
.corner .kicker { color: #B35D93; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.link-card { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 230px; padding: 30px; border-radius: 30px; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: 0 24px 50px -36px rgba(110, 45, 88, 0.55); transition: transform 0.25s cubic-bezier(.3,.7,.4,1), box-shadow 0.25s; }
.link-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(110, 45, 88, 0.6); }
.link-card h3 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.link-card p { color: var(--text-2); margin-top: 10px; font-size: 16.5px; }
.link-card .go { width: 46px; height: 46px; border-radius: 50%; background: var(--rose-soft); display: grid; place-items: center; color: #B35D93; }
.link-card .go svg { width: 20px; height: 20px; }
[dir="rtl"] .go svg { transform: scaleX(-1); }
@media (max-width: 900px) { .links { grid-template-columns: 1fr; } .link-card { min-height: 0; } }

/* The end */
.end { text-align: center; }
.end .hop { width: 96px; height: 148px; margin: 0 auto 34px; fill: var(--bunny); animation: hop 3.4s cubic-bezier(.3,.7,.4,1) infinite; }
@keyframes hop { 0%, 76%, 100% { transform: translateY(0) scaleY(1); } 80% { transform: translateY(4px) scaleY(0.94); } 88% { transform: translateY(-22px) scaleY(1.03); } 95% { transform: translateY(0) scaleY(0.97); } }
.end .lead2 { margin-inline: auto; }
.end .btns { justify-content: center; margin-top: 36px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; font-size: 15.5px; color: var(--text-2); }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
footer .logo { font-size: 28px; }
footer .line { margin-top: 14px; max-width: 32ch; }
footer h4 { margin: 0 0 12px; font-size: 15px; color: var(--text); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--tint); }
footer .fine { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > :first-child { grid-column: 1 / -1; } }

/* ── Inner pages ── */
.page-head { background: linear-gradient(160deg, #F7E5B0 0%, #EFEADB 50%, #CFDDEE 100%); padding: 0 0 70px; }
@media (prefers-color-scheme: dark) { .page-head { background: linear-gradient(160deg, #36301E 0%, #24262E 50%, #182239 100%); } }
.page-head.rose { background: linear-gradient(160deg, #FAEEF5 0%, #F6EEE9 55%, #E7F0FA 100%); }
@media (prefers-color-scheme: dark) { .page-head.rose { background: linear-gradient(160deg, #33192B 0%, #24202A 55%, #1C2838 100%); } }
.page-head .narrow { padding-top: 40px; }
.page-head h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
.page-head .lead2 { margin-top: 18px; }
.crumb { font-size: 15px; margin-bottom: 18px; display: inline-flex; gap: 8px; color: var(--text-2); }
.crumb a { color: var(--text-2); text-decoration: none; }
.crumb a:hover { color: var(--tint); }
.content { padding: 56px 0 100px; }
.prose h2 { font-size: 28px; font-weight: 700; margin: 46px 0 12px; line-height: 1.25; }
.prose h3 { font-size: 21px; font-weight: 700; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-inline-start: 24px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }
.updated { font-size: 15px; color: var(--text-3); margin-top: 16px; }
.box { border-radius: 24px; padding: 22px 26px; margin: 26px 0; background: var(--tint-soft); }
.box.warn { background: #FDE9EE; color: #5C1A2C; }
.box.warn p, .box.warn li { color: #5C1A2C; }
@media (prefers-color-scheme: dark) { .box.warn { background: #3D1824; } .box.warn p, .box.warn li { color: #FDE9EE; } }
.box h3 { margin-top: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { text-decoration: none; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); color: var(--text); font-size: 15px; font-weight: 500; }
@media (prefers-color-scheme: dark) { .toc a { background: rgba(255, 255, 255, 0.08); } }

/* Guides */
.word { border-radius: 30px; padding: 34px; background: var(--surface); box-shadow: 0 24px 50px -36px rgba(110, 45, 88, 0.5); margin-top: -40px; position: relative; }
.word .label { font-size: 14px; font-weight: 700; color: #B35D93; }
.word blockquote { margin: 10px 0 18px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.35; color: var(--text); }
.word button { font: inherit; font-size: 15px; font-weight: 500; color: #B35D93; background: var(--rose-soft); border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.gcard { display: block; text-decoration: none; color: var(--text); border-radius: 24px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); transition: transform 0.2s, border-color 0.2s; }
.gcard:hover { transform: translateY(-2px); border-color: var(--rose-mid); }
.gcard h3 { font-size: 19px; font-weight: 700; margin: 0; }
.gcard p { font-size: 15.5px; color: var(--text-2); margin-top: 4px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 52px; min-height: 36px; margin-top: 16px !important; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--rose-soft); color: #B35D93; font-weight: 700; display: grid; place-items: center; font-size: 16px; }
details { border-top: 1px solid var(--border); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 400; font-size: 24px; line-height: 1; color: var(--text-3); }
details[open] summary::after { content: '–'; }
details p { margin-top: 10px; }
.sources { font-size: 14.5px; color: var(--text-3); margin-top: 30px; }

/* The age tool */
.tool { border-radius: 30px; padding: 30px; background: var(--surface); box-shadow: 0 24px 50px -36px rgba(47, 109, 176, 0.5); margin-top: -40px; position: relative; }
.tool label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.tool .row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
.tool .field { flex: 1 1 200px; }
.tool input[type="date"], .tool select { width: 100%; font: inherit; font-size: 18px; padding: 13px 16px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); min-height: 54px; }
.chips { display: flex; gap: 8px; }
.chips button { font: inherit; font-size: 16px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; min-height: 54px; }
.chips button[aria-pressed="true"] { background: var(--tint); border-color: var(--tint); color: #fff; }
.tool .private { font-size: 14px; color: var(--text-3); margin-top: 16px; }
.result { margin-top: 30px; display: grid; gap: 14px; }
.result[hidden] { display: none; }
.age-big { border-radius: 26px; padding: 28px; background: linear-gradient(160deg, #F7E5B0 0%, #EFEADB 50%, #CFDDEE 100%); color: #271D1F; }
.age-big .n { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.1; }
.age-big .sub { margin-top: 8px; font-size: 17px; color: #5C4D50; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { border-radius: 22px; padding: 20px; background: var(--bg); border: 1px solid var(--border); }
.fact b { display: block; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14.5px; color: var(--text-2); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr 1fr; } }
.rcard { border-radius: 22px; padding: 22px 24px; background: var(--bg); border: 1px solid var(--border); }
.rcard h3 { font-size: 15px; font-weight: 700; color: var(--tint); margin: 0 0 6px; }
.rcard .t { font-size: 20px; font-weight: 700; color: var(--text); }
.rcard ul { margin: 8px 0 0; padding-inline-start: 22px; color: var(--text-2); }
.rcard p { color: var(--text-2); margin-top: 6px; }
.rcard button { margin-top: 12px; font: inherit; font-size: 15px; color: var(--tint); background: var(--tint-soft); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }

/* Tipat Halav */
.visits { list-style: none; padding: 0; margin: 20px 0 0; position: relative; }
.visits::before { content: ''; position: absolute; inset-inline-start: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.visits li { position: relative; padding-inline-start: 58px; padding-bottom: 26px; }
.visits li::before { content: ''; position: absolute; inset-inline-start: 11px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid #3B98C6; }
.visits h3 { margin: 0; font-size: 20px; }
.visits .when { font-size: 15px; color: var(--text-3); }
.visits ul { margin-top: 6px; }
.out { display: grid; gap: 10px; margin-top: 18px; }
.out a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.out a b { display: block; font-size: 18px; }
.out a span { font-size: 15px; color: var(--text-2); }
.out a svg { width: 18px; height: 18px; flex: none; color: var(--text-3); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .end .hop { animation: none; }
  .phone img, .logo .b { transition: none; }
}
@media (max-width: 600px) { .fact:nth-child(3) { grid-column: 1 / -1; } }

/* The sky keeps its own colors in dark mode too: by day dark text, by night light. */
.sky:not(.on-dark), .home .top:not(.on-dark) { --ink: #271D1F; --ink-2: #5C4D50; --word: #46536B; --bunny: #7FB3EA; }
.sky:not(.on-dark) .kicker { color: #2F6DB0; }
.sky:not(.on-dark) .btn.soft { color: #271D1F; background: rgba(255, 255, 255, 0.7); }
.home .top nav a { color: var(--ink); }
.tile { padding-top: 100px; }
.top.on-dark { --ink: #FFFFFF; --ink-2: rgba(236, 241, 250, 0.86); }

/* The logo and the moon bunny are English letters and shapes: they sit on the left in Hebrew too. */
[dir="rtl"] .top .wrap { flex-direction: row-reverse; }
[dir="rtl"] .promise .wrap { grid-template-columns: 1fr auto; }
[dir="rtl"] .promise .moon-bunny { order: 2; }
@media (max-width: 760px) { [dir="rtl"] .promise .wrap { grid-template-columns: 1fr; } [dir="rtl"] .promise .moon-bunny { order: 0; justify-self: end; } }
/* Lead text on a light sky keeps the sky's dark ink, also in dark mode. */
.sky:not(.on-dark) .lead2 { color: var(--ink-2); }
.end .btns { flex-wrap: wrap; }

/* The menu: links in the header on wide screens, a small menu on phones. */
.top nav .nav-links { display: flex; gap: 2px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; background: rgba(255, 255, 255, 0.5); -webkit-tap-highlight-color: transparent; }
.on-dark .menu summary { background: rgba(255, 255, 255, 0.14); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
.menu[open] summary i:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu .panel { position: absolute; top: 56px; inset-inline-end: 0; min-width: 220px; display: grid; gap: 2px; padding: 8px; border-radius: 22px; background: var(--surface); box-shadow: 0 24px 50px -20px rgba(var(--shadow), 0.45), 0 0 0 1px var(--border); transform-origin: top left; animation: menu-in 0.3s cubic-bezier(0.23, 1, 0.32, 1); }
[dir="ltr"] .menu .panel { transform-origin: top right; }
.top .menu .panel a { color: var(--text); padding: 14px 16px; border-radius: 14px; font-size: 17px; }
.top .menu .panel a:hover, .top .menu .panel a[aria-current="page"] { background: var(--muted); }
@keyframes menu-in { from { opacity: 0; transform: scale(0.94) translateY(-6px); } }
@media (max-width: 860px) { .top nav .nav-links { display: none; } .menu { display: block; } }
@media (prefers-reduced-motion: reduce) { .menu .panel { animation: none; } }

/* Why Bani */
.prose.about p { font-size: 19px; }
.values { list-style: none; padding: 0; margin: 40px auto; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.values li { padding: 24px; border-radius: 26px; background: linear-gradient(160deg, var(--c)); color: var(--card-ink); }
.values svg { width: 18px; height: 28px; fill: var(--k); opacity: 0.85; }
.values h3 { font-size: 21px; margin-top: 12px; }
.values p { color: var(--card-ink-2); margin-top: 6px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.menu, .menu:last-of-type { border: 0; padding: 0; }
.menu summary::after { content: none; }
/* In dark mode the tint is a light blue, so what sits on it is dark. */
:root { --on-tint: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root { --on-tint: #10233D; } }
.btn.primary { color: var(--on-tint); }
@media (prefers-color-scheme: dark) {
  .btn.soft { background: rgba(255, 255, 255, 0.12); color: var(--text); }
  .menu summary { background: rgba(255, 255, 255, 0.12); }
}
.menu[open] summary::after { content: none; }
.top nav { position: relative; }
.menu { position: static; }
.menu .panel { inset-inline-end: auto; inset-inline-start: 0; transform-origin: top right; }
[dir="ltr"] .menu .panel { transform-origin: top left; }

/* Bani the character (build.mjs baniBunny): breathes, blinks, perks, waves, and hops with happy eyes. */
.bani-bunny { display: block; overflow: visible; }
.bani-bunny * { transform-box: view-box; }
.bani-bunny .bb-all { transform-origin: 60px 132px; animation: bb-breathe 4.4s ease-in-out infinite; }
.bani-bunny .bb-eyes { transform-origin: 60px 64px; animation: bb-blink 3.6s infinite; transition: opacity 0.16s; }
.bani-bunny .bb-happy { opacity: 0; transition: opacity 0.16s; }
.bani-bunny .bb-ear { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bani-bunny .bb-ear.l { transform-origin: 45px 52px; }
.bani-bunny .bb-ear.r { transform-origin: 75px 52px; }
.bani-bunny .bb-paw { transform-origin: 82px 106px; }
.bani-bunny.perk .bb-ear.l, :hover > .bani-bunny .bb-ear.l { transform: rotate(-9deg) scaleY(1.06); }
.bani-bunny.perk .bb-ear.r, :hover > .bani-bunny .bb-ear.r { transform: rotate(9deg) scaleY(1.06); }
.bani-bunny.happy .bb-eyes { opacity: 0; }
.bani-bunny.happy .bb-happy { opacity: 1; }
.bani-bunny.hopping .bb-all { animation: bb-hop 0.62s; }
.bani-bunny.waving .bb-paw, .bani-bunny.wave-in .bb-paw { animation: bb-wave 1.1s ease-in-out; }
.bani-bunny.wave-in .bb-paw { animation-delay: 1.4s; }
@keyframes bb-breathe { 50% { transform: scaleY(1.025); } }
@keyframes bb-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
@keyframes bb-hop { 15% { transform: translateY(2px) scaleY(0.95); } 50% { transform: translateY(-18px) scaleY(1.03); } 78% { transform: translateY(0) scaleY(0.96); } 90% { transform: translateY(-3px); } }
@keyframes bb-wave { 18% { transform: rotate(-24deg); } 42% { transform: rotate(14deg); } 64% { transform: rotate(-19deg); } 84% { transform: rotate(10deg); } }
/* The logo's bunny jumps when tapped. */
.logo.jump .b { animation: logo-hop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: 50% 100%; }
@keyframes logo-hop { 30% { transform: translateY(-9px) rotate(-8deg) scaleY(1.06); } 60% { transform: translateY(0) scaleY(0.92); } 80% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .bani-bunny *, .logo.jump .b { animation: none !important; } }
.lost { display: block; width: 110px; height: 121px; margin: 0 auto 24px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.page-head .lost { margin: 26px 0 0; width: 84px; height: 92px; }
.lost .bani-bunny { width: 100%; height: 100%; }
