body {
  min-width: 320px;
  font-size: 14px;
  line-height: 1.5;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.site-header, main, footer { max-width: 1536px; margin-inline: auto; }
.site-header {
  min-height: 72px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-header a, footer a { text-decoration: none; }
.site-header nav a, .workspace-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  transition: color 140ms ease;
}
.site-header nav a:hover, .workspace-link:hover { color: var(--accent); }
.workspace-link { gap: 10px; color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
  padding: 64px 48px 76px;
}
.hero-copy { padding-bottom: 8px; }
.hero h1 {
  max-width: 11ch;
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-description {
  max-width: 39ch;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.button.primary { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.button.primary:hover { background: #10151D; border-color: #10151D; }
.local-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.hero-principle { max-width: 38ch; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.hero-principle > span { font-size: 14px; font-weight: 600; }
.hero-principle p { margin-top: 6px; color: var(--muted); font-size: 13px; }

.research-example {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 2px 5px rgb(25 35 50 / .025);
}
.example-topline {
  min-height: 48px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
.example-context { margin-left: 6px; color: var(--muted); font-weight: 400; }
.sample-label {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.example-heading {
  padding: 20px 18px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.example-heading h2 { font-size: 18px; line-height: 1.4; }
.example-heading p, .example-date { color: var(--muted); font-size: 12px; }
.example-heading p { margin-top: 3px; }
.example-date { padding-top: 4px; white-space: nowrap; }
.example-tabs {
  display: flex;
  gap: 24px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.example-tabs button {
  min-height: 44px;
  margin-bottom: -1px;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 140ms ease, border-color 140ms ease;
}
.example-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.example-tabs button:hover { color: var(--ink); }
.example-workbench { min-height: 390px; display: grid; grid-template-columns: minmax(0, 1fr) 226px; }
.demo-domain-list { min-width: 0; padding-bottom: 10px; }
.demo-table-head {
  min-height: 40px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.demo-domain-list button {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
  transition: background-color 140ms ease;
}
.demo-domain-list button > span:first-child { font-weight: 500; }
.demo-domain-list button > span:last-child { color: var(--muted); text-align: right; font-size: 11px; white-space: nowrap; }
.demo-domain-list button.selected { background: var(--selected); color: var(--accent); }
.demo-domain-list button:hover { background: var(--hover); }
.evidence-preview { min-width: 0; padding: 18px 16px; border-left: 1px solid var(--line); background: var(--canvas); }
.evidence-type { margin-bottom: 14px; color: var(--muted); font-size: 11px; }
.evidence-preview h3 { max-width: 18ch; font-size: 17px; line-height: 1.3; letter-spacing: -.015em; }
.evidence-preview > p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.evidence-preview dl { margin: 18px 0; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px 10px; }
.evidence-preview dt { color: var(--muted); font-size: 11px; }
.evidence-preview dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 11px; line-height: 1.45; }
.evidence-note { display: block; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.5; }
.example-foot {
  padding: 11px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.report-sheet { max-width: 440px; min-height: 390px; margin: auto; padding: 24px 32px 20px; }
.report-sheet-heading { margin-bottom: 20px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.report-sheet h3 { font-size: 23px; letter-spacing: -.025em; }
.report-summary { margin-top: 5px; color: var(--muted); font-size: 12px; }
.report-rule { margin: 16px 0; border-top: 1px solid var(--line); }
.report-sheet h4 { margin-top: 14px; font-size: 13px; font-weight: 600; }
.report-sheet h4 + p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.report-citation { margin-top: 16px; padding-top: 10px; display: flex; gap: 9px; border-top: 1px solid var(--line); font-size: 10px; }
.report-citation p { line-height: 1.45; }
.report-citation p span { color: var(--muted); }
.report-page { display: block; margin-top: 14px; color: var(--muted); text-align: right; font-size: 9px; }

.workflow {
  margin: 0 48px;
  padding: 56px 0 68px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  border-top: 1px solid var(--line);
}
.workflow-intro h2, .scope-heading h2, .closing h2 { font-size: 34px; line-height: 1.18; letter-spacing: -.025em; }
.workflow-intro > p { max-width: 38ch; margin-top: 16px; color: var(--muted); font-size: 15px; }
.workflow-steps { margin: 0; padding: 0; list-style: none; }
.workflow-steps li { padding: 18px 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.workflow-steps li:first-child { padding-top: 0; border-top: 0; }
.step-number { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.workflow-steps h3 { font-size: 16px; }
.workflow-steps p { max-width: 66ch; margin-top: 6px; color: var(--muted); font-size: 13px; }
.scope-section {
  padding: 56px 48px 64px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.scope-heading > p { max-width: 40ch; margin-top: 16px; color: var(--muted); font-size: 15px; }
.scope-heading .scope-note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.55; }
.scope-list { margin: 0; padding: 0; }
.scope-list > div { padding: 13px 0; display: grid; grid-template-columns: minmax(150px, .9fr) minmax(0, 1.1fr); gap: 22px; border-top: 1px solid var(--line); }
.scope-list > div:first-child { padding-top: 0; border-top: 0; }
.scope-list dt { font-size: 13px; font-weight: 600; }
.scope-list dd { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.closing { padding: 64px 48px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.closing > div { flex: none; }
.closing p { margin-top: 10px; color: var(--muted); font-size: 12px; }
footer { min-height: 72px; padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
footer > span, footer > a:last-child { color: var(--muted); font-size: 12px; text-decoration: none; }
[hidden] { display: none !important; }

@media (min-width: 1600px) {
  .hero { gap: 64px; padding-block: 76px 88px; }
  .example-workbench { grid-template-columns: minmax(0, 1fr) 238px; }
  .demo-domain-list button { min-height: 40px; }
}
@media (max-width: 1120px) {
  .site-header, footer { padding-inline: 32px; }
  .hero { grid-template-columns: minmax(245px, .75fr) minmax(0, 1.25fr); gap: 28px; padding: 48px 32px 56px; }
  .hero h1 { font-size: clamp(40px, 5vw, 54px); }
  .example-workbench { grid-template-columns: minmax(0, 1fr) 205px; }
  .example-context { display: none; }
  .workflow, .scope-section { gap: 40px; }
  .workflow { margin-inline: 32px; }
  .scope-section { padding-inline: 32px; }
  .closing { padding-inline: 32px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { max-width: 14ch; font-size: clamp(46px, 8vw, 60px); }
  .hero-description { max-width: 48ch; font-size: 16px; }
  .hero-principle { display: none; }
  .research-example { width: 100%; }
  .workflow, .scope-section { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; }
  .workflow-intro h2, .scope-heading h2, .closing h2 { font-size: 30px; }
}
@media (max-width: 680px) {
  .site-header { min-height: 64px; padding-inline: 16px; gap: 14px; }
  .site-header nav { display: none; }
  .v7-brand img { width: 90px; height: 28px; }
  .workspace-link { gap: 6px; font-size: 13px; }
  .hero { padding: 36px 16px 44px; gap: 28px; }
  .hero h1 { font-size: clamp(40px, 11vw, 50px); }
  .hero-description { margin: 16px 0 22px; font-size: 15px; }
  .example-topline, .example-heading, .example-tabs { padding-inline: 13px; }
  .example-workbench { grid-template-columns: minmax(0, 1fr); }
  .demo-table-head { padding-inline: 12px; }
  .demo-domain-list button { min-height: 44px; padding-inline: 12px; font-size: 11px; }
  .demo-domain-list button > span:last-child { font-size: 10px; }
  .evidence-preview { border-top: 1px solid var(--line); border-left: 0; padding: 16px; }
  .evidence-type { margin-bottom: 8px; }
  .evidence-preview h3 { max-width: none; }
  .evidence-preview > p { font-size: 13px; }
  .evidence-preview dl { grid-template-columns: 96px minmax(0, 1fr); margin: 14px 0; }
  .evidence-preview dd { font-size: 12px; }
  .example-foot { padding-inline: 13px; font-size: 10px; }
  .example-foot > span:last-child { display: none; }
  .example-date { display: none; }
  .workflow, .scope-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .workflow { margin-inline: 16px; padding: 40px 0 48px; }
  .workflow-intro h2, .scope-heading h2, .closing h2 { font-size: 29px; }
  .workflow-intro > p, .scope-heading > p { margin-top: 12px; font-size: 14px; }
  .workflow-steps li { gap: 14px; padding: 16px 0; }
  .scope-section { padding: 40px 16px; }
  .scope-heading .scope-note { margin-top: 18px; padding-top: 14px; }
  .scope-list > div { grid-template-columns: minmax(112px, .85fr) minmax(0, 1.15fr); gap: 14px; padding: 12px 0; }
  .scope-list dt { font-size: 12px; }
  .scope-list dd { font-size: 11px; }
  .closing { padding: 42px 16px; display: block; }
  .closing > div { margin-top: 20px; }
  footer { padding: 20px 16px; flex-wrap: wrap; }
  footer > span { width: 100%; order: 3; }
  .report-sheet { min-height: 400px; padding: 22px 18px; }
}
