:root {
  color-scheme: light;
  --ink: #111b2a;
  --deep: #17263a;
  --grey: #526071;
  --surface: #f1f4f7;
  --paper: #fff;
  --line: #d5dde5;
  --orange: #ff9a53;
  --orange-dark: #af4908;
  --display: 'Bahnschrift', 'Arial Narrow', 'Segoe UI', sans-serif;
  --body: 'Segoe UI', system-ui, sans-serif;
  --shell: min(1180px, calc(100% - 5rem));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.1rem); font-weight: 760; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); font-weight: 720; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
p { color: var(--grey); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1668b9; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 1rem; left: 1rem; transform: translateY(-180%); background: var(--orange); padding: .55rem .9rem; color: var(--ink); }
.skip-link:focus { transform: none; }
.site-header { background: var(--ink); color: var(--paper); border-bottom: 1px solid #344358; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.25rem; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; color: var(--paper); font: 700 clamp(1.3rem, 2vw, 1.6rem)/1 var(--display); letter-spacing: -.055em; white-space: nowrap; }
.brand-accent { color: var(--orange); }
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: url("xifulai-mark.19c9bf5e375e.svg") center / contain no-repeat;
}
.main-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.3vw, 2rem); }
.main-nav > a:not(.button) { color: #dce4ef; font-weight: 600; text-decoration: none; font-size: .94rem; white-space: nowrap; }
.main-nav > a:not(.button):hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.nav-toggle { display: none; border: 1px solid #697587; background: transparent; color: var(--paper); padding: .36rem .7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .78rem 1.12rem; color: var(--ink); border: 1px solid transparent; border-radius: 3px; background: var(--orange); font-weight: 730; font-size: .95rem; line-height: 1.35; text-decoration: none; min-height: 46px; transition: background-color .18s, color .18s, border-color .18s; }
.button--primary:hover { background: #ffb47b; }
.button--nav { background: transparent; border-color: var(--orange); color: var(--orange); white-space: nowrap; }
.button--nav:hover { background: var(--orange); color: var(--ink); }
.button--light { background: transparent; color: var(--paper); border-color: #8392a6; }
.button--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button--outline { border-color: #a9b5c3; background: transparent; }
.button--outline:hover { background: var(--surface); border-color: var(--ink); }
.button--text { min-height: 44px; padding: .42rem 0; justify-content: start; color: var(--orange-dark); background: transparent; text-decoration: underline; text-underline-offset: .24em; }
.button--text:hover { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.eyebrow, .model { font-family: var(--body); font-size: .875rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); }
.hero { overflow: hidden; background: var(--ink); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: 3.5rem 3.85rem; }
.hero-copy { padding-block: 2rem; }
.hero .eyebrow, .factory-band .eyebrow { color: var(--orange); margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(3.25rem, 6vw, 5.35rem); line-height: .97; letter-spacing: -.057em; }
.hero h1 span { color: var(--orange); }
.hero-body { color: #c5cfdb; font-size: clamp(1.02rem, 1.5vw, 1.18rem); margin-block: 1.7rem 1.65rem; max-width: 36ch; }
.hero-product { position: relative; background: #7cc8ef; min-width: 0; isolation: isolate; }
.hero-product img { width: 100%; aspect-ratio: 1.14; object-fit: cover; object-position: center 48%; }
.hero-product figcaption { background: var(--deep); color: var(--paper); display: flex; gap: 1rem; align-items: baseline; padding: .8rem 1.1rem; border-top: 3px solid var(--orange); }
.hero-product figcaption b { font-family: var(--display); letter-spacing: .025em; }
.hero-product figcaption span { color: #d3dfec; font-size: .9rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-head .eyebrow { margin-bottom: .6rem; }
.section-head > p { max-width: 36ch; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.8rem; }
.product-card { border: 1px solid var(--line); display: flex; flex-direction: column; }
.product-image { display: block; overflow: hidden; background: var(--surface); }
.product-image img { width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: center; }
.product-copy { padding: clamp(1.2rem, 2.8vw, 2rem); }
.product-copy h3 { margin-block: .35rem .75rem; }
.product-copy h3 a { text-decoration: none; }
.product-copy h3 a:hover { text-decoration: underline; text-underline-offset: .12em; }
.product-copy p { margin-bottom: .6rem; max-width: 49ch; }
.factory-band { background: var(--deep); color: var(--paper); }
.factory-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 9vw, 8rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.factory-inner p:not(.eyebrow) { color: #d0d9e3; margin: 1.05rem 0 1.45rem; max-width: 49ch; }
.factory-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #516176; }
.factory-list li { display: flex; align-items: center; gap: .9rem; padding: .85rem .15rem; border-bottom: 1px solid #516176; font-size: 1.04rem; font-weight: 630; }
.factory-list li::before { content: ''; display: block; width: 8px; height: 8px; background: var(--orange); }
.process { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.65rem; padding: 0; margin: 2rem 0 0; list-style: none; counter-reset: step; }
.process li { border-top: 1px solid var(--line); padding-top: 1rem; counter-increment: step; }
.process li::before { content: counter(step,decimal-leading-zero); display: block; color: var(--orange-dark); font-weight: 720; margin-bottom: .7rem; }
.process h3 { font-size: 1.3rem; margin-bottom: .5rem; letter-spacing: -.023em; }
.callout { background: var(--surface); }
.callout-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: clamp(2.6rem,5vw,4.25rem); gap: 1.3rem; }
.callout h2 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); margin-bottom: .5rem; }
.footer { background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: 2.55rem; }
.footer p { margin-top: .9rem; color: #b9c6d5; font-size: .95rem; }
.footer-email { color: #e4ebf5; text-underline-offset: .18em; }
.footer nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem 1rem; align-content: start; }
.footer nav a { color: #e4ebf5; font-size: .93rem; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--grey); font-size: .9rem; margin: 0 0 1.5rem; }
.breadcrumb a { text-underline-offset: .18em; }
.page-intro { background: var(--surface); padding-block: 2.4rem clamp(3.35rem, 6vw, 5.1rem); border-bottom: 1px solid var(--line); }
.page-intro h1 { margin-top: .5rem; }
.page-intro p:not(.eyebrow) { margin-top: 1rem; max-width: 56ch; font-size: 1.12rem; }
.category-list { padding-top: clamp(2.1rem, 5vw, 4.5rem); }
.category-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; }
.category-links a { display: inline-flex; align-items: baseline; gap: .65rem; padding: .48rem .75rem; border: 1px solid var(--line); color: var(--ink); font-weight: 650; text-decoration: none; }
.category-links a:hover { border-color: var(--grey); }
.category-links a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.category-links span { color: var(--grey); font-size: .875rem; font-weight: 600; }
.category-links a[aria-current="page"] span { color: #c3cfda; }
.product-grid--catalog { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.product-grid--featured { grid-template-columns: 1fr; margin-bottom: 1.15rem; }
.product-grid--featured .product-card { display: grid; grid-template-columns: minmax(0, 330px) minmax(0,1fr); align-items: center; }
.product-grid--featured .product-image { align-self: stretch; }
.product-grid--featured img { height: 100%; max-height: 235px; object-fit: cover; }
.product-grid--featured .product-copy p { max-width: 65ch; }
.product-grid--catalog .product-copy { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.product-grid--catalog h3 { font-size: 1.55rem; }
.product-grid--catalog .product-image img { aspect-ratio: 1; object-fit: contain; }
.product-actions { margin-top: auto; gap: .4rem .95rem; align-items: center; }
.product-actions a { white-space: nowrap; }
.product-card--text { border-top: 3px solid var(--orange); background: var(--surface); }
.catalog-group h2 { margin-bottom: 1.25rem; font-size: clamp(1.85rem,3.7vw,2.8rem); }
.catalog-group h2 a { text-decoration-thickness: .06em; text-underline-offset: .16em; }
.catalog-group + .catalog-group { margin-top: 3.4rem; }
.product-page { padding-block: 1.8rem clamp(3.5rem, 7vw, 5.5rem); }
.product-detail { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,1fr); gap: clamp(2rem,5vw,4.2rem); align-items: start; }
.product-detail--text { grid-template-columns: minmax(0, 770px); }
.gallery figure { background: var(--surface); border: 1px solid var(--line); }
.gallery figure img { width: 100%; object-fit: contain; aspect-ratio: 1/1; }
.gallery-options { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .7rem; }
.gallery-options button { padding: 0; border: 2px solid var(--line); width: 65px; background: var(--paper); }
.gallery-options button[aria-pressed="true"] { border-color: var(--orange-dark); }
.detail-copy h1 { font-size: clamp(2.6rem, 4.7vw, 4.2rem); margin-block: .45rem .95rem; }
.specs { margin: 1.3rem 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: .8fr 1.2fr; gap: .75rem; border-bottom: 1px solid var(--line); padding: .7rem 0; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--grey); }
.detail-note { margin-bottom: 1.2rem; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.2rem,6vw,4.75rem); }
.split h2 { margin-bottom: .75rem; }
.detail-list { margin: 0; }
.section-bordered { border-top: 1px solid var(--line); }
.contact-layout { padding-block: 2rem clamp(3.5rem,7vw,6rem); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem,5vw,4rem); }
.contact-copy h1 { font-size: clamp(2.75rem,5vw,4.8rem); margin: .55rem 0 1rem; }
.contact-tips { padding-left: 1.26rem; color: var(--grey); }
.contact-tips li + li { margin-top: .3rem; }
.contact-channel { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.4rem; }
.contact-channel p { font-variant-numeric: tabular-nums; }
.contact-email { margin-top: .75rem; }
.contact-email a { color: var(--ink); font-weight: 650; text-underline-offset: .18em; }
.inquiry { border: 1px solid var(--line); background: var(--surface); padding: clamp(1.2rem, 3vw, 2rem); position: relative; }
.form-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem 1rem; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.form-fields label { font-weight: 650; display: grid; gap: .35rem; }
.form-fields input, .form-fields select, .form-fields textarea { width: 100%; color: var(--ink); padding: .6rem .72rem; background: var(--paper); border: 1px solid #a9b5c3; border-radius: 3px; min-height: 46px; font-weight: 400; }
.form-fields textarea { resize: vertical; }
.form-wide { grid-column: 1/-1; }
.form-fields .honeypot { position: absolute; top: 0; left: 0; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.form-note { margin-block: .95rem; font-size: .91rem; }
.form-note a { text-underline-offset: .18em; }
.result { margin-bottom: 0; }
.result:empty { margin: 0; }
.result[data-error] { color: #9b2430; }
.result[data-received] { color: #175c3f; font-weight: 650; }
.quote-open { overflow: hidden; }
.quote-dialog:not([open]) { display: none; }
.quote-dialog {
  width: min(660px, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 52px #111b2a40;
  overscroll-behavior: contain;
}
.quote-dialog::backdrop { background: #111b2ab8; }
.quote-dialog-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: .65rem;
  padding: 1.15rem clamp(1rem,4vw,1.8rem) .9rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.quote-dialog-header h2 { font-size: clamp(1.85rem,5vw,2.55rem); }
.quote-dialog-header p { margin-top: .25rem; }
.quote-close {
  flex: 0 0 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}
.quote-close:hover { background: var(--surface); }
.quote-dialog .inquiry { border: 0; background: var(--paper); padding: 1rem clamp(1rem,4vw,1.8rem) .9rem; }
.quote-contact { border-top: 1px solid var(--line); padding: .85rem clamp(1rem,4vw,1.8rem); font-size: .94rem; }
.quote-contact a { color: var(--ink); text-underline-offset: .18em; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.9rem; margin: 0 0 .5rem; }
.prose p { margin-bottom: 1.45rem; }
@media (max-width: 930px) {
  :root { --shell: min(900px,calc(100% - 3rem)); }
  .nav-wrap { min-height: 4.65rem; }
  .main-nav { gap: .85rem; }
  .product-grid--catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  :root { --shell: calc(100% - 2.5rem); }
  .nav-wrap { flex-wrap: wrap; gap: .55rem; padding-block: .8rem; min-height: 0; }
  .nav-toggle { min-height: 44px; }
  .js .nav-toggle { display: block; }
  .main-nav { flex-basis: 100%; flex-wrap: wrap; padding-block: .4rem .55rem; }
  .js .main-nav:not(.is-open) { display: none; }
  .main-nav > a:not(.button) { padding: .56rem 0; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.8rem 2.65rem; gap: 2rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.05rem, 11.2vw, 5.28rem); }
  .hero-product img { aspect-ratio: 1.22; }
  .section-head { display: block; }
  .section-head > p { margin-top: .7rem; }
  .product-grid:not(.product-grid--catalog), .factory-inner, .product-detail, .split, .contact-layout { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 440px) {
  .process, .form-fields, .footer-grid, .product-grid--catalog { grid-template-columns: 1fr; }
  .quote-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .product-grid--featured .product-card { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .specs div { grid-template-columns: .75fr 1.25fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
