/* /web/support/ and /web/contact/: one component set on the book-demo tokens.
   Support: guide search first, then topics, common fixes and a person.
   Contact: the inbox as the hero object, routes by topic, then the company behind Spock. */

.hc {
    --hc-ink: #1d1d1f; --hc-body: #424245; --hc-muted: #6e6e73; --hc-faint: #a1a1a6;
    --hc-hair: rgba(29, 29, 31, 0.1); --hc-fill: #f5f5f7;
    --hc-blue: #0f69ff; --hc-blue-deep: #0b5be0; --hc-green: #16a34a;
    --hc-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hc-card-shadow: 0 0 0 1px rgba(29, 29, 31, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.18);
    position: relative; overflow-x: clip;
    margin-top: calc(-1 * var(--nav-h, 64px)); padding: calc(var(--nav-h, 64px) + 72px) 0 120px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Lato, sans-serif;
    color: var(--hc-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    background:
        radial-gradient(55% 32% at 12% 0%, rgba(15, 105, 255, 0.13) 0%, rgba(15, 105, 255, 0) 70%),
        radial-gradient(45% 28% at 92% 6%, rgba(164, 87, 255, 0.11) 0%, rgba(164, 87, 255, 0) 70%),
        radial-gradient(60% 30% at 50% 100%, rgba(61, 214, 201, 0.1) 0%, rgba(61, 214, 201, 0) 70%),
        #fbfbfd;
}
.hc * { box-sizing: border-box; }
.hc h1, .hc h2, .hc h3, .hc p, .hc ul, .hc ol, .hc figure { margin: 0; }
.hc ul, .hc ol { padding: 0; list-style: none; }
.hc a { color: inherit; text-decoration: none; }
.hc a:focus-visible, .hc button:focus-visible, .hc summary:focus-visible { outline: 2px solid var(--hc-blue); outline-offset: 3px; border-radius: 8px; }
.hc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hc-section { margin-top: 120px; }

/* Type */
.hc-eyebrow { margin-bottom: 16px !important; font-size: 17px; font-weight: 600; color: var(--hc-blue); }
.hc-h1 { font-size: 64px; line-height: 1.03; letter-spacing: -0.032em; font-weight: 700; color: var(--hc-ink); text-wrap: balance; }
.hc-lead { margin-top: 24px !important; max-width: 580px; font-size: 21px; line-height: 1.45; letter-spacing: -0.008em; color: var(--hc-body); text-wrap: pretty; }
.hc-lead a { color: var(--hc-blue); }
.hc-lead a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hc-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.hc-h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.026em; font-weight: 700; color: var(--hc-ink); text-wrap: balance; }
.hc-sub { margin-top: 10px !important; max-width: 560px; font-size: 17px; line-height: 1.5; color: var(--hc-muted); text-wrap: pretty; }
.hc-head-link { flex: none; font-size: 15px; font-weight: 500; color: var(--hc-blue) !important; white-space: nowrap; }
.hc-head-link:hover { text-decoration: underline !important; text-underline-offset: 3px; }

/* Icon tiles */
.hc-icon {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: #ffffff; box-shadow: 0 0 0 1px var(--hc-hair), 0 2px 6px -2px rgba(15, 23, 42, 0.12);
}
.hc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--hc-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.hc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border: 0; border-radius: 980px;
    font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--hc-ease);
}
.hc-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--hc-ease); }
.hc-btn:active { transform: scale(0.97); }
.hc-btn--ink { color: #ffffff !important; background: var(--hc-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.hc-btn--ink:hover { background: var(--hc-blue); box-shadow: 0 6px 16px -6px rgba(15, 105, 255, 0.6); }
.hc-btn--ink:hover svg { transform: translateX(3px); }
.hc-btn--soft { color: var(--hc-ink) !important; background: rgba(29, 29, 31, 0.06); }
.hc-btn--soft:hover { background: rgba(29, 29, 31, 0.1); }
.hc-btn--white { color: var(--hc-ink) !important; background: #ffffff; }
.hc-btn--white:hover { background: #eaf1ff; }
.hc-btn--ghost { color: #ffffff !important; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.hc-btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* Entrance */
.hc-in { animation: hc-rise 0.8s var(--hc-ease) both; animation-delay: calc(var(--d, 0) * 70ms + 60ms); }
@keyframes hc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }


/* ─── Support ─────────────────────────────────────────────── */

.hc-hero--center { text-align: center; }
.hc-hero--center .hc-lead { margin-left: auto; margin-right: auto; }

.hc-search { position: relative; z-index: 30; max-width: 680px; margin: 40px auto 0; text-align: left; }
.hc-search-box {
    position: relative; display: flex; align-items: center;
    height: 64px; padding: 0 20px 0 56px; border-radius: 20px; background: #ffffff;
    box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 48px -24px rgba(15, 23, 42, 0.28);
    transition: box-shadow 0.3s ease;
}
.hc-search-box:focus-within { box-shadow: 0 0 0 2px var(--hc-blue), 0 0 0 6px rgba(15, 105, 255, 0.14), 0 24px 48px -24px rgba(15, 23, 42, 0.28); }
.hc-search-box > svg { position: absolute; left: 20px; width: 22px; height: 22px; fill: none; stroke: var(--hc-muted); stroke-width: 1.9; stroke-linecap: round; }
.hc-search-box input {
    flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent;
    font: inherit; font-size: 19px; letter-spacing: -0.01em; color: var(--hc-ink);
    -webkit-appearance: none; appearance: none;
}
.hc-search-box input::placeholder { color: var(--hc-faint); }
.hc-search-box input:focus { outline: none; }
.hc-search-box input::-webkit-search-cancel-button { display: none; }
.hc-kbd {
    flex: none; padding: 3px 8px; border-radius: 7px; background: var(--hc-fill);
    font-size: 12px; font-weight: 600; color: var(--hc-muted);
}
.hc-search-box:focus-within .hc-kbd { visibility: hidden; }

.hc-results {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 20;
    max-height: min(440px, 60vh); overflow-y: auto; padding: 8px;
    border-radius: 20px; background: #ffffff;
    box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.08), 0 32px 64px -24px rgba(15, 23, 42, 0.35);
    animation: hc-drop 0.28s var(--hc-ease) both;
}
.hc-results[hidden] { display: none; }
@keyframes hc-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hc-result a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 12px 14px; border-radius: 12px; }
.hc-result a:hover, .hc-result a:focus-visible, .hc-result a.is-active { background: #eef4ff; outline: none; }
.hc-result-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--hc-ink); }
.hc-result-title mark { padding: 0; color: var(--hc-blue); background: none; }
.hc-result-topic { grid-row: span 2; font-size: 12px; font-weight: 500; color: var(--hc-muted); white-space: nowrap; }
.hc-result-summary { font-size: 14px; line-height: 1.45; color: var(--hc-muted); }
.hc-empty { padding: 18px 14px 14px; }
.hc-empty p { font-size: 15px; line-height: 1.5; color: var(--hc-body); }
.hc-empty p strong { color: var(--hc-ink); }
.hc-empty-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hc-empty .hc-btn { height: 38px; padding: 0 16px; font-size: 14px; }

.hc-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 20px !important; }
.hc-popular-label { margin-right: 4px; font-size: 14px; color: var(--hc-muted); }
.hc-chip {
    padding: 7px 14px; border: 0; border-radius: 980px; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 500; color: var(--hc-body);
    background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--hc-hair);
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.hc-chip:hover { color: var(--hc-ink); background: #ffffff; box-shadow: inset 0 0 0 1px rgba(29, 29, 31, 0.2); }

/* Topic cards */
.hc-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.hc-topic { padding: 28px 28px 24px; border-radius: 24px; background: #ffffff; box-shadow: var(--hc-card-shadow); }
.hc-topic-head { display: flex; align-items: center; gap: 14px; }
.hc-topic-name { font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; color: var(--hc-ink); }
.hc-topic-count { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--hc-muted); }
.hc-topic-blurb { margin: 16px 0 12px !important; font-size: 15px; line-height: 1.5; color: var(--hc-muted); }
.hc-links li { border-top: 1px solid var(--hc-hair); }
.hc-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 0; font-size: 15px; line-height: 1.35; color: var(--hc-body);
    transition: color 0.2s ease;
}
.hc-links a::after {
    content: "→"; flex: none; font-size: 14px; color: var(--hc-faint);
    transform: translateX(-4px); opacity: 0; transition: transform 0.3s var(--hc-ease), opacity 0.2s ease, color 0.2s ease;
}
.hc-links a:hover { color: var(--hc-ink); }
.hc-links a:hover::after, .hc-links a:focus-visible::after { transform: none; opacity: 1; color: var(--hc-blue); }
.hc-more summary {
    display: flex; align-items: center; gap: 6px; padding: 12px 0 0; border-top: 1px solid var(--hc-hair);
    list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--hc-blue);
}
.hc-more summary::-webkit-details-marker { display: none; }
.hc-more summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--hc-ease); }
.hc-more[open] summary { display: none; }
.hc-more[open] .hc-links { animation: hc-rise 0.45s var(--hc-ease) both; }

/* Common fixes */
.hc-fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hc-fix { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--hc-hair); }
.hc-fix-q { display: flex; align-items: baseline; gap: 10px; font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; color: var(--hc-ink); }
.hc-fix-q::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--hc-blue); transform: translateY(-2px); }
.hc-fix-a { margin-top: 10px !important; font-size: 15px; line-height: 1.55; color: var(--hc-body); text-wrap: pretty; }
.hc-fix-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto !important; padding-top: 18px; }
.hc-fix-links a {
    padding: 6px 12px; border-radius: 980px; font-size: 13.5px; font-weight: 500; color: var(--hc-blue);
    background: rgba(15, 105, 255, 0.08); transition: background-color 0.2s ease;
}
.hc-fix-links a:hover { background: rgba(15, 105, 255, 0.15); }

/* "Still stuck" panel: the one dark surface on the page */
.hc-person {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center;
    padding: 56px; border-radius: 32px; color: #f5f5f7;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(15, 105, 255, 0.45) 0%, rgba(15, 105, 255, 0) 60%),
        radial-gradient(50% 80% at 0% 100%, rgba(164, 87, 255, 0.28) 0%, rgba(164, 87, 255, 0) 60%),
        #111114;
}
.hc-person .hc-h2 { color: #ffffff; }
.hc-person .hc-sub { color: rgba(245, 245, 247, 0.72); }
.hc-person-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px !important; }
.hc-person-card { padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.hc-person-card-title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(245, 245, 247, 0.6); }
.hc-checklist { margin-top: 14px !important; counter-reset: hc; }
.hc-checklist li { position: relative; padding: 12px 0 12px 40px; font-size: 16px; line-height: 1.45; color: #f5f5f7; }
.hc-checklist li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.hc-checklist li::before {
    counter-increment: hc; content: counter(hc);
    position: absolute; left: 0; top: 11px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    font-size: 13px; font-weight: 700; color: #ffffff; background: rgba(15, 105, 255, 0.55);
}
.hc-person-fine { margin-top: 16px !important; font-size: 14px; line-height: 1.5; color: rgba(245, 245, 247, 0.6); }
.hc-person-fine a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }

.hc-closing { margin-top: 56px !important; font-size: 17px; line-height: 1.5; color: var(--hc-muted); text-align: center; }
.hc-closing a { color: var(--hc-blue); }
.hc-closing a:hover { text-decoration: underline; text-underline-offset: 3px; }


/* ─── Contact ─────────────────────────────────────────────── */

.hc-contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 72px; align-items: start; }
.hc-contact-intro { padding-top: 24px; }

/* "Prefer email?" row under the pitch */
.hc-direct { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hc-hair); max-width: 580px; }
.hc-direct-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--hc-muted); }
.hc-direct-label svg { width: 18px; height: 18px; fill: none; stroke: var(--hc-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-direct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 10px; }
.hc-direct-address { font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; color: var(--hc-ink) !important; white-space: nowrap; transition: color 0.2s ease; }
.hc-direct-address:hover { color: var(--hc-blue) !important; }
.hc-copy { position: relative; min-width: 104px; height: 38px; padding: 0 16px; font-size: 14px; }
.hc-copy .hc-copy-done { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.35s var(--hc-ease); }
.hc-copy .hc-copy-idle { display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.2s ease, transform 0.35s var(--hc-ease); }
.hc-copy.is-copied { color: var(--hc-green) !important; background: rgba(22, 163, 74, 0.1); }
.hc-copy.is-copied .hc-copy-idle { opacity: 0; transform: translateY(-6px); }
.hc-copy.is-copied .hc-copy-done { opacity: 1; transform: none; }

/* Form card */
.hc-form-card {
    scroll-margin-top: calc(var(--nav-h, 64px) + 24px);
    padding: 36px 36px 32px; border-radius: 28px; background: #ffffff;
    box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 56px -20px rgba(15, 23, 42, 0.22);
    transition: height 0.5s var(--hc-ease), box-shadow 0.4s ease;
}
.hc-form-card[style*="height"] { overflow: hidden; }
.hc-form-card.is-done { box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.18), 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 56px -20px rgba(22, 163, 74, 0.28); }
.hc-form-card.is-picked { animation: hc-pulse 0.9s var(--hc-ease); }
.hc-form-title { font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--hc-ink); }
.hc-form-sub { margin: 8px 0 26px !important; font-size: 15px; line-height: 1.5; color: var(--hc-muted); }

.hc-pane { outline: none; }
.hc-pane.is-leaving { opacity: 0; transform: translateY(-6px) scale(0.98); transition: opacity 0.22s ease, transform 0.22s ease; }
.hc-pane.is-entering { animation: hc-rise 0.55s var(--hc-ease) both; }

.hc-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.hc-field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.hc-field label, .hc-field legend { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 600; color: var(--hc-ink); }
.hc-field label span { margin-left: 4px; font-weight: 400; color: var(--hc-muted); }
.hc-field input[type="text"], .hc-field input[type="email"], .hc-field textarea {
    display: block; width: 100%; padding: 0 14px;
    font: inherit; font-size: 16px; color: var(--hc-ink);
    background: var(--hc-fill); border: 1px solid transparent; border-radius: 14px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
    -webkit-appearance: none; appearance: none;
}
.hc-field input[type="text"], .hc-field input[type="email"] { height: 48px; }
.hc-field textarea { min-height: 128px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.hc-field input::placeholder, .hc-field textarea::placeholder { color: var(--hc-faint); }
.hc-field input:hover, .hc-field textarea:hover { background: #efeff2; }
.hc-field input:focus, .hc-field textarea:focus { outline: none; background: #ffffff; border-color: var(--hc-blue); box-shadow: 0 0 0 4px rgba(15, 105, 255, 0.16); }
.hc-field.has-error input, .hc-field.has-error textarea { background: #ffffff; border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12); }
.hc-field.is-shaking { animation: hc-shake 0.4s ease; }

.hc-topics-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-pick { position: relative; margin: 0 !important; cursor: pointer; }
.hc-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hc-pick span {
    display: block; padding: 8px 13px; border-radius: 980px;
    font-size: 14px; font-weight: 500; color: var(--hc-body);
    background: #ffffff; box-shadow: inset 0 0 0 1px var(--hc-hair);
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--hc-ease);
}
.hc-pick:hover span { box-shadow: inset 0 0 0 1px rgba(29, 29, 31, 0.3); }
.hc-pick input:checked + span { color: var(--hc-blue); background: rgba(15, 105, 255, 0.07); box-shadow: inset 0 0 0 1.5px var(--hc-blue); }
.hc-pick input:active + span { transform: scale(0.96); }
.hc-pick input:focus-visible + span { outline: 2px solid var(--hc-blue); outline-offset: 2px; }

.hc-count { margin-top: 6px !important; font-size: 12px; text-align: right; color: var(--hc-muted); font-variant-numeric: tabular-nums; }
.hc-count:empty { display: none; }
.hc-error { max-height: 0; overflow: hidden; font-size: 14px; line-height: 1.4; color: #d92d20; opacity: 0; transition: max-height 0.3s var(--hc-ease), opacity 0.2s ease, margin 0.3s var(--hc-ease); }
.hc-error:not(:empty) { max-height: 60px; margin-top: 8px !important; opacity: 1; }
.hc-error--form:not(:empty) { margin: 0 0 16px !important; padding: 12px 14px; border-radius: 12px; background: rgba(217, 45, 32, 0.07); max-height: 120px; }
.hc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hc-submit {
    position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 52px;
    margin-top: 4px; padding: 0 20px; border: 0; border-radius: 980px; cursor: pointer;
    font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #ffffff; background: var(--hc-blue);
    box-shadow: 0 8px 20px -8px rgba(15, 105, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s var(--hc-ease);
}
.hc-submit:hover { background: var(--hc-blue-deep); box-shadow: 0 12px 24px -10px rgba(15, 105, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.hc-submit:active { transform: scale(0.985); }
.hc-submit:disabled { cursor: progress; }
.hc-submit-label { transition: opacity 0.2s ease, transform 0.3s var(--hc-ease); }
.hc-spinner {
    position: absolute; width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #ffffff;
    opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.3s var(--hc-ease);
}
.hc-form-card.is-sending .hc-submit-label { opacity: 0; transform: translateY(-6px); }
.hc-form-card.is-sending .hc-spinner { opacity: 1; transform: scale(1); animation: hc-spin 0.7s linear infinite; }
.hc-fine { margin-top: 14px !important; font-size: 13px; text-align: center; color: var(--hc-muted); }

/* Done: a Slack-style message from Spock */
.hc-msg { display: flex; gap: 12px; padding: 4px 0 24px; border-bottom: 1px solid var(--hc-hair); }
.hc-msg-avatar { flex: none; width: 40px; height: 40px; border-radius: 9px; }
.hc-msg-body { min-width: 0; font-family: Lato, -apple-system, "Segoe UI", sans-serif; }
.hc-msg-meta { margin-bottom: 4px !important; font-size: 15px; line-height: 1.3; color: var(--hc-muted); }
.hc-msg-meta strong { color: var(--hc-ink); font-weight: 900; }
.hc-msg-app { display: inline-block; margin: 0 4px; padding: 1px 4px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.02em; color: var(--hc-muted); background: rgba(29, 29, 31, 0.07); vertical-align: 2px; }
.hc-msg-time { font-size: 12px; }
.hc-msg-title { display: flex; align-items: center; gap: 8px; margin: 6px 0 !important; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--hc-ink); }
.hc-msg-text { font-size: 16px; line-height: 1.5; color: var(--hc-body); overflow-wrap: anywhere; }
.hc-msg-text strong { color: var(--hc-ink); }
.hc-msg-status { margin-top: 14px !important; }
.hc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 980px; font-size: 13px; font-weight: 700; color: var(--hc-green); background: rgba(22, 163, 74, 0.1); }
.hc-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hc-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--hc-green); }
.hc-check svg { width: 16px; height: 16px; fill: none; stroke: #ffffff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.hc-form-card.is-done .hc-check { animation: hc-pop 0.55s var(--hc-ease) 0.15s both; }
.hc-form-card.is-done .hc-check svg { animation: hc-draw 0.45s ease-out 0.4s both; }
.hc-form-card.is-done .hc-msg-avatar, .hc-form-card.is-done .hc-msg-body > * { animation: hc-rise 0.6s var(--hc-ease) both; }
.hc-form-card.is-done .hc-msg-body > :nth-child(2) { animation-delay: 0.08s; }
.hc-form-card.is-done .hc-msg-body > :nth-child(3) { animation-delay: 0.16s; }
.hc-form-card.is-done .hc-msg-body > :nth-child(4) { animation-delay: 0.3s; }
.hc-next { display: flex; flex-direction: column; gap: 4px; padding: 22px 0 8px; }
.hc-next-label { margin-bottom: 6px !important; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hc-muted); }
.hc-next a { display: inline-flex; align-self: flex-start; gap: 6px; font-size: 17px; font-weight: 500; color: var(--hc-blue); }
.hc-next a span { transition: transform 0.25s var(--hc-ease); }
.hc-next a:hover span { transform: translateX(3px); }
.hc-reset { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--hc-muted) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.hc-reset:hover { color: var(--hc-ink) !important; }

@keyframes hc-spin  { to { transform: rotate(360deg); } }
@keyframes hc-pop   { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes hc-draw  { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes hc-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes hc-pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 105, 255, 0.35), 0 24px 56px -20px rgba(15, 23, 42, 0.22); } 100% { box-shadow: 0 0 0 14px rgba(15, 105, 255, 0), 0 24px 56px -20px rgba(15, 23, 42, 0.22); } }

/* Routes */
.hc-routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hc-route {
    position: relative; display: flex; flex-direction: column;
    padding: 28px 24px 24px; border-radius: 24px; background: #ffffff; box-shadow: var(--hc-card-shadow);
    transition: transform 0.4s var(--hc-ease), box-shadow 0.4s ease;
}
.hc-route:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 48px -20px rgba(15, 23, 42, 0.26); }
.hc-route-name { margin-top: 20px !important; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; color: var(--hc-ink); }
.hc-route-text { margin: 8px 0 22px !important; font-size: 15px; line-height: 1.5; color: var(--hc-muted); text-wrap: pretty; }
.hc-route-action {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
    font-size: 15px; font-weight: 600; color: var(--hc-blue) !important;
}
.hc-route-action::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }   /* whole card is the link target */
.hc-route-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--hc-ease); }
.hc-route:hover .hc-route-action svg { transform: translateX(3px); }
.hc-route-action:focus-visible { outline: none; }
.hc-route:has(.hc-route-action:focus-visible) { outline: 2px solid var(--hc-blue); outline-offset: 3px; }
.hc-routes-note { margin-top: 28px !important; font-size: 15px; line-height: 1.5; color: var(--hc-muted); text-align: center; }
.hc-routes-note a { color: var(--hc-ink); font-weight: 500; }
.hc-routes-note a:hover { color: var(--hc-blue); }


@media (max-width: 1100px) {
    .hc-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .hc { padding-top: calc(var(--nav-h, 64px) + 48px); }
    .hc-h1 { font-size: 52px; }
    .hc-h2 { font-size: 34px; }
    .hc-section { margin-top: 88px; }
    .hc-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-contact-hero { grid-template-columns: 1fr; gap: 40px; }
    .hc-contact-intro { padding-top: 0; }
    .hc-form-card { max-width: 620px; }
    .hc-person { grid-template-columns: 1fr; gap: 36px; padding: 44px; }
}
@media (max-width: 767.98px) {
    .hc { padding-bottom: 88px; }
    .hc-wrap { padding: 0 20px; }
    .hc-h1 { font-size: 40px; letter-spacing: -0.028em; }
    .hc-lead { font-size: 18px; }
    .hc-h2 { font-size: 28px; }
    .hc-sub { font-size: 16px; }
    .hc-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
    .hc-section { margin-top: 72px; }
    .hc-search { margin-top: 32px; }
    .hc-search-box { height: 58px; padding-left: 50px; border-radius: 18px; }
    .hc-search-box > svg { left: 18px; }
    .hc-search-box input { font-size: 17px; }
    .hc-kbd { display: none; }
    .hc-result-topic { display: none; }
    .hc-topics, .hc-fixes, .hc-routes { grid-template-columns: 1fr; gap: 14px; }
    .hc-topic, .hc-fix { padding: 24px 22px; border-radius: 22px; }
    .hc-person { padding: 32px 22px; border-radius: 26px; }
    .hc-person-card { padding: 22px; }
    .hc-direct { margin-top: 32px; padding-top: 24px; }
    .hc-direct-address { font-size: clamp(19px, 6.1vw, 24px); }
    .hc-form-card { padding: 28px 20px 24px; border-radius: 24px; }
    .hc-field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hc *, .hc *::before, .hc *::after, .hc-form-card { animation: none !important; transition-duration: 0.01ms !important; }
}
