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


html, body {
  min-height: 100%;
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
}

:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }


.wrapper {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px;
}

.card {
  width: 100%; max-width: 460px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 36px 36px 30px;
  box-shadow: 0 20px 60px rgba(38,50,75,0.12);
  animation: cardIn 0.4s cubic-bezier(.22,1,.36,1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 26px;
}

.brand-face {
  width: 84px; height: 52px; border-radius: 14px;
  background: linear-gradient(170deg, #1a2745 0%, #101b33 100%);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 6px 20px rgba(16,27,51,0.35), inset 0 0 16px rgba(0,0,0,0.7);
  animation: float 3.5s ease-in-out infinite;
}
.brand-face i {
  width: 14px; height: 23px; border-radius: 5px;
  background: var(--eye-glow);
  box-shadow: 0 0 12px var(--eye-glow), 0 0 30px rgba(46,230,247,0.4);
  animation: browse 6s ease-in-out infinite;
}
@keyframes float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes browse {
  0%, 42%, 100% { transform: translateX(0)   scaleY(1); }
  8%            { transform: translateX(4px) scaleY(1); }
  24%           { transform: translateX(-4px) scaleY(1); }
  50%           { transform: translateX(0)   scaleY(0.08); }
  56%           { transform: translateX(0)   scaleY(1); }
}

.brand h1 { font-size: 24px; font-weight: 900; }
.brand p  { font-size: 14px; font-weight: 700; color: var(--ink-soft); text-align: center; }

/* ── form ────────────────────────────────────────────────────────────── */
.field { margin-bottom: 14px; }

.field label {
  display: block; font-size: 13px; font-weight: 900;
  color: var(--ink-soft); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.6px;
}

.field input {
  width: 100%;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 16px;
  color: var(--ink); font-family: 'Nunito', sans-serif;
  font-size: 16px; font-weight: 700;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; outline: none;
}
.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(10,162,148,0.12);
}
.field input::placeholder { color: var(--ink-soft); font-weight: 600; }

.field .hint { font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-top: 5px; }

.submit-btn {
  width: 100%; margin-top: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, #3f7ce8 100%);
  color: #fff; border: none; border-radius: 22px;
  font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 900;
  padding: 14px; min-height: 50px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(10,162,148,0.35);
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}
.submit-btn:hover  { filter: brightness(0.93); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(10,162,148,0.45); }
.submit-btn:active { transform: scale(0.98); }

.error-msg {
  font-size: 13px; font-weight: 800;
  color: var(--coral); text-align: center;
  padding: 10px 0 2px;
  animation: shake 0.35s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

.grownup-note {
  margin-top: 14px; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--ink-soft);
}

/* What Emolyn does with the words you type — shown before you accept the terms */
.info-note {
  background: rgba(10, 162, 148, 0.07);
  border: 1.5px solid var(--line); border-radius: 18px;
  padding: 14px 16px; margin: 4px 0 14px;
}
.info-note h2 {
  font-size: 12px; font-weight: 900; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px;
}
.info-note ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.info-note li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft); line-height: 1.5;
}
.info-note li span { flex-shrink: 0; }
.info-note a { color: var(--teal); font-weight: 800; }
.info-note a:hover { color: var(--teal-strong); }

.check-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 14px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--ink-soft); line-height: 1.5;
}
.check-row input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0;
  accent-color: var(--teal); cursor: pointer;
}
.check-row a { color: var(--teal); font-weight: 800; }
.check-row a:hover { color: var(--teal-strong); }

.links {
  display: flex; justify-content: center; gap: 18px; margin-top: 18px;
}
.links a {
  font-size: 13px; font-weight: 800; color: var(--ink-soft);
  text-decoration: none; transition: color 0.2s;
}
.links a:hover { color: var(--teal); }

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