:root {
  color-scheme: dark;
  color: #f5f4ee;
  background: #111210;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 280px;
  background: radial-gradient(
    ellipse 48% 45% at 50% 42%,
    #9d641b0a,
    transparent
  );
}
main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 64px 24px;
}
.waiting {
  width: min(100%, 490px);
  text-align: center;
  transform: translateY(-22px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  flex: none;
  overflow: visible;
}
h1 {
  font-size: clamp(48px, 8vw, 68px);
  line-height: 1;
  font-weight: 750;
  letter-spacing: -3px;
  margin: 0;
}
h1 span {
  color: #ffb34f;
}
.intro {
  margin: 0 0 30px;
  color: #b0b0a6;
  font-size: 17px;
  line-height: 1.5;
}
.email-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: #191a17;
  border: 1px solid #3c3b32;
  border-radius: 14px;
  transition: border-color 0.2s;
}
.email-field:focus-within {
  border-color: #ffb34f;
}
input,
button {
  font: inherit;
}
#email {
  min-width: 0;
  flex: 1;
  width: 100%;
  padding: 14px 12px;
  color: #f5f4ee;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 16px;
}
#email::placeholder {
  color: #83857a;
}
#email[aria-invalid="true"] {
  color: #efb2a6;
}
button {
  cursor: pointer;
  border: 0;
}
#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #ffb34f;
  color: #23180b;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  min-height: 40px;
  transition: background 0.2s;
}
#submit:hover {
  background: #ffc16f;
}
#submit:disabled {
  cursor: wait;
  opacity: 0.65;
}
#submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button:focus-visible {
  outline: 2px solid #ffd597;
  outline-offset: 4px;
}
#note {
  color: #777a6f;
  font-size: 12px;
  line-height: 1.5;
  margin: 14px 0 0;
}
#result {
  min-height: 42px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #a8cfa0;
}
#result.error {
  color: #efb2a6;
}
.languages {
  position: fixed;
  bottom: 22px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #505349;
  font-size: 11px;
}
.languages button {
  color: #777b6d;
  background: transparent;
  min-width: 40px;
  min-height: 40px;
  font-size: 12px;
  border-radius: 7px;
}
.languages button[aria-pressed="true"] {
  color: #e5e5da;
}
.languages button:hover {
  color: #ffb34f;
}
.sr-only,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.tebblo-mark-art {
  transform-box: view-box;
  transform-origin: center;
}
.tebblo-eye-lid {
  transform-box: fill-box;
  transform: scaleY(0);
  animation: tebblo-eye-blink 7s ease-in-out infinite;
}
.tebblo-eye-lid-top {
  transform-origin: center top;
}
.tebblo-eye-lid-bottom {
  transform-origin: center bottom;
}
@keyframes tebblo-eye-blink {
  0%,
  40%,
  44%,
  87%,
  91%,
  100% {
    transform: scaleY(0);
  }
  42%,
  89% {
    transform: scaleY(0.9);
  }
}
@keyframes tebblo-greet {
  0%,
  100% {
    transform: translateY(0) rotate(0) scale(1);
  }
  22% {
    transform: translateY(-12px) rotate(-5deg) scale(1.04);
  }
  48% {
    transform: translateY(-6px) rotate(4deg) scale(1.03);
  }
  72% {
    transform: translateY(-3px) rotate(-2deg) scale(1.01);
  }
}
[data-logo-trigger]:hover .tebblo-mark-art {
  animation: tebblo-greet 1.1s ease-in-out both;
}
@media (max-width: 430px) {
  .brand {
    gap: 9px;
  }
  .logo {
    width: 64px;
    height: 64px;
  }
  .waiting {
    transform: none;
  }
  .intro {
    font-size: 15px;
  }
  #submit {
    width: 44px;
    min-height: 44px;
    padding-inline: 12px;
    flex: none;
  }
  #submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  #email {
    padding-inline: 9px;
  }
}
@media (max-height: 480px) {
  .waiting {
    transform: none;
  }
  .languages {
    position: static;
    justify-content: flex-end;
    padding: 0 20px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
