@font-face { font-family: "Open Sans"; src: url("../assets/fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/OpenSans-Semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --green: #107c41;
  --ink: #202124;
  --muted: #5f6368;
  --quiet: #86868b;
  --line: #e7e9eb;
  --inset: #f6f7f8;
  --bg: #ffffff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 "Open Sans", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }

.help-bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 16px 20px;
}
.help-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.help-brand img { border-radius: 8px; }
.help-home { font-size: 14px; color: var(--muted); }

.help-main { max-width: 1120px; margin: 0 auto; padding: 8px 20px 40px; }
.help-back { display: inline-flex; gap: 6px; font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.help-back span { font-size: 20px; line-height: 1; }

h1 { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
h1 .help-icon { width: 30px; height: 30px; color: var(--green); }
.help-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* contents */
.help-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; margin-bottom: 44px; }
.help-toc a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.help-toc a span { color: var(--quiet); font-size: 20px; line-height: 1; }

/* a job */
.help-job { padding: 34px 0 10px; scroll-margin-top: 12px; }
.help-job + .help-job { border-top: 1px solid var(--line); }
h2 { margin: 0 0 22px; font-size: 21px; font-weight: 600; }
.help-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 24px;
}
.help-steps figure { margin: 0; }
.help-steps img {
  display: block; width: 100%; height: auto; border-radius: 22px;
  border: 1px solid var(--line); background: var(--inset);
}
.help-steps figcaption { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 15px; line-height: 1.45; }
.help-steps .n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 13px; font-weight: 600;
  display: grid; place-items: center; margin-top: -1px;
}
.help-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

.help-next { display: flex; align-items: baseline; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.help-next span:first-child { font-size: 14px; font-weight: 400; color: var(--muted); }
.help-next span:last-child { color: var(--green); }

/* index */
.help-index { max-width: 640px; }
.help-title { justify-content: center; text-align: center; margin: 28px 0 22px; }
.help-search {
  width: 100%; height: 52px; border: 1px solid #d9dde1; border-radius: 12px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; outline: none; margin-bottom: 26px;
}
.help-search:focus { border-color: var(--green); }
.help-modules, .help-results { list-style: none; margin: 0; padding: 0; }
.help-modules a, .help-results a { display: flex; align-items: center; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.help-modules .help-icon { color: var(--green); }
.help-modules span, .help-results span { flex: 1; font-size: 16px; }
.help-modules small, .help-results small { color: var(--quiet); font-size: 14px; }
.help-modules i { font-style: normal; color: var(--quiet); font-size: 20px; line-height: 1; }
.help-results .none { padding: 15px 2px; color: var(--muted); }

.help-foot { max-width: 1120px; margin: 0 auto; padding: 24px 20px 40px; text-align: center; font-size: 14px; color: var(--quiet); }
.help-foot a { color: var(--green); font-weight: 600; }

@media (max-width: 640px) {
  .help-bar, .help-main, .help-foot { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 24px; }
  .help-steps { grid-template-columns: 1fr; gap: 30px; }
  .help-steps figure { max-width: 280px; margin: 0 auto; }
  .help-toc { grid-template-columns: 1fr; }
}
