/*
 * Instant help.
 *
 * The page used to be a bare form behind a sign-in wall, with none of the 55
 * same-day services on it and no price anywhere. It now sells the thing and
 * prices it before asking for an account — but it claims nothing that is not
 * verifiable, because there are no completed instant jobs to claim from.
 */

.ih { background: #F8FAFC; }

.ih-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------------------------------------ hero -- */

.ih-hero {
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    padding: 44px 0 40px;
}

.ih-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 44px;
    align-items: start;
}

.ih-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.ih-chip i, .ih-chip svg { width: 14px; height: 14px; }

.ih-h1 {
    margin: 14px 0 12px;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0F172A;
}

.ih-lede {
    margin: 0 0 22px;
    max-width: 62ch;
    font-size: 16.5px;
    line-height: 1.65;
    color: #475569;
}

.ih-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.ih-from {
    font-size: 14px;
    color: #64748B;
}

.ih-from b {
    font-size: 17px;
    color: #0F172A;
    font-variant-numeric: tabular-nums;
}

.ih-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ih-facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    color: #475569;
}

.ih-facts i, .ih-facts svg { width: 14px; height: 14px; color: #94A3B8; }

/* what is actually promised */

.ih-assure {
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    background: #F8FAFC;
}

.ih-assure h2 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

.ih-assure-row {
    display: flex;
    gap: 11px;
    padding: 9px 0;
    border-top: 1px solid #E2E8F0;
}

.ih-assure-row:first-of-type { border-top: 0; }

.ih-assure-row i,
.ih-assure-row svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 2px;
    color: #2563EB;
}

.ih-assure-row div { display: flex; flex-direction: column; gap: 2px; }
.ih-assure-row b { font-size: 13.5px; font-weight: 650; color: #0F172A; }
.ih-assure-row span { font-size: 12.5px; line-height: 1.5; color: #64748B; }

/* ----------------------------------------------------------------- panels -- */

.ih-panel {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 26px;
    margin: 22px 0;
}

.ih-panel-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.015em;
    color: #0F172A;
}

.ih-panel-head p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #64748B;
}

.ih-flash {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 22px;
}

.ih-flash.ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.ih-flash.err { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

/* ------------------------------------------------------------------ form -- */

.ih-form { margin-top: 22px; }

.ih-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid #F1F5F9;
}

.ih-step:first-child { border-top: 0; padding-top: 4px; }

.ih-step-n {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0F172A;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ih-label {
    display: block;
    font-size: 15px;
    font-weight: 650;
    color: #0F172A;
    margin-bottom: 10px;
}

.ih-input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-size: 14.5px;
    font-family: inherit;
    color: #0F172A;
    background: #fff;
}

.ih-input:focus {
    outline: 2px solid #2563EB;
    outline-offset: -1px;
    border-color: #2563EB;
}

.ih-hint { margin: 7px 0 0; font-size: 12.5px; color: #94A3B8; }
.ih-center { text-align: center; }
.ih-err { margin: 7px 0 0; font-size: 13px; color: #B91C1C; }

/* the service picker — this is what the page was missing entirely */

.ih-services {
    margin-top: 12px;
    max-height: 340px;
    overflow-y: auto;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 6px 10px 10px;
}

.ih-group-name {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 9px 2px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94A3B8;
    z-index: 1;
}

.ih-opts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 7px;
}

.ih-opt { cursor: pointer; }
.ih-opt input { position: absolute; opacity: 0; pointer-events: none; }

.ih-opt-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    transition: border-color .12s ease, background .12s ease;
}

.ih-opt:hover .ih-opt-body { border-color: #CBD5E1; background: #F8FAFC; }

.ih-opt input:checked + .ih-opt-body {
    border-color: #2563EB;
    background: #EFF6FF;
    box-shadow: inset 0 0 0 1px #2563EB;
}

.ih-opt input:focus-visible + .ih-opt-body {
    outline: 2px solid #0F172A;
    outline-offset: 2px;
}

.ih-opt-name {
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.ih-opt-price {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ih-noresult { margin: 14px 4px; font-size: 13.5px; color: #64748B; }

/* address */

.ih-addrs { display: grid; gap: 7px; margin-bottom: 12px; }

.ih-addr { cursor: pointer; }
.ih-addr input { position: absolute; opacity: 0; pointer-events: none; }

.ih-addr span {
    display: block;
    padding: 10px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

.ih-addr b { display: block; font-size: 13.5px; color: #0F172A; }

.ih-addr input:checked + span {
    border-color: #2563EB;
    background: #EFF6FF;
    box-shadow: inset 0 0 0 1px #2563EB;
}

.ih-addr-new { display: grid; gap: 9px; }

.ih-addr-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 9px;
}

/* send */

.ih-send {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.ih-total { display: flex; flex-direction: column; line-height: 1.2; }
.ih-total-k { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #94A3B8; font-weight: 650; }
.ih-total-v { font-size: 27px; font-weight: 800; color: #0F172A; font-variant-numeric: tabular-nums; }
.ih-total-s { font-size: 12.5px; color: #64748B; }

.ih-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    transition: filter .12s ease;
}

.ih-btn i, .ih-btn svg { width: 16px; height: 16px; }
.ih-btn-primary { background: #0F172A; color: #fff; }
.ih-btn-primary:hover { filter: brightness(1.35); }
.ih-btn-lg { padding: 14px 26px; font-size: 15.5px; margin-left: auto; }

.ih-btn-ghost {
    background: #fff;
    color: #0F172A;
    border: 1px solid #CBD5E1;
}

.ih-btn-ghost:hover { border-color: #94A3B8; }
.ih-btn:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }

/* --------------------------------------------------------------- sections -- */

.ih-empty {
    text-align: center;
    padding: 34px 20px;
    color: #64748B;
}

.ih-empty i, .ih-empty svg { width: 38px; height: 38px; color: #CBD5E1; }
.ih-empty p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; }

.ih-recent { margin-top: 16px; display: grid; gap: 8px; }

.ih-recent-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}

.ih-recent-row:hover { border-color: #CBD5E1; background: #F8FAFC; }
.ih-recent-name { flex: 1; font-size: 14px; font-weight: 600; }
.ih-recent-status { font-size: 12px; color: #475569; text-transform: capitalize; }
.ih-recent-when { font-size: 12px; color: #94A3B8; }

.ih-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.ih-steps li { display: flex; flex-direction: column; gap: 5px; }

.ih-steps-n {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.ih-steps b { font-size: 14.5px; font-weight: 700; color: #0F172A; }
.ih-steps span:last-child { font-size: 13.5px; line-height: 1.6; color: #64748B; }

.ih-faq { margin-top: 8px; }

.ih-faq-item { border-bottom: 1px solid #F1F5F9; }

.ih-faq-item summary {
    cursor: pointer;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 650;
    color: #0F172A;
    list-style: none;
}

.ih-faq-item summary::-webkit-details-marker { display: none; }

.ih-faq-item summary::after {
    content: '+';
    float: right;
    font-size: 19px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1;
}

.ih-faq-item[open] summary::after { content: '−'; }

.ih-faq-item p {
    margin: 0 0 16px;
    max-width: 74ch;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.ih-tail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 22px 0 48px;
    padding: 26px;
    border-radius: 16px;
    background: #0F172A;
}

.ih-tail h2 { margin: 0 0 4px; font-size: 19px; font-weight: 750; color: #fff; }
.ih-tail p { margin: 0; font-size: 14px; color: #94A3B8; }

/* ------------------------------------------------------------------ small -- */

@media (max-width: 900px) {
    .ih-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .ih-wrap { padding: 0 16px; }
    .ih-panel { padding: 20px 16px; border-radius: 14px; }
    .ih-step { grid-template-columns: 1fr; gap: 10px; }
    .ih-step-n { display: none; }
    .ih-addr-row { grid-template-columns: 1fr; }
    .ih-btn-lg { margin-left: 0; width: 100%; justify-content: center; }
    .ih-send { flex-direction: column; align-items: stretch; gap: 14px; }
    .ih-opts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .ih-btn, .ih-opt-body { transition: none; }
}

/* Several jobs can share one visit, so the picker is a checkbox group. Past the
   cap the unchosen ones grey out rather than silently doing nothing. */
.ih-opt.is-blocked { cursor: not-allowed; }
.ih-opt.is-blocked .ih-opt-body { opacity: .45; }
.ih-opt.is-blocked:hover .ih-opt-body { border-color: #E2E8F0; background: #fff; }

/* Every job in one visit, on the tracking page. */
.ih-jobs { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }

.ih-jobs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    font-size: 13.5px;
}

.ih-jobs b { flex: 1; font-weight: 600; color: #0F172A; }
.ih-jobs span { font-variant-numeric: tabular-nums; color: #475569; }

/* "Get help now" jumps here, and the sticky header would otherwise sit on top
   of the heading it just scrolled to. */
#request { scroll-margin-top: 88px; }

/* ---------------------------------------------------------- hourly plans -- */

.hr-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.hr-plan { cursor: pointer; }
.hr-plan input { position: absolute; opacity: 0; pointer-events: none; }

.hr-plan-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    padding: 14px 15px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    transition: border-color .12s ease, background .12s ease;
}

.hr-plan:hover .hr-plan-body { border-color: #CBD5E1; background: #F8FAFC; }

.hr-plan input:checked + .hr-plan-body {
    border-color: #2563EB;
    background: #EFF6FF;
    box-shadow: inset 0 0 0 1px #2563EB;
}

.hr-plan input:focus-visible + .hr-plan-body { outline: 2px solid #0F172A; outline-offset: 2px; }

.hr-plan-time { font-size: 13px; font-weight: 650; color: #475569; }
.hr-plan-price { font-size: 22px; font-weight: 800; color: #0F172A; font-variant-numeric: tabular-nums; }
.hr-plan-rate { font-size: 11.5px; color: #94A3B8; font-variant-numeric: tabular-nums; }
.hr-plan-blurb { margin-top: 6px; font-size: 12px; line-height: 1.5; color: #64748B; }

.hr-group { margin-bottom: 14px; }

.hr-group-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 7px;
}

.hr-tasks { display: flex; flex-wrap: wrap; gap: 7px; }

.hr-task { cursor: pointer; }
.hr-task input { position: absolute; opacity: 0; pointer-events: none; }

.hr-task span {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    color: #475569;
    transition: border-color .12s ease, background .12s ease, color .12s ease;
}

.hr-task:hover span { border-color: #CBD5E1; }

.hr-task input:checked + span {
    border-color: #0F172A;
    background: #0F172A;
    color: #fff;
    font-weight: 600;
}

.hr-task input:focus-visible + span { outline: 2px solid #2563EB; outline-offset: 2px; }
