/* KikChat content pages (blog + information pages) - one shared stylesheet. KIK_PAGES_V1, 2026-11-12.
   Used only by the static pages under /blog/ and the information folders; the chat itself never loads this file. */
:root{
  --bg:#e7f3ff; --bg-top:#d3eaff; --ink:#14324f; --ink-2:#405a73; --ink-3:#5d7388;
  --h1:#0a4f96; --h2:#0b6cae; --link:#0a66a3; --turq-1:#00b4d8; --turq-2:#0096c7; --turq-ink:#006f93;
  --card:#ffffff; --tint:#e6f5fb; --tint-2:#f1f8ff; --line:#d2e4f3; --note:#fff8e1; --note-line:#f0d98a;
  --shadow:0 10px 28px rgba(16,82,140,.10); --shadow-s:0 4px 14px rgba(16,82,140,.08);
  --display:"Secular One","Arial Hebrew",Arial,sans-serif; --body:"Assistant","Segoe UI",Arial,sans-serif;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; direction:rtl; text-align:right; color:var(--ink);
  font:400 1.0625rem/1.75 var(--body);
  background:linear-gradient(180deg, var(--bg-top) 0, var(--bg) 22rem, #eef7ff 100%) no-repeat #eef7ff;
}
img{ max-width:100%; height:auto; }
a{ color:var(--link); text-underline-offset:.18em; }
a:hover{ color:var(--h1); }
a:focus-visible, summary:focus-visible{ outline:3px solid #ffb703; outline-offset:3px; border-radius:6px; }
h1,h2,h3,p,ul,ol{ margin:0; }
.wrap{ max-width:58rem; margin:0 auto; padding-left:max(1rem, env(safe-area-inset-left, 0px)); padding-right:max(1rem, env(safe-area-inset-right, 0px)); }
.skip{ position:absolute; right:-999rem; top:0; background:#fff; padding:.5rem 1rem; z-index:10; }
.skip:focus{ right:.5rem; top:.5rem; }

/* header */
.site-head{ background:rgba(255,255,255,.86); border-bottom:1px solid var(--line); }
.site-head .wrap{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem 1.2rem; padding-block:.7rem; }
/* the site's own logo file (default_images/logo.png), unchanged; a click returns to the home page */
.brand{ display:block; flex:0 0 auto; line-height:0; border-radius:.6rem; box-shadow:0 4px 12px rgba(16,82,140,.16); }
.brand img{ display:block; height:2.5rem; width:auto; border-radius:.6rem; }
@media (min-width:760px){ .brand img{ height:2.9rem; } }
/* phone: name and entry button on the first line, the menu on one line under them (it scrolls sideways if needed) */
.site-nav{ order:3; width:100%; display:flex; flex-wrap:nowrap; gap:0 1.1rem; font-size:1rem; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
.site-nav::-webkit-scrollbar{ display:none; }
.site-head .btn{ order:2; }
@media (min-width:760px){
  .site-nav{ order:0; width:auto; flex-wrap:wrap; overflow:visible; }
  .site-head .btn{ order:0; }
}
.site-nav a{ color:var(--ink); font-weight:600; text-decoration:none; padding:.3rem 0; }
.site-nav a:hover{ color:var(--h1); text-decoration:underline; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; min-height:2.9rem; padding:.55rem 1.6rem; border-radius:.75rem;
  font:700 1.1rem/1.2 var(--body); color:#fff; text-decoration:none;
  background:linear-gradient(135deg, var(--turq-1) 0%, var(--turq-2) 100%); box-shadow:0 8px 20px rgba(0,150,199,.30);
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn:hover{ color:#fff; transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,150,199,.40); }
.btn.small{ min-height:2.4rem; padding:.35rem 1.1rem; font-size:1rem; box-shadow:none; }

/* page frame */
main{ display:grid; gap:1.25rem; padding-block:1.1rem 2.2rem; }
.crumbs{ font-size:.92rem; color:var(--ink-3); }
.crumbs a{ color:var(--ink-2); }
.crumbs span[aria-hidden]{ margin:0 .35rem; }
.card{ background:var(--card); border-radius:1.25rem; padding:1.3rem 1.15rem; box-shadow:var(--shadow); }
.hero-card{ background:var(--card); border-radius:1.4rem; padding:1.5rem 1.15rem 1.4rem; box-shadow:var(--shadow); border-top:.35rem solid var(--turq-1); display:grid; gap:.8rem; }
h1{ font:400 clamp(1.75rem, 5.6vw, 2.6rem)/1.22 var(--display); color:var(--h1); text-wrap:balance; }
.lead{ font-size:1.14rem; color:var(--ink); max-width:44rem; }
.meta-line{ font-size:.92rem; color:var(--ink-3); }
.indep{ background:var(--note); border:1px solid var(--note-line); border-radius:.8rem; padding:.6rem .85rem; font-size:.98rem; color:#4a3b00; max-width:44rem; }
.cta-row{ display:flex; flex-wrap:wrap; align-items:center; gap:.7rem 1.2rem; margin-top:.2rem; }
.cta-row small{ color:var(--ink-3); font-size:.92rem; }

/* article text */
.prose{ display:grid; gap:.85rem; }
.prose > *{ max-width:44rem; min-width:0; }
.prose h2{ font:400 clamp(1.35rem, 3.8vw, 1.7rem)/1.3 var(--display); color:var(--h2); margin-top:.9rem; text-wrap:balance; scroll-margin-top:1rem; }
.prose > h2:first-child{ margin-top:0; }
.prose h3{ font:700 1.16rem/1.4 var(--body); color:var(--h1); margin-top:.35rem; }
.prose p{ color:var(--ink-2); }
.prose strong{ color:var(--ink); }
.prose ul, .prose ol{ padding-right:1.35rem; color:var(--ink-2); display:grid; gap:.35rem; }
.prose li::marker{ color:var(--turq-2); font-weight:700; }
.prose blockquote{ margin:0; padding:.7rem 1rem; background:var(--tint-2); border-right:.3rem solid var(--turq-1); border-radius:.6rem; color:var(--ink); }
.tbl{ max-width:100%; overflow-x:auto; border:1px solid var(--line); border-radius:.9rem; }
.tbl table{ width:100%; border-collapse:collapse; font-size:.98rem; min-width:26rem; }
.tbl th, .tbl td{ padding:.6rem .8rem; text-align:right; vertical-align:top; border-bottom:1px solid var(--line); }
.tbl thead th{ background:var(--tint); color:var(--h1); font-weight:700; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th{ border-bottom:0; }
.tbl tbody th{ color:var(--ink); font-weight:700; background:var(--tint-2); }

/* feature grid and link grid (the older information pages) */
.grid{ display:grid; gap:.9rem; grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr)); max-width:none; }
.tile{ background:var(--tint-2); border:1px solid var(--line); border-radius:1rem; padding:1rem; display:grid; gap:.3rem; align-content:start; }
.tile h3{ margin:0; font:700 1.1rem/1.35 var(--body); color:var(--h1); }
.tile p{ font-size:1rem; color:var(--ink-2); }
.links{ display:grid; gap:.6rem; grid-template-columns:repeat(auto-fit, minmax(13.5rem, 1fr)); max-width:none; padding:0; list-style:none; }
.links a{ display:block; height:100%; padding:.75rem .95rem; border-radius:.85rem; background:var(--card); border:1px solid var(--line); box-shadow:var(--shadow-s); color:var(--h1); font-weight:700; text-decoration:none; }
.links a:hover{ border-color:var(--turq-1); background:var(--tint-2); }
.links a small{ display:block; margin-top:.15rem; font-weight:400; font-size:.92rem; color:var(--ink-2); }
.sec-title{ font:400 clamp(1.3rem, 3.6vw, 1.6rem)/1.3 var(--display); color:var(--h2); margin-bottom:.7rem; padding-inline:.2rem; }

/* FAQ */
.faq h2{ font:400 clamp(1.35rem, 3.8vw, 1.7rem)/1.3 var(--display); color:var(--h2); margin-bottom:.35rem; }
.faq details{ border-top:1px solid var(--line); }
.faq details:first-of-type{ border-top:0; }
.faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:.9rem; padding:.85rem .1rem; font-weight:700; font-size:1.08rem; line-height:1.45; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; flex:0 0 auto; width:1.7rem; height:1.7rem; border-radius:50%; background:var(--tint); color:var(--turq-ink); display:grid; place-items:center; font:700 1.25rem/1 var(--body); }
.faq details[open] summary::after{ content:"\2013"; }
.faq details > div{ padding:0 .1rem 1rem 2.4rem; display:grid; gap:.5rem; max-width:44rem; color:var(--ink-2); }

/* closing invitation */
.cta-band{ border-radius:1.25rem; padding:1.4rem 1.15rem; background:linear-gradient(135deg, #0a4f96 0%, #0b7fbf 60%, #00a6cc 100%); color:#fff; display:grid; gap:.7rem; justify-items:start; box-shadow:var(--shadow); }
.cta-band h2{ font:400 clamp(1.35rem, 3.8vw, 1.7rem)/1.3 var(--display); color:#fff; }
.cta-band p{ color:#eaf6ff; max-width:42rem; }
.cta-band .btn{ background:#fff; color:var(--h1); box-shadow:0 8px 20px rgba(0,0,0,.18); }
.cta-band .btn:hover{ color:var(--h1); }
.cta-band small{ color:#d6ecff; font-size:.92rem; }
.cta-band a:not(.btn){ color:#fff; }

.sources{ font-size:.95rem; box-shadow:var(--shadow-s); }
.sources h2{ font:700 1.1rem/1.4 var(--body); color:var(--ink); margin-bottom:.4rem; }
.sources ul{ padding-right:1.2rem; display:grid; gap:.25rem; color:var(--ink-2); }
.sources a{ overflow-wrap:anywhere; }

/* blog list */
.posts{ list-style:none; padding:0; display:grid; gap:.9rem; grid-template-columns:repeat(auto-fit, minmax(17rem, 1fr)); }
.posts a{ display:grid; gap:.3rem; height:100%; padding:1.05rem 1.1rem; border-radius:1.1rem; background:var(--card); box-shadow:var(--shadow-s); border:1px solid var(--line); text-decoration:none; color:var(--ink); align-content:start; }
.posts a:hover{ border-color:var(--turq-1); }
.posts b{ font-size:1.14rem; line-height:1.4; color:var(--h1); }
.posts span{ font-size:1rem; color:var(--ink-2); }

/* footer */
.site-foot{ background:#0c3f7a; color:#dcecff; margin-top:1rem; }
.site-foot .wrap{ padding-block:1.6rem 1.9rem; display:grid; gap:.9rem; }
.foot-links{ display:flex; flex-wrap:wrap; gap:.4rem 1.2rem; padding:0; list-style:none; font-size:1rem; }
.site-foot a{ color:#fff; font-weight:600; }
.site-foot p{ font-size:.93rem; color:#c5ddf7; max-width:46rem; }

@media (min-width:640px){
  .card{ padding:1.9rem 2rem; }
  .hero-card{ padding:2rem 2rem 1.8rem; }
  .cta-band{ padding:1.8rem 2rem; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
}
@media print{
  .site-head, .site-foot, .cta-band, .cta-row{ display:none; }
  body{ background:#fff; }
  .card, .hero-card{ box-shadow:none; }
}

/* KIK_ART_FIG_V1 (owner 2026-11-14): the illustration of a content page - one original drawing under the opening card
   (a time line, a list of checks or a short "what is in this page" card; files in /kik-pages/img/). */
.art-fig{ margin:1.1rem auto 1.3rem; max-width:38rem; padding:0; text-align:center; }
.art-fig img{ display:block; width:100%; height:auto; border-radius:1.2rem; box-shadow:0 .5rem 1.4rem rgba(20,60,120,.14); }
.art-fig figcaption{ margin-top:.55rem; font-size:.9rem; line-height:1.5; color:#4a5d78; }
