:root {
  --ink: #123f35;
  --ink-deep: #0a2d27;
  --paper: #fbf7ef;
  --cream: #efe4d2;
  --red: #b32623;
  --muted: #5c6b66;
  --line: rgba(18, 63, 53, .16);
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: "Noto Kufi Arabic", system-ui, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-size: 1.5rem; line-height: 1;
}
nav { display: flex; gap: 28px; color: var(--muted); font-size: .9rem; }
nav a:hover, nav a:focus-visible { color: var(--red); }
.header-cta { justify-self: end; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: .85rem; font-weight: 700; }

main { overflow: hidden; }
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding: 74px 0 90px;
}
.eyebrow, .section-label { margin: 0 0 16px; color: var(--red); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 24px; font-family: "Noto Naskh Arabic", serif; font-size: clamp(3rem, 5.6vw, 5.5rem); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; }
.lead { max-width: 680px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.primary-btn, .secondary-btn { min-height: 52px; padding: 12px 24px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.primary-btn { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(179, 38, 35, .18); }
.secondary-btn { border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.primary-btn:hover, .secondary-btn:hover { transform: translateY(-2px); }
.quick-facts { margin-top: 42px; display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 24px; }
.quick-facts div { padding: 0 24px; border-left: 1px solid var(--line); }
.quick-facts div:first-child { padding-right: 0; }
.quick-facts div:last-child { border-left: 0; }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts strong { color: var(--ink); font-size: 1.2rem; }
.quick-facts span { color: var(--muted); font-size: .72rem; }

.identity-stage { position: relative; justify-self: center; width: min(430px, 92%); aspect-ratio: 1 / 1.05; display: grid; place-items: center; }
.identity-card { position: relative; z-index: 2; width: 76%; padding: 48px 28px 34px; text-align: center; border: 1px solid rgba(18,63,53,.12); border-radius: 48% 48% 22px 22px; background: rgba(255,253,248,.94); box-shadow: -20px 28px 60px rgba(10,45,39,.18); }
.identity-monogram { width: 126px; height: 146px; margin: 0 auto 23px; display: grid; place-items: center; border-radius: 63px 63px 16px 16px; background: var(--ink); color: var(--paper); font-family: "Noto Naskh Arabic", serif; font-size: 5.4rem; }
.identity-plus { position: absolute; top: 20px; left: 26px; color: var(--red); font-size: 1.9rem; font-weight: 800; }
.identity-card p { margin-bottom: 2px; color: var(--ink); font-weight: 800; }
.identity-card strong { color: var(--red); font-size: .8rem; }
.identity-tags { margin-top: 24px; display: flex; justify-content: center; gap: 7px; }
.identity-tags span { padding: 5px 11px; border-radius: 99px; background: var(--cream); color: var(--muted); font-size: .66rem; }
.identity-orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { inset: 3%; transform: rotate(12deg); }
.orbit-two { inset: 12% -3% 8% 5%; border-color: rgba(179,38,35,.14); transform: rotate(-11deg); }

.intro { background: var(--ink); color: var(--white); padding: 100px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .35fr 1.65fr; gap: 70px; }
.intro .section-label { color: #dfb7a2; }
.intro-content { max-width: 850px; }
h2 { margin-bottom: 22px; font-family: "Noto Naskh Arabic", serif; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.2; }
.intro-content > p { color: rgba(255,255,255,.75); font-size: 1.05rem; }
blockquote { margin: 42px 0 0; padding: 22px 28px 22px 0; border-right: 3px solid #d8b18b; font-family: "Noto Naskh Arabic", serif; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.7; }

.contents-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 370px; color: var(--muted); }
.contents-grid { list-style: none; counter-reset: topics; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.contents-grid > * { position: relative; min-height: 230px; padding: 28px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, color .2s ease; }
.contents-grid > a:hover { background: var(--ink); color: white; }
.contents-grid span { color: var(--red); font-size: .75rem; font-weight: 800; }
.contents-grid h3 { margin: 34px 0 10px; font-size: 1.05rem; }
.contents-grid p { color: var(--muted); font-size: .85rem; line-height: 1.8; }
.contents-grid > a:hover p { color: rgba(255,255,255,.68); }
.category-grid { grid-template-columns: repeat(3, 1fr); }
.coming-category { background: rgba(239,228,210,.27); }
.coming-category small { position: absolute; top: 24px; left: 24px; padding: 3px 9px; border-radius: 99px; background: var(--cream); color: var(--red); font-size: .65rem; font-weight: 800; }

.awareness-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 20px 0 110px; }
.awareness-heading { padding-top: 70px; border-top: 1px solid var(--line); }
.awareness-group { margin-top: 54px; }
.drug-group { margin-top: 78px; padding-top: 58px; border-top: 1px solid var(--line); }
.group-title { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.group-title > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font-size: 1.4rem; }
.group-title p { margin-bottom: 1px; color: var(--red); font-size: .72rem; font-weight: 700; }
.group-title h3 { margin: 0; font-family: "Noto Naskh Arabic", serif; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.35rem); }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.post-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 14px 34px rgba(10,45,39,.07); }
.post-card a { display: block; overflow: hidden; background: #f5f1e9; }
.post-card img { width: 100%; height: auto; transition: transform .25s ease; }
.post-card a:hover img, .post-card a:focus-visible img { transform: scale(1.018); }
.post-card figcaption { padding: 18px 20px 20px; }
.post-card figcaption strong, .post-card figcaption span { display: block; }
.post-card figcaption strong { color: var(--ink); font-size: .95rem; }
.post-card figcaption span { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.research-intro { max-width: 760px; color: var(--muted); line-height: 1.9; }
.research-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.research-posts figcaption span { font-size: .88rem; line-height: 1.9; }
.research-posts .source-link { display: inline-block; margin-top: 12px; background: none; color: var(--red); font-size: .83rem; text-decoration: underline; text-underline-offset: 3px; }
.research-correction { padding: 15px 20px; background: #fff1df; border-bottom: 2px solid #c5713f; color: #592f1d; font-size: .92rem; line-height: 1.8; }

.author-section { background: #eadfcd; padding: 100px 24px; }
.author-card { width: min(980px, 100%); margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 70px; align-items: center; }
.author-monogram { width: 210px; height: 250px; display: grid; place-items: center; border-radius: 105px 105px 18px 18px; background: var(--ink); color: var(--paper); font-family: "Noto Naskh Arabic", serif; font-size: 7rem; box-shadow: inset 0 0 0 10px rgba(255,255,255,.07); }
.author-card h2 { margin-bottom: 2px; }
.author-role { color: var(--red); font-weight: 700; }
.author-card div:last-child > p:last-child { max-width: 680px; color: #465650; }

.reader-cta { width: min(1180px, calc(100% - 40px)); margin: 100px auto 28px; padding: 55px 64px; border-radius: 24px; background: var(--red); color: white; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.book-feature > img { width: 132px; flex: 0 0 auto; border-radius: 3px 8px 8px 3px; box-shadow: -10px 14px 28px rgba(80,15,14,.28); }
.book-feature > div:nth-child(2) { flex: 1; }
.book-feature > div:nth-child(2) p:last-child { max-width: 590px; }
.reader-cta .section-label { color: #f2c9bd; }
.reader-cta h2 { margin-bottom: 6px; font-size: clamp(2rem, 3.2vw, 3rem); }
.reader-cta p { margin-bottom: 0; color: rgba(255,255,255,.78); }
.primary-btn.light { background: white; color: var(--red); box-shadow: none; }
.secondary-btn.light-outline { border-color: rgba(255,255,255,.45); color: white; background: transparent; }
.medical-note { width: min(1180px, calc(100% - 40px)); margin: 0 auto 100px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .82rem; }
.medical-note strong { color: var(--ink); }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 44px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .78rem; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .actions, .quick-facts { justify-content: center; }
  .identity-stage { margin-top: 20px; width: min(400px, 86vw); }
  .intro { grid-template-columns: 1fr; gap: 12px; }
  .contents-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-card { grid-template-columns: 170px 1fr; gap: 38px; }
  .author-monogram { width: 170px; height: 210px; }
  .reader-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 70px; }
  .brand { font-size: .82rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { padding: 8px 12px; font-size: .72rem; }
  .hero, .contents-section, .reader-cta, .medical-note, footer { width: min(100% - 28px, 1180px); }
  .hero { padding: 48px 0 70px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .quick-facts { width: 100%; }
  .quick-facts div { flex: 1; padding: 0 10px; }
  .identity-stage { width: min(340px, 88vw); }
  .identity-card { width: 82%; padding-inline: 20px; }
  .intro { padding-top: 72px; padding-bottom: 72px; }
  .contents-section { padding: 78px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .contents-grid, .category-grid { grid-template-columns: 1fr; }
  .awareness-section { width: min(100% - 28px, 1180px); padding-bottom: 78px; }
  .awareness-heading { padding-top: 45px; }
  .posts-grid { grid-template-columns: 1fr; gap: 20px; }
  .drug-group { margin-top: 58px; padding-top: 44px; }
  .contents-grid li { min-height: 180px; }
  .author-section { padding: 75px 24px; }
  .author-card { grid-template-columns: 1fr; text-align: center; }
  .author-monogram { width: 150px; height: 180px; margin: 0 auto; }
  .reader-cta { margin-top: 70px; padding: 38px 26px; }
  .book-feature > img { width: 112px; }
  .reader-cta .actions { justify-content: flex-start; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.newsletter-list{display:grid;gap:24px}.newsletter-card{background:#fffdf7;border:1px solid #d5d9c6;border-radius:20px;padding:clamp(20px,4vw,40px);text-align:right}.newsletter-card h4{font-size:clamp(1.25rem,3vw,1.7rem);color:#284d3b;margin:0 0 24px}.newsletter-body{max-width:850px;font-size:1.05rem;line-height:2;color:#334438}.newsletter-body p{margin:0 0 22px}.newsletter-body a{color:#285e49;text-decoration:underline;overflow-wrap:anywhere;direction:ltr;unicode-bidi:isolate}#diabetes-news-title{scroll-margin-top:100px}

.safety-section{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:55px 0 65px;border-top:1px solid var(--line)}
.safety-section h2,.safety-card{scroll-margin-top:100px}.safety-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:25px 0;background:#f5e9dc;border:1px solid #d5b9a2;border-radius:16px;color:#542d27}.safety-contact p{margin:0;font-size:.9rem;max-width:680px}.safety-contact>div{display:flex;flex-wrap:wrap;gap:10px}.safety-contact a{display:inline-block;white-space:nowrap;background:var(--red);color:white;padding:10px 16px;border-radius:10px;font-size:.8rem;font-weight:700}
.safety-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}.safety-card{--card-accent:#315f4e;--card-soft:#edf4ef;position:relative;overflow:hidden;background:linear-gradient(180deg,#fffef9 0%,#fffdf7 100%);border:1px solid color-mix(in srgb,var(--card-accent) 22%,transparent);border-top:5px solid var(--card-accent);border-radius:20px;box-shadow:0 14px 34px rgba(10,45,39,.07);transition:transform .2s ease,box-shadow .2s ease}.safety-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(10,45,39,.11)}.safety-card--poisoning{--card-accent:#8c4b22;--card-soft:#f8ede3}.safety-card--emergency{--card-accent:#a42d2a;--card-soft:#faece9}.safety-card--common{--card-accent:#315f4e;--card-soft:#edf4ef}.safety-card-body{padding:24px}.safety-card-kicker{display:flex;align-items:center;gap:9px;margin-bottom:15px;color:var(--card-accent);font-size:.74rem}.safety-card-kicker span{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:var(--card-soft);border:1px solid color-mix(in srgb,var(--card-accent) 24%,transparent);font-weight:900;font-size:.86rem}.safety-card-kicker b{letter-spacing:.01em}.safety-card h3{font-family:"Noto Naskh Arabic",serif;font-size:1.65rem;line-height:1.45;color:var(--ink);margin:0 0 13px}.safety-card p{font-size:.85rem;color:var(--muted);margin:0 0 15px}.safety-card ul{list-style:none;padding:0;margin:18px 0 0;line-height:1.9;font-size:.9rem}.safety-card li{position:relative;padding:9px 31px 9px 0;border-top:1px solid color-mix(in srgb,var(--card-accent) 12%,transparent)}.safety-card li::before{content:'✓';position:absolute;right:4px;top:9px;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:var(--card-soft);color:var(--card-accent);font-size:.68rem;font-weight:900}.safety-image{display:block;background:var(--card-soft)}.safety-image img{width:100%;height:auto}.safety-card .source-link{display:inline-flex;align-items:center;gap:6px;margin-top:18px;padding:7px 11px;border-radius:999px;background:var(--card-soft);font-size:.72rem;color:var(--card-accent);text-decoration:none}.safety-card .source-link::after{content:'↗';font-size:.75rem}.safety-disclaimer{color:var(--muted);font-size:.8rem;margin:26px 0 0}.system-links{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}.system-links a{border:1px solid var(--line);border-radius:30px;padding:8px 15px;background:#fffdf7;color:var(--ink);font-size:.8rem}.system-links a:hover,.system-links a:focus-visible{background:var(--ink);color:var(--paper)}
@media(max-width:900px){.safety-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.safety-contact{flex-direction:column;align-items:flex-start}.system-links{display:flex}.site-header nav{grid-column:1/-1;display:flex;gap:18px;overflow-x:auto;width:100%;padding:8px 0 12px;white-space:nowrap;order:3}}
@media(max-width:600px){.safety-section{width:calc(100% - 28px);padding:40px 0}.safety-grid{grid-template-columns:1fr}.safety-card-body{padding:22px}.safety-contact{padding:18px}.safety-contact a{font-size:.75rem}.system-links{gap:8px}.system-links a{font-size:.75rem;padding:7px 12px}}
