:root {
      --black: #000000;
      --green: #86bc25;
      --surface: #f6f7f8;
      --border: #d9dde1;
      --text: #161616;
      --muted: #5e6368;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      background: #fff;
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.55;
    }
    header {
      background: var(--black);
      padding: 20px 36px;
    }
    header img {
      display: block;
      width: 150px;
      height: auto;
    }
    main {
      width: min(1040px, calc(100% - 40px));
      margin: 0 auto;
      padding: 56px 0 64px;
    }
    h1 {
      margin: 0 0 16px;
      font-size: clamp(36px, 4.2vw, 54px);
      line-height: 1.05;
      letter-spacing: -0.025em;
      white-space: nowrap;
    }
    .lead {
      max-width: 1040px;
      margin: 0;
      color: var(--muted);
      font-size: clamp(17px, 1.6vw, 20px);
      line-height: 1.45;
    }
    .intro-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 36px;
    }
    .download-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-bottom: 46px;
    }
    .download-card {
      border: 1px solid var(--border);
      border-top: 4px solid var(--green);
      background: var(--surface);
      padding: 24px;
    }
    .download-card h2 {
      margin: 0 0 8px;
      font-size: 22px;
    }
    .download-card p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 14px;
    }
    .button-stack {
      display: grid;
      gap: 10px;
    }
    .btn {
      display: block;
      width: 100%;
      padding: 12px 14px;
      background: var(--black);
      color: #fff;
      text-align: center;
      text-decoration: none;
      font-weight: 700;
      font-size: 14px;
    }
    .btn.secondary {
      background: #fff;
      color: var(--black);
      border: 1px solid var(--black);
    }
    section {
      margin-top: 40px;
    }
    section h2 {
      margin: 0 0 18px;
      padding-bottom: 9px;
      border-bottom: 1px solid var(--border);
      font-size: 22px;
    }
    .steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
    .step {
      border: 1px solid var(--border);
      padding: 20px;
    }
    .step strong {
      display: block;
      margin-bottom: 6px;
      color: var(--green);
      font-size: 13px;
    }
    .step h3 {
      margin: 0 0 6px;
      font-size: 17px;
    }
    .step p, .platform-note, .security li {
      color: var(--muted);
      font-size: 14px;
    }
    code {
      display: inline-block;
      margin-top: 6px;
      padding: 4px 7px;
      background: #eceeef;
      color: var(--text);
      word-break: break-all;
    }
    .modal-open { overflow: hidden; }
    .guide-modal[hidden], .guide-panel[hidden] { display: none; }
    .guide-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: grid;
      place-items: center;
      padding: 20px;
      background: rgb(0 0 0 / 72%);
    }
    .guide-dialog {
      position: relative;
      width: min(1120px, 100%);
      max-height: calc(100vh - 40px);
      overflow: auto;
      background: #fff;
      box-shadow: 0 24px 70px rgb(0 0 0 / 40%);
    }
    .guide-dialog-header {
      position: sticky;
      top: 0;
      z-index: 2;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      padding: 24px 30px 18px;
      border-top: 4px solid var(--green);
      background: #fff;
    }
    .guide-eyebrow {
      display: block;
      margin-bottom: 4px;
      color: #5d831d;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .12em;
    }
    .guide-dialog-header h2 {
      margin: 0 0 4px;
      padding: 0;
      border: 0;
      font-size: 27px;
    }
    .guide-dialog-header p { margin: 0; color: var(--muted); font-size: 14px; }
    .modal-close {
      flex: 0 0 auto;
      width: 40px;
      height: 40px;
      border: 1px solid var(--border);
      background: #fff;
      color: var(--text);
      font-size: 25px;
      line-height: 1;
      cursor: pointer;
    }
    .guide-dialog-body { padding: 30px; background: #f5f7f6; }
    .manual-intro {
      display: grid;
      grid-template-columns: 1fr;
      margin-bottom: 22px;
      padding: 24px;
      border: 1px solid var(--border);
      background: #fff;
    }
    .manual-intro h3 { margin: 0 0 8px; font-size: 24px; }
    .manual-intro p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
    .manual-intro .btn { width: auto; display: inline-block; }
    .step-figure {
      margin: 14px 0 0;
      overflow: hidden;
      border: 1px solid #c9d0cb;
      background: #f1f3f2;
    }
    .step-figure img {
      display: block;
      width: 100%;
      max-height: 520px;
      object-fit: contain;
      background: #eef1ef;
    }
    .step-figure.compact img { max-height: 330px; }
    .step-figure figcaption {
      padding: 9px 12px;
      border-top: 1px solid #c9d0cb;
      background: #fff;
      color: var(--muted);
      font-size: 12px;
    }
    .figure-grid {
      display: grid;
      grid-template-columns: minmax(180px, .58fr) minmax(280px, 1.42fr);
      gap: 12px;
      align-items: start;
    }
    .manual-steps { display: grid; gap: 16px; }
    .manual-step {
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr);
      gap: 18px;
      padding: 24px;
      border: 1px solid var(--border);
      background: #fff;
    }
    .step-number {
      color: #72816a;
      font-size: 30px;
      font-weight: 800;
      line-height: 1;
    }
    .manual-step h4 { margin: 0 0 7px; font-size: 19px; }
    .manual-step p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
    .manual-step ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
    .manual-step li + li { margin-top: 5px; }
    .choice-row, .command-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 12px;
    }
    .choice-row .btn, .command-actions .btn { width: auto; min-width: 160px; cursor: pointer; }
    .permission-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      border: 1px solid #d7ddd9;
      background: #fff;
    }
    .permission-list { display: grid; gap: 8px; }
    .permission-mark { flex: 0 0 auto; color: #5f8d18; font-weight: 800; }
    .command-box {
      margin-top: 12px;
      border: 1px solid #30343a;
      background: #17191c;
    }
    .command-box pre {
      overflow-x: auto;
      margin: 0;
      padding: 16px;
      color: #f5f7f8;
      font: 13px/1.55 Consolas, "SFMono-Regular", Menlo, monospace;
      white-space: pre-wrap;
      word-break: break-word;
    }
    .command-box code { display: block; margin: 0; padding: 0; background: transparent; color: inherit; }
    .command-actions { margin: 0; padding: 12px 16px; border-top: 1px solid #3d4248; }
    .guide-note {
      margin-top: 14px !important;
      padding: 12px 14px;
      border-left: 3px solid var(--green);
      background: #f4f8ed;
      color: var(--text) !important;
    }
    .guide-references {
      margin-top: 20px;
      padding: 16px 18px;
      border: 1px solid var(--border);
      background: #fff;
      color: var(--muted);
      font-size: 13px;
    }
    .guide-references a { color: var(--text); }
    .security {
      border: 1px solid var(--border);
      padding: 22px 24px;
    }
    .security ul {
      margin: 0;
      padding-left: 20px;
    }
    footer {
      background: var(--black);
      color: #a6a6a6;
      padding: 30px 36px;
      font-size: 12px;
    }
    footer div {
      width: min(1040px, 100%);
      margin: 0 auto;
    }
    @media (max-width: 820px) {
      .download-grid, .steps { grid-template-columns: 1fr; }
      .intro-actions { align-items: flex-start; flex-direction: column; }
      .figure-grid, .mac-permission-grid { grid-template-columns: 1fr; }
      .guide-dialog-header { position: static; padding: 20px; }
      .guide-dialog-body { padding: 18px; }
      header { padding: 18px 20px; }
      main { width: min(100% - 28px, 1040px); padding-top: 38px; }
    }
    @media (max-width: 600px) {
      h1 { white-space: normal; }
      .guide-modal { padding: 0; }
      .guide-dialog { width: 100%; max-height: 100vh; }
      .guide-dialog-header h2 { font-size: 22px; }
      .manual-step { grid-template-columns: 1fr; padding: 20px; }
      .step-number { font-size: 24px; }
      .choice-row .btn, .command-actions .btn { width: 100%; }
    }

    /* Product-help layer: calm motion, clear hierarchy, and platform-first actions. */
    :root {
      --ink: #111315;
      --soft-ink: #4f595f;
      --paper: #ffffff;
      --mist: #f2f5f3;
      --line: #dce3de;
      --green-deep: #5f8d18;
      --blue: #1769e0;
      --violet: #6856d9;
      --orange: #f59e0b;
    }
    body {
      background:
        radial-gradient(circle at 12% 8%, rgb(134 188 37 / 9%), transparent 28rem),
        linear-gradient(180deg, #fff 0%, #f7f9f8 48%, #fff 100%);
    }
    header {
      display: flex;
      justify-content: center;
      background: var(--ink);
      padding: 18px 36px;
    }
    header img { width: 148px; }
    main {
      width: min(1180px, calc(100% - 48px));
      padding: 72px 0 82px;
    }
    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
      gap: clamp(32px, 6vw, 84px);
      align-items: center;
      margin-bottom: 70px;
    }
    .eyebrow, .guide-eyebrow {
      color: var(--green-deep);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .16em;
    }
    .hero h1 {
      max-width: 680px;
      margin: 14px 0 18px;
      color: var(--ink);
      font-size: clamp(42px, 6vw, 76px);
      line-height: .98;
      letter-spacing: -.055em;
      white-space: normal;
    }
    .hero .lead {
      max-width: 590px;
      color: var(--soft-ink);
      font-size: clamp(17px, 1.8vw, 20px);
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 18px;
      margin-top: 28px;
    }
    .hero-actions .btn { width: auto; min-width: 220px; }
    .text-link {
      color: var(--ink);
      font-size: 14px;
      font-weight: 800;
      text-decoration: none;
    }
    .text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
    .text-link:hover span { transform: translateX(4px); }
    .hero-visual {
      position: relative;
      min-height: 310px;
      display: grid;
      place-items: center;
    }
    .hero-visual::before {
      position: absolute;
      inset: 12% 4% 8%;
      border-radius: 50%;
      background: rgb(134 188 37 / 11%);
      content: "";
      filter: blur(2px);
    }
    .signal-card {
      position: relative;
      width: min(100%, 430px);
      padding: 26px;
      border: 1px solid rgb(17 19 21 / 12%);
      border-radius: 26px;
      background: rgb(255 255 255 / 84%);
      box-shadow: 0 22px 60px rgb(17 19 21 / 13%);
      backdrop-filter: blur(12px);
      transform: rotate(2deg);
    }
    .signal-caption {
      display: block;
      color: var(--soft-ink);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .13em;
    }
    .signal-title { margin: 5px 0 28px; font-size: 22px; letter-spacing: -.03em; }
    .signal-flow {
      position: relative;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      align-items: start;
    }
    .signal-flow::before {
      position: absolute;
      top: 25px;
      right: 17%;
      left: 17%;
      height: 2px;
      background: linear-gradient(90deg, var(--green), var(--blue), var(--violet));
      content: "";
      opacity: .5;
    }
    .flow-node { position: relative; display: grid; justify-items: center; gap: 8px; }
    .flow-icon {
      z-index: 1;
      display: grid;
      width: 52px;
      height: 52px;
      place-items: center;
      border: 6px solid #fff;
      border-radius: 17px;
      background: var(--ink);
      color: #fff;
      font-size: 21px;
      font-weight: 800;
      box-shadow: 0 8px 18px rgb(17 19 21 / 16%);
    }
    .flow-node:nth-child(2) .flow-icon { background: var(--blue); }
    .flow-node:nth-child(3) .flow-icon { background: var(--violet); }
    .flow-node small { color: var(--soft-ink); font-size: 12px; font-weight: 800; }
    .signal-footer {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      margin-top: 26px;
      padding-top: 17px;
      border-top: 1px solid var(--line);
      color: var(--soft-ink);
      font-size: 13px;
    }
    .signal-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      margin-right: 7px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 5px rgb(134 188 37 / 14%);
    }
    .download-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      margin-bottom: 88px;
    }
    .download-card {
      position: relative;
      display: flex;
      min-width: 0;
      flex-direction: column;
      overflow: hidden;
      padding: 0;
      border: 1px solid var(--line);
      border-top: 0;
      border-radius: 22px;
      background: var(--paper);
      box-shadow: 0 12px 34px rgb(17 19 21 / 7%);
      transition: transform .25s ease, box-shadow .25s ease;
    }
    .download-card::before {
      height: 5px;
      background: var(--green);
      content: "";
    }
    .download-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgb(17 19 21 / 12%); }
    .platform-macos::before { background: var(--blue); }
    .platform-linux::before { background: var(--orange); }
    .card-heading {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 22px 22px 0;
    }
    .platform-icon {
      display: grid;
      width: 48px;
      height: 48px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 16px;
      background: #eef4e7;
      color: var(--green-deep);
      font-size: 23px;
      font-weight: 900;
    }
    .platform-macos .platform-icon { background: #eaf2ff; color: var(--blue); }
    .platform-linux .platform-icon { background: #fff5e5; color: #c56c00; }
    .card-kicker { display: block; color: var(--soft-ink); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
    .card-heading h2 { margin: 1px 0 0; font-size: 26px; letter-spacing: -.04em; }
    .card-badge {
      margin-left: auto;
      padding: 5px 8px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--soft-ink);
      font-size: 10px;
      font-weight: 800;
      white-space: nowrap;
    }
    .card-stage {
      position: relative;
      display: grid;
      min-height: 188px;
      margin: 17px 16px 0;
      place-items: center;
      overflow: hidden;
      border-radius: 17px;
      background: radial-gradient(circle at 50% 35%, #fff 0%, #f0f5f1 76%);
    }
    .platform-macos .card-stage { background: radial-gradient(circle at 50% 35%, #fff 0%, #eef3ff 76%); }
    .platform-linux .card-stage { background: radial-gradient(circle at 50% 35%, #fff 0%, #fff4df 76%); }
    .card-stage::after {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 6px rgb(134 188 37 / 15%);
      content: "";
      animation: status-pulse 2.4s ease-in-out infinite;
    }
    .stage-label {
      position: absolute;
      top: 13px;
      left: 15px;
      z-index: 1;
      color: var(--soft-ink);
      font-size: 9px;
      font-weight: 900;
      letter-spacing: .12em;
    }
    .card-stage img {
      display: block;
      width: 115%;
      max-width: none;
      height: 220px;
      margin-top: 18px;
      object-fit: contain;
      mix-blend-mode: multiply;
      filter: drop-shadow(0 17px 15px rgb(17 19 21 / 13%));
      animation: card-float 6s ease-in-out infinite;
    }
    .platform-macos .card-stage img { animation-delay: -1.7s; }
    .platform-linux .card-stage img { animation-delay: -3.2s; }
    .card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
    .card-body p { min-height: 49px; margin: 0 0 15px; color: var(--soft-ink); font-size: 14px; }
    .mini-steps {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 0 0 20px;
      padding: 0;
      list-style: none;
    }
    .mini-steps li {
      padding: 6px 8px;
      border-radius: 7px;
      background: var(--mist);
      color: var(--soft-ink);
      font-size: 11px;
      font-weight: 800;
    }
    .mini-steps li::before { margin-right: 5px; color: var(--green-deep); content: "✓"; }
    .platform-macos .mini-steps li::before { color: var(--blue); }
    .platform-linux .mini-steps li::before { color: #c56c00; }
    .button-stack { margin-top: auto; gap: 9px; }
    .download-card .btn { border-radius: 10px; }
    .download-card .btn.secondary { border-color: var(--line); background: #fff; }
    .btn-help { border: 0; background: transparent; color: var(--ink); cursor: pointer; }
    .btn-help:hover { background: var(--mist); }
    .btn-help span { margin-left: 6px; transition: transform .2s ease; }
    .btn-help:hover span { display: inline-block; transform: translateX(4px); }
    .connect-section { margin-top: 0; }
    .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
    .section-heading h2 { margin: 0; padding: 0; border: 0; font-size: 30px; letter-spacing: -.04em; }
    .section-heading p { max-width: 420px; margin: 0; color: var(--soft-ink); font-size: 14px; text-align: right; }
    .steps { position: relative; gap: 0; }
    .steps::before {
      position: absolute;
      top: 36px;
      right: 11%;
      left: 11%;
      height: 1px;
      background: linear-gradient(90deg, var(--green), var(--blue), var(--violet));
      content: "";
      opacity: .35;
    }
    .step {
      position: relative;
      min-height: 196px;
      padding: 66px 22px 22px;
      border: 1px solid var(--line);
      background: rgb(255 255 255 / 82%);
    }
    .step + .step { border-left: 0; }
    .step::before {
      position: absolute;
      top: 20px;
      left: 22px;
      display: grid;
      width: 32px;
      height: 32px;
      place-items: center;
      border: 1px solid var(--green);
      border-radius: 50%;
      background: #fff;
      color: var(--green-deep);
      content: attr(data-step);
      font-size: 11px;
      font-weight: 900;
    }
    .step strong { color: var(--green-deep); font-size: 10px; letter-spacing: .12em; }
    .step h3 { font-size: 20px; letter-spacing: -.03em; }
    .step p { margin-bottom: 0; }
    .security { border-radius: 16px; background: rgb(255 255 255 / 78%); }
    .guide-modal { background: rgb(17 19 21 / 78%); backdrop-filter: blur(5px); }
    .guide-dialog { border-radius: 20px; }
    .guide-dialog-header { padding: 28px 32px 20px; border-radius: 20px 20px 0 0; }
    .guide-dialog-header h2 { letter-spacing: -.04em; }
    .guide-dialog-body { padding: 32px; }
    .manual-intro, .manual-step, .guide-references { border-radius: 15px; }
    .manual-intro { position: relative; overflow: hidden; border-left: 4px solid var(--green); box-shadow: 0 7px 18px rgb(17 19 21 / 4%); }
    .manual-intro::after { position: absolute; right: -38px; bottom: -56px; width: 160px; height: 160px; border-radius: 50%; background: rgb(134 188 37 / 10%); content: ""; }
    .manual-step { box-shadow: 0 7px 18px rgb(17 19 21 / 3%); }
    .step-number { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #bfd1ab; border-radius: 15px; background: #f4f8ed; color: var(--green-deep); font-size: 18px; }
    .step-figure { border-radius: 11px; }
    @keyframes card-float { 0%, 100% { transform: translateY(3px) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
    @keyframes status-pulse { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.12); } }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    }
    @media (max-width: 900px) {
      .hero { grid-template-columns: 1fr; }
      .hero-visual { min-height: 270px; }
      .download-grid { grid-template-columns: 1fr; }
      .download-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; }
      .download-card::before { position: absolute; top: 0; right: 0; left: 0; }
      .card-heading { grid-column: 1 / -1; padding-bottom: 0; }
      .card-stage { grid-row: 2; margin-bottom: 20px; }
      .card-body { grid-row: 2; }
      .step + .step { border-top: 0; border-left: 1px solid var(--line); }
    }
    @media (max-width: 600px) {
      main { width: min(100% - 28px, 1180px); padding-top: 48px; }
      header { padding: 16px 20px; }
      .hero { margin-bottom: 48px; }
      .hero h1 { font-size: clamp(42px, 13vw, 60px); }
      .hero-actions, .hero-actions .btn { width: 100%; }
      .hero-actions .btn { min-width: 0; }
      .signal-card { padding: 20px; }
      .download-card { display: flex; }
      .card-stage { min-height: 175px; }
      .card-stage img { height: 205px; }
      .section-heading { display: block; }
      .section-heading p { margin-top: 8px; text-align: left; }
      .steps { display: grid; gap: 10px; }
      .steps::before { top: 22px; right: auto; bottom: 22px; left: 37px; width: 1px; height: auto; background: linear-gradient(180deg, var(--green), var(--blue), var(--violet)); }
      .step, .step + .step { min-height: 0; border: 1px solid var(--line); border-radius: 12px; }
      .step { padding: 22px 20px 20px 70px; }
      .step::before { top: 20px; left: 20px; }
      .guide-dialog-header { padding: 20px; }
      .guide-dialog-body { padding: 18px; }
    }

    /* Keep the landing page focused: one help icon per platform, with motion reserved for the guide. */
    body { background: #fff; }
    header {
      background: #000000;
      padding: 16px 36px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .header-container {
      width: min(1040px, 100%);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .header-brand {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
    }
    .header-brand img {
      display: block;
      width: 140px;
      height: auto;
    }
    .lang-nav {
      display: flex;
      align-items: center;
    }
    .lang-switch {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      padding: 3px 5px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 999px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: border-color .2s ease, background-color .2s ease;
    }
    .lang-switch:hover {
      border-color: rgba(255, 255, 255, 0.32);
      background: rgba(255, 255, 255, 0.12);
    }
    .lang-globe-icon {
      color: #9da3a8;
      margin: 0 2px 0 6px;
      flex-shrink: 0;
      display: block;
    }
    .lang-btn {
      appearance: none;
      -webkit-appearance: none;
      border: 0;
      background: transparent;
      color: #c5cbd0;
      padding: 5px 12px;
      border-radius: 999px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .04em;
      cursor: pointer;
      line-height: 1;
      transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
    }
    .lang-btn:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.1);
    }
    .lang-btn.active {
      background: var(--green);
      color: #000000;
      font-weight: 800;
      box-shadow: 0 2px 8px rgba(134, 188, 37, 0.35);
      cursor: default;
    }
    .lang-btn:focus-visible {
      outline: 2px solid var(--green);
      outline-offset: 2px;
    }
    .lang-divider {
      width: 1px;
      height: 12px;
      background: rgba(255, 255, 255, 0.16);
      margin: 0 1px;
    }
    @media (max-width: 600px) {
      header { padding: 14px 20px; }
      .header-brand img { width: 118px; }
      .lang-btn { padding: 4px 9px; font-size: 12px; }
      .lang-globe-icon { width: 14px; height: 14px; margin: 0 1px 0 4px; }
    }
    main { width: min(1040px, calc(100% - 40px)); padding: 56px 0 64px; }
    .hero { display: block; margin-bottom: 36px; }
    .hero-copy { min-width: 0; }
    .hero h1 { margin: 0 0 16px; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -.025em; white-space: nowrap; }
    .hero .lead { max-width: 620px; margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; }
    .hero-visual, .hero-actions { display: none; }
    .download-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 46px; }
    .download-card {
      display: block;
      overflow: visible;
      padding: 24px;
      border: 1px solid var(--border);
      border-top: 4px solid var(--green);
      border-radius: 0;
      background: var(--surface);
      box-shadow: none;
      transition: none;
    }
    .download-card::before { display: none; }
    .download-card:hover { transform: none; box-shadow: none; }
    .platform-macos, .platform-linux { border-top-color: var(--green); }
    .card-heading, .card-stage, .card-body, .mini-steps { display: none; }
    .card-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
    .card-title-row h2 { margin: 0; font-size: 22px; }
    .help-icon {
      display: inline-grid;
      width: 32px;
      height: 32px;
      place-items: center;
      border: 1px solid #c9d3dc;
      border-radius: 10px;
      background: #f7fafc;
      color: #40515e;
      cursor: pointer;
      transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
    }
    .help-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .help-icon:hover, .help-icon:focus-visible { border-color: var(--green); background: #f2f8e9; color: var(--green-deep); outline: 3px solid rgb(134 188 37 / 18%); outline-offset: 2px; transform: translateY(-1px); box-shadow: 0 6px 14px rgb(17 19 21 / 10%); }
    .download-card > p { min-height: 66px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
    .download-card .button-stack { display: grid; gap: 10px; margin-top: 0; }
    .download-card .btn { border-radius: 0; }
    .connect-section { margin-top: 40px; }
    .connect-section > h2 { margin: 0 0 18px; padding-bottom: 9px; border-bottom: 1px solid var(--border); font-size: 22px; }
    .steps { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .steps::before { display: none; }
    .step { min-height: 0; padding: 64px 20px 20px; border: 1px solid var(--border); border-radius: 0; background: #fff; }
    .step + .step { border-left: 1px solid var(--border); }
    .step::before { top: 20px; left: 20px; }
    .step strong { color: var(--green-deep); font-size: 13px; letter-spacing: normal; }
    .step h3 { font-size: 17px; letter-spacing: normal; }
    .step p { margin-bottom: 0; }
    .manual-intro { border-radius: 0; box-shadow: none; }
    .manual-step { border-radius: 0; box-shadow: none; }
    .step-figure img { animation: guide-image-float 7s ease-in-out infinite; transform-origin: 50% 50%; }
    .guide-demo {
      margin-top: 14px;
      overflow: hidden;
      border: 1px solid #c9d0cb;
      border-radius: 8px;
      background: #f1f3f2;
      color: #20252a;
      box-shadow: 0 8px 22px rgb(17 19 21 / 10%);
    }
    .demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid #d6dce0; background: #fff; color: #4f595f; font-size: 12px; font-weight: 700; }
    .demo-bar span:last-child { color: #879097; font-weight: 400; }
    .windows-demo { background: #fff; }
    .windows-columns, .windows-file-row { display: grid; grid-template-columns: minmax(0, 1fr) 94px; gap: 12px; align-items: center; padding: 9px 12px; font-size: 12px; }
    .windows-columns { color: #68747d; border-bottom: 1px solid #e6e9eb; }
    .windows-file-row { background: #d9edff; color: #17324b; animation: selected-file-pulse 2.8s ease-in-out infinite; }
    .windows-file-name { overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: 11px; }
    .windows-file-type { color: #48657d; font-size: 11px; }
    .terminal-demo { background: #17191c; color: #eff3f5; }
    .terminal-demo .demo-bar { border-bottom-color: #343a40; background: #24282d; color: #fff; }
    .terminal-demo .demo-bar span:last-child { color: #a9b1b7; }
    .terminal-screen { min-height: 104px; padding: 16px; font: 14px/1.6 Consolas, "SFMono-Regular", Menlo, monospace; }
    .terminal-command { color: #f4f7f8; animation: terminal-line-in .8s ease both; }
    .terminal-prompt { margin-right: 8px; color: #86bc25; }
    .terminal-output { display: block; color: #cbd4da; opacity: 0; animation: terminal-output-in .6s ease .9s forwards; }
    .terminal-caret { display: inline-block; width: 8px; height: 16px; margin-left: 5px; vertical-align: -2px; background: #86bc25; animation: terminal-caret-blink 1s steps(2, jump-none) infinite; }
    .demo-hint { margin: 0; padding: 8px 12px; border-top: 1px solid #d6dce0; background: #fff; color: #5e6368; font-size: 12px; }
    .terminal-demo + .demo-hint { border-top-color: #343a40; background: #24282d; color: #bdc5ca; }
    .demo-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 18px 14px; background: #fff; }
    .demo-file-chip { display: grid; width: 38px; height: 44px; place-items: center; border-radius: 5px; background: #1769e0; color: #fff; font-size: 10px; font-weight: 800; animation: selected-file-pulse 2.8s ease-in-out infinite; }
    .demo-panel strong, .demo-panel small { display: block; }
    .demo-panel strong { overflow-wrap: anywhere; color: #20252a; font-size: 12px; }
    .demo-panel small { margin-top: 3px; color: #68747d; font-size: 11px; }
    .demo-status { padding: 5px 8px; border-radius: 999px; background: #eef4e7; color: #5f8d18; font-size: 10px; font-weight: 800; white-space: nowrap; }
    .accept-demo .demo-panel { grid-template-columns: minmax(0, 1fr) auto; }
    .accept-demo .demo-status { background: #111315; color: #fff; animation: accept-pulse 2.4s ease-in-out infinite; }
    .mac-check-demo .demo-panel { grid-template-columns: auto minmax(0, 1fr); }
    .mac-check-demo .demo-file-chip { width: 42px; background: #6856d9; }
    .command-box pre { animation: terminal-surface-pulse 5s ease-in-out infinite; }
    .command-box { position: relative; overflow: hidden; border-radius: 8px; }
    .command-label { display: block; padding: 8px 16px; border-bottom: 1px solid #3d4248; background: #24282d; color: #d5dadd; font: 11px/1.4 Arial, sans-serif; }
    .command-box.copy-only { overflow: visible; border: 0; background: transparent; }
    .command-box.copy-only pre { display: none; }
    .command-box.copy-only .command-actions { padding: 0; border: 0; background: transparent; }
    /* Generated guide scenes stay lightweight; exact labels remain selectable HTML. */
    .guide-modal { backdrop-filter: none; }
    .manual-step { content-visibility: auto; contain-intrinsic-size: 0 420px; }
    .guide-image-card {
      margin: 14px 0 0;
      overflow: hidden;
      border: 1px solid #c9d0cb;
      border-radius: 10px;
      background: #f1f3f2;
    }
    .guide-image-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 3 / 2;
      background: #eef1ef;
      isolation: isolate;
      animation: guide-frame-breathe 8s ease-in-out infinite;
    }
    .guide-image-wrap::after {
      position: absolute;
      inset: 0;
      background: linear-gradient(105deg, transparent 34%, rgb(255 255 255 / 13%) 49%, transparent 64%);
      content: "";
      pointer-events: none;
      transform: translateX(-115%);
      animation: guide-image-sheen 8s ease-in-out infinite;
    }
    .guide-image-wrap img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .guide-image-card figcaption {
      padding: 9px 12px;
      border-top: 1px solid #c9d0cb;
      background: #fff;
      color: var(--muted);
      font-size: 12px;
    }
    .guide-image-card figcaption code {
      display: block;
      margin-top: 6px;
      overflow-wrap: anywhere;
      color: #17324b;
      font-size: 11px;
    }
    .image-label {
      position: absolute;
      z-index: 1;
      display: block;
      max-width: 72%;
      color: #152330;
      font: 600 clamp(8px, 1.1vw, 13px)/1.25 Arial, sans-serif;
      pointer-events: none;
    }
    .windows-file-label {
      top: 42.7%;
      left: 26.5%;
      max-width: 47%;
      overflow: hidden;
      color: #17324b;
      font-family: Consolas, "SFMono-Regular", monospace;
      font-size: clamp(7px, 1vw, 12px);
      text-overflow: ellipsis;
      white-space: nowrap;
      animation: guide-focus-pulse 2.8s ease-in-out infinite;
    }
    .windows-type-label {
      top: 42.8%;
      right: 13.8%;
      color: #48657d;
      font-size: clamp(8px, 1.05vw, 12px);
    }
    .windows-app-title {
      top: 33.4%;
      left: 23%;
      font-size: clamp(9px, 1.15vw, 14px);
    }
    .windows-app-copy {
      top: 45.5%;
      left: 33.2%;
      font-size: clamp(9px, 1.2vw, 15px);
    }
    .windows-app-helper {
      top: 51.3%;
      left: 33.2%;
      color: #62717d;
      font-size: clamp(7px, .95vw, 12px);
    }
    .windows-ready {
      top: 45.3%;
      right: 13.5%;
      padding: 4px 8px;
      border-radius: 999px;
      background: #e8f5eb;
      color: #26733d;
      font-size: clamp(8px, 1vw, 12px);
      animation: guide-focus-pulse 2.8s ease-in-out infinite;
    }
    .request-title {
      top: 23.2%;
      left: 26.2%;
      font-size: clamp(9px, 1.1vw, 14px);
    }
    .request-copy {
      top: 33.2%;
      left: 40.2%;
      font-size: clamp(9px, 1.2vw, 15px);
    }
    .request-helper {
      top: 41.2%;
      left: 40.2%;
      max-width: 35%;
      color: #62717d;
      font-size: clamp(7px, .9vw, 11px);
    }
    .request-accept {
      top: 59.1%;
      right: 27.1%;
      color: #fff;
      font-size: clamp(8px, 1.05vw, 13px);
      animation: guide-focus-pulse 2.8s ease-in-out infinite;
    }
    .mac-check-title {
      top: 18.8%;
      left: 20.5%;
      font-size: clamp(9px, 1.1vw, 14px);
    }
    .mac-check-info {
      top: 34.2%;
      left: 36.8%;
      font-size: clamp(9px, 1.2vw, 15px);
    }
    .mac-check-helper {
      top: 41.4%;
      left: 36.8%;
      color: #62717d;
      font-size: clamp(7px, .95vw, 12px);
    }
    .linux-command, .linux-output {
      left: 10.8%;
      color: #f4f7f8;
      font: 600 clamp(10px, 1.45vw, 17px)/1.5 Consolas, "SFMono-Regular", monospace;
      text-shadow: 0 1px 1px rgb(0 0 0 / 35%);
    }
    .linux-command { top: 18.5%; }
    .linux-output {
      top: 27.2%;
      color: #cbd4da;
      font-weight: 400;
    }
    .linux-prompt { margin-right: 7px; color: #86bc25; }
    .linux-caret {
      display: inline-block;
      width: .55em;
      height: 1.1em;
      margin-left: 5px;
      vertical-align: -.15em;
      background: #86bc25;
      animation: terminal-caret-blink 1s steps(2, jump-none) infinite;
    }
    @keyframes guide-frame-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
    @keyframes guide-image-sheen { 0%, 62%, 100% { transform: translateX(-115%); } 78% { transform: translateX(115%); } }
    @keyframes guide-focus-pulse { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
    @media (prefers-reduced-motion: reduce) {
      .guide-image-wrap, .guide-image-wrap::after, .windows-file-label, .windows-ready, .request-accept { animation: none; }
    }
    @keyframes guide-image-float { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.018); } }
    @keyframes selected-file-pulse { 0%, 100% { background: #d9edff; } 50% { background: #c9e5fb; } }
    @keyframes terminal-line-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
    @keyframes terminal-output-in { to { opacity: 1; } }
    @keyframes terminal-caret-blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
    @keyframes accept-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(134 188 37 / 0%); } 50% { box-shadow: 0 0 0 5px rgb(134 188 37 / 18%); } }
    @keyframes terminal-surface-pulse { 0%, 100% { background-color: transparent; } 50% { background-color: rgb(134 188 37 / 5%); } }
    @media (max-width: 820px) {
      .download-grid, .steps { grid-template-columns: 1fr; }
      .download-card { display: block; }
      .step + .step { border-top: 0; border-left: 1px solid var(--border); }
    }
    @media (max-width: 600px) {
      main { width: min(100% - 28px, 1040px); padding-top: 38px; }
      header { padding: 18px 20px; }
      .hero { align-items: stretch; flex-direction: column; gap: 18px; margin-bottom: 36px; }
      .hero h1 { white-space: normal; }
      .download-card > p { min-height: 0; }
      .step { padding-left: 70px; }
    }
    /* One focused platform guide per help button; the dialog is a readable card, not a full-page takeover. */
    .guide-modal {
      padding: clamp(18px, 5vh, 48px) clamp(16px, 4vw, 48px);
      background: rgb(17 19 21 / 56%);
    }
    .guide-dialog {
      width: min(920px, calc(100vw - 32px));
      max-height: min(790px, calc(100vh - 36px));
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid #d4dce2;
      border-radius: 18px;
      box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
    }
    .guide-dialog-header {
      position: relative;
      padding: 22px 28px 17px;
      border-top-width: 3px;
    }
    .guide-dialog-header h2 { font-size: 25px; }
    .guide-dialog-body {
      min-height: 0;
      flex: 1 1 auto;
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-gutter: stable;
      padding: 24px 28px 30px;
    }
    .guide-dialog-body::-webkit-scrollbar { width: 10px; }
    .guide-dialog-body::-webkit-scrollbar-track { background: #eef1ef; }
    .guide-dialog-body::-webkit-scrollbar-thumb {
      border: 2px solid #eef1ef;
      border-radius: 999px;
      background: #9ba7ae;
    }
    .mac-choice-grid, .linux-package-grid { display: grid; gap: 14px; }
    .mac-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mac-choice-grid .guide-image-card { margin: 0; }
    .linux-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
    .linux-package-card {
      min-width: 0;
      padding: 16px;
      border: 1px solid #d7dfe4;
      border-radius: 10px;
      background: #fbfcfc;
    }
    .linux-package-card h5 { margin: 0 0 5px; font-size: 16px; }
    .linux-package-card > p { margin-bottom: 10px; }
    .linux-package-card .command-box { margin-top: 0; }
    .linux-package-card .step-figure { margin-top: 12px; }
    .linux-package-card .step-figure img { max-height: 180px; object-fit: contain; }
    @media (max-width: 820px) {
      .guide-dialog { width: min(680px, calc(100vw - 28px)); max-height: calc(100vh - 24px); }
      .guide-dialog-header { padding: 20px 22px 16px; }
      .guide-dialog-body { padding: 20px 22px 24px; }
      .mac-choice-grid, .linux-package-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .guide-dialog { border-radius: 14px; }
      .guide-dialog-header h2 { font-size: 22px; }
      .guide-dialog-header p { font-size: 13px; }
      .guide-dialog-body { padding: 16px; }
    }

    /* Crisp, low-cost UI demonstrations replace generated screenshots in the main steps. */
    .motion-figure {
      margin: 14px 0 0;
      overflow: hidden;
      border: 1px solid #c9d0cb;
      border-radius: 11px;
      background: #f1f3f2;
      box-shadow: 0 10px 24px rgb(17 19 21 / 7%);
    }
    .manual-step, .manual-step > div { min-width: 0; }
    .motion-scene {
      position: relative;
      overflow: hidden;
      min-height: 250px;
      isolation: isolate;
    }
    .motion-scene::after {
      position: absolute;
      inset: 0;
      z-index: 3;
      background: linear-gradient(108deg, transparent 36%, rgb(255 255 255 / 14%) 49%, transparent 62%);
      content: "";
      pointer-events: none;
      transform: translateX(-120%);
      animation: motion-sheen 8s ease-in-out infinite;
    }
    .motion-figure figcaption {
      padding: 9px 12px;
      border-top: 1px solid #c9d0cb;
      background: #fff;
      color: var(--muted);
      font-size: 12px;
    }
    .scene-titlebar {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 40px;
      padding: 0 14px;
      border-bottom: 1px solid #d6dce0;
      background: rgb(255 255 255 / 92%);
      color: #4b5964;
      font-size: 12px;
      font-weight: 700;
    }
    .scene-titlebar small { margin-left: auto; color: #8a959d; font-weight: 500; }
    .scene-controls { display: inline-flex; gap: 5px; }
    .scene-controls i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #cad2d8; }
    .scene-controls i:nth-child(1) { background: #f26b5e; }
    .scene-controls i:nth-child(2) { background: #f5c451; }
    .scene-controls i:nth-child(3) { background: #69c37d; }

    .windows-motion { background: linear-gradient(135deg, #e7f1fb 0%, #f9fbfd 58%, #dfeaf5 100%); color: #18232c; }
    .windows-motion .scene-titlebar { background: #f9fbfd; }
    .windows-motion .scene-titlebar .scene-controls { order: 3; margin-left: auto; }
    .mac-motion { min-height: 272px; background: linear-gradient(145deg, #e9edf2, #f5f7f9 58%, #e2e8ed); }
    .mac-menubar { min-height: 34px; padding: 0 16px; border-bottom: 1px solid #d5dce1; background: rgb(255 255 255 / 88%); }
    .mac-menubar strong { font-size: 14px; }
    .mac-window { margin: 24px auto 20px; width: min(88%, 500px); border-radius: 12px; background: rgb(251 252 253 / 97%); box-shadow: 0 16px 30px rgb(50 78 98 / 16%); }
    .mac-windowbar { position: relative; justify-content: center; min-height: 36px; background: linear-gradient(#fbfcfd, #edf1f4); font-size: 12px; }
    .mac-windowbar .scene-controls { position: absolute; left: 11px; }
    .mac-windowbar small { position: absolute; right: 12px; }
    .mac-about-body { grid-template-columns: 116px minmax(0, 1fr); min-height: 152px; padding: 21px; background: #fbfcfd; }
    .mac-about-icon { width: 80px; height: 80px; border: 1px solid rgb(255 255 255 / 70%); border-radius: 18px; background: linear-gradient(145deg, #69c4ee, #287dc6); box-shadow: inset 0 1px 2px rgb(255 255 255 / 55%), 0 5px 12px rgb(40 91 132 / 18%); }
    .mac-about-copy h5 { font-size: 16px; }
    .mac-about-row { margin-top: 9px; padding: 8px 10px; border: 1px solid #e0e6eb; border-radius: 7px; background: #f4f7f9; }
    .mac-choice-badge { margin-top: 11px; }
    .explorer-layout { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 210px; background: #fff; animation: motion-settle .65s ease both; }
    .explorer-sidebar { padding: 15px 12px; border-right: 1px solid #e0e6eb; background: #f7f9fb; color: #6d7a85; font-size: 12px; }
    .explorer-sidebar span { display: block; padding: 8px 10px; border-radius: 6px; }
    .explorer-sidebar .selected { background: #dceeff; color: #1366a8; font-weight: 700; }
    .explorer-main { min-width: 0; padding: 15px 18px; }
    .explorer-path { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #40515e; font-size: 13px; font-weight: 700; }
    .explorer-path span { color: #a0aab1; font-weight: 400; }
    .explorer-columns, .explorer-file { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 12px; align-items: center; }
    .explorer-columns { padding: 8px 10px; border-bottom: 1px solid #e6eaed; color: #87939c; font-size: 11px; }
    .explorer-file { position: relative; margin-top: 8px; padding: 10px; border: 1px solid #a9d4f4; border-radius: 5px; background: #d9edff; color: #17324b; font-size: 11px; animation: selected-file-glow 2.8s ease-in-out infinite; }
    .explorer-file-name { min-width: 0; overflow-wrap: anywhere; font: 11px/1.35 Consolas, monospace; }
    .explorer-file-type { color: #48657d; }
    .explorer-file-icon { display: inline-grid; width: 21px; height: 25px; margin-right: 7px; place-items: center; border: 1px solid #3b8dd0; border-radius: 3px; background: #fff; color: #1672b4; font-size: 9px; font-weight: 800; vertical-align: middle; }
    .explorer-hint { margin: 15px 0 0; color: #526b7d; font-size: 12px; }
    .windows-open-motion { min-height: 250px; padding: 20px; background: linear-gradient(135deg, #e9f3fb, #f8fbfd); }

    .mac-motion { min-height: 272px; background: linear-gradient(145deg, #e9edf2, #f5f7f9 58%, #e2e8ed); color: #202a31; }
    .mac-menubar { display: flex; align-items: center; gap: 14px; min-height: 34px; padding: 0 16px; border-bottom: 1px solid #d5dce1; background: rgb(255 255 255 / 88%); color: #4e5d66; font-size: 10px; }
    .mac-menubar strong { color: #202a31; font-size: 14px; }
    .mac-apple-mark { position: relative; display: inline-block; width: 12px; height: 13px; border-radius: 48% 48% 44% 44%; background: currentColor; transform: translateY(1px); }
    .mac-apple-mark::before { position: absolute; top: -4px; right: 0; width: 6px; height: 4px; border-radius: 100% 0; background: currentColor; content: ""; transform: rotate(-28deg); }
    .mac-apple-mark::after { position: absolute; top: 3px; right: -2px; width: 4px; height: 4px; border-radius: 50%; background: #f4f7f9; content: ""; }
    .mac-menubar span:last-child { margin-left: auto; color: #7d8a92; }
    .mac-window { position: relative; margin: 24px auto 20px; width: min(88%, 500px); overflow: hidden; border: 1px solid #c4ced5; border-radius: 12px; background: rgb(251 252 253 / 97%); box-shadow: 0 16px 30px rgb(50 78 98 / 16%); animation: motion-float 5.5s ease-in-out infinite; }
    .mac-windowbar { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding: 0 11px; border-bottom: 1px solid #dce3e8; background: linear-gradient(#fbfcfd, #edf1f4); color: #53636d; font-size: 12px; font-weight: 700; }
    .mac-windowbar .scene-controls { position: absolute; left: 11px; }
    .mac-windowbar small { position: absolute; right: 12px; color: #9ba5ab; font-weight: 500; }
    .mac-about-body { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; min-height: 152px; padding: 21px; background: #fbfcfd; }
    .mac-about-icon { display: grid; width: 80px; height: 80px; place-items: center; border: 1px solid rgb(255 255 255 / 70%); border-radius: 18px; background: linear-gradient(145deg, #69c4ee, #287dc6); color: #fff; box-shadow: inset 0 1px 2px rgb(255 255 255 / 55%), 0 5px 12px rgb(40 91 132 / 18%); }
    .mac-about-copy h5 { margin: 0 0 12px; font-size: 16px; }
    .mac-about-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; padding: 8px 10px; border: 1px solid #e0e6eb; border-radius: 7px; background: #f4f7f9; color: #687883; font-size: 12px; }
    .mac-about-row b { color: #1f303b; }
    .mac-choice-badge { display: inline-block; margin-top: 11px; padding: 6px 9px; border-radius: 6px; background: #eef7e6; color: #5c841b; font-size: 11px; font-weight: 700; animation: status-pulse 2.6s ease-in-out infinite; }

    .windows-controls { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; color: #52606a; }
    .windows-motion .windows-controls, .windows-client-motion .windows-controls { margin-left: 0; }
    .windows-controls i { display: grid; width: 22px; height: 22px; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; line-height: 1; }
    .windows-controls i:last-child { font-size: 17px; }
    .windows-client-motion { min-height: 300px; background: linear-gradient(135deg, #e5eef6, #f7fafc 58%, #dbe8f2); }
    .windows-client-motion .rustdesk-shell { min-height: 260px; }
    .windows-client-motion .rustdesk-sidebar { background: #edf3f8; }

    .mac-installer-motion { min-height: 320px; padding: 20px; background: linear-gradient(145deg, #e5ebf0, #f7f9fb 58%, #dce5eb); }
    .mac-installer-window { overflow: hidden; width: min(650px, 100%); margin: 0 auto; border: 1px solid #bec9d0; border-radius: 12px; background: #f7f8fa; box-shadow: 0 15px 30px rgb(50 78 98 / 16%); animation: motion-float 5.8s ease-in-out infinite; }
    .mac-installer-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(18px, 5vw, 48px); min-height: 205px; padding: 32px 44px 22px; background: #f4f5f8; }
    .installer-item { display: grid; justify-items: center; gap: 10px; min-width: 0; color: #26343d; font-size: 13px; text-align: center; }
    .installer-item b { overflow-wrap: anywhere; }
    .installer-tool-icon { display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid rgb(255 255 255 / 70%); border-radius: 22px; background: linear-gradient(145deg, #3eabf2, #1b70c8); color: #fff; box-shadow: inset 0 1px 2px rgb(255 255 255 / 45%), 0 7px 16px rgb(29 100 153 / 18%); animation: installer-tool-drift 3.8s ease-in-out infinite; }
    .installer-folder-icon { position: relative; width: 100px; height: 70px; margin-top: 18px; border-radius: 7px; background: linear-gradient(#77d1f3, #47b6e4); box-shadow: inset 0 1px 2px rgb(255 255 255 / 48%), 0 7px 14px rgb(39 117 149 / 16%); }
    .installer-folder-icon::before { position: absolute; top: -12px; left: 8px; width: 38px; height: 18px; border-radius: 6px 6px 0 0; background: #77d1f3; content: ""; }
    .installer-arrow { display: grid; width: 46px; height: 40px; place-items: center; color: #252c32; animation: installer-arrow-pulse 2.3s ease-in-out infinite; }
    .installer-hint { padding: 10px 14px; border-top: 1px solid #d7dfe4; background: #fff; color: #697983; font-size: 11px; text-align: center; }

    .mac-client-motion { min-height: 340px; background: linear-gradient(145deg, #d6e2ec, #f4f7f9 55%, #cad8e2); }
    .mac-client-motion > .mac-menubar { border-bottom-color: rgb(111 130 144 / 25%); background: rgb(255 255 255 / 62%); }
    .mac-client-window { width: min(94%, 790px); margin: 17px auto 23px; overflow: hidden; border: 1px solid #b8c7d1; border-radius: 12px; background: #f6f8fa; box-shadow: 0 15px 30px rgb(50 78 98 / 15%); animation: motion-float 5.8s ease-in-out infinite; }
    .mac-client-window .scene-titlebar { background: rgb(255 255 255 / 88%); }
    .mac-client-window .rustdesk-shell { min-height: 247px; }
    .mac-client-window .rustdesk-sidebar { background: #e8eef3; }

    .mac-permission-motion, .mac-settings-motion { min-height: 232px; padding: 18px; background: linear-gradient(145deg, #e6edf2, #f8fafb 58%, #dde7ed); }
    .mac-permission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mac-permission-window, .mac-settings-window { overflow: hidden; width: min(100%, 580px); margin: 0 auto; border: 1px solid #c1ccd3; border-radius: 11px; background: #fbfcfd; box-shadow: 0 12px 24px rgb(50 78 98 / 13%); animation: motion-float 6s ease-in-out infinite; }
    .permission-alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 25px 24px 14px; }
    .permission-tool-icon, .settings-app-icon { display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #45b4ed, #2376c3); color: #fff; box-shadow: inset 0 1px 2px rgb(255 255 255 / 42%); }
    .permission-tool-icon { width: 48px; height: 48px; }
    .permission-alert b { display: block; color: #273640; font-size: 14px; }
    .permission-alert p { margin: 6px 0 0; color: #6d7b84; font-size: 11px; line-height: 1.45; }
    .permission-alert-action { margin: 0 24px 20px; padding: 9px 11px; border: 1px solid #d4e2c8; border-radius: 7px; background: #eef7e8; color: #5c861e; font-size: 11px; font-weight: 800; text-align: center; }
    .mac-settings-body { display: grid; grid-template-columns: 178px minmax(0, 1fr); min-height: 175px; }
    .mac-settings-body aside { display: grid; align-content: start; gap: 8px; padding: 18px 14px; border-right: 1px solid #e1e7eb; background: #f0f3f6; color: #63727c; font-size: 10px; }
    .mac-settings-body aside b { margin-bottom: 5px; color: #273640; font-size: 11px; }
    .mac-settings-body > div { padding: 19px 20px; }
    .mac-settings-body h5 { margin: 0 0 7px; font-size: 16px; }
    .mac-settings-body p { margin: 0 0 14px; color: #6c7a84; font-size: 11px; }
    .settings-app-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px; border: 1px solid #dce4e9; border-radius: 8px; background: #f7f9fa; color: #273640; font-size: 11px; }
    .settings-app-icon { width: 30px; height: 30px; border-radius: 8px; }
    .permission-switch { padding: 4px 7px; border-radius: 999px; background: #e7f3db; color: #5d861f; font-size: 9px; font-weight: 900; animation: status-pulse 2.4s ease-in-out infinite; }

    .linux-client-motion { min-height: 340px; background: linear-gradient(145deg, #a9c5d7, #dce9ef 52%, #8eaec3); }
    .linux-desktop-topbar { display: flex; align-items: center; gap: 14px; min-height: 34px; padding: 0 16px; background: rgb(28 34 40 / 91%); color: #eaf0f3; font-size: 10px; }
    .linux-desktop-topbar b { margin: 0 auto; font-size: 11px; }
    .linux-desktop-topbar span:last-child { color: #bfcbd1; }
    .linux-desktop-body { position: relative; min-height: 290px; padding: 18px 22px 24px 76px; background: linear-gradient(145deg, #b8d1de, #e7eef1 58%, #9dbbcb); }
    .linux-dock { position: absolute; top: 18px; bottom: 24px; left: 14px; display: flex; flex-direction: column; gap: 7px; justify-content: center; width: 45px; padding: 7px 5px; border: 1px solid rgb(255 255 255 / 50%); border-radius: 13px; background: rgb(28 34 40 / 78%); box-shadow: 0 8px 18px rgb(34 62 78 / 16%); }
    .linux-dock span { display: grid; justify-items: center; gap: 2px; padding: 3px 0; border-radius: 7px; color: #f4f8fa; }
    .linux-dock span:nth-child(3) { background: rgb(255 255 255 / 17%); }
    .linux-dock i { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: #e8eef2; color: #2a3740; font-size: 13px; font-style: normal; }
    .linux-dock small { color: #dce6ea; font-size: 7px; }
    .linux-client-window { overflow: hidden; width: min(100%, 750px); margin: 0 auto; border: 1px solid #37424a; border-radius: 9px; background: #f3f6f8; box-shadow: 0 14px 26px rgb(34 62 78 / 18%); animation: motion-float 5.8s ease-in-out infinite; }
    .linux-client-window .scene-titlebar { border-bottom-color: #444f57; background: #2c343a; color: #eef3f5; }
    .linux-client-window .scene-titlebar small { color: #bcc8ce; }
    .linux-client-window .rustdesk-shell { min-height: 245px; }
    .linux-client-window .rustdesk-sidebar { background: #e6ecef; }
    @keyframes installer-tool-drift { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-5px); } }
    @keyframes installer-arrow-pulse { 0%, 100% { opacity: .65; transform: translateX(0); } 50% { opacity: 1; transform: translateX(5px); } }

    .linux-motion { background: #15181b; color: #edf2f4; }
    .linux-motion .scene-titlebar { border-bottom-color: #343a40; background: #24282d; color: #fff; }
    .linux-motion .scene-titlebar small { color: #a9b1b7; }
    .terminal-body { min-height: 190px; padding: 22px 20px; font: 14px/1.65 Consolas, "SFMono-Regular", Menlo, monospace; }
    .terminal-line { animation: terminal-line-in .8s ease both; }
    .terminal-prompt-green { margin-right: 9px; color: #86bc25; }
    .terminal-caret-motion { display: inline-block; width: 8px; height: 17px; margin-left: 6px; vertical-align: -3px; background: #86bc25; animation: terminal-caret-blink 1s steps(2, jump-none) infinite; }
    .terminal-output-motion { display: block; margin-top: 8px; color: #cbd4da; opacity: 0; animation: terminal-output-in .6s ease .75s forwards; }
    .terminal-success { display: inline-block; margin-top: 18px; padding: 5px 8px; border: 1px solid rgb(134 188 37 / 35%); border-radius: 5px; color: #b9d98e; font-size: 11px; opacity: 0; animation: terminal-output-in .6s ease 1.25s forwards; }
    .install-motion { min-height: 155px; }
    .install-motion .terminal-body { min-height: 115px; padding: 16px 14px; font-size: 11px; line-height: 1.55; }
    .install-motion .terminal-success { margin-top: 9px; font-size: 10px; }

    .rustdesk-motion { min-height: 290px; background: #f1f3f6; color: #25313a; }
    .rustdesk-motion .scene-titlebar { background: #f8fafb; }
    .rustdesk-shell { display: grid; grid-template-columns: 142px minmax(0, 1fr); min-height: 250px; }
    .rustdesk-sidebar { padding: 20px 14px; border-right: 1px solid #dce2e7; background: #edf0f4; }
    .rustdesk-sidebar h5 { margin: 0 0 11px; font-size: 13px; }
    .rustdesk-sidebar p { margin: 0 0 12px; color: #6f7c86; font-size: 10px; line-height: 1.45; }
    .rustdesk-id { padding-left: 8px; border-left: 3px solid #2d8cff; }
    .rustdesk-id small, .rustdesk-password small { display: block; color: #8b959d; font-size: 10px; }
    .rustdesk-id strong { display: block; margin-top: 3px; color: #263541; font-size: 21px; letter-spacing: .03em; animation: id-highlight 2.8s ease-in-out infinite; }
    .rustdesk-password { margin-top: 14px; padding-left: 8px; border-left: 3px solid #2d8cff; }
    .rustdesk-password b { display: block; margin-top: 3px; color: #4d5a63; font-size: 13px; letter-spacing: .16em; }
    .rustdesk-main { padding: 20px; }
    .rustdesk-main h5 { margin: 0 0 13px; font-size: 17px; }
    .rustdesk-connect-box { max-width: 390px; padding: 14px; border: 1px solid #dce2e7; border-radius: 9px; background: #fff; }
    .rustdesk-connect-box label { display: block; margin-bottom: 7px; color: #6b7881; font-size: 10px; }
    .rustdesk-connect-input { padding: 10px; border: 1px solid #aeb7bf; border-radius: 6px; color: #8b969e; font-size: 12px; }
    .rustdesk-connect-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 9px; }
    .rustdesk-connect-actions span { display: inline-grid; min-height: 28px; place-items: center; border-radius: 8px; font-size: 10px; }
    .rustdesk-connect-primary { min-width: 62px; padding: 0 12px; border: 1px solid #2f65ba; background: #2f65ba; color: #fff; }
    .rustdesk-more-action { width: 28px; padding: 0; border: 1px solid #d4dbe0; background: transparent; color: #697780; letter-spacing: -1px; }
    .rustdesk-ready { margin-top: 22px; color: #5d6870; font-size: 11px; }
    .rustdesk-ready i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #27b993; animation: status-pulse 2s ease-in-out infinite; }

    @keyframes motion-sheen { 0%, 62%, 100% { transform: translateX(-120%); } 78% { transform: translateX(120%); } }
    @keyframes motion-settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes motion-float { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-4px); } }
    @keyframes selected-file-glow { 0%, 100% { background: #d9edff; } 50% { background: #c9e5fb; } }
    @keyframes id-highlight { 0%, 100% { background: transparent; } 50% { background: rgb(134 188 37 / 20%); } }
    @media (prefers-reduced-motion: reduce) {
      .motion-scene::after, .explorer-layout, .explorer-file, .mac-window, .mac-choice-badge, .terminal-line, .terminal-caret-motion, .terminal-output-motion, .terminal-success, .rustdesk-id strong, .rustdesk-ready i, .mac-installer-window, .installer-tool-icon, .installer-arrow, .mac-client-window, .mac-permission-window, .mac-settings-window, .permission-switch, .linux-client-window { animation: none; opacity: 1; }
    }
    @media (max-width: 600px) {
      .motion-scene { min-height: 220px; }
      .explorer-layout { grid-template-columns: 94px minmax(0, 1fr); }
      .explorer-sidebar { padding: 12px 7px; }
      .explorer-sidebar span { padding: 7px 6px; font-size: 10px; }
      .explorer-main { padding: 12px 10px; }
      .explorer-columns, .explorer-file { grid-template-columns: minmax(0, 1fr) 72px; gap: 7px; }
      .explorer-file-name, .explorer-file-type { font-size: 9px; }
      .mac-window { width: 94%; }
      .mac-about-body { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 13px; }
      .mac-about-icon { width: 58px; height: 58px; }
      .mac-about-copy h5 { font-size: 13px; }
      .mac-about-row { font-size: 10px; }
      .mac-installer-motion, .mac-permission-motion, .mac-settings-motion { padding: 10px; }
      .mac-installer-body { gap: 9px; padding: 24px 13px 17px; }
      .installer-tool-icon { width: 64px; height: 64px; border-radius: 16px; }
      .installer-folder-icon { width: 73px; height: 52px; margin-top: 12px; }
      .mac-client-motion { min-height: 315px; }
      .mac-client-window { width: 96%; }
      .mac-permission-window, .mac-settings-window { width: 100%; }
      .mac-settings-body { grid-template-columns: 1fr; }
      .mac-settings-body aside { grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid #e1e7eb; }
      .mac-settings-body aside b { grid-column: 1 / -1; }
      .linux-client-motion { min-height: 315px; }
      .linux-desktop-body { min-height: 270px; padding-left: 64px; }
      .linux-dock { left: 9px; width: 39px; }
      .linux-dock small { display: none; }
      .rustdesk-shell { grid-template-columns: 105px minmax(0, 1fr); }
      .rustdesk-sidebar { padding: 14px 9px; }
      .rustdesk-main { padding: 14px 11px; }
      .rustdesk-id strong { font-size: 16px; }
      .rustdesk-main h5 { font-size: 14px; }
    }

    /* ---------------------------------------------------------------------
       Guide realism + rendering budget

       The guide intentionally uses HTML/CSS instead of animated GIF/video.
       Large perpetual transforms, sheen layers and shadow animations are
       disabled.  A single IntersectionObserver in app.js starts only the
       scene currently near the viewport; terminal typing is one-shot.
       ------------------------------------------------------------------ */
    .motion-scene {
      contain: layout paint style;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    .motion-scene::after { display: none; }
    .motion-scene *,
    .command-box pre { animation: none !important; }
    .permission-switch,
    .rustdesk-ready i { opacity: 1; }
    .terminal-output-motion,
    .terminal-success { opacity: 1; }

    .motion-scene.is-in-view .win11-window,
    .motion-scene.is-in-view .mac-window,
    .motion-scene.is-in-view .mac-installer-window,
    .motion-scene.is-in-view .mac-client-window,
    .motion-scene.is-in-view .mac-permission-window,
    .motion-scene.is-in-view .mac-settings-window,
    .motion-scene.is-in-view .linux-client-window {
      animation: scene-enter .34s cubic-bezier(.2, .75, .25, 1) both !important;
    }
    .motion-scene.is-in-view .rustdesk-id strong {
      animation: id-focus-once .85s ease-out .18s 1 both !important;
    }
    .motion-scene.is-in-view .rustdesk-id-static strong { animation: none !important; }

    /* Windows 11-style Explorer: no bitmap decode, crisp at every DPR. */
    .windows-explorer-motion {
      min-height: 338px;
      padding: 17px;
      background: linear-gradient(145deg, #dce9f5 0%, #eef5fa 58%, #d7e6f2 100%);
      color: #20262b;
      font-family: "Segoe UI", system-ui, sans-serif;
    }
    .win11-window {
      width: min(100%, 900px);
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid #bdcbd6;
      border-radius: 11px;
      background: #fff;
      box-shadow: 0 16px 34px rgb(42 70 92 / 16%);
    }
    .win11-titlebar,
    .win11-commandbar,
    .win11-toolbar { display: flex; align-items: center; }
    .win11-titlebar {
      min-height: 38px;
      padding-left: 12px;
      border-bottom: 1px solid #dde5ea;
      background: #f8fbfd;
      font-size: 12px;
    }
    .win11-titlebar b { font-weight: 600; }
    .win11-app-icon {
      width: 17px;
      height: 15px;
      margin-right: 8px;
      border: 1px solid #2a9b63;
      border-radius: 2px;
      background: linear-gradient(180deg, #daf7e8, #b9ecd3);
    }
    .win11-app-icon::before { content: "↓"; display: block; color: #178554; font-size: 13px; font-weight: 800; line-height: 13px; text-align: center; }
    .win11-window-controls { display: inline-flex; margin-left: auto; height: 38px; }
    .win11-window-controls i { display: grid; width: 42px; place-items: center; color: #4f5e68; font-size: 12px; font-style: normal; }
    .win11-window-controls i:last-child { font-size: 16px; }
    .win11-commandbar {
      gap: 12px;
      min-height: 48px;
      padding: 8px 12px;
      border-bottom: 1px solid #e2e8ec;
      background: #fbfdfe;
      color: #5a6973;
      font-size: 15px;
    }
    .win11-address,
    .win11-search {
      min-height: 31px;
      display: flex;
      align-items: center;
      border: 1px solid #d8e0e5;
      border-radius: 5px;
      background: #fff;
    }
    .win11-address { flex: 1; gap: 8px; padding: 0 10px; color: #33434e; font-size: 11px; }
    .win11-search { width: 220px; justify-content: space-between; padding: 0 10px; color: #8a969e; font-size: 10px; }
    .win11-toolbar {
      gap: 18px;
      min-height: 39px;
      padding: 0 14px;
      border-bottom: 1px solid #e5eaee;
      background: #fff;
      color: #4f5f69;
      font-size: 10px;
    }
    .win11-explorer-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 190px; }
    .win11-nav { padding: 11px 8px; border-right: 1px solid #e4eaee; background: #f7fafc; color: #53636e; font-size: 10px; }
    .win11-nav span { display: block; padding: 7px 9px; border-radius: 5px; }
    .win11-nav .active { background: #e4f2ff; color: #205f92; font-weight: 700; }
    .win11-filepane { min-width: 0; padding: 10px 14px 18px; }
    .win11-columns,
    .win11-file-row {
      display: grid;
      grid-template-columns: minmax(190px, 2fr) minmax(110px, 1fr) minmax(80px, .8fr) minmax(70px, .6fr);
      align-items: center;
      gap: 10px;
    }
    .win11-columns { padding: 0 9px 7px; border-bottom: 1px solid #e5eaed; color: #76848d; font-size: 9px; }
    .win11-group { display: block; margin: 10px 0 5px 8px; color: #2771ab; font-size: 10px; }
    .win11-file-row {
      padding: 7px 9px;
      border: 1px solid #9fcdf1;
      border-radius: 4px;
      background: #dceeff;
      color: #314653;
      font-size: 9px;
    }
    .win11-file-name { min-width: 0; overflow: hidden; color: #1f3441; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
    .win11-file-icon { display: inline-grid; width: 22px; height: 22px; margin-right: 7px; place-items: center; border-radius: 5px; background: #2278bb; color: #fff; font-size: 10px; font-style: normal; vertical-align: middle; }

    /* The remote tool now follows the real two-pane RustDesk proportions. */
    .rustdesk-shell {
      grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
      min-height: 270px;
      background: #f7f9fb;
    }
    .rustdesk-sidebar { padding: 23px 19px; background: #e9eff3; }
    .rustdesk-sidebar h5 { margin-bottom: 12px; color: #22313c; font-size: 18px; letter-spacing: -.02em; }
    .rustdesk-sidebar p { margin-bottom: 18px; color: #687984; font-size: 11px; word-break: keep-all; }
    .rustdesk-id,
    .rustdesk-password { padding-left: 10px; border-left-width: 3px; }
    .rustdesk-id small,
    .rustdesk-password small { color: #84919a; font-size: 10px; }
    .rustdesk-id strong { margin-top: 4px; padding: 2px 3px; color: #243540; font-size: clamp(22px, 3vw, 31px); letter-spacing: .025em; }
    .rustdesk-password { margin-top: 19px; }
    .rustdesk-password b { margin-top: 5px; font-size: 16px; }
    .rustdesk-main { padding: 26px 28px; }
    .rustdesk-main h5 { margin-bottom: 18px; color: #23313b; font-size: 21px; letter-spacing: -.02em; }
    .rustdesk-connect-box { max-width: 460px; padding: 17px; border-color: #d6dee4; border-radius: 10px; }
    .rustdesk-connect-box label { margin-bottom: 8px; color: #73818a; font-size: 10px; }
    .rustdesk-connect-input { min-height: 42px; display: flex; align-items: center; padding: 0 12px; border-color: #aebac3; font-size: 12px; }
      .rustdesk-connect-actions { margin-top: 11px; }
      .rustdesk-connect-primary { min-width: 64px; }
    .rustdesk-ready { margin-top: 24px; color: #64727c; font-size: 11px; }

    /* macOS scenes: restrained native spacing, no floating windows. */
    .mac-motion,
    .mac-installer-motion,
    .mac-client-motion,
    .mac-permission-motion,
    .mac-settings-motion {
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    }
    .mac-menubar { min-height: 30px; background: rgb(247 249 251 / 96%); color: #36434c; }
    .mac-window,
    .mac-installer-window,
    .mac-client-window,
    .mac-permission-window,
    .mac-settings-window { box-shadow: 0 13px 28px rgb(42 62 75 / 14%); }
    .mac-windowbar { min-height: 38px; }
    .scene-controls i { width: 9px; height: 9px; }
    .mac-about-body { align-items: center; }
    .mac-about-icon { border-radius: 20px; }
    .mac-choice-badge { animation: none !important; }
    .installer-item b { font-weight: 600; }
    .installer-hint { color: #596a75; }
    .permission-tool-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      padding: 18px 20px 12px;
    }
    .permission-tool-head b { display: block; color: #273640; font-size: 14px; }
    .permission-tool-head p { margin: 5px 0 0; color: #6d7b84; font-size: 10px; line-height: 1.4; }
    .permission-checklist { display: grid; gap: 7px; padding: 0 20px 18px; }
    .permission-check-row {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 9px;
      align-items: center;
      min-height: 38px;
      padding: 7px 9px;
      border: 1px solid #dfe6ea;
      border-radius: 8px;
      background: #f8fafb;
      color: #34454f;
      font-size: 10px;
    }
    .permission-check-icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 6px; background: #e7edf1; color: #536671; font-size: 11px; }
    .permission-check-row b { font-size: 10px; }
    .permission-check-action { padding: 5px 7px; border: 1px solid #cfdcc5; border-radius: 6px; background: #eef7e8; color: #5c861e; font-size: 8px; font-weight: 800; white-space: nowrap; }
    .mac-permission-grid .mac-settings-body { grid-template-columns: 112px minmax(0, 1fr); }
    .mac-permission-grid .mac-settings-body aside { padding: 16px 10px; }
    .mac-permission-grid .mac-settings-body > div { padding: 17px 14px; }
    .mac-permission-grid .settings-app-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 7px; padding: 8px; }
    .mac-permission-grid .settings-app-row b { overflow-wrap: normal; word-break: keep-all; }

    /* GNOME-like desktop: darker chrome and a neutral wallpaper keep focus on the app. */
    .linux-client-motion { background: linear-gradient(145deg, #7e91a5, #b4c6d2 56%, #71889e); }
    .linux-desktop-topbar { background: #252b31; }
    .linux-desktop-body { background: linear-gradient(145deg, #879db0, #c2d0d8 56%, #839bad); }
    .linux-dock { background: rgb(37 43 49 / 92%); box-shadow: 0 8px 18px rgb(22 35 45 / 18%); }
    .linux-dock span:nth-child(3) { background: transparent; }
    .linux-dock i { position: relative; overflow: hidden; }

    /* Real typing, but only while the terminal is in view. */
    .terminal-command-box { position: relative; }
    .terminal-command-box .command-label {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 10px;
      min-height: 35px;
      padding: 0 13px;
      background: #24282d;
      color: #e5e9ec;
      font: 11px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
    }
    .terminal-window-dots { display: inline-flex; gap: 5px; }
    .terminal-window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #f26b5e; }
    .terminal-window-dots i:nth-child(2) { background: #f5c451; }
    .terminal-window-dots i:nth-child(3) { background: #69c37d; }
    .terminal-shell-name { color: #919ca4; font-size: 9px; text-align: right; }
    .terminal-live {
      min-height: 128px;
      display: grid;
      align-content: start;
      gap: 3px;
      padding: 15px 16px;
      background: #17191c;
      color: #f3f6f7;
      font: 12px/1.55 "SFMono-Regular", Consolas, Menlo, monospace;
    }
    .terminal-live-line { min-width: 0; min-height: 1.55em; display: flex; align-items: baseline; gap: .7ch; white-space: pre-wrap; overflow-wrap: anywhere; }
    .terminal-live-prompt { flex: 0 0 auto; color: #86bc25; opacity: .92; }
    .terminal-live-output {
      display: block;
      margin-top: 5px;
      color: #b9c5cb;
      opacity: 0;
      transform: translateY(2px);
      transition: opacity .16s linear, transform .16s ease-out;
    }
    .terminal-live-output.is-visible,
    .terminal-success.is-visible { opacity: 1; transform: none; }
    .terminal-live-caret {
      display: none;
      width: 7px;
      height: 1.05em;
      flex: 0 0 auto;
      background: #d8e0e5;
      vertical-align: -.12em;
    }
    .terminal-running .terminal-live-caret {
      display: inline-block;
      animation: terminal-caret-blink .9s steps(1, end) infinite !important;
    }
    .terminal-complete .terminal-live-caret { display: none; }
    .terminal-copy-source {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      margin: -1px !important;
      padding: 0 !important;
      overflow: hidden !important;
      clip-path: inset(50%);
      white-space: pre !important;
    }
    .linux-terminal-mark { display: inline-grid; width: 18px; height: 14px; place-items: center; color: #86bc25; }
    .terminal-body .terminal-live-line { min-height: 1.65em; }
    .terminal-body .terminal-live-output { margin-top: 8px; color: #cbd4da; }
    .terminal-body .terminal-success {
      display: inline-block;
      width: fit-content;
      margin-top: 13px;
      opacity: 0;
      transform: translateY(2px);
      transition: opacity .16s linear, transform .16s ease-out;
    }

    @keyframes scene-enter {
      from { opacity: 0; transform: translateY(5px) scale(.995); }
      to { opacity: 1; transform: none; }
    }
    @keyframes id-focus-once {
      0%, 100% { background: transparent; }
      55% { background: rgb(134 188 37 / 18%); }
    }

    @media (max-width: 700px) {
      .windows-explorer-motion { min-height: 286px; padding: 10px; }
      .win11-search { display: none; }
      .win11-commandbar { gap: 8px; }
      .win11-explorer-body { grid-template-columns: 88px minmax(0, 1fr); min-height: 170px; }
      .win11-nav { padding-inline: 5px; }
      .win11-nav span { padding-inline: 6px; font-size: 8px; }
      .win11-columns,
      .win11-file-row { grid-template-columns: minmax(120px, 1.7fr) minmax(68px, .7fr); }
      .win11-columns span:nth-child(2),
      .win11-columns span:nth-child(4),
      .win11-file-row span:nth-child(2),
      .win11-file-row span:nth-child(4) { display: none; }
      .win11-toolbar { gap: 11px; overflow: hidden; white-space: nowrap; }
      .rustdesk-shell { grid-template-columns: 125px minmax(0, 1fr); }
      .rustdesk-sidebar { padding: 16px 10px; }
      .rustdesk-sidebar h5 { font-size: 14px; }
      .rustdesk-sidebar p { font-size: 9px; }
      .rustdesk-id strong { font-size: 17px; }
      .rustdesk-main { padding: 17px 13px; }
      .rustdesk-main h5 { font-size: 15px; }
      .terminal-live { padding: 13px 12px; font-size: 10px; }
      .terminal-live-line { display: block; }
      .terminal-live-prompt { margin-right: .7ch; }
    }

    @media (max-width: 820px) {
      .mac-permission-grid { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
      .motion-scene.is-in-view .win11-window,
      .motion-scene.is-in-view .mac-window,
      .motion-scene.is-in-view .mac-installer-window,
      .motion-scene.is-in-view .mac-client-window,
      .motion-scene.is-in-view .mac-permission-window,
      .motion-scene.is-in-view .mac-settings-window,
      .motion-scene.is-in-view .linux-client-window,
      .motion-scene.is-in-view .rustdesk-id strong,
      .terminal-running .terminal-live-caret {
        animation: none !important;
      }
      .terminal-live-output,
      .terminal-success { transition: none; }
    }

    /* ---------------------------------------------------------------------
       Reference-driven guide scenes


       Generated mockups are reference material only.  These production
       scenes stay HTML/CSS/SVG so they remain sharp, localizable and cheap to
       render.  Motion is one-shot and viewport-gated by app.js.
       ------------------------------------------------------------------ */
    :root {
      --remote-id-size: clamp(17px, 1.8vw, 22px);
    }

    /* Remote-tool typography: calm, app-like, never poster-sized. */
    .rustdesk-id strong {
      max-width: 100%;
      margin-top: 5px;
      padding: 0;
      background: transparent !important;
      color: #21333f;
      font-size: var(--remote-id-size);
      font-weight: 650;
      line-height: 1.12;
      letter-spacing: .01em;
      white-space: nowrap;
    }
    .motion-scene.is-in-view .rustdesk-id strong { animation: none !important; }
    .rustdesk-password b { font-weight: 600; }

    /* Windows client scenes follow the official 1.4.9 client reference:
       compact app chrome, a narrow local-ID sidebar, the remote-control card,
       recent connections, and the bottom status line. Step 3 is a crop of the
       same layout rather than a separate invented ID card. */
    .windows-app-open-motion {
      min-height: 520px;
      padding: 16px;
      background: linear-gradient(145deg, #e8eef4, #f8fafc 58%, #dde7ef);
    }
    .remote-client-window {
      position: relative;
      overflow: hidden;
      width: min(100%, 872px);
      margin: 0 auto;
      border: 1px solid #cfd3d7;
      border-radius: 7px;
      background: #fafafa;
      box-shadow: 0 15px 34px rgb(40 54 67 / 16%);
      color: #282828;
      font-family: Arial, "Segoe UI", system-ui, sans-serif;
    }
    .remote-client-titlebar {
      display: flex;
      min-height: 34px;
      align-items: center;
      gap: 7px;
      padding: 0 7px;
      border-bottom: 1px solid #d5d7da;
      background: #f1f1f3;
    }
    .remote-client-logo {
      position: relative;
      display: block;
      width: 20px;
      height: 20px;
      flex: 0 0 auto;
      border: 0;
      background-image: url("../brand/remote-tool-mark.svg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }
    .remote-client-title-spacer { flex: 1 1 auto; }
    .remote-client-menu {
      display: grid;
      width: 24px;
      height: 24px;
      place-items: center;
      color: #6e747a;
      font-size: 14px;
      line-height: 1;
    }
    .remote-client-titlebar .windows-controls { gap: 0; margin-left: 0; }
    .remote-client-titlebar .windows-controls i { width: 26px; height: 24px; color: #666c72; font-size: 12px; }
    .remote-client-titlebar .windows-controls i:last-child { font-size: 15px; }
    .remote-client-reference .rustdesk-shell {
      grid-template-columns: 198px minmax(0, 1fr);
      min-height: 430px;
      background: #fff;
    }
    .remote-client-reference .rustdesk-sidebar {
      position: relative;
      padding: 22px 17px;
      border-right: 1px solid #d4d6d9;
      background: #f1f1f4;
    }
    .remote-client-reference .rustdesk-sidebar h5 { margin: 0 0 10px; color: #262626; font-size: 18px; font-weight: 500; letter-spacing: 0; }
    .remote-client-reference .rustdesk-sidebar p { margin: 0 0 16px; color: #54575c; font-size: 11px; line-height: 1.45; }
    .remote-client-reference .rustdesk-id,
    .remote-client-reference .rustdesk-password {
      position: relative;
      padding: 0 24px 0 9px;
      border-left: 2px solid #138dff;
      background: transparent;
    }
    .remote-client-reference .rustdesk-id small,
    .remote-client-reference .rustdesk-password small { color: #86898e; font-size: 10px; }
    .remote-client-reference .rustdesk-id strong {
      margin-top: 4px;
      padding: 0;
      background: transparent !important;
      color: #34373b;
      font-size: var(--remote-id-size);
      font-weight: 500;
      letter-spacing: .015em;
    }
    .remote-client-reference .rustdesk-password { margin-top: 14px; }
    .remote-client-reference .rustdesk-password b { margin-top: 4px; color: #4c4f54; font-size: 12px; font-weight: 500; letter-spacing: .08em; }
    .remote-client-kebab,
    .remote-client-password-actions {
      position: absolute;
      right: 1px;
      bottom: 2px;
      color: #8c9095;
      font-size: 14px;
      line-height: 1;
    }
    .remote-client-password-actions { right: 0; color: #c8cbce; font-size: 13px; }
    .remote-client-reference .rustdesk-main {
      min-width: 0;
      padding: 22px 12px 0;
      background: #fff;
    }
    .remote-client-reference .rustdesk-connect-box {
      width: min(360px, 100%);
      max-width: none;
      padding: 18px 20px 20px;
      border: 1px solid #e1e1e4;
      border-radius: 14px;
      background: #fff;
    }
    .remote-client-reference .rustdesk-connect-box h5 { margin: 0 0 12px; color: #2e2f32; font-size: 19px; font-weight: 500; letter-spacing: 0; }
    .remote-client-reference .rustdesk-connect-input {
      min-height: 46px;
      padding: 0 14px;
      border: 1px solid #9da0a5;
      border-radius: 7px;
      color: #b1b2b5;
      font-size: 14px;
    }
    .remote-client-reference .rustdesk-connect-actions { gap: 10px; margin-top: 12px; }
    .remote-client-reference .rustdesk-connect-actions span {
      min-height: 30px;
      padding: 0 15px;
      border-radius: 5px;
      font-size: 10px;
    }
    .remote-client-transfer { display: inline-grid; place-items: center; border: 1px solid #c9cbce; background: #fff; color: #55595d; }
    .remote-client-reference .rustdesk-connect-primary { min-width: 80px; border-color: #138dff; background: #138dff; }
    .remote-client-sectionbar {
      display: flex;
      min-height: 42px;
      align-items: center;
      gap: 12px;
      margin-top: 18px;
      padding: 0 9px;
      border-top: 1px solid #e1e2e4;
      border-bottom: 1px solid #e1e2e4;
    }
    .remote-client-sectionbar .remote-client-nav-icon {
      position: relative;
      display: grid;
      width: 28px;
      height: 32px;
      place-items: center;
      color: #73777c;
    }
    .remote-client-sectionbar .remote-client-nav-icon svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .remote-client-sectionbar .remote-client-nav-icon:nth-child(2) svg { fill: currentColor; stroke: none; }
    .remote-client-sectionbar .remote-client-nav-icon.is-active { color: #111; }
    .remote-client-sectionbar .remote-client-nav-icon.is-active::after {
      position: absolute;
      right: 3px;
      bottom: -6px;
      left: 3px;
      height: 2px;
      background: #111;
      content: "";
    }
    .remote-client-sectionbar .remote-client-nav-tail { margin-left: auto; }
    .remote-client-recents {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 220px));
      gap: 12px;
      padding-top: 12px;
    }
    .remote-client-card {
      display: grid;
      min-height: 126px;
      grid-template-rows: 92px 34px;
      overflow: hidden;
      border: 1px solid #dedfe2;
      border-radius: 13px;
      background: #f5f5f7;
      color: #404348;
    }
    .remote-client-device {
      position: relative;
      display: grid;
      place-items: center;
      background: #a897bc;
      color: #fff;
    }
    .remote-client-device.alt { background: #df83bd; }
    .remote-client-device-apple { background: #b8a8cc; }
    .remote-client-device-android { background: #8799aa; }
    .remote-client-device svg { width: 44px; height: 44px; fill: currentColor; stroke: currentColor; stroke-width: 1.2; }
    .remote-client-device-android svg { fill: none; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
    .remote-client-device-name {
      position: absolute;
      right: 8px;
      bottom: 8px;
      left: 8px;
      overflow: hidden;
      color: rgb(255 255 255 / 92%);
      font-size: 8px;
      text-align: center;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .remote-client-card-foot {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 6px;
      align-items: center;
      padding: 0 10px;
      background: #f5f5f7;
    }
    .remote-client-card-foot i { width: 5px; height: 5px; border-radius: 50%; background: #f58b3d; }
    .remote-client-card-foot b { overflow: hidden; font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
    .remote-client-card-foot span { color: #787b80; font-size: 13px; line-height: 1; }
    .remote-client-statusbar {
      display: flex;
      min-height: 30px;
      align-items: center;
      gap: 6px;
      padding: 0 10px;
      border-top: 1px solid #d7d8da;
      background: #fff;
      color: #55585c;
      font-size: 9px;
    }
    .remote-client-statusbar i { width: 7px; height: 7px; border-radius: 50%; background: #22b796; }
    .remote-client-statusbar span:last-child { margin-left: 2px; color: #85878b; }
    .ready-status-figure { background: #edf2f4; }
    .ready-focus-scene {
      min-height: 350px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(185px, 220px);
      gap: 26px;
      align-items: center;
      padding: 26px;
      background: linear-gradient(145deg, #e8eef2, #f8fafb 58%, #dfe8ed);
    }
    .ready-linux-desktop-body {
      min-height: 372px;
      display: flex;
      align-items: center;
      padding-top: 18px;
      padding-bottom: 18px;
    }
    .ready-linux-focus-scene {
      position: relative;
      z-index: 2;
      width: 100%;
      min-height: 0;
      gap: 18px;
      padding: 16px;
      border: 1px solid rgb(255 255 255 / 48%);
      border-radius: 12px;
      background: rgb(247 250 251 / 94%);
      box-shadow: 0 18px 36px rgb(25 10 31 / 22%);
    }
    .ready-client-context {
      position: relative;
      min-width: 0;
      overflow: hidden;
      border: 1px solid #c9ced2;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 16px 34px rgb(40 54 67 / 15%);
      color: #33373b;
      font-family: Arial, "Segoe UI", system-ui, sans-serif;
    }
    .ready-context-titlebar {
      display: flex;
      min-height: 32px;
      align-items: center;
      gap: 7px;
      padding: 0 9px;
      border-bottom: 1px solid #d8dadd;
      background: #f1f2f4;
      color: #5f6469;
      font-size: 9px;
    }
    .ready-context-titlebar .remote-client-logo { width: 17px; height: 17px; }
    .ready-context-menu { margin-left: auto; color: #7c8186; font-size: 12px; letter-spacing: .08em; }
    .ready-context-body {
      display: grid;
      min-height: 230px;
      grid-template-columns: 35% minmax(0, 1fr);
      background: #fff;
    }
    .ready-context-sidebar {
      display: flex;
      min-width: 0;
      flex-direction: column;
      gap: 7px;
      padding: 18px 14px;
      border-right: 1px solid #d9dbde;
      background: #f1f1f4;
    }
    .ready-context-sidebar strong { margin-bottom: 5px; color: #33363a; font-size: 13px; font-weight: 500; }
    .ready-context-sidebar small { color: #888c91; font-size: 8px; }
    .ready-context-sidebar b {
      overflow: hidden;
      padding-left: 7px;
      border-left: 2px solid #138dff;
      color: #33373b;
      font-size: 15px;
      font-weight: 500;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .ready-context-sidebar span { color: #5b6065; font-size: 10px; letter-spacing: .09em; }
    .ready-context-main {
      display: flex;
      min-width: 0;
      flex-direction: column;
      align-items: flex-start;
      padding: 20px 17px 15px;
    }
    .ready-context-main > strong { color: #33363a; font-size: 13px; font-weight: 500; }
    .ready-context-input {
      width: min(100%, 250px);
      min-height: 34px;
      display: flex;
      align-items: center;
      margin-top: 11px;
      padding: 0 11px;
      border: 1px solid #a8acb0;
      border-radius: 6px;
      color: #acafb3;
      font-size: 10px;
    }
    .ready-context-action {
      min-width: 62px;
      min-height: 27px;
      display: grid;
      place-items: center;
      align-self: flex-end;
      margin-top: 8px;
      border-radius: 5px;
      background: #138dff;
      color: #fff;
      font-size: 9px;
    }
    .ready-context-recents {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
      margin-top: auto;
      padding-top: 17px;
      border-top: 1px solid #e2e3e5;
    }
    .ready-context-recents i { min-height: 30px; border: 1px solid #e0e2e4; border-radius: 7px; background: #f5f6f7; }
    .ready-status-origin {
      position: relative;
      z-index: 2;
      min-height: 34px;
      padding: 0 11px;
      font-size: 10px;
    }
    .ready-status-origin::after {
      position: absolute;
      inset: 3px 5px;
      border: 2px solid rgb(34 183 150 / 82%);
      border-radius: 7px;
      box-shadow: 0 0 0 0 rgb(34 183 150 / 0%);
      content: "";
      pointer-events: none;
    }
    .motion-scene.is-in-view .ready-status-origin::after { animation: ready-status-focus 2.2s ease-in-out 3; }
    .ready-status-zoom {
      position: relative;
      z-index: 3;
      padding: 14px;
      border: 2px solid #31ad91;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 18px 36px rgb(30 72 66 / 18%);
      transform-origin: left center;
    }
    .ready-status-zoom::before {
      position: absolute;
      top: 50%;
      left: -28px;
      width: 26px;
      height: 2px;
      background: #31ad91;
      content: "";
      transform: translateY(-50%);
    }
    .ready-status-zoom::after {
      position: absolute;
      top: 50%;
      left: -31px;
      width: 8px;
      height: 8px;
      border: solid #31ad91;
      border-width: 0 0 2px 2px;
      content: "";
      transform: translateY(-50%) rotate(45deg);
    }
    .ready-focus-label {
      display: block;
      margin-bottom: 8px;
      color: #257a68;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .01em;
    }
    .ready-status-zoom .remote-client-statusbar {
      min-height: 56px;
      padding: 0 15px;
      border: 1px solid #d9dedc;
      border-radius: 8px;
      background: #fff;
      color: #26302e;
      font-size: 17px;
      font-weight: 600;
    }
    .ready-status-zoom .remote-client-statusbar span:last-child { margin-left: 0; color: inherit; }
    .ready-status-zoom .ready-status-dot { width: 12px; height: 12px; flex: 0 0 auto; box-shadow: 0 0 0 4px rgb(34 183 150 / 13%); }
    .motion-scene.is-in-view .ready-status-zoom { animation: ready-status-zoom .7s cubic-bezier(.2,.8,.2,1) both; }
    @keyframes ready-status-focus {
      0%, 100% { opacity: .42; box-shadow: 0 0 0 0 rgb(34 183 150 / 0%); transform: scale(1); }
      50% { opacity: 1; box-shadow: 0 0 0 7px rgb(34 183 150 / 16%); transform: scale(1.012); }
    }
    @keyframes ready-status-zoom {
      from { opacity: 0; transform: translateX(-8px) scale(.94); }
      to { opacity: 1; transform: translateX(0) scale(1); }
    }
    @media (max-width: 700px) {
      .ready-focus-scene { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
      .ready-status-zoom { width: min(100%, 320px); justify-self: center; transform-origin: top center; }
      .ready-status-zoom::before { top: -17px; left: 50%; width: 2px; height: 16px; transform: translateX(-50%); }
      .ready-status-zoom::after { top: -20px; left: 50%; transform: translateX(-50%) rotate(135deg); }
      .ready-linux-desktop-body { min-height: 0; padding-right: 14px; }
      .ready-linux-focus-scene { padding: 14px; }
    }
    @media (max-width: 480px) {
      .ready-context-body { grid-template-columns: 40% minmax(0, 1fr); min-height: 205px; }
      .ready-context-sidebar { padding: 14px 10px; }
      .ready-context-main { padding: 16px 11px 12px; }
      .ready-context-main > strong { font-size: 11px; }
      .ready-context-input { font-size: 9px; }
      .ready-context-recents { gap: 4px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .ready-status-origin::after,
      .motion-scene.is-in-view .ready-status-origin::after,
      .ready-status-zoom,
      .motion-scene.is-in-view .ready-status-zoom { animation: none !important; opacity: 1; transform: none; }
    }
    .windows-id-focus-motion {
      min-height: 340px;
      padding: 18px;
      background: linear-gradient(145deg, #e8eef4, #f8fafc 58%, #dde7ef);
    }
    .windows-id-crop-viewport {
      position: relative;
      width: min(100%, 430px);
      min-height: 305px;
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid #cfd3d7;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 30px rgb(40 54 67 / 14%);
    }
    .windows-id-crop-viewport .remote-client-crop-source {
      position: absolute;
      top: 10px;
      left: 12px;
      width: 872px;
      max-width: none;
      margin: 0;
      transform: none;
      transform-origin: top left;
    }
    .windows-id-crop-viewport .rustdesk-id {
      margin: 6px -5px 0;
      padding: 8px 28px 8px 12px;
      border: 1px solid #9bc9f6;
      border-left: 3px solid #138dff;
      border-radius: 5px;
      background: #f8fbff;
      box-shadow: 0 0 0 4px rgb(19 141 255 / 9%);
    }
    .windows-id-crop-viewport .rustdesk-id strong { font-size: var(--remote-id-size); }
    .windows-id-crop-viewport .remote-client-recents { opacity: .22; }

    @media (max-width: 600px) {
      .windows-app-open-motion { min-height: 430px; padding: 10px; }
      .remote-client-reference .rustdesk-shell { grid-template-columns: 132px minmax(0, 1fr); min-height: 350px; }
      .remote-client-reference .rustdesk-sidebar { padding: 15px 10px; }
      .remote-client-reference .rustdesk-sidebar h5 { font-size: 13px; }
      .remote-client-reference .rustdesk-sidebar p { font-size: 8px; }
      .remote-client-reference .rustdesk-id strong { font-size: 15px; }
      .remote-client-reference .rustdesk-main { padding: 14px 8px 0; }
      .remote-client-reference .rustdesk-connect-box { padding: 12px; }
      .remote-client-reference .rustdesk-connect-box h5 { font-size: 14px; }
      .remote-client-reference .rustdesk-connect-input { min-height: 36px; font-size: 10px; }
      .remote-client-recents { gap: 7px; }
      .remote-client-card { min-height: 92px; grid-template-rows: 64px 28px; }
      .remote-client-device svg { width: 30px; height: 30px; }
      .remote-client-device-name { bottom: 5px; font-size: 7px; }
      .remote-client-card-foot { padding: 0 7px; }
      .remote-client-card-foot b { font-size: 7px; }
      .windows-id-focus-motion { min-height: 290px; padding: 10px; }
      .windows-id-crop-viewport { min-height: 265px; }
      .windows-id-crop-viewport .remote-client-crop-source { width: 760px; transform: scale(.92); }
    }

    /* Ubuntu 24.04-style desktop chrome for the Linux connection example.
       The app content stays the validated RustDesk two-pane client. */
    .ubuntu-desktop-motion {
      min-height: 360px;
      background: #2f1d3c;
      font-family: Ubuntu, "Noto Sans", system-ui, sans-serif;
    }
    .ubuntu-topbar {
      position: relative;
      z-index: 5;
      min-height: 34px;
      justify-content: space-between;
      padding: 0 14px;
      background: #1e1e1e;
      color: #f5f5f5;
      box-shadow: 0 1px 0 rgb(255 255 255 / 7%);
      font-size: 11px;
    }
    .ubuntu-topbar > span:first-child { font-weight: 600; }
    .ubuntu-topbar time {
      position: absolute;
      left: 50%;
      color: #f7f7f7;
      font-size: 10px;
      font-weight: 600;
      transform: translateX(-50%);
    }
    .ubuntu-status {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin-left: auto;
      color: #f1f1f1 !important;
    }
    .ubuntu-status svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.7;
    }
    .ubuntu-desktop-body {
      isolation: isolate;
      min-height: 316px;
      padding: 20px 24px 22px 72px;
      background:
        radial-gradient(circle at 74% 30%, rgb(238 102 45 / 88%) 0 13%, transparent 13.5%),
        radial-gradient(circle at 66% 64%, rgb(205 67 111 / 62%) 0 24%, transparent 24.5%),
        linear-gradient(135deg, #5e2750 0%, #772953 34%, #2c1740 100%);
    }
    .ubuntu-desktop-body::after {
      position: absolute;
      right: 12%;
      bottom: 9%;
      z-index: -1;
      width: 31%;
      aspect-ratio: 1;
      border: 2px solid rgb(255 255 255 / 16%);
      border-radius: 42% 58% 61% 39% / 47% 35% 65% 53%;
      content: "";
      transform: rotate(-18deg);
    }
    .ubuntu-dock {
      top: 14px;
      bottom: 14px;
      left: 9px;
      z-index: 4;
      width: 46px;
      justify-content: flex-start;
      gap: 7px;
      padding: 8px 5px;
      border: 1px solid rgb(255 255 255 / 13%);
      border-radius: 9px;
      background: rgb(24 19 27 / 78%);
      box-shadow: 0 9px 24px rgb(21 11 27 / 25%);
      backdrop-filter: blur(7px);
    }
    .ubuntu-dock span {
      position: relative;
      padding: 2px 0;
    }
    .ubuntu-dock span::before {
      position: absolute;
      top: 50%;
      left: -5px;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: #f3f3f3;
      content: "";
      opacity: .62;
      transform: translateY(-50%);
    }
    .ubuntu-dock span:first-child::before {
      height: 13px;
      border-radius: 0 3px 3px 0;
      background: #e95420;
      opacity: 1;
    }
    .ubuntu-dock i {
      width: 28px;
      height: 28px;
      border-radius: 7px;
      background: rgb(255 255 255 / 12%);
      color: #f4f4f4;
    }
    .ubuntu-dock span:first-child i { background: #1976d2; }
    .ubuntu-dock small { display: none; }
    .ubuntu-rustdesk-window {
      position: relative;
      z-index: 2;
      width: min(94%, 760px);
      border-color: #8c858b;
      border-radius: 9px;
      background: #f6f7f8;
      box-shadow: 0 22px 44px rgb(25 10 31 / 34%);
    }
    .ubuntu-rustdesk-titlebar {
      position: relative;
      min-height: 38px;
      justify-content: center;
      border-bottom-color: #d2cecf !important;
      background: #f2f0f1 !important;
      color: #2d2b2c !important;
      font-size: 12px;
      font-weight: 600;
    }
    .ubuntu-window-controls {
      position: absolute;
      right: 9px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .ubuntu-window-controls i {
      display: grid;
      width: 23px;
      height: 23px;
      place-items: center;
      border-radius: 50%;
      background: #ddd9da;
      color: #494647;
      font-size: 11px;
      font-style: normal;
      line-height: 1;
    }
    .ubuntu-window-controls i:last-child { font-size: 14px; }

    @media (max-width: 600px) {
      .windows-id-focus-stage { min-height: 230px; padding: 16px; }
      .ubuntu-desktop-body { min-height: 282px; padding: 15px 10px 18px 57px; }
      .ubuntu-dock { left: 7px; width: 39px; padding-right: 4px; padding-left: 4px; }
      .ubuntu-dock i { width: 25px; height: 25px; }
      .ubuntu-rustdesk-window { width: 100%; }
      .ubuntu-topbar time { font-size: 9px; }
    }

    .windows-taskbar {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 5;
      display: flex;
      min-height: 38px;
      align-items: center;
      justify-content: center;
      gap: 12px;
      border-top: 1px solid rgb(128 161 185 / 28%);
      background: rgb(243 249 253 / 92%);
      color: #40525f;
      font-size: 12px;
      backdrop-filter: blur(10px);
    }
    .windows-start { color: #187bd4; font-size: 22px; line-height: 1; }
    .windows-task-search { min-width: 150px; padding: 6px 13px; border: 1px solid #ccd8e0; border-radius: 999px; background: #fff; color: #677680; }
    .windows-task-clock { position: absolute; right: 16px; font-size: 9px; }

    /* Windows 11: connection approval over the real two-pane app. */
    .windows-request-motion { min-height: 570px; background: #dbeafa; font-family: "Segoe UI", system-ui, sans-serif; }
    .windows-request-desktop {
      position: relative;
      min-height: 570px;
      padding: 18px 26px 52px;
      background:
        radial-gradient(ellipse at 83% 22%, rgb(37 132 244 / 42%) 0 19%, transparent 20%),
        radial-gradient(ellipse at 77% 67%, rgb(19 100 213 / 32%) 0 24%, transparent 25%),
        linear-gradient(145deg, #dcefff, #f4f9fc 55%, #c7def1);
    }
    .windows-request-app {
      width: min(88%, 790px);
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid #b8c7d1;
      border-radius: 11px;
      background: #f7f9fb;
      box-shadow: 0 16px 32px rgb(38 68 91 / 18%);
    }
    .windows-request-app .rustdesk-shell { min-height: 270px; }
    .windows-request-app .rustdesk-main,
    .windows-request-app .rustdesk-sidebar { filter: saturate(.92); }
    /* RustDesk 1.4.9 Connection Manager.
       The upstream accept window is a compact peer card with permission icons,
       not a wide Windows-style permission summary dialog. */
    .rustdesk-cm-window {
      position: relative;
      z-index: 6;
      display: flex;
      min-height: 490px;
      width: min(300px, calc(100% - 24px));
      flex-direction: column;
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid #c6cdd3;
      border-radius: 6px;
      background: #f7f8f9;
      box-shadow: 0 18px 38px rgb(29 52 70 / 25%);
      color: #303940;
      font-family: Arial, "Segoe UI", system-ui, sans-serif;
    }
    .windows-request-desktop .rustdesk-cm-window { margin-right: 0; margin-left: auto; }
    .cm-titlebar {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 9px;
      min-height: 42px;
      align-items: center;
      padding: 0 12px;
      border-bottom: 1px solid #e3e7ea;
      background: #fff;
      font-size: 12px;
    }
    .cm-titlebar b {
      overflow: hidden;
      font-size: 13px;
      font-weight: 600;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cm-titlebar > span:last-child { color: #929ba2; font-size: 17px; }
    .cm-rustdesk-logo {
      display: block;
      width: 20px;
      height: 20px;
      background-image: url("../brand/remote-tool-mark.svg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }
    .cm-peer-card {
      display: grid;
      grid-template-columns: 70px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      margin: 10px 5px;
      padding: 10px 5px 10px 10px;
      border-radius: 10px;
      background: linear-gradient(to bottom left, #00bfe1, #0071ff);
      color: #fff;
    }
    .cm-avatar {
      display: grid;
      width: 70px;
      height: 70px;
      place-items: center;
      border-radius: 15px;
      background: rgb(255 255 255 / 18%);
      font-size: 38px;
      font-weight: 700;
    }
    .cm-peer-card strong,
    .cm-peer-card span,
    .cm-peer-card p { display: block; }
    .cm-peer-card strong { font-size: 20px; font-weight: 700; }
    .cm-peer-card div > span { margin-top: 1px; color: #fff; font-size: 14px; }
    .cm-peer-card p { margin: 10px 0 0; color: #fff; font-size: 11px; line-height: 1.35; }
    .cm-permissions {
      min-height: 160px;
      margin: 5px;
      padding: 8px 10px 10px;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 1.5px 2px rgb(0 0 0 / 20%);
    }
    .cm-permissions h5 { margin: 0 0 8px; color: #3b464e; font-size: 16px; font-weight: 700; text-align: center; }
    .cm-permission-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      padding: 0 5px;
    }
    .cm-permission-secondary { margin-top: 10px; }
    .cm-permission-grid > span {
      display: grid;
      min-height: 45px;
      place-items: center;
      border: 0;
      border-radius: 10px;
      background: #2f65ba;
      color: #fff;
    }
    .cm-permission-grid svg {
      width: 21px;
      height: 21px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.55;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .cm-actions {
      display: block;
      margin-top: auto;
      padding: 4px 8px 8px;
      background: transparent;
      font-size: 10px;
    }
    .cm-actions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .cm-accept-elevate,
    .cm-accept,
    .cm-cancel {
      display: inline-flex;
      min-height: 31px;
      align-items: center;
      justify-content: center;
      padding: 0 11px;
      border: 1px solid #ccd5db;
      border-radius: 4px;
      background: #fff;
      white-space: nowrap;
    }
    .cm-accept-elevate {
      width: 100%;
      margin-bottom: 4px;
      border-color: #55a83c;
      background: #55a83c;
      color: #fff;
      font-weight: 600;
    }
    .cm-accept {
      border-color: #1684df;
      background: #1684df;
      color: #fff;
      font-weight: 600;
    }
    .cm-cancel { color: #5f6c75; }
    .motion-scene.is-in-view .rustdesk-cm-window {
      animation: scene-enter .3s cubic-bezier(.2, .75, .25, 1) both !important;
    }

    /* macOS: DMG installation with a real desktop/menu-bar context. */
    .mac-dmg-desktop { min-height: 370px; padding: 0; background: #dfe8f0; }
    .mac-dmg-wallpaper {
      min-height: 338px;
      padding: 36px 54px 30px;
      background:
        radial-gradient(ellipse at 18% 12%, #f35a77 0 22%, transparent 23%),
        radial-gradient(ellipse at 85% 20%, #368eed 0 27%, transparent 28%),
        radial-gradient(ellipse at 72% 83%, #f8a642 0 27%, transparent 28%),
        linear-gradient(145deg, #5138a6 0%, #9351c9 44%, #2e74bb 100%);
    }
    .mac-dmg-desktop .mac-installer-window { width: min(690px, 92%); margin: 0 auto; background: rgb(249 250 251 / 98%); }
    .mac-dmg-desktop .mac-installer-body { min-height: 210px; background: rgb(249 250 251 / 97%); }
    .mac-dmg-desktop .installer-tool-icon { background: linear-gradient(145deg, #55baf1, #267fc7); }
    .mac-dmg-desktop .installer-arrow { color: #a7b2b9; }
    .applications-mark { display: grid; width: 43px; height: 43px; place-items: center; color: rgb(255 255 255 / 88%); }

    /* macOS: separate Privacy & Security permission pages, matching the real settings flow. */
    .mac-system-permissions { min-height: 410px; background: #dde6ef; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
    .mac-settings-stage {
      position: relative;
      min-height: 378px;
      padding: 25px 30px 42px;
      background:
        radial-gradient(ellipse at 12% 14%, rgb(246 114 98 / 74%) 0 22%, transparent 23%),
        radial-gradient(ellipse at 89% 18%, rgb(79 130 245 / 74%) 0 30%, transparent 31%),
        radial-gradient(ellipse at 80% 83%, rgb(91 178 83 / 72%) 0 27%, transparent 28%),
        linear-gradient(145deg, #d05e8d, #7d76d5 52%, #71a45a);
    }
    .mac-permission-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; width: min(850px, 100%); margin: 0 auto; }
    .mac-system-permissions .mac-settings-window.mac-permission-page { width: 100%; margin: 0; }
    .mac-system-permissions .mac-permission-page .mac-settings-body { grid-template-columns: 126px minmax(0, 1fr); min-height: 246px; }
    .mac-system-permissions .mac-settings-body aside { gap: 4px; padding: 14px 9px; background: rgb(236 240 244 / 96%); }
    .mac-system-permissions .mac-settings-body aside span,
    .mac-system-permissions .mac-settings-body aside b { padding: 7px 9px; border-radius: 7px; }
    .mac-system-permissions .mac-settings-body aside b { margin-bottom: 2px; color: #36454e; background: transparent; font-weight: 700; }
    .mac-system-permissions .mac-settings-body aside .is-selected { background: #247af2; color: #fff; font-weight: 700; }
    .mac-permission-page-content { padding: 18px 14px !important; }
    .mac-permission-page-content h5 { margin: 0 0 6px; color: #202d35; font-size: 15px; }
    .mac-permission-page-content p { min-height: 30px; margin: 0 0 14px; color: #697780; font-size: 9px; line-height: 1.45; }
    .mac-permission-page-content .settings-app-row { padding: 8px; background: #fff; }
    .mac-toggle { position: relative; width: 31px; height: 18px; border-radius: 999px; background: #b9c2c8; }
    .mac-toggle i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 25%); }
    .mac-toggle.is-on { background: #2f7df4; }
    .mac-toggle.is-on i { left: 15px; }
    .mac-permission-callout {
      position: absolute;
      right: 24px;
      bottom: 22px;
      z-index: 3;
      max-width: 220px;
      padding: 9px 12px;
      border: 1px solid #ef8e68;
      border-radius: 9px;
      background: rgb(255 252 249 / 96%);
      color: #d75b32;
      box-shadow: 0 8px 18px rgb(80 54 43 / 15%);
      font-size: 9px;
      font-weight: 750;
    }

    /* Terminal state machine: future prompts do not exist visually yet. */
    .terminal-live-line[data-terminal-line] {
      opacity: 0;
      visibility: hidden;
      transform: translateY(2px);
      transition: opacity .12s linear, transform .12s ease-out;
    }
    .terminal-live-line[data-terminal-line]:first-child {
      opacity: 1;
      visibility: visible;
      transform: none;
    }
    .terminal-live-line[data-terminal-line].is-active,
    .terminal-live-line[data-terminal-line].is-complete {
      opacity: 1;
      visibility: visible;
      transform: none;
    }

    @media (max-width: 700px) {
      .windows-task-search { min-width: 104px; }
      .windows-request-desktop { min-height: 570px; padding: 14px 9px 48px; }
      .windows-request-app { width: 100%; }
      .rustdesk-cm-window { width: min(300px, calc(100% - 8px)); }
      .cm-permission-grid { gap: 5px; }
      .cm-actions > div { grid-template-columns: 1fr 1fr; }
      .mac-dmg-wallpaper { padding: 24px 12px; }
      .mac-dmg-desktop .mac-installer-window { width: 100%; }
      .mac-system-permissions { min-height: 0; }
      .mac-settings-stage { min-height: 0; padding: 18px 10px 50px; }
      .mac-permission-page-grid { grid-template-columns: 1fr; gap: 10px; }
      .mac-system-permissions .mac-permission-page .mac-settings-body { grid-template-columns: 110px minmax(0, 1fr); min-height: 205px; }
      .mac-system-permissions .mac-settings-body aside { grid-template-columns: 1fr; border-right: 1px solid #e1e7eb; border-bottom: 0; }
      .mac-permission-page-content { padding: 13px 10px !important; }
      .mac-permission-callout { right: 12px; bottom: 11px; max-width: 190px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .motion-scene.is-in-view .rustdesk-cm-window { animation: none !important; }
      .terminal-live-line[data-terminal-line] { transition: none; }
    }

    /* Shared vector marks keep the illustrated macOS/Linux scenes crisp and consistent. */
    .guide-modal .mac-about-mark { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
    .guide-modal .scene-app-icon { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
    .guide-modal .scene-drag-arrow { display: block; width: 40px; height: 32px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
    .guide-modal .applications-mark svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .guide-modal .permission-mark svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
    .guide-modal .settings-app-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
    .guide-modal .linux-terminal-mark svg { display: block; width: 16px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
    .guide-modal .linux-dock i.linux-dock-mark { display: grid; width: 24px; height: 24px; place-items: center; padding: 0; }
    .guide-modal .linux-dock-mark svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
    @media (max-width: 600px) {
      .guide-modal .scene-app-icon { width: 36px; height: 36px; }
      .guide-modal .installer-arrow { width: 34px; height: 32px; }
      .guide-modal .scene-drag-arrow { width: 30px; height: 24px; }
    }
