:root {
  --navy: #0c2749;
  --navy-deep: #081a32;
  --navy-soft: #14365f;
  --red: #aa1120;
  --red-deep: #7f0c18;
  --cream: #f4efe6;
  --gold: #c4a574;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html,
body {
  min-height: 100%;
  background: var(--navy-deep);
}

body.eval-body {
  color: #e8eef6;
}

.eval-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eval-glow {
  pointer-events: none;
  position: fixed;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.28;
  z-index: 0;
}

.eval-glow--tl {
  top: -12rem;
  left: -8rem;
  background: #14365f;
}

.eval-glow--br {
  right: -10rem;
  bottom: -14rem;
  background: rgba(170, 17, 32, 0.45);
}

.eval-shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
}

.eval-logo {
  position: fixed;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 40;
  height: 2.1rem;
  width: auto;
}

@media (min-width: 640px) {
  .eval-logo {
    top: 1.5rem;
    left: 1.5rem;
    height: 2.5rem;
  }
}

.eval-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #d5deea;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.eval-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(170, 17, 32, 0.18);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  50% { opacity: 0.45; transform: scale(0.85); }
}

.eval-enter {
  animation: fadeUp 0.7s var(--ease) both;
}

.eval-enter-delay {
  animation-delay: 0.18s;
}

.eval-enter-delay-2 {
  animation-delay: 0.36s;
}

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

.eval-rule {
  width: 3rem;
  height: 1px;
  margin: 2rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.eval-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.eval-btn:focus-visible,
.eval-choice:focus-visible,
.eval-back:focus-visible,
.eval-input:focus-visible,
.eval-call-action:focus-visible,
.eval-call-number:focus-visible,
.eval-call-close:focus-visible,
.eval-call-input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.eval-call-number:focus-visible,
.eval-call-action:focus-visible,
.eval-call-close:focus-visible,
.eval-call-input:focus-visible {
  outline-color: var(--navy);
}

.eval-btn-primary {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 18px 40px -18px rgba(170, 17, 32, 0.8);
}

.eval-btn-primary:hover {
  transform: translateY(-2px);
}

.eval-btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.eval-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.eval-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

#eval-app.is-advancing .eval-choice,
#eval-app.is-advancing [data-action="choose-region"] {
  pointer-events: none;
}

.eval-choice {
  width: 100%;
  text-align: left;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.1rem;
  color: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.eval-choice:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.eval-choice.is-selected {
  border-color: rgba(170, 17, 32, 0.8);
  background: rgba(170, 17, 32, 0.16);
}

.eval-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 26, 50, 0.55);
  color: #fff;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
}

.eval-input::placeholder {
  color: rgba(232, 238, 246, 0.38);
}

.eval-progress {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.eval-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #d24a56);
  transition: width 0.45s var(--ease);
}

.eval-call-wrap {
  position: fixed;
  z-index: 40;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.eval-call {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .eval-call-wrap {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 24.5rem;
  }
}

.eval-call img {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 999px;
  box-shadow: 0 0 0 2px #fff;
}

.eval-call-number {
  display: inline-block;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.eval-call-number:hover {
  color: var(--red);
}

.eval-call-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.eval-call-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 3.15rem;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.eval-call-action span {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #64748b;
}

.eval-call-action svg {
  width: 1rem;
  height: 1rem;
}

.eval-call-action--phone .eval-call-icon,
.eval-call-action--message .eval-call-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eval-call-action--phone .eval-call-icon {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(170, 17, 32, 0.8);
}

.eval-call-action--message .eval-call-icon {
  background: #eef2f7;
  color: var(--navy);
}

.eval-call-action:hover .eval-call-icon {
  transform: translateY(-1px);
}

.eval-call-panel {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55);
}

.eval-call-close {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 0;
  background: #eef2f7;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.eval-call-input {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: var(--navy);
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
}

.eval-call-textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.eval-call-panel .eval-error {
  color: #b91c1c;
}

.eval-online {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 3px #fff;
}

.eval-card {
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
}

.eval-score {
  background: linear-gradient(160deg, #14365f 0%, var(--navy) 55%, #081a32 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.7);
}

.eval-suggest {
  max-height: 16rem;
  overflow: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 26, 50, 0.94);
}

.eval-suggest button {
  width: 100%;
  text-align: left;
  padding: 0.8rem 1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eval-suggest button:hover,
.eval-suggest button[aria-selected="true"] {
  background: rgba(170, 17, 32, 0.18);
}

.eval-error {
  color: #fecaca;
  font-size: 0.875rem;
}

.eval-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #c5d0de;
}

.eval-check input {
  margin-top: 0.2rem;
}

.sr-only-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .eval-enter,
  .eval-dot,
  .eval-progress > span {
    animation: none !important;
    transition: none !important;
  }
}
