:root {
  --red: #cf1728;
  --ink: #202430;
  --muted: #555d6a;
  --line: #e4e7ed;
  --cream: #fff9f2;
}
body { background: linear-gradient(160deg, #fff8ee 15%, #fff 55%, #effafa); }
header {
  height: 76px;
  max-width: none;
  padding-inline: max(24px, calc((100% - 1144px) / 2));
  background: white;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--red), #ff8464, #ffce77) 1;
}
.mark { transform: none; border-radius: 9px; }
.nav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
.hero { min-height: 405px; background-position: center 57%; }
.hero:before {
  background:
    linear-gradient(90deg, #072d3ce6, #0b354c91 37%, transparent 74%),
    radial-gradient(ellipse at 91% 1%, #fff7d77a, transparent 52%);
}
.heroin .eyebrow { color: #ffdf9d; }
.heroin h1, .heroin p { text-shadow: 0 2px 12px #09263280; }
.heroin { padding-top: 40px; padding-bottom: 108px; }
.heroin h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.05; }
.heroin p { max-width: 470px; }
.main { margin-top: -70px; }
.search-card, .planner {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px #243f4714;
}
.search-card {
  padding: 20px;
  margin-bottom: 22px;
  background: linear-gradient(110deg, #fff, #fff8ec);
  border-top: 3px solid #ffbc6a;
  box-shadow: 0 12px 32px #31323126;
}
.search-card h2 { font: 800 19px Manrope, sans-serif; margin: 0 0 15px; }
#quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1.1fr)) repeat(2, minmax(0, .65fr)) auto;
  gap: 10px;
  align-items: end;
}
#quick-search label { display: grid; gap: 6px; min-width: 0; font-weight: 700; font-size: 12px; }
#quick-search input, #quick-search select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #b9c0cc;
  border-radius: 7px;
  font-size: 16px;
}
#quick-search .btn {
  min-height: 48px;
  padding-inline: 16px;
  white-space: nowrap;
  background: linear-gradient(120deg, #c6152a, #da3727);
  box-shadow: 0 5px 14px #ce172837;
}
#quick-search :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.choice, .tile, .result { background: white; border-radius: 10px; }
.choice:hover, .choice.selected { border-color: var(--red); background: #fff4f5; }
.tile { border: 1px solid #f3e4d8; background: #fff7ee; }
.tile:nth-child(2) { border-color: #dbeeea; background: #effaf7; }
.tile:nth-child(3) { border-color: #f1dfe4; background: #fff3f6; }
footer { background: white; }
@media (max-width: 900px) {
  #quick-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  header { height: auto; min-height: 68px; padding-inline: 14px; gap: 12px; }
  .nav { gap: 12px; font-size: 11px; }
  .nav a:first-child { display: none; }
  .hero { min-height: 325px; }
  .hero:before {
    background: linear-gradient(90deg, #072d3ce6, #0b354c85 71%, #0b354c20);
  }
  .heroin { padding: 32px 22px 82px; }
  .main { margin-top: -50px; }
  .search-card { padding: 15px; margin-bottom: 14px; }
  #quick-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #quick-search label:first-child, #quick-search .btn { grid-column: 1 / -1; }
}
