/* Lammah website. Brand colours match the app (StorefrontV2Palette). */
@font-face {
  font-family: "Noto Sans Arabic UI";
  src: url("/fonts/NotoSansArabicUI-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic UI";
  src: url("/fonts/NotoSansArabicUI-SemiBold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --green: #25311F;
  --sage: #617955;
  --sage-text: #3F5236;
  --ivory: #F7F3EC;
  --card: #FFFCF7;
  --line: #E7E0D5;
  --gold: #D8B45F;
  --text: #1F2430;
  --muted: #5B6657;
  --soft: #E5ECDD;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: "Noto Sans Arabic UI", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--sage); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { color: var(--green); line-height: 1.35; margin: 0; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 16px; z-index: 10; background: var(--card); padding: 8px 16px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; }
.brand img { width: 48px; height: 48px; border-radius: 12px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1 1 320px; font-weight: 600; font-size: 16px; }
.nav a[aria-current="page"] { color: var(--sage); }
.header-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 16px; font-weight: 700; font-size: 16px; border: 1px solid transparent; }
.btn-primary { background: var(--green); color: var(--card); }
.btn-primary:hover { background: #33422A; color: var(--card); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #E2C277; color: var(--green); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-dark { background: var(--text); color: var(--card); }
.btn-dark:hover { background: #343A48; color: var(--card); }
.btn small { font-weight: 600; font-size: 12px; opacity: .85; }

/* Sections */
section { padding: 48px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-head p { color: var(--muted); }
h2 { font-size: 32px; }
.eyebrow { display: inline-block; padding: 4px 14px; border-radius: 16px; background: var(--soft); color: var(--sage-text); font-size: 14px; font-weight: 600; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero h1 { font-size: 54px; }
.hero-copy > p { font-size: 19px; color: var(--muted); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-art img { width: 100%; height: 190px; object-fit: cover; border-radius: 24px; }
.hero-art img:first-child { grid-row: span 2; height: 394px; }

/* Categories */
.categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.categories-fit { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.category { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; height: 100%; }
.category img { width: 100%; height: 120px; object-fit: cover; }
.category h3 { font-size: 17px; color: var(--text); padding: 12px 14px 0; }
.category p { font-size: 14px; color: var(--muted); padding: 0 14px 14px; }

/* Feature band */
.band { display: flex; flex-wrap: wrap; border-radius: 32px; overflow: hidden; background: var(--green); }
.band-copy { flex: 1 1 460px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.band h2 { color: var(--card); font-size: 38px; }
.band p { color: var(--line); font-size: 18px; }
.band img { flex: 1 1 340px; min-width: 0; min-height: 340px; max-height: 440px; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 6px 14px; border-radius: 16px; background: #34432C; color: var(--ivory); font-size: 14px; }

/* Cards */
.panel { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px 32px; }
.panel-icon { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 18px; background: var(--green); display: flex; align-items: center; justify-content: center; }
.panel-copy { flex: 1 1 320px; min-width: 0; }
.panel-copy h2 { font-size: 26px; margin-bottom: 4px; }
.panel-copy p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.step-number { width: 44px; height: 44px; border-radius: 22px; background: var(--soft); color: var(--sage-text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.step h3 { font-size: 20px; color: var(--text); }
.step p { color: var(--muted); font-size: 16px; }

.join { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; background: var(--soft); border-radius: 32px; padding: 44px 48px; }
.join-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.join-copy p { color: var(--sage-text); }
.join ul { margin: 0; padding-inline-start: 22px; color: var(--green); }
.join-actions { display: flex; flex-direction: column; gap: 12px; flex: 0 1 280px; }

.download { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 40px; }
.download-brand { display: flex; align-items: center; gap: 16px; }
.download-brand img { width: 72px; height: 72px; border-radius: 18px; }
.download-brand p { color: var(--muted); font-size: 15px; }

/* Page header for inner pages */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: 44px; margin: 12px 0; }
.page-head p { color: var(--muted); font-size: 19px; max-width: 720px; }
.page-head .actions { margin-top: 20px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--text); }
.faq p { color: var(--muted); margin-top: 8px; }

/* Footer */
.site-footer { background: var(--green); color: var(--line); margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; padding-top: 40px; padding-bottom: 24px; }
.site-footer strong { color: var(--card); font-size: 22px; }
.site-footer p { font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ivory); font-size: 15px; }
.footer-links a:hover { color: var(--gold); }
.legal-line { border-top: 1px solid #3A4733; padding: 16px 0 28px; font-size: 13px; color: #CFC8BA; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 38px; }
  h2 { font-size: 26px; }
  .band h2 { font-size: 30px; }
  .band-copy, .join { padding: 28px; }
  .hero-art img { height: 140px; }
  .hero-art img:first-child { height: 294px; }
  .page-head h1 { font-size: 34px; }
  .categories, .categories-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category img { height: 96px; }
  .category h3 { font-size: 16px; padding: 10px 12px 0; }
  .category p { font-size: 13px; padding: 0 12px 12px; }
}
