
:root {
  --bg: #0a0d0b;
  --bg-alt: #0d110e;
  --panel: #101512;
  --panel-2: #131a15;
  --line: #1f2a23;
  --line-strong: #2d3d33;
  --text: #d8e3db;
  --muted: #8fa096;
  --faint: #5d6d64;
  --green: #35d07f;
  --green-dim: rgba(53, 208, 127, 0.14);
  --red: #d5484f;
  --red-dim: rgba(213, 72, 79, 0.12);
  --amber: #d9a441;
  --amber-dim: rgba(217, 164, 65, 0.12);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 1200px 600px at 50% -150px, rgba(53, 208, 127, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 900px 500px at 85% 100%, rgba(53, 208, 127, 0.04) 0%, transparent 55%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.12) 4px
  );
  z-index: 1;
  opacity: 0.35;
}

.ghq-mono { font-family: var(--mono); }
.ghq-num-red { color: var(--red); }
.ghq-num-amber { color: var(--amber); }
.ghq-num-green { color: var(--green); }

.ghq-container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ghq-container-narrow { max-width: 780px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.ghq-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 11, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  border-top: 2px solid var(--red);
}
.ghq-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}
.ghq-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ghq-brand img { border-radius: 3px; border: 1px solid var(--line-strong); }
.ghq-brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ghq-brand-text strong { font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; }
.ghq-brand-text em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.ghq-nav { display: flex; align-items: center; gap: 26px; }
.ghq-nav > a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.ghq-nav > a:hover { color: var(--green); }
.ghq-nav-cta { margin-left: 4px; }
.ghq-nav > a.ghq-nav-cta { color: #06110b; }
.ghq-nav > a.ghq-nav-cta:hover { color: #06110b; }

.ghq-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 22px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.ghq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.ghq-btn i { font-size: 1.15em; }
.ghq-btn-primary {
  background: var(--green);
  color: #06110b;
  padding: 10px 22px;
  font-size: 15px;
}
.ghq-btn-primary:hover { background: #4ade90; }
.ghq-btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  padding: 10px 22px;
  font-size: 15px;
}
.ghq-btn-ghost:hover { border-color: var(--green); color: var(--green); }
.ghq-btn-lg { padding: 14px 28px; font-size: 16px; }
.ghq-btn-sm { padding: 7px 14px; font-size: 13px; }

.ghq-hero { padding: 72px 0 84px; }
.ghq-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.ghq-file-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.ghq-stamp-secret {
  font-family: var(--sans);
  color: var(--red);
  border: 2px solid var(--red);
  padding: 1px 8px;
  font-weight: 700;
  letter-spacing: 0.3em;
  transform: rotate(-4deg);
  display: inline-block;
  font-size: 13px;
  opacity: 0.9;
}
.ghq-tag-fiction {
  color: var(--amber);
  border: 1px dashed var(--amber);
  padding: 1px 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.ghq-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #f0f6f1;
}
.ghq-hero-en {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 0.22em;
  margin: 8px 0 20px;
}
.ghq-hero-lead { color: var(--muted); font-size: 16.5px; max-width: 34em; }
.ghq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}
.ghq-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--faint);
}
.ghq-hero-meta i { color: var(--green); margin-right: 5px; vertical-align: -2px; }

.ghq-hero-panel {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.ghq-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  letter-spacing: 0.06em;
}
.ghq-blink { animation: blink 1.2s step-end infinite; color: var(--green); }
@keyframes blink { 50% { opacity: 0; } }
.ghq-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ghq-panel-cell {
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ghq-panel-cell:nth-child(2n) { border-right: none; }
.ghq-panel-cell:nth-child(n+3) { border-bottom: none; }
.ghq-panel-num {
  display: block;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #f0f6f1;
  letter-spacing: 0.02em;
}
.ghq-panel-label { font-size: 12.5px; color: var(--muted); }
.ghq-panel-foot {
  padding: 13px 16px;
  font-size: 12.5px;
  color: var(--amber);
  background: var(--panel-2);
}
.ghq-panel-foot i { vertical-align: -2px; margin-right: 4px; }
.ghq-panel-note {
  padding: 9px 16px;
  font-size: 11.5px;
  color: var(--faint);
  border-top: 1px dashed var(--line);
  background: var(--panel-2);
}

.ghq-section { padding: 84px 0; }
.ghq-section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ghq-section-head { text-align: center; margin-bottom: 52px; }
.ghq-section-kicker {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.28em;
  margin-bottom: 10px;
}
.ghq-section-head h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: 0.06em;
  color: #f0f6f1;
}
.ghq-section-sub { color: var(--muted); margin-top: 10px; font-size: 15px; }

.ghq-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.ghq-doc-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 34px 36px 28px;
  position: relative;
}
.ghq-doc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 55%, transparent 100%);
}
.ghq-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 14px;
}
.ghq-doc-seal {
  color: var(--red);
  border: 1px solid var(--red);
  padding: 1px 10px;
  font-size: 12px;
  transform: rotate(2deg);
  opacity: 0.85;
}
.ghq-doc-fiction {
  color: var(--amber);
  border: 1px dashed var(--amber);
  padding: 1px 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.ghq-doc-title {
  font-size: 19px;
  color: #f0f6f1;
  margin-bottom: 16px;
  line-height: 1.5;
}
.ghq-doc-card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.ghq-doc-foot { color: var(--faint) !important; font-size: 13px !important; text-align: right; }

.ghq-stat-list { display: flex; flex-direction: column; gap: 14px; }
.ghq-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.ghq-stat-item i {
  font-size: 24px;
  color: var(--green);
  margin-top: 3px;
}
.ghq-stat-item strong { display: block; color: #f0f6f1; font-size: 15.5px; }
.ghq-stat-item span { color: var(--muted); font-size: 13.5px; }

.ghq-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ghq-feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.ghq-feature-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.ghq-feature-no {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.ghq-feature-card > i { font-size: 30px; color: var(--green); }
.ghq-feature-card h3 { font-size: 17px; margin: 14px 0 8px; color: #f0f6f1; letter-spacing: 0.04em; }
.ghq-feature-card p { color: var(--muted); font-size: 13.5px; }

.ghq-extra-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.ghq-extra-strip > div {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  font-size: 13.5px;
}
.ghq-extra-strip > div:last-child { border-right: none; }
.ghq-extra-strip i { font-size: 22px; color: var(--amber); flex-shrink: 0; }
.ghq-extra-strip strong { color: #f0f6f1; margin-right: 8px; white-space: nowrap; }
.ghq-extra-strip span { color: var(--muted); }

.ghq-module-list { display: flex; flex-direction: column; gap: 64px; }
.ghq-module-row {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}
.ghq-module-row-rev { grid-template-columns: 1fr 380px; }
.ghq-module-row-rev .ghq-module-shot { order: 2; }
.ghq-module-row-rev .ghq-module-copy { order: 1; }
.ghq-module-shot {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  max-width: 340px;
  margin: 0 auto;
}
.ghq-module-shot img { width: 100%; }
.ghq-module-tag { color: var(--green); font-size: 12px; letter-spacing: 0.2em; margin-bottom: 10px; }
.ghq-module-copy h3 {
  font-size: 24px;
  color: #f0f6f1;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.ghq-module-copy p { color: var(--muted); font-size: 15px; }

.ghq-shots-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.ghq-shot {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}
.ghq-shot img { width: 100%; height: 400px; object-fit: cover; object-position: top; }
.ghq-shot figcaption {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  letter-spacing: 0.05em;
}
.ghq-shots-nav { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.ghq-shots-nav button {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.ghq-shots-nav button:hover { border-color: var(--green); color: var(--green); }

.ghq-ending-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.ghq-ending-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.ghq-ending-card i { font-size: 26px; color: var(--green); }
.ghq-ending-card h3 { font-size: 16.5px; color: #f0f6f1; margin: 12px 0 2px; }
.ghq-ending-type { font-size: 11.5px; color: var(--faint); letter-spacing: 0.14em; margin-bottom: 10px; }
.ghq-ending-card p:last-child { color: var(--muted); font-size: 13px; }
.ghq-ending-bad { border-top-color: var(--red); }
.ghq-ending-bad i { color: var(--red); }

.ghq-join-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.ghq-join-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.ghq-join-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 18px;
  z-index: 2;
}
.ghq-step-no { font-size: 11px; color: var(--green); letter-spacing: 0.2em; }
.ghq-join-step i { display: block; font-size: 30px; color: var(--green); margin: 12px 0 10px; }
.ghq-join-step h3 { font-size: 17.5px; color: #f0f6f1; margin-bottom: 8px; letter-spacing: 0.05em; }
.ghq-join-step p { color: var(--muted); font-size: 13.5px; }

.ghq-faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: 12px;
}
.ghq-faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 600;
  font-size: 15.5px;
  color: #e8f0ea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ghq-faq-list summary::-webkit-details-marker { display: none; }
.ghq-faq-list summary i { color: var(--green); transition: transform 0.25s; flex-shrink: 0; }
.ghq-faq-list details[open] summary i { transform: rotate(180deg); }
.ghq-faq-list details p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

.ghq-section-download { background: var(--bg-alt); border-top: 1px solid var(--line); }
.ghq-download-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.ghq-download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 15% 0%, var(--green-dim) 0%, transparent 70%);
  pointer-events: none;
}
.ghq-download-copy { position: relative; }
.ghq-download-tag { color: var(--green); font-size: 12px; letter-spacing: 0.22em; margin-bottom: 12px; }
.ghq-download-copy h2 { font-size: clamp(24px, 3vw, 32px); color: #f0f6f1; letter-spacing: 0.05em; margin-bottom: 12px; }
.ghq-download-lead { color: var(--muted); margin-bottom: 26px; max-width: 30em; }
.ghq-btn-block-m { margin-bottom: 22px; }

.ghq-dl-table {
  position: relative;
  align-self: center;
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.ghq-dl-table caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.14em;
  padding-bottom: 8px;
}
.ghq-dl-table th, .ghq-dl-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
.ghq-dl-table th { color: var(--muted); font-weight: 500; white-space: nowrap; width: 92px; }
.ghq-dl-table td { color: var(--text); word-break: break-all; }
.ghq-dl-table tr:last-child th, .ghq-dl-table tr:last-child td { border-bottom: none; }

.ghq-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  background: #080b09;
}
.ghq-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.ghq-footer-brand img { border-radius: 3px; }
.ghq-footer-brand strong { display: block; font-size: 15px; color: #e8f0ea; }
.ghq-footer-brand span { font-size: 12px; color: var(--faint); letter-spacing: 0.05em; }
.ghq-footer-notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 26px;
}
.ghq-footer-notice p { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.ghq-footer-notice p + p { margin-top: 8px; }
.ghq-footer-notice strong { color: var(--text); }
.ghq-footer-copy { font-size: 12px; color: var(--faint); text-align: center; }

.ghq-fade-up { opacity: 1; }
.ghq-js .ghq-fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ghq-js .ghq-fade-up.ghq-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ghq-js .ghq-fade-up { opacity: 1; transform: none; transition: none; }
  .ghq-blink { animation: none; }
}

@media (max-width: 960px) {
  .ghq-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ghq-overview-grid { grid-template-columns: 1fr; }
  .ghq-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ghq-ending-grid { grid-template-columns: repeat(3, 1fr); }
  .ghq-module-row, .ghq-module-row-rev { grid-template-columns: 1fr; gap: 28px; }
  .ghq-module-row-rev .ghq-module-shot { order: 0; }
  .ghq-module-row-rev .ghq-module-copy { order: 1; }
  .ghq-join-steps { grid-template-columns: 1fr; }
  .ghq-join-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -20px; transform: translateX(50%); }
  .ghq-download-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .ghq-extra-strip { grid-template-columns: 1fr; }
  .ghq-extra-strip > div { border-right: none; border-bottom: 1px solid var(--line); }
  .ghq-extra-strip > div:last-child { border-bottom: none; }
}

@media (max-width: 720px) {
  .ghq-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 13, 11, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    z-index: 99;
  }
  .ghq-nav.ghq-open { display: flex; }
  .ghq-nav > a { padding: 15px 22px; border-top: 1px solid var(--line); font-size: 15px; }
  .ghq-nav-cta { margin: 12px 22px 16px; justify-content: center; border-top: none !important; }
  .ghq-nav-toggle { display: block; }
  .ghq-section { padding: 60px 0; }
  .ghq-hero { padding: 48px 0 56px; }
  .ghq-feature-grid { grid-template-columns: 1fr; }
  .ghq-ending-grid { grid-template-columns: 1fr; }
  .ghq-shot { flex-basis: 180px; }
  .ghq-shot img { height: 330px; }
  .ghq-hero-actions .ghq-btn { flex: 1 1 0; justify-content: center; }
}
