:root {
  --cream: #fff9f0;
  --ink: #26332c;
  --ink-soft: #5b6b62;
  --matcha: #a8d5ba;
  --matcha-deep: #3e7d5a;
  --matcha-dark: #2f6246;
  --lavender: #c9b8ff;
  --card: #ffffff;
  --line: #e9e1d3;
  --shadow: 0 16px 40px rgba(38, 51, 44, 0.08);
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 0% -10%, #e5f5ec 0%, transparent 60%),
    radial-gradient(700px 380px at 100% 0%, #efe8ff 0%, transparent 55%),
    var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

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

a { color: var(--matcha-deep); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--matcha-deep);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  background: rgba(255, 249, 240, 0.88);
  border-bottom: 1px solid rgba(233, 225, 211, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(62, 125, 90, 0.22);
}

nav {
  display: flex;
  gap: 6px;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(168, 213, 186, 0.45);
}

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 12px;
  text-align: center;
}

.hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(62, 125, 90, 0.28);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--matcha-deep);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lede {
  margin: 16px auto 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--matcha-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  border-radius: 999px;
}

.button:hover { background: var(--matcha-dark); }

.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.ghost:hover { background: #fff; }

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 8px;
}

.section h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.section .intro {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.shot-grid img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #fff;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card h3 {
  margin: 10px 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e7f5ec;
  color: var(--matcha-deep);
}

.mark.lavender { background: #f3eeff; color: #6b54c9; }
.mark.peach { background: #fff0e8; color: #b8583a; }
.mark.sky { background: #e7f6fc; color: #2d6f91; }

.note {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 0 24px;
}

.note .card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
}

.note img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex: none;
}

.note h2 { margin: 0 0 4px; font-size: 1.15rem; }
.note p { margin: 0; color: var(--ink-soft); }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 16px;
}

.page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.updated {
  color: var(--ink-soft);
  margin-top: 8px;
}

.page h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.faq h2 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

ul { padding-inline-start: 1.2rem; padding-inline-end: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 16px 0 8px;
  font-size: 0.95rem;
}

th, td {
  text-align: start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { background: #f4efe6; }

.site-footer {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 28px 24px 48px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer .brand { margin-bottom: 8px; }
.site-footer .brand img { width: 32px; height: 32px; border-radius: 9px; }
.site-footer p { margin: 4px 0; }

@media (max-width: 980px) {
  .shot-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-inline-end: -24px;
    padding-inline-end: 24px;
  }

  .shot-grid img {
    height: 460px;
    width: auto;
    scroll-snap-align: start;
    flex: none;
  }

  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: 0 16px; }
  .brand span { font-size: 1.05rem; }
  nav a { padding: 8px 8px; font-size: 0.9rem; }
  .hero { padding-top: 36px; }
  .features { grid-template-columns: 1fr; }
  .note .card { align-items: flex-start; }
  table { display: block; overflow-x: auto; }
}

html[lang="ar"] body {
  font-family: "SF Arabic Rounded", "SF Arabic", "Geeza Pro", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand,
html[lang="ar"] .section h2,
html[lang="ar"] .page h2,
html[lang="ar"] .card h3 {
  letter-spacing: 0;
}

html[lang="ar"] h1 { line-height: 1.25; }

html[lang="ar"] .eyebrow {
  letter-spacing: 0;
  text-transform: none;
}
