/* Postly — shared styles for blog + legal pages (brand tokens from the landing page) */
:root{
  --brand:#2E9BF7; --brand-press:#1266C9; --ink:#0F3D6E; --mut:#5E7E9E;
  --ice:#EAF5FF; --field:#F4FAFF; --line:#CFE6FB; --line-soft:#D9EAFB; --card:#FFFFFF;
  --echo:#7CC4FF;
  --f-body:'Rubik','Heebo',-apple-system,'Segoe UI',sans-serif;
  --f-num:'Heebo','Rubik',sans-serif;
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{background:var(--ice);}
body{
  margin:0; color:var(--ink); font-family:var(--f-body); font-size:17px; line-height:1.75;
  direction:rtl; text-align:right; -webkit-font-smoothing:antialiased;
}
img,svg{display:block; max-width:100%;}
a{color:var(--brand-press);}
.measure{max-width:820px; margin-inline:auto; padding-inline:24px;}

/* header */
.nav{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.nav-in{display:flex; align-items:center; gap:24px; height:64px; max-width:1120px; margin-inline:auto; padding-inline:24px;}
.logo{display:flex; align-items:center; gap:10px; font-weight:600; font-size:19px; color:var(--ink); text-decoration:none;}
.logo svg{width:32px; height:32px;}
.logo .latin{font-family:var(--f-num); font-size:9px; font-weight:700; letter-spacing:.3em; color:var(--brand-press); display:block; line-height:1; margin-top:2px; text-transform:uppercase;}
.nav .cta{
  margin-inline-start:auto; display:inline-flex; align-items:center; gap:8px;
  background:var(--brand); color:#fff; text-decoration:none; font-weight:600; font-size:14.5px;
  border-radius:11px; padding:10px 18px; box-shadow:0 2px 0 var(--brand-press), 0 10px 22px rgba(46,155,247,.3);
  transition:background .15s ease, transform .15s ease;
}
.nav .cta:hover{background:var(--brand-press); transform:translateY(-1px);}

/* article shell */
.page{padding:56px 0 40px;}
.crumbs{font-size:13.5px; color:var(--mut); margin-bottom:18px;}
.crumbs a{color:var(--mut);}
h1{font-size:clamp(30px,5vw,44px); line-height:1.18; letter-spacing:-0.015em; font-weight:600; margin:0 0 14px; text-wrap:balance;}
.lede{font-size:19px; color:var(--mut); line-height:1.7; margin:0 0 10px;}
.byline{font-size:13.5px; color:var(--mut); border-bottom:1px solid var(--line); padding-bottom:22px; margin-bottom:34px;}
article h2{font-size:26px; font-weight:600; letter-spacing:-0.01em; margin:44px 0 12px;}
article h3{font-size:20px; font-weight:600; margin:32px 0 8px;}
article p{margin:0 0 18px;}
article ul,article ol{padding-inline-start:22px; margin:0 0 18px; display:grid; gap:8px;}
article b,article strong{color:var(--ink); font-weight:600;}
article .tip{
  background:var(--card); border:1px solid var(--line); border-inline-start:4px solid var(--brand);
  border-radius:12px; padding:16px 18px; margin:22px 0; font-size:15.5px;
}

/* cta box */
.ctabox{
  margin:48px 0 10px; border-radius:18px; padding:34px 30px; text-align:center; color:#fff;
  background:linear-gradient(135deg,#2E9BF7,#1266C9 80%);
  box-shadow:0 24px 60px rgba(18,102,201,.3);
}
.ctabox h2{margin:0 0 8px; font-size:24px; color:#fff;}
.ctabox p{margin:0 auto 20px; color:#D6EBFF; max-width:34em; font-size:16px;}
.ctabox a{
  display:inline-block; background:#fff; color:var(--brand-press); text-decoration:none;
  font-weight:600; font-size:16px; border-radius:12px; padding:13px 28px;
}

/* blog cards (index) */
.grid{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:34px;}
@media (max-width:720px){.grid{grid-template-columns:1fr;}}
.bpost{
  display:block; background:var(--card); border:1px solid var(--line-soft); border-radius:16px;
  padding:26px 24px; text-decoration:none; color:var(--ink);
  box-shadow:0 2px 6px rgba(15,61,110,.05), 0 16px 40px rgba(15,61,110,.08);
  transition:transform .2s ease, border-color .2s ease;
}
.bpost:hover{transform:translateY(-4px); border-color:var(--echo);}
.bpost .tag{font-family:var(--f-num); font-size:11.5px; font-weight:700; letter-spacing:.12em; color:var(--brand-press); text-transform:uppercase;}
.bpost h2{font-size:20px; margin:10px 0 8px; line-height:1.35;}
.bpost p{color:var(--mut); font-size:14.5px; margin:0; line-height:1.65;}
.bpost .more{display:inline-block; margin-top:14px; font-weight:600; font-size:14px; color:var(--brand-press);}

/* article lede */
.lede{font-size:20px; color:var(--mut); line-height:1.7; margin:0 0 4px; font-weight:400;}
article .lede{border-bottom:1px solid var(--line); padding-bottom:22px; margin-bottom:8px;}

/* table of contents */
.toc{background:var(--field); border:1px solid var(--line); border-radius:14px; padding:20px 24px; margin:26px 0 34px;}
.toc-h{font-family:var(--f-num); font-size:12.5px; font-weight:700; letter-spacing:.1em; color:var(--brand-press); text-transform:uppercase; margin-bottom:12px;}
.toc ol{margin:0; padding-inline-start:20px; display:grid; gap:8px; font-size:15.5px;}
.toc a{color:var(--ink); text-decoration:none;}
.toc a:hover{color:var(--brand-press); text-decoration:underline;}
article h2{scroll-margin-top:80px;}

/* in-article FAQ (accordion) */
.art-faq{margin-top:44px;}
.art-faq h2{margin-bottom:16px;}
.art-faq .faq-list{display:grid; gap:10px;}
.art-faq details{background:var(--card); border:1px solid var(--line-soft); border-radius:12px; overflow:hidden;}
.art-faq details[open]{border-color:var(--echo);}
.art-faq summary{cursor:pointer; list-style:none; display:flex; align-items:center; gap:12px; padding:16px 18px; font-weight:600; font-size:16px;}
.art-faq summary::-webkit-details-marker{display:none;}
.art-faq summary .pm{flex:none; margin-inline-start:auto; width:24px; height:24px; border-radius:8px; background:var(--ice); color:var(--brand-press); display:flex; align-items:center; justify-content:center; font-family:var(--f-num); font-weight:700; font-size:15px; transition:transform .25s ease;}
.art-faq details[open] summary .pm{transform:rotate(45deg);}
.art-faq .ans{padding:0 18px 18px; color:var(--mut); font-size:15px; line-height:1.7;}
.art-faq .ans a{color:var(--brand-press);}

/* related */
.related{margin-top:44px; border-top:1px solid var(--line); padding-top:26px;}
.related h2{font-size:19px; margin:0 0 14px;}
.related ul{list-style:none; padding:0; margin:0; display:grid; gap:10px; font-size:16px;}
.related li a{color:var(--ink); text-decoration:none; display:flex; gap:10px; align-items:baseline;}
.related li a:hover{color:var(--brand-press);}
.related .rt{font-family:var(--f-num); font-size:10.5px; font-weight:700; letter-spacing:.08em; color:var(--brand-press); background:var(--ice); border-radius:99px; padding:3px 9px; text-transform:uppercase; flex:none;}

/* footer */
.foot{border-top:1px solid var(--line); background:rgba(255,255,255,.6); padding:34px 0 40px; margin-top:56px; font-size:13.5px; color:var(--mut);}
.foot .measure{display:grid; gap:10px;}
.foot nav{display:flex; gap:18px; flex-wrap:wrap;}
.foot a{color:var(--mut);}
