:root {
  --hx-sky: #6eb3e7;
  --hx-blue: #3b7ac3;
  --hx-accent: #0077d3;
  --hx-bar: #65b0e6;
  --hx-ink: #2a4778;
  --hx-muted: #8496b0;
  --hx-bg: #f4f7fc;
  --hx-bg-deep: #e8eef8;
  --hx-grad: linear-gradient(180deg, var(--hx-sky) 0%, var(--hx-blue) 100%);
  --font: "Manrope", "Segoe UI", sans-serif;
  --space: clamp(1.1rem, 3.5vw, 1.75rem);
  --max: 42rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--hx-ink);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(110, 179, 231, 0.38), transparent 55%),
    radial-gradient(90% 60% at 100% 18%, rgba(59, 122, 195, 0.12), transparent 50%),
    radial-gradient(70% 50% at 0% 85%, rgba(101, 176, 230, 0.18), transparent 45%),
    linear-gradient(180deg, var(--hx-bg) 0%, var(--hx-bg-deep) 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-bar {
  height: 0.55rem;
  background: var(--hx-bar);
  border-bottom: 2px solid var(--hx-accent);
}

.page {
  width: min(100% - (var(--space) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(1.6rem, 5vw, 2.5rem) 0 clamp(2.75rem, 8vw, 4rem);
}

.brand {
  display: grid;
  justify-items: center;
  animation: rise 0.65s ease-out both;
}

.brand__logo {
  width: min(14.5rem, 72vw);
  height: auto;
}

.intro {
  margin: clamp(1.35rem, 4vw, 2rem) 0 clamp(1.75rem, 5vw, 2.5rem);
  text-align: center;
  animation: rise 0.7s ease-out 0.06s both;
}

.intro__title {
  margin: 0;
  font-size: clamp(1.4rem, 4.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: var(--hx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro__copy {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--hx-muted);
  font-weight: 500;
}

.results {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.1rem, 4vw, 1.75rem);
  row-gap: clamp(1.75rem, 5.5vw, 2.5rem);
  animation: rise 0.75s ease-out 0.12s both;
}

.result {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding-bottom: 0.15rem;
  transition: transform 0.2s ease;
}

.result:hover,
.result:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.result__preview {
  width: 100%;
  aspect-ratio: 720 / 931;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border: 1px solid rgba(42, 71, 120, 0.12);
  box-shadow: 0 10px 28px rgba(42, 71, 120, 0.1);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.result:hover .result__preview,
.result:focus-visible .result__preview {
  border-color: rgba(0, 119, 211, 0.45);
  box-shadow: 0 14px 34px rgba(0, 119, 211, 0.16);
}

.result__name {
  display: block;
  text-align: center;
  padding: 0 0.35rem;
  font-size: clamp(0.8rem, 2.7vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.4;
  color: var(--hx-ink);
}

.result:hover .result__name,
.result:focus-visible .result__name {
  color: var(--hx-accent);
}

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

@media (min-width: 720px) {
  .results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 2.75rem;
  }

  .result {
    gap: 1rem;
  }

  .result__name {
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
