* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  background: #f7f8fb;
  color: #0f172a;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #eef6ff 0, rgba(238, 246, 255, 0) 18rem),
    #f7f8fb;
  color: #0f172a;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  line-height: 1.9;
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 40px 20px 56px;
}

main > p:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 36px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 800;
}

h1 {
  width: min(900px, 100%);
  margin: 0 auto;
  color: #0f172a;
  text-align: center;
  font-size: clamp(2.15rem, 4.2vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
}

h1 + p {
  width: min(780px, 100%);
  margin: 28px auto 0;
  color: #334155;
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 650;
  line-height: 2.05;
}

h2 {
  width: min(820px, 100%);
  margin: 64px auto 18px;
  color: #0f172a;
  text-align: center;
  font-size: clamp(1.55rem, 2.7vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
}

h2 + p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #334155;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 2;
}

ul {
  display: grid;
  width: min(900px, 100%);
  margin: 22px auto 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}

li {
  position: relative;
  min-height: 56px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.9;
  padding: 14px 52px 14px 18px;
}

li::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 22px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0b3a8c;
  box-shadow: 0 0 0 5px rgba(11, 58, 140, 0.12);
}

a {
  color: #0b3a8c;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(880px, 100%);
  margin: 48px auto 0;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #0b3a8c;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  box-shadow: 0 10px 24px rgba(11, 58, 140, 0.22);
}

.actions a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef6ff;
  text-decoration: none;
  padding: 9px 16px;
}

@supports (content-visibility: auto) {
  h2,
  ul,
  .actions {
    content-visibility: auto;
    contain-intrinsic-size: 1px 220px;
  }
}

@media (min-width: 780px) {
  ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main {
    padding: 28px 16px 44px;
  }

  main > p:first-child {
    margin-bottom: 26px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  h1 + p,
  h2 + p {
    text-align: right;
  }

  h2 {
    margin-top: 48px;
  }

  li {
    padding-left: 14px;
  }

  .actions,
  .actions a,
  .button {
    width: 100%;
  }
}
