/* Homepage layouts: keep the content readable from narrow phones through wide desktop. */
.homepage { overflow-wrap: break-word; }
.homepage :where(input, textarea, select) { min-width: 0; max-width: 100%; font-size: 16px; }
.homepage :where(button, summary, .btn-primary, .btn-secondary) { min-height: 44px; }
.homepage :where(a, button, input, textarea, summary):focus-visible {
    outline: 3px solid #be123c;
    outline-offset: 4px;
}
.homepage .badge { max-width: 100%; white-space: normal; }
.homepage .radar-scope { max-width: 100%; }
/* Soft decorative light without large offscreen filter layers (WebKit artifacts). */
.home-ambient { background: radial-gradient(closest-side, rgba(244, 63, 94, .10), transparent); pointer-events: none; }
.home-ambient-green { background: radial-gradient(closest-side, rgba(16, 185, 129, .08), transparent); }
.home-activity { display: none; }
.home-activity > div > div { padding-block: 8px; gap: 20px; }
.home-activity .ticker-scroll { animation: none; }
.home-activity .ticker-mask { mask-image: none; -webkit-mask-image: none; }
.home-activity .text-2xl { font-size: 18px; }
.home-activity .w-10 { width: 30px; height: 30px; }

.home-hero {
    position: relative;
    isolation: isolate;
    background: #fcfaf9;
    border-bottom: 1px solid #eee7e5;
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 90% 25%, #fce5e8 0, transparent 55%);
}
.home-hero-inner { padding-top: 64px; }
.home-hero-grid { display: grid; gap: 48px; align-items: center; }
.home-hero-grid > * { min-width: 0; }
.home-hero-copy { max-width: 600px; }
.home-eyebrow {
    display: flex; align-items: center; gap: 9px;
    color: #9f1239; font-size: 11px; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; line-height: 1.6;
}
.home-eyebrow > span { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #e11d48; }
.home-hero-heading {
    margin-top: 22px; color: #17202e;
    font-size: clamp(42px, 5.15vw, 72px); font-weight: 800;
    letter-spacing: -.055em; line-height: 1.045;
}
.home-hero-heading, .homepage .section-heading {
    overflow-wrap: normal;
    word-break: normal;
}
.home-hero-heading > span { display: block; color: #be123c; }
.home-hero-description { max-width: 490px; margin-top: 24px; font-size: 18px; line-height: 1.75; color: #566071; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-hero-actions > a { gap: 12px; font-size: 14px; padding: 16px 20px; text-align: center; }
.home-hero-actions .btn-primary { background: #be123c; box-shadow: 0 5px 12px #9f123924; }
.home-hero-actions .btn-primary:hover { background: #9f1239; }
.home-hero-reassurance { margin-top: 16px; max-width: 430px; font-size: 12px; line-height: 1.7; color: #637083; }
.home-hero-benefits { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; color: #4b5563; font-size: 12px; }
.home-hero-benefits li { display: flex; align-items: center; gap: 6px; }
.home-hero-benefits span { color: #047857; font-weight: 700; }
.home-share-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-size: 12px; color: #637083; }
.home-share-link:hover { color: #be123c; text-decoration: underline; text-underline-offset: 4px; }
.home-hero-coverage { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 52px; border-top: 1px solid #e9dfe0; padding-block: 24px; }
.home-hero-coverage p { color: #495465; font-size: 12px; font-weight: 600; }
.home-hero-coverage ul { display: flex; flex-wrap: wrap; gap: 12px 28px; color: #6b7280; font-size: 12px; }

.home-radar { position: relative; width: 100%; max-width: 620px; margin-inline: auto; }
.home-radar-card { border: 1px solid #e1dadd; border-radius: 20px; overflow: hidden; background: white; box-shadow: 0 24px 64px -32px #57313955, 0 2px 8px #57313906; }
.home-radar-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; background: #17202e; }
.home-radar-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home-radar-brand p { font-size: 18px; font-weight: 700; letter-spacing: -.035em; color: #fff; }
.home-radar-brand div > span { font-size: 11px; color: #c0c7d1; }
.home-radar-icon { display: flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; background: #ffffff0d; border: 1px solid #ffffff1a; border-radius: 11px; color: #fda4af; }
.home-radar-icon svg { width: 30px; height: 30px; }
.home-live-label { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #a7f3d0; font-size: 11px; }
.home-live-label > span { width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.home-radar-form { padding: 24px; border-bottom: 1px solid #f0ecee; }
.home-radar-label { display: block; color: #17202e; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.home-radar-hint { margin-top: 5px; margin-bottom: 14px; font-size: 12px; line-height: 1.6; color: #637083; }
.home-radar-input { display: block; width: 100%; min-height: 104px; resize: vertical; font-size: 16px; line-height: 1.6; border-color: #d7dce2; background: #fcfcfd; }
.home-radar-input::placeholder { color: #788393; }
.home-radar-submit { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.home-radar-submit > p { color: #4b5563; font-size: 11px; line-height: 1.65; }
.home-radar-submit > p > span { color: #637083; }
.home-radar-submit button { flex: none; font-size: 13px; padding: 12px 18px; box-shadow: 0 3px 8px #e11d481a; }
.home-radar-list-label { padding: 14px 24px 8px; color: #637083; font-size: 10px; letter-spacing: .08em; font-weight: 600; text-transform: uppercase; }
.home-radar-bid-title { line-height: 1.5; overflow-wrap: anywhere; }
.home-radar-bid-meta { flex-wrap: wrap; gap: 4px 8px; }
.home-radar-bid-meta > * { max-width: 100%; }
.home-radar-bid { padding: 12px 24px; }
.home-radar-bid > span { color: #637083; }
.home-radar-bid-meta .text-gray-400 { color: #637083; }
.home-report-form { display: flex; align-items: center; gap: 10px; }
.home-report-form button { flex: none; padding: 12px; font-size: 12px; }
.home-radar-footer { flex-wrap: wrap; gap: 4px 14px; padding: 8px 24px; }
.home-radar-footer > span { color: #637083; line-height: 1.6; }
.home-radar-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 1024px) {
    .home-hero-inner { padding-top: 72px; }
    .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
@media (min-width: 640px) {
    .home-activity { display: block; }
}
@media (min-width: 1280px) {
    .home-hero-grid { gap: 72px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
    .home-hero-copy { margin-inline: auto; text-align: center; }
    .home-eyebrow, .home-hero-actions, .home-hero-benefits { justify-content: center; }
    .home-hero-heading { font-size: 64px; }
    .home-hero-description, .home-hero-reassurance { margin-inline: auto; }
}
@media (max-width: 639px) {
    .home-hero-inner { padding-top: 36px; }
    .home-hero-grid { gap: 28px; }
    .home-hero-heading { margin-top: 16px; font-size: clamp(36px, 10.5vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
    .home-hero-heading br { display: none; }
    .home-hero-heading > span { margin-top: 3px; }
    .home-hero-description { margin-top: 18px; font-size: 16px; line-height: 1.7; }
    .home-hero-actions { flex-direction: column; gap: 10px; margin-top: 22px; }
    .home-hero-actions > a { width: 100%; min-height: 50px; padding-block: 13px; }
    .home-hero-benefits { margin-top: 18px; gap: 8px 14px; }
    .home-hero-reassurance { font-size: 11px; }
    .home-share-link { margin-top: 6px; }
    .home-radar-card { border-radius: 16px; }
    .home-radar-header { padding: 16px; gap: 8px; }
    .home-radar-brand { gap: 9px; }
    .home-radar-brand div > span { font-size: 10px; }
    .home-live-label { font-size: 10px; }
    .home-radar-form { padding: 20px 16px; }
    .home-radar-submit { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
    .home-radar-submit > p { text-align: center; }
    .home-radar-submit > p br { display: none; }
    .home-radar-submit > p span::before { content: ' '; }
    .home-radar-bid, .home-radar-list-label { padding-inline: 16px; }
    .home-radar-bid { align-items: flex-start; gap: 10px; }
    .home-radar-bid > span { font-size: 11px; padding-top: 3px; }
    .home-radar-bid-title { font-size: 13px; }
    .home-radar-match { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 16px; align-items: start; }
    .home-radar-match > div { grid-column: 1 / -1; grid-row: 2; }
    .home-radar-match > span { justify-self: start; }
    .home-radar-match > span:last-child { justify-self: end; }
    .home-report-form { flex-direction: column; align-items: stretch; }
    .home-radar-footer { padding-inline: 16px; }
    .home-hero-coverage { margin-top: 28px; padding-block: 20px; gap: 12px; }
    .home-hero-coverage ul { gap: 8px 18px; font-size: 11px; }
    .home-activity > div > div { gap: 12px; }
    .home-activity .ticker-scroll .text-base { font-size: 12px; }
    .home-activity .lg\:hidden > .w-px,
    .home-activity .lg\:hidden > div:last-child { display: none; }
    .homepage .section-heading { font-size: 30px; line-height: 1.2; }
    .homepage .section-subheading { font-size: 16px; line-height: 1.7; }
    .home-category-grid { grid-template-columns: minmax(0, 1fr); }
    .home-category-grid p { white-space: normal; }
    .home-kanban { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .home-kanban > div > div:first-child { margin-bottom: 8px; }
    .home-kanban p { font-size: 12px; }
    .home-market-grid > div { min-width: 0; padding-inline: 16px; }
    .home-market-grid .text-4xl { font-size: 32px; }
    .home-market-grid .text-xl { font-size: 18px; }
    .home-market-grid .tracking-widest { letter-spacing: .05em; }
    .home-market-grid svg { flex: none; }
    .homepage section:not(.home-hero):not(.home-activity) { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 359px) {
    .home-hero-heading { font-size: 34px; }
    .home-eyebrow { font-size: 10px; letter-spacing: .065em; }
    .home-radar-header { padding: 14px; }
    .home-radar-icon { width: 36px; height: 36px; }
    .home-radar-brand div > span { display: none; }
    .home-live-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .homepage *, .homepage *::before, .homepage *::after { animation: none !important; transition: none !important; }
    .homepage .reveal { opacity: 1; transform: none; }
}
