:root {
  --blue: #0757a3;
  --dark-blue: #073774;
  --light-blue: #56a7dd;
  --sky: #dff4ff;
  --gold: #ffc20e;
  --green: #5f9b50;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--sky);
  color: var(--dark-blue);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 42px 24px 82px;
  background:
    radial-gradient(ellipse at 50% 44%,
      #fff 0%,
      #fff 25%,
      rgba(255,255,255,.97) 40%,
      rgba(237,249,255,.91) 65%,
      #d7effc 100%);
}

/* Sunshine is CSS, so it never becomes blurry. */
.sunshine {
  position: absolute;
  z-index: -8;
  top: -20%;
  left: 50%;
  width: min(1100px, 90vw);
  height: 75vh;
  transform: translateX(-50%);
  opacity: .55;
  background:
    conic-gradient(from 205deg at 50% 0%,
      transparent 0 9deg,
      rgba(255,255,255,.95) 10deg 20deg,
      transparent 21deg 34deg,
      rgba(255,255,255,.78) 35deg 45deg,
      transparent 46deg 59deg,
      rgba(255,255,255,.92) 60deg 70deg,
      transparent 71deg 360deg);
  filter: blur(18px);
}

/* Clouds */
.cloud {
  position: absolute;
  z-index: -7;
  width: 180px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 10px 35px rgba(70,150,200,.08);
  animation: cloudFloat 10s ease-in-out infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud::before {
  width: 82px;
  height: 82px;
  left: 25px;
  bottom: 12px;
}

.cloud::after {
  width: 105px;
  height: 105px;
  right: 18px;
  bottom: 7px;
}

.cloud-1 { top: 19%; left: 8%; transform: scale(.72); }
.cloud-2 { top: 15%; right: 7%; transform: scale(.92); animation-delay: -3s; }
.cloud-3 { top: 46%; left: 15%; transform: scale(.52); opacity: .48; animation-delay: -6s; }

/* CSS trees */
.tree {
  position: absolute;
  z-index: -6;
  width: 390px;
  height: 560px;
  bottom: -120px;
  opacity: .25;
}

.tree-left { left: -150px; }
.tree-right { right: -150px; transform: scaleX(-1); }

.trunk {
  position: absolute;
  width: 48px;
  height: 410px;
  left: 170px;
  bottom: 0;
  border-radius: 50% 50% 10px 10px;
  background: linear-gradient(90deg, #6b774b, #87905a, #647448);
  transform: rotate(5deg);
}

.leaf {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #9fbd65, #5f954f 62%, #477c43);
}

.l1 { width: 245px; height: 215px; left: 30px; top: 20px; }
.l2 { width: 220px; height: 190px; left: 145px; top: 70px; }
.l3 { width: 190px; height: 175px; left: 5px; top: 155px; }
.l4 { width: 205px; height: 180px; left: 150px; top: 190px; }
.l5 { width: 160px; height: 145px; left: 85px; top: 280px; }

/* Grass */
.grass {
  position: absolute;
  z-index: -5;
  bottom: -18px;
  width: 48%;
  height: 190px;
  opacity: .42;
  background:
    repeating-linear-gradient(
      76deg,
      transparent 0 14px,
      rgba(62,123,58,.75) 15px 18px,
      transparent 19px 30px
    );
  clip-path: polygon(0 100%,3% 52%,7% 100%,11% 25%,16% 100%,21% 58%,26% 100%,31% 33%,37% 100%,44% 18%,50% 100%,57% 45%,64% 100%,72% 28%,80% 100%,88% 48%,94% 100%,100% 30%,100% 100%);
}

.grass-left { left: 0; }
.grass-right { right: 0; transform: scaleX(-1); }

/* Panther paws */
.paw {
  position: absolute;
  z-index: -3;
  width: clamp(90px, 9vw, 145px);
  fill: #3b82c4;
  opacity: .10;
  pointer-events: none;
}

.paw-left { left: 7%; bottom: 18%; transform: rotate(-18deg); }
.paw-right { right: 7%; bottom: 20%; transform: rotate(17deg); }
.paw-top { right: 15%; top: 27%; width: clamp(65px, 6vw, 100px); transform: rotate(-10deg); opacity: .07; }

/* Main readable content */
.content {
  position: relative;
  z-index: 2;
  width: min(1080px, 94vw);
  text-align: center;
  animation: enter .8s ease-out both;
}

.psd-logo {
  display: block;
  width: clamp(190px, 22vw, 340px);
  height: auto;
  max-height: 30vh;
  object-fit: contain;
  margin: 0 auto 20px;
}

h1 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.7px;
}

h2 {
  margin: 8px 0 0;
  color: var(--dark-blue);
  font-size: clamp(1.55rem, 2.8vw, 2.8rem);
  line-height: 1.1;
  font-weight: 800;
}

.yellow-line {
  width: min(390px, 48vw);
  height: 5px;
  margin: 24px auto 21px;
  border-radius: 10px;
  background: var(--gold);
}

.welcome h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  font-weight: 800;
}

.welcome p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--dark-blue);
  font-size: clamp(1rem, 1.55vw, 1.4rem);
  line-height: 1.5;
  font-weight: 500;
}

.official-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: min(610px, 92%);
  min-height: 78px;
  margin-top: 30px;
  padding: 17px 30px;
  border: 4px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(135deg, #0868b9, #063c83);
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  box-shadow: 0 9px 25px rgba(4,58,125,.24);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.official-button svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.official-button:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #0a76ce, #074d9e);
  box-shadow: 0 15px 34px rgba(4,58,125,.34), 0 0 0 5px rgba(255,194,14,.12);
}

.official-button:active { transform: translateY(-1px); }

.official-button:focus-visible {
  outline: 4px solid var(--dark-blue);
  outline-offset: 5px;
}

footer {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 16px;
  right: 16px;
  text-align: center;
  color: var(--dark-blue);
  font-size: clamp(.78rem, 1vw, .95rem);
  font-weight: 500;
}

footer span { padding: 0 8px; }

@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cloudFloat {
  50% { translate: 12px -5px; }
}

/* Tablet */
@media (max-width: 800px) {
  .hero { padding: 34px 18px 76px; }
  .tree { opacity: .18; }
  .paw { opacity: .07; }
  .official-button { min-height: 70px; }
}

/* Mobile */
@media (max-width: 520px) {
  .hero {
    padding: 26px 16px 72px;
    align-items: center;
  }

  .content { width: 100%; }

  .psd-logo { width: min(220px, 55vw); }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    letter-spacing: -1px;
  }

  h2 { font-size: clamp(1.35rem, 7vw, 1.9rem); }

  .yellow-line { margin: 19px auto 17px; }

  .official-button {
    width: 100%;
    min-height: 65px;
    margin-top: 24px;
    padding: 13px 17px;
    gap: 11px;
  }

  .official-button svg { width: 26px; height: 26px; }

  .paw-top, .cloud-3 { display: none; }

  footer span { padding: 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
