:root {
  --cyan: #06b6d4;
  --cyan-soft: #cffafe;
  --dark: #111827;
  --deep: #0b1220;
  --light: #f3f4f6;
  --white: #ffffff;
  --border: #d1d5db;
  --muted: #6b7280;
  --red: #ff5f57;
  --shadow: 0 22px 58px rgba(11,18,32,.16);
  --radius: 22px;
  --sans: "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--dark); background: var(--deep); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
figure { position: relative; margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 30; height: 72px; padding: 0 36px 0 82px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  color: var(--white); background: rgba(11,18,32,.94);
  border-bottom: 1px solid rgba(209,213,219,.18); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,95,87,.1); }
.brand-name { font-size: 14px; font-weight: 700; }
.brand-code { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.45); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.site-header nav { display: flex; gap: 34px; color: rgba(255,255,255,.63); font-size: 12px; }
.site-header nav a { position: relative; padding: 27px 0; }
.site-header nav a::after { content: ""; position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .22s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); }
.header-action { min-width: 104px; padding: 11px 16px; border-radius: 10px; color: #052a32; background: var(--cyan); font-size: 12px; font-weight: 800; text-align: center; transition: transform .22s ease, background .22s ease; }
.header-action:hover { transform: translateY(-2px); background: #22d3ee; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { min-width: 64px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.22); color: var(--white); font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; top: calc(100% + 12px); right: 0; width: min(260px, calc(100vw - 30px)); padding: 8px 18px; display: grid; background: var(--deep); border: 1px solid rgba(209,213,219,.24); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.mobile-nav nav a { padding: 14px 0; border-bottom: 1px solid rgba(209,213,219,.17); color: rgba(255,255,255,.78); font-size: 13px; }
.mobile-nav nav a:last-child { border-bottom: 0; }

.page-rail {
  position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; width: 58px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px;
  color: rgba(255,255,255,.36); background: var(--deep); border-right: 1px solid rgba(209,213,219,.16);
}
.page-rail::before { content: ""; position: absolute; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.page-rail a { position: relative; display: grid; place-items: center; width: 34px; height: 30px; font-family: var(--mono); font-size: 9px; transition: color .2s ease, background .2s ease; }
.page-rail a::before { content: ""; position: absolute; left: 0; width: 3px; height: 3px; background: currentColor; }
.page-rail a:hover, .page-rail a:focus-visible { color: var(--cyan); background: rgba(6,182,212,.08); }

main { margin-left: 58px; }
section { scroll-margin-top: 72px; }
.section-light { padding: 110px clamp(28px,6vw,94px); background: var(--light); }
.section-dark { padding: 110px clamp(28px,6vw,94px); color: var(--white); background: var(--deep); }
.section-code { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; color: var(--muted); font-family: var(--mono); }
.section-code span { color: var(--dark); font-size: 22px; font-weight: 800; }
.section-code b { font-size: 9px; letter-spacing: .15em; }
.section-code.inverse { color: rgba(255,255,255,.42); }
.section-code.inverse span { color: var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 26px; font-weight: 750; letter-spacing: -.05em; }
h1 { font-size: clamp(54px,6vw,94px); line-height: 1.05; }
h2 { font-size: clamp(38px,4.3vw,66px); line-height: 1.12; }
p { line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 23px; border: 1px solid transparent; border-radius: 11px; font-size: 12px; font-weight: 800; transition: transform .22s ease, background .22s ease, border .22s ease; }
.button:hover { transform: translateY(-3px); }
.button-cyan { color: #052a32; background: var(--cyan); }
.button-cyan:hover { background: #22d3ee; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.03); }

.hero {
  position: relative; min-height: calc(100vh - 72px); padding: clamp(74px,9vh,118px) clamp(28px,6vw,94px) 150px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items: center;
  overflow: hidden; color: var(--white); background: linear-gradient(145deg, var(--deep), var(--dark));
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-copy > p:not(.disclosure) { max-width: 620px; color: rgba(255,255,255,.65); font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-figure { min-height: 590px; overflow: hidden; border: 1px solid rgba(209,213,219,.2); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.hero-figure img { height: 100%; object-fit: cover; }
.hero-status {
  position: absolute; right: clamp(28px,6vw,94px); bottom: 28px; left: clamp(28px,6vw,94px);
  display: grid; grid-template-columns: 210px 1fr 1fr; gap: 24px; align-items: center;
  padding: 20px 24px; border: 1px solid rgba(209,213,219,.17); border-radius: 14px;
  background: rgba(17,24,39,.78); backdrop-filter: blur(14px);
}
.hero-status span { color: rgba(255,255,255,.48); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.hero-status span i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--cyan); }
.hero-status b { font-size: 13px; }
.hero-status small { color: rgba(255,255,255,.47); }

.products { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px 7vw; }
.section-head { align-self: center; }
.section-head > p { color: var(--muted); }
.product-detail-figure { min-height: 510px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-detail-figure img { height: 100%; object-fit: cover; }
.direction-list { grid-column: 1 / -1; border-top: 1px solid var(--border); }
.direction-list article { display: grid; grid-template-columns: 55px 1fr 150px; gap: 22px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--border); }
.direction-list article > span { color: var(--cyan); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.direction-list h3 { margin-bottom: 4px; font-size: 18px; }
.direction-list p { margin: 0; color: var(--muted); font-size: 11px; }
.direction-list article > b { color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; }

.section-title-row { display: flex; justify-content: space-between; gap: 8vw; align-items: end; margin-bottom: 48px; }
.section-title-row > div { flex: 1; }
.section-title-row h2 { margin-bottom: 0; }
.section-title-row > p { width: min(430px,38vw); margin-bottom: 4px; color: rgba(255,255,255,.55); }
.family-figure { overflow: hidden; border: 1px solid rgba(209,213,219,.18); border-radius: var(--radius); box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.family-figure img { aspect-ratio: 16 / 8.7; object-fit: cover; }
.family-meta { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 20px; border-top: 1px solid rgba(209,213,219,.17); border-bottom: 1px solid rgba(209,213,219,.17); }
.family-meta span { padding: 16px; border-right: 1px solid rgba(209,213,219,.17); color: rgba(255,255,255,.45); font-family: var(--mono); font-size: 9px; text-align: center; }
.family-meta span:last-child { border-right: 0; }

.applications { display: grid; grid-template-columns: .72fr 1.28fr; gap: 5vw; }
.application-intro { align-self: center; }
.application-intro > p { color: var(--muted); }
.application-figure { min-height: 540px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.application-figure img { height: 100%; object-fit: cover; }
.application-tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white); }
.application-tabs article { padding: 25px; border-right: 1px solid var(--border); }
.application-tabs article:last-child { border-right: 0; }
.application-tabs span { color: var(--cyan); font-family: var(--mono); font-size: 10px; }
.application-tabs h3 { margin: 14px 0 8px; font-size: 17px; }
.application-tabs p { margin: 0; color: var(--muted); font-size: 11px; }

.process { display: grid; grid-template-columns: .78fr 1.22fr; gap: 5vw; background: var(--white); }
.process-copy { align-self: center; }
.process-copy > p { color: var(--muted); }
.inline-link { display: inline-block; padding-bottom: 7px; border-bottom: 2px solid var(--cyan); font-size: 12px; font-weight: 700; }
.process-figure { min-height: 520px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.process-figure img { height: 100%; object-fit: cover; }
.process-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5,1fr); margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.process-steps li { position: relative; padding: 28px 18px 6px; border-right: 1px solid var(--border); }
.process-steps li:last-child { border-right: 0; }
.process-steps li::before { content: ""; position: absolute; top: -5px; left: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 2px solid var(--cyan); }
.process-steps span, .process-steps b, .process-steps small { display: block; }
.process-steps span { color: var(--cyan); font-family: var(--mono); font-size: 9px; }
.process-steps b { margin: 12px 0 8px; font-size: 14px; }
.process-steps small { color: var(--muted); font-size: 10px; }

.signals { padding: 110px clamp(28px,6vw,94px); display: grid; grid-template-columns: .92fr 1.08fr; gap: 6vw; align-items: center; color: var(--white); background: linear-gradient(135deg, #0c3440, var(--deep)); }
.signals-copy > p { color: rgba(255,255,255,.58); }
.record-stack { margin-top: 34px; border-top: 1px solid rgba(209,213,219,.17); }
.record-stack article { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(209,213,219,.17); }
.record-stack span { grid-row: span 2; color: var(--cyan); font-family: var(--mono); font-size: 9px; }
.record-stack h3 { margin: 0; font-size: 15px; }
.record-stack p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; }
.signals-figure { min-height: 620px; overflow: hidden; border: 1px solid rgba(209,213,219,.2); border-radius: var(--radius); box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.signals-figure img { height: 100%; object-fit: cover; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center; }
.about-copy > p { color: rgba(255,255,255,.55); }
.about-lead { color: rgba(255,255,255,.85) !important; font-size: 18px; }
.fact-grid { margin: 34px 0 0; border-top: 1px solid rgba(209,213,219,.17); }
.fact-grid div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(209,213,219,.17); }
.fact-grid dt { color: rgba(255,255,255,.42); font-family: var(--mono); font-size: 10px; }
.fact-grid dd { margin: 0; font-size: 12px; font-weight: 700; }
.about-figure { min-height: 650px; overflow: hidden; border: 1px solid rgba(209,213,219,.18); border-radius: var(--radius); }
.about-figure img { height: 100%; object-fit: cover; }

.contact { position: relative; padding-bottom: 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 5vw; overflow: hidden; border-top: 1px solid rgba(209,213,219,.16); }
.contact-copy { position: relative; z-index: 3; align-self: center; }
.contact-copy > p { color: rgba(255,255,255,.55); }
.contact-figure { min-height: 650px; overflow: hidden; border: 1px solid rgba(209,213,219,.18); border-radius: var(--radius); }
.contact-figure img { height: 100%; object-fit: cover; opacity: .72; }
.contact-fields { z-index: 4; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(209,213,219,.18); border-radius: 14px; overflow: hidden; background: rgba(11,18,32,.9); backdrop-filter: blur(14px); }
.contact-fields div { padding: 18px; border-right: 1px solid rgba(209,213,219,.17); }
.contact-fields div:last-child { border-right: 0; }
.contact-fields span, .contact-fields b, .contact-fields small { display: block; }
.contact-fields span { color: var(--cyan); font-family: var(--mono); font-size: 9px; }
.contact-fields b { margin: 9px 0 6px; font-size: 13px; }
.contact-fields small { color: rgba(255,255,255,.46); }
footer { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; color: rgba(255,255,255,.4); font-family: var(--mono); font-size: 9px; }

@media (max-width: 1020px) {
  .brand-code, .site-header nav { display: none; }
  .site-header > .header-action { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav nav { display: grid; }
  .hero, .products, .applications, .process, .signals, .about, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-figure { min-height: 520px; }
  .hero-status { position: static; grid-column: 1; grid-template-columns: 1fr 1fr; }
  .hero-status span { grid-column: 1 / -1; }
  .section-title-row { display: block; }
  .section-title-row > p { width: auto; margin-top: 24px; }
  .contact-figure { min-height: 520px; }
  .contact-fields { grid-template-columns: repeat(2,1fr); }
  .contact-fields div:nth-child(2) { border-right: 0; }
  .contact-fields div:nth-child(-n+2) { border-bottom: 1px solid rgba(209,213,219,.17); }
}

@media (max-width: 660px) {
  .site-header { height: 64px; padding: 0 15px; }
  .site-header > .header-action { display: none; }
  .page-rail { display: none; }
  main { margin-left: 0; }
  section { scroll-margin-top: 64px; }
  .section-light, .section-dark, .signals { padding: 76px 20px; }
  .hero { min-height: 760px; padding: 74px 20px 40px; gap: 34px; }
  .hero h1 { font-size: 48px; }
  .hero-figure { min-height: 350px; }
  .hero-figure img { object-position: 63% center; }
  .hero-status { margin-top: 0; grid-template-columns: 1fr; padding: 17px; }
  .hero-status span { grid-column: auto; }
  h2 { font-size: 39px; }
  .products { gap: 38px; }
  .product-detail-figure, .application-figure, .process-figure, .signals-figure, .about-figure { min-height: 380px; }
  .direction-list article { grid-template-columns: 40px 1fr; }
  .direction-list article > b { grid-column: 2; }
  .family-figure img { aspect-ratio: 1/1.05; }
  .family-meta { grid-template-columns: repeat(2,1fr); }
  .family-meta span:nth-child(2) { border-right: 0; }
  .family-meta span:nth-child(-n+2) { border-bottom: 1px solid rgba(209,213,219,.17); }
  .application-tabs { grid-template-columns: 1fr; }
  .application-tabs article { border-right: 0; border-bottom: 1px solid var(--border); }
  .application-tabs article:last-child { border-bottom: 0; }
  .process-steps { grid-template-columns: 1fr; border-left: 1px solid var(--border); }
  .process-steps li { padding: 18px 20px 18px 30px; border-right: 0; border-bottom: 1px solid var(--border); }
  .process-steps li::before { top: 25px; left: -5px; }
  .record-stack article { grid-template-columns: 1fr; }
  .record-stack span { grid-row: auto; }
  .about { gap: 46px; }
  .contact { min-height: auto; padding-bottom: 0; }
  .contact-figure { min-height: 380px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-fields div { padding: 13px 15px; border-right: 0; border-bottom: 1px solid rgba(209,213,219,.17); }
  .contact-fields div:last-child { border-bottom: 0; }
  footer { flex-direction: column; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
