/* ==========================================================================
   Support Hub (/support, /support/contact, /support/{section})
   Dark-header "functional" page kind. One left sidebar (components/support/
   sidebar) + a white content column. Reuses style.css :root tokens.
   ========================================================================== */

.sup { padding: 8px 0 60px; }

/* hero band is now the shared .site-band (style.css). Give the grid a little
   breathing room under it. */

/* ---- two-column shell: sidebar + main ---- */
.sup-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 26px;
}

/* ---------------------------------------------------------------- sidebar - */
.sup-side { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 18px; }

.sup-brand { display: flex; align-items: center; gap: 13px; padding: 4px 4px 2px; }
.sup-brand__ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #f0effc, #e7e6fb);
  color: var(--primary); border: 1px solid var(--line, #e6e0f5);
}
.sup-brand__ic svg { width: 24px; height: 24px; }
.sup-brand__txt { display: flex; flex-direction: column; }
.sup-brand__h { font-weight: 800; font-size: 1.08rem; color: var(--ink, #150d15); line-height: 1.2; }
.sup-brand__s { font-size: .82rem; color: var(--muted, #6f6883); font-weight: 600; }

.sup-nav { display: flex; flex-direction: column; gap: 2px; }
.sup-nav__link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border-radius: 11px;
  color: var(--text-dark, #2a2540); font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: background .14s ease, color .14s ease;
}
.sup-nav__link:hover { background: var(--bg-soft, #f4f1ff); color: var(--primary); text-decoration: none; }
.sup-nav__ic {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--bg-soft, #f4f1ff); color: var(--primary);
  transition: background .14s ease, color .14s ease;
}
.sup-nav__ic svg { width: 19px; height: 19px; }
.sup-nav__link.is-active { background: var(--primary); color: #fff; }
.sup-nav__link.is-active .sup-nav__ic { background: rgba(255,255,255,.2); color: #fff; }

/* sidebar blocks (How we help / Tips) */
.sup-block {
  background: #fff; border: 1px solid var(--line, #e6e0f5);
  border-radius: 16px; padding: 18px 18px 16px;
}
.sup-block__h {
  display: flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 800; color: var(--ink, #150d15); margin: 0 0 12px;
}
.sup-block__star { color: var(--primary); display: inline-flex; }
.sup-block__star svg { width: 18px; height: 18px; }

.sup-help { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sup-help li { display: flex; gap: 11px; align-items: flex-start; }
.sup-help__ic {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; background: var(--bg-soft, #f4f1ff); color: var(--primary);
}
.sup-help__ic svg { width: 17px; height: 17px; }
.sup-help li span b { display: block; font-size: .9rem; color: var(--ink, #150d15); font-weight: 800; margin-bottom: 1px; }
.sup-help li > span:last-child { font-size: .82rem; color: var(--muted, #6f6883); line-height: 1.45; }

.sup-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sup-tips li { position: relative; padding-left: 16px; font-size: .87rem; color: var(--text, #4a4560); line-height: 1.5; }
.sup-tips li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--primary);
}
.sup-tips__note {
  display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 0; padding: 12px 13px;
  background: var(--bg-soft, #f4f1ff); border-radius: 11px;
  font-size: .82rem; color: var(--muted, #6f6883); line-height: 1.45;
}
.sup-tips__note svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; color: var(--primary); }

/* ------------------------------------------------------------------- main - */
.sup-main { min-width: 0; }
.sup-main__h { font-size: 1.15rem; font-weight: 800; color: var(--ink, #150d15); margin: 30px 0 14px; }

/* ---- alerts ---- */
.sup-alert {
  display: flex; gap: 13px; align-items: flex-start;
  border-radius: 14px; padding: 16px 18px; margin: 18px 0 4px; border: 1px solid;
}
.sup-alert__ic { flex: 0 0 26px; width: 26px; height: 26px; margin-top: 1px; }
.sup-alert__ic svg { width: 26px; height: 26px; }
.sup-alert strong { display: block; font-size: 1rem; font-weight: 800; }
.sup-alert p { margin: 4px 0 0; font-size: .9rem; line-height: 1.5; }
.sup-alert--ok { background: #eef9f2; border-color: #bfe3cc; color: #1a7a43; }
.sup-alert--ok p { color: #2f6b48; }
.sup-alert--err { background: #fdeeee; border-color: #f2caca; color: #b23a36; }
.sup-alert--err p { color: #8f3d3a; }

/* ---- form ---- */
.sup-form, .sup-search, .sup-noresult, .sup-soon, .sup-contactcta {
  background: #fff; border: 1px solid var(--line, #e6e0f5); border-radius: 18px;
}
.sup-form { padding: 26px 28px 28px; }
.sup-form__h { font-size: 1.3rem; font-weight: 800; color: var(--ink, #150d15); margin: 0 0 20px; }

.sup-field { margin-bottom: 20px; border: 0; padding: 0; min-width: 0; }
.sup-label {
  display: block; font-size: .9rem; font-weight: 800; color: var(--ink, #150d15);
  margin: 0 0 9px; padding: 0;
}
.sup-input {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink, #150d15);
  background: #fff; border: 1.5px solid var(--line, #e6e0f5); border-radius: 11px;
  padding: 12px 14px; transition: border-color .14s ease, box-shadow .14s ease;
}
.sup-input::placeholder { color: #a7a2bb; }
.sup-input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(104,101,231,.16);
}
.sup-textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

/* chips (radio) */
.sup-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sup-chips--wide { grid-template-columns: repeat(3, 1fr); }
.sup-chip { position: relative; cursor: pointer; }
.sup-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sup-chip > span {
  display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center;
  padding: 11px 12px; border: 1.5px solid var(--line, #e6e0f5); border-radius: 11px;
  font-size: .88rem; font-weight: 700; color: var(--text-dark, #2a2540);
  background: #fff; transition: all .14s ease; min-height: 44px;
}
.sup-chip:hover > span { border-color: #c9c5ee; }
.sup-chip input:checked + span {
  border-color: var(--primary); color: var(--primary);
  background: var(--bg-soft, #f4f1ff); box-shadow: 0 0 0 1px var(--primary) inset;
}
.sup-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(104,101,231,.2); }
.sup-chip--big > span { min-height: 50px; font-size: .92rem; }

/* file upload */
.sup-file {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  border: 1.5px dashed var(--line, #d7d2ee); border-radius: 12px;
  padding: 16px 18px; background: #fbfaff; transition: border-color .14s ease, background .14s ease;
}
.sup-file:hover { border-color: var(--primary); background: var(--bg-soft, #f4f1ff); }
.sup-file__ic { flex: 0 0 34px; width: 34px; height: 34px; color: var(--primary); }
.sup-file__ic svg { width: 34px; height: 34px; }
.sup-file__txt b { display: block; font-size: .92rem; color: var(--ink, #150d15); font-weight: 700; }
.sup-file__txt { font-size: .8rem; color: var(--muted, #6f6883); line-height: 1.5; }
.sup-file__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.sup-file__name { margin: 8px 0 0; font-size: .85rem; font-weight: 700; color: var(--primary); }

/* consent */
.sup-consent { margin-top: 4px; }
.sup-check { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.sup-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex: 0 0 18px; }
.sup-check span { font-size: .9rem; color: var(--text, #4a4560); line-height: 1.5; }
.sup-check a { color: var(--primary); font-weight: 700; }

/* Send Message uses the standard site button (btn btn-cta btn-cta--fill) so its
   hover wipe matches every other CTA; this only keeps the icon size + top gap. */
.sup-submit { margin-top: 6px; }
.sup-submit svg { width: 19px; height: 19px; }

.sup-err { margin: 7px 0 0; font-size: .82rem; font-weight: 700; color: #c0392b; }

/* off-screen honeypot (NOT display:none — bots skip those) */
.sup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- search (hub home) ---- */
.sup-search { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; }
.sup-search__ic { flex: 0 0 20px; color: var(--muted, #6f6883); }
.sup-search__ic svg { width: 20px; height: 20px; }
.sup-search__input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 1rem; color: var(--ink, #150d15); padding: 10px 0; background: transparent; }
.sup-search__input::placeholder { color: #a7a2bb; }
.sup-search__btn {
  flex: 0 0 auto; background: var(--primary); color: #fff; border: 0; border-radius: 12px;
  padding: 11px 22px; font: inherit; font-weight: 800; cursor: pointer; transition: background .14s ease;
}
.sup-search__btn:hover { background: var(--primary-d, #524fd4); }

.sup-noresult { padding: 18px 20px; margin-top: 16px; }
.sup-noresult strong { color: var(--ink, #150d15); font-size: 1rem; }
.sup-noresult p { margin: 6px 0 0; font-size: .9rem; color: var(--muted, #6f6883); line-height: 1.5; }
.sup-noresult a { color: var(--primary); font-weight: 700; }

/* ---- section cards ---- */
.sup-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sup-card {
  display: block; background: #fff; border: 1px solid var(--line, #e6e0f5);
  border-radius: 16px; padding: 20px; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sup-card:hover {
  border-color: var(--primary); box-shadow: 0 10px 28px rgba(104,101,231,.12);
  transform: translateY(-2px); text-decoration: none;
}
.sup-card__ic {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--bg-soft, #f4f1ff); color: var(--primary); margin-bottom: 12px;
}
.sup-card__ic svg { width: 22px; height: 22px; }
.sup-card__t { display: block; font-weight: 800; font-size: 1.02rem; color: var(--ink, #150d15); margin-bottom: 5px; }
.sup-card__d { display: block; font-size: .88rem; color: var(--muted, #6f6883); line-height: 1.5; }

.sup-card--link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px;
}
.sup-card--link .sup-card__t { margin: 0; font-size: .96rem; }
.sup-card__arrow { flex: 0 0 auto; color: var(--primary); display: inline-flex; }
.sup-card__arrow svg { width: 18px; height: 18px; }

/* ---- "coming soon" strip ---- */
.sup-soon { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; }
.sup-soon__ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft, #f4f1ff); color: var(--primary); }
.sup-soon__ic svg { width: 22px; height: 22px; }
.sup-soon h2 { font-size: 1.12rem; font-weight: 800; color: var(--ink, #150d15); margin: 0 0 4px; }
.sup-soon p { margin: 0; font-size: .9rem; color: var(--muted, #6f6883); line-height: 1.5; }

/* ---- contact CTA strip ---- */
.sup-contactcta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; margin-top: 26px;
  background: linear-gradient(150deg, #f6f5ff, #efeefc);
}
.sup-contactcta h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink, #150d15); margin: 0 0 3px; }
.sup-contactcta p { margin: 0; font-size: .9rem; color: var(--muted, #6f6883); }
.sup-contactcta .btn-cta { flex: 0 0 auto; }

/* ------------------------------------------------------------- responsive - */
@media (max-width: 980px) {
  .sup-grid { grid-template-columns: 1fr; gap: 22px; }
  .sup-side { position: static; }
  .sup-chips { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sup-chips, .sup-chips--wide { grid-template-columns: repeat(2, 1fr); }
  .sup-cards { grid-template-columns: 1fr; }
  .sup-form { padding: 20px 18px; }
  .sup-contactcta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .sup-chips, .sup-chips--wide { grid-template-columns: 1fr; }
}
