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

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #f3f5ef;
  color: #142a24;
  font: 1rem/1.7 Vazirmatn, Tahoma, sans-serif;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 5rem);
  min-height: 5rem;
  border-bottom: 1px solid #d5dbd2;
}
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; }
.brand i {
  width: 1.8rem;
  height: 1.3rem;
  transform: skew(-18deg);
  background: repeating-linear-gradient(90deg, #13694b 0 6px, transparent 6px 10px);
}
main { padding: clamp(2rem, 8vh, 6rem) 1rem; }
.panel {
  width: min(100%, 28rem);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #cfd7ce;
  border-radius: 1rem;
  background: white;
}
.dashboard { width: min(100%, 48rem); }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.5rem 2rem 1.5rem;
  background: #113f34;
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(ellipse at -10% 110%, transparent 0 14px, #7fad81 15px 16px, transparent 17px 30px);
  mask-image: linear-gradient(90deg, black, transparent 58%);
}
h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.25rem); }
h2 { margin: 0; font-size: 1.15rem; }
.content { padding: clamp(1.25rem, 5vw, 2rem); }
.field { margin-block-end: 1.2rem; }
label { display: block; margin-block-end: .35rem; font-weight: 600; }
input, button { font: inherit; }
input {
  width: 100%;
  border: 1px solid #88998f;
  border-radius: .5rem;
  padding: .6rem .8rem;
  background: white;
  color: inherit;
}
button {
  cursor: pointer;
  min-height: 44px;
  padding: .5rem 1rem;
  border-radius: .5rem;
  font-weight: 700;
}
.primary { width: 100%; color: white; background: #15583f; border: 0; }
.primary:hover { background: #103f30; }
.secondary { background: transparent; color: #183e31; border: 1px solid #82988a; }
.secondary:hover { background: white; }
:focus-visible { outline: 3px solid #2079a5; outline-offset: 3px; }
.error, .errorlist { color: #932a20; }
.error { background: #fff1ed; padding: .75rem; margin-block-end: 1rem; border-radius: .5rem; }
.errorlist { list-style: none; padding: 0; margin: 0; }
dl { margin: .5rem 0 0; }
dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: .9rem; }
dl > div + div { border-block-start: 1px solid #dee4db; }
dt { color: #44584f; }
dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; min-width: 0; }
