@font-face {
  font-family: Cairo;
  src: url('/fonts/cairo-arabic-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: Cairo;
  src: url('/fonts/cairo-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Cairo;
  src: url('/fonts/cairo-arabic-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: Cairo;
  src: url('/fonts/cairo-latin-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Cairo;
  src: url('/fonts/cairo-arabic-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: Cairo;
  src: url('/fonts/cairo-latin-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  font-family: Cairo, Tahoma, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #0e0f0c;
  --ink-deep: #163300;
  --body: #454745;
  --canvas: #fff;
  --canvas-soft: #e8ebe6;
  --primary: #9fe870;
  --primary-pale: #e2f6d5;
  --positive-deep: #054d28;
  --line: #c4cbc2;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Cairo, Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--primary-pale);
  color: var(--ink);
}

a {
  color: var(--positive-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--ink-deep);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid #236b32;
  outline-offset: 4px;
}

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

.page-width {
  width: min(var(--content-width), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  right: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--canvas);
}

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

.site-header {
  position: relative;
  z-index: 2;
  background: var(--canvas);
}

.header-inner,
.footer-inner {
  display: flex;
  width: min(var(--content-width), calc(100% - 64px));
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover,
.footer-brand:hover {
  color: var(--ink);
}

.brand img {
  display: block;
  border-radius: 12px;
}

.brand-wordmark {
  display: grid;
  line-height: 1.32;
}

.brand-wordmark strong {
  direction: ltr;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}

.brand-wordmark span {
  color: var(--body);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.main-nav a,
.site-footer a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.hero {
  overflow: hidden;
  background: var(--canvas-soft);
}

.hero-inner {
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding-block: 62px 72px;
}

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

.hero-context {
  margin: 0 0 18px;
  color: var(--ink-deep);
  font-size: 17px;
  font-weight: 700;
}

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

.hero h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: clamp(44px, 4.7vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero h1 span,
.inside-section h2 span {
  color: var(--ink-deep);
}

.hero-lead {
  max-width: 58ch;
  margin-bottom: 30px;
  color: var(--body);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out;
}

.button-primary {
  background: var(--primary);
  color: var(--ink);
}

.button-primary:hover {
  background: #b6f18f;
  color: var(--ink);
}

.button-light {
  border-color: var(--primary);
  background: var(--canvas);
  color: var(--ink);
}

.button-light:hover {
  background: var(--primary-pale);
  color: var(--ink);
}

.text-link {
  font-weight: 700;
}

.network-figure {
  width: 100%;
  margin: 0;
}

.network-stage {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  align-items: center;
  justify-items: center;
  padding: 42px 26px 28px;
  border-radius: 16px;
  background: #d9e1d5;
}

.network-line {
  position: absolute;
  inset: 50% 9% auto;
  width: 82%;
  height: 90px;
  transform: translateY(-50%);
}

.device {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.desktop-device {
  grid-column: 1;
}

.phone-device {
  grid-column: 2;
}

.monitor {
  display: grid;
  width: clamp(190px, 22vw, 250px);
  aspect-ratio: 1.42;
  place-items: center;
  padding: 9px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
}

.screen-brand {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-radius: 4px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.screen-brand img {
  border-radius: 11px;
}

.monitor-neck {
  width: 20px;
  height: 25px;
  background: var(--ink);
}

.monitor-base {
  width: 66px;
  height: 8px;
  border-radius: 5px 5px 0 0;
  background: var(--ink);
}

.phone-frame {
  position: relative;
  display: grid;
  width: 99px;
  height: 190px;
  place-items: center;
  padding: 8px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--ink);
}

.phone-speaker {
  position: absolute;
  top: 5px;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: #d6ddd4;
}

.phone-screen {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-radius: 10px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.phone-screen img {
  border-radius: 9px;
}

.network-note {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.device-label {
  margin: 15px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.network-figure figcaption {
  max-width: 58ch;
  margin: 18px auto 0;
  color: var(--body);
  font-size: 14px;
  text-align: center;
}

.section-space {
  padding-block: clamp(72px, 9vw, 122px);
}

.workflow-section {
  background: var(--canvas);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.7fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 52px;
}

.section-heading h2,
.inside-section h2,
.backup-section h2,
.contact-section h2,
.privacy-article h1,
.not-found h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section-heading p {
  max-width: 40ch;
  margin-bottom: 6px;
  color: var(--body);
  font-size: 18px;
}

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

.workflow-row {
  position: relative;
  min-height: 226px;
  padding: 34px 26px 32px 30px;
}

.workflow-row + .workflow-row {
  border-inline-start: 1px solid var(--line);
}

.workflow-row h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 700;
}

.workflow-row p {
  max-width: 35ch;
  margin-bottom: 0;
  color: var(--body);
  font-size: 16px;
}

.workflow-mark {
  display: inline-block;
  margin-top: 20px;
  color: var(--ink-deep);
  font-size: 13px;
  font-weight: 700;
  direction: ltr;
  letter-spacing: 0.04em;
}

.billing-note {
  max-width: 74ch;
  margin: 26px 0 0;
  color: var(--body);
  font-size: 15px;
}

.billing-note strong {
  color: var(--ink);
}

.inside-section {
  background: var(--primary-pale);
}

.inside-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(44px, 9vw, 130px);
}

.inside-section h2 {
  max-width: 100%;
}

.inside-copy {
  max-width: 58ch;
  color: var(--body);
  font-size: 18px;
}

.inside-copy p:last-child {
  margin-bottom: 0;
}

.backup-section {
  background: var(--ink);
  color: var(--canvas);
}

.backup-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.backup-section h2 {
  margin-bottom: 24px;
  color: var(--primary);
}

.backup-section p {
  max-width: 65ch;
  margin-bottom: 0;
  color: #f0f2ed;
  font-size: 17px;
}

.backup-section .button {
  flex: 0 0 auto;
}

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

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.contact-section h2 {
  font-size: clamp(30px, 3.5vw, 42px);
}

.contact-section p {
  margin: 0 auto 0 0;
  color: var(--body);
}

.site-footer {
  background: var(--canvas);
}

.footer-inner {
  min-height: 86px;
  flex-wrap: wrap;
  padding-block: 16px;
}

.footer-inner p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
}

.footer-brand {
  color: var(--ink);
  direction: ltr;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand span {
  margin-inline-start: 6px;
  color: var(--body);
  font-size: 14px;
}

.privacy-main {
  padding-block: clamp(54px, 8vw, 96px) 100px;
}

.privacy-article {
  max-width: 800px;
  margin-inline: auto;
}

.privacy-header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.privacy-article h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 58px);
}

.privacy-header p:first-of-type {
  color: var(--ink-deep);
  font-size: 15px;
  font-weight: 700;
}

.privacy-header p:last-child {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--body);
}

.privacy-article section {
  padding-top: 36px;
}

.privacy-article h2 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.privacy-article p,
.privacy-article li {
  color: var(--body);
  font-size: 16px;
  line-height: 2;
}

.privacy-article p:last-child,
.privacy-article ul:last-child {
  margin-bottom: 0;
}

.privacy-article ul {
  padding-inline-start: 1.4em;
}

.privacy-article li + li {
  margin-top: 7px;
}

.privacy-article code {
  padding: 0.08em 0.3em;
  border-radius: 4px;
  background: var(--canvas-soft);
  color: var(--ink);
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.88em;
  unicode-bidi: isolate;
}

.limited-use {
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: 12px;
  background: var(--canvas-soft);
  color: var(--ink);
  text-align: left;
}

.limited-use h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Cairo, Tahoma, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.limited-use p {
  color: var(--body);
  font-family: Cairo, Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

.limited-use p:last-child {
  margin-bottom: 0;
}

.privacy-back {
  margin-top: 42px;
}

.not-found {
  display: flex;
  min-height: 100svh;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.not-found h1 {
  max-width: 14ch;
}

.not-found p {
  margin: 0;
  color: var(--body);
}

@media (max-width: 980px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 64px 72px;
  }

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

  .network-figure {
    max-width: 620px;
    margin-inline: auto;
  }

  .network-stage {
    min-height: 360px;
  }

  .section-heading {
    gap: 28px;
  }

  .backup-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-inner {
    justify-content: flex-start;
  }

  .contact-section p {
    margin-inline: 0;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .page-width,
  .header-inner,
  .footer-inner {
    width: min(var(--content-width), calc(100% - 40px));
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-block: 10px;
  }

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

  .brand-wordmark strong {
    font-size: 16px;
  }

  .brand-wordmark span {
    font-size: 12px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .hero-inner {
    gap: 34px;
    padding-block: 48px 50px;
  }

  .hero-context {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .network-stage {
    min-height: 290px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr);
    padding: 32px 14px 20px;
  }

  .monitor {
    width: clamp(136px, 42vw, 190px);
    border-width: 2px;
  }

  .phone-frame {
    width: 76px;
    height: 152px;
    border-width: 2px;
    border-radius: 15px;
  }

  .phone-screen img {
    width: 28px;
    height: 28px;
  }

  .phone-screen {
    font-size: 9px;
  }

  .network-note {
    max-width: 100%;
    padding-inline: 7px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .device-label {
    font-size: 13px;
  }

  .network-figure figcaption {
    font-size: 13px;
  }

  .section-space {
    padding-block: 68px;
  }

  .section-heading,
  .inside-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 34px;
  }

  .inside-inner {
    margin-bottom: 0;
  }

  .section-heading h2,
  .inside-section h2,
  .backup-section h2 {
    font-size: 38px;
  }

  .section-heading p,
  .inside-copy {
    font-size: 16px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-row {
    min-height: auto;
    padding: 25px 8px;
  }

  .workflow-row + .workflow-row {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

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

  .workflow-row p {
    font-size: 15px;
  }

  .workflow-mark {
    margin-top: 10px;
  }

  .billing-note {
    font-size: 14px;
  }

  .backup-section p {
    font-size: 16px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section h2 {
    font-size: 34px;
  }

  .footer-inner {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-block: 20px;
  }

  .footer-inner > * {
    min-height: 30px;
  }

  .privacy-main {
    padding-block: 48px 72px;
  }

  .privacy-article h2 {
    font-size: 21px;
  }

  .privacy-article section {
    padding-top: 28px;
  }

  .privacy-article p,
  .privacy-article li {
    font-size: 15px;
  }

  .limited-use {
    padding: 19px;
  }
}

@media (max-width: 390px) {
  .page-width,
  .header-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .network-stage {
    min-height: 250px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr);
    padding-inline: 9px;
  }

  .monitor {
    width: 132px;
  }

  .phone-frame {
    width: 69px;
    height: 136px;
  }

  .device-label {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
