﻿:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
  color: #24345b;
  background: #f3f8ff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #24345b;
  --muted: #5e6d8b;
  --blue: #2588ff;
  --blue-light: #70c7ff;
  --orange: #ff9d24;
  --pink: #ff78b7;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 16% 14%, #fff 0, transparent 35%),
    radial-gradient(ellipse at 90% 85%, #e4f4ff 0, transparent 36%),
    #f3f8ff;
}

.welcome {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
}

.welcome__card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 3px solid #e4edff;
  border-radius: 36px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 24px 70px rgb(49 85 139 / 12%);
  text-align: center;
}

.brand-mark {
  position: relative;
  width: 88px;
  height: 78px;
  margin: 0 auto 28px;
  border: 5px solid #fff;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--blue-light), var(--blue));
  box-shadow: 0 7px 0 #1768c5, 0 13px 24px rgb(36 52 91 / 16%);
}

.brand-mark__antenna {
  position: absolute;
  top: -19px;
  left: 36px;
  width: 7px;
  height: 20px;
  border-radius: 8px;
  background: #536b9c;
}

.brand-mark__antenna::before {
  position: absolute;
  top: -8px;
  left: -5px;
  width: 17px;
  height: 17px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #52e0c0;
  content: "";
}

.brand-mark__eye {
  position: absolute;
  top: 26px;
  width: 11px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
}

.brand-mark__eye::after {
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 4px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.brand-mark__eye--left { left: 20px; }
.brand-mark__eye--right { right: 20px; }

.brand-mark__smile {
  position: absolute;
  bottom: 15px;
  left: 28px;
  width: 23px;
  height: 12px;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 18px 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #416da9;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.3rem);
  letter-spacing: -.055em;
  line-height: 1.08;
}

h1 span {
  color: var(--blue);
}

.welcome__copy {
  max-width: 490px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.6;
}

.welcome__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 510px;
  margin: 32px auto 0;
  padding: 15px 20px;
  border: 2px solid #ffe9b3;
  border-radius: 20px;
  background: #fff9e9;
  color: #65502b;
  font-weight: 700;
  line-height: 1.45;
}

.welcome__note p { margin: 0; }
.welcome__note-icon { color: #e99a17; font-size: 1.4rem; }

.welcome__spark {
  position: absolute;
  color: var(--pink);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.welcome > .app-content { flex: 0 1 980px; margin: 0 auto; }

.welcome__spark--one { top: 13%; left: 12%; transform: rotate(-12deg); }
.welcome__spark--two { right: 12%; bottom: 15%; color: #f4bd36; transform: rotate(14deg); }

.welcome__footer {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  color: #5f6d89;
  font-size: .9rem;
  text-align: center;
}

@media (max-width: 520px) {
  .welcome { padding: 26px 14px 54px; }
  .welcome__card { border-radius: 28px; }
  .welcome__spark--one { top: 3%; left: 7%; }
  .welcome__spark--two { right: 7%; bottom: 7%; }
  .welcome__note { align-items: flex-start; text-align: left; }
}

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