:root {
  color: #0b1a31;
  background: #ffffff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #0b1a31;
  --text: #34445c;
  --muted: #6b798c;
  --line: #dbe5f0;
  --soft: #f4f8fc;
  --soft-blue: #eaf3ff;
  --navy: #07162d;
  --navy-2: #0b2348;
  --navy-3: #102e5f;
  --blue: #246fed;
  --blue-dark: #1658ca;
  --cyan: #58c7eb;
  --teal: #15a6a3;
  --green: #25a66a;
  --white: #ffffff;
  --shadow: 0 18px 52px rgba(20, 56, 105, 0.11);
  --shadow-soft: 0 10px 30px rgba(23, 57, 103, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #fff; color: var(--ink); -webkit-font-smoothing: antialiased; }
body::selection { color: #fff; background: var(--blue); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
ul, ol { margin-top: 0; }
svg { display: block; }
.page-shell { overflow: hidden; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-compact { padding: 68px 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--blue); box-shadow: var(--shadow); font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 70; height: 82px; border-bottom: 1px solid rgba(219, 229, 240, .92); background: rgba(255, 255, 255, .97); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { width: 174px; flex: 0 0 auto; }
.brand img { width: 174px; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-left: auto; color: #3e4d62; font-size: 14px; }
.main-nav > a { position: relative; padding: 31px 0; white-space: nowrap; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--blue); transition: right .2s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after, .main-nav > a[aria-current="page"]::after { right: 0; }
.header-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid #b9cbea; border-radius: 9px; color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.header-cta { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 17px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; }
.menu-button { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
.menu-button span, .menu-button::before, .menu-button::after { width: 18px; height: 2px; background: currentColor; }
.menu-button span { display: block; }
.menu-button::before, .menu-button::after { content: ""; position: absolute; transform: translateY(-6px); }
.menu-button::after { transform: translateY(6px); }

.hero { position: relative; color: #fff; background: var(--navy); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .18; background-image: linear-gradient(rgba(111, 165, 238, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 165, 238, .22) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, #000 0, #000 38%, transparent 88%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -190px; top: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 111, 237, .23), transparent 68%); }
.hero-stm32::after { background: radial-gradient(circle, rgba(21, 166, 163, .24), transparent 68%); }
.hero-inner { min-height: 660px; display: grid; grid-template-columns: 1.06fr .94fr; gap: 72px; align-items: center; padding: 58px 0 84px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: #aebdd0; font-size: 12px; }
.breadcrumb a:hover { color: #d4e5fb; }
.breadcrumb i { width: 4px; height: 4px; border-radius: 50%; background: #55708f; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid #36527d; border-radius: 999px; background: #0c2449; color: #bdd5f7; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(88, 199, 235, .11); }
.hero-stm32 .hero-kicker::before { background: #5bd8c5; box-shadow: 0 0 0 5px rgba(91, 216, 197, .11); }
.hero h1 { max-width: 720px; margin: 22px 0 24px; font-size: clamp(48px, 5.8vw, 72px); line-height: 1.06; letter-spacing: -.055em; }
.hero-lead { max-width: 710px; margin-bottom: 0; color: #b9c7d9; font-size: 18px; line-height: 1.9; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 27px 0 34px; }
.hero-tags span { padding: 8px 12px; border: 1px solid #304865; border-radius: 999px; background: rgba(16, 37, 65, .94); color: #d1ddec; font-size: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 23px; border: 1px solid transparent; border-radius: 9px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 13px 30px rgba(36, 111, 237, .32); }
.hero-stm32 .button-primary { background: #168f94; box-shadow: 0 13px 30px rgba(22, 143, 148, .28); }
.button-secondary { border-color: #3a516e; background: #112641; color: #fff; }
.button-light { background: #fff; color: var(--blue-dark); }
.hero-note { margin: 20px 0 0; color: #b3c2d5; font-size: 12px; line-height: 1.7; }

.hero-console { position: relative; padding: 28px; border: 1px solid #2f4c78; border-radius: 20px; background: linear-gradient(145deg, #0d2852 0%, #0b2143 100%); box-shadow: 0 28px 65px rgba(0, 0, 0, .27); }
.console-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.console-top span { color: #7eb2f6; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.console-top h2 { margin: 7px 0 0; font-size: 25px; }
.console-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #326491; border-radius: 999px; background: #10345f; color: #9fe8d2; font-size: 10px; font-weight: 800; }
.console-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #45d19f; }
.pipeline { display: grid; gap: 10px; }
.pipeline-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid #31517e; border-radius: 12px; background: #102d58; }
.pipeline-row b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; font-size: 12px; }
.hero-stm32 .pipeline-row b { background: #168f94; }
.pipeline-row strong, .pipeline-row small { display: block; }
.pipeline-row strong { margin-bottom: 4px; font-size: 14px; }
.pipeline-row small { color: #9dafc7; font-size: 10px; line-height: 1.5; }
.pipeline-row em { color: #82b7f6; font-style: normal; font-size: 10px; }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 13px; }
.console-metrics div { padding: 15px 9px; border-radius: 11px; background: #102d58; text-align: center; }
.console-metrics strong, .console-metrics span { display: block; }
.console-metrics strong { margin-bottom: 5px; font-size: 14px; }
.console-metrics span { color: #9eafc5; font-size: 10px; }

.quick-strip { position: relative; z-index: 4; margin-top: -28px; }
.quick-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; padding: 23px 28px; border: 1px solid #d4e1f0; border-radius: 14px; background: #f9fbfe; box-shadow: var(--shadow); }
.quick-inner strong { display: block; margin-bottom: 6px; font-size: 18px; }
.quick-inner p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.quick-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.quick-links a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #52637a; font-size: 11px; transition: border-color .18s ease, color .18s ease; }
.quick-links a:hover { border-color: #9dbce9; color: var(--blue); }

.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.section-heading h2 { margin: 13px 0 15px; font-size: clamp(32px, 4.2vw, 47px); line-height: 1.16; letter-spacing: -.04em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.section-dark .section-heading p { color: #b6c5d9; }
.section-dark .eyebrow { color: #77b7ff; }
.section-heading.center .eyebrow::after { content: ""; width: 18px; height: 2px; background: currentColor; }

.definition-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.definition-card { padding: 34px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-soft); }
.definition-card h3 { margin-bottom: 13px; font-size: 25px; }
.definition-card > p { margin-bottom: 0; color: var(--text); line-height: 1.86; }
.definition-card.primary { color: #fff; border-color: #183d72; background: #0c2a58; }
.definition-card.primary > p { color: #c3d0e1; }
.plain-list { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; }
.plain-list li { display: flex; align-items: flex-start; gap: 10px; color: #44556d; font-size: 13px; line-height: 1.65; }
.primary .plain-list li { color: #c6d4e7; }
.plain-list li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 7px; border: 2px solid var(--blue); border-radius: 50%; }
.primary .plain-list li::before { border-color: var(--cyan); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.service-card { position: relative; min-height: 300px; padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #afc9ef; box-shadow: var(--shadow); }
.service-number { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 21px; border-radius: 12px; background: var(--soft-blue); color: var(--blue); font-size: 12px; font-weight: 900; }
.theme-stm32 .service-number { background: #e6f7f4; color: #168f94; }
.service-card h3 { margin-bottom: 10px; font-size: 19px; line-height: 1.4; }
.service-card p { margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.service-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #45566c; font-size: 12px; line-height: 1.6; }
.service-card li { display: flex; align-items: flex-start; gap: 8px; }
.service-card .plain-list li::before { content: "+"; width: auto; height: auto; margin-top: 0; border: 0; border-radius: 0; color: var(--blue); font-weight: 900; }
.theme-stm32 .service-card .plain-list li::before { color: #168f94; }
.service-card.featured { border-color: #1f4a83; background: #0c2b5a; color: #fff; }
.service-card.featured .service-number { background: #17457f; color: #8edcf4; }
.service-card.featured p, .service-card.featured ul, .service-card.featured .plain-list li { color: #d7e5f5; }
.service-card.featured .plain-list li::before { color: #63b3ff; }

.platform-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; }
.platform-lead { padding: 32px; border: 1px solid #2a4a78; border-radius: 17px; background: #0d2852; }
.platform-lead h3 { margin: 17px 0 14px; font-size: 29px; line-height: 1.35; }
.platform-lead p { color: #bdcbe0; line-height: 1.85; }
.boundary-note { margin-top: 25px; padding: 18px; border: 1px solid #35598b; border-radius: 12px; background: #12305d; }
.boundary-note strong, .boundary-note span { display: block; }
.boundary-note strong { margin-bottom: 6px; color: #fff; }
.boundary-note span { color: #afc1d9; font-size: 12px; line-height: 1.65; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.platform-card { padding: 22px; border: 1px solid #294a78; border-radius: 14px; background: #0c2449; }
.platform-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.platform-card b { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #153a70; color: #7ed6ef; font-size: 11px; }
.platform-card h3 { margin: 0; font-size: 17px; }
.platform-card p { margin: 0 0 12px; color: #b3c2d8; font-size: 12px; line-height: 1.7; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list span { padding: 6px 8px; border: 1px solid #315488; border-radius: 7px; color: #aebed4; font-size: 9px; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); }
.comparison-table { width: 100%; min-width: 840px; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison-table th { background: #edf4fc; color: #2e4665; font-size: 12px; }
.comparison-table td { color: #4b5b70; font-size: 12px; line-height: 1.7; }
.comparison-table td:first-child { color: var(--ink); font-weight: 850; }
.comparison-table tr:last-child td { border-bottom: 0; }

.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.application-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.application-card span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.application-card h3 { margin: 10px 0 9px; font-size: 18px; }
.application-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.flow-step { position: relative; min-height: 190px; padding: 22px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.flow-step > span { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 26px; border-radius: 10px; background: var(--soft-blue); color: var(--blue); font-size: 11px; font-weight: 900; }
.theme-stm32 .flow-step > span { background: #e6f7f4; color: #168f94; }
.flow-step h3 { margin-bottom: 8px; font-size: 15px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.flow-note { margin-top: 18px; padding: 19px 22px; border-left: 4px solid var(--blue); background: var(--soft-blue); color: #3b5270; font-size: 13px; line-height: 1.75; }
.theme-stm32 .flow-note { border-left-color: #168f94; background: #e9f8f6; }

.acceptance-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 25px; }
.acceptance-lead { padding: 31px; border-radius: 16px; background: #0d2a58; color: #fff; }
.acceptance-lead h3 { margin-bottom: 13px; font-size: 27px; }
.acceptance-lead p { margin-bottom: 0; color: #bdcce0; line-height: 1.82; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.metric-card strong { display: block; margin-bottom: 7px; font-size: 15px; }
.metric-card span { color: var(--muted); font-size: 11px; line-height: 1.65; }
.freeze-box { grid-column: 1 / -1; margin-top: 4px; padding: 18px 20px; border: 1px solid #c4d8f1; border-radius: 12px; background: #edf5ff; color: #39516e; font-size: 12px; line-height: 1.7; }

.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.evidence-card { overflow: hidden; border: 1px solid #2b4c79; border-radius: 15px; background: #0c2449; }
.evidence-card header { padding: 22px 23px 18px; border-bottom: 1px solid #2e507f; }
.evidence-card header span { color: #7bb7f6; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.evidence-card h3 { margin: 8px 0 0; font-size: 19px; }
.evidence-body { padding: 21px 23px 23px; }
.evidence-body p { color: #b7c7db; font-size: 12px; line-height: 1.75; }
.evidence-boundary { margin: 0; padding: 12px 13px; border-radius: 9px; background: #12325f; color: #92a9c4 !important; font-size: 10px !important; }

.intake-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 66px; align-items: start; }
.intake-note { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.intake-note strong { display: block; margin-bottom: 9px; font-size: 17px; }
.intake-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.intake-list { border-top: 1px solid var(--line); }
.intake-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); list-style: none; }
.intake-list b { color: var(--blue); font-size: 11px; }
.theme-stm32 .intake-list b { color: #168f94; }
.intake-list span { color: #3f5066; font-size: 13px; line-height: 1.65; }

.cross-link-panel { display: grid; grid-template-columns: 1.18fr .82fr; gap: 34px; align-items: center; padding: 37px; border: 1px solid #c8d9ef; border-radius: 17px; background: linear-gradient(135deg, #edf5ff 0%, #f8fbff 100%); }
.cross-link-panel h2 { margin: 10px 0 13px; font-size: 31px; }
.cross-link-panel p { margin-bottom: 0; color: #4f6076; line-height: 1.8; }
.cross-actions { display: grid; gap: 10px; }
.cross-actions a { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px; border: 1px solid #bcd0eb; border-radius: 10px; background: #fff; color: #315273; font-size: 12px; font-weight: 800; }

.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 65px; }
.faq-aside { position: sticky; top: 110px; align-self: start; }
.faq-aside-card { margin-top: 24px; padding: 19px; border-radius: 12px; background: var(--soft-blue); color: #3e5572; font-size: 12px; line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 850; }
.faq-question::after { content: "+"; flex: 0 0 auto; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--soft-blue); color: var(--blue); font-size: 18px; }
.faq-item.is-open .faq-question::after { content: "−"; }
.faq-answer { margin: -3px 48px 22px 4px; color: var(--muted); font-size: 14px; line-height: 1.85; }

.contact-band { padding: 78px 0; background: var(--navy); color: #fff; }
.contact-layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: 60px; align-items: center; }
.contact-layout h2 { margin: 13px 0 16px; font-size: clamp(34px, 4.6vw, 51px); letter-spacing: -.04em; }
.contact-layout p { max-width: 680px; margin-bottom: 0; color: #b8c7da; font-size: 15px; line-height: 1.85; }
.contact-card { padding: 25px; border: 1px solid #31517e; border-radius: 15px; background: #0e2a55; }
.contact-card strong { display: block; margin-bottom: 13px; font-size: 18px; }
.contact-card ul { display: grid; gap: 9px; margin: 0 0 19px; padding: 0; list-style: none; color: #b7c7db; font-size: 12px; line-height: 1.65; }
.contact-card li::before { content: "•"; margin-right: 8px; color: var(--cyan); }
.contact-card .plain-list li { color: #c7d5e6; }
.contact-card .plain-list li::before { content: ""; width: 8px; height: 8px; margin: 7px 2px 0 0; border: 2px solid var(--cyan); }
.theme-stm32 .contact-card .plain-list li::before { border-color: #72dfd2; }

.site-footer { padding: 52px 0 23px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 48px; }
.footer-logo { width: 170px; }
.footer-grid p { margin: 15px 0 0; color: #607086; font-size: 11px; line-height: 1.75; }
.footer-grid strong { display: block; margin-bottom: 14px; font-size: 13px; }
.footer-grid a { display: block; margin: 10px 0; color: #69778a; font-size: 12px; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: #66768a; font-size: 10px; }

.sub-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(135deg, #06152c 0%, #0a2449 72%, #10376a 100%); }
.sub-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .2; background-image: linear-gradient(rgba(111, 165, 238, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 165, 238, .2) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000 0, #000 48%, transparent 90%); }
.sub-hero::after { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -190px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 111, 237, .28), transparent 68%); }
.theme-stm32 .sub-hero { background: linear-gradient(135deg, #06152c 0%, #083044 72%, #0a5054 100%); }
.theme-stm32 .sub-hero::after { background: radial-gradient(circle, rgba(21, 166, 163, .3), transparent 68%); }
.sub-hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 55px 0 82px; }
.sub-hero h1 { max-width: 800px; margin: 20px 0 22px; font-size: clamp(43px, 5.1vw, 65px); line-height: 1.08; letter-spacing: -.052em; }
.sub-hero .hero-lead { max-width: 760px; }
.sub-hero .breadcrumb { margin-bottom: 24px; }
.theme-stm32 .sub-hero .hero-kicker::before { background: #5bd8c5; box-shadow: 0 0 0 5px rgba(91, 216, 197, .11); }
.theme-stm32 .button-primary { background: #168f94; box-shadow: 0 13px 30px rgba(22, 143, 148, .28); }
.theme-stm32 .eyebrow { color: #168f94; }
.theme-stm32 .section-dark .eyebrow { color: #65d9cd; }
.theme-stm32 .quick-links a:hover { border-color: #80c9c6; color: #168f94; }
.direction-card { padding: 29px; border: 1px solid #35588a; border-radius: 18px; background: rgba(13, 42, 85, .9); box-shadow: 0 24px 62px rgba(0, 0, 0, .24); backdrop-filter: blur(10px); }
.direction-card > span { color: #7eb2f6; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.direction-card h2 { margin: 10px 0 23px; font-size: 25px; line-height: 1.35; }
.direction-card dl { display: grid; gap: 10px; margin: 0; }
.direction-card dl > div { padding: 15px 16px; border: 1px solid #31517e; border-radius: 11px; background: #102d58; }
.direction-card dt { margin-bottom: 5px; color: #7eb2f6; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.direction-card dd { margin: 0; color: #c0cee0; font-size: 12px; line-height: 1.7; }
.theme-stm32 .direction-card > span, .theme-stm32 .direction-card dt { color: #72dfd2; }
.sub-quick { margin-top: -30px; }
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sub-scope-grid .service-card { min-height: 310px; }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.route-card { scroll-margin-top: 110px; padding: 24px; border: 1px solid #294a78; border-radius: 14px; background: #0c2449; }
.route-card > span { display: inline-flex; min-width: 42px; min-height: 28px; align-items: center; justify-content: center; padding: 0 9px; border-radius: 7px; background: #153a70; color: #80d8ef; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.theme-stm32 .route-card > span { background: #0f5960; color: #8fe9df; }
.route-card h3 { margin: 15px 0 9px; font-size: 17px; }
.route-card p { margin: 0; color: #b3c2d8; font-size: 12px; line-height: 1.75; }
.sub-flow { grid-template-columns: repeat(5, 1fr); }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.delivery-grid .section-heading { margin-bottom: 24px; }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; min-height: 48px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #42546b; font-size: 12px; line-height: 1.7; }
.check-list li::before { content: "✓"; flex: 0 0 auto; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--soft-blue); color: var(--blue); font-size: 11px; font-weight: 900; }
.theme-stm32 .check-list li::before { background: #e6f7f4; color: #168f94; }
.source-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; padding: 36px; border: 1px solid #c9d9ed; border-radius: 17px; background: linear-gradient(135deg, #edf5ff 0%, #f9fbfe 100%); }
.source-panel h2 { margin: 12px 0 11px; font-size: 31px; }
.source-panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.78; }
.source-links { display: grid; gap: 9px; }
.source-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; border: 1px solid #bdd0e9; border-radius: 10px; background: #fff; color: #315273; font-size: 12px; font-weight: 800; }
.source-links a:hover { border-color: #89afe3; color: var(--blue); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.related-card { display: block; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.related-card:hover { transform: translateY(-3px); border-color: #aac5e9; box-shadow: var(--shadow-soft); }
.related-card > span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.theme-stm32 .related-card > span, .theme-stm32 .related-card b { color: #168f94; }
.related-card h3 { margin: 11px 0 9px; font-size: 19px; line-height: 1.45; }
.related-card p { min-height: 42px; margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.related-card b { color: var(--blue); font-size: 11px; }
.service-card-link, .platform-card-link, .application-card-link { display: block; border-radius: inherit; color: inherit; }
.card-route { display: inline-flex; align-items: center; gap: 5px; margin-top: 17px; color: var(--blue); font-size: 11px; font-weight: 850; }
.theme-stm32 .card-route { color: #168f94; }
.featured .card-route { color: #8edcf4; }
.platform-card .card-route { color: #7eb2f6; }
.application-card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.application-card:hover { transform: translateY(-3px); border-color: #adc7e9; box-shadow: var(--shadow-soft); }

@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .header-switch { display: none; }
  .hero-inner { gap: 44px; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-hero-grid { gap: 42px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-console { max-width: 680px; }
  .definition-grid, .platform-layout, .acceptance-layout, .intake-layout, .faq-layout, .contact-layout, .cross-link-panel { grid-template-columns: 1fr; }
  .card-grid, .application-grid, .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-aside { position: static; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 26px; }
  .sub-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .direction-card { max-width: 720px; }
  .boundary-grid, .delivery-grid, .source-panel { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 68px 0; }
  .section-compact { padding: 55px 0; }
  .site-header { height: 70px; }
  .brand, .brand img { width: 150px; }
  .header-cta { display: none; }
  .menu-button { position: relative; display: inline-flex; margin-left: auto; }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px rgba(10, 35, 70, .1); }
  .main-nav.is-open { display: grid; }
  .main-nav > a { padding: 13px 7px; border-bottom: 1px solid #edf1f6; }
  .main-nav > a::after { display: none; }
  .hero-inner { min-height: auto; padding: 46px 0 65px; }
  .sub-hero-grid { min-height: auto; padding: 46px 0 68px; }
  .sub-hero h1 { font-size: clamp(39px, 11.5vw, 51px); }
  .hero h1 { font-size: clamp(43px, 13vw, 59px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { flex: 1 1 160px; }
  .hero-console { padding: 20px; }
  .console-metrics { grid-template-columns: 1fr; }
  .quick-strip { margin-top: -20px; }
  .quick-inner { grid-template-columns: 1fr; padding: 20px; }
  .quick-links { justify-content: flex-start; }
  .section-heading h2 { font-size: 33px; }
  .section-heading p { font-size: 14px; }
  .definition-card { padding: 25px; }
  .card-grid, .card-grid.four, .application-grid, .evidence-grid, .platform-grid, .flow, .metric-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .platform-lead { padding: 24px; }
  .acceptance-lead { padding: 25px; }
  .intake-layout { gap: 34px; }
  .cross-link-panel { padding: 27px 23px; }
  .faq-layout { gap: 28px; }
  .faq-answer { margin-right: 36px; }
  .contact-band { padding: 68px 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
  .route-grid, .related-grid { grid-template-columns: 1fr; }
  .sub-scope-grid .service-card { min-height: auto; }
  .source-panel { gap: 28px; padding: 25px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 24px, 1180px); }
  .hero-kicker { font-size: 9px; }
  .hero h1 { font-size: 41px; }
  .hero-tags span { flex: 1 1 calc(50% - 9px); text-align: center; }
  .pipeline-row { grid-template-columns: 38px 1fr; }
  .pipeline-row b { width: 38px; height: 38px; }
  .pipeline-row em { display: none; }
  .footer-grid { gap: 24px 16px; }
}

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