:root {
  --ink: #15181c;
  --muted: #5c6670;
  --paper: #f5f2ea;
  --white: #ffffff;
  --line: #d8dde2;
  --steel: #26313d;
  --amber: #d99a28;
  --green: #28725e;
  --oxide: #9b3f2f;
  --shadow: 0 18px 46px rgba(23, 29, 36, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 242, 234, 0.94);
  border-bottom: 1px solid rgba(21, 24, 28, 0.12);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--amber);
  font-weight: 850;
  font-size: 15px;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #2a3038;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(21, 24, 28, 0.9) 0%, rgba(21, 24, 28, 0.68) 46%, rgba(21, 24, 28, 0.22) 100%),
    url("https://assets.fcyaxing.com/factory/workshop.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 50px;
  align-items: end;
  padding: 92px 0 38px;
}

.hero-content {
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  text-transform: none;
}

.kicker {
  color: var(--oxide);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 800px;
  margin: 22px 0 18px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 710px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.65;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0 22px;
  font-weight: 820;
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary,
.btn.dark {
  background: var(--ink);
  color: var(--white);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.fact-strip b {
  display: block;
  color: var(--amber);
  font-size: 27px;
  line-height: 1.1;
}

.fact-strip span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.35;
}

.quote-card {
  padding: 22px;
  background: rgba(245, 242, 234, 0.95);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow);
}

.quote-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.15;
}

.quote-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.quote-card dl div {
  display: grid;
  gap: 3px;
}

.quote-card dt {
  font-weight: 850;
}

.quote-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 82px 0;
}

.white {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.factory-grid h2,
.contact-grid h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.factory-grid p,
.contact-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 290px auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.product-media {
  min-height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(90deg, rgba(21, 24, 28, 0.05) 0, rgba(21, 24, 28, 0.05) 1px, transparent 1px, transparent 28px);
}

.product-media img {
  width: min(84%, 430px);
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(21, 24, 28, 0.24));
}

.product-body {
  padding: 24px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.product-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-title h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

.product-title span {
  flex: 0 0 auto;
  padding: 7px 9px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.spec-list dt {
  color: var(--ink);
  font-weight: 820;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.dark-band {
  background: var(--steel);
  color: var(--white);
}

.factory-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.factory-grid .kicker {
  color: var(--amber);
}

.factory-grid p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chips span {
  padding: 11px 14px;
  background: var(--white);
  color: #2a3038;
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 14px;
  font-weight: 760;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-grid div {
  min-height: 154px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-grid b {
  display: block;
  color: var(--amber);
  font-size: 30px;
  line-height: 1;
}

.proof-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 16px;
}

.proof-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

th {
  background: #ebe8df;
  color: var(--ink);
  font-weight: 850;
}

tr:last-child td {
  border-bottom: 0;
}

.contact {
  background: #e8e4d9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-grid > div:first-child p:last-child {
  margin-top: 18px;
}

.contact-panel {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-row {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row small {
  color: var(--muted);
  font-weight: 820;
  text-transform: uppercase;
}

.contact-row strong {
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

footer {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(40, 114, 94, 0.32);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-inner,
  .section-head,
  .factory-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    max-width: 520px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 64px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 68px 0 26px;
  }

  .eyebrow {
    display: block;
    line-height: 1.35;
  }

  h1 {
    font-size: 44px;
  }

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

  .hero-actions {
    display: grid;
  }

  .fact-strip,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 230px auto;
  }

  .product-media {
    min-height: 230px;
  }

  .product-title,
  .spec-list div,
  .footer-row {
    display: grid;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section {
    padding: 66px 0;
  }
}
