:root {
  color-scheme: light;
  --ink: #111821;
  --ink-soft: #263343;
  --night: #0c1118;
  --paper: #f4f7fa;
  --surface: #ffffff;
  --line: #d8e0e8;
  --muted: #526170;
  --blue: #315ee8;
  --blue-dark: #2045b7;
  --cyan: #147083;
  --sun: #d88916;
  --focus: #1648ce;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 64px;
  border-bottom: 1px solid #26303c;
  background: var(--night);
  color: #f4f6f8;
}

.site-header-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: #f4f6f8;
  font-size: 18px;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
}

.brand img,
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand-mark {
  display: grid;
  place-items: center;
  border: 1px solid #596472;
  border-radius: 6px;
  background: #18212c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header nav a {
  padding: 20px 0 17px;
  border-bottom: 3px solid transparent;
  color: #dbe2ea;
  font-size: 14px;
  font-weight: 650;
  line-height: 24px;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  border-bottom-color: #6f91ff;
  color: #ffffff;
}

.public-hero {
  position: relative;
  display: flex;
  height: calc(100svh - 104px);
  min-height: 540px;
  max-height: 720px;
  align-items: flex-end;
  overflow: hidden;
  background: #101a24;
  color: #ffffff;
}

.hero-backdrop,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-backdrop {
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.92) contrast(1.04);
}

.hero-shade {
  background: rgba(7, 13, 20, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 62px;
}

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

.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-identity img {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0;
}

.public-hero .eyebrow {
  color: #9ddcea;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: inherit;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin-bottom: 14px;
  font-size: 58px;
  font-weight: 760;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 730;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.hero-arabic {
  margin: 2px 0 0;
  color: #dbe5f1;
  font-family: "Noto Naskh Arabic", "Geeza Pro", serif;
  font-size: 27px;
  line-height: 1.2;
}

.hero-product-name {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  font-weight: 760;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: #e2e8ef;
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: #f4f6f8;
  color: #111821;
}

.button.primary:hover {
  background: #ffffff;
  color: #111821;
}

.button.secondary {
  border-color: #91a0b0;
  background: rgba(12, 17, 24, 0.54);
  color: #ffffff;
}

.button.secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.status-strip {
  border-bottom: 1px solid var(--line);
  background: #eaf0f7;
}

.status-strip-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.status-strip strong {
  color: var(--ink);
  font-size: 15px;
}

.status-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: 100%;
  padding: 82px 0;
}

.section:nth-of-type(even) {
  background: #eaf0f4;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading p:last-child,
.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.product-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: 72px;
}

.product-preview-copy {
  max-width: 650px;
}

.product-preview-copy p {
  color: var(--muted);
  font-size: 18px;
}

.capture {
  margin: 0;
}

.capture img {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  border: 1px solid #bac5d0;
  border-radius: 8px;
  background: #d6e2ed;
}

.capture figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row .eyebrow {
  padding-top: 5px;
  color: var(--blue-dark);
}

.feature-row h3,
.feature-row p {
  margin: 0;
}

.feature-row p {
  color: var(--muted);
}

.company-product {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-product img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
}

.company-product p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.text-link {
  font-weight: 720;
  white-space: nowrap;
}

.document {
  width: min(780px, calc(100% - 40px));
  min-height: calc(100svh - 190px);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.document h1 {
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 46px;
}

.document h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 26px;
}

.document p,
.document li {
  color: #344250;
}

.document code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.not-found {
  display: grid;
  min-height: calc(100svh - 146px);
  place-items: center;
  padding: 64px 20px;
  text-align: center;
}

.not-found > div {
  max-width: 600px;
}

.not-found p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid #26303c;
  background: var(--night);
  color: #bcc7d2;
}

.site-footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 14px;
}

.site-footer a {
  color: #e7edf3;
}

@media (max-width: 820px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .public-hero {
    max-height: 680px;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .product-preview {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .capture {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .feature-row {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 20px;
  }

  .feature-row p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .site-header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 60px;
    gap: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand img,
  .brand-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a {
    padding: 18px 0 15px;
    font-size: 13px;
  }

  .public-hero {
    height: calc(100svh - 94px);
    min-height: 500px;
    max-height: 650px;
  }

  .hero-backdrop {
    object-position: 50% 18%;
  }

  .hero-content,
  .section-inner,
  .status-strip-inner,
  .site-footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero-content {
    padding: 38px 0 40px;
  }

  .hero-identity {
    margin-bottom: 18px;
  }

  .hero-identity img {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-arabic {
    font-size: 23px;
  }

  .lead {
    font-size: 17px;
  }

  .actions {
    margin-top: 24px;
  }

  .button {
    flex: 1 1 150px;
  }

  .status-strip-inner {
    display: block;
    padding: 14px 0;
  }

  .status-strip span {
    display: block;
    margin-top: 2px;
  }

  .section {
    padding: 58px 0;
  }

  .feature-row {
    display: block;
    padding: 24px 0;
  }

  .feature-row h3 {
    margin-bottom: 8px;
  }

  .company-product {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 18px;
  }

  .company-product img {
    width: 64px;
    height: 64px;
  }

  .company-product .text-link {
    grid-column: 2;
  }

  .document {
    width: min(100% - 32px, 780px);
    padding: 58px 0 72px;
  }

  .document h1 {
    font-size: 36px;
  }

  .document h2 {
    font-size: 24px;
  }

  .site-footer-inner {
    display: block;
    padding: 24px 0;
  }

  .site-footer-inner span {
    display: block;
    margin-top: 5px;
  }
}

@media (max-height: 650px) {
  .public-hero {
    min-height: 460px;
  }
}

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