:root {
  color-scheme: light;
  --ink: #102026;
  --muted: #5b6c72;
  --paper: #ffffff;
  --wash: #f2f7f6;
  --line: #d8e3e1;
  --teal: #087f83;
  --teal-dark: #055e66;
  --green: #10a979;
  --blue: #176b9a;
  --red: #d92d4e;
  --gold: #c98b12;
  --night: #071b21;
  --night-soft: #0e2b32;
  --header-height: 72px;
  --content: 1180px;
  --radius: 8px;
}

/* Live support */
.sl-support {
  position: fixed;
  inset-inline-end: 22px;
  inset-block-end: 22px;
  z-index: 240;
  font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
}

html:not([lang="ar"]) .sl-support {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.sl-support button,
.sl-support input,
.sl-support textarea {
  font: inherit;
  letter-spacing: 0;
}

.sl-support-bubble {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-inline-start: auto;
  color: #fff;
  background: #087f83;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(7, 59, 65, 0.26);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.sl-support-bubble:hover {
  background: #055e66;
  box-shadow: 0 14px 34px rgba(7, 59, 65, 0.33);
  transform: translateY(-2px);
}

.sl-support-bubble svg {
  width: 27px;
  height: 27px;
}

.sl-support-unread {
  position: absolute;
  inset-block-start: -4px;
  inset-inline-end: -4px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding-inline: 5px;
  color: #fff;
  background: #d92d4e;
  border: 2px solid #fff;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.sl-support-welcome {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 72px;
  width: min(310px, calc(100vw - 34px));
  padding: 15px 16px 13px;
  color: #102026;
  background: #fff;
  border: 1px solid #d8e3e1;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16, 32, 38, 0.16);
  animation: sl-support-pop 280ms cubic-bezier(.2, .8, .2, 1) both;
}

.sl-support-welcome::after {
  content: "";
  position: absolute;
  inset-inline-end: 20px;
  inset-block-end: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-inline-end: 1px solid #d8e3e1;
  border-block-end: 1px solid #d8e3e1;
  transform: rotate(45deg);
}

.sl-support-welcome strong {
  display: block;
  padding-inline-end: 16px;
  font-size: 13px;
  line-height: 1.65;
}

.sl-support-welcome-close {
  position: absolute;
  inset-block-start: 5px;
  inset-inline-end: 7px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #5b6c72;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.sl-support-welcome-action {
  position: relative;
  z-index: 1;
  margin-block-start: 8px;
  padding: 0;
  color: #087f83;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sl-support-panel {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 72px;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 34px));
  height: min(650px, calc(100dvh - 112px));
  min-height: 430px;
  overflow: hidden;
  color: #102026;
  background: #fff;
  border: 1px solid #d3e1df;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(7, 35, 41, 0.24);
  transform-origin: bottom right;
  animation: sl-support-pop 260ms cubic-bezier(.2, .8, .2, 1) both;
}

[dir="rtl"] .sl-support-panel {
  transform-origin: bottom left;
}

.sl-support-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 36px 36px;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  padding: 10px 12px;
  color: #fff;
  background: #071b21;
}

.sl-support-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #087f83;
  background: #e7f5f2;
  border-radius: 50%;
}

.sl-support-avatar svg {
  width: 22px;
  height: 22px;
}

.sl-support-avatar span {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  width: 10px;
  height: 10px;
  background: #10a979;
  border: 2px solid #071b21;
  border-radius: 50%;
}

.sl-support-head-copy {
  display: grid;
  min-width: 0;
  line-height: 1.4;
}

.sl-support-head-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sl-support-head-copy small {
  color: #abd7cf;
  font-size: 11px;
}

.sl-support-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #53676c;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.sl-support-icon:hover {
  color: #102026;
  background: #edf4f3;
}

.sl-support-head .sl-support-icon {
  color: #d7e8e5;
}

.sl-support-head .sl-support-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.sl-support-icon svg {
  width: 19px;
  height: 19px;
}

.sl-support-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #f5f9f8;
}

.sl-support-start {
  display: grid;
  align-content: center;
  gap: 13px;
  height: 100%;
  padding: 24px;
}

.sl-support-start > p {
  margin: 0 0 4px;
  color: #42575c;
  font-size: 13px;
  line-height: 1.7;
}

.sl-support-start label {
  display: grid;
  gap: 6px;
  color: #273b40;
  font-size: 12px;
  font-weight: 700;
}

.sl-support-start input {
  width: 100%;
  height: 44px;
  padding-inline: 12px;
  color: #102026;
  background: #fff;
  border: 1px solid #c9d9d6;
  border-radius: 6px;
  outline: 0;
}

.sl-support-start input:focus {
  border-color: #087f83;
  box-shadow: 0 0 0 3px rgba(8, 127, 131, 0.13);
}

.sl-support-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  margin-block-start: 3px;
  color: #fff;
  background: #087f83;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.sl-support-primary:hover {
  background: #055e66;
}

.sl-support-primary:disabled,
.sl-support-send:disabled {
  cursor: wait;
  opacity: 0.62;
}

.sl-support-primary svg {
  width: 18px;
  height: 18px;
}

.sl-support-privacy {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 7px;
  color: #66777c;
  font-size: 10px;
  line-height: 1.65;
}

.sl-support-privacy svg {
  width: 16px;
  height: 16px;
  margin-block-start: 1px;
  color: #10a979;
}

.sl-support-chat {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  height: 100%;
}

.sl-support-messages {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 13px 10px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b7c9c6 transparent;
}

.sl-support-actions {
  display: flex;
  gap: 7px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #f7fbfa;
  border-block-start: 1px solid #e0ebe9;
  scrollbar-width: thin;
}

.sl-support-actions[hidden] {
  display: none;
}

.sl-support-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  color: #126369;
  background: #fff;
  border: 1px solid #b9d2d0;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.sl-support-action:hover {
  color: #fff;
  background: #087f83;
  border-color: #087f83;
}

.sl-support-action.is-request_coupon {
  color: #765208;
  background: #fff9e8;
  border-color: #e7c975;
}

.sl-support-action:disabled {
  opacity: 0.58;
  cursor: wait;
}

.sl-support-action svg {
  width: 15px;
  height: 15px;
}

.sl-support-system-message {
  width: fit-content;
  max-width: 90%;
  margin: 0 auto 16px;
  padding: 7px 11px;
  color: #53676c;
  background: #e8f1ef;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.sl-support-message {
  display: grid;
  justify-items: start;
  margin-block-end: 11px;
}

.sl-support-message.is-visitor {
  justify-items: end;
}

.sl-support-message.is-bot .sl-support-message-label {
  color: #176b9a;
}

.sl-support-message.is-bot .sl-support-message-bubble {
  background: #edf7fb;
  border-color: #b9d8e7;
}

.sl-support-message-label {
  margin: 0 6px 3px;
  color: #718186;
  font-size: 9px;
  font-weight: 700;
}

.sl-support-message-bubble {
  max-width: 82%;
  padding: 9px 11px 6px;
  color: #102026;
  background: #fff;
  border: 1px solid #dbe6e4;
  border-radius: 8px 8px 8px 2px;
  box-shadow: 0 4px 12px rgba(16, 32, 38, 0.05);
}

[dir="rtl"] .sl-support-message-bubble {
  border-radius: 8px 8px 2px 8px;
}

.sl-support-message.is-visitor .sl-support-message-bubble {
  color: #fff;
  background: #087f83;
  border-color: #087f83;
  border-radius: 8px 8px 2px 8px;
}

[dir="rtl"] .sl-support-message.is-visitor .sl-support-message-bubble {
  border-radius: 8px 8px 8px 2px;
}

.sl-support-message-bubble p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.sl-support-message-meta {
  display: block;
  margin-block-start: 3px;
  color: #7a8a8e;
  font-family: "Inter", sans-serif;
  font-size: 8px;
  text-align: end;
}

.sl-support-message.is-visitor .sl-support-message-meta {
  color: rgba(255, 255, 255, 0.7);
}

.sl-support-message-file {
  display: grid;
  gap: 7px;
  min-width: min(250px, 65vw);
}

.sl-support-message-file > img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  background: #dfeae8;
  border-radius: 5px;
  cursor: zoom-in;
}

.sl-support-file-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
}

.sl-support-file-row > svg {
  width: 24px;
  height: 24px;
}

.sl-support-file-row > span {
  display: grid;
  min-width: 0;
}

.sl-support-file-row strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sl-support-file-row small {
  font-family: "Inter", sans-serif;
  font-size: 8px;
  opacity: 0.72;
}

.sl-support-file-open {
  min-height: 30px;
  padding: 5px 8px;
  color: #087f83;
  background: #edf7f5;
  border: 1px solid #b8d8d3;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.sl-support-message.is-visitor .sl-support-file-open {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.sl-support-status {
  min-height: 0;
  padding: 0 13px;
  color: #5b6c72;
  font-size: 10px;
  line-height: 1.5;
}

.sl-support-status:not(:empty) {
  padding-block: 6px;
  border-block-start: 1px solid #dfe9e7;
}

.sl-support-status[data-kind="error"] {
  color: #b4233e;
  background: #fff1f3;
}

.sl-support-status[data-kind="success"] {
  color: #087554;
  background: #edf9f4;
}

.sl-support-status[data-kind="loading"]::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline-end: 6px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: sl-support-spin 800ms linear infinite;
}

.sl-support-attachment {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin: 0 10px 8px;
  padding: 7px 8px;
  background: #e8f3f1;
  border: 1px solid #c8ddda;
  border-radius: 6px;
}

.sl-support-file-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #087f83;
  background: #fff;
  border-radius: 5px;
}

.sl-support-file-icon svg {
  width: 18px;
  height: 18px;
}

.sl-support-attachment > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.sl-support-attachment strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sl-support-attachment small {
  color: #607277;
  font-size: 8px;
}

.sl-support-composer {
  display: grid;
  grid-template-columns: 36px 36px minmax(0, 1fr) 40px;
  align-items: end;
  gap: 4px;
  padding: 9px 9px max(9px, env(safe-area-inset-bottom));
  background: #fff;
  border-block-start: 1px solid #dbe6e4;
}

.sl-support-composer textarea {
  width: 100%;
  min-height: 38px;
  max-height: 90px;
  resize: none;
  padding: 8px 10px;
  color: #102026;
  background: #f3f7f6;
  border: 1px solid #d6e2e0;
  border-radius: 6px;
  outline: 0;
  font-size: 11px;
  line-height: 1.65;
}

.sl-support-composer textarea:focus {
  background: #fff;
  border-color: #087f83;
  box-shadow: 0 0 0 3px rgba(8, 127, 131, 0.1);
}

.sl-support-send {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  background: #087f83;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

[dir="rtl"] .sl-support-send svg {
  transform: scaleX(-1);
}

.sl-support-send svg {
  width: 18px;
  height: 18px;
}

.sl-support-emoji {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 0 10px 7px;
  padding: 7px;
  background: #fff;
  border: 1px solid #d7e3e1;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(16, 32, 38, 0.11);
}

.sl-support-emoji button {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 32px;
  padding: 0;
  background: #f4f8f7;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.sl-support-emoji button:hover {
  background: #dff0ed;
}

.sl-support-rating {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  height: 100%;
  padding: 28px 22px;
  text-align: center;
}

.sl-support-rating-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #087f83;
  background: #e0f3ef;
  border-radius: 50%;
}

.sl-support-rating-icon svg {
  width: 28px;
  height: 28px;
}

.sl-support-rating h3,
.sl-support-rating p {
  margin: 0;
}

.sl-support-rating h3 {
  color: #102026;
  font-size: 17px;
}

.sl-support-rating p {
  color: #5b6c72;
  font-size: 11px;
  line-height: 1.7;
}

.sl-support-stars {
  display: flex;
  direction: ltr;
  gap: 5px;
}

.sl-support-stars button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #97a7aa;
  background: #fff;
  border: 1px solid #d2dfdd;
  border-radius: 50%;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}

.sl-support-stars button.is-selected {
  color: #9a6a08;
  background: #fff5d8;
  border-color: #d9aa35;
}

.sl-support-stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sl-support-rating textarea {
  width: 100%;
  max-height: 110px;
  resize: vertical;
  padding: 10px 11px;
  color: #102026;
  background: #fff;
  border: 1px solid #c9d9d6;
  border-radius: 6px;
  outline: 0;
  font-size: 11px;
}

.sl-support-rating textarea:focus {
  border-color: #087f83;
  box-shadow: 0 0 0 3px rgba(8, 127, 131, 0.1);
}

.sl-support-rating-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
}

.sl-support-rating-skip {
  min-height: 45px;
  padding-inline: 16px;
  color: #53676c;
  background: transparent;
  border: 1px solid #c9d9d6;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.sl-support-drop {
  position: absolute;
  inset: 12px;
  z-index: 3;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: #055e66;
  background: rgba(235, 248, 245, 0.96);
  border: 2px dashed #10a979;
  border-radius: 8px;
  pointer-events: none;
}

.sl-support-drop:not([hidden]) {
  display: grid;
}

.sl-support-drop svg {
  width: 38px;
  height: 38px;
}

.sl-support-drop strong {
  font-size: 12px;
}

@keyframes sl-support-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sl-support-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
  .sl-support {
    inset-inline: 12px;
    inset-block-end: 14px;
  }

  .sl-support-panel {
    inset-inline: 0;
    inset-block-end: 68px;
    width: 100%;
    height: min(690px, calc(100dvh - 96px));
  }

  .sl-support-welcome {
    inset-inline-end: 0;
  }

  .sl-support-message-bubble {
    max-width: 88%;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .sl-support {
    inset-block-end: 10px;
  }

  .sl-support-panel {
    inset-block-end: 0;
    height: calc(100dvh - 20px);
    min-height: 0;
  }

  .sl-support.is-open .sl-support-bubble,
  .sl-support-welcome {
    display: none;
  }

  .sl-support-start {
    align-content: start;
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sl-support-panel,
  .sl-support-welcome {
    animation: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

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

i[data-lucide] {
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #f2b72b;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 9px 14px;
  color: #fff;
  background: var(--night);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 32, 38, 0.1);
  backdrop-filter: blur(14px);
}

.news-ticker {
  position: absolute;
  inset-block-start: var(--header-height);
  inset-inline: 0;
  z-index: 20;
  min-height: 38px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-inline: max(18px, calc((100% - var(--content)) / 2));
  color: #143f46;
  background: #e9f8f4;
  border-bottom: 1px solid rgba(12, 112, 105, 0.18);
  box-shadow: 0 8px 18px rgba(13, 75, 79, 0.1);
  overflow: hidden;
}

.news-ticker[hidden] {
  display: none;
}

.news-ticker > svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.news-ticker-window {
  min-width: 0;
  overflow: hidden;
}

.news-ticker-text {
  width: max-content;
  max-width: none;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 38px;
  white-space: nowrap;
  animation: news-ticker-scroll var(--ticker-duration, 20s) linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .news-ticker:hover .news-ticker-text {
    animation-play-state: paused;
  }
}

.news-ticker:focus .news-ticker-text,
.news-ticker:focus-within .news-ticker-text {
  animation-play-state: paused;
}

.news-ticker:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -3px;
}

@keyframes news-ticker-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker-text {
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: none;
  }
}

.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #35484e;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle,
.menu-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.lang-toggle {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.language-select {
  display: inline-block;
  width: auto;
  min-width: 96px;
  padding-inline: 10px 28px;
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans SC", sans-serif;
  text-align: start;
  background: var(--paper);
}

.language-select-floating {
  position: fixed;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 100;
}

.menu-button {
  display: none;
}

.menu-button svg,
.header-download svg {
  width: 18px;
  height: 18px;
}

.header-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 14px;
  color: #fff;
  background: var(--night);
  border: 1px solid var(--night);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 54px);
  max-height: 820px;
  isolation: isolate;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--night);
  overflow: hidden;
}

.hero-screen {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 16% 18%;
  opacity: 0.38;
  filter: saturate(0.82) contrast(1.06);
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(7, 27, 33, 0.74);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline-end: 0;
  width: 58%;
  background: rgba(7, 27, 33, 0.76);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
  padding-block: 54px 76px;
}

.hero-content > * {
  width: min(620px, 55%);
  margin-inline-start: auto;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block-end: 24px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-brand img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.hero-product-icons {
  position: relative;
  display: flex;
  width: 112px;
  height: 76px;
}

.hero-product-icons img {
  position: absolute;
  inset-block-start: 0;
}

.hero-product-icons img:first-child {
  inset-inline-start: 0;
  z-index: 1;
}

.hero-product-icons img:last-child {
  inset-inline-start: 38px;
}

.eyebrow {
  margin-block: 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.how .eyebrow {
  color: #067478;
}

.hero .eyebrow {
  color: #71e1ce;
}

.hero h1 {
  margin-block: 0 18px;
  font-family: "Inter", "Noto Kufi Arabic", sans-serif;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  margin-block: 0;
  color: #e3eeee;
  font-size: 17px;
  line-height: 1.9;
}

.hero-search-intent {
  margin-block: 12px 0;
  color: #b7d5d8;
  font-size: 13px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover,
.store-link:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-primary {
  color: #04251f;
  background: #63e2c0;
  border-color: #63e2c0;
}

.button-primary:hover {
  background: #8be9d0;
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-block-start: 24px;
  color: #bed0d2;
  font-size: 11px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: #69dfc0;
}

.scroll-cue {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translateX(50%);
}

html[dir="ltr"] .scroll-cue {
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 17px;
  height: 17px;
}

.trust-band {
  color: #fff;
  background: var(--teal-dark);
}

.trust-grid {
  width: min(calc(100% - 40px), var(--content));
  min-height: 86px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.trust-grid > div:last-child {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #8df1d6;
}

.section {
  padding: 108px max(20px, calc((100% - var(--content)) / 2));
}

.section-heading {
  max-width: 850px;
  margin-block-end: 52px;
}

.section-heading.compact {
  max-width: 730px;
}

.section-heading h2,
.download-copy h2 {
  margin-block: 0 16px;
  font-size: 38px;
  line-height: 1.45;
  letter-spacing: 0;
}

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

.experience {
  background: #f7faf9;
}

.products {
  background: #fff;
}

.app-directory {
  background: #f7faf9;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  min-height: 310px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-block-start: 4px solid var(--teal);
  border-radius: 8px;
}

.app-card-server {
  border-block-start-color: #14896e;
}

.app-card-client {
  border-block-start-color: #176b9a;
}

.app-card-est {
  border-block-start-color: #c98b12;
}

.app-card-chat {
  border-block-start-color: #7b4cc9;
}

.app-card-windows {
  grid-template-rows: auto auto auto auto;
  border-block-start-color: #168c82;
}

.windows-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.windows-card-head > div:first-child {
  min-width: 0;
}

.windows-card-head > div:first-child > small {
  display: block;
  direction: ltr;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 10px;
}

.windows-app-icons {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.windows-app-icons > span {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.windows-app-icons img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid rgba(16, 32, 38, 0.1);
  border-radius: 8px;
}

.app-card-windows .windows-download-actions {
  align-self: end;
}

.app-card-windows .windows-download-button,
.app-card-windows .windows-store-button {
  min-height: 60px;
}

.windows-card-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 13px;
}

.windows-text-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  color: #1769aa;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.windows-text-action:hover {
  color: #0d568f;
  text-decoration: underline;
}

.windows-text-action svg {
  width: 16px;
  height: 16px;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.app-card-head img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid rgba(16, 32, 38, 0.1);
  border-radius: 8px;
}

.app-card-head > div {
  min-width: 0;
}

.app-card-head small {
  display: block;
  direction: ltr;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.app-card h3 {
  margin: 4px 0 0;
  font-size: 21px;
  line-height: 1.45;
}

.app-card > p {
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 12px;
}

.release-status {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 15px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.release-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9b7b3;
  box-shadow: 0 0 0 4px rgba(169, 183, 179, 0.14);
}

.release-status.is-online .release-dot {
  background: #10a979;
  box-shadow: 0 0 0 4px rgba(16, 169, 121, 0.14), 0 0 10px rgba(16, 169, 121, 0.45);
}

.release-status.is-online .release-version {
  color: #087f62;
}

.app-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.app-card-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  font-size: 11px;
}

.app-visit {
  color: var(--ink);
  background: #fff;
  border-color: #b9cac7;
}

.app-download {
  color: #fff;
  background: var(--night);
  border-color: var(--night);
}

.windows-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: center;
  margin-top: 18px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-block-start: 4px solid #168c82;
  border-radius: 8px;
}

.windows-download-copy {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.windows-download-copy .windows-mark {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: var(--night);
  border-radius: 8px;
}

.windows-mark svg {
  width: 29px;
  height: 29px;
}

.windows-download-copy h3 {
  margin: 3px 0 10px;
  font-size: 23px;
}

.windows-download-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.windows-download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.windows-download-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px 13px;
  color: var(--ink);
  background: #f5f8f7;
  border-color: #c3d1ce;
  text-align: start;
}

.windows-download-button span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.windows-download-button small,
.windows-download-button em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.windows-download-button strong {
  font-size: 11px;
}

.windows-download-button.is-loading {
  pointer-events: none;
  opacity: 0.62;
}

.windows-store-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 13px;
  color: #111;
  background: #fff;
  border-color: #8b9298;
  text-align: start;
}

.windows-store-button:hover {
  color: #111;
  background: #f3f5f6;
  border-color: #4d555c;
}

.windows-store-button > span:not(.microsoft-store-mark) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.windows-store-button small {
  color: #5d646b;
  font-size: 9px;
}

.windows-store-button strong {
  font-size: 11px;
}

.microsoft-store-mark {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 2px;
  width: 18px;
  height: 18px;
}

.microsoft-store-mark i:nth-child(1) { background: #f25022; }
.microsoft-store-mark i:nth-child(2) { background: #7fba00; }
.microsoft-store-mark i:nth-child(3) { background: #00a4ef; }
.microsoft-store-mark i:nth-child(4) { background: #ffb900; }

.windows-purchase-button {
  grid-column: 1 / -1;
  min-height: 50px;
  color: #fff;
  background: var(--night);
  border-color: var(--night);
}

.order-history-button {
  grid-column: 1 / -1;
  min-height: 46px;
  color: var(--ink);
  background: #fff;
  border-color: #b9cac7;
}

.order-lookup-button {
  grid-column: 1 / -1;
  min-height: 46px;
  color: #fff;
  background: #1769aa;
  border-color: #1769aa;
  box-shadow: 0 3px 8px rgba(23, 105, 170, 0.18);
}

.order-lookup-button:hover {
  color: #fff;
  background: #0d568f;
  border-color: #0d568f;
}

.order-panel {
  width: 100%;
  margin-top: 18px;
  scroll-margin-top: 92px;
  color: var(--ink);
  background: #f7faf9;
  border: 1px solid var(--line);
  border-block-start: 4px solid #168c82;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.order-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.order-form {
  width: min(100%, 720px);
  margin-inline: auto;
  padding: 30px;
}

.order-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.order-dialog-head h2 {
  margin: 3px 0 0;
  font-size: 24px;
}

.checkout-summary {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, #effaf8 0%, #f7fbff 100%);
  border: 1px solid #b9d9d3;
  border-inline-start: 4px solid #087f78;
  border-radius: 8px;
}

.checkout-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.checkout-summary-head > div {
  display: grid;
  gap: 3px;
}

.checkout-summary-kicker {
  color: #087f78;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.checkout-summary-head strong {
  font-size: 16px;
}

.checkout-summary-head small,
.checkout-summary > p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.checkout-summary > p {
  min-height: 18px;
  margin: 0;
}

.checkout-unit-price {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #075f58;
  background: #d9f1ec;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  direction: ltr;
}

.checkout-costs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(8, 127, 120, 0.17);
}

.checkout-costs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #55706b;
  font-size: 12px;
  font-weight: 700;
}

.checkout-costs dt,
.checkout-costs dd {
  margin: 0;
}

.checkout-costs dd {
  color: var(--ink);
  direction: ltr;
}

.checkout-costs .checkout-total {
  margin-top: 2px;
  padding-top: 10px;
  color: var(--ink);
  border-top: 1px solid rgba(8, 127, 120, 0.17);
  font-size: 15px;
}

.checkout-costs .checkout-total dd {
  color: #087f78;
  font-size: 18px;
}

.checkout-summary.has-discount [data-order-discount] {
  color: #087f62;
}

.dialog-close {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: #f0f5f3;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.order-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.order-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #d9e5e2;
}

.order-section-heading:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.order-section-heading > span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: #087f78;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.order-section-heading > div {
  display: grid;
  gap: 2px;
}

.order-section-heading strong {
  color: var(--ink);
  font-size: 14px;
}

.order-section-heading small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.order-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Keep the contact field at its natural height when a payment option adds controls. */
.order-field-row > label {
  align-self: start;
}

.order-field-row-compact {
  grid-template-columns: minmax(132px, 0.42fr) minmax(0, 1fr);
}

.order-field-row.is-full-discount {
  grid-template-columns: minmax(0, 1fr);
}

.order-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.order-fields label > small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.7;
}

.order-fields input,
.order-fields select,
.order-fields textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9cac7;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  outline: none;
}

.payment-details {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 13px;
  color: #075f58;
  background: #edf8f6;
  border: 1px solid #b6ddd5;
  border-inline-start: 3px solid #168c82;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.payment-link-button {
  width: 100%;
  min-height: 40px;
  padding: 7px 12px;
  color: #fff !important;
  background: #1769aa !important;
  border-color: #1769aa !important;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(23, 105, 170, 0.18);
}

.button-payment-confirm {
  color: #fff;
  background: #087f78;
  border-color: #087f78;
  box-shadow: 0 3px 8px rgba(8, 127, 120, 0.22);
}

.button-payment-confirm:hover {
  color: #fff;
  background: #056c66;
  border-color: #056c66;
}

.button-payment-confirm:focus-visible {
  outline: 3px solid rgba(8, 127, 120, 0.32);
  outline-offset: 2px;
}

.paypal-smart-button {
  width: min(100%, 340px);
  min-height: 42px;
}

.paypal-smart-button[hidden] {
  display: none;
}

.paypal-smart-button.is-processing {
  pointer-events: none;
  opacity: 0.48;
}

.paypal-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #075e58;
  font-size: 12px;
}

.paypal-loading span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(8, 127, 120, 0.24);
  border-top-color: #087f78;
  border-radius: 50%;
  animation: paypal-spin 0.75s linear infinite;
}

.paypal-loading[hidden] {
  display: none;
}

@keyframes paypal-spin {
  to { transform: rotate(360deg); }
}

.order-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.order-inline .button {
  min-height: 46px;
  white-space: nowrap;
}

.order-inline .button-secondary,
[data-verify-receipt-order].button-secondary {
  color: #fff;
  background: #1769aa;
  border-color: #1769aa;
  box-shadow: 0 3px 8px rgba(23, 105, 170, 0.18);
}

.order-inline .button-secondary:hover,
[data-verify-receipt-order].button-secondary:hover {
  color: #fff;
  background: #0d568f;
  border-color: #0d568f;
}

.order-inline .button-secondary:focus-visible,
[data-verify-receipt-order].button-secondary:focus-visible {
  outline: 3px solid rgba(23, 105, 170, 0.28);
  outline-offset: 2px;
}

.discount-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  color: #46637b;
  background: #f1f7ff;
  border: 1px solid #c4d9ec;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.discount-note svg {
  flex: 0 0 auto;
  width: 17px;
  color: #1769aa;
}

.discount-note.is-success {
  color: #075f58;
  background: #edf8f6;
  border-color: #b6ddd5;
}

.discount-note.is-error {
  color: #9b263b;
  background: #fff2f4;
  border-color: #f1bdc6;
}

.discount-grid .verification-status {
  min-height: 16px;
}

.full-discount-panel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  color: #075f58;
  background: #edf8f6;
  border: 1px solid #a9d9cf;
  border-radius: 7px;
}

.full-discount-panel[hidden] {
  display: none;
}

.full-discount-panel > svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #087f62;
}

.full-discount-panel > div {
  display: grid;
  gap: 3px;
}

.full-discount-panel strong {
  font-size: 13px;
}

.full-discount-panel span {
  color: #466f68;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.verification-status {
  display: block;
  min-height: 18px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.verification-status.is-success { color: #087f62; }
.verification-status.is-error { color: #bb2741; }

.payment-proof-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  background: #fff8e8;
  border: 1px solid #e7c56d;
  border-radius: 8px;
}

.payment-proof-panel h3,
.payment-proof-panel p {
  margin: 0;
}

.payment-proof-panel h3 {
  font-size: 15px;
}

.payment-proof-panel p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.payment-proof-panel input[type="file"] {
  width: 100%;
  padding: 9px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9cac7;
  border-radius: 6px;
}

.payment-proof-actions {
  display: flex;
  justify-content: flex-end;
}

.order-fields textarea {
  min-height: 84px;
  resize: vertical;
}

.order-fields input:focus,
.order-fields select:focus,
.order-fields textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 131, 0.12);
}

.order-wide { grid-column: auto; }

.order-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.order-status.is-error {
  color: #bb2741;
}

.order-status.is-success {
  color: #087f62;
}

.order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.order-actions .button-secondary,
.payment-proof-actions .button-secondary,
.order-subhead .button-secondary {
  color: var(--ink);
  background: #eef3f2;
  border-color: #b9cac7;
}

.order-actions .button-secondary:hover,
.payment-proof-actions .button-secondary:hover,
.order-subhead .button-secondary:hover {
  color: var(--ink);
  background: #e1ebea;
  border-color: #95aaa6;
}

.order-actions .button-secondary:focus-visible,
.payment-proof-actions .button-secondary:focus-visible,
.order-subhead .button-secondary:focus-visible {
  outline: 3px solid rgba(8, 127, 120, 0.24);
  outline-offset: 2px;
}

.order-history {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.public-order-lookup {
  padding: 16px;
  background: #f3f8ff;
  border: 1px solid #b9d5ec;
  border-radius: 8px;
}

.public-order-lookup > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.order-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-subhead h3 {
  margin: 0;
  font-size: 16px;
}

.order-history-list {
  display: grid;
  gap: 8px;
}

.order-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.order-history-item strong {
  font-size: 12px;
  letter-spacing: 0;
}

.order-state {
  color: #7a5b08;
  font-size: 10px;
  font-weight: 800;
}

.order-state.payment_accepted { color: #087f62; }
.order-state.payment_rejected { color: #bb2741; }

.order-result {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  background: #eef8f5;
  border: 1px solid #a8d8cc;
  border-radius: 8px;
}

.order-result > p {
  margin: 0;
  color: #087f62;
  font-size: 12px;
  font-weight: 800;
}

.order-result > strong {
  direction: ltr;
  font-size: 18px;
  letter-spacing: 0;
  text-align: start;
}

.order-result-actions,
.order-result-actions .button {
  width: 100%;
}

.activation-result {
  display: grid;
  gap: 10px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #86cdbd;
  border-radius: 7px;
}

.activation-result h3,
.activation-result p {
  margin: 0;
}

.activation-result h3 {
  color: #087f62;
  font-size: 15px;
}

.activation-result p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.activation-result textarea {
  width: 100%;
  min-height: 150px;
  padding: 11px;
  color: var(--ink);
  background: #f8fcfb;
  border: 1px solid #b9d8d1;
  border-radius: 6px;
  font: 600 12px/1.7 var(--font-sans);
  resize: vertical;
}

.receipt-upload {
  display: grid;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid #c5e3dc;
}

.receipt-order-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.receipt-order-lookup label {
  margin: 0;
}

.receipt-order-lookup .button {
  min-height: 42px;
  white-space: nowrap;
}

.receipt-order-info {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.receipt-order-info.is-success { color: #087f62; }
.receipt-order-info.is-error { color: #bb2741; }

.receipt-order-details {
  display: grid;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
  gap: 7px 12px;
  margin: 0;
  padding: 12px;
  color: var(--ink);
  background: #f7fbfa;
  border: 1px solid #c5e3dc;
  border-radius: 6px;
  font-size: 11px;
}

.receipt-order-details dt {
  color: var(--muted);
  font-weight: 800;
}

.receipt-order-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.receipt-upload label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
}

.receipt-upload input[type="file"] {
  width: 100%;
  padding: 9px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9cac7;
  border-radius: 6px;
}

.receipt-upload p {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.product-list {
  display: grid;
  gap: 26px;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
  min-height: 610px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-client {
  direction: ltr;
}

.product-client > * {
  direction: rtl;
}

html[dir="ltr"] .product-client > * {
  direction: ltr;
}

.product-identity {
  position: relative;
  align-self: center;
  padding: 52px;
}

.product-identity > img {
  width: 104px;
  height: 104px;
  margin-block-end: 28px;
  object-fit: cover;
  border-radius: 8px;
}

.product-number {
  position: absolute;
  inset-block-start: 44px;
  inset-inline-end: 46px;
  color: #536c71;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.product-identity h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.45;
}

.product-identity > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-identity ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  color: #385158;
  font-size: 11px;
}

.product-identity li {
  position: relative;
  padding-inline-start: 22px;
}

.product-identity li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 10px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.button-dark {
  color: #fff;
  background: var(--night);
  border-color: var(--night);
}

.product-media {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(260px, 1.28fr);
  align-items: center;
  gap: 24px;
  min-height: 610px;
  padding: 42px;
  background: #e8f1ef;
  overflow: hidden;
}

.server-media {
  background: #edf5f8;
}

.client-media {
  background: #eef7f4;
}

.product-shot {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  color: #26464d;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.product-shot img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(17, 44, 51, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-shot-phone {
  max-width: 230px;
  justify-self: center;
}

.product-shot-desktop {
  width: 100%;
  justify-self: stretch;
}

.product-shot span {
  font-size: 11px;
  font-weight: 800;
}

.product-shot:hover img {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(17, 44, 51, 0.23);
}

.product-shot:focus-visible {
  outline: 3px solid #d59b29;
  outline-offset: 6px;
  border-radius: 6px;
}

.experience-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 42px;
  margin-block-end: 50px;
}

.experience-lead .section-heading {
  margin-block-end: 0;
}

.experience-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.experience-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  color: #315158;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
}

.experience-facts svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.real-gallery {
  border-block-start: 1px solid var(--line);
}

.gallery-platform {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 34px;
  padding-block: 38px;
  border-block-end: 1px solid var(--line);
}

.gallery-platform-head {
  align-self: start;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  position: sticky;
  inset-block-start: calc(var(--header-height) + 24px);
}

.gallery-platform-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #076c70;
  background: #def4ee;
  border: 1px solid #bce5da;
  border-radius: 7px;
}

.gallery-platform-icon.is-blue {
  color: #175f8f;
  background: #e5f0f8;
  border-color: #c9deec;
}

.gallery-platform-icon svg {
  width: 23px;
  height: 23px;
}

.gallery-platform-head h3 {
  margin: 2px 0 8px;
  font-size: 19px;
}

.gallery-platform-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.gallery-kicker {
  margin: 0;
  color: var(--teal);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}

.gallery-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  text-align: start;
  background: #fff;
  border: 1px solid #d4e1df;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(25, 66, 70, 0.06);
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-card:hover {
  border-color: #8bbdb7;
  box-shadow: 0 14px 32px rgba(25, 66, 70, 0.12);
  transform: translateY(-3px);
}

.gallery-card:focus-visible {
  outline: 3px solid #d59b29;
  outline-offset: 3px;
}

.gallery-media {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  background: #edf4f3;
  border-block-end: 1px solid #dbe7e5;
}

.gallery-card-phone .gallery-media {
  height: clamp(430px, 48vw, 590px);
  padding: 18px;
}

.gallery-card-window .gallery-media {
  aspect-ratio: 16 / 10;
  padding: 12px;
}

.gallery-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-card-phone .gallery-media img {
  width: auto;
  border: 1px solid rgba(66, 96, 101, 0.18);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(17, 51, 57, 0.12);
}

.gallery-card-window .gallery-media img {
  border: 1px solid rgba(66, 96, 101, 0.18);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(17, 51, 57, 0.11);
}

.gallery-card-copy {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 15px 50px 15px 16px;
}

[dir="rtl"] .gallery-card-copy {
  padding: 15px 16px 15px 50px;
}

.gallery-card-copy strong {
  font-size: 14px;
}

.gallery-card-copy small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.gallery-open-icon {
  position: absolute;
  inset-inline-end: 14px;
  inset-block-end: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--teal);
  background: #e2f3ef;
  border-radius: 50%;
}

.gallery-open-icon svg {
  width: 16px;
  height: 16px;
}

body.gallery-open {
  overflow: hidden;
}

.screenshot-dialog {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 18px;
}

.screenshot-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(2, 15, 19, 0.86);
  border: 0;
  cursor: zoom-out;
}

.screenshot-viewer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1400px, calc(100vw - 36px));
  height: min(94dvh, 980px);
  overflow: hidden;
  color: #fff;
  background: #071b21;
  border: 1px solid #315057;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  animation: screenshot-viewer-in 180ms ease-out both;
}

.screenshot-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 10px 14px 10px 20px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.13);
}

.screenshot-viewer-head > div {
  min-width: 0;
}

.screenshot-viewer-head h2 {
  margin: 2px 0 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screenshot-counter {
  color: #83d8c8;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.screenshot-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 14px;
}

.screenshot-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.screenshot-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: #17343b;
  border: 1px solid #416168;
  border-radius: 50%;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.screenshot-control:hover,
.screenshot-control:focus-visible {
  background: #0a777a;
  border-color: #72d6c6;
  outline: 0;
}

.screenshot-control svg {
  width: 21px;
  height: 21px;
}

.screenshot-close {
  flex: 0 0 auto;
}

[dir="ltr"] .screenshot-previous svg,
[dir="ltr"] .screenshot-next svg {
  transform: rotate(180deg);
}

@keyframes screenshot-viewer-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.features {
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block-start: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.feature-item {
  min-height: 310px;
  padding: 36px;
  border-inline-end: 1px solid var(--line);
  border-block-end: 1px solid var(--line);
}

.feature-item > svg {
  width: 34px;
  height: 34px;
  margin-block-end: 42px;
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.accent-teal > svg { color: var(--teal); }
.accent-blue > svg { color: var(--blue); }
.accent-red > svg { color: var(--red); }
.accent-gold > svg { color: var(--gold); }
.accent-green > svg { color: var(--green); }
.accent-charcoal > svg { color: var(--ink); }

.how {
  background: var(--wash);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 42px 34px;
  border-inline-start: 1px solid var(--line);
}

.steps li:last-child {
  border-inline-end: 1px solid var(--line);
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 50%;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
  gap: 70px;
  align-items: center;
  color: #fff;
  background: var(--night-soft);
}

.download-copy img {
  width: 88px;
  height: 88px;
  margin-block-end: 24px;
  border-radius: 8px;
}

.download-copy .eyebrow {
  color: #74e2c7;
}

.download-copy > p:last-child {
  color: #b8c9cc;
}

.download-actions {
  display: grid;
  gap: 12px;
}

.store-link {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 7px;
  transition: transform 160ms ease;
}

.store-link > svg:first-child {
  width: 25px;
  height: 25px;
  color: var(--teal);
}

.store-link > svg:last-child {
  width: 17px;
  height: 17px;
  color: #819095;
}

.store-link span {
  display: grid;
}

.store-link small {
  color: var(--muted);
  font-size: 9px;
}

.store-link strong {
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.faq {
  background: #fff;
}

.faq-list {
  border-block-start: 1px solid var(--line);
}

.faq-list details {
  border-block-end: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 850px;
  margin: -8px 0 26px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 54px max(20px, calc((100% - var(--content)) / 2)) 24px;
  color: #fff;
  background: #06151a;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block-end: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 7px;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.footer-brand span {
  color: #8da4aa;
  font-size: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  color: #c8d4d6;
  font-size: 10px;
}

.footer-links a:hover {
  color: #79e0c7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-start: 22px;
  color: #71898f;
  border-block-start: 1px solid #183039;
  font-family: "Inter", "Noto Kufi Arabic", sans-serif;
  font-size: 10px;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom svg {
  width: 15px;
  height: 15px;
}

/* Legal and support pages */
.subpage {
  background: var(--wash);
}

.subpage-main {
  min-height: calc(100vh - var(--header-height));
}

.subpage-hero {
  padding: 82px max(20px, calc((100% - 920px) / 2)) 54px;
  color: #fff;
  background: var(--night);
}

.subpage-hero .eyebrow {
  color: #74e2c7;
}

.subpage-hero h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.4;
}

.subpage-hero p:last-child {
  max-width: 720px;
  margin: 0;
  color: #b7c8cb;
  font-size: 13px;
}

.legal-content,
.support-content {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  padding-block: 54px 96px;
}

.legal-content section,
.support-block {
  padding: 30px 0;
  border-block-end: 1px solid var(--line);
}

.legal-content h2,
.support-block h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.legal-content p,
.legal-content li,
.support-block p {
  color: var(--muted);
  font-size: 12px;
}

.legal-content ul {
  padding-inline-start: 20px;
}

.legal-content a,
.support-content a:not(.button) {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block-start: 20px;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 14px 16px;
  color: var(--ink) !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none !important;
}

.support-link svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.support-link span {
  display: grid;
}

.support-link small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.not-found {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.not-found img {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 8px;
}

.not-found h1 {
  margin: 0;
  font-size: 72px;
  font-family: "Inter", sans-serif;
}

.not-found p {
  margin: 6px 0 22px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    inset-block-start: calc(100% + 1px);
    inset-inline: 20px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: 0 18px 40px rgba(10, 30, 36, 0.14);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 11px 10px;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-content > * {
    width: min(640px, 68%);
  }

  .hero::after {
    width: 72%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div:nth-child(3) {
    border-block-start: 1px solid rgba(255, 255, 255, 0.14);
  }

  .trust-grid > div:nth-child(4) {
    border-block-start: 1px solid rgba(255, 255, 255, 0.14);
  }

  .experience-lead,
  .gallery-platform {
    grid-template-columns: 1fr;
  }

  .experience-facts {
    justify-content: flex-start;
  }

  .gallery-platform-head {
    position: static;
  }

  .product-panel {
    grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  }

  .product-identity {
    padding: 38px;
  }

  .product-media {
    grid-template-columns: minmax(130px, 0.68fr) minmax(220px, 1.32fr);
    gap: 18px;
    padding: 30px;
  }

  .product-shot-phone {
    max-width: 190px;
  }

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

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

  .steps li {
    border-inline-end: 1px solid var(--line);
    border-block-end: 1px solid var(--line);
  }

  .steps li:last-child {
    border-block-end: 0;
  }

  .download-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 64px;
  }

  .nav-shell {
    width: min(calc(100% - 24px), var(--content));
    gap: 10px;
  }

  .brand span,
  .header-download span {
    display: none;
  }

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

  .header-download {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 32px);
    max-height: none;
  }

  .hero-screen {
    object-position: 50% 18%;
    opacity: 0.28;
  }

  .hero::after {
    width: 100%;
    background: rgba(7, 27, 33, 0.48);
    border: 0;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-block: 34px 64px;
  }

  .hero-content > * {
    width: 100%;
  }

  .hero-brand {
    margin-block-end: 16px;
  }

  .hero-brand img {
    width: 58px;
    height: 58px;
  }

  .hero-product-icons {
    width: 92px;
    height: 60px;
  }

  .hero-product-icons img:last-child {
    inset-inline-start: 32px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    gap: 10px 14px;
  }

  .trust-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    justify-content: flex-start;
    min-height: 58px;
    padding-inline: 20px;
    border-inline: 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.14);
    text-align: start;
  }

  .trust-grid > div:last-child {
    border-inline-end: 0;
    border-block-end: 0;
  }

  .section {
    padding: 74px 18px;
  }

  .section-heading {
    margin-block-end: 34px;
  }

  .section-heading h2,
  .download-copy h2 {
    font-size: 28px;
  }

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

  .app-card {
    min-height: 0;
    padding: 22px;
  }

  .app-card-head img {
    width: 64px;
    height: 64px;
  }

  .app-card h3 {
    font-size: 18px;
  }

  .windows-card-head {
    align-items: flex-start;
  }

  .windows-app-icons img {
    width: 48px;
    height: 48px;
  }

  .windows-download-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .windows-download-actions,
  .order-fields {
    grid-template-columns: 1fr;
  }

  .windows-purchase-button,
  .order-wide {
    grid-column: auto;
  }

  .order-form {
    padding: 20px;
  }

  .order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .order-subhead,
  .order-history-item {
    align-items: stretch;
    flex-direction: column;
  }

  .order-history-item {
    text-align: start;
  }

  .experience-lead {
    gap: 24px;
    margin-block-end: 34px;
  }

  .experience-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .experience-facts span {
    justify-content: center;
    min-width: 0;
    padding-inline: 6px;
    text-align: center;
  }

  .experience-facts b {
    overflow-wrap: anywhere;
  }

  .gallery-platform {
    gap: 22px;
    padding-block: 30px;
  }

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

  .gallery-card-phone .gallery-media {
    height: min(570px, 165vw);
    padding: 14px;
  }

  .gallery-card-copy {
    min-height: 76px;
  }

  .screenshot-dialog {
    padding: 8px;
  }

  .screenshot-viewer {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
  }

  .screenshot-viewer-head {
    min-height: 60px;
    padding-inline: 12px;
  }

  .screenshot-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .screenshot-stage > img {
    grid-area: 1 / 1;
  }

  .screenshot-previous,
  .screenshot-next {
    position: absolute;
    z-index: 2;
    inset-block-end: 12px;
    width: 40px;
    height: 40px;
    background: rgba(7, 27, 33, 0.88);
  }

  .screenshot-previous {
    inset-inline-start: 12px;
  }

  .screenshot-next {
    inset-inline-end: 12px;
  }

  .product-panel,
  .product-client {
    grid-template-columns: 1fr;
    min-height: 0;
    direction: rtl;
  }

  html[dir="ltr"] .product-panel,
  html[dir="ltr"] .product-client {
    direction: ltr;
  }

  .product-identity {
    padding: 32px 24px 40px;
  }

  .product-identity h3 {
    font-size: 23px;
  }

  .product-number {
    inset-block-start: 34px;
    inset-inline-end: 24px;
  }

  .product-media {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding: 28px 18px;
  }

  .product-shot-phone {
    max-width: 190px;
  }

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

  .feature-item {
    min-height: 0;
    padding: 28px 24px;
  }

  .feature-item > svg {
    margin-block-end: 26px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
    padding: 28px 20px;
  }

  .steps li > span {
    width: 40px;
    height: 40px;
  }

  .download-band {
    gap: 42px;
  }

  .store-link {
    grid-template-columns: 34px minmax(0, 1fr) 18px;
  }

  .store-link strong {
    overflow-wrap: anywhere;
  }

  .footer-main {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .subpage-hero {
    padding: 60px 20px 40px;
  }

  .subpage-hero h1 {
    font-size: 32px;
  }

  .support-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 370px) {
  .lang-toggle,
  .menu-button,
  .header-download {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .language-select {
    width: auto;
    min-width: 84px;
    padding-inline: 8px 24px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 12px;
  }

  .hero-meta {
    font-size: 9px;
  }

  .section-heading h2,
  .download-copy h2 {
    font-size: 24px;
  }

  .feature-item h3 {
    font-size: 16px;
  }

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

  .order-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .checkout-summary {
    gap: 14px;
    padding: 15px;
  }

  .checkout-summary-head {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-unit-price {
    width: fit-content;
  }

  .order-field-row,
  .order-field-row-compact {
    grid-template-columns: 1fr;
  }

  .discount-grid {
    gap: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
