:root {
  color-scheme: light;
  --navy: #202a44;
  --red: #ce0037;
  --cloud: #e5e1e6;
  --blue: #4c00ff;
  --white: #fff;
  --page: #f7f6f8;
  --surface: #fff;
  --surface-alt: #f7f6f8;
  --text: #202a44;
  --muted: #5b6274;
  --border: #ebe8ed;
  --field-border: #c9c5cc;
  --field-bg: #fff;
  --header-bg: #fff;
  --footer-bg: #202a44;
  --footer-text: #fff;
  --focus: rgba(76, 0, 255, 0.14);
  --hero-start: #202a44;
  --hero-mid: #173b8d;
  --hero-end: #4c00ff;
}
[data-theme="dark"] {
  color-scheme: dark;
  --page: #111726;
  --surface: #202a44;
  --surface-alt: #182238;
  --text: #fff;
  --muted: #c8ceda;
  --border: #394761;
  --field-border: #526079;
  --field-bg: #182238;
  --header-bg: #182238;
  --footer-bg: #0c1220;
  --footer-text: #fff;
  --focus: rgba(229, 225, 230, 0.2);
  --hero-start: #202a44;
  --hero-mid: #172e68;
  --hero-end: #3218a8;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--page);
}
body {
  margin: 0;
  font-family: Verdana, Arial, sans-serif;
  color: var(--text);
  background: var(--page);
  transition: background-color 0.2s ease, color 0.2s ease;
}
header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 0 28px;
}
.top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top img {
  width: 190px;
  height: auto;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.business-badge {
  border: 1px solid var(--text);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 12px;
  text-decoration: none;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--field-border);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  font: 700 12px Verdana, Arial, sans-serif;
  padding: 8px 13px;
  cursor: pointer;
}
.theme-toggle:hover {
  filter: none;
  background: var(--surface-alt);
}
.theme-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.theme-symbol {
  font-size: 17px;
  line-height: 1;
}
.hero {
  margin: 48px 0 30px;
  padding: 54px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(
    120deg,
    var(--hero-start) 40%,
    var(--hero-mid) 78%,
    var(--hero-end)
  );
}
.eyebrow {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.02;
  margin: 12px 0 20px;
}
.hero h1 em {
  font-style: normal;
  color: #fff;
}
.hero p:last-child {
  max-width: 700px;
  line-height: 1.6;
}
.form section {
  background: var(--surface);
  border-radius: 18px;
  padding: 34px;
  margin: 22px 0;
  border: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.form h2 {
  margin: 0 0 26px;
  font-size: 24px;
}
.form h2 b {
  color: var(--red);
  margin-right: 12px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.four {
  grid-template-columns: repeat(4, 1fr);
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-weight: bold;
  font-size: 13px;
}
input,
select,
textarea {
  font: inherit;
  font-weight: normal;
  color: var(--text);
  padding: 14px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--field-bg);
  width: 100%;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--focus);
  border-color: var(--blue);
}
textarea {
  resize: vertical;
}
.help {
  font-size: 13px;
  line-height: 1.6;
  margin-top: -12px;
  color: var(--muted);
}
.block {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 22px;
  margin: 18px 0;
}
.block h3 {
  margin: 0 0 18px;
  font-size: 16px;
}
.block > label {
  margin-top: 18px;
}
.submit {
  display: flex;
  justify-content: flex-end;
  margin: 28px 0 60px;
}
.submit button {
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font: 700 15px Verdana, Arial, sans-serif;
  padding: 16px 24px;
  cursor: pointer;
}
.submit button:hover {
  filter: brightness(0.92);
}
.submit button span {
  padding-left: 14px;
}
.hp {
  position: absolute;
  left: -10000px;
}
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 30px 0;
  font-size: 12px;
}
footer span {
  color: var(--red);
  padding: 0 8px;
}
[data-theme="dark"] .top img {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}
@media (max-width: 800px) {
  .grid,
  .four {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 34px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .top {
    height: 90px;
  }
  .top img {
    width: 150px;
  }
  .wrap {
    padding: 0 18px;
  }
  .form section {
    padding: 24px;
  }
  .theme-label {
    display: none;
  }
  .theme-toggle {
    padding: 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body,
  header,
  .form section,
  input,
  select,
  textarea {
    transition: none;
  }
}
