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

:root {
  color-scheme: dark;
  --ground: #122a37;
  --ink: #f1f3ec;
  --muted: #c3d0d2;
  --accent: #edce82;
  --rule: #54717a;
  font-family: Vazirmatn, Tahoma, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--ground);
  color: var(--ink);
}

main {
  width: min(100% - 3rem, 60rem);
  padding-block: clamp(2rem, 7vw, 5rem);
}

.logo {
  display: block;
  height: auto;
  width: clamp(6rem, 11vw, 8rem);
  margin-block-end: clamp(1rem, 3vw, 2rem);
}

.announcement {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border-block: 1px solid var(--rule);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

h1, p { margin: 0; }

h1 {
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.4;
  font-weight: 750;
}

.description {
  max-width: 34ch;
  margin-block-start: 0.55rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.95;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin-block-start: clamp(1.3rem, 3vw, 2.4rem);
  color: var(--accent);
  font: 500 clamp(1.2rem, 2vw, 1.6rem)/1.3 Georgia, serif;
}

.status::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.illustration {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1.4;
  justify-self: center;
  direction: ltr;
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  font: 500 clamp(3.2rem, 7.8vw, 6.8rem)/1 Georgia, serif;
  box-shadow: 3px 6px 0 var(--edge), 8px 17px 24px #08182066;
  border: 1px solid var(--rim);
}

.coin::before,
.coin::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.7;
}

.coin::after {
  inset: 9%;
  border-style: dotted;
}

.coin-back {
  --edge: #637d83;
  --rim: #cce1df;
  color: #405960;
  background: linear-gradient(130deg, #7a9399, #c0d3d1 42%, #94abae);
  left: 42%;
  top: 12%;
  transform: rotate(13deg);
}

.coin-front {
  --edge: #938054;
  --rim: #e8d6a7;
  color: #6a5937;
  background: linear-gradient(125deg, #aa8c50, #e5d3a5 45%, #c1aa72);
  left: 12%;
  top: 32%;
  transform: rotate(-13deg);
}

@media (max-width: 640px) {
  .announcement {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-block: 1.75rem;
  }

  .illustration {
    width: min(78%, 15rem);
  }
}
