:root {
  color-scheme: light;
  --navy: #10243e;
  --blue: #075bd8;
  --blue-dark: #0647aa;
  --blue-soft: #eaf3ff;
  --ink: #173455;
  --muted: #64778c;
  --line: #dce6f0;
  --surface: #ffffff;
  --green: #13824c;
  --green-soft: #e9f8ef;
  --promo: #ffb000;
  --promo-ink: #402800;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 90% 0%, #d6e9ff 0, transparent 30rem), linear-gradient(180deg, #f8fbff, #eef4fa); }
button, input { font: inherit; }
button { cursor: pointer; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { width: min(1120px, calc(100% - 40px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0a68ed, #0642a4); font-weight: 800; letter-spacing: -.06em; box-shadow: 0 10px 24px rgba(7,91,216,.24); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.02rem; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .78rem; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #cbd9e7; border-radius: 999px; background: rgba(255,255,255,.78); padding: 8px 12px; color: #355471; font-size: .78rem; font-weight: 700; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #20a863; box-shadow: 0 0 0 4px rgba(32,168,99,.12); }
main { width: min(960px, calc(100% - 32px)); margin: auto; padding: 56px 0 80px; }
.search-view { max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 800; }
h1 { margin: 12px 0 0; color: var(--navy); font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 610px; margin: 20px auto 0; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.search-box { margin-top: 36px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 22px 60px rgba(22,59,99,.11); text-align: left; }
.search-box label { display: block; margin-bottom: 9px; color: #38556f; font-size: .82rem; font-weight: 800; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-row input { width: 100%; min-height: 54px; border: 1px solid #c7d5e3; border-radius: 13px; background: #fbfdff; padding: 0 16px; outline: none; color: var(--navy); font-size: 1rem; }
.search-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,91,216,.12); }
.search-row button, .state-card button { min-height: 54px; border: 0; border-radius: 13px; padding: 0 22px; color: #fff; background: linear-gradient(135deg, #086aee, #074cac); font-weight: 800; box-shadow: 0 8px 20px rgba(7,91,216,.2); }
.message { min-height: 24px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.results { display: grid; gap: 10px; margin-top: 12px; text-align: left; }
.result-item { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px 18px; color: inherit; text-align: left; box-shadow: 0 7px 20px rgba(23,52,85,.05); }
.result-item:hover { border-color: #8eb9ed; transform: translateY(-1px); }
.result-item strong, .result-item small { display: block; }
.result-item strong { font-size: .93rem; line-height: 1.35; }
.result-item small { margin-top: 5px; color: var(--muted); }
.result-item > span:last-child { color: var(--blue); font-size: 1.25rem; }
.product-view { max-width: 860px; margin: 0 auto; }
.back-button { margin-bottom: 18px; border: 0; background: transparent; color: #31587d; padding: 8px 0; font-weight: 700; }
.state-card { display: grid; justify-items: center; gap: 9px; min-height: 300px; align-content: center; border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 34px; text-align: center; box-shadow: 0 20px 55px rgba(23,52,85,.09); }
.state-card strong { margin-top: 8px; font-size: 1.15rem; }
.state-card small { color: var(--muted); line-height: 1.5; }
.state-card button { margin-top: 14px; }
.state-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #ffeaea; color: #b32626; font-size: 1.3rem; font-weight: 800; }
.spinner { width: 42px; height: 42px; border: 4px solid #d7e6f8; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: 0 24px 70px rgba(23,52,85,.12); }
.product-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 34px 34px 28px; }
.product-heading h1 { max-width: 650px; font-size: clamp(1.9rem, 5vw, 3.25rem); line-height: 1.04; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.product-meta span { border-radius: 999px; background: #eff4f9; padding: 7px 11px; color: #45617c; font-size: .78rem; font-weight: 700; }
.promo-badge { flex: 0 0 auto; border-radius: 999px; background: #fff3cc; color: #855300; padding: 9px 13px; font-size: .77rem; font-weight: 800; }
.promo-card { margin: 0 34px 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-radius: 18px; background: linear-gradient(135deg, #ffd45b, #ffb000); padding: 22px 24px; color: var(--promo-ink); box-shadow: 0 12px 25px rgba(255,176,0,.2); }
.promo-card span, .promo-card small { display: block; }
.promo-card span { font-weight: 800; }
.promo-card small { margin-top: 4px; opacity: .75; }
.promo-card strong { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.05em; white-space: nowrap; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.price-item { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; padding: 25px 34px; }
.price-item span { color: var(--muted); font-size: .86rem; font-weight: 700; }
.price-item strong { color: var(--navy); font-size: clamp(1.65rem, 5vw, 2.7rem); letter-spacing: -.045em; }
.price-item.featured { background: var(--blue-soft); }
.price-item.featured strong { color: var(--blue-dark); }
.price-item.regular strong { color: #425b73; }
.price-note { display: flex; align-items: center; gap: 12px; margin: 26px 34px 0; border-radius: 14px; background: var(--green-soft); padding: 15px 17px; color: #236744; }
.check-icon { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-weight: 800; }
.price-note p { margin: 0; line-height: 1.45; font-size: .86rem; }
.price-note p span { color: #4e745f; }
.terms { margin: 18px 34px 30px; color: #74879a; font-size: .76rem; line-height: 1.55; }
footer { width: min(1120px, calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(132,158,184,.28); color: #71869a; font-size: .78rem; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .site-header { width: min(100% - 28px, 1120px); min-height: 78px; }
  .live-badge { font-size: 0; padding: 9px; }
  .live-badge i { margin: 0; }
  main { width: min(100% - 24px, 960px); padding: 34px 0 54px; }
  h1 { font-size: 2.55rem; }
  .lead { font-size: .98rem; }
  .search-box { padding: 14px; border-radius: 18px; }
  .search-row { grid-template-columns: 1fr; }
  .search-row button { width: 100%; }
  .product-heading { display: grid; padding: 25px 22px 22px; }
  .promo-badge { justify-self: start; }
  .promo-card { margin: 0 14px 14px; padding: 19px; }
  .promo-card strong { font-size: 2rem; }
  .price-grid { grid-template-columns: 1fr; }
  .price-item { min-height: 122px; padding: 21px 22px; }
  .price-note { margin: 20px 18px 0; }
  .terms { margin: 16px 18px 24px; }
  footer { width: min(100% - 28px, 1120px); flex-direction: column; justify-content: center; padding: 20px 0; gap: 5px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
