:root {
  --brand: #15499a;
  --brand-bright: #2474df;
  --brand-soft: #eaf1fb;
  --navy: #0b1f33;
  --navy-deep: #071524;
  --ink: #152033;
  --muted: #5d697a;
  --muted-light: #aab6c7;
  --surface: #f5f7f9;
  --surface-blue: #eef3f9;
  --line: #dce2e9;
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --accent: #37b7c6;
  --accent-soft: #dff6f8;
  --orange: #f2a93b;
  --shadow-sm: 0 8px 30px rgba(16, 31, 50, 0.07);
  --shadow-lg: 0 26px 70px rgba(4, 17, 32, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shell: 1200px;
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "IBM Plex Sans", "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

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

section[id] {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(55, 183, 198, 0.72);
  outline-offset: 3px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #72d2db;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  transition: transform 220ms var(--ease), background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(21, 73, 154, 0.18);
}

.button-primary:hover {
  background: #0f3d85;
  box-shadow: 0 14px 30px rgba(21, 73, 154, 0.26);
}

.button-accent {
  color: var(--navy-deep);
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(55, 183, 198, 0.2);
}

.button-accent:hover {
  background: #55c7d2;
}

.button-accent span {
  margin-left: 12px;
  font-size: 20px;
  line-height: 0;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.button-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(220, 226, 233, 0.9);
  background: rgba(255, 255, 255, 0.96);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 9px 30px rgba(13, 31, 52, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
}

.brand img {
  width: 144px;
  height: auto;
}

.brand-cn {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #3f4b5b;
  font-size: 14px;
  font-weight: 660;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 50%;
  bottom: -10px;
  left: 50%;
  height: 2px;
  background: var(--brand);
  content: "";
  transition: inset 220ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="true"] {
  color: var(--brand);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="true"]::after {
  right: 0;
  left: 0;
}

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

.header-phone {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  line-height: 1.25;
}

.header-phone span {
  color: var(--muted);
  font-size: 11px;
}

.header-phone strong {
  color: var(--navy);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin-block: 5px;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 99;
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 45px rgba(11, 31, 51, 0.14);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav {
  display: grid;
  padding-block: 18px 26px;
}

.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.mobile-nav .mobile-phone {
  justify-content: center;
  margin-top: 18px;
  color: var(--white);
  border: 0;
  border-radius: 9px;
  background: var(--brand);
}

.hero {
  position: relative;
  min-height: 780px;
  padding: calc(var(--header-height) + 92px) 0 96px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 21, 36, 0.98) 12%, rgba(8, 28, 52, 0.94) 58%, rgba(8, 33, 63, 0.9) 100%);
  content: "";
}

.hero-grid,
.models-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(111, 168, 218, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 168, 218, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 8%;
  right: 4%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(36, 116, 223, 0.28), transparent 68%);
}

.hero-glow-two {
  right: 31%;
  bottom: -34%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(55, 183, 198, 0.13), transparent 70%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.76fr);
  align-items: center;
  gap: 74px;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 790;
  letter-spacing: -0.052em;
  line-height: 1.12;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: #c0cad7;
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 690px;
  margin: 46px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.hero-points li {
  color: #bdc8d6;
  font-size: 13px;
  font-weight: 650;
}

.hero-points span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.rfq-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(15, 42, 70, 0.74);
  box-shadow: var(--shadow-lg);
}

@supports (backdrop-filter: blur(18px)) {
  .rfq-card {
    background: rgba(15, 42, 70, 0.64);
    backdrop-filter: blur(18px);
  }
}

.rfq-card::before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 86px;
  height: 3px;
  background: var(--accent);
  content: "";
}

.rfq-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: #8da4ba;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: #c7d5e3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.status-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(55, 183, 198, 0.12);
}

.rfq-card h2 {
  margin-bottom: 10px;
  font-size: 27px;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.rfq-card > p {
  margin-bottom: 22px;
  color: #aab9c9;
  font-size: 14px;
}

.rfq-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.rfq-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line-dark);
}

.rfq-index {
  color: #6d879f;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.rfq-list strong,
.rfq-list small {
  display: block;
}

.rfq-list strong {
  margin-bottom: 2px;
  color: #f4f7fa;
  font-size: 14px;
}

.rfq-list small {
  color: #91a5b8;
  font-size: 12px;
}

.rfq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.rfq-contact small,
.rfq-contact strong {
  display: block;
}

.rfq-contact small {
  color: #849bb1;
  font-size: 11px;
}

.rfq-contact strong {
  margin-top: 2px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.copy-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  color: #d6e2ee;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.copy-button:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.scope-bar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.scope-inner {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  align-items: stretch;
  min-height: 86px;
}

.scope-inner > * {
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  color: #4e5a6b;
  font-size: 14px;
  font-weight: 650;
}

.scope-inner > *:first-child {
  padding-left: 0;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.scope-inner > *:last-child {
  padding-right: 0;
  border-right: 0;
}

.section {
  padding: 112px 0;
}

.section-soft {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

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

.section-heading h2,
.process-intro h2,
.principles-title-block h2,
.contact-copy h2,
.models-intro h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 770;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 64px;
}

.heading-split > p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.heading-centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.heading-centered > p:last-child {
  margin: 20px auto 0;
  color: var(--muted);
}

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

.family-card {
  position: relative;
  min-height: 340px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 240ms var(--ease), border-color 240ms ease, box-shadow 240ms ease;
}

.family-card::after {
  position: absolute;
  right: -44px;
  bottom: -82px;
  width: 210px;
  height: 210px;
  border: 42px solid var(--family-soft, var(--brand-soft));
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.family-card:hover {
  transform: translateY(-5px);
  border-color: #c7d2df;
  box-shadow: var(--shadow-sm);
}

.family-blue { --family: var(--brand); --family-soft: #e0ebfa; }
.family-navy { --family: var(--navy); --family-soft: #e2e8ee; }
.family-slate { --family: #54677d; --family-soft: #e6ebef; }
.family-cyan { --family: #138c9a; --family-soft: #dff3f4; }

.family-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 44px;
}

.family-number {
  color: var(--family);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.family-code {
  color: #94a0af;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.family-card h3 {
  margin-bottom: 12px;
  font-size: 30px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.family-card p {
  max-width: 510px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.family-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.family-card li {
  padding: 7px 10px;
  color: #465466;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafbfd;
  font-size: 12px;
  font-weight: 650;
}

.family-card > a {
  position: absolute;
  bottom: 30px;
  left: 32px;
  z-index: 2;
  color: var(--family);
  font-size: 13px;
  font-weight: 760;
}

.family-card > a span {
  margin-left: 6px;
  transition: margin-left 180ms ease;
}

.family-card > a:hover span {
  margin-left: 10px;
}

.models-section {
  position: relative;
  padding: 116px 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.models-grid {
  opacity: 0.12;
  mask-image: linear-gradient(to left, black, transparent 76%);
}

.models-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 84px;
}

.models-intro {
  align-self: start;
  position: sticky;
  top: 130px;
}

.models-intro h2 {
  color: var(--white);
}

.models-intro > p:not(.eyebrow) {
  margin: 24px 0 30px;
  color: #aebdcb;
  line-height: 1.85;
}

.text-link-light {
  color: #8ee1e7;
  font-size: 14px;
  font-weight: 740;
}

.text-link-light span {
  margin-left: 7px;
}

.model-stack {
  display: grid;
  gap: 16px;
}

.model-card,
.model-note {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.model-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 280px;
  overflow: hidden;
}

.model-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, #1e5db0, #0a376d);
}

.model-visual::before,
.model-visual::after {
  position: absolute;
  content: "";
}

.model-visual::before {
  inset: 55px 32px 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.model-visual::after {
  right: 44px;
  bottom: 54px;
  width: 84px;
  height: 84px;
  border: 14px solid rgba(109, 223, 232, 0.7);
  border-radius: 50%;
}

.visual-label {
  position: absolute;
  top: 28px;
  left: 30px;
  z-index: 1;
  color: #a8c5e8;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.visual-code {
  position: absolute;
  top: 78px;
  left: 28px;
  z-index: 1;
  color: var(--white);
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.visual-line {
  position: absolute;
  z-index: 1;
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.line-one { right: 42px; bottom: 106px; width: 72px; }
.line-two { right: 104px; bottom: 76px; width: 58px; transform: rotate(90deg); }

.model-content {
  align-self: center;
  padding: 34px;
}

.model-kicker {
  color: #77d3dc;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.11em;
}

.model-content h3 {
  margin: 8px 0 12px;
  font-size: 36px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.model-content > p {
  margin-bottom: 22px;
  color: #aebdcb;
  font-size: 14px;
  line-height: 1.8;
}

.model-content dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.model-content dl div {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.model-content dt {
  margin-bottom: 2px;
  color: #8297aa;
  font-size: 10px;
}

.model-content dd {
  color: #eef4f8;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.model-mini-code {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, #163e68, #0c2a49);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-tags span {
  padding: 7px 10px;
  color: #c8d5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 11px;
}

.model-gallery-block {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.model-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 2px 2px;
}

.model-gallery-head > div {
  display: grid;
  gap: 5px;
}

.model-gallery-head strong {
  color: var(--white);
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.model-gallery-head p {
  margin: 0 0 1px;
  color: #8297aa;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.model-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.model-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: #0c2946;
  isolation: isolate;
}

.model-gallery-featured {
  grid-column: 1 / -1;
  aspect-ratio: 2 / 1;
}

.model-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 360ms var(--ease), filter 360ms ease;
}

.model-gallery-item:hover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.025);
}

.model-gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 46px 14px 13px;
  color: var(--white);
  background: linear-gradient(to bottom, transparent, rgba(4, 17, 32, 0.94));
}

.model-gallery-featured figcaption {
  padding: 70px 20px 18px;
}

.model-gallery-item figcaption strong,
.model-gallery-item figcaption small {
  display: block;
}

.model-gallery-item figcaption strong {
  font-size: 14px;
  font-weight: 740;
}

.model-gallery-featured figcaption strong {
  font-size: 18px;
}

.model-gallery-item figcaption small {
  margin-top: 4px;
  color: #bfccd8;
  font-size: 9px;
  line-height: 1.5;
}

.model-gallery-item figcaption a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(191, 204, 216, 0.45);
  text-underline-offset: 2px;
}

.model-gallery-item figcaption a:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}

.model-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 26px 32px;
  border-style: dashed;
}

.model-note strong {
  color: var(--white);
  font-size: 15px;
}

.model-note p {
  margin: 0;
  color: #9cafc0;
  font-size: 13px;
  line-height: 1.7;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card {
  position: relative;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: #c5d2df;
  box-shadow: var(--shadow-sm);
}

.scenario-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 44px;
  color: var(--brand);
  border: 1px solid #cdd9e8;
  border-radius: 8px;
  background: var(--brand-soft);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.scenario-card h3 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.scenario-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.scenario-detail {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.scenario-detail small,
.scenario-detail strong {
  display: block;
}

.scenario-detail small {
  margin-bottom: 4px;
  color: #8a96a5;
  font-size: 11px;
}

.scenario-detail strong {
  color: #3e4a5b;
  font-size: 13px;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 90px;
}

.process-intro > p:not(.eyebrow) {
  max-width: 440px;
  margin: 22px 0 30px;
  color: var(--muted);
  line-height: 1.85;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  padding-top: 4px;
  color: var(--brand);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 5px;
  font-size: 21px;
  font-weight: 730;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.principles-section {
  padding: 100px 0;
  color: var(--white);
  background: var(--brand);
}

.principles-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.principles-title-block h2 {
  color: var(--white);
}

.principles-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.principles-grid article {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.8fr) 1fr;
  align-items: center;
  gap: 22px;
  min-height: 112px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.principles-grid span {
  color: #8fe0e7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.principles-grid h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 730;
}

.principles-grid p {
  margin: 0;
  color: #c5d5e8;
  font-size: 13px;
  line-height: 1.7;
}

.contact-section {
  padding: 112px 0;
  background: var(--navy-deep);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 76px;
  color: var(--white);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px 0 36px;
  color: #aebdcb;
  font-size: 16px;
  line-height: 1.85;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy-deep);
  border-radius: 50%;
  background: var(--accent);
  font-weight: 800;
}

.contact-person small,
.contact-person strong {
  display: block;
}

.contact-person small {
  color: #8ea3b7;
  font-size: 11px;
}

.contact-person strong {
  font-size: 18px;
}

.contact-action-card {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: #102a46;
  box-shadow: var(--shadow-lg);
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: #8ca2b7;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.contact-number {
  display: inline-block;
  color: var(--white);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.contact-action-card > p {
  margin: 14px 0 24px;
  color: #9cafc0;
  font-size: 13px;
}

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

.contact-checklist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-checklist span {
  color: #92a7ba;
  font-size: 11px;
  text-align: center;
}

.contact-checklist span::before {
  display: block;
  width: 5px;
  height: 5px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.mobile-contact-bar {
  display: none;
}

.site-footer {
  color: #566272;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  padding-block: 70px 56px;
}

.footer-brand img {
  width: 176px;
  height: auto;
}

.footer-brand p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
}

.footer-links a,
.footer-links span {
  width: fit-content;
  color: #6b7685;
  font-size: 12px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border-top: 1px solid var(--line);
  color: #87909d;
  font-size: 11px;
}

.footer-bottom a:hover {
  color: var(--brand);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  max-width: min(360px, calc(100vw - 44px));
  padding: 12px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  .desktop-nav {
    gap: 20px;
  }

  .header-phone {
    display: none;
  }

  .hero-layout {
    gap: 46px;
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .models-layout,
  .process-layout,
  .principles-layout {
    gap: 56px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 72px) 0 78px;
  }

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

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

  .rfq-card {
    max-width: 760px;
  }

  .scope-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .scope-inner > *:first-child {
    grid-column: 1 / -1;
    min-height: 54px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scope-inner > span {
    min-height: 68px;
    justify-content: center;
    padding: 0 12px;
    text-align: center;
  }

  .heading-split,
  .models-layout,
  .process-layout,
  .principles-layout,
  .contact-panel,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .heading-split {
    gap: 24px;
  }

  .heading-split > p {
    max-width: 660px;
  }

  .models-intro {
    position: static;
    max-width: 720px;
  }

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

  .scenario-card {
    min-height: 270px;
  }

  .process-intro {
    max-width: 680px;
  }

  .principles-title-block {
    max-width: 680px;
  }

  .contact-copy {
    max-width: 700px;
  }

  .contact-action-card {
    max-width: 700px;
  }

  .footer-main {
    gap: 46px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .brand img {
    width: 128px;
  }

  .brand-cn {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 52px);
  }

  .hero-copy h1 {
    font-size: clamp(38px, 10.8vw, 50px);
    letter-spacing: -0.05em;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.8;
  }

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

  .hero-points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-points li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
  }

  .hero-points span {
    margin: 0;
  }

  .rfq-card {
    padding: 24px;
  }

  .rfq-topline > span:first-child {
    display: none;
  }

  .rfq-topline {
    justify-content: flex-start;
  }

  .rfq-contact {
    align-items: flex-end;
  }

  .rfq-contact strong {
    font-size: 13px;
  }

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

  .scope-inner > span:nth-of-type(2) {
    border-right: 0;
  }

  .scope-inner > span {
    border-bottom: 1px solid var(--line);
  }

  .scope-inner > span:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .section,
  .models-section,
  .principles-section,
  .contact-section {
    padding-block: 82px;
  }

  .section-heading h2,
  .process-intro h2,
  .principles-title-block h2,
  .contact-copy h2,
  .models-intro h2 {
    font-size: 36px;
  }

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

  .family-grid {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .family-card {
    flex: 0 0 min(84vw, 360px);
    min-height: 330px;
    padding: 26px;
    scroll-snap-align: start;
  }

  .family-card > a {
    left: 26px;
  }

  .model-card {
    grid-template-columns: 1fr;
  }

  .model-visual,
  .model-mini-code {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .model-gallery-head {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .model-gallery-head p {
    text-align: left;
  }

  .model-gallery {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 0 16px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .model-gallery-item,
  .model-gallery-featured {
    flex: 0 0 min(84vw, 350px);
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }

  .model-gallery-featured figcaption {
    padding: 46px 14px 13px;
  }

  .model-gallery-featured figcaption strong {
    font-size: 14px;
  }

  .model-content {
    padding: 28px;
  }

  .model-content dl {
    grid-template-columns: 1fr;
  }

  .model-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .scenario-grid {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .scenario-card {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: start;
  }

  .principles-grid article {
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding-block: 22px;
  }

  .principles-grid p {
    grid-column: 2;
  }

  .contact-action-card {
    padding: 28px 22px;
  }

  .contact-number {
    font-size: 36px;
  }

  .contact-checklist {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(11, 31, 51, 0.2);
  }

  .mobile-contact-bar a {
    display: grid;
    min-height: 48px;
    place-items: center;
    color: var(--white);
    border-radius: 8px;
    background: var(--navy);
    font-size: 14px;
    font-weight: 760;
  }

  .mobile-contact-bar a:last-child {
    background: var(--brand);
  }

  .site-footer {
    padding-bottom: 76px;
  }

  .toast {
    right: 16px;
    bottom: 86px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 br,
  .section-heading h2 br,
  .models-intro h2 br,
  .process-intro h2 br,
  .principles-title-block h2 br,
  .contact-copy h2 br {
    display: none;
  }

  .rfq-contact {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .rfq-contact strong {
    max-width: 190px;
  }

  .family-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .family-card {
    min-height: 350px;
  }

  .scenario-card {
    min-height: 300px;
    padding: 26px;
  }

  .scenario-detail {
    right: 26px;
    left: 26px;
  }

  .process-list li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
  }

  .contact-number {
    font-size: 31px;
  }

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

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

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