:root {
  --aion-first-width: 2843;
  --aion-first-height: 7250;
  --aion-first-scale: 1;
  --aion-first-readable-width: 900px;
  --aion-first-bg: #f8faf5;
  --aion-first-green: #535b3b;
  --aion-first-ink: #000;
  --aion-first-muted: rgba(0, 0, 0, 0.3);
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--aion-first-bg);
}

body {
  overflow-x: auto;
  font-family: "Merriweather Sans", sans-serif;
}

.aion-first-back {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 20;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #000;
  background: rgba(248, 250, 245, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  text-decoration: none;
}

.aion-first-shell {
  width: max(100%, var(--aion-first-readable-width));
  height: calc(var(--aion-first-height) * 1px * var(--aion-first-scale));
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow: visible;
  background: var(--aion-first-bg);
}

.aion-first-stage {
  position: relative;
  flex: 0 0 calc(var(--aion-first-width) * 1px);
  width: calc(var(--aion-first-width) * 1px);
  height: calc(var(--aion-first-height) * 1px);
  zoom: var(--aion-first-scale);
  background: var(--aion-first-bg);
  overflow: hidden;
}

@supports not (zoom: 1) {
  .aion-first-stage {
    transform: scale(var(--aion-first-scale));
    transform-origin: top center;
  }
}

.aion-first-stage > * {
  position: absolute;
}

.hero-panel {
  width: 1222px;
  height: 412px;
  left: 200px;
  top: 252px;
  background: var(--aion-first-bg);
}

.image-square {
  position: absolute;
  width: 900px;
  height: 900px;
  overflow: visible;
  background: transparent;
}

.image-square-left {
  left: 162px;
  top: 1978px;
}

.image-square-crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
}

.image-square-crop img {
  position: absolute;
  width: 1035px;
  height: 934px;
  left: -68px;
  top: -34px;
  object-fit: cover;
}

.image-collage {
  width: 1483px;
  height: 1350px;
  left: 1087px;
  top: 458px;
  overflow: hidden;
}

.collage-window {
  position: absolute;
  width: 900px;
  height: 900px;
  overflow: hidden;
  background: #fff;
}

.collage-window-top {
  left: 583px;
  top: 0;
}

.collage-window-bottom {
  left: 0;
  top: 450px;
}

.collage-window img {
  position: absolute;
  width: 2397px;
  height: 1347px;
  left: -140px;
  top: -72px;
  object-fit: cover;
}

.collage-window-top img {
  left: -723px;
  top: 0;
}

.collage-window-bottom img {
  left: -140px;
  top: -450px;
}

.aion-word {
  width: 2350px;
  height: 1044px;
  left: 88px;
  top: -136px;
  margin: 0;
  font-family: "Patrick Hand SC", cursive;
  font-weight: 400;
  font-size: 800px;
  line-height: 1083px;
  color: #3d3d3a;
}

.aion-logo {
  width: 420px;
  height: 420px;
  left: 687px;
  top: 230px;
  object-fit: contain;
}

.intro-text {
  width: 818px;
  min-height: 826px;
  left: 142px;
  top: 908px;
  margin: 0;
  font-size: 40px;
  line-height: 50px;
  color: var(--aion-first-ink);
}

.text-heading {
  display: block;
  margin-bottom: 26px;
  font-size: 64px;
  line-height: 80px;
}

.intro-text mark {
  display: inline;
  padding: 0 10px 4px;
  color: #fff;
  background: rgba(107, 119, 71, 0.71);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.frame-thing {
  position: absolute;
  width: 1000px;
  height: 1000px;
  left: 260px;
  top: -310px;
  z-index: 3;
  object-fit: contain;
  pointer-events: none;
}

.side-text {
  width: 1666px;
  min-height: 481px;
  left: 1087px;
  top: 2081px;
  margin: 0;
  font-size: 40px;
  line-height: 50px;
  text-align: right;
  color: var(--aion-first-ink);
}

.symbol {
  object-fit: contain;
}

.symbol-1 {
  width: 243px;
  height: 234px;
  left: 922px;
  top: 3348px;
}

.symbol-2 {
  width: 242px;
  height: 255px;
  left: 1666px;
  top: 3348px;
}

.symbol-3 {
  width: 354px;
  height: 373px;
  left: 1248px;
  top: 3490px;
}

.symbol-4 {
  width: 234px;
  height: 260px;
  left: 189px;
  top: 3328px;
  transform: rotate(10.16deg);
}

.symbol-5 {
  width: 183px;
  height: 273px;
  left: 587px;
  top: 3490px;
  transform: rotate(-11.08deg);
}

.symbol-6 {
  width: 162px;
  height: 290px;
  left: 2048px;
  top: 3493px;
  transform: rotate(-9.45deg);
}

.symbol-7 {
  width: 226px;
  height: 253px;
  left: 2388px;
  top: 3363px;
}

.main-story {
  width: 2394px;
  min-height: 1236px;
  left: 198px;
  top: 3979px;
  margin: 0;
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  color: var(--aion-first-ink);
}

.double-symbol {
  width: 540px;
  height: 540px;
  top: 5117px;
  object-fit: contain;
}

.double-symbol-left {
  left: 1080px;
}

.double-symbol-right {
  left: 1166px;
  transform: scaleX(-1);
}

.silly-circle {
  width: 597px;
  height: 597px;
  left: 1971px;
  top: 5566px;
  object-fit: contain;
}

.signup-panel {
  width: 2250px;
  height: 1221px;
  left: 297px;
  top: 5669px;
  background: var(--aion-first-green);
  border-radius: 151px;
  overflow: hidden;
}

.signup-panel > * {
  position: absolute;
}

.signup-image {
  width: 2320px;
  height: 390px;
  left: -35px;
  top: -30px;
  border-radius: 40px;
  object-fit: cover;
}

.signup-panel h2 {
  width: 1257px;
  height: 190px;
  left: 469px;
  top: 361px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.spam-form {
  left: 165px;
  top: 679px;
  width: 2013px;
  height: 457px;
}

.spam-form,
.spam-form > * {
  position: absolute;
}

.email-field {
  width: 2013px;
  height: 204px;
  left: 0;
  top: 0;
}

.email-field input {
  width: 100%;
  height: 100%;
  padding: 0 30px;
  border: 0;
  border-radius: 43px;
  background: var(--aion-first-bg);
  font: 400 40px/50px "Merriweather Sans", sans-serif;
  color: #000;
}

.email-field input::placeholder {
  color: rgba(0, 0, 0, 0.59);
}

.spam-consent {
  left: 0;
  top: 279px;
  min-width: 650px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 57px;
  font-size: 40px;
  line-height: 50px;
  color: #fff;
}

.spam-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fake-checkbox {
  position: relative;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: var(--aion-first-bg);
}

.spam-consent input:checked + .fake-checkbox::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 8px;
  width: 32px;
  height: 52px;
  border-right: 8px solid #000;
  border-bottom: 8px solid #000;
  transform: rotate(38deg);
}

.spam-form button {
  width: 609px;
  height: 173px;
  left: 1404px;
  top: 284px;
  border: 0;
  border-radius: 84px;
  background: var(--aion-first-bg);
  font: 400 40px/50px "Merriweather Sans", sans-serif;
  color: #000;
  cursor: pointer;
}

.spam-status {
  left: 0;
  top: 380px;
  width: 1200px;
  margin: 0;
  font-size: 32px;
  line-height: 42px;
  color: rgba(255, 255, 255, 0.86);
}

.made-by {
  width: 1301px;
  height: 134px;
  left: 744px;
  top: 7116px;
  font-family: "Patrick Hand SC", cursive;
  font-size: 48px;
  line-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aion-first-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 900px) {
  .aion-first-shell {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

@media (max-width: 520px) {
  html,
  body {
    overflow-x: hidden;
  }

  .aion-first-shell {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: block;
    overflow: visible;
  }

  .aion-first-stage {
    width: 100%;
    height: auto;
    min-height: 100vh;
    flex: none;
    zoom: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 82px 16px 28px;
    overflow: visible;
  }

  @supports not (zoom: 1) {
    .aion-first-stage {
      transform: none;
    }
  }

  .aion-first-stage > * {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .aion-first-back {
    top: 12px;
    left: 12px;
    width: 54px;
    height: 54px;
  }

  .hero-panel,
  .symbol,
  .double-symbol,
  .silly-circle {
    display: none;
  }

  .aion-word {
    order: 1;
    margin: 0;
    font-size: 108px;
    line-height: 0.9;
  }

  .aion-logo {
    position: absolute;
    width: 84px;
    height: 84px;
    left: auto;
    right: 16px;
    top: 82px;
    z-index: 2;
  }

  .image-collage {
    order: 2;
    height: 236px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow: visible;
  }

  .collage-window {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 236px;
    border-radius: 22px;
  }

  .collage-window img,
  .collage-window-top img,
  .collage-window-bottom img {
    left: 50%;
    top: 50%;
    width: 560px;
    height: 315px;
    transform: translate(-50%, -50%);
  }

  .intro-text {
    order: 3;
  }

  .image-square-left {
    order: 4;
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: visible;
  }

  .image-square-crop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 24px;
  }

  .image-square-crop img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
  }

  .frame-thing {
    position: absolute;
    order: initial;
    width: 158px;
    height: 158px;
    left: auto;
    right: -60px;
    top: auto;
    bottom: 220px;
    z-index: 3;
    object-fit: contain;
    pointer-events: none;
  }

  .side-text {
    order: 5;
    text-align: left;
  }

  .main-story {
    order: 6;
    text-align: left;
  }

  .intro-text,
  .side-text,
  .main-story {
    min-height: 0;
    margin: 0;
    font-size: 19px;
    line-height: 1.42;
  }

  .text-heading {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.08;
  }

  .signup-panel {
    order: 7;
    position: relative;
    height: auto;
    margin: 6px 0 0;
    padding: 0 16px 22px;
    border-radius: 32px;
    display: block;
    overflow: hidden;
  }

  .signup-panel > *,
  .signup-panel .spam-form,
  .signup-panel .spam-form > * {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .signup-image {
    width: calc(100% + 32px);
    height: 150px;
    left: -16px;
    margin-bottom: 112px;
    border-radius: 0 0 24px 24px;
    object-fit: cover;
    z-index: 1;
  }

  .signup-panel h2 {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 150px;
    width: auto;
    height: 94px;
    margin: 0;
    padding: 8px 10px 0;
    font-size: 31px;
    line-height: 1.14;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: var(--aion-first-green);
    z-index: 20;
  }

  .signup-panel .spam-form {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    display: grid;
    gap: 15px;
  }

  .signup-panel .spam-form > * {
    position: relative;
    left: auto;
    top: auto;
  }

  .email-field {
    width: 100%;
    height: 60px;
  }

  .email-field input {
    padding: 0 16px;
    border-radius: 18px;
    font-size: 17px;
    line-height: 1.2;
  }

  .spam-consent {
    min-width: 0;
    height: auto;
    gap: 12px;
    font-size: 16px;
    line-height: 1.25;
  }

  .fake-checkbox {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .spam-consent input:checked + .fake-checkbox::after {
    left: 11px;
    top: 4px;
    width: 14px;
    height: 24px;
    border-right-width: 4px;
    border-bottom-width: 4px;
  }

  .spam-form button {
    width: 100%;
    height: 60px;
    border-radius: 999px;
    font-size: 17px;
    line-height: 1.2;
  }

  .spam-status {
    width: 100%;
    font-size: 15px;
    line-height: 1.3;
  }

  .made-by {
    order: 8;
    margin-top: 4px;
    font-size: 28px;
    line-height: 1.1;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --aion-first-bg: #252624;
    --aion-first-ink: #c2c0b6;
    --aion-first-muted: rgba(194, 192, 182, 0.38);
  }

  .aion-first-back {
    color: #c2c0b6;
    background: rgba(47, 48, 46, 0.86);
    border-color: rgba(194, 192, 182, 0.18);
  }

  .aion-word {
    color: #c2c0b6;
  }

  .image-square-crop,
  .collage-window {
    background: #2f302e;
  }

  .email-field input,
  .fake-checkbox,
  .spam-form button {
    background: #252624;
    color: #c2c0b6;
  }

  .email-field input::placeholder {
    color: rgba(194, 192, 182, 0.52);
  }

  .spam-consent input:checked + .fake-checkbox::after {
    border-color: #c2c0b6;
  }
}
