:root {
      --ink: #18181b;
      --ink-soft: #3f3f46;
      --muted: #71717a;
      --line: #e4e4e7;
      --line-soft: #f4f4f5;
      --paper: #ffffff;
      --paper-soft: #fafafa;
      --accent: #5367d8;
      --accent-deep: #4354b8;
      --accent-soft: #f0f2ff;
      --accent-line: #ced4fa;
      --green: #168b72;
      --dark: #18181b;
      --max: 1180px;
      --nav-height: 64px;
      --shadow: 0 22px 58px rgba(24, 24, 27, 0.09);
    }

    * { box-sizing: border-box; letter-spacing: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 86px; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
      font-size: 15px;
      line-height: 1.72;
      -webkit-font-smoothing: antialiased;
    }
    button, input { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; text-decoration: none; }
    button { color: inherit; }
    img { display: block; max-width: 100%; }
    :where(a[href], button) { touch-action: manipulation; }
    :where(a[href], button):focus-visible { outline: 3px solid rgba(83,103,216,.28); outline-offset: 3px; }
    :where(.primary-nav a, .nav-trigger, .tool-link, .tool-download-inline, .download-btn, .hero-download-button, .copy-btn, .case-tab, .case-open, .back-top):active { filter: brightness(.96); }
    .grid-surface {
      background-image: linear-gradient(rgba(228,228,231,.48) 1px, transparent 1px), linear-gradient(90deg, rgba(228,228,231,.48) 1px, transparent 1px);
      background-size: 48px 48px;
    }
    .site-nav {
      position: sticky;
      z-index: 100;
      top: 0;
      height: var(--nav-height);
      border-bottom: 1px solid rgba(228,228,231,.88);
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(18px);
    }
    .nav-inner {
      width: min(100% - 48px, 1560px);
      height: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 760; line-height: 1; }
    .brand-mark { position: relative; width: 24px; height: 24px; flex: 0 0 24px; }
    .brand-mark i { position: absolute; width: 14px; height: 14px; border: 4px solid var(--accent); border-radius: 5px; transform: rotate(45deg); }
    .brand-mark i:nth-child(1) { left: 1px; top: 1px; }
    .brand-mark i:nth-child(2) { right: 1px; top: 1px; border-color: var(--green); }
    .brand-mark i:nth-child(3) { left: 5px; bottom: 0; border-color: #27272a; }
    .brand-label { position: relative; white-space: nowrap; }
    .brand-label::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 20px; height: 2px; border-radius: 2px; background: var(--accent); }
    .primary-nav { min-width: 0; display: flex; align-items: center; gap: 6px; overflow: visible; }
    .primary-nav::-webkit-scrollbar { display: none; }
    .primary-nav > a { flex: 0 0 auto; }
    .primary-nav > a, .nav-trigger { min-height: 44px; padding: 6px 10px; display: inline-flex; align-items: center; border: 0; border-radius: 7px; color: var(--ink-soft); background: transparent; font: inherit; font-weight: 650; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
    .primary-nav > a:hover, .primary-nav > a.is-active, .nav-trigger:hover, .nav-group.is-active > .nav-trigger, .nav-group.is-open > .nav-trigger { color: var(--accent-deep); background: var(--accent-soft); }
    .nav-group { position: relative; flex: 0 0 auto; }
    .nav-group::after { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 10px; }
    .nav-trigger::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease; }
    .nav-group.is-open > .nav-trigger::after { margin-top: 3px; transform: rotate(225deg); }
    .nav-menu { position: absolute; z-index: 100; top: calc(100% + 8px); left: 0; width: max-content; min-width: 220px; max-width: 320px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 2px; background: rgba(255,255,255,.98); box-shadow: 0 16px 40px rgba(24,24,27,.14); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease; }
    .nav-menu a { min-height: 44px; padding: 9px 11px; display: flex; align-items: center; border-radius: 6px; color: var(--ink-soft); font-size: 14px; font-weight: 650; line-height: 1.45; white-space: normal; }
    .nav-menu a:hover, .nav-menu a.is-active { color: var(--accent-deep); background: var(--accent-soft); }
    .nav-group.is-open > .nav-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
    @media (hover: hover) {
      .nav-group:hover > .nav-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
    }
    .page { display: none; animation: page-in 220ms ease; }
    .page.is-active { display: block; }
    @keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
    .shell { width: min(100% - 48px, var(--max)); margin: 0 auto; }
    .page-loader {
      position: fixed;
      z-index: 90;
      inset: var(--nav-height) 0 0;
      overflow: hidden;
      background: var(--paper);
      opacity: 1;
      visibility: visible;
      transition: opacity 180ms ease, visibility 180ms ease;
    }
    body.is-ready .page-loader { opacity: 0; visibility: hidden; pointer-events: none; }
    .page-loader-surface { height: 43%; min-height: 340px; border-bottom: 1px solid var(--line-soft); }
    .page-loader-inner { width: min(100% - 48px, var(--max)); margin: 0 auto; padding: 62px 0; }
    .page-loader-line, .page-loader-chip, .page-loader-block {
      position: relative;
      overflow: hidden;
      background: #f1f2f5;
    }
    .page-loader-line::after, .page-loader-chip::after, .page-loader-block::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
      transform: translateX(-100%);
      animation: page-loader-shimmer 1.35s ease-in-out infinite;
    }
    .page-loader-line { height: 14px; border-radius: 3px; }
    .page-loader-line.is-breadcrumb { display: none; }
    .page-loader-line.is-label { width: 150px; height: 11px; margin-bottom: 24px; }
    .page-loader-line.is-title { width: 330px; height: 52px; margin-bottom: 30px; }
    .page-loader-line.is-lead { width: 100%; max-width: 1120px; height: 20px; margin-bottom: 12px; }
    .page-loader-line.is-lead-short { width: min(72%, 820px); height: 20px; }
    .page-loader-chips { margin-top: 34px; display: flex; gap: 10px; }
    .page-loader-chip { width: 84px; height: 34px; border-radius: 6px; }
    .page-loader-content { padding-top: 64px; display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 22px; }
    .page-loader-index { width: 54px; height: 54px; border-radius: 50%; }
    .page-loader-copy { display: grid; gap: 14px; }
    .page-loader-copy .page-loader-line:first-child { width: 260px; height: 32px; }
    .page-loader-copy .page-loader-line:nth-child(2) { width: min(56%, 620px); }
    .page-loader-block { height: 150px; margin-top: 18px; border-radius: 8px; }
    @keyframes page-loader-shimmer { to { transform: translateX(100%); } }

    .home-hero { min-height: clamp(560px, calc(100vh - var(--nav-height) - 88px), 680px); padding: 72px 0 66px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; }
    .hero-intro { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); align-items: center; gap: 54px; }
    .hero-copy { min-width: 0; }
    .eyebrow { margin: 0 0 20px; color: var(--accent-deep); font-size: 13px; font-weight: 760; }
    .home-hero h1, .tool-hero h1 { margin: 0; font-weight: 780; line-height: 1.08; }
    .home-hero h1 { max-width: 760px; font-size: 58px; }
    .home-hero h1 em, .tool-hero h1 em { color: var(--accent); font-style: normal; }
    .home-lead { max-width: 850px; margin: 26px 0 0; color: var(--ink-soft); font-size: 20px; line-height: 1.8; }
    .hero-mock { position: relative; min-height: 400px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); transform: rotate(1deg); }
    .mock-browser { height: 28px; padding: 0 10px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
    .mock-browser i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d8; }
    .mock-app { height: 338px; display: grid; grid-template-columns: 74px minmax(0,1fr); grid-template-rows: 40px minmax(0,1fr); overflow: hidden; background: #f7f8fb; }
    .mock-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--accent); }
    .mock-top::before { content: ""; width: 50px; height: 8px; border-radius: 3px; background: rgba(255,255,255,.92); }
    .mock-top span { width: 36px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.46); }
    .mock-side { padding: 14px 10px; border-right: 1px solid #e8e9ee; background: white; }
    .mock-side i { display: block; width: 100%; height: 7px; margin-bottom: 13px; border-radius: 3px; background: #e5e7eb; }
    .mock-side i:first-child { background: #cfd5fb; }
    .mock-main { padding: 14px; }
    .mock-title { width: 38%; height: 10px; margin-bottom: 14px; border-radius: 3px; background: #c8ccd5; }
    .mock-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
    .mock-metrics i { height: 54px; border: 1px solid #e4e6ed; border-radius: 5px; background: white; }
    .mock-chart { height: 128px; margin-top: 10px; padding: 16px 12px 8px; display: flex; align-items: end; gap: 8px; border: 1px solid #e4e6ed; border-radius: 5px; background: white; }
    .mock-chart i { flex: 1; min-width: 0; border-radius: 3px 3px 0 0; background: #8ca0f1; }
    .mock-chart i:nth-child(2n) { background: #46b59d; }
    .mock-chart i:nth-child(1) { height: 38%; }
    .mock-chart i:nth-child(2) { height: 58%; }
    .mock-chart i:nth-child(3) { height: 46%; }
    .mock-chart i:nth-child(4) { height: 72%; }
    .mock-chart i:nth-child(5) { height: 62%; }
    .mock-chart i:nth-child(6) { height: 84%; }
    .mock-lines { margin-top: 10px; display: grid; gap: 7px; }
    .mock-lines i { height: 7px; border-radius: 3px; background: #e2e4ea; }
    .mock-lines i:nth-child(2) { width: 82%; }
    .home-flow { margin-top: 52px; display: grid; grid-template-columns: minmax(0,1fr) 38px minmax(0,1fr) 38px minmax(0,1fr) 38px minmax(0,1fr); align-items: stretch; }
    .home-flow.workflow-six { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
    .home-stage { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.94); box-shadow: 0 12px 36px rgba(24,24,27,.04); }
    .home-stage b { display: block; margin-bottom: 8px; font-size: 18px; }
    .home-stage p { min-height: 52px; margin: 0; color: var(--muted); }
    .stage-output { margin-top: 18px; padding: 9px 11px; border-radius: 6px; color: var(--accent-deep); background: var(--accent-soft); font-size: 13px; font-weight: 700; }
    .flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 24px; font-weight: 700; }
    .home-tools { padding: 72px 0 88px; }
    .section-heading { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
    .section-heading small { display: block; margin-bottom: 8px; color: var(--accent-deep); font-size: 13px; font-weight: 760; }
    .section-heading h2 { margin: 0; font-size: 34px; line-height: 1.25; }
    .section-heading p { max-width: 530px; margin: 0; color: var(--muted); }
    .tool-catalog { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
    .text-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
    .compact-features { margin-top: 34px; }
    .tool-card { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); display: flex; flex-direction: column; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
    .tool-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-3px); }
    .tool-card:focus-within { border-color: var(--accent-line); box-shadow: var(--shadow); }
    .tool-index { color: var(--accent); font-size: 13px; font-weight: 760; }
    .tool-card h3 { margin: 18px 0 10px; font-size: 25px; line-height: 1.3; }
    .tool-card p { margin: 0; color: var(--muted); }
    .tool-card ul, .feature-points { margin: 22px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
    .tool-card li, .feature-points li { padding: 5px 9px; border-radius: 5px; color: var(--ink-soft); background: var(--paper-soft); font-size: 12px; }
    .tool-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .tool-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-deep); font-weight: 720; }
    .tool-link::after { content: "→"; transition: transform 160ms ease; }
    .tool-card:hover .tool-link::after { transform: translateX(4px); }
    .tool-download-inline { min-height: 44px; padding: 6px 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 6px; color: white; background: var(--accent); cursor: pointer; font-weight: 700; text-decoration: none; }
    .tool-download-inline:hover { border-color: var(--accent-deep); background: var(--accent-deep); }
    .download-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); display: grid; gap: 10px; }
    .download-card b { font-size: 19px; }
    .download-card p { min-height: 52px; margin: 0; color: var(--muted); }
    .download-btn, .case-open, .case-tab {
      border: 1px solid var(--line);
      border-radius: 6px;
      background: var(--paper);
      cursor: pointer;
      transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
    }
    .download-btn { min-height: 44px; margin-top: 8px; color: white; border-color: var(--accent); background: var(--accent); font-weight: 720; }
    .download-btn:hover { border-color: var(--accent-deep); background: var(--accent-deep); }

    .tool-hero { padding: 88px 0 76px; border-bottom: 1px solid var(--line-soft); }
    .breadcrumb { margin-bottom: 46px; color: var(--muted); font-size: 13px; }
    .breadcrumb strong { margin-left: 7px; color: var(--ink); }
    .tool-label { display: inline-block; margin-bottom: 18px; color: var(--accent-deep); font-size: 13px; font-weight: 760; }
    .tool-hero h1 { max-width: 920px; font-size: 52px; }
    .one-line { max-width: 930px; margin: 26px 0 0; color: var(--ink-soft); font-size: 21px; line-height: 1.75; }
    .page[data-page="prd"] .one-line,
    .page[data-page="demand"] .one-line,
    .page[data-page="prototype"] .one-line,
    .page[data-page="annotation"] .one-line,
    .page[data-page="editor"] .one-line,
    .page[data-page="hosting"] .one-line,
    .page[data-page="solution"] .one-line,
    .page[data-page="manual"] .one-line { width: 100%; max-width: none; }
    .one-line strong { color: var(--ink); }
    .ability-strip { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; }
    .ability-strip span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); background: rgba(255,255,255,.9); font-size: 13px; font-weight: 650; }
    .hero-download { width: fit-content; max-width: 100%; min-height: 50px; margin-top: 24px; padding: 7px 7px 7px 15px; border: 1px solid var(--accent-line); border-radius: 7px; display: flex; align-items: center; gap: 18px; color: var(--accent-deep); background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(67,84,184,.08); font-size: 13px; font-weight: 700; }
    .hero-download-button { min-height: 44px; padding: 6px 13px; border: 1px solid var(--accent); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: white; background: var(--accent); font-weight: 720; white-space: nowrap; transition: border-color 150ms ease, background-color 150ms ease; }
    .hero-download-button:hover { border-color: var(--accent-deep); background: var(--accent-deep); }
    .content-section { padding: 82px 0; border-bottom: 1px solid var(--line-soft); }
    .content-section.soft { background: var(--paper-soft); }
    .block-head { margin-bottom: 34px; display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 20px; }
    .block-number { width: 54px; height: 54px; border: 1px solid var(--accent-line); border-radius: 50%; display: grid; place-items: center; color: var(--accent-deep); background: var(--accent-soft); font-weight: 760; }
    .block-head h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.25; }
    .block-head p { max-width: 760px; margin: 0; color: var(--muted); }
    .route-map { padding: 26px; border-radius: 8px; color: white; background: var(--dark); box-shadow: var(--shadow); overflow-x: auto; }
    .route-steps { min-width: 980px; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); }
    .route-steps.four { min-width: 760px; grid-template-columns: repeat(4,minmax(0,1fr)); }
    .route-steps.five { min-width: 900px; grid-template-columns: repeat(5,minmax(0,1fr)); }
    .route-steps.seven { min-width: 1080px; grid-template-columns: repeat(7,minmax(0,1fr)); }
    .route-step { position: relative; min-height: 150px; padding: 22px 20px 20px; border-right: 1px solid rgba(255,255,255,.11); }
    .route-step:last-child { border-right: 0; }
    .route-step small { display: block; margin-bottom: 22px; color: #8f96a3; font-size: 12px; }
    .route-step b { display: block; margin-bottom: 7px; font-size: 16px; }
    .route-step span { display: block; color: #aeb3bd; font-size: 12px; line-height: 1.65; }
    .route-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -9px; width: 18px; height: 18px; display: grid; place-items: center; color: #7d8bea; background: var(--dark); transform: translateY(-50%); }
    .feature-stack { display: grid; gap: 34px; }
    .feature-story { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
    .feature-meta { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .feature-meta span { color: var(--accent-deep); font-size: 12px; font-weight: 760; }
    .feature-meta i { padding: 4px 8px; border-radius: 5px; color: var(--accent-deep); background: var(--accent-soft); font-size: 11px; font-style: normal; font-weight: 720; }
    .feature-story h3 { margin: 0; font-size: 26px; line-height: 1.35; }
    .feature-story > p { max-width: 900px; margin: 10px 0 22px; color: var(--muted); font-size: 16px; }
    .feature-points { margin: 0 0 26px; }
    .feature-points li { border: 1px solid var(--line); font-size: 13px; }
    .media-shot { width: 100%; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #edf0f5; }
    .media-shot img { width: 100%; height: auto; display: block; }
    .media-shot.mobile { padding: 28px; display: grid; place-items: center; }
    .media-shot.mobile img { width: min(100%,430px); border: 1px solid #d9dee8; box-shadow: 0 18px 44px rgba(24,24,27,.14); }
    .media-shot figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: 12px; }
    .text-feature { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
    .text-feature small { color: var(--accent-deep); font-weight: 760; }
    .text-feature h3 { margin: 14px 0 9px; font-size: 20px; }
    .text-feature p { margin: 0; color: var(--muted); }
    .usage-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 24px; }
    .command-panel, .usage-panel { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
    .panel-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 720; }
    .command { position: relative; min-height: 112px; padding: 18px 88px 18px 18px; border-radius: 6px; color: white; background: var(--dark); font-family: Consolas, "SFMono-Regular", monospace; line-height: 1.75; }
    .copy-btn { position: absolute; top: 14px; right: 14px; min-width: 58px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
    .example-list { margin-top: 16px; display: grid; gap: 8px; }
    .example-list span { padding: 10px 12px; border-left: 3px solid var(--accent-line); color: var(--ink-soft); background: var(--paper-soft); }
    .usage-panel h3 { margin: 0 0 16px; font-size: 20px; }
    .install-title { margin: 0 0 10px; font-size: 24px; }
    .install-copy { margin: 0; color: var(--muted); }
    .usage-steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
    .usage-steps li { position: relative; min-height: 46px; padding: 0 0 18px 44px; color: var(--muted); counter-increment: steps; }
    .usage-steps li::before { content: counter(steps); position: absolute; top: 0; left: 0; width: 28px; height: 28px; border: 1px solid var(--accent-line); border-radius: 50%; display: grid; place-items: center; color: var(--accent-deep); background: var(--accent-soft); font-size: 12px; font-weight: 760; }
    .usage-steps strong { display: block; color: var(--ink); }

    .case-stage-section { padding: 54px 0 28px; background: #f6f7f9; }
    .case-shell { width: min(100% - 28px, 1580px); margin: 0 auto; }
    .case-section-heading { margin-bottom: 26px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
    .case-section-heading small { color: var(--accent-deep); font-size: 12px; font-weight: 760; }
    .case-section-heading h1, .case-section-heading h2 { margin: 7px 0 0; font-size: 34px; line-height: 1.25; }
    .case-section-heading p { max-width: 660px; margin: 0; color: var(--muted); }
    .case-toolbar { position: relative; z-index: 2; margin-bottom: 14px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(24,24,27,.08); backdrop-filter: blur(12px); }
    .case-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
    .case-tab { min-height: 44px; padding: 7px 14px; color: var(--ink-soft); font-weight: 680; }
    .case-tab.is-active { color: var(--accent-deep); border-color: var(--accent-line); background: var(--accent-soft); }
    .case-open { min-height: 44px; padding: 7px 14px; color: white; border-color: var(--accent); background: var(--accent); font-weight: 720; }
    .case-viewer { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #eceff3; box-shadow: var(--shadow); }
    .browser-bar { height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 7px; border: 1px solid #d9dde5; border-bottom: 0; border-radius: 7px 7px 0 0; background: #f7f7f8; }
    .browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c8c8cc; }
    .browser-bar span { min-width: 0; margin-left: 8px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
    .case-frame-wrap { position: relative; height: calc(100vh - 178px); min-height: 650px; max-height: 900px; overflow: hidden; border: 1px solid #d9dde5; background: white; }
    .case-loading { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); background: #f6f7f9; transition: opacity 180ms ease, visibility 180ms ease; }
    .case-loading span { width: 240px; height: 12px; overflow: hidden; border-radius: 999px; background: #e4e7ec; }
    .case-loading span::after { content: ""; width: 45%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); animation: case-loading 1.1s ease-in-out infinite; }
    .case-loading b { font-size: 13px; font-weight: 600; }
    .case-frame-wrap.is-loaded .case-loading { opacity: 0; visibility: hidden; pointer-events: none; }
    @keyframes case-loading { from { transform: translateX(-120%); } to { transform: translateX(260%); } }
    .case-canvas { position: absolute; left: 50%; top: 50%; width: 1440px; height: 900px; transform: scale(var(--case-scale,1)) translate(-50%,-50%); transform-origin: top left; }
    .case-canvas iframe { width: 100%; height: 100%; border: 0; background: white; opacity: 0; transition: opacity 180ms ease; }
    .case-frame-wrap.is-loaded .case-canvas iframe { opacity: 1; }
    .case-viewer.is-mobile .case-frame-wrap { background: #e8ebf0; }
    .case-viewer.is-mobile .case-canvas { width: 430px; height: 900px; box-shadow: 0 0 0 1px rgba(24,24,27,.08), 0 20px 50px rgba(24,24,27,.12); }
    .case-summary { margin-top: 16px; color: var(--muted); }
    .case-documents-section { padding: 70px 0 100px; border-top: 1px solid var(--line); }
    .document-case-toolbar { position: relative; }
    .document-case-viewer { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
    .document-case-copy { margin-bottom: 24px; display: grid; gap: 7px; }
    .document-case-copy span { color: var(--accent-deep); font-size: 12px; font-weight: 760; }
    .document-case-copy h3 { margin: 0; font-size: 27px; line-height: 1.35; }
    .document-case-copy p { max-width: 760px; margin: 0; color: var(--muted); }
    .document-case-preview { background: #e9ecf1; }

    .site-footer { border-top: 1px solid var(--line); background: var(--paper-soft); }
    .footer-inner { width: min(100% - 48px,var(--max)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
    .icp-link { color: inherit; text-decoration: none; }
    .icp-link:hover { color: var(--accent-deep); text-decoration: underline; }
    .back-top { position: fixed; z-index: 80; right: 24px; bottom: 24px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-deep); background: white; box-shadow: 0 12px 30px rgba(24,24,27,.12); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 160ms ease, transform 160ms ease; }
    .back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .toast { position: fixed; z-index: 120; left: 50%; bottom: 30px; padding: 9px 16px; border-radius: 6px; color: white; background: #27272a; opacity: 0; pointer-events: none; transform: translate(-50%,8px); transition: opacity 160ms ease, transform 160ms ease; }
    .toast.is-visible { opacity: 1; transform: translate(-50%,0); }

    @media (max-width: 980px) {
      .home-hero h1, .tool-hero h1 { font-size: 44px; }
      .hero-intro { grid-template-columns: 1fr; }
      .hero-mock { width: min(100%,520px); margin: 0 auto; }
      .tool-catalog, .text-feature-grid { grid-template-columns: 1fr; }
      .tool-card { min-height: auto; }
      .usage-grid { grid-template-columns: 1fr; }
      .case-frame-wrap { height: calc(100vh - 220px); min-height: 580px; }
      .home-flow.workflow-six { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }
    @media (max-width: 720px) {
      :root { --nav-height: 58px; }
      .nav-inner, .shell, .footer-inner { width: min(100% - 28px,var(--max)); }
      .page-loader-inner { width: min(100% - 28px,var(--max)); padding: 46px 0; }
      .page-loader-line.is-title { width: min(72%, 280px); height: 40px; }
      .page-loader-content { padding-top: 46px; grid-template-columns: 1fr; }
      .page-loader-index { display: none; }
      .nav-inner { gap: 0; }
      .brand { display: none; }
      .primary-nav { width: 100%; justify-content: flex-start; gap: 2px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
      .primary-nav > a, .nav-trigger { padding: 6px 5px; font-size: 13px; }
      .nav-trigger::after { width: 5px; height: 5px; margin-left: 4px; }
      .nav-menu { position: fixed; top: calc(var(--nav-height) - 1px); right: 14px; left: 14px; width: auto; min-width: 0; max-width: none; padding: 8px; border-radius: 0 0 8px 8px; }
      .nav-menu a { font-size: 14px; }
      .home-hero { min-height: auto; padding: 58px 0; }
      .hero-mock { display: none; }
      .home-hero h1, .tool-hero h1 { font-size: 36px; }
      .home-lead, .one-line { font-size: 17px; }
      .home-flow { grid-template-columns: 1fr; gap: 10px; }
      .home-flow.workflow-six { grid-template-columns: 1fr; }
      .flow-arrow { height: 28px; transform: rotate(90deg); }
      .home-stage p { min-height: 0; }
      .home-tools, .content-section { padding: 58px 0; }
      .tool-hero { padding: 58px 0; }
      .breadcrumb { margin-bottom: 32px; }
      .hero-download { width: 100%; align-items: stretch; flex-direction: column; gap: 8px; }
      .section-heading { align-items: start; flex-direction: column; }
      .section-heading h2, .block-head h2 { font-size: 28px; }
      .block-head { grid-template-columns: 1fr; gap: 14px; }
      .route-map { padding: 16px; }
      .route-steps, .route-steps.four, .route-steps.five, .route-steps.seven { min-width: 0; grid-template-columns: 1fr; }
      .route-step { min-height: 112px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
      .route-step:last-child { border-bottom: 0; }
      .route-step:not(:last-child)::after { top: auto; right: 50%; bottom: -9px; transform: translateX(50%) rotate(90deg); }
      .feature-story { padding: 20px; }
      .feature-story h3 { font-size: 22px; }
      .media-shot.mobile { padding: 16px; }
      .case-toolbar { align-items: stretch; flex-direction: column; }
      .case-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
      .case-tab { min-width: 0; padding-inline: 8px; white-space: normal; }
      .case-open { width: 100%; display: inline-flex; align-items: center; justify-content: center; }
      .case-stage-section { padding-top: 14px; }
      .case-section-heading { align-items: start; flex-direction: column; gap: 10px; }
      .case-section-heading h1, .case-section-heading h2 { font-size: 28px; }
      .case-shell { width: min(100% - 16px,1580px); }
      .case-frame-wrap { height: calc(100vh - 250px); min-height: 520px; }
      .case-documents-section { padding: 58px 0; }
      .document-case-viewer { padding: 20px; }
      .footer-inner { padding: 22px 0; align-items: start; flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    }
