/* Shared look for the inner pages: the app's cream with its deep green, same as the homepage. */
:root {
  --cream: #FCFBF7; --cream2: #F2EFE7; --sand: #F4ECDD;
  --ink: #15171C; --soft: #575B64; --acc: #174F3E; --gold: #E9C77B;
  --line: rgba(21, 23, 28, .12);
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Geeza Pro", serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 max(16px, 5vw); }
.narrow { max-width: 760px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(21,23,28,.08); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px/1 var(--display); }
.brand img { width: 34px; height: 34px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--soft); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top nav .cta { color: var(--cream); background: var(--ink); padding: 9px 16px; border-radius: 999px; font-weight: 600; }

/* green page header */
.band { color: var(--cream); background: linear-gradient(180deg, #174F3E, #113B2F); padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px); }
.eyebrow { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(252,251,247,.74); }
.eyebrow .ar { font: 400 28px/1 var(--arabic); letter-spacing: 0; text-transform: none; color: var(--gold); }
.band h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; margin-bottom: 20px; }
.band h1 em { font-style: italic; color: var(--gold); }
.band .lede { font-size: clamp(17px, 1.4vw, 20px); color: rgba(252,251,247,.8); max-width: 36em; margin: 0; }

/* body */
main section { padding: clamp(48px, 7vw, 88px) 0; }
main section + section { border-top: 1px solid var(--line); }
main section.sand { background: var(--sand); border-top: 0; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin-bottom: 16px; }
h2 em { font-style: italic; color: var(--acc); }
.prose p { color: var(--soft); margin: 0 0 16px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--acc); }
.note { font-size: 14px; color: var(--soft); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--acc); color: var(--cream); text-decoration: none; font: 600 15px/1 var(--body); border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--acc); border: 1px solid var(--acc); }

footer { color: rgba(252,251,247,.74); background: #113B2F; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; padding-top: 40px; padding-bottom: 48px; font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }

/* phone menu (js/menu.js) */
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s, background .2s; }
.menu-btn i { position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.top.open .menu-btn i { background: transparent; }
.top.open .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
.top.open .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px max(16px, 5vw) 20px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -20px rgba(21,23,28,.25); }
  .top.open nav { display: flex; }
  .top nav a, .top nav .btn { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .top nav .cta, .top nav .btn { margin-top: 14px; padding: 13px; border: 0; border-radius: 999px; text-align: center; justify-content: center; }
  .top nav .cta { color: var(--cream); }
  .top nav .btn.ghost { border: 1px solid var(--acc); color: var(--acc); }
}
