:root {
  color-scheme: light;
  --ink: #243445;
  --muted: #617487;
  --line: #dce8ef;
  --paper: #f5f9fc;
  --white: #fff;
  --accent: #287dac;
  --accent-bright: #7ac7ef;
  --accent-soft: #e2f3fc;
  --header: rgba(245,249,252,.94);
  --hover: #f0f8fd;
  --preview-bg: #e5f2fa;
  --shadow: rgba(43,92,126,.12);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eaf5fc;
  --muted: #a9bdcb;
  --line: #334b5e;
  --paper: #101c27;
  --white: #1a2b39;
  --accent: #87d1fa;
  --accent-bright: #65bce9;
  --accent-soft: #17394d;
  --header: rgba(16,28,39,.94);
  --hover: #22384a;
  --preview-bg: #203749;
  --shadow: rgba(0,0,0,.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --ink: #eaf5fc; --muted: #a9bdcb; --line: #334b5e; --paper: #101c27;
    --white: #1a2b39; --accent: #87d1fa; --accent-bright: #65bce9;
    --accent-soft: #17394d; --header: rgba(16,28,39,.94); --hover: #22384a;
    --preview-bg: #203749; --shadow: rgba(0,0,0,.3);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.55; }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
.shell { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.site-header { position: relative; z-index: 10; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
:is([data-page="home"], [data-page="about"]) .site-header { position: sticky; top: 0; }
:is([data-page="home"], [data-page="about"]) .site-nav { gap: 22px; margin-right: auto; }
:is([data-page="home"], [data-page="about"]) .site-controls { margin-left: 0; }
:is([data-page="home"], [data-page="about"]) .language-control, :is([data-page="home"], [data-page="about"]) .theme-toggle { width: 42px; height: 42px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand-mark { display: flex; align-items: center; justify-content: center; gap: 2px; width: 42px; height: 42px; background: linear-gradient(135deg, #4aa6da, #8ed7f5); border-radius: 11px; font-size: 14px; font-weight: 800; letter-spacing: -.08em; text-shadow: 0 1px 2px rgba(16,50,73,.75); }
.brand-z { color: #fff; }
.brand-by { color: #fff; }
.brand-name { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.site-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.language-control, .theme-toggle { border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.language-control { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: none; }
.language-control svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.control-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.theme-toggle { width: 36px; height: 36px; display: grid; place-items: center; font-size: 18px; line-height: 1; }
.language-control:hover, .theme-toggle:hover { border-color: var(--accent-bright); }
.language-control:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-nav > a, .nav-product > a { text-decoration: none; padding-block: 10px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.nav-product { position: relative; display: flex; align-items: center; gap: 4px; }
.submenu-toggle { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 8px 4px; line-height: 1; }
.nav-product > .submenu-toggle { display: flex; align-items: center; gap: 4px; color: var(--ink); font-weight: inherit; }
.nav-product > .submenu-toggle:hover { color: var(--accent); }
.submenu-toggle svg { display: block; width: 14px; height: 14px; transition: transform .2s; }
.nav-product.open .submenu-toggle svg { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 13px); left: -18px; min-width: 156px; padding: 7px; display: grid; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 18px 42px var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-5px); transition: .16s ease; }
.submenu::before { content: ""; position: absolute; inset: -15px 0 auto; height: 15px; }
.nav-product:hover .submenu, .nav-product:focus-within .submenu, .nav-product.open .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.submenu a { display: block; text-decoration: none; padding: 9px 11px; border-radius: 9px; white-space: nowrap; }
.submenu a:hover { background: var(--accent-soft); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1fr .91fr; align-items: center; gap: clamp(38px, 6vw, 90px); padding-block: clamp(62px, 8vw, 112px) 96px; }
.hero h1, .page-intro h1 { margin: 0; font-size: clamp(42px, 5.9vw, 72px); line-height: 1.12; letter-spacing: -.065em; font-weight: 760; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 480px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 0 20px; border-radius: 11px; background: #2e88b9; color: white; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #236f9a; }
.button span { font-size: 19px; line-height: 1; }
.hero-visual { position: relative; min-width: 0; padding: 21px 0 24px 25px; }
.hero-visual::before { content: ""; position: absolute; inset: 3% 0 1% 8%; border-radius: 42px; background: var(--preview-bg); transform: rotate(-5deg); }
.preview-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: var(--white); box-shadow: 0 20px 45px var(--shadow); }
.preview-card img { display: block; width: 100%; object-fit: cover; }
.preview-main { width: 85%; transform: rotate(3deg); }
.preview-main img { height: 235px; object-position: top; }
.preview-mini { width: 62%; margin: -56px 0 0 auto; transform: rotate(-5deg); }
.preview-mini img { height: 164px; object-position: top; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 15px; font-size: 13px; font-weight: 750; }
.preview-caption small { color: var(--muted); font-size: 11px; font-weight: 650; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 3.2vw, 38px); letter-spacing: -.045em; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.text-link { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.products-section { padding-bottom: 95px; }
.product-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 0; background: var(--white); text-decoration: none; box-shadow: 0 8px 22px rgba(31,83,120,.04); transition: transform .2s, border-color .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--accent-bright); box-shadow: 0 18px 34px var(--shadow); }
[data-page="home"] .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card-row { display: grid; grid-template-columns: minmax(124px, 32%) minmax(0, 1fr); min-height: 190px; }
.product-row-logo { display: grid; width: 100%; height: 100%; min-width: 0; place-items: center; overflow: hidden; padding: 18px; background: var(--preview-bg); color: var(--accent); }
.product-row-logo img { display: block; width: 100%; max-width: 154px; aspect-ratio: 1 / 1; border-radius: 28%; object-fit: cover; }
.product-row-logo > span { font-size: clamp(52px, 6vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.product-row-details { display: flex; min-width: 0; flex-direction: column; padding: 22px; }
.product-row-name { font-size: 19px; font-weight: 760; line-height: 1.3; }
.product-row-description { flex: 1; margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.product-row-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 19px; font-size: 12px; }
.product-row-platform { color: var(--muted); white-space: nowrap; }
.product-row-more { color: var(--accent); font-weight: 750; white-space: nowrap; }
.product-row-more span { display: inline-block; margin-left: 2px; font-size: 18px; line-height: 0; vertical-align: -.08em; transition: transform .2s; }
.product-card-row:hover .product-row-more span { transform: translateX(3px); }
.product-media { position: relative; display: grid; place-items: center; height: clamp(170px, 17vw, 205px); overflow: hidden; background: var(--preview-bg); isolation: isolate; }
.product-media::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: var(--product-image) center/cover; filter: blur(20px); opacity: .24; }
.product-media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; filter: drop-shadow(0 8px 13px rgba(14,48,75,.2)); }
.product-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 18px; }
.product-topline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.product-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: var(--icon-bg, #e3f2fa); color: var(--icon-color, #2676a0); font-size: 19px; font-weight: 800; letter-spacing: -.08em; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.product-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-icon svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.product-copy { min-width: 0; flex: 1; }
.product-name { display: block; font-size: 16px; font-weight: 760; line-height: 1.35; }
.product-description { display: -webkit-box; flex: 1; min-height: 39px; margin: 12px 0 16px; color: var(--muted); font-size: 13px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.product-bottomline { display: flex; align-items: center; justify-content: space-between; }
.platform { display: inline-block; min-width: 58px; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); text-align: center; font-size: 12px; font-weight: 750; }
.row-arrow { color: var(--accent); font-size: 23px; line-height: 1; text-align: right; }
.page-intro { padding: 72px 0 38px; }
.page-intro h1 { font-size: clamp(39px, 5.4vw, 62px); }
.page-intro p:last-child { max-width: 650px; margin: 21px 0 0; color: var(--muted); font-size: 16px; }
.filter-bar { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; }
.filter-bar a { padding: 8px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.filter-bar a:hover, .filter-bar a[aria-current="page"] { background: #2e88b9; border-color: #2e88b9; color: white; }
.result-count { margin-left: auto; color: var(--muted); font-size: 13px; }
.about-panel { margin: 6px 0 100px; padding: clamp(30px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); border-radius: 23px; }
.about-panel h2 { margin: 0 0 16px; font-size: 26px; }
.about-panel p { max-width: 680px; color: var(--muted); }
.email-link { display: inline-block; margin-top: 12px; color: var(--accent); font-size: clamp(20px, 3vw, 29px); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.policy-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.policy-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.policy-links a:hover { color: var(--accent); text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 25px; color: var(--muted); font-size: 12px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 780px) {
  [data-page="home"] .product-list { grid-template-columns: 1fr; }
  :is([data-page="home"], [data-page="about"]) .header-inner { gap: 12px; }
  :is([data-page="home"], [data-page="about"]) .site-nav { gap: 12px; }
  .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; padding-block: 60px 72px; }
  .hero-visual { max-width: 570px; }
  .preview-main img { height: 245px; }
  .preview-mini img { height: 170px; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 67px; gap: 8px; flex-wrap: wrap; padding-block: 11px; }
  .brand-name { font-size: 13px; }
  .brand-mark { width: 38px; height: 38px; }
  .site-controls { order: 1; }
  .site-nav { order: 2; width: 100%; justify-content: center; gap: 26px; font-size: 13px; }
  :is([data-page="home"], [data-page="about"]) .site-controls { order: 1; margin-left: auto; }
  :is([data-page="home"], [data-page="about"]) .site-nav { order: 2; width: auto; max-width: 100%; margin: 0 auto; gap: 18px; }
  .submenu { left: auto; right: -35px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { padding-left: 6px; }
  .preview-main img { height: 180px; }
  .preview-mini img { height: 130px; }
  .product-list { grid-template-columns: 1fr; gap: 14px; }
  .product-card-row { grid-template-columns: minmax(102px, 32%) minmax(0, 1fr); min-height: 166px; }
  .product-row-logo { padding: 12px; }
  .product-row-details { padding: 15px; }
  .product-row-name { font-size: 16px; }
  .product-row-description { margin-top: 8px; font-size: 12px; }
  .product-row-footer { margin-top: 12px; font-size: 11px; }
  .product-media { height: 190px; }
  .product-name { font-size: 15px; }
  .result-count { display: none; }
  .section-heading { align-items: start; }
}
