/* Kallem Mama: velvet, gold and Amiri. Arabic first, built for a 55-year-old reading on her phone. */
:root {
  --bg: #ffffff;
  --surface: #fbf5f5;
  --blush: #f8e2e2;
  --ink: #251616;
  --ink-2: #5f4f4f;
  --line: #e4dad8;
  --brand: #701d2a;
  --deep: #461119;
  --gold: #d5b584;
  --gold-ink: #87602c;
  --leaf: #346652;
  --error: #a32020;
  --on-deep: #f7efe9;
  --on-deep-2: #dccac4;
  --font-ar: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif;
  --font-ui: "Readex Pro", system-ui, -apple-system, "Segoe UI", "Geeza Pro", sans-serif;
  --font-latin: "Bodoni Moda", Georgia, serif;
  --wrap: 1040px;
  --text: 680px;
  --gutter: max(18px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 18px; line-height: 1.75; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 4px; }
h1, h2, h3 { font-family: var(--font-ar); font-weight: 700; line-height: 1.35; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(56px, 9vw, 104px); }
.band--soft { background: var(--surface); }
.sec-title { font-size: clamp(30px, 4.4vw, 42px); color: var(--ink); }
.sec-lede { color: var(--ink-2); margin-top: 12px; max-width: var(--text); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.brand img { width: 30px; height: auto; }
.brand b { font-family: var(--font-ar); font-weight: 700; font-size: 26px; line-height: 1; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a.link { color: var(--ink-2); text-decoration: none; font-size: 16px; }
.top nav a.link:hover { color: var(--ink); }
@media (max-width: 680px) { .top nav a.link { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 6px; font: 500 17px/1.2 var(--font-ui); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #dfc396; }
.btn--brand { background: var(--brand); color: #ffffff; }
.btn--brand:hover { background: #5e1823; }
.btn--ghost { border-color: rgb(213 181 132 / 0.6); color: var(--on-deep); }
.btn--small { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* hero */
.hero { position: relative; isolation: isolate; color: var(--on-deep); text-align: center; background: radial-gradient(110% 90% at 85% -10%, #6b1c28 0%, transparent 58%), radial-gradient(80% 70% at -10% 110%, #2f0b10 0%, transparent 60%), var(--deep); padding-block: clamp(56px, 10vw, 112px); }
.hero::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgb(213 181 132 / 0.42); border-radius: 4px; pointer-events: none; z-index: -1; }
.hero .seal { width: clamp(108px, 18vw, 150px); margin: 0 auto 24px; filter: drop-shadow(0 10px 24px rgb(0 0 0 / 0.35)); }
.hero h1 { font-size: clamp(36px, 7vw, 64px); color: var(--on-deep); max-width: 16ch; margin-inline: auto; }
.hero h1 span { color: var(--gold); display: block; }
.hero .lede { font-size: clamp(18px, 2.3vw, 21px); font-weight: 300; color: var(--on-deep); max-width: 34ch; margin: 20px auto 0; line-height: 1.8; }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 18px; font-size: 15px; color: var(--on-deep-2); }

/* steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step, arabic-indic); font-family: var(--font-ar); font-weight: 700; font-size: 22px; color: var(--brand); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold-ink); display: grid; place-items: center; }
.steps h3 { font-size: 23px; }
.steps p { color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* promises */
.promises { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.promises li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.promises li::before { content: ""; width: 10px; height: 10px; margin-top: 10px; background: var(--gold); transform: rotate(45deg); }
.promises b { display: block; font-weight: 600; }
.promises span { color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

/* prices */
.prices { margin-top: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.price:last-child { border-bottom: 0; }
.price b { font-weight: 600; }
.price small { display: block; color: var(--ink-2); font-size: 15px; }
.price .amount { font-family: var(--font-ar); font-weight: 700; font-size: 26px; color: var(--brand); white-space: nowrap; }
.price.gift { background: var(--blush); }
.pay-with { margin-top: 14px; color: var(--ink-2); font-size: 15px; }

/* form */
.form-card { margin-top: 36px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; max-width: 720px; }
.field { display: grid; gap: 8px; }
.field label, .legend { font-weight: 600; font-size: 17px; }
.field .hint { color: var(--ink-2); font-size: 14.5px; font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid #cbbdba; border-radius: 8px; font: 400 18px/1.6 var(--font-ui); color: var(--ink); background: #ffffff; }
.field textarea { min-height: 120px; resize: vertical; font-family: var(--font-ar); font-size: 19px; }
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgb(112 29 42 / 0.15); outline-offset: 0; }
.field input[dir="ltr"] { text-align: right; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; border: 1px solid #cbbdba; border-radius: 8px; cursor: pointer; font-weight: 500; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--brand); background: #fbf1f2; color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 8px; background: var(--surface); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--brand); }
.check span { font-size: 16.5px; line-height: 1.7; }
.check.declare { background: #fbf1f2; border: 1px solid #ebc9cc; }
.hp { position: absolute; inset-inline-start: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-weight: 500; font-size: 16px; }
.privacy-note { color: var(--ink-2); font-size: 14.5px; }
.done { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: 12px; }
.done img { width: 92px; }
.done h3 { font-size: 30px; color: var(--brand); }
.done p { color: var(--ink-2); max-width: 34ch; }

/* faq */
.faq { margin-top: 32px; border-top: 1px solid var(--line); max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-latin); font-size: 26px; color: var(--gold-ink); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 64ch; }

/* removal */
.remove { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .remove { grid-template-columns: 1fr; } }
.remove .form-card { margin-top: 0; }

/* footer */
.foot { background: var(--deep); color: var(--on-deep-2); padding-block: 40px 48px; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .brand { color: var(--gold); }
.foot .brand b { font-size: 24px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--on-deep); }

/* simple pages */
.page { max-width: 760px; margin-inline: auto; padding: clamp(40px, 8vw, 80px) var(--gutter); }
.page h1 { font-size: clamp(32px, 5vw, 44px); color: var(--brand); }
.page h2 { font-size: 24px; margin-top: 32px; }
.page p, .page li { color: var(--ink-2); margin-top: 10px; }
.page ul { padding-inline-start: 1.2em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* start (replaces the old sign-up form) */
.start { margin-top: 32px; max-width: 720px; display: grid; gap: 18px; justify-items: start; }
.start .btn { min-width: 260px; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 16.5px; }
.tips li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; }
.tips li::before { content: ""; width: 9px; height: 9px; margin-top: 11px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 520px) { .start .btn { width: 100%; } }

/* Jumping to a section keeps its heading clear of the sticky header. */
section[id] { scroll-margin-top: 72px; }
