:root {
  color-scheme: light;
  --page-bg: #eef1f5;
  --page-bg-accent: #f7f8fb;
  --card-bg: #ffffff;
  --text-main: #1c2430;
  --text-muted: #6d7686;
  --text-soft: #8a94a4;
  --border-subtle: #e6e9ef;
  --accent: #131b2a;
  --accent-strong: #0d1421;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, var(--page-bg-accent), var(--page-bg));
}

.page {
  padding: 56px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.page__header img {
  width: min(420px, 90vw);
  height: auto;
}

.card {
  width: min(1120px, 100%);
  background: var(--card-bg);
  border-radius: 24px;
  padding: 40px 48px;
  box-shadow: var(--shadow);
}

.card__intro h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card__intro p {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
}

.divider {
  height: 1px;
  width: 100%;
  background: var(--border-subtle);
  margin: 28px 0;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-form__row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.floating-field {
  position: relative;
  flex: 1 1 320px;
  max-width: 360px;
}

.floating-field__input {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 28px 14px 12px;
  font-size: 1rem;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-main);
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.floating-field__input:focus {
  outline: none;
  border-color: rgba(17, 24, 39, 0.55);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.28);
  transform: translateY(-1px);
}

.floating-field__label {
  position: absolute;
  left: 14px;
  top: 10px;
  font-weight: 900;
  font-size: 0.98rem;
  color: rgba(15, 23, 42, 0.8);
  line-height: 1;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.14s ease, opacity 0.14s ease, color 0.14s ease;
  background: transparent;
  padding: 0;
  pointer-events: none;
}

.floating-field__input:placeholder-shown + .floating-field__label {
  transform: translateY(11px) scale(1);
  opacity: 0.65;
  color: rgba(100, 116, 139, 0.95);
}

.floating-field__input:focus + .floating-field__label,
.floating-field__input:not(:placeholder-shown) + .floating-field__label {
  transform: translateY(0px) scale(0.92);
  opacity: 0.95;
  color: rgba(15, 23, 42, 0.88);
}

.search-form__button {
  border: none;
  background: var(--accent-strong);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 140px;
}

.search-form__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.2);
}

.search-form__button:disabled {
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.search-form__hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.card__note {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .card {
    padding: 32px 28px;
  }

  .page__header img {
    width: min(320px, 80vw);
  }

  .search-form__row {
    align-items: stretch;
  }

  .search-form__button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 40px 18px 64px;
    gap: 24px;
  }

  .card {
    border-radius: 20px;
    padding: 28px 20px;
  }

  .page__header img {
    width: min(260px, 86vw);
  }

  .card__intro h1 {
    font-size: 24px;
  }

  .card__intro p {
    font-size: 15px;
  }

  .search-form__row {
    gap: 12px;
  }

  .floating-field__input {
    padding: 26px 14px 12px;
    border-radius: 18px;
  }

  .floating-field__label {
    font-size: 16px;
  }

  .search-form__button {
    padding: 12px 20px;
    border-radius: 14px;
  }

  .search-form__hint {
    font-size: 12.5px;
  }

  .card__note {
    font-size: 13.5px;
  }

}
