:root{
  --ink:#26171a;
  --ink-2:#553a3f;
  --rose:#eb879c;
  --pink:#ffb6c1;
  --link:#b3455e;
  --bg:#fdf3f5;
  --card:#fffcfd;
  --line:#f2d9e0;
  --r:18px;
  --sans:"Noto Sans Arabic","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --serif:"Noto Naskh Arabic","Songti SC","STSong","Georgia",serif;
  --sh1:0 2px 4px rgba(38,23,26,.05),0 10px 22px -12px rgba(38,23,26,.2);
  --sh2:0 2px 6px rgba(38,23,26,.07),0 22px 44px -20px rgba(38,23,26,.34);
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.8;
  color:var(--ink);
  background:
    radial-gradient(1100px 560px at 92% -6%,#ffe7ee 0%,rgba(255,231,238,0) 72%),
    radial-gradient(860px 480px at -10% 104%,#fdeef3 0%,rgba(253,238,243,0) 68%),
    var(--bg);
  min-height:100vh;
}

img{max-width:100%;height:auto;display:block}
p{margin:0 0 1em}
a{color:var(--link)}
:focus-visible{outline:3px solid var(--rose);outline-offset:3px;border-radius:8px}

.topbar{
  position:fixed;
  top:0;left:0;right:0;
  height:48px;
  z-index:60;
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 14px;
  background:linear-gradient(100deg,#26171a,#3f262b 68%,#57313a);
  color:#ffdae2;
  font-size:16px;
  letter-spacing:.08em;
  border-bottom:1px solid rgba(255,182,193,.34);
}
.topbar__mark{
  flex:none;
  width:9px;height:9px;
  border-radius:50%;
  background:var(--pink);
  box-shadow:0 0 0 4px rgba(255,182,193,.22);
}
.topbar__text{
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.menubtn{
  margin-left:auto;
  min-height:40px;
  min-width:64px;
  padding:0 16px;
  border:0;
  border-radius:12px;
  background:var(--pink);
  color:var(--ink);
  font:inherit;
  font-weight:700;
  letter-spacing:.1em;
  box-shadow:var(--sh1);
  cursor:pointer;
  transition:background .22s ease,transform .22s ease;
}
.menubtn:hover{background:#ffc7d1}
.menubtn:active{transform:translateY(1px)}

.rail{
  position:fixed;
  z-index:50;
  top:48px;left:0;right:0;
  max-height:calc(100vh - 48px);
  overflow-y:auto;
  padding:20px 16px 30px;
  background:#fff7f9;
  border-bottom:1px solid var(--line);
  box-shadow:var(--sh2);
  opacity:0;
  visibility:hidden;
  transform:translateY(-10px);
  transition:opacity .24s ease,transform .24s ease,visibility .24s ease;
}
html.nav-open .rail{opacity:1;visibility:visible;transform:none}

.brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:44px;
  padding:8px 10px;
  border-radius:14px;
  background:var(--card);
  box-shadow:var(--sh1);
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
  font-size:17px;
  letter-spacing:.03em;
}
.brand__logo,.brand__dot{
  flex:none;
  width:34px;height:34px;
  border-radius:50%;
}
.brand__dot{
  background:linear-gradient(140deg,var(--pink),var(--rose));
  box-shadow:inset 0 0 0 3px #fff;
}
.brand__logo{object-fit:cover}
.brand__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.rail__nav{margin-top:18px;display:grid;gap:10px}

.grp{
  background:var(--card);
  border-radius:14px;
  box-shadow:var(--sh1);
  padding:2px 6px 6px;
}
.grp > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:42px;
  padding:0 10px;
  color:#8a515e;
  font-size:16px;
  letter-spacing:.16em;
  font-weight:600;
}
.grp > summary::-webkit-details-marker{display:none}
.grp > summary::after{
  content:"▾";
  color:var(--rose);
  font-size:15px;
  transition:transform .22s ease;
}
.grp[open] > summary::after{transform:rotate(180deg)}
.grp .navlink{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 12px;
  margin-top:2px;
  border-radius:11px;
  color:var(--ink);
  text-decoration:none;
  font-size:16px;
  line-height:1.4;
  transition:background .2s ease,color .2s ease;
}
.grp .navlink:hover,.grp .navlink:focus-visible{background:#ffe8ee;color:#8f2f47}

main{min-width:0}

.hero{
  display:grid;
  gap:26px;
  align-items:center;
  min-height:70vh;
  padding:100px 18px 34px;
  max-width:1180px;
  margin:0 auto;
}
.hero__copy{text-align:center}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 15px;
  border-radius:999px;
  background:var(--card);
  color:#a2435a;
  box-shadow:var(--sh1);
  font-size:16px;
  letter-spacing:.1em;
}
.badge::before{
  content:"";
  width:8px;height:8px;
  border-radius:50%;
  background:var(--rose);
}
.hero h1{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(29px,7vw,52px);
  line-height:1.28;
  letter-spacing:.02em;
  margin:16px 0 14px;
  text-wrap:balance;
}
.hero__desc{
  margin:0 auto 24px;
  max-width:34em;
  color:var(--ink-2);
  line-height:1.85;
}
.hero__acts{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 24px;
  border-radius:14px;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  letter-spacing:.05em;
  box-shadow:var(--sh1);
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
}
.btn--solid{background:var(--pink);color:var(--ink)}
.btn--ghost{background:var(--card);color:#a2435a}
.btn:hover{transform:translateY(-2px);box-shadow:var(--sh2)}

.hero__art{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:var(--r);
  background:linear-gradient(150deg,#ffe4eb,#f9d3dd 60%,#f4c2cf);
  box-shadow:var(--sh2);
  aspect-ratio:4 / 3.4;
  min-height:220px;
}
.hero__art img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.06);
  transition:transform .3s linear;
}

.prose{
  max-width:820px;
  margin:0 auto;
  padding:6px 18px 70px;
}
.prose > article{
  background:var(--card);
  border-radius:var(--r);
  box-shadow:var(--sh1);
  padding:26px 20px 22px;
  margin:0 0 26px;
}
.prose article[id]{scroll-margin-top:70px}
.prose small{
  display:block;
  font-size:16px;
  line-height:1.5;
  letter-spacing:.2em;
  color:var(--link);
  margin-bottom:4px;
  font-weight:600;
}
.prose h2{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(22px,4.6vw,30px);
  line-height:1.4;
  margin:2px 0 14px;
  letter-spacing:.01em;
}
.prose h3{
  font-size:19px;
  line-height:1.55;
  margin:20px 0 8px;
  color:#6d3b46;
}
.prose p,.prose li{color:#37262a;line-height:1.85}
.prose ul,.prose ol{padding-left:1.3em;margin:0 0 1em}
.prose li{margin:.35em 0}
.prose a{color:var(--link);text-underline-offset:3px}
.prose figure{margin:18px 0;border-radius:14px;overflow:hidden;box-shadow:var(--sh1)}
.prose blockquote{
  margin:18px 0;
  padding:12px 16px;
  border-left:3px solid var(--pink);
  border-radius:0 14px 14px 0;
  background:#fff3f6;
  color:var(--ink-2);
}
.prose > article > :last-child{margin-bottom:0}

.foot{
  margin-top:40px;
  padding:44px 18px 30px;
  background:#26171a;
  color:#ffdfe7;
  display:grid;
  gap:26px;
  grid-template-columns:1fr;
}
.foot__col{min-width:0}
.foot__brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  color:#fff;
  text-decoration:none;
  font-size:18px;
  font-weight:700;
  letter-spacing:.04em;
}
.foot__brand .brand__dot{background:linear-gradient(140deg,var(--pink),var(--rose));box-shadow:inset 0 0 0 3px #26171a}
.foot dl{margin:0}
.foot dt{
  font-size:16px;
  letter-spacing:.16em;
  color:var(--pink);
  margin-top:12px;
}
.foot dt:first-child{margin-top:0}
.foot dd{margin:0}
.foot nav a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:#ffdfe7;
  text-decoration:none;
  font-size:16px;
}
.foot nav a:hover,.foot nav a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}
.foot__legal{text-align:center}
.foot__legal p{margin:0 0 6px;font-size:16px;line-height:1.6;color:#f4cbd6}
.foot__legal a{color:#ffc4d1}

.js .reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .3s ease,transform .3s ease;
}
.js .reveal.in{opacity:1;transform:none}

@media (min-width:760px){
  .foot{
    grid-template-columns:1.05fr 1.5fr .9fr;
    gap:36px;
    padding:56px 40px 34px;
  }
}

@media (min-width:900px){
  .menubtn{display:none}
  .rail{
    right:auto;
    width:264px;
    max-height:none;
    height:calc(100vh - 48px);
    padding:24px 18px 34px;
    border-right:1px solid var(--line);
    border-bottom:0;
    box-shadow:none;
    background:linear-gradient(180deg,#fff8fa,#fdeef2);
    opacity:1;
    visibility:visible;
    transform:none;
    transition:none;
  }
  main,.foot{margin-left:264px}
  .hero{
    grid-template-columns:1.06fr .94fr;
    gap:40px;
    padding:126px 40px 56px;
  }
  .hero__art{aspect-ratio:4 / 4.6;max-height:72vh}
  .prose{padding:10px 40px 90px}
  .prose article[id]{scroll-margin-top:86px}
  .prose > article{padding:34px 30px 28px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  .hero__art img{transition:none}
  .btn,.menubtn,.grp .navlink{transition:none}
}

button[aria-expanded]{min-width:44px;min-height:44px}
