:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #080e1a;
  color: #eef4ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 72px);
  background: radial-gradient(ellipse at 75% 15%, #16274b, transparent 62%), #080e1a;
}

main { width: min(100%, 980px); }

article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 400px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #2b3d5d;
  border-radius: 30px;
  background: linear-gradient(135deg, #121d33, #0b1425 66%, #132848);
  box-shadow: 0 24px 85px #040814aa;
}

.copy { padding: clamp(24px, 5vw, 68px); padding-right: 0; z-index: 1; }
.label { color: #a4d5ff; font-size: .79rem; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: .12em 0; font-size: clamp(3.2rem, 8vw, 6.5rem); line-height: .96; letter-spacing: -.075em; }
h1 span { color: #86caff; }
.intro { max-width: 24ch; margin: 1.3rem 0 1.7rem; color: #c4d2e7; font-size: clamp(1.05rem, 2vw, 1.23rem); line-height: 1.5; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #a4d5ff; outline-offset: 5px; }
.provider { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .35em; padding: 9px 0; color: #d7ecff; text-underline-offset: .26em; }
.provider span { margin-left: .2em; color: #86caff; }

.art {
  position: relative;
  width: 100%;
  min-height: 295px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #335aaa70, transparent 65%);
  pointer-events: none;
}

.orbit { position: absolute; width: min(80%, 350px); aspect-ratio: 1; border: 1px solid #71aaff50; border-radius: 50%; transform: rotate(-24deg) scaleY(.65); }
.orbit-inner { width: min(65%, 294px); transform: rotate(28deg) scaleY(.72); border-color: #71aaff30; }
.orbit i { position: absolute; top: 50%; right: -4px; width: 7px; height: 7px; border-radius: 50%; background: #c4edff; box-shadow: 0 0 18px 5px #648eff; }
.envelope {
  position: relative;
  width: min(52%, 226px);
  aspect-ratio: 1.5;
  overflow: hidden;
  border: 1px solid #a9d8ff;
  border-radius: 15px;
  background: linear-gradient(145deg, #5597e8, #2357a7 64%, #293983);
  box-shadow: inset 0 0 30px #b1dbff36, 0 16px 54px #040b2290;
  transform: translateY(0) rotate(-12deg);
  animation: arrive 1.15s cubic-bezier(.15,.65,.25,1) both;
}

.envelope::before, .envelope::after {
  content: "";
  position: absolute;
  left: 14.5%;
  width: 71%;
  aspect-ratio: 1;
  transform: rotate(45deg);
  border: 1px solid #addcff;
  border-radius: 12px;
}
.envelope::before { top: 49%; background: linear-gradient(135deg, #568bde, #1d498d); }
.envelope::after { bottom: 42%; background: linear-gradient(135deg, #4a70bd, #85c9ff); box-shadow: 5px 5px 18px #09193270; }
.envelope span { position: absolute; z-index: 1; bottom: 11%; left: 11%; width: 17%; height: 2px; background: #d5f0ff; border-radius: 2px; }
@keyframes arrive {
  from { opacity: 0; transform: translateY(22px) rotate(-5deg) scale(.92); }
  to { opacity: 1; transform: translateY(0) rotate(-12deg) scale(1); }
}

footer { display: flex; justify-content: flex-end; gap: 1.2rem; padding: .8rem .35rem 0; color: #aebdd4; font-size: .83rem; }
footer a { padding-block: .35rem; text-underline-offset: .2em; }

@media (max-width: 650px) {
  article { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .copy { padding: 30px 24px 0; }
  .intro { margin-bottom: .8rem; }
  .art { min-height: 196px; }
  .orbit { width: min(70%, 235px); }
  .orbit-inner { width: min(59%, 195px); }
  .envelope { width: min(43%, 148px); }
}

@media (prefers-reduced-motion: reduce) {
  .envelope { animation: none; }
}
