/* Discovery and request pages share TIH's existing homepage theme. */
.hx-form-layout {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:1.6rem;align-items:start;}
.hx-form {padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--tih-border);border-radius:18px;background:var(--tih-card);min-width:0;}
.hx-form h3 {margin:0 0 .5rem;font-size:1.4rem;}
.hx-form .form-card-lead {font-size:.9rem;color:var(--tih-copy);margin-bottom:1.5rem;}
.hx-form-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}
.hx-form .form-group {display:flex;flex-direction:column;gap:.45rem;margin-bottom:1.2rem;min-width:0;}
.hx-form label {font-weight:600;font-size:.9rem;line-height:1.6;}
.hx-form label span {color:var(--tih-red);}
.hx-form input:not([type=checkbox]):not([type=hidden]),.hx-form textarea,.hx-form select {box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid var(--tih-border);border-radius:10px;background:var(--tih-soft);color:var(--tih-ink);font:inherit;font-size:1rem;padding:.75rem;}
.hx-form textarea {resize:vertical;}
.hx-consent {display:flex;align-items:flex-start;gap:.65rem;margin:1.2rem 0;}
.hx-consent input {width:18px;height:18px;flex-shrink:0;accent-color:var(--tih-red);margin-top:4px;}
.hx-help,.hx-privacy {font-size:.85rem;line-height:1.75;color:var(--tih-copy);}
.hx-privacy {padding:1rem;background:var(--tih-soft);border-radius:10px;}
.hx-privacy a {text-decoration:underline;text-underline-offset:3px;}
.hx-reference {font-size:.82rem;overflow-wrap:anywhere;}
.hx-form .form-feedback {margin:1rem 0;line-height:1.7;overflow-wrap:anywhere;}
.hx-form .form-feedback:empty {display:none;}
.hx-form .btn {white-space:normal;}
.hx-filter-bar {display:flex;flex-wrap:wrap;align-items:end;gap:1rem;margin-bottom:1.5rem;}
.hx-filter-bar>div {flex:1 1 220px;min-width:0;}
.hx-filter-bar label {display:block;font-size:.9rem;font-weight:650;margin-bottom:.5rem;}
.hx-filter-bar input,.hx-filter-bar select {box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid var(--tih-border);border-radius:10px;padding:.75rem;font:inherit;background:var(--tih-card);color:var(--tih-ink);}
.hx-filter-bar[hidden],.hx-product[hidden],#help-guides details[hidden],#product-empty[hidden],#help-empty[hidden] {display:none!important;}
.hx-products {display:grid;gap:1.6rem;margin-top:1.5rem;}
.hx-product {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);border:1px solid var(--tih-border);border-radius:20px;overflow:hidden;background:var(--tih-card);}
.hx-product-art {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(1.5rem,4vw,3rem);min-height:260px;color:#fff;position:relative;isolation:isolate;overflow:hidden;}
.hx-product-art::after {content:'';width:260px;height:260px;position:absolute;right:-100px;bottom:-100px;border:1px solid #ffffff40;border-radius:50%;box-shadow:0 0 0 40px #ffffff0a,0 0 0 80px #ffffff05;z-index:-1;}
.hx-product-art span {font-size:.9rem;font-weight:750;letter-spacing:.15em;margin-bottom:.6rem;}
.hx-product-art strong {font-family:var(--font-heading);font-size:clamp(2rem,4vw,3.5rem);line-height:1.15;letter-spacing:-.04em;}
.hx-product-art small {margin-top:1.5rem;font-size:.85rem;}
.hx-art-learning {background:linear-gradient(145deg,#002868,#1565d8);}
.hx-art-ai {background:linear-gradient(145deg,#990d2d,#df1735);}
.hx-art-apps {background:linear-gradient(145deg,#14233c,#36577f);}
.hx-product-body {padding:clamp(1.25rem,3vw,2rem);min-width:0;}
.hx-product-body h3 {font-size:1.6rem;margin:.4rem 0 .8rem;}
.hx-product-body p,.hx-product-body li {line-height:1.8;color:var(--tih-copy);}
.hx-product-body ul,.hx-form-layout .svc-note ul {padding-left:1.2rem;}
#knowledge-base,#product-directory,#consultation-form,#support-form {scroll-margin-top:100px;}
@media(max-width:800px) {.hx-form-layout {grid-template-columns:minmax(0,1fr);}.hx-product {grid-template-columns:minmax(0,1fr);}.hx-product-art {min-height:200px;}}
@media(max-width:520px) {.hx-form-row {grid-template-columns:minmax(0,1fr);gap:0;}.hx-filter-bar .btn {width:100%;}.hx-form .btn {width:100%;justify-content:center;}}
