
/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --green: #87ff71;
  --yellow: #ffce5c;
  --ink: #192617;
  --ink-80: rgba(25,38,23,0.8);
  --ink-40: rgba(25,38,23,0.4);
  --ink-10: rgba(25,38,23,0.1);
  --white: #fff;
  --off-white: #f5f9f4;
  --font-body: 'Noto Naskh Arabic', 'Noto Sans Arabic', Georgia, serif;
  --font-ui: 'Noto Sans Arabic', system-ui, sans-serif;
  --radius: 0;
  --col-max: 780px;
  --page-max: 1200px;
  --header-h: 112px;
  --transition: 0.18s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  overflow-x: hidden;
  max-width: 100%;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #0a5300; }

p { margin-bottom: 1.1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

/* Content body links */
.content-body a {
  color: #1a5c00;
  text-decoration: underline;
}
.content-body a:hover { color: #0a3800; }

/* ============================================================
   MEMPHIS BACKGROUND
   ============================================================ */
.memphis-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--off-white);
  background-image:
    radial-gradient(circle at 12% 18%, var(--green) 0 18px, transparent 19px),
    radial-gradient(circle at 88% 75%, var(--yellow) 0 12px, transparent 13px),
    radial-gradient(circle at 55% 90%, var(--green) 0 8px, transparent 9px),
    radial-gradient(circle at 75% 10%, var(--yellow) 0 22px, transparent 23px),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 24px,
      rgba(135,255,113,0.08) 24px,
      rgba(135,255,113,0.08) 25px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 36px,
      rgba(255,206,92,0.06) 36px,
      rgba(255,206,92,0.06) 37px
    );
  pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 4px solid var(--green);
  width: 100%;
}

.header-brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-bottom: 2px solid rgba(135,255,113,0.25);
  width: 100%;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.brand-logo { height: 36px; width: auto; }
.brand-mark { height: 32px; width: auto; }

.brand-text {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA buttons in header */
.header-cta-group {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.cta-signup {
  background: var(--green);
  color: var(--ink);
  border: 2px solid var(--green);
}
.cta-signup:hover {
  background: #6ee85a;
  border-color: #6ee85a;
  color: var(--ink);
}

.cta-login {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.cta-login:hover {
  background: var(--green);
  color: var(--ink);
}

/* Menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 2px solid var(--green);
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav row */
.header-nav-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}
.header-nav-row::-webkit-scrollbar { display: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 1.25rem;
  font-size: 0.82rem;
  font-family: var(--font-ui);
  color: var(--ink-80);
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 44px;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
  color: #1a5c00;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #0a3800;
}

.bc-sep { margin: 0 0.4rem; color: var(--ink-40); }

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 2px 8px;
  margin-bottom: 0.5rem;
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 70vh;
  max-width: 100%;
  overflow: hidden;
}

.hero-figure {
  position: relative;
  grid-column: 1 / 2;
  min-height: 70vh;
  overflow: hidden;
}

.hero-figure .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25,38,23,0.72) 0%, rgba(25,38,23,0.38) 60%, rgba(135,255,113,0.12) 100%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 14px;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
}

.hero-h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 0;
}

.hero-aside {
  background: var(--ink);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ============================================================
   HERO — FEATURE
   ============================================================ */
.feature-hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 50vh;
  overflow: hidden;
  max-width: 100%;
}

.feature-hero-figure {
  position: relative;
  grid-column: 1;
  min-height: 50vh;
  overflow: hidden;
  background: var(--ink);
}

.feature-hero-figure .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}

.feature-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
}

.feature-h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}

.feature-hero-aside {
  background: var(--ink);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Stage badge */
.stage-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 0.75rem;
  border: 2px dashed var(--yellow);
  color: var(--yellow);
}

/* ============================================================
   BYLINE
   ============================================================ */
.byline {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}

.byline-author {
  font-weight: 600;
  color: var(--green);
}

/* Non-hero byline (fallback) */
.content-body .byline {
  font-size: 0.85rem;
  color: var(--ink-80);
  border-left: 3px solid var(--yellow);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

.content-body .byline-author {
  color: var(--ink);
}

/* ============================================================
   CONTENT SECTION (sidebar + body)
   ============================================================ */
.content-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  max-width: var(--page-max);
  margin: 2rem auto;
  padding: 0 1.25rem;
  align-items: start;
}

.sidebar-left {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-card {
  background: rgba(255,255,255,0.7);
  border: 2px solid var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.sidebar-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  background: var(--green);
  z-index: -1;
}

.sidebar-heading {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.sidebar-toc, .related-list, .qnav-list, .faq-nav-list {
  list-style: none;
  padding: 0;
}

.sidebar-toc li, .related-list li, .qnav-list li, .faq-nav-list li {
  border-bottom: 1px dashed var(--ink-40);
  margin-bottom: 0;
}

.sidebar-toc a, .related-list a, .qnav-list a, .faq-nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
}

.sidebar-toc a:hover, .related-list a:hover, .qnav-list a:hover {
  color: #1a5c00;
  text-decoration: underline;
}

.content-body {
  min-width: 0;
  max-width: var(--col-max);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ============================================================
   CHILD LIST (ol > li > a + small)
   ============================================================ */
.child-section {
  max-width: var(--page-max);
  margin: 2rem auto;
  padding: 0 1.25rem 2rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.child-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  counter-reset: child-counter;
}

.child-list li {
  counter-increment: child-counter;
  margin: 0;
}

.child-card {
  display: block;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--ink);
  padding: 1.25rem 1.25rem 1rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.child-card::before {
  content: counter(child-counter, decimal-leading-zero);
  position: absolute;
  top: -12px;
  left: 12px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--yellow);
  color: var(--ink);
  padding: 2px 8px;
  border: 2px solid var(--ink);
}

.child-card::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: -5px;
  bottom: -5px;
  background: var(--yellow);
  z-index: -1;
  transition: transform var(--transition);
}

.child-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.card-title {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.card-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-80);
  line-height: 1.4;
}

/* ============================================================
   FAQ HERO
   ============================================================ */
.faq-hero-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  max-width: 100%;
  overflow: hidden;
}

.faq-hero-figure {
  background: var(--ink);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.faq-shape-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--green) 0 60px, transparent 61px),
    radial-gradient(circle at 20% 80%, var(--yellow) 0 40px, transparent 41px);
  opacity: 0.25;
}

.faq-hero-copy {
  position: relative;
  z-index: 2;
}

.faq-h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.faq-desc {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 0;
}

.faq-sidebar {
  background: var(--green);
  padding: 2rem 1.5rem;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ============================================================
   ABOUT HERO
   ============================================================ */
.about-hero-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 200px;
  overflow: hidden;
}

.about-deco-figure {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.about-shape {
  position: absolute;
  border-radius: 50%;
}

.about-shape-1 {
  width: 200px;
  height: 200px;
  background: var(--green);
  top: -40px;
  left: -40px;
  opacity: 0.5;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.about-shape-2 {
  width: 160px;
  height: 160px;
  background: var(--yellow);
  bottom: -30px;
  right: 20%;
  opacity: 0.6;
  transform: rotate(22deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.about-sidebar {
  background: var(--yellow);
  padding: 2rem 1.5rem;
}

/* ============================================================
   AUTHOR SECTION
   ============================================================ */
.author-section {
  max-width: var(--page-max);
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.author-aside {
  max-width: 680px;
}

.author-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 2px solid var(--ink);
  padding: 2rem;
  position: relative;
}

.author-card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  background: var(--green);
  z-index: -1;
}

.author-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.author-credentials {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--ink-80);
  font-style: italic;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed var(--ink-40);
}

.author-bio {
  font-size: 1rem;
  margin-bottom: 0;
}

/* ============================================================
   CONTACT / PRIVACY DECO
   ============================================================ */
.contact-hero-section, .privacy-intro-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 180px;
  overflow: hidden;
}

.contact-deco-figure, .privacy-deco-figure {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 2rem;
}

.contact-shape, .privacy-shape {
  position: absolute;
}

.contact-shape-1 {
  width: 180px;
  height: 180px;
  background: var(--green);
  top: -30px;
  right: 10%;
  opacity: 0.4;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: rotate(15deg);
}

.contact-shape-2 {
  width: 100px;
  height: 100px;
  background: var(--yellow);
  bottom: -20px;
  left: 5%;
  opacity: 0.5;
  border-radius: 50%;
}

.privacy-shape-1 {
  width: 200px;
  height: 200px;
  background: var(--yellow);
  top: -50px;
  right: 5%;
  opacity: 0.35;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.contact-sidebar, .privacy-sidebar {
  background: var(--yellow);
  padding: 2rem 1.5rem;
}

/* ============================================================
   PAGE H1 (non-hero pages)
   ============================================================ */
.page-h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 4px solid var(--green);
}

/* ============================================================
   QUICK NAV CARD (home hero aside)
   ============================================================ */
.quick-nav-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--green);
  padding: 1.5rem;
}

.qnav-heading {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.qnav-list a {
  color: rgba(255,255,255,0.85);
}

.qnav-list a:hover {
  color: var(--green);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  margin-top: 4rem;
  position: relative;
  width: 100%;
}

.site-footer::before {
  content: '';
  display: block;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--green) 0 20px,
    var(--yellow) 20px 40px,
    var(--ink) 40px 44px
  );
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
}

.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.footer-nav-col .footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-dl { margin: 0; }

.footer-dl-heading {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-dl dd {
  margin: 0;
  padding: 0;
}

.footer-dl dd a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 0.25rem 0;
}

.footer-dl dd a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer-trust-col {}

.footer-rg {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(135,255,113,0.3);
  padding: 1.25rem;
}

.rg-notice {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ============================================================
   FAQ ACCORDION (content-body)
   ============================================================ */
.faq-body details {
  border: 2px solid var(--ink);
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}

.faq-body details summary {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.faq-body details summary::-webkit-details-marker { display: none; }
.faq-body details summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green);
  background: var(--ink);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-body details[open] summary::after { content: '−'; }

.faq-body details > div {
  padding: 0.9rem 1rem 1rem;
  border-top: 1px dashed var(--ink-40);
}

/* ============================================================
   TABLES
   ============================================================ */
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content-body th, .content-body td {
  border: 2px solid var(--ink);
  padding: 0.65rem 0.85rem;
  text-align: left;
  white-space: nowrap;
}

.content-body th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-ui);
}

.content-body tr:nth-child(even) td {
  background: rgba(135,255,113,0.08);
}

/* ============================================================
   MEMPHIS DECORATIVE SHAPES (CSS-generated)
   ============================================================ */
.page-main::after {
  content: '';
  display: block;
  clear: both;
}

/* Triangle decoration on hero */
.hero-figure::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-bottom: 80px solid var(--green);
  z-index: 3;
  pointer-events: none;
}

/* ============================================================
   MISC UTILITY
   ============================================================ */
.page-main {
  min-height: 60vh;
  overflow-x: hidden;
}

/* ============================================================
   RESPONSIVE — TABLET 900px
   ============================================================ */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-trust-col {
    grid-column: 1 / -1;
  }

  .footer-nav-col .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: 55vh;
  }

  .hero-aside {
    clip-path: none;
    min-height: auto;
  }

  .feature-hero-section {
    grid-template-columns: 1fr;
  }

  .feature-hero-aside {
    display: none;
  }

  .faq-hero-section {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    clip-path: none;
  }

  .about-hero-section,
  .contact-hero-section,
  .privacy-intro-section {
    grid-template-columns: 1fr;
    min-height: 140px;
  }

  .about-sidebar,
  .contact-sidebar,
  .privacy-sidebar {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-nav-row {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
    border-top: 2px solid var(--green);
    padding: 0.5rem 0;
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 200;
    overflow-x: hidden;
  }

  .header-nav-row.nav-open {
    display: flex;
  }

  .nav-link {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-right: none;
    padding: 0 1.25rem;
    font-size: 0.9rem;
    min-height: 52px;
    width: 100%;
  }

  .header-brand-row {
    position: relative;
    flex-wrap: nowrap;
    padding: 0.5rem 0.75rem;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  /* CTAs stay visible and properly sized on mobile */
  .header-cta-group {
    gap: 0.3rem;
  }

  .header-cta-group .cta {
    font-size: 0.72rem;
    padding: 0 0.6rem;
    min-height: 44px;
    letter-spacing: 0.02em;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
  }

  .sidebar-left {
    position: static;
    display: none;
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-figure {
    min-height: 55vw;
  }

  .feature-hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .feature-hero-figure {
    min-height: 50vw;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 1.5rem;
    gap: 1.5rem;
  }

  .footer-nav-col .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
  }

  .footer-links {
    gap: 0.25rem;
  }

  .footer-links a {
    padding: 0 0.4rem;
    min-height: 44px;
  }

  .child-list {
    grid-template-columns: 1fr;
  }

  .breadcrumb {
    padding: 0 1rem;
    min-height: 44px;
  }

  .breadcrumb a {
    min-height: 44px;
    padding: 0 0.25rem;
  }

  .child-section {
    padding: 0 1rem 2rem;
  }

  .author-section {
    padding: 0 1rem;
  }
}

/* ============================================================
   RESPONSIVE — SMALL 480px
   ============================================================ */
@media (max-width: 480px) {
  .header-brand-row {
    padding: 0.5rem 0.6rem;
    gap: 0.25rem;
  }

  .brand-text {
    font-size: 0.82rem;
  }

  .header-cta-group .cta {
    font-size: 0.68rem;
    padding: 0 0.5rem;
    min-height: 44px;
  }

  .footer-nav-col .footer-nav {
    grid-template-columns: 1fr;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
  }

  .footer-dl dd a {
    min-height: 44px;
  }

  .breadcrumb a {
    min-height: 44px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}