:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #52605d;
  --paper: #ffffff;
  --soft: #f4f7f4;
  --dark: #111715;
  --dark-2: #18211e;
  --line: #d8e1dd;
  --gold: #d6a23f;
  --gold-strong: #b97d19;
  --teal: #147c72;
  --coral: #b54f42;
  --blue: #385a80;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 23, 21, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  padding: 0.65rem 0.85rem;
  position: fixed;
  top: -4rem;
  z-index: 20;
  background: var(--gold);
  color: #15110a;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.6rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: 34px;
}

.top-nav,
.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--teal);
}

.small-cta,
.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.small-cta {
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.9rem;
}

.button {
  border: 1px solid transparent;
  padding: 0.8rem 1rem;
}

.button:hover,
.small-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: #1b1408;
}

.button-primary:hover {
  background: #e1b65b;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  width: 100%;
}

.section-dark {
  background:
    radial-gradient(circle at 18% 16%, rgba(214, 162, 63, 0.2), transparent 34%),
    linear-gradient(135deg, var(--dark), var(--dark-2) 64%, #26302b);
  color: #f8faf5;
}

.section-white {
  background: var(--paper);
}

.section-tint {
  background: var(--soft);
}

.hero {
  padding: clamp(3rem, 8vw, 5.8rem) 0;
}

.hero-grid,
.split {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.card-kicker {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

.section-white .eyebrow,
.section-tint .eyebrow,
.section-white .card-kicker,
.section-tint .card-kicker {
  color: var(--gold-strong);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  max-width: 780px;
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 820px;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  margin-bottom: 0.75rem;
}

.lead {
  color: rgba(248, 250, 245, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 690px;
}

.arabic-note {
  border-left: 3px solid var(--teal);
  color: rgba(248, 250, 245, 0.86);
  font-size: 1.06rem;
  margin: 1.2rem 0 0;
  padding-left: 1rem;
}

.cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.align-right {
  justify-content: flex-end;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.hero-points li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(248, 250, 245, 0.9);
  padding: 0.45rem 0.7rem;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-media figcaption,
.screenshots figcaption {
  color: rgba(248, 250, 245, 0.72);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.section-white .hero-media figcaption,
.section-white figcaption,
.section-tint figcaption {
  color: var(--muted);
}

.problem-list,
.trust-copy {
  color: var(--muted);
  font-size: 1.06rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.card p,
.price-card p,
.workflow-list li {
  color: var(--muted);
}

.accent-card {
  border-color: rgba(20, 124, 114, 0.32);
  box-shadow: 0 14px 34px rgba(20, 124, 114, 0.14);
}

.check-list {
  color: var(--muted);
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.check-list li + li {
  margin-top: 0.45rem;
}

.workflow-list {
  counter-reset: workflow;
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}

.workflow-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.4rem;
  position: relative;
}

.workflow-list li::before {
  align-items: center;
  background: var(--teal);
  border-radius: 999px;
  color: #fff;
  content: counter(workflow);
  counter-increment: workflow;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  height: 1.8rem;
  justify-content: center;
  left: 1rem;
  position: absolute;
  top: 1rem;
  width: 1.8rem;
}

.workflow-list strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
}

.screenshots {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.7rem;
}

.screenshots figure {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  padding: 0.75rem;
}

.screenshots img {
  aspect-ratio: 9 / 16;
  background: #e8eeeb;
  border-radius: 6px;
  object-fit: contain;
  width: 100%;
}

.pricing-section .price-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f8faf5;
}

.pricing-section .price-card p,
.pricing-section .price-card span {
  color: rgba(248, 250, 245, 0.76);
}

.price-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.price-card h3 span {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.highlighted {
  border-color: rgba(214, 162, 63, 0.58);
}

.text-link {
  color: var(--teal);
  font-weight: 850;
}

.limitation-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.limitation-grid p {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
  border-radius: var(--radius);
  color: var(--muted);
  margin: 0;
  padding: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.site-footer {
  background: #0c100f;
  color: #f8faf5;
  padding: 2rem 0;
}

.site-footer p {
  color: rgba(248, 250, 245, 0.68);
  margin: 0.35rem 0 0;
}

.footer-grid {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.page-hero .lead {
  max-width: 760px;
}

.content-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.numbered-card {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem minmax(0, 1fr);
}

.numbered-card .number {
  align-items: center;
  background: var(--teal);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
}

@media (max-width: 960px) {
  .top-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .cards.grid,
  .screenshots,
  .limitation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .align-right {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .small-cta {
    width: 100%;
  }

  .cards.grid,
  .screenshots,
  .limitation-grid {
    grid-template-columns: 1fr;
  }

  .numbered-card {
    grid-template-columns: 1fr;
  }
}
