*, *::before, *::after { box-sizing: border-box; }
:root {
  --green: #8dc63f; --paper: #e8f6f8; --cyan: #2bb5ce; --navy: #0a1f7a; --ink: #06134f;
  --display: "Montserrat", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(60vw 60vw at 90% 110%, rgba(141, 198, 63, .3), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.page { position: relative; min-height: 100svh; overflow: hidden; padding: 0 clamp(20px, 5vw, 72px); }

.top { display: flex; justify-content: flex-end; padding-top: 18px; }
.lang {
  appearance: none; -webkit-appearance: none;
  min-height: 44px; padding: 8px 36px 8px 16px;
  border: 3px solid var(--navy); border-radius: 999px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a1f7a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center / 11px, #fff;
  color: var(--navy); font-family: var(--display); font-weight: 700; font-size: .9rem; cursor: pointer;
}
.lang:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.hero {
  position: relative; z-index: 2;
  max-width: 640px;
  padding: clamp(24px, 6vh, 72px) 0 40px;
}
.logotype {
  position: relative; display: inline-block; margin: 0;
  font-family: var(--display); font-weight: 900; line-height: .86; letter-spacing: -.065em;
  font-size: clamp(5rem, 22vw, 11rem); color: var(--navy); user-select: none;
  animation: in .9s cubic-bezier(.2, .8, .2, 1) both;
}
.logotype::after {
  content: attr(data-text); position: absolute; inset: 0; color: transparent;
  -webkit-text-stroke: .014em var(--navy); transform: translate(.05em, .035em); pointer-events: none;
}
.soon {
  display: inline-flex; align-items: center; gap: 12px; margin: clamp(18px, 3vh, 32px) 0 0;
  padding: 10px 20px; border: 3px solid var(--navy); border-radius: 999px; background: var(--green);
  font-family: var(--display); font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
  animation: in .8s .2s both;
}
.soon__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--navy); animation: pulse 1.6s ease-in-out infinite; }
.lede { margin: 22px 0 0; max-width: 46ch; animation: in .8s .35s both; }

.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; animation: in .8s .45s both; }
.social a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 3px solid var(--navy); border-radius: 999px; background: var(--paper);
  font-family: var(--display); font-weight: 700; color: var(--navy); text-decoration: none;
  transition: transform .15s, background-color .2s, color .2s;
}
.social a:hover { transform: translateY(-2px); background: var(--navy); color: var(--paper); }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* mascot peeking over the ledge, bottom right */
.mascot {
  position: absolute; z-index: 1; right: clamp(20px, 5vw, 72px); bottom: 0;
  width: clamp(240px, min(34vw, 52vh), 480px); height: auto; overflow: visible;
}
.mascot__rise { animation: rise 1.4s .3s cubic-bezier(.2, .9, .25, 1.1) both; }
.mascot__float { animation: float 6s ease-in-out infinite; }
.mascot__head { transform-box: fill-box; transform-origin: 50% 90%; }
.mascot__ear { transform-box: fill-box; transform-origin: 50% 100%; }
.mascot__ear--l { animation: ear-l 7s ease-in-out infinite; }
.mascot__ear--r { animation: ear-r 9s ease-in-out 1.5s infinite; }
.mascot__lid { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); animation: blink 5.5s infinite; }
.mascot__nose { transform-box: fill-box; transform-origin: 50% 50%; animation: sniff 4s ease-in-out infinite; }
.mascot__paws { animation: fade .35s 1s backwards, grip 6s ease-in-out infinite; }

@keyframes in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
@keyframes rise { from { transform: translateY(75%); } to { transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes grip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes blink { 0%, 44%, 48%, 92%, 94.5%, 97%, 100% { transform: scaleY(0); } 46%, 93.2%, 95.8% { transform: scaleY(1); } }
@keyframes ear-l { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-11deg); } 92% { transform: rotate(4deg); } 95% { transform: rotate(-5deg); } }
@keyframes ear-r { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(11deg); } 94% { transform: rotate(-4deg); } 97% { transform: rotate(5deg); } }
@keyframes sniff { 0%, 70%, 100% { transform: scale(1); } 76%, 88% { transform: scale(1.12, .92); } 82% { transform: scale(.96, 1.06); } }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .page { min-height: 100svh; }
  :root { --m: min(52vw, 230px); }
  .hero { max-width: none; padding-bottom: calc(var(--m) + 20px); }
  .mascot { right: 50%; transform: translateX(50%); width: var(--m); }
  .social a { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
