:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3f9fb;
  --text: #18323a;
  --muted: #647a80;
  --primary: #348ba7;
  --primary-dark: #26738d;
  --primary-pale: #e7f3f6;
  --border: #dce9ec;
  --shadow: 0 24px 70px rgb(26 74 87 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse at 8% 12%, rgb(52 139 167 / 10%), transparent 28rem),
    var(--background);
  line-height: 1.75;
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgb(220 233 236 / 80%);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: var(--primary);
  font-size: 1.15rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--primary-dark);
}

.language-switch {
  min-width: 98px;
  min-height: 42px;
  padding-inline: 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.language-switch:hover {
  border-color: var(--primary);
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.88fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
  padding-block: 74px 86px;
}

.hero-copy {
  max-width: 570px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--primary-dark);
  font-size: 0.94rem;
  font-weight: 750;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-pale);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.highlight {
  color: var(--primary);
}

.hero-description {
  max-width: 510px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.95;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button-outline {
  border-color: #b7d7e0;
  color: var(--primary-dark);
  background: #ffffff;
}

.button-outline:hover {
  border-color: var(--primary);
  background: var(--surface-soft);
  transform: translateY(-2px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 31px;
  color: var(--muted);
  font-size: 0.9rem;
}

.note-icon {
  color: var(--primary);
  font-size: 1.1rem;
}

.signup-card {
  padding: clamp(25px, 3.2vw, 38px);
  border: 1px solid rgb(220 233 236 / 90%);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-heading {
  margin-bottom: 24px;
}

.card-kicker {
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 750;
}

.card-heading h2 {
  margin-bottom: 7px;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.45;
}

.form-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.signup-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 13px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #fcfefe;
  font-size: 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input::placeholder {
  color: #9aabad;
  opacity: 1;
}

.field input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgb(52 139 167 / 14%);
}

.button-submit {
  width: 100%;
  min-height: 54px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 8px 18px rgb(52 139 167 / 19%);
}

.button-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 11px 22px rgb(52 139 167 / 24%);
  transform: translateY(-1px);
}

.privacy-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.benefits {
  border-block: 1px solid var(--border);
  background: var(--surface-soft);
}

.benefits-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding-block: 40px;
}

.benefit {
  position: relative;
  padding-inline-start: 52px;
}

.benefit-number {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: #8dbbc8;
  font-size: 0.78rem;
  font-weight: 800;
}

.benefit h2 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.benefit p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.site-footer {
  background: #ffffff;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-size: 1rem;
}

.footer-brand .brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-english {
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

:focus-visible {
  outline: 3px solid rgb(52 139 167 / 35%);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    gap: 36px;
    padding-block: 56px 66px;
  }

  h1 {
    font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 48px 56px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .signup-card {
    width: min(100%, 560px);
    justify-self: center;
  }

  .benefits-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .nav {
    min-height: 70px;
  }

  .nav-actions {
    gap: 13px;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .language-switch {
    min-width: 84px;
    min-height: 39px;
    padding-inline: 11px;
  }

  .hero {
    padding-block: 40px 48px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .signup-card {
    padding: 23px 19px;
    border-radius: 19px;
  }

  .footer-inner {
    min-height: 100px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 16px;
  }

  .footer-inner p {
    order: 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
