/* Technologies page (/technologies): hero, filter bar, A–Z directory, CTA.
   Base, navigation and footer styles come from css/faq.css. */

.td-page [hidden] { display: none !important; }
.td-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Hero ── */
.td-hero { position: relative; max-width: 1240px; margin: 0 auto; padding: calc(var(--nav-h, 68px) + 3.2rem) 1.5rem 3.2rem; text-align: center; overflow: hidden; }
.td-hero-in { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.td-crumb { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 600; color: rgba(15,22,15,.5); margin-bottom: 1.6rem; }
.td-crumb a { display: inline-flex; color: rgba(15,22,15,.5); transition: color .18s ease; }
.td-crumb a:hover { color: #1db87a; }
.td-crumb [aria-current] { color: #0f1610; }
.td-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #14371f; margin-bottom: .9rem; }
.td-h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; color: #0f1610; margin-bottom: 2rem; }
.td-h1 > span { display: block; }
.td-h1-mint { color: #1db87a; }
.td-h1-soft { color: #15a367; }

.td-search { position: relative; display: flex; align-items: center; width: 100%; max-width: 460px; }
.td-search svg { position: absolute; left: .95rem; color: rgba(15,22,15,.42); pointer-events: none; }
.td-search input { width: 100%; height: 46px; padding: 0 1rem 0 2.6rem; font: inherit; font-size: .9rem; color: #0f1610; background: #fff; border: 1px solid #dfe5e1; border-radius: 10px; box-shadow: 0 1px 2px rgba(15,22,15,.04); outline: none; transition: border-color .18s ease, box-shadow .18s ease; -webkit-appearance: none; appearance: none; }
.td-search input::placeholder { color: rgba(15,22,15,.4); }
.td-search input:focus { border-color: #1db87a; box-shadow: 0 0 0 3px rgba(29,184,122,.16); }
.td-search input::-webkit-search-cancel-button { cursor: pointer; }

/* Floating logos either side of the hero (decorative). */
.td-float { position: absolute; top: calc(var(--nav-h, 68px) + 1rem); bottom: 1rem; width: 230px; pointer-events: none; }
.td-float--l { left: 1.5rem; }
.td-float--r { right: 1.5rem; }
.td-fl { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; background: #fff; border: 1px solid #edf0ee; border-radius: 12px; box-shadow: 0 4px 14px rgba(15,22,15,.05); opacity: .6; animation: tdFloat 7s ease-in-out infinite alternate; }
.td-fl img { width: 30px; height: 30px; object-fit: contain; }
.td-float--l .td-fl--1 { top: 2%;  left: 18%; }
.td-float--l .td-fl--2 { top: 22%; left: 62%; animation-delay: -2s; }
.td-float--l .td-fl--3 { top: 40%; left: 4%;  animation-delay: -4s; }
.td-float--l .td-fl--4 { top: 58%; left: 48%; animation-delay: -1s; }
.td-float--l .td-fl--5 { top: 78%; left: 14%; animation-delay: -5s; }
.td-float--l .td-fl--6 { top: 86%; left: 66%; animation-delay: -3s; }
.td-float--r .td-fl--1 { top: 4%;  right: 16%; animation-delay: -3s; }
.td-float--r .td-fl--2 { top: 24%; right: 60%; animation-delay: -1s; }
.td-float--r .td-fl--3 { top: 42%; right: 6%;  animation-delay: -5s; }
.td-float--r .td-fl--4 { top: 60%; right: 50%; animation-delay: -2s; }
.td-float--r .td-fl--5 { top: 80%; right: 18%; animation-delay: -4s; }
.td-float--r .td-fl--6 { top: 88%; right: 64%; }
@keyframes tdFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ── Filter bar ── */
.td-filter { background: #f7f8f8; border-top: 1px solid #eef1ef; border-bottom: 1px solid #eef1ef; }
.td-filter-in { max-width: 1240px; margin: 0 auto; padding: .85rem 1.5rem; display: flex; align-items: center; justify-content: center; gap: .8rem; }
.td-filter-k { flex: 0 0 auto; font-size: .78rem; font-weight: 600; color: rgba(15,22,15,.55); }
.td-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.td-chip { padding: .36rem .7rem; font-size: .76rem; font-weight: 650; line-height: 1.2; color: #2b3a30; background: #fff; border: 1px solid #e1e7e3; border-radius: 6px; white-space: nowrap; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.td-chip:hover { border-color: rgba(29,184,122,.55); color: #14371f; }
.td-chip.is-on { color: #fff; background: #14371f; border-color: #14371f; }
.td-chip:focus-visible { outline: 2px solid #1db87a; outline-offset: 2px; }

/* ── A–Z directory ── */
.td-dir { max-width: 1060px; margin: 0 auto; padding: 2.6rem 1.5rem 4.5rem; }
.td-group { margin-bottom: 2.2rem; }
.td-letter { font-size: .82rem; font-weight: 700; color: rgba(15,22,15,.45); padding-bottom: .55rem; margin-bottom: 1rem; border-bottom: 1px solid #eef1ef; }
.td-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.td-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; min-height: 108px; padding: .95rem .6rem .8rem; background: #fff; border: 1px solid #e8ece9; border-radius: 8px; box-shadow: 0 1px 2px rgba(15,22,15,.04); text-align: center; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.td-card:hover { border-color: rgba(29,184,122,.45); box-shadow: 0 6px 18px rgba(20,55,32,.08); transform: translateY(-2px); }
.td-logo { display: flex; align-items: center; justify-content: center; height: 42px; width: 100%; }
.td-logo img { height: 40px; width: auto; max-width: 88%; object-fit: contain; }
.td-mono { font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #1db87a; }
.td-name { font-size: .74rem; font-weight: 600; line-height: 1.3; color: rgba(15,22,15,.72); }
.td-card.is-off, .td-group.is-off { display: none; }
.td-empty { padding: 2rem 0 1rem; text-align: center; font-size: .92rem; color: rgba(15,22,15,.55); }
.td-note { margin-top: 2.6rem; text-align: center; font-size: .72rem; color: rgba(15,22,15,.42); }

/* ── CTA ── */
.td-cta { background: #f5f7f5; padding: 5rem 1.5rem; text-align: center; }
.td-cta h2 { max-width: 900px; margin: 0 auto 1.8rem; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -.042em; line-height: 1.05; color: #0f1610; }
.td-cta h2 em { font-style: normal; color: #1db87a; }
.td-cta-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .84rem 2rem; border-radius: 9999px; background: #1db87a; color: #fff; font-size: .88rem; font-weight: 800; box-shadow: 0 8px 28px rgba(29,184,122,.35); transition: background .22s ease, transform .22s ease, box-shadow .22s ease; }
.td-cta-btn:hover { background: #22d18c; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(29,184,122,.45); }

/* ── Responsive ── */
@media (max-width: 1180px) { .td-float { display: none; } }
@media (max-width: 900px) { .td-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .td-hero { padding: calc(var(--nav-h, 68px) + 2rem) 1.2rem 2.4rem; }
  .td-crumb { margin-bottom: 1.2rem; }
  .td-h1 { margin-bottom: 1.5rem; }
  .td-filter-in { justify-content: flex-start; padding: .75rem 0 .75rem 1.2rem; gap: .6rem; }
  .td-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-right: 1.2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .td-chips::-webkit-scrollbar { display: none; }
  .td-dir { padding: 2rem 1.2rem 3.5rem; }
  .td-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .td-card { min-height: 96px; padding: .8rem .4rem .7rem; }
  .td-logo { height: 36px; }
  .td-logo img { height: 34px; }
  .td-cta { padding: 3.5rem 1.2rem; }
}
@media (max-width: 360px) { .td-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .td-fl { animation: none; }
  .td-card, .td-card:hover, .td-cta-btn, .td-cta-btn:hover { transition: none; transform: none; }
}
