:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f5;
  --border: #e6e4df;
  --text: #171717;
  --muted: #6f6b63;
  --faint: #a8a29a;
  --accent: #111111;
  --success: #12805c;
  --danger: #c2410c;
  --shadow: 0 16px 48px rgba(17, 17, 17, 0.08);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; scroll-behavior: smooth; }
html:has(.landing-page) {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
}
body {
  font: 15px/1.65 var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: 0.55; cursor: not-allowed; }
button.secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
}
button.link-button {
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
}
button.link-button:hover { color: var(--text); }
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}
textarea { resize: vertical; min-height: 118px; }
input:focus, textarea:focus { border-color: #111; }

.topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
}
.brand { font-weight: 700; letter-spacing: 0; }
.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.brand-lockup small {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.toplink { color: var(--muted); font-size: 14px; }
.landing-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  border-bottom: 1px solid transparent;
}
.landing-topbar.scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(230, 228, 223, 0.85);
  backdrop-filter: blur(18px);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}
.navlinks a:hover { color: var(--text); }
.shell {
  width: min(920px, calc(100vw - 40px));
  margin: 0 auto;
}
.center-screen {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 32px 0 72px;
}
.hero {
  width: min(780px, 100%);
  text-align: center;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}
.landing-page {
  background:
    linear-gradient(#fff, #fff),
    radial-gradient(circle at 50% 0%, rgba(17, 17, 17, 0.05), transparent 36%);
  height: 100vh;
  overflow-y: auto;
}
.landing-hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 112px 20px 84px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.hero-inner {
  width: min(860px, 100%);
  text-align: center;
}
.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.landing-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 5.6vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}
.hero-subtitle {
  margin: 0 auto 36px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.landing-search {
  width: min(760px, 100%);
  margin: 0 auto;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: var(--faint);
  font-size: 12px;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  background: var(--border);
  margin: 8px auto 0;
}
.hero p {
  margin: 0 auto 34px;
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}
.searchbox {
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 12px;
  background: #fff;
  text-align: left;
}
.searchbox textarea {
  border: 0;
  padding: 14px 14px 8px;
  min-height: 132px;
  font-size: 17px;
  line-height: 1.65;
  resize: none;
  overflow: hidden;
}
.searchbox textarea:focus { border: 0; }
.search-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 6px;
}
.hint { color: var(--faint); font-size: 13px; }
.page {
  padding: 40px 0 80px;
}
.stack { display: grid; gap: 18px; }
.panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 24px;
}
.panel.soft { background: var(--surface-soft); }
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  margin: 0 0 12px;
}
.research-topic-input {
  min-height: 190px;
  margin-bottom: 12px;
  border-radius: 14px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  resize: vertical;
}
.research-topic-input[readonly] {
  color: var(--text);
  background: var(--surface-soft);
  cursor: default;
  resize: none;
}
.topic-lock-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.report-title {
  max-width: 960px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.22;
  font-weight: 800;
}
.research-status-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}
.subtitle { color: var(--muted); margin: 0; }
.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.list {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.list li::before {
  content: "✓";
  color: var(--success);
  margin-right: 10px;
  font-weight: 700;
}
.price {
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
  margin: 8px 0 12px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.fineprint { color: var(--muted); font-size: 13px; margin-top: 12px; }
.error { color: var(--danger); font-size: 14px; margin-top: 12px; }
.auth-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 32px 0 80px;
}
.auth-panel {
  width: min(430px, 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}
.auth-tabs button.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.auth-form {
  display: grid;
  gap: 16px;
}
.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.field-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.hidden { display: none !important; }
.account-page h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}
.account-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}
.account-email {
  color: var(--muted);
  font-size: 14px;
}
.report-list {
  display: grid;
  gap: 10px;
}
.report-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  background: var(--surface);
}
.report-main {
  min-width: 0;
}
.report-item-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
}
.payment-flow {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.payment-flow li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.payment-flow span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.payment-flow strong {
  font-weight: 500;
}
.manual-payment {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.payment-code {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}
.payment-code span {
  color: var(--muted);
  font-size: 13px;
}
.payment-code-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.payment-code strong {
  font-size: 30px;
  letter-spacing: 0.08em;
}
.copy-code {
  width: auto;
  padding: 9px 12px;
  white-space: nowrap;
}
.qr-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.qr-tabs button {
  padding: 9px 12px;
}
.qr-tabs button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.qr-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}
.qr-frame img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
}
.support-block,
.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  gap: 16px;
}
.support-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.support-panel {
  margin-top: 18px;
}
.checkout-support-panel {
  margin-top: 0;
}
.support-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.support-block img,
.support-panel img {
  display: block;
  width: 112px;
  height: 112px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
.remark-guide {
  display: grid;
  gap: 10px;
}
.guide-title {
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}
.remark-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.remark-guide figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.remark-guide img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
}
.remark-guide figcaption {
  padding: 8px 10px 10px;
  color: var(--muted);
  font-size: 12px;
}
.landing-section {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 84px 0;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.problem-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-top: 58px;
  padding-bottom: 26px;
}
.section-head {
  max-width: 740px;
  margin: 0 auto 44px;
  text-align: center;
}
.problem-section .section-head {
  margin-bottom: 4px;
}
.problem-section .section-head h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  margin-bottom: 10px;
}
.problem-section .section-head p {
  font-size: 16px;
  line-height: 1.55;
}
.section-head h2,
.final-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}
.section-head p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}
.compare-card,
.time-card,
.case-card,
.report-mock,
.feature-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 26px;
}
.compare-card {
  min-height: 590px;
  overflow: hidden;
}
.problem-section .compare-card {
  min-height: 0;
  padding: 18px 22px;
}
.problem-section .compare-card h3 {
  font-size: 30px;
  margin-bottom: 12px;
}
.problem-section .compare-label {
  margin-bottom: 8px;
}
.compare-card.focused {
  background: #111;
  border-color: #111;
  color: #fff;
  box-shadow: 0 22px 62px rgba(17, 17, 17, 0.18);
}
.compare-card.focused .compare-label {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
}
.compare-card.focused .flow-list li {
  color: #fff;
  font-weight: 500;
}
.compare-card.focused .flow-list li {
  border-bottom-color: rgba(255, 255, 255, 0.13);
}
.compare-card.focused .flow-list li::before {
  background: #fff;
}
.compare-card.focused .flow-list li:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.22);
}
.compare-label {
  display: inline-flex;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.compare-card h3 {
  margin: 0 0 20px;
  font-size: 32px;
  letter-spacing: 0;
}
.vs-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.18);
}
.knowledge-map,
.knowledge-tree {
  height: 230px;
  position: relative;
  margin: 10px 0 24px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(230, 228, 223, 0.55) 1px, transparent 1px),
    linear-gradient(rgba(230, 228, 223, 0.55) 1px, transparent 1px);
  background-size: 42px 42px;
}
.problem-section .knowledge-map,
.problem-section .knowledge-tree {
  height: 138px;
  margin: 6px 0 14px;
}
.knowledge-map::before,
.knowledge-tree::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(230, 228, 223, 0.7);
  border-radius: 999px;
}
.knowledge-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 13px;
}
.problem-section .compare-card:not(.focused) .compare-label,
.problem-section .compare-card:not(.focused) .flow-list li,
.problem-section .compare-card:not(.focused) .knowledge-map span {
  color: #34312c;
}
.problem-section .compare-card:not(.focused) .compare-label {
  font-weight: 600;
}
.problem-section .compare-card:not(.focused) h3 {
  color: #111;
  font-weight: 800;
}
.problem-section .compare-card:not(.focused) .flow-list li {
  font-weight: 600;
  border-bottom-color: #dedbd4;
}
.problem-section .compare-card:not(.focused) .flow-list li::before {
  background: #111;
}
.problem-section .compare-card:not(.focused) .flow-list li:not(:last-child)::after {
  background: #d6d2ca;
}
.problem-section .compare-card:not(.focused) .knowledge-map,
.problem-section .compare-card:not(.focused) .knowledge-tree {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
}
.problem-section .compare-card:not(.focused) .knowledge-map::before {
  border-color: rgba(17, 17, 17, 0.12);
}
.problem-section .compare-card:not(.focused) .knowledge-map span {
  border-color: #d8d4cc;
  background: #fff;
  font-weight: 600;
}
.knowledge-tree {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}
.compare-card.focused .knowledge-tree {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}
.compare-card.focused .knowledge-tree::before {
  border-color: rgba(255, 255, 255, 0.14);
}
.knowledge-tree span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}
.compare-card.focused .knowledge-tree span {
  border-color: #fff;
  background: #fff;
  color: #111;
  font-weight: 500;
}
.knowledge-tree .root {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.compare-card.focused .knowledge-tree .root {
  color: #111;
  background: #fff;
  border-color: #fff;
}
.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.flow-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  color: var(--muted);
  border-bottom: 1px solid #f0efeb;
}
.problem-section .flow-list li {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 14px;
}
.problem-section .flow-list li::before {
  top: 14px;
}
.problem-section .flow-list li:not(:last-child)::after {
  top: 25px;
  height: 9px;
}
.flow-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
}
.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 32px;
  width: 1px;
  height: 18px;
  background: var(--border);
}
.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.time-card {
  display: grid;
  gap: 14px;
}
.time-card.highlight {
  background: #111;
  color: #fff;
  border-color: #111;
}
.time-card.highlight .compare-label,
.time-card.highlight .time-row span {
  color: rgba(255, 255, 255, 0.68);
}
.time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(230, 228, 223, 0.72);
}
.time-card.highlight .time-row {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
.time-row span { color: var(--muted); }
.time-row strong { font-size: 22px; }
.time-total {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 800;
}
.time-note {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.time-card.highlight .time-note {
  color: rgba(255, 255, 255, 0.68);
}
.compression-line {
  margin: 34px 0 0;
  text-align: center;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.case-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.case-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}
.case-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}
.case-card button {
  width: 100%;
  display: block;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border-radius: 8px;
  padding: 10px 0;
  font-weight: 500;
  border-bottom: 1px solid #f0efeb;
}
.case-card button:hover {
  color: var(--text);
  background: transparent;
}
.preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.report-mock {
  box-shadow: var(--shadow);
}
.mock-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.mock-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.report-mock h3 {
  margin: 0 0 16px;
  font-size: 28px;
}
.report-mock ol {
  margin: 0 0 26px;
  padding-left: 22px;
  font-size: 18px;
}
.report-mock li { padding: 8px 0; }
.report-mock p {
  color: var(--muted);
  margin: 0;
}
.feature-panel {
  background: var(--surface-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-list span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 10px 13px;
  color: var(--muted);
}
.feature-panel strong {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}
.final-cta {
  width: 100%;
  margin: 0;
  padding: 120px 20px 140px;
  background: #111;
  color: #fff;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.final-inner {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}
.rotating-question {
  min-height: 78px;
  display: grid;
  place-items: center;
  margin: 28px auto 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
  transition: opacity 420ms ease, transform 420ms ease;
}
.rotating-question.fading {
  opacity: 0;
  transform: translateY(6px);
}
.final-inner p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  margin: 0 0 28px;
}
.final-search {
  width: min(720px, 100%);
  margin: 0 auto;
}
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}
.steps {
  display: grid;
  gap: 12px;
}
.step {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--faint);
}
.step.done .dot {
  background: var(--success);
  border-color: var(--success);
}
.step.running .dot {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 35%, transparent 38%);
  animation: pulse 1.4s ease-in-out infinite;
}
.state { color: var(--muted); font-size: 13px; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.55; }
}
.report {
  width: min(860px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 36px 0 80px;
}
.report-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.summary {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 18px;
  color: #302d28;
}
.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid #efede8;
}
.article {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.9;
}
.article h1, .article h2, .article h3 {
  line-height: 1.35;
  letter-spacing: 0;
  margin: 30px 0 12px;
}
.article h1 { font-size: 32px; }
.article h2 { font-size: 24px; }
.article h3 { font-size: 19px; }
.article p { margin: 0 0 16px; }
.article blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
  color: var(--muted);
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 18px 0;
}
.article th, .article td {
  border-bottom: 1px solid var(--border);
  padding: 8px;
  text-align: left;
}
.empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.case-library {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}
.case-library-head {
  max-width: 780px;
  margin: 42px auto 48px;
  text-align: center;
}
.case-library-head h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}
.case-library-head p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}
.case-library-section {
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
}
.section-head.compact {
  margin-bottom: 26px;
  text-align: left;
}
.section-head.compact h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.generated-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.generated-case-card {
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}
.generated-case-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
}
.generated-case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.case-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
}
.case-pagination button {
  width: auto;
  min-width: 92px;
}
.case-library-link {
  margin-top: 28px;
  text-align: center;
}
.hero-case-link {
  margin-top: 18px;
}
.case-library-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 600;
}
.case-library-link a:hover {
  color: #fff;
  border-color: var(--accent);
  opacity: 0.86;
}
@media (max-width: 760px) {
  .topbar { padding: 0 20px; }
  .grid { grid-template-columns: 1fr; }
  .remark-guide-grid { grid-template-columns: 1fr 1fr; }
  .remark-guide img { height: 220px; }
  .copy-code { width: auto; }
  .search-actions, .actions { flex-direction: column; align-items: stretch; }
  button { width: 100%; }
  button.link-button { width: auto; }
  .account-head,
  .report-item {
    align-items: stretch;
    flex-direction: column;
  }
  .report-item-title {
    white-space: normal;
  }
  .report-actions {
    justify-content: stretch;
  }
  .action-link {
    justify-content: center;
    flex: 1 1 120px;
  }
  .support-block,
  .support-panel {
    grid-template-columns: 1fr;
  }
  .support-block img,
  .support-panel img {
    width: 140px;
    height: 140px;
  }
  .step { grid-template-columns: 22px 1fr; }
  .step .state { grid-column: 2; }
  .navlinks { gap: 14px; font-size: 13px; }
  .landing-page {
    scroll-snap-type: y proximity;
  }
  html:has(.landing-page) {
    scroll-snap-type: y proximity;
  }
  .landing-hero { min-height: 100vh; padding-top: 96px; }
  .landing-hero h1 {
    font-size: clamp(28px, 7.5vw, 46px);
    white-space: nowrap;
  }
  .landing-section { padding: 76px 0; }
  .problem-section {
    min-height: auto;
    justify-content: flex-start;
  }
  .section-head { text-align: left; }
  .section-head h2, .final-cta h2 { font-size: clamp(36px, 11vw, 54px); }
  .compare-grid,
  .time-grid,
  .preview-grid,
  .case-grid,
  .generated-case-grid {
    grid-template-columns: 1fr;
  }
  .vs-mark {
    margin: 0 auto;
  }
  .compare-card { min-height: auto; }
  .problem-section .knowledge-map,
  .problem-section .knowledge-tree {
    height: 210px;
  }
  .knowledge-tree {
    grid-template-columns: 1fr;
    padding: 16px;
    height: auto;
  }
  .feature-list { grid-template-columns: 1fr; }
  .final-cta { padding: 90px 20px 110px; }
}
