:root {
  --white: #ffffff;
  --black: #000000;
  --cream: #fff4ed;
  --blue-50: #e6f0f9;
  --blue-200: #99c2e5;
  --blue-400: #3385cc;
  --blue-700: #002f5c;
  --green-500: #65b544;
  --green-700: #2f7d32;
  --red-500: #cf3f34;
  --red-50: #fff1ee;
  --body-font: "Brown Pro", "Avenir Next", Arial, sans-serif;
  --display-font: "Aptly", "Arial Narrow", Impact, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--black);
  background: var(--cream);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--cream);
}

.container {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 16px 28px;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.js:not(.is-loaded) .container,
.js:not(.is-loaded) .header,
.js:not(.is-loaded) .hero__heading-group,
.js:not(.is-loaded) .hero__text,
.js:not(.is-loaded) .notify-panel,
.js:not(.is-loaded) .footer,
.js:not(.is-loaded) .element {
  opacity: 0;
  will-change: transform, opacity;
}

.js:not(.is-loaded) .container {
  transform: translate3d(0, 18px, 0) scale(0.992);
}

.js:not(.is-loaded) .header,
.js:not(.is-loaded) .hero__heading-group,
.js:not(.is-loaded) .hero__text,
.js:not(.is-loaded) .notify-panel,
.js:not(.is-loaded) .footer {
  transform: translate3d(0, 28px, 0);
}

.js:not(.is-loaded) .element {
  transform: translate3d(0, 18px, 0) scale(0.96);
}

.is-loaded .container {
  animation: scaleInSoft 760ms cubic-bezier(0.22, 1, 0.36, 1) 40ms both;
}

.is-loaded .header {
  animation: fadeInUp 680ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.is-loaded .hero__heading-group {
  animation: fadeInUp 760ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
}

.is-loaded .hero__text {
  animation: fadeInUp 720ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both;
}

.is-loaded .notify-panel {
  animation: fadeInUp 760ms cubic-bezier(0.22, 1, 0.36, 1) 470ms both;
}

.is-loaded .footer {
  animation: fadeIn 700ms ease 720ms both;
}

.intro-complete .container,
.intro-complete .header,
.intro-complete .hero__heading-group,
.intro-complete .hero__text,
.intro-complete .notify-panel,
.intro-complete .footer {
  will-change: auto;
}

.header,
.footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: block;
  width: 104px;
  height: auto;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.status__dot {
  width: 8px;
  height: 8px;
}

.hero {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 684px;
  margin: auto;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.hero__copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hero__heading-group {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tag {
  display: inline-flex;
  min-height: 32px;
  margin: 0;
  padding: 9px 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  color: var(--blue-400);
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

h1 {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--blue-700);
  font-family: var(--display-font);
  font-size: clamp(34px, 10.8vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
}

h1 span {
  display: block;
}

.hero__text {
  width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.notify-panel {
  position: relative;
  width: 100%;
  max-width: 447px;
  min-height: 108px;
}

.notify-form,
.success-message {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 86px;
  align-items: center;
  border: 1px solid var(--blue-50);
  border-radius: 40px;
  background: var(--white);
}

.notify-form {
  position: relative;
  padding: 16px 20px;
  justify-content: space-between;
  gap: 12px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  box-shadow: 0 10px 28px rgba(0, 47, 92, 0.04);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 400ms ease,
    transform 400ms ease;
  will-change: opacity, transform;
}

.notify-form:hover {
  border-color: var(--blue-200);
  box-shadow: 0 14px 34px rgba(0, 47, 92, 0.08);
}

.notify-form:focus-within {
  border-color: var(--blue-400);
  box-shadow:
    0 0 0 4px rgba(51, 133, 204, 0.18),
    0 14px 34px rgba(0, 47, 92, 0.08);
}

.notify-form.is-hidden {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  pointer-events: none;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

.notify-field {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
}

.notify-form input {
  min-width: 0;
  width: 100%;
  height: 54px;
  padding: 0 2px;
  border: 0;
  outline: 0;
  color: var(--black);
  background: transparent;
  font-size: 16px;
  line-height: 26px;
  caret-color: var(--blue-700);
  cursor: text;
  transition: color 160ms ease;
}

.notify-form input:disabled,
.notify-form button:disabled {
  opacity: 1;
  -webkit-text-fill-color: currentcolor;
}

.notify-form input::placeholder {
  color: rgba(0, 0, 0, 0.68);
  opacity: 1;
}

.form-feedback {
  position: absolute;
  top: calc(100% + 8px);
  left: 24px;
  right: 24px;
  min-height: 18px;
  margin: 0;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-align: left;
  opacity: 0;
  transform: translateY(-3px);
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.notify-form.is-filled .notify-field input {
  color: var(--blue-700);
}

.notify-form.is-valid {
  border-color: rgba(101, 181, 68, 0.7);
  background: linear-gradient(0deg, rgba(101, 181, 68, 0.04), rgba(101, 181, 68, 0.04)), var(--white);
}

.notify-form.is-valid .form-feedback {
  color: var(--green-700);
  opacity: 1;
  transform: translateY(0);
}

.notify-form.is-invalid {
  border-color: var(--red-500);
  background: linear-gradient(0deg, rgba(207, 63, 52, 0.04), rgba(207, 63, 52, 0.04)), var(--white);
}

.notify-form.is-invalid:focus-within {
  box-shadow:
    0 0 0 4px rgba(207, 63, 52, 0.16),
    0 14px 34px rgba(0, 47, 92, 0.08);
}

.notify-form.is-invalid .form-feedback {
  color: var(--red-500);
  opacity: 1;
  transform: translateY(0);
}

.notify-form button {
  display: inline-flex;
  flex: 0 0 auto;
  position: relative;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 24px;
  color: var(--white);
  background: var(--green-500);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(101, 181, 68, 0.22);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.button-label {
  transition: opacity 160ms ease;
}

.button-spinner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: var(--white);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
}

.notify-form.is-filled button,
.notify-form.is-valid button {
  box-shadow: 0 10px 22px rgba(101, 181, 68, 0.28);
}

.notify-form.is-sending button {
  cursor: progress;
  filter: saturate(0.9);
}

.notify-form.is-sending .button-label {
  opacity: 0;
}

.notify-form.is-sending .button-spinner {
  opacity: 1;
  transform: scale(1);
  animation: spin 800ms linear infinite;
}

.notify-form.is-sending input,
.notify-form.is-sending button {
  pointer-events: none;
}

.notify-form.is-disabled:not(.is-sending),
.notify-form:has(input:disabled):not(.is-sending) {
  opacity: 0.62;
  cursor: not-allowed;
}

.success-message {
  position: absolute;
  top: -9px;
  left: 0;
  right: 0;
  justify-content: center;
  padding: 16px 24px;
  color: var(--blue-700);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  box-shadow: 0 14px 34px rgba(0, 47, 92, 0.08);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.notify-panel.is-submitted .success-message,
.success-message.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.notify-form button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.notify-form button:focus-visible,
.notify-form input:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
}

.notify-form button:active {
  transform: translateY(0) scale(0.98);
}

.footer {
  font-size: 14px;
  line-height: 20px;
}

.footer p {
  margin: 0;
  white-space: nowrap;
}

.element {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  animation: float-soft 7s ease-in-out infinite;
}

.is-loaded .element {
  opacity: 0;
  animation: elementEnter 680ms cubic-bezier(0.22, 1, 0.36, 1) both, float-soft 7s ease-in-out infinite;
}

.is-loaded .element--circle-orange {
  animation-duration: 680ms, 7.4s;
  animation-delay: 660ms, 940ms;
}

.is-loaded .element--circle-pink {
  animation-name: elementEnter, float-soft-alt;
  animation-duration: 680ms, 7.8s;
  animation-delay: 760ms, 1040ms;
}

.is-loaded .element--circle-blue {
  animation-duration: 680ms, 8.2s;
  animation-delay: 900ms, 1200ms;
}

.is-loaded .element--triangle-orange {
  animation-name: elementEnterRotate, float-rotate-orange;
  animation-duration: 680ms, 8.6s;
  animation-delay: 720ms, 1080ms;
}

.is-loaded .element--triangle-pink {
  animation-name: elementEnterRotate, float-rotate-pink;
  animation-duration: 680ms, 9s;
  animation-delay: 820ms, 1160ms;
}

.is-loaded .element--triangle-blue {
  animation-name: elementEnterRotateBlue, float-rotate-blue;
  animation-duration: 680ms, 7.8s;
  animation-delay: 980ms, 1320ms;
}

.element--circle-orange {
  top: 29.3%;
  left: -18px;
  width: 42px;
  height: 42px;
  animation-duration: 7.4s;
}

.element--circle-pink {
  top: 11%;
  right: 19.5%;
  width: 42px;
  height: 42px;
  animation-name: float-soft-alt;
  animation-duration: 7.8s;
  animation-delay: -1.8s;
}

.element--circle-blue {
  right: 7%;
  bottom: 21.5%;
  width: 42px;
  height: 42px;
  animation-duration: 8.2s;
  animation-delay: -3s;
}

.element--triangle-orange {
  top: 30%;
  right: -18px;
  width: 62px;
  height: 62px;
  transform: rotate(28.7deg);
  animation-name: float-rotate-orange;
  animation-duration: 8.6s;
  animation-delay: -0.9s;
}

.element--triangle-pink {
  top: 14%;
  left: 21%;
  width: 62px;
  height: 62px;
  transform: rotate(28.7deg);
  animation-name: float-rotate-pink;
  animation-duration: 9s;
  animation-delay: -2.4s;
}

.element--triangle-blue {
  left: 15%;
  bottom: 15%;
  width: 66px;
  height: 66px;
  transform: rotate(-90deg);
  animation-name: float-rotate-blue;
  animation-duration: 7.8s;
  animation-delay: -1.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleInSoft {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes elementEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes elementEnterRotate {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) rotate(28.7deg) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(28.7deg) scale(1);
  }
}

@keyframes elementEnterRotateBlue {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) rotate(-90deg) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-90deg) scale(1);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(8px, -13px, 0);
  }
}

@keyframes float-soft-alt {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-9px, 12px, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float-rotate-orange {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(28.7deg);
  }

  50% {
    transform: translate3d(-10px, -12px, 0) rotate(28.7deg);
  }
}

@keyframes float-rotate-pink {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(28.7deg);
  }

  50% {
    transform: translate3d(10px, 13px, 0) rotate(28.7deg);
  }
}

@keyframes float-rotate-blue {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-90deg);
  }

  50% {
    transform: translate3d(-8px, 11px, 0) rotate(-90deg);
  }
}

@media (max-width: 420px) {
  .container {
    width: 100%;
    max-width: 390px;
  }

  .header {
    align-items: flex-start;
  }

  .status {
    margin-top: 2px;
    font-size: 13px;
  }

  .notify-panel {
    min-height: 98px;
  }

  .notify-form,
  .success-message {
    min-height: auto;
    border-radius: 30px;
  }

  .notify-form {
    padding: 12px;
    gap: 8px;
  }

  .success-message {
    min-height: 74px;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 20px;
  }

  .notify-form input {
    height: 48px;
    font-size: 14px;
    line-height: 22px;
  }

  .notify-form button {
    width: auto;
    min-width: 104px;
    height: 48px;
    padding: 13px 14px;
    font-size: 13px;
  }

  .form-feedback {
    left: 18px;
    right: 18px;
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    margin: 0;
  }

  .hero {
    width: 100%;
    max-width: 343px;
    margin: auto 0;
  }

  .notify-panel,
  .notify-form {
    max-width: 343px;
  }
}

@media (max-width: 380px) {
  .container {
    max-width: 375px;
  }

  .hero,
  .notify-panel,
  .notify-form {
    max-width: 343px;
  }
}

@media (min-width: 769px) {
  .container {
    min-height: 100vh;
    padding: 40px 24px;
    gap: 0;
  }

  .header__logo {
    width: 139px;
  }

  .status,
  .footer,
  .hero__text {
    font-size: 18px;
    line-height: 26px;
  }

  .hero {
    margin: 0 auto;
  }

  h1 {
    font-size: 64px;
    line-height: 72px;
  }

  h1 span {
    display: inline;
  }

  .tag {
    font-size: 12px;
  }

  .notify-form input {
    font-size: 18px;
  }

  .element--circle-orange {
    top: 322px;
    left: max(24px, calc(50% - 622px));
    width: 60px;
    height: 60px;
  }

  .element--circle-pink {
    top: 112px;
    left: calc(66.6667% + 32px);
    right: auto;
    width: 60px;
    height: 60px;
  }

  .element--circle-blue {
    top: 512px;
    right: auto;
    bottom: auto;
    left: calc(66.6667% + 8px);
    width: 60px;
    height: 60px;
  }

  .element--triangle-orange {
    top: 303.656px;
    right: auto;
    left: calc(83.3333% + 74px);
    width: 89px;
    height: 89px;
  }

  .element--triangle-pink {
    top: 119px;
    left: calc(25% + 28px);
    width: 89px;
    height: 89px;
  }

  .element--triangle-blue {
    top: 656px;
    bottom: auto;
    left: calc(25% + 28px);
    width: 97px;
    height: 97px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
