:root {
  --page: #111512;
  --page-deep: #0b0e0c;
  --surface: #181d19;
  --surface-soft: #202620;
  --surface-strong: #292f29;
  --line: rgba(235, 240, 233, 0.15);
  --line-strong: rgba(235, 240, 233, 0.27);
  --text: #f2f5f0;
  --muted: #b7c0b8;
  --subtle: #8f9991;
  --accent: #f2c94c;
  --accent-hover: #ffd865;
  --accent-ink: #171910;
  --signal-rgb: 242 201 76;
  --danger: #ff8a74;
  --gold: var(--accent);
  --black: var(--page-deep);
  --text-light: var(--text);
  --radius: 16px;
  --radius-control: 12px;
  --header-height: 72px;
  --shell: min(1280px, calc(100vw - 48px));
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--page);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: inherit;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 0%, rgb(var(--signal-rgb) / 0.07), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 24rem);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 21, 18, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-shell {
  width: var(--shell);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark,
.footer-brand-mark {
  display: block;
  max-width: 100%;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.brand-copy small {
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.site-nav > a,
.site-nav > button,
.lang-toggle,
.yjh-account-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-nav > a:hover,
.lang-toggle:hover,
.yjh-account-button:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.site-nav .nav-quote {
  margin-left: 4px;
  padding-inline: 16px;
  background: var(--accent);
  color: var(--accent-ink);
}

.site-nav .nav-quote:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.site-nav .nav-client {
  border-color: var(--line-strong);
  color: var(--text);
}

.site-nav .yjh-account-button {
  margin: 0;
  border-color: transparent;
  box-shadow: none;
}

.site-nav > a:active,
.lang-toggle:active,
.yjh-account-button:active,
.button:active,
.task-panel a:active,
.tool-primary:active,
.tool-item:active {
  transform: translateY(1px);
}

.lang-wrap {
  position: relative;
}

.lang-toggle {
  gap: 8px;
}

.lang-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 166px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: #1c211d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.lang-wrap.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.lang-dropdown button:hover,
.lang-dropdown button[aria-current="true"] {
  background: var(--surface-strong);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 160ms ease;
}

.menu-toggle > span:first-child {
  transform: translateY(-4px);
}

.menu-toggle > span:nth-child(2) {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: rotate(-45deg);
}

.section-shell,
.hero-shell,
.footer-shell {
  width: var(--shell);
  margin: 0 auto;
}

.home-hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  align-items: center;
  padding: clamp(36px, 5vw, 68px) 0;
  overflow: hidden;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(470px, 0.96fr) minmax(540px, 1.04fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.hero-copy {
  max-width: 570px;
}

.hero-copy h1 {
  max-width: 11.5em;
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-copy p {
  max-width: 37rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.8;
}

.hero-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-width: 118px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgb(var(--signal-rgb) / 0.58);
  background: rgb(var(--signal-rgb) / 0.08);
}

.hero-workbench {
  display: grid;
  gap: 12px;
}

.hero-media {
  position: relative;
  aspect-ratio: 1586 / 992;
  min-height: clamp(300px, 46vh, 500px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 14, 12, 0.35), transparent 48%, rgb(var(--signal-rgb) / 0.06));
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.task-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.task-panel a {
  position: relative;
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.task-panel a + a {
  border-left: 1px solid var(--line);
}

.task-panel a:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.task-panel strong {
  font-size: 15px;
  line-height: 1.4;
}

.task-panel span {
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.5;
}

.task-panel a:hover span {
  color: rgba(23, 25, 16, 0.72);
}

.has-js .hero-workbench {
  animation: hero-enter 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-enter {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}

.section {
  padding: clamp(78px, 8vw, 118px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading h2,
.about-shell h2,
.ai-panel h2 {
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.section-heading p,
.about-shell p,
.ai-panel p {
  max-width: 65ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  grid-template-rows: repeat(3, minmax(156px, auto));
  gap: 14px;
}

.problem-route,
.problem-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.problem-route {
  position: relative;
  grid-row: 1 / 4;
  min-height: 520px;
  background: var(--surface);
}

.problem-route::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 10, 8, 0.92) 92%);
}

.problem-route img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img[src$="-board.svg"],
.problem-route img[src$="-board.svg"],
.services-media img[src$="-board.svg"] {
  background: #111614;
  object-fit: contain;
}

.problem-route > div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  max-width: 680px;
  padding: clamp(26px, 4vw, 48px);
}

.problem-route h3,
.problem-item h3,
.service-list h3,
.tool-primary h3,
.tool-item h3,
.evidence-board h3 {
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.problem-route p,
.problem-item p {
  margin-top: 10px;
  color: var(--muted);
}

.problem-route a,
.problem-item a,
.problem-item button,
.text-link {
  min-height: 44px;
  align-items: center;
  display: inline-flex;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgb(var(--signal-rgb) / 0.45);
  text-underline-offset: 0.35em;
  cursor: pointer;
}

.problem-item {
  display: grid;
  align-content: center;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.problem-ecommerce {
  background: var(--surface-soft);
}

.problem-urgent {
  border-color: rgb(var(--signal-rgb) / 0.36);
}

.services-section {
  background: var(--page-deep);
}

.services-shell {
  display: grid;
  grid-template-columns: minmax(320px, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(44px, 7vw, 96px);
}

.services-media {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.services-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1586 / 992;
  min-height: 560px;
  border-radius: var(--radius);
  object-fit: cover;
}

.services-media p {
  max-width: 38ch;
  margin-top: 16px;
  color: var(--subtle);
  font-size: 13px;
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(260px, 1.2fr);
  gap: 18px 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3 {
  font-size: 21px;
}

.service-list p {
  color: var(--muted);
}

.service-list span {
  grid-column: 2;
  color: var(--subtle);
  font-size: 12px;
}

.text-link {
  margin-top: 30px;
}

.process-section {
  background: var(--surface);
}

.process-heading {
  max-width: 760px;
}

.process-list {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.process-list li {
  counter-increment: process;
  min-width: 0;
  padding: 22px 14px 0;
  border-left: 1px solid var(--line);
}

.process-list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.process-list details {
  color: var(--text);
}

.process-list summary {
  position: relative;
  min-height: 62px;
  padding-right: 20px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.process-list summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}

.process-list summary::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--subtle);
  border-bottom: 1.5px solid var(--subtle);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.process-list details[open] summary::after {
  transform: translateY(4px) rotate(225deg);
}

.process-list details p {
  padding: 0 8px 22px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  grid-template-rows: repeat(3, minmax(150px, auto));
  gap: 14px;
}

.tool-primary,
.tool-item {
  display: grid;
  align-content: center;
  padding: clamp(26px, 3vw, 42px);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.tool-primary {
  grid-row: 1 / 4;
  background: var(--accent);
  color: var(--accent-ink);
}

.tool-primary > span {
  margin-bottom: auto;
  font-size: 13px;
  font-weight: 800;
}

.tool-primary h3 {
  max-width: 12ch;
  margin-top: 80px;
  font-size: clamp(34px, 4vw, 58px);
}

.tool-primary p {
  max-width: 48ch;
  margin-top: 16px;
  color: rgba(23, 25, 16, 0.78);
}

.tool-primary strong,
.tool-item strong {
  margin-top: 24px;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.tool-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.tool-item {
  border: 1px solid var(--line);
  background: var(--surface);
}

.tool-item:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  transform: translateY(-2px);
}

.tool-item h3 {
  font-size: 23px;
}

.tool-item p {
  margin-top: 8px;
  color: var(--muted);
}

.tool-item strong {
  color: var(--accent);
  font-size: 13px;
}

.tool-knowledge {
  background: linear-gradient(135deg, rgb(var(--signal-rgb) / 0.11), var(--surface) 62%);
}

.evidence-section {
  background: var(--page-deep);
}

.evidence-shell .section-heading {
  max-width: 670px;
}

.evidence-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.evidence-board article {
  padding: 36px 30px 38px 0;
}

.evidence-board article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.evidence-board h3 {
  font-size: 21px;
}

.evidence-board p {
  margin-top: 12px;
  color: var(--muted);
}

.updated-note {
  margin-top: 20px;
  color: var(--subtle);
  font-size: 12px;
}

.knowledge-shell {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  align-items: start;
  gap: clamp(40px, 7vw, 92px);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 34px 22px 0;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::after,
.faq-list summary::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 12px;
  height: 1.5px;
  background: var(--accent);
  transition: transform 160ms ease;
}

.faq-list summary::before {
  transform: rotate(90deg);
}

.faq-list details[open] summary::before {
  transform: rotate(0deg);
}

.faq-list details p {
  max-width: 62ch;
  padding: 0 42px 24px 0;
  color: var(--muted);
}

.ai-panel {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: clamp(32px, 4vw, 50px);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
}

.ai-panel h2 {
  max-width: 10ch;
  font-size: clamp(34px, 3.8vw, 54px);
}

.ai-panel p {
  color: rgba(23, 25, 16, 0.78);
}

.button-dark {
  margin-top: 28px;
  background: var(--page-deep);
  color: var(--text);
}

.button-dark:hover {
  background: #202620;
}

.ai-panel > a {
  display: block;
  width: fit-content;
  margin-top: 22px;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
}

.about-section {
  background: var(--surface);
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
  align-items: end;
  gap: 48px;
}

.about-shell h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.about-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  padding: 48px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--page-deep);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  font-size: 15px;
}

.footer-brand p {
  margin-top: 3px;
  color: var(--subtle);
  font-size: 12px;
}

.footer-top {
  align-self: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 11px;
}

.footer-legal a {
  color: var(--muted);
}

.footer-copyright {
  grid-column: 1 / -1;
  color: var(--subtle);
  font-size: 11px;
}

.ai-chat-widget {
  top: auto;
  right: 24px;
  bottom: 24px;
  align-items: flex-end;
  transform: translate(392px, 0);
}

.ai-chat-widget:hover,
.ai-chat-widget:focus-within {
  transform: translate(392px, 0);
}

.ai-chat-widget.is-open,
.ai-chat-widget.is-open:hover,
.ai-chat-widget.is-open:focus-within {
  transform: translate(0, 0);
}

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 40px, 1040px);
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    width: min(390px, calc(100vw - 40px));
    max-height: calc(100vh - var(--header-height) - 30px);
    max-height: calc(100dvh - var(--header-height) - 30px);
    display: none;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #171c18;
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a,
  .site-nav > button,
  .site-nav .yjh-account-button,
  .lang-toggle {
    width: auto;
    min-height: 44px;
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .site-nav .nav-quote {
    margin: 6px 0 0;
  }

  .lang-wrap {
    margin-top: 6px;
    border-top: 1px solid var(--line);
    padding-top: 6px;
  }

  .lang-dropdown {
    position: static;
    width: 100%;
    display: none;
    margin-top: 4px;
    border: 0;
    background: var(--page-deep);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .lang-wrap.is-open .lang-dropdown {
    display: block;
  }

  .hero-shell {
    grid-template-columns: minmax(420px, 0.94fr) minmax(460px, 1.06fr);
    gap: 34px;
  }

  .hero-copy h1 { font-size: clamp(42px, 4.5vw, 52px); }

  .task-panel a {
    min-height: 112px;
    padding: 15px;
  }

  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-list li:nth-child(5) {
    border-left: 0;
    padding-left: 0;
  }

  .process-list li:nth-child(n + 5) {
    margin-top: 28px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
}

@media (max-width: 1060px) {
  .home-hero {
    min-height: auto;
  }

  .hero-shell,
  .services-shell,
  .knowledge-shell,
  .about-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-copy h1 {
    max-width: 12em;
  }

  .problem-grid,
  .tools-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .problem-route,
  .tool-primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .problem-route {
    min-height: 480px;
  }

  .problem-urgent {
    grid-column: 1 / -1;
  }

  .services-media,
  .ai-panel {
    position: static;
  }

  .services-media img {
    min-height: 440px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-primary h3 {
    margin-top: 50px;
  }

  .about-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100vw - 32px);
    --header-height: 66px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    right: 16px;
    width: calc(100vw - 32px);
  }

  .ai-chat-widget {
    right: 8px;
    bottom: 12px;
    transform: translate(calc(100% - 56px), 0);
  }

  .ai-chat-widget:focus-within {
    transform: translate(calc(100% - 56px), 0);
  }

  .ai-chat-widget.is-open,
  .ai-chat-widget.is-open:focus-within {
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, 0);
  }

  .home-hero {
    padding: 42px 0 58px;
  }

  .hero-shell {
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: 37px;
    line-height: 1.12;
  }

  .hero-copy p {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    min-height: 46px;
  }

  .hero-media {
    min-height: 280px;
  }

  .has-js .hero-workbench {
    animation: none;
  }

  .task-panel {
    grid-template-columns: 1fr;
  }

  .task-panel a {
    min-height: 84px;
  }

  .task-panel a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .about-shell h2,
  .ai-panel h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .problem-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .problem-route,
  .problem-urgent,
  .tool-primary {
    grid-column: auto;
  }

  .problem-route {
    min-height: 440px;
  }

  .problem-route > div,
  .problem-item,
  .tool-primary,
  .tool-item,
  .ai-panel {
    padding: 24px;
  }

  .services-media img {
    min-height: 340px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-list span {
    grid-column: auto;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li,
  .process-list li:first-child,
  .process-list li:nth-child(5) {
    margin-top: 0;
    padding: 22px 14px 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .process-list li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-top: 0;
  }

  .process-list li::before {
    margin-bottom: 18px;
  }

  .tool-primary h3 {
    margin-top: 40px;
    font-size: 36px;
  }

  .evidence-board {
    grid-template-columns: 1fr;
  }

  .evidence-board article,
  .evidence-board article + article {
    padding: 24px 0;
    border-left: 0;
  }

  .evidence-board article + article {
    border-top: 1px solid var(--line);
  }

  .about-actions,
  .hero-actions {
    width: 100%;
  }

  .about-actions .button,
  .hero-actions .button {
    flex: 1 1 130px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-legal,
  .footer-copyright {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
