/* ==========================================================================
   أحمد الغامدي | المرشد — نظام التصميم
   لغة بصرية مسطّحة، رسمية، عصرية: كحلي + ذهبي كخط تمييز رفيع + أبيض دافئ
   بدون تدرجات معدنية أو حفر أو ميلان — وضوح وهدوء واحترافية
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---------- المتغيرات العامة (Root Variables) ---------- */
:root {
  --navy:         #0E1E30;
  --navy-2:       #142A41;
  --warm-white:   #FAF7F0;
  --paper:        #F2ECDD;
  --charcoal:     #2A2823;
  --charcoal-70:  rgba(42, 40, 35, 0.7);
  --charcoal-50:  rgba(42, 40, 35, 0.5);
  --gold:         #B68A46;
  --gold-deep:    #8A6A34;
  --line:         #E3DAC6;
  --white:        #FFFFFF;

  --f-display:    'El Messiri', 'Amiri', serif;
  --f-body:       'IBM Plex Sans Arabic', 'Tahoma', sans-serif;
  --f-mono:       'IBM Plex Mono', monospace;

  --container:    1180px;
  --radius:       2px;
  --shadow-sm:    0 1px 3px rgba(14, 30, 48, 0.06);
  --shadow-md:    0 10px 30px -14px rgba(14, 30, 48, 0.16);
}

/* ---------- إعادة التعيين والأساسيات (Reset & Base) ---------- */
*, 
*::before, 
*::after { 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

@media (prefers-reduced-motion: reduce) {
  html { 
    scroll-behavior: auto; 
  }
  *, 
  *::before, 
  *::after { 
    animation-duration: 0.001ms !important; 
    animation-iteration-count: 1 !important; 
    transition-duration: 0.001ms !important; 
    scroll-behavior: auto !important; 
  }
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
}

img { 
  max-width: 80%; 
  display: block; 
}

a { 
  color: inherit; 
  text-decoration: none; 
}

/* ---------- العناوين والنصوص (Typography) ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.25;
  font-weight: 600;
}

h1 { 
  font-size: clamp(2.1rem, 4.2vw, 3.4rem); 
  font-weight: 700; 
}

h2 { 
  font-size: clamp(1.6rem, 2.8vw, 2.35rem); 
}

h3 { 
  font-size: 1.28rem; 
}

p { 
  margin: 0 0 1em; 
  color: var(--charcoal-70); 
}

/* ---------- الهيكل العام (Layout & Sections) ---------- */
.container { 
  max-width: var(--container); 
  margin: 0 auto; 
  padding: 0 28px; 
}

section { 
  padding: 92px 0; 
}

@media (max-width: 720px) { 
  section { 
    padding: 60px 0; 
  } 
}

.section-dark { 
  background: var(--navy); 
  color: var(--warm-white); 
}

.section-dark p { 
  color: rgba(250, 247, 240, 0.72); 
}

.section-dark h2, 
.section-dark h3 { 
  color: var(--warm-white); 
}

.section-paper { 
  background: var(--paper); 
}

.section-head { 
  max-width: 720px; 
  margin-bottom: 48px; 
}

.section-head.center { 
  margin-inline: auto; 
  text-align: center; 
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 1em;
}

.eyebrow::before { 
  content: ""; 
  width: 18px; 
  height: 1px; 
  background: var(--gold); 
}

.section-dark .eyebrow { 
  color: var(--gold); 
}

/* ---------- الأزرار (Buttons) ---------- */
.btn {
  display: inline-flex; 
  align-items: center; 
  gap: .6em;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}

.btn-primary { 
  background: var(--gold); 
  color: var(--white); 
}

.btn-primary:hover { 
  background: var(--gold-deep); 
}

.btn-outline { 
  border-color: rgba(250, 247, 240, 0.35); 
  color: inherit; 
}

.btn-outline:hover { 
  border-color: var(--gold); 
  color: var(--gold); 
}

.btn-outline-dark { 
  border-color: var(--navy); 
  color: var(--navy); 
}

.btn-outline-dark:hover { 
  background: var(--navy); 
  color: var(--warm-white); 
}

.btn-wide { 
  width: 100%; 
  justify-content: center; 
}

.btn-sm { 
  padding: 10px 18px; 
  font-size: .88rem; 
}

.cta-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 14px; 
  margin-top: 30px; 
}

/* ---------- الهيدر (Header) ---------- */
.site-header {
  position: sticky; 
  top: 0; 
  z-index: 100;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 84px; 
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.brand-mark { 
  width: 32px; 
  height: 32px; 
  flex-shrink: 0; 
}

.owner-avatar { 
  width: 42px; 
  height: 42px; 
  border-radius: 50%; 
  object-fit: cover; 
  flex-shrink: 0; 
  border: 1px solid var(--line); 
}

.section-dark .owner-avatar, 
.site-footer .owner-avatar { 
  border-color: rgba(228, 200, 143, 0.3); 
}

.brand-text { 
  display: flex; 
  flex-direction: column; 
  line-height: 1.15; 
}

.brand-text strong { 
  font-family: var(--f-display); 
  font-size: 1.15rem; 
  color: var(--navy); 
}

.brand-text span { 
  font-family: var(--f-mono); 
  font-size: .68rem; 
  letter-spacing: .12em; 
  color: var(--gold-deep); 
  text-transform: uppercase; 
}

.main-nav { 
  display: flex; 
  align-items: center; 
  gap: 34px; 
}

.main-nav a { 
  font-size: .96rem; 
  font-weight: 500; 
  color: var(--charcoal); 
  position: relative; 
  padding: 6px 0; 
}

.main-nav a::after { 
  content: ""; 
  position: absolute; 
  right: 0; 
  bottom: 0; 
  width: 0; 
  height: 1px; 
  background: var(--gold); 
  transition: width .2s ease; 
}

.main-nav a:hover::after, 
.main-nav a.active::after { 
  width: 100%; 
}

.main-nav a.active { 
  color: var(--gold-deep); 
}

.header-actions { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
}

.nav-toggle { 
  display: none; 
  background: none; 
  border: none; 
  cursor: pointer; 
  padding: 8px; 
}

.nav-toggle span, 
.nav-toggle::before, 
.nav-toggle::after { 
  content: ""; 
  display: block; 
  width: 22px; 
  height: 1.5px; 
  background: var(--navy); 
  margin: 5px 0; 
}

@media (max-width: 940px) {
  .main-nav {
    position: fixed; 
    inset: 84px 0 0 0; 
    background: var(--warm-white);
    flex-direction: column; 
    align-items: flex-start; 
    padding: 30px 28px; 
    gap: 22px;
    transform: translateY(-8px); 
    opacity: 0; 
    pointer-events: none; 
    transition: all .2s ease;
    border-top: 1px solid var(--line); 
    overflow-y: auto;
  }
  .main-nav.open { 
    transform: translateY(0); 
    opacity: 1; 
    pointer-events: auto; 
  }
  .main-nav a { 
    font-size: 1.15rem; 
  }
  .nav-toggle { 
    display: block; 
  }
  .header-actions .btn-primary.header-only { 
    display: none; 
  }
}

/* ---------- الهيرو (Hero Section) ---------- */
.hero { 
  padding: 76px 0 100px; 
  background: var(--warm-white); 
}

.hero-grid { 
  display: grid; 
  grid-template-columns: 1.15fr .85fr; 
  gap: 64px; 
  align-items: center; 
}

@media (max-width: 940px) {
  .hero-grid { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  .hero-grid > div:first-child { 
    order: 2; 
  }
  .hero-photo { 
    order: 1; 
  }
}

.hero-personal {
  margin-top: 26px; 
  padding-inline-start: 20px; 
  border-inline-start: 2px solid var(--gold);
  font-size: 1.02rem; 
  color: var(--charcoal-70); 
  max-width: 46ch;
}

.hero-lede { 
  font-size: 1.14rem; 
  max-width: 52ch; 
}

.path-figure svg { 
  width: 100%; 
  height: auto; 
}

.path-figure .cap { 
  margin-top: 18px; 
  font-family: var(--f-mono); 
  font-size: .78rem; 
  color: var(--charcoal-50); 
  text-align: center; 
  letter-spacing: .04em; 
}

/* [تعديل] جزء صورة الهيرو بدون خلفية وبدون ظلال الحاوية */
.hero-photo {
  position: relative; 
  border-radius: var(--radius); 
  overflow: hidden;
  aspect-ratio: 4/5; 
  background: transparent; /* إزالة خلفية الـ Navy لتصبح شفافة */
}

.hero-photo img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

/* [تعديل] جزء شريط الاسم والوصف ليغطي الحافة السفلية للصورة تماماً ويتداخل فوقها */
.hero-photo-tag {
  position: absolute; 
  right: 0;          /* ممتد بالكامل للحافة اليمنى */
  bottom: 0;         /* ملتصق تماماً بالأسفل ليغطي بداية الصورة */
  left: 0;           /* ممتد بالكامل للحافة اليسرى */
  background: rgba(250, 247, 240, 0.96);
  border-inline-start: 4px solid var(--gold);
  padding: 18px 24px; 
  border-radius: 0;  /* زوايا مستقيمة ليتناسب مع أطراف الصورة السفلية */
  display: flex; 
  flex-direction: column; 
  gap: 2px;
  box-shadow: var(--shadow-md); /* نقل الظل هنا ليعطي عمق للشريط فوق الصورة */
}

.hero-photo-tag strong { 
  font-family: var(--f-display); 
  font-size: 1.1rem; 
  color: var(--navy); 
}

.hero-photo-tag span { 
  font-family: var(--f-mono); 
  font-size: .75rem; 
  letter-spacing: .06em; 
  text-transform: uppercase; 
  color: var(--gold-deep); 
}

/* ---------- الأيقونات والشبكات (Icons & Grids) ---------- */
.icon { 
  display: inline-flex; 
  width: 26px; 
  height: 26px; 
  color: var(--gold-deep); 
  margin-bottom: 16px; 
}

.icon svg { 
  width: 100%; 
  height: 100%; 
  display: block; 
}

.section-dark .icon { 
  color: var(--gold); 
}

.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 26px; 
}

.grid-2 { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 26px; 
}

@media (max-width: 940px) { 
  .grid-3, .grid-2 { 
    grid-template-columns: 1fr; 
  } 
}

/* ---------- بطاقات الخدمات (Service Cards) ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px;
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
  display: flex; 
  flex-direction: column; 
  height: 100%;
}

.service-card:hover { 
  border-color: var(--gold); 
  box-shadow: var(--shadow-md); 
}

.service-card h3 { 
  margin-bottom: .5em; 
}

.service-card p { 
  flex: 1; 
  font-size: .96rem; 
}

.service-card .more { 
  margin-top: 16px; 
  font-weight: 600; 
  font-size: .92rem; 
  color: var(--gold-deep); 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
}

.service-card .more .arrow { 
  transition: transform .15s ease; 
}

.service-card:hover .more .arrow { 
  transform: translateX(-4px); 
}

/* ---------- طريقة العمل (Work Process) ---------- */
.path-track { 
  position: relative; 
}

.path-steps { 
  display: grid; 
  grid-template-columns: repeat(6, 1fr); 
  gap: 0; 
  position: relative; 
  margin-top: 20px; 
}

.path-steps::before { 
  content: ""; 
  position: absolute; 
  top: 17px; 
  right: 0; 
  left: 0; 
  height: 1px; 
  background: var(--line-strong, var(--gold)); 
  opacity: .4; 
}

.path-step { 
  padding-inline-end: 22px; 
  position: relative; 
}

.path-step .dot {
  width: 34px; 
  height: 34px; 
  border-radius: 50%;
  background: var(--warm-white); 
  border: 1px solid var(--gold);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-family: var(--f-mono); 
  font-size: .85rem; 
  color: var(--gold-deep); 
  font-weight: 600;
  position: relative; 
  z-index: 2; 
  margin-bottom: 18px;
}

.section-dark .path-step .dot { 
  background: var(--navy); 
}

.path-step h3 { 
  font-size: 1.02rem; 
  margin-bottom: .4em; 
}

.path-step p { 
  font-size: .92rem; 
}

@media (max-width: 940px) {
  .path-steps { 
    grid-template-columns: 1fr; 
    gap: 30px; 
  }
  .path-steps::before { 
    top: 0; 
    bottom: 0; 
    right: 17px; 
    left: auto; 
    width: 1px; 
    height: auto; 
  }
  .path-step { 
    padding-inline-end: 0; 
    padding-inline-start: 58px; 
  }
  .path-step .dot { 
    position: absolute; 
    right: 0; 
    top: 0; 
    margin-bottom: 0; 
  }
}

/* ---------- قوائم التميز (Checklists) ---------- */
.check-list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: grid; 
  gap: 16px; 
}

.check-list li { 
  display: flex; 
  gap: 14px; 
  align-items: flex-start; 
  font-size: .98rem; 
  color: var(--charcoal-70); 
}

.check-list li::before { 
  content: ""; 
  flex-shrink: 0; 
  margin-top: 7px; 
  width: 6px; 
  height: 6px; 
  background: var(--gold); 
  border-radius: 50%; 
}

.section-dark .check-list li { 
  color: rgba(250, 247, 240, 0.78); 
}

/* ---------- من أنا (About Me) ---------- */
.about-split { 
  display: grid; 
  grid-template-columns: .8fr 1.2fr; 
  gap: 56px; 
  align-items: start; 
}

@media (max-width: 940px) { 
  .about-split { 
    grid-template-columns: 1fr; 
  } 
}

.avatar-frame {
  aspect-ratio: 3/3.6; 
  background: var(--navy);
  border-radius: var(--radius);
  position: relative; 
  overflow: hidden;
}

.avatar-frame img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.avatar-frame .quote {
  position: absolute; 
  z-index: 1; 
  inset-inline: 0; 
  bottom: 0;
  margin: 0; 
  padding: 22px 26px;
  background: linear-gradient(0deg, rgba(14, 30, 48, 0.92), rgba(14, 30, 48, 0));
  color: var(--warm-white); 
  font-family: var(--f-display); 
  font-size: 1.15rem; 
  line-height: 1.5;
}

/* ---------- الفئات المستهدفة (Personas) ---------- */
.persona-list { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 22px; 
}

@media (max-width: 940px) { 
  .persona-list { 
    grid-template-columns: 1fr 1fr; 
  } 
}

@media (max-width: 560px) { 
  .persona-list { 
    grid-template-columns: 1fr; 
  } 
}

.persona-card {
  border: 1px solid var(--line); 
  padding: 26px 20px; 
  text-align: center; 
  border-radius: var(--radius);
  background: var(--white); 
  font-size: .94rem; 
  font-weight: 500; 
  color: var(--navy);
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 10px;
}

.persona-card .icon { 
  margin-bottom: 0; 
}

/* ---------- الأسئلة الشائعة (FAQ) ---------- */
.faq-list { 
  border-top: 1px solid var(--line); 
}

.faq-item { 
  border-bottom: 1px solid var(--line); 
}

.faq-item summary { 
  cursor: pointer; 
  list-style: none; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 22px 4px; 
  font-weight: 600; 
  color: var(--navy); 
  font-size: 1.02rem; 
}

.faq-item summary:hover { 
  color: var(--gold-deep); 
}

.faq-item summary::-webkit-details-marker { 
  display: none; 
}

.faq-item summary .plus { 
  width: 20px; 
  height: 20px; 
  flex-shrink: 0; 
  position: relative; 
  margin-inline-start: 20px; 
}

.faq-item summary .plus::before, 
.faq-item summary .plus::after { 
  content: ""; 
  position: absolute; 
  background: var(--gold-deep); 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
}

.faq-item summary .plus::before { 
  width: 13px; 
  height: 1.5px; 
}

.faq-item summary .plus::after { 
  width: 1.5px; 
  height: 13px; 
  transition: transform .2s ease; 
}

.faq-item[open] summary .plus::after { 
  transform: translate(-50%, -50%) rotate(90deg); 
  opacity: 0; 
}

.faq-item .faq-a { 
  padding: 0 4px 24px; 
  max-width: 68ch; 
}

/* ---------- المقالات (Articles) ---------- */
.article-card { 
  border-bottom: 1px solid var(--line); 
  padding: 22px 2px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 20px; 
}

.article-card .tag { 
  font-family: var(--f-mono); 
  font-size: .72rem; 
  color: var(--gold-deep); 
  letter-spacing: .06em; 
  text-transform: uppercase; 
  margin-bottom: 6px; 
  display: block; 
}

.article-card h3 { 
  font-size: 1.06rem; 
  margin: 0; 
}

.article-card .arrow { 
  flex-shrink: 0; 
  color: var(--gold); 
  font-size: 1.3rem; 
}

/* ---------- شريط CTA الختامي ---------- */
.cta-final { 
  background: var(--navy); 
  color: var(--warm-white); 
  text-align: center; 
  padding: 90px 0; 
}

.cta-final h2 { 
  color: var(--warm-white); 
  max-width: 16ch; 
  margin-inline: auto; 
}

.cta-final p { 
  max-width: 56ch; 
  margin-inline: auto; 
}

.cta-final .cta-row { 
  justify-content: center; 
}

/* ---------- الفوتر (Footer) ---------- */
.site-footer { 
  background: var(--navy-2); 
  color: rgba(250, 247, 240, 0.7); 
  padding: 60px 0 28px; 
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 1.4fr .8fr .8fr .8fr; 
  gap: 40px; 
  margin-bottom: 46px; 
}

@media (max-width: 820px) { 
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
  } 
}

@media (max-width: 560px) { 
  .footer-grid { 
    grid-template-columns: 1fr; 
  } 
}

.footer-grid h4 { 
  color: var(--warm-white); 
  font-family: var(--f-body); 
  font-size: .9rem; 
  letter-spacing: .04em; 
  margin-bottom: 18px; 
  text-transform: uppercase; 
}

.footer-grid ul { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: grid; 
  gap: 11px; 
}

.footer-grid a { 
  font-size: .92rem; 
  color: rgba(250, 247, 240, 0.65); 
}

.footer-grid a:hover { 
  color: var(--gold); 
}

.footer-brand p { 
  color: rgba(250, 247, 240, 0.6); 
  font-size: .92rem; 
  max-width: 34ch; 
}

.footer-bottom { 
  border-top: 1px solid rgba(250, 247, 240, 0.12); 
  padding-top: 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 14px; 
  font-size: .82rem; 
  color: rgba(250, 247, 240, 0.45); 
}

.footer-note { 
  font-size: .8rem; 
  color: rgba(250, 247, 240, 0.4); 
  max-width: 70ch; 
  margin-top: 10px; 
}

/* ---------- العناصر العائمة وللموبايل (Floating & Mobile Utilities) ---------- */
.wa-float {
  position: fixed; 
  left: 22px; 
  bottom: 22px; 
  z-index: 90;
  width: 56px; 
  height: 56px; 
  border-radius: 50%;
  background: var(--navy); 
  color: var(--gold);
  display: flex; 
  align-items: center; 
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: opacity .15s ease;
}

.wa-float:hover { 
  opacity: .9; 
}

.wa-float svg { 
  width: 24px; 
  height: 24px; 
}

.mobile-bar { 
  display: none; 
}

@media (max-width: 720px) {
  body { 
    padding-bottom: 76px; 
  }
  .wa-float { 
    display: none; 
  }
  .mobile-bar {
    display: flex; 
    position: fixed; 
    inset-inline: 0; 
    bottom: 0; 
    z-index: 95;
    background: var(--warm-white); 
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    box-shadow: 0 -10px 24px -16px rgba(14, 30, 48, 0.25);
  }
  .mobile-bar a {
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    padding: 13px 10px; 
    border-radius: var(--radius); 
    font-weight: 600; 
    font-size: .92rem;
  }
  .mobile-bar a svg { 
    width: 17px; 
    height: 17px; 
    flex-shrink: 0; 
  }
  .mobile-bar .bar-call { 
    border: 1px solid var(--navy); 
    color: var(--navy); 
  }
  .mobile-bar .bar-wa { 
    background: var(--gold); 
    color: var(--white); 
  }
}

@media (max-width: 560px) {
  .grid-3 {
    display: flex; 
    gap: 16px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    margin: 0 -28px; 
    padding: 4px 28px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .grid-3::-webkit-scrollbar { 
    display: none; 
  }
  .grid-3 .service-card { 
    min-width: 84%; 
    scroll-snap-align: start; 
  }
}

/* ---------- عناصر صفحات الخدمات الداخلية (Internal Pages Elements) ---------- */
.breadcrumb { 
  font-family: var(--f-mono); 
  font-size: .78rem; 
  color: var(--charcoal-50); 
  margin-bottom: 22px; 
}

.breadcrumb a:hover { 
  color: var(--gold-deep); 
}

.two-col { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px; 
}

@media (max-width: 900px) { 
  .two-col { 
    grid-template-columns: 1fr; 
    gap: 30px; 
  } 
}

.badge-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 10px; 
  margin-top: 22px; 
}

.badge { 
  font-family: var(--f-mono); 
  font-size: .76rem; 
  padding: 7px 13px; 
  border: 1px solid var(--line); 
  border-radius: 999px; 
  color: var(--charcoal-70); 
}

.section-dark .badge { 
  border-color: rgba(250, 247, 240, 0.2); 
  color: rgba(250, 247, 240, 0.75); 
}

.internal-links { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 14px; 
}

.internal-links a { 
  border: 1px solid var(--line); 
  padding: 12px 20px; 
  border-radius: var(--radius); 
  font-size: .92rem; 
  font-weight: 500; 
  transition: border-color .15s ease, color .15s ease; 
}

.internal-links a:hover { 
  border-color: var(--gold); 
  color: var(--gold-deep); 
}

.divider { 
  height: 1px; 
  background: var(--line); 
  margin: 0; 
  border: none; 
}

.stat-line { 
  display: flex; 
  gap: 40px; 
  flex-wrap: wrap; 
  margin-top: 10px; 
}

.stat-line div strong { 
  display: block; 
  font-family: var(--f-display); 
  font-size: 1.6rem; 
  color: var(--navy); 
}

.stat-line div span { 
  font-size: .82rem; 
  color: var(--charcoal-50); 
}

.prose p { 
  max-width: 74ch; 
}

.prose ul { 
  padding-inline-start: 22px; 
  color: var(--charcoal-70); 
}

.prose li { 
  margin-bottom: 8px; 
}

.notice { 
  border-inline-start: 3px solid var(--gold); 
  background: var(--paper); 
  padding: 18px 22px; 
  font-size: .92rem; 
  color: var(--charcoal-70); 
  border-radius: 0 var(--radius) var(--radius) 0; 
}