@import url('../assets/tokens.css');

/* Poppins headings (OFL, see ../assets/fonts/LICENSE-Poppins.txt), self-hosted. */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/poppins-latin-700-normal.woff2') format('woff2'); }

/* Keep the standalone help route independent of WEB-01's framework choice. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink-900); font: 16px/1.55 var(--font-body); }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 5px; }
.skip { position: absolute; left: 24px; top: -80px; background: var(--bg); padding: 12px; z-index: 2; }
.skip:focus { top: 12px; }
main { max-width: 1248px; margin-inline: auto; padding-inline: 40px; }
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; text-decoration: none; }
.brand img { object-fit: contain; }
.header-label { color: var(--ink-500); font-size: 14px; }
.hero { padding-block: 80px 48px; max-width: 680px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; margin: 0 0 18px; }
h1, h2, h3, .brand { font-family: var(--font-deck); }
h1 { font-size: clamp(54px, 7vw, 88px); line-height: 1.02; letter-spacing: -4px; margin: 0 0 24px; }
.intro { font-size: 20px; color: var(--ink-500); margin: 0 0 32px; }
.search-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.search { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 20px; }
.search > span { font-size: 28px; line-height: 1; }
input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--ink-900); padding: 4px; }
.search:focus-within { outline: 2px solid var(--ink-900); outline-offset: 3px; }
input:focus-visible { outline: none; }
.search-status { min-height: 22px; font-size: 13px; color: var(--ink-500); margin: 8px 0 0; }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { color: var(--ink-500); margin-bottom: 8px; }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -1px; margin: 0; }
.topics { padding-block: 0 64px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic { position: relative; padding: 24px; min-height: 220px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: background .15s; }
.topic:hover { background: var(--surface); }
.topic-number { display: grid; place-items: center; background: var(--brand-action); color: var(--on-primary); width: 30px; height: 30px; border-radius: 50%; font-size: 12px; margin-bottom: 28px; }
h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.topic p { color: var(--ink-500); font-size: 14px; margin: 0; padding-right: 10px; }
.arrow { position: absolute; right: 20px; top: 22px; font-size: 24px; }
.questions { display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; padding-block: 48px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 24px 32px 24px 0; min-height: 64px; }
details p { color: var(--ink-700); margin: 0 0 24px; max-width: 600px; }
.guides { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; padding-block: 32px 72px; }
.guides article { scroll-margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.guides h2 { font-size: 22px; letter-spacing: -.5px; }
.guides p { color: var(--ink-700); font-size: 15px; }
.support { margin-inline: -40px; padding: 48px 40px; background: var(--charcoal); color: var(--on-charcoal); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.support p { margin-top: 0; }
.support p:last-child { color: var(--gray-204); margin-bottom: 0; }
footer { display: flex; justify-content: space-between; padding-block: 32px; font-size: 13px; color: var(--ink-500); border-top: 6px solid var(--brand-primary); }
footer span:first-child { font-weight: 700; color: var(--ink-900); }
#no-results { padding: 24px; background: var(--surface); border-radius: var(--radius-md); margin-block: 0 48px; }
@media (max-width: 900px) { .topic-grid { grid-template-columns: 1fr 1fr; } .questions { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 600px) {
  main { padding-inline: 22px; }
  .site-header { height: 80px; }
  .brand { font-size: 16px; }.brand img { width: 28px; }
  .header-label { font-size: 11px; max-width: 70px; text-align: right; }
  .hero { padding-block: 48px 32px; }
  h1 { letter-spacing: -2.5px; }.intro { font-size: 17px; }
  .topic { padding: 20px; min-height: 210px; }.topic h3 { font-size: 16px; }.topic p { padding: 0; }
  .topics { padding-bottom: 40px; }.questions { padding-block: 32px; }
  .guides { grid-template-columns: 1fr; padding-bottom: 48px; gap: 16px; }
  .support { grid-template-columns: 1fr; gap: 24px; margin-inline: -22px; padding: 36px 22px; }
  footer { gap: 24px; } h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* The website shell uses shared layout rules; help controls stay scoped here. */
.site-header { height: auto; display: block; padding: 0; }
.site-footer { display: block; max-width: none; padding-inline: 0; color: var(--ink-900); border-top: 0; }
@media(max-width:720px){.site-header{height:auto}.topic-grid{grid-template-columns:1fr 1fr}}
@media(max-width:359px){.topic-grid{grid-template-columns:1fr}}
