:root { --blue: #1257BD; --ink: #10213b; --muted: #637083; --line: #dce4ef; --paper: #fff; --grid: rgba(18, 87, 189, .075); font-family: Inter, "Noto Sans SC", "PingFang SC", Arial, sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1257bd; outline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
.site-footer__inner, .landing { width: min(1120px, calc(100% - 40px)); margin: auto; }
.site-header__inner { width: min(1600px, calc(100% - 40px)); margin: auto; min-height: 84px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); flex-shrink: 0; }
.brand-mark { width: 66px; height: 66px; object-fit: contain; display: block; }
.site-footer .brand-mark { filter: brightness(0) invert(1); }
.brand-wordmark { font-weight: 800; font-size: 21px; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; white-space: nowrap; letter-spacing: 0; }
.site-nav > a, .site-nav summary { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--ink); }
.site-nav a:hover, .site-nav summary:hover, .site-nav a[aria-current="page"], .site-nav summary[aria-current="page"] { color: var(--blue); }
.desktop-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.language-switch { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 13.5px; font-weight: 650; }
.language-switch:hover { border-color: var(--blue); color: var(--blue); }
.language-switch .lang-flag { font-size: 15px; line-height: 1; }
.landing { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 72px 0; }
.landing__intro { max-width: 790px; text-align: center; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .09em; }
h1 { margin: 16px 0; font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: -.06em; }
.landing__intro p { color: var(--muted); line-height: 1.7; font-size: 17px; }
.path-cards { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 42px; text-align: left; }
.path-card { position: relative; border: 1px solid var(--line); background: #fff; padding: 28px; min-height: 200px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.path-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 14px 30px rgba(16,33,59,.1); }
.path-card h2 { margin: 0 0 10px; font-size: 25px; color: var(--blue); }
.path-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.path-card a::after { content: ""; position: absolute; inset: 0; }
.site-footer { background: var(--ink); color: #fff; padding: 36px 0; }
.site-footer .brand { color: #fff; }.site-footer__inner { display: grid; grid-template-columns: 1fr 2fr auto; gap: 28px; align-items: start; }.site-footer__contact { display: grid; gap: 7px; font-size: 14px; }.site-footer__contact a { color: #d9e7ff; }.site-footer small { color: #aab8cf; white-space: nowrap; }
.wiki-toolbar { display: flex; gap: 12px; margin: 28px 0; }.wiki-toolbar input { width: min(100%, 420px); padding: 12px; border: 1px solid var(--line); font: inherit; }.wiki-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }.wiki-card { border: 1px solid var(--line); padding: 20px; background: white; }.wiki-card h2 { font-size: 19px; margin: 0 0 10px; }.article { max-width: 760px; padding: 56px 0; }.article p, .article li { line-height: 1.8; color: #36465e; }.article h2 { margin-top: 40px; color: var(--blue); }
.home-shell { width: min(1120px, calc(100% - 40px)); margin: auto; }.home-hero { padding: 88px 0 72px; background: linear-gradient(135deg, rgba(18,87,189,.1), transparent 56%); }.home-hero h1, .home-section h2, .home-contact h2 { margin: 12px 0 16px; font-size: clamp(32px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }.home-lead, .home-section p, .home-contact p { max-width: 680px; color: var(--muted); line-height: 1.75; font-size: 17px; }.home-path-cards { margin-top: 32px; }.path-card__kicker { margin: 0 0 16px !important; color: var(--blue) !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; }.button { position: relative; z-index: 1; display: inline-flex; margin-top: 22px; padding: 11px 16px; color: #fff; background: var(--blue); font-weight: 750; }.button:hover { background: #0c438f; }.home-section { padding: 72px 0; border-top: 1px solid var(--line); }.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; list-style: none; counter-reset: process; }.process-list li { border: 1px solid var(--line); background: #fff; padding: 20px; color: var(--ink); font-weight: 700; counter-increment: process; }.process-list li::before { display: block; margin-bottom: 18px; color: var(--blue); content: "0" counter(process); font-size: 13px; letter-spacing: .1em; }.home-output { padding: 18px 20px; border-left: 3px solid var(--blue); background: rgba(18,87,189,.06); }.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }.home-grid h2 { font-size: 27px; }.home-protection { background: #f6f9fe; padding-left: max(20px, calc((100% - 1120px) / 2)); padding-right: max(20px, calc((100% - 1120px) / 2)); width: 100%; }.text-link { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 750; }.home-contact { padding: 72px 0; background: var(--blue); color: #fff; }.home-contact .eyebrow, .home-contact p { color: #e2ecff; }.button--light { color: var(--blue); background: #fff; }.button--light:hover { background: #eaf1ff; }
@media (max-width: 720px) { .site-header__inner { min-height: auto; padding: 16px 0; flex-wrap: wrap; gap: 16px; }.mobile-menu { margin-left: auto; }.path-cards, .home-grid, .process-list { grid-template-columns: 1fr; }.site-footer__inner { grid-template-columns: 1fr; }.site-footer small { white-space: normal; }.home-hero { padding: 64px 0 48px; }.home-section, .home-contact { padding-top: 52px; padding-bottom: 52px; } }

/* 页眉导航：结构与交互逐项对齐 efcryo.com 的 Header.astro + global.css */
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; cursor: pointer; list-style: none; color: var(--ink); }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease; }
.nav-dropdown[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-dropdown-panel { position: absolute; top: 42px; left: 0; z-index: 60; width: 310px; display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); box-shadow: 0 18px 44px rgba(17,24,39,.16); }
.nav-dropdown-panel a { display: block; padding: 9px 10px; border-radius: 5px; color: var(--ink); white-space: normal; font-size: .95rem; font-weight: 500; line-height: 1.35; }
.nav-dropdown-panel a:hover { background: rgba(18,87,189,.09); color: var(--blue); }
.nav-dropdown-panel .nav-dropdown-overview { color: var(--blue); font-weight: 700; }
.materials-dropdown .nav-materials-panel { width: min(560px, calc(100vw - 80px)); }
.nav-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; padding-top: 4px; }
.nav-panel-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.nav-panel-row a { color: var(--muted); font-size: .84rem; }
.metal-dropdown .nav-metal-panel { width: min(680px, calc(100vw - 80px)); left: 50%; transform: translateX(-50%); }
.additive-dropdown .nav-additive-panel { width: min(560px, calc(100vw - 80px)); }
.additive-dropdown .nav-additive-panel .nav-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 4px; }
.nav-family { display: grid; align-content: start; gap: 1px; min-width: 0; padding: 6px; border: 1px solid #edf1f5; border-radius: 5px; background: #fbfdff; }
.nav-dropdown-panel .nav-family-title { color: var(--blue); font-weight: 600; }
.nav-dropdown-panel .nav-family-item { color: var(--muted); font-size: .86rem; font-weight: 500; }
.nav-action-button { min-height: 42px; padding: 0 20px; border: 1px solid #05070d; border-radius: 6px; background: #05070d; color: #fff; font-size: 15px; font-weight: 700; }
.contact-dropdown > .nav-action-button { color: #fff; }
.nav-action-button:hover, .nav-action-button[aria-current="page"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.contact-dropdown .nav-dropdown-panel { right: 0; left: auto; width: min(330px, calc(100vw - 40px)); }
.language-switch { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 14px; font-weight: 500; }
.language-switch:hover { border-color: var(--blue); color: var(--blue); }
.lang-flag { font-size: 1rem; line-height: 1; }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu > summary { width: 40px; height: 40px; display: grid; align-content: center; gap: 5px; padding: 0 9px; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 6px; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary span { display: block; height: 2px; background: var(--ink); }
.mobile-menu nav { position: absolute; right: 0; top: 48px; width: min(290px, calc(100vw - 24px)); display: grid; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(17,24,39,.14); max-height: calc(100vh - 60px); overflow-y: auto; }
.mobile-menu nav > a { padding: 10px 12px; font-size: .94rem; font-weight: 500; }
.mobile-quick-actions { display: grid; gap: 6px; margin-bottom: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #f7faf9; }
.mobile-menu nav .mobile-quick-actions a { padding: 9px 10px; border: 1px solid #dce4ec; border-radius: 5px; background: #fff; color: var(--blue); font-size: .82rem; font-weight: 750; }
.mobile-menu nav .mobile-quick-actions .mobile-primary-action { background: var(--ink); border-color: var(--ink); color: #fff; }
.mobile-menu nav .mobile-dropdown { border: 0; margin: 0; padding: 0; width: 100%; position: static; }
.mobile-menu nav .mobile-dropdown summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; cursor: pointer; list-style: none; border: 0; font-size: .94rem; font-weight: 500; color: inherit; white-space: nowrap; }
.mobile-menu nav .mobile-dropdown summary::-webkit-details-marker { display: none; }
.mobile-menu nav .mobile-dropdown summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease; flex-shrink: 0; }
.mobile-menu nav .mobile-dropdown[open] summary::after { transform: rotate(225deg); }
.mobile-menu nav .mobile-dropdown-body { display: flex; flex-direction: column; }
.mobile-menu nav .mobile-dropdown-overview { padding: 8px 12px 8px 24px; color: var(--blue); font-size: .88rem; font-weight: 700; }
.mobile-menu nav .mobile-subnav { padding: 8px 12px 8px 24px; color: var(--muted); font-size: .84rem; font-weight: 500; }
.mobile-menu nav .mobile-family { padding: 8px 12px 8px 24px; color: var(--ink); font-size: .84rem; font-weight: 600; }
.mobile-menu nav .mobile-product { padding: 8px 12px 8px 38px; color: var(--muted); font-size: .78rem; font-weight: 500; }
.mobile-menu nav .language-switch { margin-top: 4px; justify-content: center; }
@media (max-width: 1240px) { .site-nav, .desktop-actions { display: none; } .mobile-menu { display: block; } }

/* 材料方案页面 */
.mat-shell { width: min(1120px, calc(100% - 40px)); margin: auto; padding-bottom: 80px; }
.mat-hero { padding: 68px 0 4px; }
.mat-hero h1 { margin: 14px 0 16px; font-size: clamp(34px, 5.4vw, 62px); line-height: 1.02; letter-spacing: -.05em; }
.mat-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.mat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.mat-chips a { padding: 7px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; font-weight: 650; }
.mat-chips a:hover { border-color: var(--blue); color: var(--blue); }
.mat-group { padding-top: 60px; scroll-margin-top: 100px; }
.mat-group h2 { margin: 0 0 8px; color: var(--blue); font-size: clamp(23px, 3vw, 32px); letter-spacing: -.03em; }
.mat-group__note { margin: 0 0 20px; color: var(--muted); line-height: 1.7; }
.mat-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.mat-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; }
.mat-table thead th { padding: 12px 14px; background: #f6f9fe; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .03em; text-align: left; vertical-align: bottom; }
.mat-table thead th span { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; opacity: .85; }
.mat-table tbody tr { scroll-margin-top: 100px; }
.mat-table tbody tr + tr { border-top: 1px solid var(--line); }
.mat-table tbody tr:target { background: rgba(18,87,189,.07); }
.mat-table tbody th, .mat-table td { padding: 14px; text-align: left; vertical-align: top; }
.mat-table tbody th { color: var(--ink); font-weight: 750; }
.mat-table td { color: #36465e; font-variant-numeric: tabular-nums; white-space: normal; }
/* 参数矩阵表（材料对照）数字不换行；叙述型表格默认换行，否则长句会把表格撑出容器右侧被裁掉 */
.mat-table--compare td { white-space: nowrap; }
.mat-note { display: block; margin-top: 5px; max-width: 320px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.55; white-space: normal; }
.mat-source { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.mat-cta { margin-top: 68px; padding: 30px; border-left: 3px solid var(--blue); background: rgba(18,87,189,.06); }
.mat-cta h2 { margin: 0 0 10px; font-size: 24px; }
.mat-cta p { margin: 0; color: var(--muted); line-height: 1.7; }


@media (max-width: 720px) { .mat-shell { width: calc(100% - 32px); }.mat-hero { padding-top: 44px; }.mat-group { padding-top: 44px; } }

/* 材料对比 */
.mat-pick-cell { width: 46px; }
.mat-pick-head { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: none; line-height: 1.3; }
.mat-pick { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.mat-name { color: var(--ink); font-weight: 750; border-bottom: 1px solid transparent; }
.mat-name:hover { color: var(--blue); border-bottom-color: var(--blue); }
.compare-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--ink); color: #fff; box-shadow: 0 16px 36px rgba(16,33,59,.28); }
.compare-bar[hidden] { display: none; }
.compare-bar__count { font-size: 13.5px; }
.compare-bar__count strong { font-size: 15px; }
.compare-bar__go { padding: 8px 16px; border: 0; background: var(--blue); color: #fff; font: inherit; font-size: 13.5px; font-weight: 750; cursor: pointer; }
.compare-bar__go:hover { background: #0c438f; }
.compare-bar__clear { padding: 8px 12px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #cfe0ff; font: inherit; font-size: 13px; cursor: pointer; }
.compare-bar__clear:hover { border-color: #fff; color: #fff; }
.mat-compare { margin-top: 48px; padding: 26px; border: 1px solid var(--line); background: #fff; scroll-margin-top: 100px; }
.mat-compare[hidden] { display: none; }
.mat-compare h2 { margin: 0 0 18px; color: var(--blue); font-size: 24px; }
.mat-compare__hint { margin: 0; color: var(--muted); }
.mat-table--compare th[scope="row"] { min-width: 150px; }
.mat-table--compare thead th a { color: var(--blue); font-weight: 800; }

/* 材料详情页 */
.mat-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 28px 0 0; color: var(--muted); font-size: 13px; }
.mat-crumb a { color: var(--blue); }
.mat-detail { padding: 26px 0 8px; }
.mat-detail h1 { margin: 12px 0 14px; font-size: clamp(36px, 6vw, 66px); line-height: 1; letter-spacing: -.05em; }
.mat-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.mat-detail__actions .button { margin-top: 0; }
.mat-compare-add { padding: 11px 16px; border: 1px solid var(--blue); background: #fff; color: var(--blue); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.mat-compare-add:hover { background: rgba(18,87,189,.07); }
.mat-compare-add.is-active { background: var(--blue); color: #fff; }
.mat-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 44px; }
.mat-detail__block h2 { margin: 0 0 14px; color: var(--blue); font-size: 22px; }
.mat-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.mat-specs > div { padding: 14px 16px; background: #fff; }
.mat-specs dt { color: var(--muted); font-size: 12px; font-weight: 650; }
.mat-specs dd { margin: 6px 0 0; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
.mat-specs dd span { margin-left: 3px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.mat-facts { margin: 0; padding-left: 18px; }
.mat-facts li { margin-bottom: 12px; color: #36465e; line-height: 1.7; }
.mat-table tr.is-current { background: rgba(18,87,189,.07); }
.mat-table tr.is-current th { color: var(--blue); }
@media (max-width: 720px) { .mat-detail__grid { grid-template-columns: 1fr; }.compare-bar { left: 16px; right: 16px; transform: none; justify-content: space-between; } }

/* 序号列：对齐原表编号 */
.mat-seq-cell { width: 56px; white-space: nowrap; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.mat-table thead .mat-seq-cell { text-align: center; }

/* 材料特性标签 */
.mat-feature-label { margin: 20px 0 6px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.mat-table th .mat-note { max-width: 280px; }


/* 材料卡片：内容呈现为主，不套原表版式 */
.mat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.mat-card { display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid var(--line); background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.mat-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 14px 30px rgba(16,33,59,.09); }
.mat-card:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,87,189,.13); }
.mat-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mat-card__head h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.mat-card__head h3 a { color: var(--ink); }
.mat-card__head h3 a:hover { color: var(--blue); }
.mat-card__pick { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 650; cursor: pointer; }
.mat-card__pick input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.mat-card__note { margin: 10px 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.mat-card__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.mat-card__specs dt { color: var(--muted); font-size: 11.5px; font-weight: 650; }
.mat-card__specs dd { margin: 3px 0 0; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.mat-card__specs dd span { color: var(--muted); font-size: 11px; font-weight: 500; }
.mat-card--sibling .mat-card__note { min-height: 44px; }

@media (max-width: 720px) {
  .mat-specs { grid-template-columns: 1fr; }
  .mat-cards { grid-template-columns: 1fr; }
}

/* Materials — application scenarios & buyer industries */
.mat-apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.mat-apps li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.65;
}
.mat-apps li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.mat-apps__subhead {
  margin: 44px 0 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.mat-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.mat-clients li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.3;
}
.mat-source--inline { margin-top: 22px; }
.mat-source--inline a { color: var(--blue); text-decoration: none; }
.mat-source--inline a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .mat-apps { grid-template-columns: 1fr; gap: 10px; }
  .mat-apps__subhead { margin-top: 32px; }
}
.mat-card__app {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mat-card__app span {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(18, 87, 189, .09);
  color: var(--blue);
  font-size: 11.5px;
  letter-spacing: .02em;
}

/* Materials — application figure */
.mat-apps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 44px;
  align-items: start;
  margin-top: 24px;
}
.mat-apps__figure { margin: 0; }
.mat-apps__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #f4f5f7;
}
.mat-apps__figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Materials — overview card media */
.mat-card__media {
  display: block;
  margin: -22px -22px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f3f6;
}
.mat-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.mat-card:hover .mat-card__media img { transform: scale(1.035); }

@media (max-width: 900px) {
  .mat-apps-layout { grid-template-columns: 1fr; gap: 22px; }
  .mat-apps__figure { order: -1; }
}

/* Custom & delivery page */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.svc-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.svc-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink); }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.72; }

.svc-subhead {
  margin: 42px 0 0;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.svc-machines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.svc-machine {
  padding: 20px 22px 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: #fff;
}
.svc-machine__name {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.svc-machine__size {
  margin: 8px 0 10px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.svc-machine__use { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

.svc-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
}
.svc-step__num { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; padding-top: 4px; }
.svc-step h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink); }
.svc-step p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.72; }

.svc-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.svc-checklist li { position: relative; padding-left: 24px; color: var(--ink); line-height: 1.65; }
.svc-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 800; }
.svc-contact { margin: 22px 0 0; color: var(--ink-soft); font-size: 14.5px; }

.mat-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px !important; }
.mat-cta__actions .button { margin-top: 0; }
.button--ghost { color: var(--blue); background: #fff; border: 1px solid var(--blue); }
.button--ghost:hover { background: #eaf1ff; }

/* Material page: data caveat + next step */
.mat-specs__caveat {
  margin: 10px 0 0;
  padding: 12px 16px;
  border-left: 2px solid var(--blue);
  background: rgba(18, 87, 189, .05);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-machines { grid-template-columns: 1fr; }
  .svc-checklist { grid-template-columns: 1fr; }
  .svc-step { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 16px; }
}

.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.site-footer__links a { color: #d9e7ff; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }

.mat-chips { padding: 0; list-style: none; }
.mat-chips li { list-style: none; }
.mat-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.svc-ip { margin: 18px 0 0 !important; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

.svc-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mat-specs__caveat { margin: 10px 0 16px; }
@media (max-width: 900px) { .svc-grid--three { grid-template-columns: 1fr; } }

/* ---- Selection: fit vs unfit ---- */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.fit-col { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 10px; background: #fff; }
.fit-col h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.fit-col h3::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.fit-col--no h3::before { background: #b04a3c; }
.fit-col ul { margin: 0; padding: 0; list-style: none; }
.fit-col li { position: relative; margin-bottom: 10px; padding-left: 16px; color: #3b4553; font-size: 14px; line-height: 1.6; }
.fit-col li::before { content: ''; position: absolute; left: 3px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: #c2cad6; }
.fit-col--yes li::before { background: rgba(18, 87, 189, .5); }
.mat-upgrade { margin: 20px 0 0; padding: 15px 18px; border-radius: 10px; background: #f4f8fe; color: #3b4553; font-size: 14px; line-height: 1.65; }
.mat-upgrade span { display: inline-block; margin-right: 10px; color: var(--ink); font-weight: 750; }

/* ---- Printing and post-processing ---- */
.mat-print { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 20px 0 0; border: 1px solid var(--line); border-radius: 12px; background: var(--line); overflow: hidden; }
.mat-print > div { display: flex; gap: 14px; align-items: baseline; padding: 13px 18px; background: #fff; }
.mat-print dt { flex: 0 0 62px; color: var(--muted); font-size: 12.5px; font-weight: 650; }
.mat-print > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mat-print dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.55; }
.mat-finish { margin: 16px 0 0; color: #3b4553; font-size: 14px; line-height: 1.65; }
.mat-finish span { display: inline-block; margin-right: 10px; color: var(--ink); font-weight: 750; }

@media (max-width: 900px) {
  .fit-grid, .mat-print { grid-template-columns: 1fr; }
}


.mat-note { margin: 18px 0 0; padding: 15px 18px; border-left: 2px solid var(--blue); background: #f7f9fc; color: #3b4553; font-size: 13.5px; line-height: 1.7; }
.mat-note strong { color: var(--ink); font-weight: 750; }

/* --- homepage: declared conditions / boundary blocks --- */
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.home-actions .button { margin-top: 0; }
.home-conditions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 30px; border: 1px solid var(--line); background: var(--line); }
.home-condition { background: #fff; padding: 22px 20px; }
.home-condition strong { display: block; margin-bottom: 9px; color: var(--blue); font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.home-condition p { margin: 0; max-width: none; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.home-section .home-output { max-width: 100%; }
.home-boundary { margin-top: 26px; padding: 26px 30px; border: 1px solid var(--line); border-left: 3px solid var(--blue); background: #fff; }
.home-boundary p { margin: 0 0 12px; max-width: 800px; }
.home-boundary p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .home-conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .home-conditions { grid-template-columns: 1fr; } .home-boundary { padding: 22px 20px; } }
