:root {
  --primary: #0f5cc0;
  --primary-dark: #0d3f82;
  --primary-light: #e8f1ff;
  --page: #f2f6fb;
  --text: #0d1f38;
  --muted: #5a6d85;
  --border: #d6e7fa;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(13, 31, 56, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  direction: rtl;
  text-align: right;
  background:
    radial-gradient(circle at top right, rgba(15, 92, 192, 0.16), transparent 34rem),
    var(--page);
}

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

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 92, 192, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.nav-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
}

.nav-button,
.primary-action {
  background: var(--primary);
  color: var(--white);
}

.secondary-action {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: 42px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

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

.phone-card {
  width: min(100%, 390px);
  margin-right: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.phone-top {
  width: 88px;
  height: 7px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #bed2ea;
}

.app-logo {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 23px;
  font-weight: 900;
}

.phone-card h2 {
  margin: 0 0 16px;
  text-align: center;
}

.category-row {
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.category-row span {
  flex: 0 0 auto;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 900;
}

.worker-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: var(--primary-dark);
  color: var(--white);
}

.worker-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.features article,
.policy-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(13, 31, 56, 0.08);
}

.features article {
  padding: 24px;
}

.icon {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.features h2,
.policy-card h2 {
  margin: 0 0 10px;
}

.features p,
.policy-card p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-page {
  padding: 42px 0 72px;
}

.policy-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
}

.policy-card h1 {
  margin-bottom: 24px;
  font-size: clamp(36px, 6vw, 62px);
}

.policy-card h1,
.policy-card h2,
.policy-card p {
  text-align: right;
}

.policy-card h2 {
  margin-top: 30px;
}

.policy-card a:not(.primary-action) {
  color: var(--primary);
  font-weight: 900;
}

.policy-action {
  margin-top: 22px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 22px 0 32px;
  color: var(--muted);
  font-weight: 700;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--primary-dark);
  font-weight: 900;
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .phone-card {
    margin: 0;
  }
}
