:root {
  --cream: #fdfcf6;
  --paper: #fffcf8;
  --ink: #16181e;
  --ink-soft: #3a463f;
  --green: #063d2e;
  --green-mid: #0c4634;
  --green-deep: #04281e;
  --heading: #0a2921;
  --sage: #e8f3e1;
  --sage-deep: #d5e6cc;
  --gold: #d4a84b;
  --gold-bright: #e0bc62;
  --gold-soft: #f3e6c4;
  --line: rgba(212, 168, 75, 0.55);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", serif;
  --wrap: 1080px;
  --header: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23d4a84b' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M280 72 L468 280 L280 488 L92 280 Z'/%3E%3Cpath d='M280 148 L392 280 L280 412 L168 280 Z'/%3E%3C/g%3E%3Cpath fill='%23d4a84b' fill-opacity='0.16' d='M168 78C116 92 92 128 92 164C92 200 116 236 168 250C132 234 116 202 116 164C116 126 132 94 168 78Z'/%3E%3C/svg%3E");
  background-size: 560px 560px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: clip;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(var(--green) 0 4px, var(--gold-bright) 4px 6px);
}

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

a {
  color: var(--green-mid);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-deep);
}

a,
button,
label,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(224, 188, 98, 0.35);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-bright);
  color: var(--green-deep);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--green);
  color: var(--cream);
  padding: 0.6rem 0.9rem;
  z-index: 20;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  transform: none;
  color: var(--cream);
}

.wrap {
  width: min(var(--wrap), calc(100% - 1.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 0.5rem;
  min-height: var(--header);
  padding: 0.55rem 0;
}

.logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: -0.02em;
  min-width: 0;
}

.logo span {
  color: var(--gold);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--paper);
  cursor: pointer;
}

.nav-button span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--green);
}

.nav-toggle:focus-visible + .nav-button {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.site-nav {
  display: none;
  grid-column: 1 / -1;
  flex-direction: column;
  gap: 0;
  margin-top: 0.35rem;
  padding: 0.15rem 0 0.45rem;
  border-top: 1px solid var(--line);
}

.nav-toggle:checked ~ .site-nav {
  display: flex;
}

.site-nav a {
  color: var(--heading);
  text-decoration: none;
  font-weight: 600;
  min-height: 3rem;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid rgba(212, 168, 75, 0.28);
}

.site-nav a[aria-current="page"] {
  color: var(--green);
  box-shadow: inset 3px 0 0 var(--gold);
  padding-left: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  line-height: 1.2;
  cursor: pointer;
}

.btn-subscribe {
  background: var(--gold-bright);
  color: var(--green-deep);
  border-color: #c9962c;
}

.btn-subscribe:hover {
  background: #f0d48a;
  color: var(--green-deep);
}

.btn-green {
  background: var(--green);
  color: var(--gold-soft);
}

.btn-green:hover {
  background: var(--green-mid);
  color: white;
}

.btn-line {
  background: var(--paper);
  color: var(--heading);
  border-color: var(--sage-deep);
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--heading);
}

.hero {
  padding: 0.75rem 0 2.25rem;
}

.dome {
  max-width: 880px;
  margin: 0.4rem auto 0.25rem;
  padding: 0.35rem 0.25rem 0.15rem;
  text-align: center;
}

.arabic {
  font-family: var(--arabic);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading);
  margin: 0;
}

.bismillah {
  font-weight: 400;
  font-size: clamp(1.75rem, 6.4vw, 3.2rem);
  line-height: 1.6;
  color: var(--green-mid);
  margin: 0;
  padding-bottom: 1.15rem;
  text-wrap: balance;
}

.hero-greeting {
  font-size: clamp(1.45rem, 5.2vw, 2.55rem);
  position: relative;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--heading);
  text-wrap: balance;
  line-height: 1.28;
}

h1 {
  font-size: clamp(1.65rem, 6vw, 2.7rem);
  margin: 0.7rem auto 0.75rem;
  max-width: min(20ch, 100%);
}

h2 {
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  margin: 0 0 0.55rem;
}

h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  margin: 1.15rem 0 0.35rem;
}

.hero h1,
.page-intro h1 {
  text-align: center;
}

.lede,
.hero-copy,
.section-head p {
  color: var(--ink);
}

.hero-copy,
.lede {
  max-width: 42rem;
  margin-inline: auto;
}

.hero-copy {
  text-align: center;
}

.hero-copy p,
.section-head p {
  margin: 0 0 0.85rem;
  text-wrap: pretty;
}

.hero-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hero-actions .btn {
  width: 100%;
}

.section {
  padding: 0 0 2.5rem;
}

.reading {
  width: min(40rem, 100%);
  margin-inline: auto;
  display: grid;
  gap: 2.1rem;
}

.reading h2 {
  margin: 0 0 0.45rem;
}

.reading p:last-child,
.reading .steps:last-child {
  margin-bottom: 0;
}

.offer-close {
  width: min(46rem, 100%);
  margin: 2.1rem auto 0;
  display: grid;
  gap: 1rem;
}

.stack {
  display: grid;
  gap: 1.75rem;
  align-content: start;
}

.section-head {
  margin: 2rem 0 0.9rem;
}

.service-grid,
.split,
.layout {
  display: grid;
  gap: 1rem;
}

.layout {
  gap: 1.5rem;
  padding-bottom: 2.75rem;
}

.service-card,
.panel,
.callout {
  background-color: var(--sage);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M0 0h16A16 16 0 0 0 0 16z' fill='%230c4634'/%3E%3Cpath d='M2 2h10A10 10 0 0 0 2 12' fill='none' stroke='%23e0bc62' stroke-width='0.7'/%3E%3Cpath fill='%23e0bc62' d='M8 4.2l.6 1.7 1.7.6-1.7.6L8 8.8l-.6-1.7-1.7-.6 1.7-.6z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M28 0H12A16 16 0 0 1 28 16z' fill='%230c4634'/%3E%3Cpath d='M26 2H16A10 10 0 0 1 26 12' fill='none' stroke='%23e0bc62' stroke-width='0.7'/%3E%3Cpath fill='%23e0bc62' d='M20 4.2l.6 1.7 1.7.6-1.7.6-.6 1.7-.6-1.7-1.7-.6 1.7-.6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top, right top;
  background-size: 2.4rem 2.4rem, 2.4rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: inset 0 0 0 5px rgba(255, 252, 248, 0.45);
  padding: 2.15rem 1.2rem 1.3rem;
}

.service-card p,
.block p,
.callout p,
.facts li,
.steps li,
.included li {
  color: var(--ink-soft);
}

.service-card p:last-child,
.block p:last-child,
.callout p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.sprig {
  width: 2.2rem;
  height: 3rem;
}

.sprig-flip {
  transform: scaleX(-1);
}

.badge {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
}

.badge svg {
  width: 2.25rem;
  height: 2.25rem;
}

.steps,
.facts,
.included {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li,
.included li,
.facts li {
  position: relative;
  padding-left: 2.15rem;
  margin: 0 0 0.8rem;
}

.facts li::before,
.included li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.steps {
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-left: 2.7rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--gold-bright);
}

.price-band {
  display: grid;
  gap: 1.15rem;
  padding: 1.35rem 1.05rem 1.25rem;
  border-radius: 22px;
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23e0bc62' stroke-opacity='0.1' stroke-width='1'%3E%3Cpath d='M280 72 L468 280 L280 488 L92 280 Z'/%3E%3Cpath d='M280 148 L392 280 L280 412 L168 280 Z'/%3E%3C/g%3E%3Cpath fill='%23e0bc62' fill-opacity='0.12' d='M168 78C116 92 92 128 92 164C92 200 116 236 168 250C132 234 116 202 116 164C116 126 132 94 168 78Z'/%3E%3C/svg%3E");
  background-size: 560px 560px;
  color: var(--gold-soft);
  box-shadow: 0 0 0 1px rgba(224, 188, 98, 0.45);
}

.offer-included {
  text-align: left;
}

.price-band .included li {
  color: var(--gold-soft);
}

.price-band .included li:last-child {
  margin-bottom: 0;
}

.price-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
}

.price-band p {
  margin: 0;
}

.coin {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f8e7b8, #d4a84b 42%, #a67c1f 78%);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 3px rgba(255, 248, 230, 0.35), inset 0 0 0 5px rgba(120, 82, 16, 0.25);
}

.coin svg {
  width: 2.2rem;
  height: 2.2rem;
}

.price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  align-items: baseline;
  justify-content: center;
  margin: 0.3rem 0 0.4rem;
  color: var(--gold-soft);
  font-family: var(--serif);
}

.price-amount {
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-term {
  font-size: 1.2rem;
}

.price-band h2 {
  color: var(--gold-soft);
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
}

.price-note {
  color: #e7f2ea;
  font-size: 1rem;
}

.price-band .btn,
.form .btn,
.panel .btn,
.callout .btn,
.block > .btn {
  width: 100%;
  margin-top: 0.85rem;
}

.contact-pill {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1.5px solid var(--gold-bright);
  background: var(--paper);
}

.contact-pill p {
  margin: 0;
}

.contact-pill svg,
.callout-icon {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.15rem;
  color: var(--green);
}

.page-intro {
  padding: 1.35rem 0 0.5rem;
  text-align: center;
}

.page-intro .arabic {
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  color: var(--green-mid);
}

.page-intro h1 {
  margin-top: 0.3rem;
}

.rule {
  width: 8.5rem;
  height: 14px;
  margin: 0.95rem auto 0;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d4a84b' d='M8 0l1.1 6.9L16 8l-6.9 1.1L8 16l-1.1-6.9L0 8l6.9-1.1z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  position: relative;
}

.rule::before,
.rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

.rule::before {
  left: 0;
}

.rule::after {
  right: 0;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field span {
  font-weight: 600;
  color: var(--heading);
  font-size: 0.98rem;
}

input,
textarea,
select {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--sage-deep);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  width: 100%;
  min-height: 2.75rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

.quiet {
  color: var(--ink-soft);
  font-size: 1rem;
}

.site-footer {
  position: relative;
  border-top: 0;
  background-color: #f7f3e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23d4a84b' stroke-opacity='0.1' stroke-width='1'%3E%3Cpath d='M280 72 L468 280 L280 488 L92 280 Z'/%3E%3Cpath d='M280 148 L392 280 L280 412 L168 280 Z'/%3E%3C/g%3E%3Cpath fill='%23d4a84b' fill-opacity='0.18' d='M168 78C116 92 92 128 92 164C92 200 116 236 168 250C132 234 116 202 116 164C116 126 132 94 168 78Z'/%3E%3C/svg%3E");
  background-size: 560px 560px;
  background-position: center top;
  padding: 1.8rem 0 calc(1.8rem + env(safe-area-inset-bottom));
  box-shadow: inset 0 6px 0 var(--green), inset 0 8px 0 var(--gold-bright);
}

.footer-grid {
  display: grid;
  gap: 1.15rem;
}

.footer-brand {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--heading);
}

.footer-brand span {
  color: var(--gold);
}

.site-footer p {
  margin: 0.15rem 0;
}

.footer-nav {
  display: grid;
  gap: 0.15rem;
}

.footer-nav a {
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.fine {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (min-width: 560px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 2.5rem));
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions .btn,
  .price-band .btn,
  .form .btn,
  .panel .btn,
  .callout .btn {
    width: auto;
  }

  .contact-pill {
    align-items: center;
    border-radius: 999px;
    max-width: 38rem;
    margin-inline: auto;
  }
}

@media (min-width: 720px) {
  body {
    font-size: 1.125rem;
  }

  .section-head,
  .section > .steps,
  .section > .block {
    max-width: 44rem;
    margin-inline: auto;
  }

  .block > .btn {
    width: auto;
  }

  .service-grid,
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .price-band {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    padding: 1.7rem 1.8rem;
    gap: 1.6rem;
    border-radius: 28px;
  }

  .price-copy .btn {
    width: auto;
    min-width: 11rem;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  .footer-nav a {
    min-height: 0;
  }
}

@media (min-width: 900px) {
  .nav-button,
  .nav-toggle {
    display: none;
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .header-inner > .btn-subscribe {
    order: 2;
  }

  .site-nav,
  .nav-toggle:checked ~ .site-nav {
    order: 1;
  }

  .site-nav,
  .nav-toggle:checked ~ .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: 0;
    grid-column: auto;
  }

  .site-nav a {
    min-height: 0;
    padding: 0.35rem 0.1rem;
    border: 0;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--gold);
    padding-left: 0.1rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  .layout-with-aside {
    grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.8fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: start;
  }

  .layout > .block {
    width: min(46rem, 100%);
    margin-inline: auto;
  }
}

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

@media print {
  .site-header,
  .hero-actions,
  .btn,
  .nav-button {
    display: none !important;
  }

  body::before {
    display: none;
  }
}
