/* Help Center (templates/help.html), in the studio dark design system (kz-site.css, landing-v3.css). Plain CSS. */
.hp { --ink: #f5f5f7; --ink2: var(--kz-copy); --ink3: var(--kz-dim); --rule: var(--kz-line); --rule2: var(--kz-line2); --soft: var(--kz-bg2);
  --amber: #ffb547; --lime: #c6f05a; --rail: 240px;
  display: block; font-family: var(--kz-ui); color: var(--ink); background: var(--kz-bg); line-height: 1.65; font-size: 16.5px; }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
/* prose links; :where keeps them below the components' own link styles */
.hp :where(a:not(.kz *, .kzk)) { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .26); text-underline-offset: 4px; transition: text-decoration-color var(--kz-t); }
.hp :where(a:not(.kz *, .kzk)):hover { text-decoration-color: currentColor; }
.hp :where(a:not(.kz *)):focus-visible, .hp summary:focus-visible { outline: 2px solid var(--kz-focus); outline-offset: 2px; border-radius: 2px; }
.hp p, .hp li { text-wrap: pretty; }
.hp h1, .hp h2, .hp h3 { text-wrap: balance; }

/* hero: the label, the title, the lede, the popular topics as refined translucent pills */
.hp-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 5vw, 76px); }
.hp-hero .in { max-width: var(--kz-max); margin: 0 auto; padding: 0 var(--g); }
.hp-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.hp-hero .in > .hp-eyebrow { margin-bottom: 14px; }
.hp-hero h1 { margin: 0; font-family: var(--kz-ui); font-size: clamp(42px, 5.8vw, 72px) !important; line-height: 1.02; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.hp-hero p { max-width: 44em; margin: 20px 0 28px; color: var(--ink2); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; }
.hp-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.hp .hp-quick a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .10); background: rgba(255, 255, 255, .03); color: #d4d4d8; font-family: var(--kz-ui); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: border-color var(--kz-t), background-color var(--kz-t), color var(--kz-t); }
.hp .hp-quick a:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #f5f5f7; }

/* layout: the contents in the rail, the sections in the content column */
.hp-layout { max-width: var(--kz-max); margin: 0 auto; padding: 0 var(--g) clamp(96px, 10vw, 140px); display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: 56px; }
.hp-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding-right: 12px; font-size: 14px; overscroll-behavior: contain; }
.hp-toc h2 { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin: 22px 0 8px; }
.hp-toc h2:first-child { margin-top: 0; }
.hp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.hp .hp-toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 1px solid transparent; color: var(--ink2); line-height: 1.35; text-decoration: none; transition: color var(--kz-t), border-color var(--kz-t); }
.hp .hp-toc a:hover { color: var(--ink); }
.hp .hp-toc a[aria-current] { color: var(--ink); border-left-color: var(--ink); font-weight: 500; }
.hp-toc-m { display: none; }
.hp-main { min-width: 0; max-width: 900px; }

/* sections: refined hairline rule, display weight 600 */
.hp-sec { padding: 36px 0 clamp(56px, 5.5vw, 84px); scroll-margin-top: 88px; border-top: 1px solid var(--rule2); }
.hp-sec > header { margin-bottom: 24px; }
.hp-sec > header .hp-eyebrow { color: var(--ink3); }
.hp-sec h2 { font-family: var(--kz-ui); font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; margin: 12px 0 14px; color: var(--ink); }
.hp-sec .lead { font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; color: var(--ink2); margin: 0; max-width: 62ch; }
.hp-sec h3:not(.kz *) { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; margin: 38px 0 12px; color: var(--ink); scroll-margin-top: 96px; }
.hp-sec h4:not(.kz *) { font-size: 16.5px; line-height: 1.35; font-weight: 600; margin: 22px 0 8px; color: var(--ink); }
.hp-sec p:not(.kz *) { margin: 0 0 12px; color: var(--ink2); max-width: 70ch; }
.hp-sec ul:not(.kz *), .hp-sec ol:not(.kz *) { margin: 0 0 16px; padding-left: 22px; color: var(--ink2); list-style: disc; }
.hp-sec ol:not(.kz *) { list-style: decimal; }
.hp-sec li:not(.kz *) { margin: 5px 0; }
.hp-sec li:not(.kz *)::marker { color: var(--ink3); }
.hp-sec strong:not(.kz *), .hp-sec b:not(.kz *) { color: var(--ink); font-weight: 600; }
.hp-sec ol.hp-steps { list-style: none; padding-left: 0; counter-reset: s; }
.hp-sec .hp-steps > li:not(.kz *) { position: relative; padding-left: 42px; margin: 12px 0; counter-increment: s; }
.hp-sec .hp-steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--kz-line3); background: var(--soft); font-size: 12.5px; font-weight: 600; color: var(--ink); }
/* groups of steps or checks: elevated studio surfaces */
.hp-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.hp-card { padding: 22px 24px; border: 1px solid var(--kz-edge); border-radius: var(--kz-r); background: var(--soft); }
.hp-sec .hp-card h4:not(.kz *):first-child { margin-top: 0; }
.hp-card p:last-child, .hp-card ul:last-child, .hp-card ol:last-child { margin-bottom: 0; }
.hp-note { border: 1px solid var(--kz-edge); border-left: 2px solid rgba(245, 245, 247, .75); border-radius: 0 var(--kz-r) var(--kz-r) 0; background: var(--soft); padding: 14px 18px; margin: 28px 0; color: var(--ink2); font-size: 15.5px; max-width: 70ch; }
.hp-note.live { border-left-color: var(--amber); }
.hp-note b:first-child { color: var(--ink); font-weight: 600; }
.hp kbd:not(.kz *) { font-family: var(--kz-mono); font-size: 12.5px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--kz-line2); border-bottom-width: 2px; background: rgba(255, 255, 255, .04); color: var(--ink); white-space: nowrap; }
.hp code:not(.kz *) { font-family: var(--kz-mono); font-size: 13.5px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rule2); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.hp .t-amber { color: var(--amber); font-weight: 600; }
.hp .t-lime { color: var(--lime); font-weight: 600; }
.hp .sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: 3px; }

/* tables: elevated studio card with subtle hairlines */
.hp-tw { overflow-x: auto; margin: 16px 0 28px; border: 1px solid var(--kz-edge); border-radius: var(--kz-r); background: var(--soft); }
.hp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hp-table th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .10em; text-transform: uppercase; color: var(--ink3); background: rgba(255, 255, 255, .015); padding: 13px 16px 11px; border-bottom: 1px solid var(--rule2); }
.hp-table td { padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink2); line-height: 1.5; }
.hp-table tr:last-child td { border-bottom: 0; }
.hp-table td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.hp-table td.wrap { white-space: normal; }

/* figures: brushed dark-titanium bezel matching landing-v3 .app-box */
.hp-fig { margin: 28px 0 36px; }
.hp-fig .stage {
  border-radius: 18px;
  padding: 7px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 40%, rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.hp-fig .stage.pad { padding: 7px; }
.hp-fig .stage.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
.hp-fig .stage.row .hp-app { border: 6px solid #16161b; border-radius: 16px; box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .88), 0 0 0 1px rgba(255, 255, 255, .11); }
.hp-fig figcaption { font-size: 14px; line-height: 1.55; color: var(--ink3); margin-top: 12px; max-width: 72ch; }
.hp-app { display: block; width: 100%; border-radius: 11px; overflow: hidden; background: #101016; aspect-ratio: 1440 / 400; }
.hp-fig .stage.narrow, .hp-app.hp-narrow { max-width: 420px; }

/* contact: studio card at the end */
.hp-contact { padding: clamp(28px, 3.2vw, 44px); border: 1px solid var(--kz-edge); border-radius: 20px; background: var(--soft); color: var(--kz-text); display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.hp-contact h2 { font-family: var(--kz-ui); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; margin: 10px 0 10px; color: var(--ink); }
.hp-contact p { margin: 0; max-width: 56ch; color: var(--ink2); }
.hp-contact .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hp .hp-contact .kzk.pri { color: #050506; text-decoration: none; }
.hp .hp-contact .kzk.sec { color: var(--ink); text-decoration: none; }

@media (max-width: 960px) {
  .hp-layout { grid-template-columns: minmax(0, 1fr); }
  .hp-toc { display: none; }
  .hp-toc-m { display: block; margin-bottom: 48px; border-top: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2); }
  .hp-toc-m summary { cursor: pointer; min-height: 52px; padding: 0 2px; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .hp-toc-m summary::-webkit-details-marker { display: none; }
  .hp-toc-m summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--ink); }
  .hp-toc-m[open] summary::after { content: "\2212"; }
  .hp-toc-m .hp-tocb { padding: 0 0 16px; columns: 2; column-gap: 24px; }
  .hp-toc-m .hp-tocb h2 { break-after: avoid; margin-top: 16px; }
  .hp-toc-m .hp-tocb ol { break-inside: avoid; }
  .hp .hp-toc-m a { display: flex; align-items: center; min-height: 44px; margin-left: -1px; padding: 0 0 0 14px; border-left: 1px solid transparent; color: var(--ink2); text-decoration: none; }
  .hp-toc-m h2 { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin: 16px 0 4px; }
  .hp-toc-m ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule2); }
}
@media (max-width: 640px) {
  .hp { font-size: 15.5px; }
  .hp-hero { padding: 44px 0 48px; }
  .hp-hero h1 { font-size: clamp(36px, 11vw, 56px) !important; }
  .hp .hp-quick a { min-height: 40px; }
  .hp-fig .stage { border-radius: 14px; padding: 5px; }
  .hp-grid2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hp-toc-m .hp-tocb { columns: 1; }
  .hp-table { font-size: 15px; }
  .hp-table td:first-child { white-space: normal; }
  /* a three-column table: the third cell under the first two, across the row, so no column is squeezed to a word a line */
  .hp-t3 tr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .hp-t3 th:nth-child(3) { display: none; }
  .hp-t3 td:nth-child(-n+2) { border-bottom: 0; }
  .hp-t3 td:nth-child(3) { grid-column: 1 / -1; padding-top: 0; }
  .hp-t3 tbody tr + tr { border-top: 1px solid var(--rule); }
  .hp-t3 tbody tr td:nth-child(3) { border-bottom: 0; }
  .hp-contact .btns, .hp-contact .kzk { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
