/* ══════════════════════════════════════════════════════════════════════════════
   Homepage hero — Option 05: Crisp White 3D "Sample Report · Live Appraisal"
   card + dynamic .hero-fx background (dots, drifting blobs, cursor spotlight, scan).
   Every rule is scoped under section.hero so the report pages, the checker bars
   and <section class="marquee-band"> below it keep their own styles untouched.
   ══════════════════════════════════════════════════════════════════════════════ */
section.hero {
  --bg:#EEF2F9; --card:#FFFFFF; --ink:#0A1633; --ink-2:#26325B; --muted:#5C678C;
  --line:#DCE5F5; --brand:#1F5BFF; --brand-600:#1447CC; --brand-700:#0E369E;
  --cyan:#22D3EE; --violet:#7C5CFF; --emerald:#10B981;
  --navy-0:#070F2A; --navy:#0C1C44; --navy-2:#122A63;
  --sans:'Inter',-apple-system,'Segoe UI',Roboto,sans-serif;
  --display:'Sora','Inter',sans-serif;
  --mono:'JetBrains Mono',ui-monospace,Menlo,monospace;
}

/* ── animations ───────────────────────────────────────────── */
@keyframes drift1 { to { transform: translate(-95px, 75px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(120px, -65px) scale(1.16); } }
@keyframes drift3 { to { transform: translate(-110px, -45px) scale(0.9); } }
@keyframes scanline { from { transform: translateY(0); } to { transform: translateY(760px); } }
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes cardFadeSwap {
  0% { opacity: 0.25; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes tabTimer {
  from { width: 0%; }
  to { width: 100%; }
}

section.hero {
    position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: clamp(44px, 5.2vw, 72px) 0 clamp(46px, 5.2vw, 72px);
  background: linear-gradient(160deg, #07112B 0%, var(--navy) 45%, var(--navy-2) 100%);
  isolation: isolate;
}
section.hero .hero-fx {
    position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
section.hero .hero-fx .dots {
    position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 15%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 15%, transparent 90%);
}
section.hero .hero-fx .blob {
    position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.58;
  will-change: transform;
}
section.hero .hero-fx .b1 {
    width: 620px;
  height: 620px;
  right: -130px;
  top: -250px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.58), transparent 65%);
  animation: drift1 16s ease-in-out infinite alternate;
}
section.hero .hero-fx .b2 {
    width: 520px;
  height: 520px;
  left: -190px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.48), transparent 65%);
  animation: drift2 20s ease-in-out infinite alternate;
}
section.hero .hero-fx .b3 {
    width: 440px;
  height: 440px;
  left: 36%;
  top: 25%;
  background: radial-gradient(circle, rgba(31, 91, 255, 0.48), transparent 65%);
  animation: drift3 24s ease-in-out infinite alternate;
}
section.hero .hero-fx .spot {
    position: absolute;
  inset: 0;
  background: radial-gradient(460px circle at var(--mx, 72%) var(--my, 34%), rgba(127, 216, 255, 0.16), transparent 62%);
  transition: background 0.08s linear;
}
section.hero .hero-fx .scan {
    position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.72), transparent);
  animation: scanline 7s linear infinite;
  opacity: 0.55;
}
section.hero .hero-grid {
    display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: clamp(28px, 3.8vw, 52px);
  align-items: center;
}
section.hero .eyebrow {
    display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #DDE7FF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
section.hero .eyebrow b {
    color: #FFFFFF; font-weight: 700;
}
section.hero .eyebrow .live {
    display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 800 10.5px/1 var(--mono);
  letter-spacing: 0.06em;
  color: #8FE3C6;
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.34);
  padding: 4px 8px;
  border-radius: 999px;
}
section.hero .eyebrow .live i, section.hero .pulse, section.hero .band-head .dot {
    display: inline-block;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65);
  animation: pulse 2s infinite;
}
section.hero .eyebrow .sep {
    width: 1px; height: 12px; background: rgba(255, 255, 255, 0.22);
}
section.hero 70% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
}
section.hero 100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
}
section.hero h1 {
    font-size: clamp(32px, 4.3vw, 52px);
  letter-spacing: -0.034em;
  line-height: 1.07;
  margin: 20px 0 16px;
  max-width: 17.5ch;
  color: #FFFFFF;
}
section.hero .hl {
    background: linear-gradient(92deg, #7FD9FF, #22D3EE 45%, #8FB4FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
section.hero h1 em {
    font-style: normal;
  position: relative;
  white-space: nowrap;
  color: #BFF3FF;
}
section.hero h1 em::after {
    content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.03em;
  height: 0.12em;
  border-radius: 4px;
  background: linear-gradient(90deg, #22D3EE, #7C5CFF);
  transform-origin: left;
  animation: underlineGrow 1s 0.25s var(--ease) both;
}
section.hero from {
    transform: scaleX(0);
}
section.hero to {
    transform: scaleX(1);
}
section.hero .lead {
    font-size: clamp(15.5px, 1.45vw, 18px);
  color: #C6D4F5;
  max-width: 52ch;
}
section.hero .ai-badge {
    display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-size: 12.8px;
  color: #A9BDE6;
}
section.hero .ai-badge b {
    font: 800 11.5px var(--mono);
  color: #0A1633;
  background: linear-gradient(90deg, #7FD9FF, #22D3EE);
  padding: 3px 8px;
  border-radius: 6px;
}
section.hero .checker {
    margin-top: 24px; position: relative;
}
section.hero .checker::before {
    content: "";
  position: absolute;
  inset: 30px 6% -10px;
  border-radius: 30px;
  background: linear-gradient(90deg, #3D77FF, #22D3EE 45%, #7C5CFF);
  filter: blur(30px);
  opacity: 0.36;
  z-index: -1;
  transition: opacity 0.25s;
}
section.hero .checker:focus-within::before {
    opacity: 0.7;
}
section.hero .tabs {
    display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(8, 16, 38, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 11px;
  flex-wrap: wrap;
}
section.hero .tab {
    min-height: 33px;
  padding: 0 13px;
  border-radius: 999px;
  border: 0;
  background: none;
  color: #B9C8EC;
  font: 600 12.8px var(--sans);
  cursor: pointer;
  transition: 0.15s;
}
section.hero .tab:hover {
    color: #fff; background: rgba(255, 255, 255, 0.07);
}
section.hero .tab.on {
    color: #fff;
  background: linear-gradient(140deg, #2F5AD6, #123A9E);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
section.hero .spill {
    display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 22px 50px -24px rgba(4, 10, 30, 0.9), 0 0 0 1px rgba(61, 119, 255, 0.22);
  transition: box-shadow 0.2s, transform 0.15s;
}
section.hero .spill:focus-within {
    transform: translateY(-1px);
  box-shadow: 0 26px 56px -24px rgba(4, 10, 30, 0.95), 0 0 0 3px rgba(34, 211, 238, 0.55);
}
section.hero .spill svg.ico {
    color: #7C8DB8; flex: none;
}
section.hero .spill input {
    flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: none;
  font: 600 clamp(16px, 1.5vw, 19.5px)/1 var(--sans);
  color: #0A1230;
  letter-spacing: -0.01em;
}
section.hero .spill input::placeholder {
    color: #9AA8C6; font-weight: 500;
}
section.hero .spill .suffix {
    font: 800 16px var(--mono);
  color: var(--brand);
  padding: 6px 10px;
  border-radius: 10px;
  background: #EEF3FF;
}
section.hero .sbtn {
    flex: none;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font: 700 14.5px var(--sans);
  background: linear-gradient(140deg, #3D77FF, #1F5BFF 55%, #1447CC);
  box-shadow: 0 12px 26px -12px rgba(31, 91, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s, filter 0.15s;
}
section.hero .sbtn:hover {
    transform: scale(1.02); filter: saturate(115%);
}
section.hero .hint {
    display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: #9DB2E0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
section.hero .hint::-webkit-scrollbar {
    display: none;
}
section.hero .hint > span {
    flex-shrink: 0; margin-right: 2px;
}
section.hero .try {
    flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #E7EEFF;
  font: 600 11.5px/1 var(--mono);
  cursor: pointer;
  transition: all 0.16s ease;
}
section.hero .try small {
    font: 700 10.5px/1 var(--mono);
  color: #8FE3C6;
}
section.hero .try:hover, section.hero .try.on {
    background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.72);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(34, 211, 238, 0.45);
}
section.hero .trust {
    display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.3px;
  color: #A9BCE8;
}
section.hero .trust span {
    display: inline-flex; align-items: center; gap: 6px;
}
section.hero .inf-white-card {
    position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  background: #FFFFFF;
  color: #0A1633;
  border: 1.5px solid #DCE5F5;
  box-shadow:
    0 36px 76px -24px rgba(2, 6, 23, 0.85),
    0 6px 0 -1px #C7D7F7;
  transition: transform 0.25s var(--ease);
}
section.hero .inf-white-card.swap-anim .iw-anim-target {
    animation: cardFadeSwap 0.38s var(--ease);
}
section.hero 0% {
    opacity: 0.25; transform: translateY(6px);
}
section.hero 100% {
    opacity: 1; transform: translateY(0);
}
section.hero .iw-top {
    display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E4E9F2;
  min-width: 0;
}
section.hero .iw-badge {
    display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #EBF1FF;
  color: #1F5BFF;
  font: 800 9.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
section.hero .iw-switch-pills {
    display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
section.hero .iw-switch-pills button {
    position: relative;
  overflow: hidden;
  padding: 5px 8px 6px;
  border-radius: 8px;
  border: 1px solid #D5E0F2;
  background: #F4F7FC;
  color: #26325B;
  font: 700 10.5px/1 var(--mono);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
section.hero .iw-switch-pills button:hover {
    border-color: #93C5FD;
  background: #EBF2FF;
  color: #1F5BFF;
}
section.hero .iw-switch-pills button.on {
    background: #1F5BFF;
  border-color: #1F5BFF;
  color: #FFFFFF;
  box-shadow: 0 6px 14px -6px rgba(31, 91, 255, 0.65);
}
section.hero .iw-switch-pills button .tab-prog {
    position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: #22D3EE;
  pointer-events: none;
}
section.hero .iw-switch-pills button.on .tab-prog {
    animation: tabTimer var(--rot-dur, 5.5s) linear forwards;
}
section.hero .inf-white-card:hover .iw-switch-pills button.on .tab-prog {
    animation-play-state: paused;
}
section.hero from {
    width: 0%;
}
section.hero to {
    width: 100%;
}
section.hero .iw-head {
    display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  min-width: 0;
}
section.hero .iw-dom {
    font: 800 27px/1.05 var(--mono);
  color: #0A1633;
  letter-spacing: -0.03em;
}
section.hero .iw-dom i {
    font-style: normal; color: #1F5BFF;
}
section.hero .iw-score-pill {
    display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 14px;
  background: #0C1C44;
  color: #FFFFFF;
  flex-shrink: 0;
}
section.hero .iw-score-pill b {
    font: 800 22px/1 var(--display); color: #22D3EE;
}
section.hero .iw-score-pill small {
    font: 700 9.5px/1.1 var(--mono); color: #B9CBF2; text-transform: uppercase;
}
section.hero .iw-navy-band {
    width: 100%;
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(145deg, #0B193D, #132C6B);
  color: #FFFFFF;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
section.hero .iw-navy-top {
    display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
section.hero .iw-navy-top span {
    font: 700 10.2px var(--mono);
  color: #8FA6DC;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
section.hero .iw-navy-top b {
    font: 800 19px var(--mono);
  color: #5FE3A1;
}
section.hero .iw-pillars {
    display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
}
section.hero .iw-p {
    min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 10px 11px;
  border-radius: 12px;
  background: #F5F8FF;
  border: 1px solid #DCE5F5;
}
section.hero .iw-p-top {
    display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font: 700 11.2px/1.2 var(--sans);
  color: #26325B;
  margin-bottom: 6px;
  min-width: 0;
}
section.hero .iw-p-top span {
    min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
section.hero .iw-p-top b {
    flex-shrink: 0;
  font: 800 11px/1 var(--mono);
  color: #1F5BFF;
  white-space: nowrap;
}
section.hero .iw-p-bar {
    height: 5px;
  border-radius: 99px;
  background: #DCE5F5;
  overflow: hidden;
}
section.hero .iw-p-bar i {
    display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #1F5BFF, #0EA5E9);
  transition: width 0.55s var(--ease);
}
section.hero .btn-inf {
    display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2E6BFF, #1F5BFF);
  color: #FFFFFF;
  font: 700 13.5px var(--sans);
  box-shadow: 0 10px 22px -10px rgba(31, 91, 255, 0.8);
  transition: transform 0.15s ease, background 0.15s ease;
}
section.hero .btn-inf:hover {
    transform: translateY(-1px); background: #3D77FF; color: #fff;
}

@media (max-width: 1020px) {
  section.hero .hero-grid { grid-template-columns: 1fr; }
  section.hero .iw-top { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  section.hero .iw-pillars { grid-template-columns: 1fr; }
  section.hero .hint { white-space: nowrap; overflow-x: auto; }
  section.hero .hero h1 { font-size: 30px; }
}

/* ── the old hero-mobile.css targets ".hero .checker .pill .sbtn" and wins by
      specificity on the new flex row; keep the button compact at every width ── */
section.hero .checker .spill .sbtn,
section.hero .checker .pill .sbtn {
  width: auto !important;
  min-width: 96px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
section.hero .checker .spill .sbtn::after,
section.hero .checker .pill .sbtn::after { content: none !important; }
section.hero .checker .spill { display: flex !important; gap: 10px; }
section.hero .checker .spill input { flex: 1 1 auto; min-width: 0; }

/* the card footer: button and register link must sit on their own line, clear of the pillars */
section.hero .iw-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
section.hero .iw-foot .btn-inf { flex: 1 1 220px; }
section.hero .iw-foot #wBuy { flex: 0 0 auto; font: 700 12.5px var(--sans); color: #1F5BFF; text-decoration: none; }
@media (max-width: 1180px) {
  section.hero .hero-grid { grid-template-columns: 1fr !important; }
  section.hero .inf-white-card { max-width: 640px; margin: 0 auto; }
}

/* ── mobile: the old hero-mobile.css forces a 3-column grid inside .pill and a
      100%-width button; the new .spill must collapse cleanly instead ── */
@media (max-width: 1180px) {
  section.hero { overflow-x: hidden; }
  section.hero .hero-grid { grid-template-columns: minmax(0,1fr) !important; width: 100%; }
  section.hero .hero-copy, section.hero .inf-white-card { min-width: 0; max-width: 100%; }
  section.hero .inf-white-card { width: 100% !important; }
}
@media (max-width: 860px) {
  section.hero { padding: 34px 0 40px; }
  section.hero .wrap { padding-left: 16px; padding-right: 16px; }
  section.hero h1 { font-size: clamp(28px, 8.4vw, 40px) !important; line-height: 1.08; letter-spacing: -.03em; }
  section.hero .lead { font-size: 15px; }
  section.hero .eyebrow { flex-wrap: wrap; row-gap: 6px; font-size: 11.5px; }
  section.hero .checker .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  section.hero .checker .tabs::-webkit-scrollbar { display: none; }
  section.hero .checker .spill {
    display: grid !important;
    grid-template-columns: 22px minmax(0,1fr) auto !important;
    grid-template-areas: "ico input suffix" "btn btn btn" !important;
    gap: 10px !important;
    border-radius: 18px !important;
    padding: 14px !important;
    min-height: 0 !important;
  }
  section.hero .checker .spill svg.ico { grid-area: ico; }
  section.hero .checker .spill input { grid-area: input; font-size: 17px !important; }
  section.hero .checker .spill .suffix { grid-area: suffix; }
  section.hero .checker .spill .sbtn {
    grid-area: btn; width: 100% !important; min-width: 0 !important; height: 50px !important;
  }
  section.hero .hint { flex-wrap: wrap; white-space: normal; row-gap: 8px; }
  section.hero .hint .try { font-size: 11px; }
  section.hero .trust { gap: 8px 14px; font-size: 11.5px; }
  section.hero .iw-pillars { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  section.hero .iw-top { flex-direction: column; align-items: stretch; gap: 10px; }
  section.hero .iw-switch-pills { width: 100%; }
  section.hero .iw-switch-pills button { flex: 1 1 auto; }
}
@media (max-width: 540px) {
  section.hero .iw-pillars { grid-template-columns: 1fr !important; }
  section.hero .iw-foot { flex-direction: column; align-items: stretch; }
  section.hero .iw-foot .btn-inf { width: 100%; }
}

/* ── overflow fix: flex children default to min-width:auto, so the search input's
      intrinsic width pushed .spill 77px past a 551px column and dragged the third
      "try" pill under the card. Constrain the whole chain. ─ */
section.hero .hero-copy,
section.hero .checker { min-width: 0; max-width: 100%; }
section.hero .checker .spill,
section.hero .checker .pill {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}
section.hero .checker .spill input,
section.hero .checker .pill input {
  flex: 1 1 0% !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 100%;
}
section.hero .checker .spill .suffix { flex: 0 0 auto; }

/* the try row must never slide under the report card */
section.hero .hint {
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  white-space: normal;
  overflow: visible;
  row-gap: 7px;
}
section.hero .hint::-webkit-scrollbar { display: none; }
section.hero .hint .try { flex: 0 0 auto; }
section.hero .hint > span { flex: 0 0 auto; }

/* on narrower desktops the three pills can't fit on one line: let them scroll
   instead of overlapping the card, and tighten the label */
@media (max-width: 1400px) {
  section.hero .hint { gap: 5px; font-size: 11.5px; }
  section.hero .hint .try { font-size: 10.5px; padding: 4px 8px; }
  section.hero .hint .try small { font-size: 9.5px; }
}

/* the reference keeps the three pills on one line; in our 551px column they cannot
   fit, so they wrap inside the form box instead of running under the card */
section.hero .hint { flex-wrap: wrap !important; white-space: normal !important; overflow: visible !important; }
section.hero .hint > span { width: 100%; margin-bottom: 2px; }
section.hero .hint .try { flex: 0 1 auto; }
@media (min-width: 1500px) {
  section.hero .hint { flex-wrap: nowrap !important; gap: 4px; }
  section.hero .hint > span { width: auto; }
  section.hero .hint .try { padding: 4px 7px; font-size: 10px; }
  section.hero .hint .try small { font-size: 9px; }
}

/* each try pill must stay on ONE line: "paypod.si  $6,400 est" broke in two at
   mid-desktop widths when the label sat on its own row above the pills */
section.hero .hint { align-items: center; }
section.hero .hint .try {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: baseline;
  gap: 5px;
  flex: 0 0 auto;
}
section.hero .hint .try small { white-space: nowrap !important; display: inline; }
section.hero .hint > span { white-space: nowrap; width: 100%; }
@media (max-width: 1400px) {
  section.hero .hint .try { padding: 5px 8px; font-size: 10.5px; }
  section.hero .hint .try small { font-size: 9.5px; }
}

/* final rule for the try row: a 3-column grid keeps all three pills on ONE line
   inside the form box at every desktop width — no overflow, no two-line prices */
@media (min-width: 1401px) {
  section.hero .hint {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    white-space: normal !important;
    overflow: visible !important;
    max-width: 100%;
  }
  section.hero .hint > span { grid-column: 1 / -1; white-space: nowrap; }
  section.hero .hint .try {
    width: 100%; justify-content: center; padding: 6px 6px;
    font-size: 10.5px; flex: initial;
  }
  section.hero .hint .try small { font-size: 9.5px; }
}
@media (max-width: 1400px) {
  section.hero .hint { display: flex !important; flex-wrap: wrap !important; }
}

/* ── card footer on phones: .iw-foot becomes a column, so `flex:1` on .btn-inf
      stretched it into a giant blue block. Cap the height and keep it a normal button. ─ */
section.hero .iw-foot .btn-inf {
  flex: 0 0 auto;
  min-height: 44px;
  height: auto;
  align-self: stretch;
  white-space: normal;
  text-align: center;
}
@media (max-width: 540px) {
  section.hero .iw-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  section.hero .iw-foot .btn-inf {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px;
    padding: 0 14px !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
  }
  section.hero .iw-foot #wBuy { text-align: center; padding: 4px 0; }
}

/* ── phone polish on the hero search form ───────────────────────────────────── */
@media (max-width: 860px) {
  /* 1. the four mode tabs overflowed: shrink them and allow a swipe instead of a cut-off label */
  section.hero .checker .tabs {
    gap: 4px !important;
    padding: 4px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  section.hero .checker .tabs::-webkit-scrollbar { display: none; }
  section.hero .checker .tabs .tab {
    flex: 0 0 auto;
    padding: 8px 11px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  /* 2. the ".si" suffix inherited the white pill look and read as a button */
  section.hero .checker .spill .suffix {
    background: #EEF3FF !important;
    color: #1447CC !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 6px 9px !important;
    border-radius: 8px !important;
    font: 700 13px var(--mono) !important;
    align-self: center;
  }
  /* 3. the field had no visible hint: give the placeholder room and a readable colour */
  section.hero .checker .spill input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    min-height: 34px;
  }
  section.hero .checker .spill input::placeholder { color: #93A1B8 !important; opacity: 1; }
  section.hero .checker .spill { row-gap: 4px !important; }
}

/* all four mode tabs must FIT the phone width — no cut-off label, no scroll */
@media (max-width: 860px) {
  section.hero .checker .tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 3px !important;
    overflow: visible !important;
  }
  section.hero .checker .tabs .tab {
    width: 100% !important;
    box-sizing: border-box;
    padding: 8px 4px !important;
    font-size: 11px !important;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 400px) {
  section.hero .checker .tabs .tab { font-size: 10.5px !important; padding: 7px 2px !important; }
}

/* the desktop shrink fix (input{width:0}) must not leak into the mobile grid,
   where the input is its own grid cell and needs the full column width */
@media (max-width: 860px) {
  section.hero .checker .spill input {
    width: 100% !important;
    flex: initial !important;
    min-width: 0 !important;
  }
  section.hero .checker .spill { grid-template-columns: 22px minmax(0,1fr) auto !important; }
}

/* the inline ".si" chip in the superintelligence line collapsed to a tiny pill on phones */
@media (max-width: 860px) {
  section.hero .ai-badge {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
  section.hero .ai-badge b {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font: 800 13px/1 var(--mono) !important;
  }
}

/* pillar labels were 11.2px and the progress fill had no background */
section.hero .iw-p-top span { font-size: 12px !important; color: #33415C !important; }
section.hero .iw-p-top b { font-size: 11.5px !important; color: #0A1633 !important; }
section.hero .iw-p-bar { height: 6px !important; background: #E7EEFA !important; border-radius: 99px; overflow: hidden; }
section.hero .iw-p-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #1F5BFF, #22D3EE) !important;
}
@media (max-width: 860px) {
  section.hero .iw-p { padding: 10px 12px !important; }
  section.hero .iw-p-top span { font-size: 12.5px !important; }
}
