:root {
  color-scheme: light;
  --ink: #14202a;
  --ink-soft: #42515e;
  --muted: #667581;
  --line: #d9e1e6;
  --paper: #f5f8fa;
  --white: #ffffff;
  --steel: #244d62;
  --steel-deep: #193744;
  --red: #c91f2e;
  --red-deep: #9f1a27;
  --teal: #087f72;
  --amber: #bc7b17;
  --shadow: 0 18px 46px rgba(20, 32, 42, 0.14);
  --max: 1180px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    linear-gradient(90deg, rgba(25, 55, 68, 0.03) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(25, 55, 68, 0.025) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  letter-spacing: 0;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(14, 32, 42, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(20, 32, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #ef6d3d);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(201, 31, 46, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 21px;
}

.brand small {
  margin-top: 4px;
  font-size: 11px;
  color: currentColor;
  opacity: 0.72;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
  color: currentColor;
  opacity: 0.9;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button,
.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: currentColor;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .icon-button,
.site-header.scrolled .menu-button,
.site-header.scrolled .lang-toggle {
  border-color: var(--line);
  background: var(--white);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.icon-search {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  display: block;
  width: 8px;
  height: 2px;
  margin: 11px 0 0 12px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.lang-toggle {
  display: inline-flex;
  gap: 0;
  height: 40px;
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
}

.lang-toggle span {
  display: grid;
  place-items: center;
  width: 38px;
  font-size: 12px;
}

.lang-toggle span:first-child {
  background: var(--red);
  color: var(--white);
}

body.lang-en .lang-toggle span:first-child {
  background: transparent;
  color: currentColor;
}

body.lang-en .lang-toggle span:last-child {
  background: var(--red);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 4px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 19;
  display: none;
  padding: 16px 24px 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--steel-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(11, 24, 32, 0.82) 0%, rgba(11, 24, 32, 0.48) 46%, rgba(11, 24, 32, 0.22) 100%),
    url("hero-factory.svg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: background-image 420ms ease, transform 700ms ease;
}

.hero-bg.slide-1 {
  background-image:
    linear-gradient(90deg, rgba(11, 24, 32, 0.84) 0%, rgba(11, 24, 32, 0.5) 48%, rgba(11, 24, 32, 0.22) 100%),
    url("hero-battery.svg");
}

.hero-bg.slide-2 {
  background-image:
    linear-gradient(90deg, rgba(11, 24, 32, 0.84) 0%, rgba(11, 24, 32, 0.5) 48%, rgba(11, 24, 32, 0.22) 100%),
    url("hero-stamping.svg");
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(0deg, rgba(245, 248, 250, 1), rgba(245, 248, 250, 0));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto 108px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb35f;
}

.hero h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.96;
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.secondary-link,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 700;
}

.primary-link {
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  box-shadow: 0 14px 26px rgba(201, 31, 46, 0.26);
}

.primary-link:hover {
  background: var(--red-deep);
}

.secondary-link,
.outline-button {
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.outline-button {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.as-button {
  border: 0;
}

.hero-rail {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: 98px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: min(250px, 28vw);
}

.rail-dot {
  position: relative;
  min-height: 44px;
  padding: 0 14px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.rail-dot::before {
  position: absolute;
  left: 9px;
  top: 14px;
  width: 4px;
  height: 16px;
  background: transparent;
  content: "";
}

.rail-dot.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.rail-dot.active::before {
  background: var(--red);
}

.quick-facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 42px));
  margin: -54px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quick-facts div {
  min-height: 108px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts strong {
  display: block;
  color: var(--steel);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.quick-facts span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.16;
  font-weight: 800;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  max-width: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr minmax(330px, 0.78fr);
  gap: 38px;
  align-items: start;
}

.about-copy {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.timeline {
  margin-top: 34px;
  border-left: 2px solid var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 0 0 24px 26px;
}

.timeline-item::before {
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border: 3px solid var(--paper);
  border-radius: 50%;
  content: "";
}

.timeline-year {
  color: var(--steel);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
}

.timeline-text {
  color: var(--ink-soft);
}

.visual-panel {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(20, 32, 42, 0.1);
}

.visual-panel figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.segmented button,
.report-filters button {
  min-height: 38px;
  padding: 0 13px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.segmented button.active,
.report-filters button.active {
  color: var(--white);
  background: var(--steel);
  border-color: var(--steel);
}

.business-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
}

.business-detail {
  min-height: 486px;
  overflow: hidden;
  color: var(--white);
  background: var(--steel-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.business-hero {
  position: relative;
  display: grid;
  min-height: 486px;
  padding: 38px;
  background-position: center;
  background-size: cover;
}

.business-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 36, 45, 0.88), rgba(16, 36, 45, 0.34));
  content: "";
}

.business-hero > * {
  position: relative;
  z-index: 1;
}

.business-hero h3 {
  max-width: 560px;
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(30px, 5vw, 54px);
}

.business-hero p {
  max-width: 590px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.9;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.business-tags span {
  padding: 8px 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: 13px;
}

.business-list {
  display: grid;
  gap: 12px;
}

.business-card {
  min-height: 108px;
  padding: 16px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.business-card.active {
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(201, 31, 46, 0.12);
}

.business-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.business-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.manufacturing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.process-board,
.quality-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(20, 32, 42, 0.08);
}

.process-board h3,
.quality-board h3 {
  margin: 0;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 280px;
}

.process-step {
  position: relative;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::after {
  position: absolute;
  right: -8px;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
  content: "";
}

.process-step:last-child::after {
  display: none;
}

.process-step b {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--steel);
  border-radius: 4px;
  line-height: 38px;
  text-align: center;
}

.process-step strong {
  display: block;
  margin-bottom: 10px;
}

.process-step span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.quality-board ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px;
  list-style: none;
}

.quality-board li {
  padding: 14px 14px 14px 42px;
  background: linear-gradient(90deg, rgba(8, 127, 114, 0.1), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: 4px;
}

.quality-board li::before {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: -30px;
  margin-right: 10px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 12px;
  content: "✓";
}

.investor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 24px;
}

.financial-chart,
.report-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(20, 32, 42, 0.08);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.chart-header span {
  font-weight: 700;
}

.chart-header small {
  color: var(--muted);
}

.bars {
  display: grid;
  gap: 16px;
  padding: 24px 22px;
}

.bar-row {
  display: grid;
  grid-template-columns: 58px 1fr 76px;
  align-items: center;
  gap: 14px;
}

.bar-row b {
  color: var(--steel);
  font-family: Georgia, "Times New Roman", serif;
}

.bar-track {
  position: relative;
  height: 34px;
  overflow: hidden;
  background: #edf2f4;
  border-radius: 4px;
}

.bar-revenue,
.bar-profit {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.bar-revenue {
  background: linear-gradient(90deg, var(--steel), #3f89a4);
}

.bar-profit {
  top: 19px;
  height: 8px;
  background: var(--red);
}

.bar-value {
  color: var(--ink-soft);
  font-size: 13px;
  text-align: right;
}

.report-panel {
  padding: 18px;
}

.report-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.report-list {
  display: grid;
  gap: 10px;
}

.report-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #f9fbfc;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.report-item strong {
  display: block;
}

.report-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.report-item button,
.news-card button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.esg-section {
  width: 100%;
  max-width: none;
  padding-left: max(21px, calc((100vw - var(--max)) / 2));
  padding-right: max(21px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(135deg, #132a35, #244d62 58%, #274738);
  color: var(--white);
}

.esg-section .eyebrow {
  color: #f3b35a;
}

.esg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.esg-grid article {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.pill {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  color: var(--ink);
  background: #f6c167;
  border-radius: 50%;
  font-weight: 800;
}

.esg-grid h3 {
  margin: 0 0 12px;
}

.esg-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.news-tools select {
  min-width: 160px;
  height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  display: grid;
  min-height: 260px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(20, 32, 42, 0.08);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.news-tag {
  color: var(--red);
  font-weight: 700;
}

.news-card h3 {
  margin: 26px 0 12px;
  font-size: 21px;
  line-height: 1.4;
}

.news-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.news-card button {
  align-self: end;
  justify-self: start;
}

.ai-section {
  padding-top: 10px;
}

.ai-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 36, 45, 0.92), rgba(16, 36, 45, 0.7)),
    url("ai-console.svg") center / cover;
  border-radius: var(--radius);
}

.ai-banner h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 4vw, 46px);
}

.ai-banner p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 26px;
}

.contact-info,
.contact-form {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-info p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-info dl {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.contact-info dl div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-info dt {
  color: var(--muted);
  font-size: 13px;
}

.contact-info dd {
  margin: 8px 0 0;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.search-dialog input {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #f9fbfc;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.search-dialog input:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(36, 77, 98, 0.1);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(21px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.76);
  background: #101f27;
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--white);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 92px 20px 20px;
  background: rgba(10, 22, 29, 0.72);
}

.search-overlay.open {
  display: block;
}

.search-dialog {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.search-dialog label {
  display: grid;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.search-result {
  padding: 14px;
  background: #f9fbfc;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.search-result strong {
  display: block;
}

.search-result span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.content-modal {
  width: min(760px, calc(100% - 28px));
  max-height: 82vh;
  padding: 30px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-modal::backdrop {
  background: rgba(10, 22, 29, 0.64);
}

.modal-kicker {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.content-modal h2 {
  margin: 8px 36px 18px 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 34px;
}

.content-modal p {
  color: var(--ink-soft);
  line-height: 1.9;
}

.modal-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.modal-table th,
.modal-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.modal-table th {
  background: #f4f7f8;
}

.zy-ai-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 17px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #e9653a);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(201, 31, 46, 0.34);
}

.zy-ai-button span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--red);
  background: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.zy-ai-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 41;
  display: none;
  width: min(500px, calc(100vw - 32px));
  height: min(720px, calc(100dvh - 112px));
  max-height: calc(100dvh - 112px);
  min-height: min(520px, calc(100dvh - 112px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.zy-ai-panel.open {
  display: grid;
  grid-template-areas:
    "head"
    "context"
    "settings"
    "messages"
    "bottom";
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}

.zy-ai-head {
  grid-area: head;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: var(--white);
  background: var(--steel-deep);
}

.zy-ai-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zy-ai-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.zy-ai-head .zy-ai-avatar {
  color: var(--red);
  background: var(--white);
}

.zy-ai-head strong,
.zy-ai-head small {
  display: block;
}

.zy-ai-head small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.zy-ai-dot {
  width: 8px;
  height: 8px;
  background: #54d7a7;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(84, 215, 167, 0.16);
}

.zy-ai-head-actions {
  display: flex;
  gap: 8px;
}

.zy-ai-head button {
  width: 34px;
  height: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.zy-ai-context {
  grid-area: context;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 14px;
  background: #eef4f6;
  border-bottom: 1px solid var(--line);
}

.zy-ai-context span {
  padding: 5px 8px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
}

.zy-ai-settings {
  grid-area: settings;
  display: grid;
  gap: 12px;
  padding: 14px;
  max-height: 330px;
  overflow: auto;
  background: #fbfcfd;
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.zy-ai-settings[hidden] {
  display: none;
}

.zy-ai-settings-head {
  display: grid;
  gap: 4px;
}

.zy-ai-settings-head strong {
  color: var(--ink);
}

.zy-ai-settings-head small,
.zy-ai-settings label span {
  color: var(--muted);
  font-size: 12px;
}

.zy-ai-settings label {
  display: grid;
  gap: 6px;
}

.zy-ai-settings select,
.zy-ai-settings input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.zy-ai-settings select:focus,
.zy-ai-settings input:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(36, 77, 98, 0.1);
}

.zy-ai-model-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

.zy-ai-model-row button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  background: var(--steel);
  border: 0;
  border-radius: 4px;
  white-space: nowrap;
}

.zy-ai-settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.zy-ai-settings-actions button {
  min-height: 38px;
  color: var(--white);
  background: var(--steel);
  border: 0;
  border-radius: 4px;
}

.zy-ai-settings-actions button:last-child {
  background: var(--red);
}

.zy-ai-remember {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
}

.zy-ai-remember input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 auto;
}

.zy-ai-settings p {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.zy-ai-settings p a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zy-ai-settings p[data-tone="ok"] {
  color: var(--teal);
  font-weight: 700;
}

.zy-ai-settings p[data-tone="error"] {
  color: var(--red);
  font-weight: 700;
}

.zy-ai-messages {
  grid-area: messages;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: 16px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f7fafb;
  -webkit-overflow-scrolling: touch;
}

.zy-ai-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.zy-ai-message.user {
  flex-direction: row-reverse;
}

.zy-ai-message.user .zy-ai-avatar {
  background: var(--steel);
}

.zy-ai-bubble {
  min-width: 0;
  max-width: calc(100% - 44px);
  padding: 12px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(20, 32, 42, 0.045);
}

.zy-ai-message.user .zy-ai-bubble {
  color: var(--white);
  background: var(--steel);
  border-color: var(--steel);
}

.zy-ai-content {
  color: inherit;
  font-size: 14px;
  line-height: 1.7;
}

.zy-ai-content p,
.zy-ai-content ul,
.zy-ai-content ol {
  margin: 0 0 10px;
}

.zy-ai-content p:last-child,
.zy-ai-content ul:last-child,
.zy-ai-content ol:last-child {
  margin-bottom: 0;
}

.zy-ai-content ul,
.zy-ai-content ol {
  padding-left: 20px;
}

.zy-ai-content h1,
.zy-ai-content h2,
.zy-ai-content h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.45;
}

.zy-ai-content a {
  color: var(--red);
  font-weight: 700;
}

.zy-ai-content code {
  padding: 2px 5px;
  color: var(--red-deep);
  background: #f4e9ea;
  border-radius: 3px;
  font-size: 12px;
}

.zy-ai-content pre {
  margin: 10px 0 0;
  padding: 11px;
  overflow: auto;
  color: #e9f3f4;
  background: #132a35;
  border-radius: 4px;
}

.zy-ai-table-wrap {
  max-width: 100%;
  margin: 10px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.zy-ai-table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
  font-size: 13px;
}

.zy-ai-table th,
.zy-ai-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.zy-ai-table th {
  color: var(--steel);
  background: #eef4f6;
}

.zy-ai-table tr:last-child td {
  border-bottom: 0;
}

.zy-ai-link-grid,
.zy-ai-actions,
.zy-ai-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.zy-ai-link-grid a,
.zy-ai-actions a {
  min-height: 30px;
  padding: 6px 10px;
  color: var(--steel);
  background: #eef4f6;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.zy-ai-actions a {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.zy-ai-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zy-ai-card-grid article {
  min-height: 88px;
  padding: 10px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.zy-ai-card-grid strong,
.zy-ai-card-grid span {
  display: block;
}

.zy-ai-card-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.zy-ai-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.zy-ai-message.user .zy-ai-meta {
  color: rgba(255, 255, 255, 0.68);
}

.zy-ai-meta button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  color: #8a98a3;
  background: transparent;
  border: 0;
  border-radius: 4px;
}

.zy-ai-head button svg,
.zy-ai-meta button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zy-ai-meta button:hover {
  color: var(--steel);
  background: #eef4f6;
}

.zy-ai-meta button.active {
  color: var(--red);
  background: #fff0f1;
}

.zy-ai-typing {
  display: flex;
  gap: 5px;
  padding: 5px 2px;
}

.zy-ai-typing span {
  width: 7px;
  height: 7px;
  background: var(--steel);
  border-radius: 50%;
  animation: zyTyping 900ms infinite ease-in-out;
}

.zy-ai-typing span:nth-child(2) {
  animation-delay: 120ms;
}

.zy-ai-typing span:nth-child(3) {
  animation-delay: 240ms;
}

.zy-ai-bottom {
  grid-area: bottom;
  background: #f7fafb;
  border-top: 1px solid var(--line);
}

.zy-ai-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.zy-ai-quick::-webkit-scrollbar {
  display: none;
}

.zy-ai-quick button {
  flex: 0 0 auto;
  min-height: 28px;
  max-width: 156px;
  padding: 0 9px;
  overflow: hidden;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  text-overflow: ellipsis;
}

.zy-ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.zy-ai-form textarea {
  min-width: 0;
  max-height: 108px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  resize: none;
  outline: none;
}

.zy-ai-form textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(36, 77, 98, 0.1);
}

.zy-ai-form button {
  min-width: 64px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 4px;
}

.zy-ai-form button:disabled,
.zy-ai-form textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes zyTyping {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.38;
  }

  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  body.menu-open .mobile-nav {
    display: block;
  }

  .hero-rail {
    left: 21px;
    right: 21px;
    bottom: 28px;
    width: auto;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    margin-bottom: 156px;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts div:nth-child(2) {
    border-right: 0;
  }

  .quick-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-grid,
  .business-stage,
  .manufacturing-grid,
  .investor-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .business-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-flow,
  .news-grid,
  .esg-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step::after {
    display: none;
  }

  .row-heading {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
    padding: 0 14px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand strong {
    font-size: 18px;
  }

  .brand small,
  .lang-toggle {
    display: none;
  }

  .mobile-nav {
    top: 66px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-bottom: 146px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .rail-dot {
    min-height: 36px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .quick-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: calc(100% - 32px);
    padding: 66px 0;
  }

  .section-heading h2 {
    font-size: 32px;
  }

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

  .business-hero {
    padding: 24px;
  }

  .bar-row {
    grid-template-columns: 48px 1fr;
  }

  .bar-value {
    grid-column: 2;
    text-align: left;
  }

  .ai-banner,
  .site-footer {
    display: grid;
  }

  .zy-ai-button {
    right: 14px;
    bottom: 14px;
  }

  .zy-ai-panel {
    right: 10px;
    bottom: 74px;
    width: calc(100vw - 20px);
    height: calc(100dvh - 92px);
    max-height: calc(100dvh - 92px);
    min-height: 0;
  }

  .zy-ai-model-row {
    grid-template-columns: 1fr;
  }

  .zy-ai-settings {
    max-height: 42vh;
  }

  .zy-ai-settings-actions {
    grid-template-columns: 1fr;
  }
}
