/* Rèiz website: the support page (support.html, served at /support).
   Builds on site.css (tokens, type, buttons, cards, nav, footer); only page sections live here.
   No motion: every style here is the page's only state. */

/* ---------- Hero and contact card ---------- */
.s-hero { padding-top: calc(var(--nav-h) + clamp(40px, 8svh, 96px)); padding-bottom: clamp(48px, 6vw, 88px); }
.s-hero__grid { display: grid; gap: 40px; align-items: start; }
.s-hero__copy .label { margin-bottom: 20px; }
.s-hero__lede { margin-top: 28px; max-width: 44ch; }
@media (min-width: 1000px) {
  .s-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: calc(var(--gutter) * 2); align-items: end; }
}

.s-contact { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 3vw, 32px); }
.s-contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wash-teal); color: var(--teal); }
.s-contact__icon .i { width: 20px; height: 20px; }
.s-contact__email { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.s-contact__btn { margin-block: 4px 6px; }
.s-contact__hint { font-weight: 600; color: var(--ink); }

/* ---------- Topic links ---------- */
.s-topics { padding-bottom: clamp(48px, 6vw, 80px); }
.s-topics__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.s-topic {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-nested);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .32s var(--ease-ui), box-shadow .32s var(--ease-ui);
}
.s-topic .i { width: 22px; height: 22px; color: var(--teal); }
@media (hover: hover) and (pointer: fine) {
  .s-topic:hover { border-color: rgba(0, 103, 100, .28); box-shadow: var(--shadow-1); }
}

/* ---------- Topic sections ---------- */
.s-section { padding-block: clamp(64px, 8vw, 120px); scroll-margin-top: var(--nav-h); }
.s-section--paper { background: var(--paper); }
.s-section--wash { background: var(--wash-teal); }
.s-section__grid { display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .s-section__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--gutter) * 2); align-items: start; }
  .s-section__title { position: sticky; top: calc(var(--nav-h) + 32px); }
}

.s-body { display: grid; gap: 16px; max-width: 66ch; }
.s-body > .title:not(:first-child) { margin-top: 20px; }
.s-body strong { color: var(--ink); font-weight: 600; }

.s-list { display: grid; gap: 12px; }
.s-list > li { position: relative; padding-left: 22px; }
.s-list > li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.s-list--compact { gap: 6px; font-size: 15px; }
.s-list--steps { counter-reset: step; }
.s-list--steps > li { counter-increment: step; padding-left: 36px; }
.s-list--steps > li::before { content: counter(step); top: .1em; width: 24px; height: 24px; display: grid; place-items: center; font: 600 13px/1 var(--font-text); color: #fff; }

/* ---------- Still need help ---------- */
.s-more__inner { display: grid; justify-items: center; gap: 20px; text-align: center; }
.s-more__lede { max-width: 48ch; }
.s-more .btn { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; }
.s-more__partners { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .s-topic { transition: none; }
}
