/* =========================================================================
   Support pages (WEB-142 N3): PostureRay End of Life, Account Management,
   Password Reset and PostureRay Support Login, generated by
   tools/pages/support-pages.mjs. Loaded after pages.css; reuses its bands,
   hero, .pg-kb tiles, .pg-contact and the .cf form fields. New parts are .sp-*.
   ========================================================================= */

/* compact hero: these are task pages, so the content starts higher */
.sp-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.sp-hero .pg-hero__note { margin-top: 18px; }

/* ---------- account / reset cards ---------- */
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.sp-card { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.sp-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sp-card__ic { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 8px 18px -10px rgba(11, 26, 46, .45); }
.sp-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--blue-t); background: rgba(0, 128, 178, .08); }
.sp-tag svg { width: 11px; height: 13px; margin-top: -2px; }
.sp-card--ray .sp-tag { color: var(--red); background: rgba(163, 23, 55, .07); }
.sp-card__h { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.22; letter-spacing: -.02em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.sp-card__p { margin-top: 10px; }
/* side by side, the cards share their rows (subgrid), so the headings, buttons and guide lists line up across cards */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1001px) {
    .sp-cards { grid-template-rows: repeat(5, auto); }
    .sp-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .sp-card__cta { align-self: start; }
    .sp-card .sp-card__more { margin-top: 0; }
  }
}
.sp-card__p > p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.sp-card__p > p + p { margin-top: 14px; }
.sp-card__cta { margin-top: 22px; }
.sp-btn { height: auto; min-height: 46px; padding-block: 10px; white-space: normal; text-align: center; line-height: 1.25; }
.btn .sp-ext { width: 13px; height: 13px; margin: 0; flex: none; }
.sp-card__more { margin-top: auto; padding-top: 26px; }
.sp-card__k { padding-top: 18px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sp-card__kb { margin-top: 8px; display: grid; }
.sp-card__kb a { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; font-weight: 600; line-height: 1.38; color: var(--ink); border-bottom: 1px solid var(--line); }
.sp-card__kb li:last-child a { border-bottom: 0; }
.sp-card__kb a:hover { text-decoration: none; color: var(--blue-t); }
.sp-card__kb svg { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--blue-t); transition: transform .3s var(--ease-out); }
.sp-card__kb a:hover svg { transform: translateX(3px); }

/* the "only active Enterprise users" warning (password reset) */
.sp-warn { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff8eb; box-shadow: inset 0 0 0 1px rgba(181, 120, 0, .22); font-size: 14.5px !important; line-height: 1.5; color: var(--ink) !important; }
.sp-warn svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #a86400; }
.sp-warn--info { background: rgba(0, 128, 178, .06); box-shadow: inset 0 0 0 1px rgba(0, 128, 178, .18); }
.sp-warn--info svg { color: var(--blue-t); }
.sp-warn a { color: var(--blue-t); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- knowledge base + still need help (mist band) ---------- */
.sp-help .pg-kb a { background: #fff; }
.sp-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: clamp(28px, 3.4vw, 40px); padding: 18px 22px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sp-contact p { max-width: 70ch; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sp-contact b { color: var(--ink); }
.sp-contact p a { color: var(--blue-t); font-weight: 600; white-space: nowrap; }

/* ---------- end of life: newer-notice banner, version timeline, Q&A ---------- */
.sp-alert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 18px; margin-bottom: clamp(40px, 5vw, 64px); padding: 16px 22px; border-radius: 20px; background: #fff6f7; box-shadow: inset 0 0 0 1px rgba(163, 23, 55, .18); color: var(--ink); transition: transform .35s var(--ease-out), box-shadow .35s; }
.sp-alert:hover { position: relative; text-decoration: none; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(163, 23, 55, .32), var(--shadow-1); }
.sp-alert:hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 4px; } /* hover stays put (styles.css, .btn) */
.sp-alert__k { padding: 5px 11px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.sp-alert__t { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.sp-alert__t b { color: var(--ink); }
.sp-alert > svg { width: 16px; height: 16px; color: var(--red); transition: transform .3s var(--ease-out); }
.sp-alert:hover > svg { transform: translateX(3px); }

.sp-eol { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.sp-eol .pg-head { margin-bottom: 26px; }
.sp-tl { position: relative; display: grid; }
.sp-tl::before { content: ""; position: absolute; left: 7px; top: 28px; bottom: 34px; width: 2px; border-radius: 2px; background: linear-gradient(var(--line), rgba(163, 23, 55, .25) 20%, rgba(163, 23, 55, .25) 80%, rgba(20, 127, 177, .5)); }
.sp-tl__i { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--line); }
.sp-tl__i:last-child { border-bottom: 0; }
.sp-tl__dot { position: absolute; left: 0; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px rgba(163, 23, 55, .45); }
.sp-tl__v h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.012em; font-weight: 700; color: var(--ink); }
.sp-tl__v h3 span { font-weight: 500; color: var(--ink-2); }
.sp-tl__v p { margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.sp-tl__end { text-align: right; }
.sp-tl__end small { display: block; font-size: 11.5px; line-height: 1.35; color: var(--ink-3); }
.sp-tl__end b { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-tl__i--now { margin-top: 10px; padding: 18px 20px 18px 38px; border-radius: 18px; background: rgba(20, 127, 177, .07); box-shadow: inset 0 0 0 1px rgba(20, 127, 177, .22); border-bottom: 0; }
.sp-tl__i--now .sp-tl__dot { background: #147fb1; box-shadow: 0 0 0 4px rgba(20, 127, 177, .2); }
.sp-tl__i--now .sp-tl__dot { top: 22px; }
.sp-now { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #11709c; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.sp-win { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.sp-win h3 { font-size: 15px; font-weight: 700; color: var(--ink); }
.sp-win p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.sp-win b { color: var(--ink); }
.sp-eol__qa { display: grid; gap: 22px; padding-top: 6px; }
.sp-qa { padding: 22px 24px; border-radius: 22px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.sp-qa h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.012em; font-weight: 700; color: var(--ink); }
.sp-qa p { margin-top: 8px; font-size: 14.5px; line-height: 1.58; color: var(--ink-2); }
.sp-qa .link { margin-top: 14px; }
.sp-qa__ask { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.sp-qa__ask a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- support login: requirements + the LogMeIn Rescue form ---------- */
.sp-portal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sp-req { margin-top: 20px; display: grid; gap: 4px; }
.sp-req li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.sp-req__ic img { width: 44px; height: 44px; border-radius: 10px; }
.sp-req__ic--glyph { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(20, 127, 177, .09); color: #11709c; }
.sp-req__ic--glyph svg { width: 24px; height: 24px; }
.sp-req h3 { font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.sp-req p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.sp-req b { color: var(--ink); }
.sp-req a { color: var(--blue-t); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sp-portal .pg-contact__dl { margin-top: 8px; }
.sp-rescue .cf__foot { margin-top: 10px; }
.sp-rescue .cf__fine { flex: 1 1 260px; line-height: 1.5; }

@media (max-width: 1000px) {
  .sp-cards { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .sp-cards--2 { grid-template-columns: 1fr; }
  .sp-eol, .sp-portal { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sp-alert { grid-template-columns: minmax(0, 1fr) auto; }
  .sp-alert__k { grid-column: 1 / -1; justify-self: start; }
  .sp-tl__i { grid-template-columns: 1fr; }
  .sp-tl__end { text-align: left; }
  .sp-tl__i--now .sp-tl__end { margin-top: 6px; }
  .sp-btn { width: 100%; }
}

/* phone numbers never break at their hyphens */
:is(.sp-qa__ask, .sp-contact, .sp-req, .sp-portal) a[href^="tel:"] { white-space: nowrap; }
