  :root {
    --sand: #F3EBDC; --sand2: #EADFCB; --card: #FBF7EE; --ink: #161311;
    --text: #161311; --muted: #4A423A; --orange: #F07A1F; --orange2: #C85A0E; --orange3: #FFB067;
    --green: #2E9E5B; --red: #D8412F; --win: #0067C0;
    --ease: cubic-bezier(.2,.8,.2,1);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--sand); color: var(--text); font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; overflow-x: hidden; }
  body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5; z-index: 0;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 2px, transparent 2px 6px), repeating-linear-gradient(90deg, rgba(0,0,0,.012) 0 3px, transparent 3px 9px); }
  a { color: var(--orange2); }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; position: relative; }

  header { position: sticky; top: 0; z-index: 10; background: rgba(243,235,220,.92); backdrop-filter: blur(10px); border-bottom: 3px solid var(--ink); }
  header .wrap { display: flex; align-items: center; gap: 12px; height: 62px; }
  header img { width: 34px; height: 34px; border-radius: 9px; }
  header .brand { font-weight: 900; font-size: 19px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
  header .brand b { color: var(--orange); }
  header .crumb { color: var(--muted); font-size: 13px; font-weight: 600; }
  header nav { margin-left: auto; display: flex; gap: 14px; font-size: 14px; font-weight: 700; align-items: center; }
  header nav a { color: var(--muted); text-decoration: none; }
  header nav .cta { color: var(--ink); background: var(--orange); padding: 7px 14px; border-radius: 999px; font-weight: 800; border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
  header nav .cta:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
  #progress { position: absolute; left: 0; bottom: -3px; height: 3px; width: 0; background: var(--orange); }

  .hero { padding: 56px 0 36px; }
  .kicker { color: var(--orange2); font-weight: 800; letter-spacing: .2em; font-size: 12px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
  .kicker::before { content: ""; width: 26px; height: 3px; background: var(--orange); }
  h1 { font-size: 48px; line-height: 1; margin: 12px 0 14px; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
  h1 b { color: var(--orange); }
  .lead { color: var(--muted); font-size: 17px; margin: 0 0 22px; font-weight: 500; max-width: 680px; }
  .meta { display: flex; flex-wrap: wrap; gap: 8px; }
  .meta span { border: 2px solid var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; background: var(--card); }
  .meta span b { color: var(--orange2); }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 2.5px solid var(--ink); color: var(--text); background: var(--card); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
  .btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
  .btn.primary { background: var(--orange); color: var(--ink); }

  /* layout: sticky TOC + steps */
  .layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
  .toc { position: sticky; top: 80px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--card); padding: 14px; }
  .toc .t { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--orange2); margin-bottom: 8px; }
  .toc a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 6px 8px; border-radius: 8px; transition: background .2s, color .2s; }
  .toc a i { font-style: normal; font-weight: 900; color: var(--ink); width: 18px; flex: none; }
  .toc a:hover, .toc a.cur { background: var(--sand2); color: var(--ink); }
  .toc a.cur { box-shadow: inset 4px 0 0 var(--orange); }

  .step { position: relative; padding: 28px 0 44px 0; border-top: 3px solid var(--ink); scroll-margin-top: 80px; }
  .step:first-child { border-top: 0; }
  .step .num { position: absolute; top: -20px; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); border: 2.5px solid var(--ink); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: 17px; box-shadow: 3px 3px 0 var(--ink); transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
  .step.on .num { transform: scale(1); }
  .step:first-child .num { top: 0; }
  .step:first-child { padding-top: 56px; }
  .step h2 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.02em; font-weight: 900; text-transform: uppercase; line-height: 1.05; }
  .step h2 em { font-style: normal; color: var(--orange); }
  .step .where { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: inline-flex; gap: 6px; align-items: center; }
  .step .where::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); border: 2px solid var(--ink); }
  .step p, .step li { color: var(--muted); font-size: 15.5px; }
  .step ol, .step ul { padding-left: 22px; margin: 8px 0; }
  .step li { margin: 6px 0; }
  .step li b, .step p b { color: var(--text); }
  kbd { font-family: inherit; background: var(--sand2); border: 1.5px solid var(--ink); border-bottom-width: 3px; border-radius: 6px; padding: 1px 7px; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }
  code { background: var(--sand2); padding: 2px 6px; border-radius: 6px; color: var(--text); font-size: 14px; }

  /* figures */
  .fig { margin: 18px 0 0; opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .fig.on { opacity: 1; transform: none; }
  .frame { border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 10px 10px 0 var(--ink); position: relative; }
  .frame img { display: block; width: 100%; height: auto; cursor: zoom-in; }
  .frame .win { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 2.5px solid var(--ink); background: var(--sand2); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .frame .win i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--orange); }
  .frame .win i:nth-child(2) { background: var(--sand); } .frame .win i:nth-child(3) { background: var(--ink); }
  .frame .win span { margin-left: 6px; }
  .cap { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
  .cap > b { flex: none; background: var(--ink); color: var(--sand); font-size: 11px; font-weight: 900; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; margin-top: 2px; }
  .mark { position: absolute; border: 3px solid var(--orange); border-radius: 10px; box-shadow: 0 0 0 3px var(--ink); pointer-events: none; animation: ping 2.2s ease-out infinite; }
  .mark::after { content: attr(data-n); position: absolute; top: -14px; right: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); border: 2.5px solid var(--ink); color: var(--ink); font-weight: 900; font-size: 13px; display: grid; place-items: center; }
  @keyframes ping { 0%,100% { box-shadow: 0 0 0 3px var(--ink); } 50% { box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px rgba(240,122,31,.4); } }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

  /* drawn mock-ups of Windows / emulator screens */
  .mock { font-family: "Segoe UI", system-ui, sans-serif; background: #fff; color: #1b1b1b; }
  .mock .ttl { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; border-bottom: 1px solid #e3e3e3; }
  .mock .ttl .x { margin-left: auto; color: #666; font-size: 14px; }
  .smart { background: var(--win); color: #fff; padding: 34px 38px; min-height: 260px; }
  .smart h4 { margin: 0 0 12px; font-size: 26px; font-weight: 400; }
  .smart p { margin: 0 0 8px; font-size: 14px; color: #fff; opacity: .92; }
  .smart .more { text-decoration: underline; cursor: pointer; }
  .smart .row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 36px; }
  .smart .b { background: #fff; color: #222; padding: 8px 22px; font-size: 14px; border: 1px solid #ccc; }
  .smart .b.ghost { background: transparent; color: #fff; border-color: #fff; }
  .wiz { display: grid; grid-template-columns: 1fr; }
  .wiz .head { padding: 14px 18px; border-bottom: 1px solid #e3e3e3; background: #fff; }
  .wiz .head b { display: block; font-size: 15px; }
  .wiz .head span { font-size: 13px; color: #555; }
  .wiz .body { padding: 18px; font-size: 13.5px; color: #333; background: #f7f7f7; min-height: 180px; }
  .wiz .bar { height: 18px; border: 1px solid #bbb; background: #fff; overflow: hidden; margin: 10px 0; }
  .wiz .bar i { display: block; height: 100%; width: 0; background: #16a34a; animation: fillbar 3s var(--ease) infinite; }
  @keyframes fillbar { 0% { width: 0; } 70%,100% { width: 92%; } }
  .wiz .foot { padding: 12px 18px; border-top: 1px solid #e3e3e3; display: flex; gap: 8px; justify-content: flex-end; background: #f0f0f0; }
  .wiz .b { padding: 6px 22px; font-size: 13px; border: 1px solid #adadad; background: #e1e1e1; }
  .wiz .b.go { border-color: var(--win); box-shadow: inset 0 0 0 1px var(--win); }
  .bs { background: #1f2430; color: #e6e9f0; display: grid; grid-template-columns: 180px 1fr; min-height: 300px; }
  .bs .side { background: #171b25; padding: 14px 0; font-size: 13px; }
  .bs .side div { padding: 9px 18px; color: #9aa3b5; }
  .bs .side div.cur { color: #fff; background: #2a3142; box-shadow: inset 3px 0 0 var(--orange); }
  .bs .main { padding: 22px 26px; font-size: 13.5px; }
  .bs .main h5 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #fff; }
  .bs .opt { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #2f3646; }
  .bs .opt .l { flex: 1; color: #c9d0dd; }
  .bs .sel { background: #2a3142; border: 1px solid #3c455a; padding: 6px 12px; border-radius: 6px; color: #fff; }
  .bs .radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #8b93a5; display: inline-block; position: relative; }
  .bs .radio.on { border-color: var(--orange); } .bs .radio.on::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--orange); }
  .bs .tog { width: 40px; height: 22px; border-radius: 999px; background: #3c455a; position: relative; }
  .bs .tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .3s; }
  .bs .tog.on { background: var(--green); } .bs .tog.on::after { left: 21px; }
  .dlbar { background: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
  .dlbar .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--orange); border: 2.5px solid var(--ink); display: grid; place-items: center; font-size: 22px; }
  .dlbar .nm { font-weight: 700; font-size: 14px; color: #222; }
  .dlbar .sz { font-size: 12px; color: #666; }
  .dlbar .pb { height: 6px; background: #e5e5e5; border-radius: 3px; overflow: hidden; margin-top: 6px; }
  .dlbar .pb i { display: block; height: 100%; width: 0; background: var(--win); animation: fillbar 2.6s var(--ease) infinite; }
  .dlbar .open { margin-left: auto; padding: 7px 14px; font-size: 13px; border: 1px solid #ccc; border-radius: 6px; color: #222; }

  /* callouts */
  .tip { display: flex; gap: 12px; align-items: flex-start; border: 2.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; margin-top: 16px; background: var(--card); font-size: 14.5px; color: var(--muted); }
  .tip .i { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; border: 2px solid var(--ink); background: var(--orange); }
  .tip.warn .i { background: var(--red); }
  .tip.ok .i { background: var(--green); }
  .tip b { color: var(--text); }

  .done { border: 3px solid var(--ink); border-radius: 20px; background: var(--orange); padding: 30px; box-shadow: 12px 12px 0 var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin: 20px 0 60px; }
  .done h2 { margin: 0 0 6px; font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
  .done p { margin: 0 0 14px; color: var(--ink); font-weight: 500; }
  .done .btn.primary { background: var(--ink); color: var(--sand); box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
  .faq details { border: 2.5px solid var(--ink); border-radius: 12px; background: var(--card); margin: 10px 0; padding: 0 16px; }
  .faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; list-style: none; display: flex; gap: 10px; align-items: center; }
  .faq summary::before { content: "+"; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); background: var(--orange); display: grid; place-items: center; font-weight: 900; flex: none; transition: transform .3s; }
  .faq details[open] summary::before { transform: rotate(45deg); }
  .faq details p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }

  footer { border-top: 3px solid var(--ink); background: var(--ink); color: var(--sand); padding: 26px 0 44px; font-size: 13px; }
  footer a { color: var(--orange); }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

  /* lightbox */
  #lb { position: fixed; inset: 0; background: rgba(22,19,17,.92); display: none; place-items: center; z-index: 50; cursor: zoom-out; padding: 30px; }
  #lb.show { display: grid; }
  #lb img { max-width: 100%; max-height: 100%; border: 3px solid var(--sand); border-radius: 12px; animation: pop .3s var(--ease); }
  @keyframes pop { from { transform: scale(.94); opacity: 0; } }

  .fab { position: fixed; right: 18px; bottom: 18px; z-index: 20; }
  .fab a { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 14px; color: #fff; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #0068FF; }
  .fab a svg { width: 26px; height: 26px; }

  @media (max-width: 860px) {
    .layout { grid-template-columns: 1fr; gap: 0; }
    .toc { position: static; margin-bottom: 20px; }
    h1 { font-size: 34px; }
    .two { grid-template-columns: 1fr; }
    .done { grid-template-columns: 1fr; }
    header .crumb, header nav a:not(.cta) { display: none; }
    .bs { grid-template-columns: 1fr; } .bs .side { display: flex; overflow-x: auto; padding: 0; } .bs .side div { white-space: nowrap; }
    .frame { box-shadow: 6px 6px 0 var(--ink); }
    .fab a span { display: none; } .fab a { padding: 10px; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .fig, .step .num { opacity: 1; transform: none; } }

  /* macOS mock-ups */
  .macdlg { background: #ececec; color: #222; padding: 26px 22px 20px; text-align: center; font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif; }
  .macdlg .ic { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 12px; background: var(--orange); border: 2.5px solid var(--ink); display: grid; place-items: center; font-size: 30px; }
  .macdlg h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
  .macdlg p { margin: 0 0 16px; font-size: 12.5px; color: #444; }
  .macdlg .row { display: flex; gap: 8px; justify-content: center; }
  .macdlg .b { padding: 6px 18px; font-size: 13px; border-radius: 7px; background: #fff; border: 1px solid #c8c8c8; }
  .macdlg .b.go { background: #0a66ff; color: #fff; border-color: #0a66ff; }
  .macset { display: grid; grid-template-columns: 170px 1fr; min-height: 250px; font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif; color: #222; }
  .macset .side { background: #e8e6ea; padding: 12px 8px; font-size: 12.5px; }
  .macset .side div { padding: 6px 10px; border-radius: 6px; color: #333; }
  .macset .side div.cur { background: #0a66ff; color: #fff; }
  .macset .main { background: #f5f5f7; padding: 18px 22px; font-size: 13px; }
  .macset .main h5 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
  .macset .box { background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
  .macset .box p { margin: 0; flex: 1; color: #333; }
  .macset .b { padding: 5px 12px; font-size: 12.5px; border-radius: 6px; background: #fff; border: 1px solid #c8c8c8; white-space: nowrap; }
  .finder { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 26px 20px; background: #fff; font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif; }
  .finder .f { border: 1px solid #ddd; border-radius: 10px; padding: 14px; text-align: center; font-size: 12.5px; color: #333; background: #f7f7f9; }
  .finder .f .i { font-size: 40px; }
  .finder .arrow { font-size: 26px; color: var(--orange2); animation: slide 1.6s ease-in-out infinite; }
  @keyframes slide { 50% { transform: translateX(8px); } }
  /* Android mock-ups */
  .phone { background: #101216; color: #e9ecf1; padding: 16px; font-family: Roboto, "Segoe UI", system-ui, sans-serif; }
  .phone .appbar { font-weight: 700; font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .phone .appbar::before { content: ""; width: 22px; height: 22px; border-radius: 6px; background: var(--orange); border: 2px solid var(--ink); }
  .phone .card { background: #1a1d24; border: 1px solid #2a2f3a; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; font-size: 13px; }
  .phone .card h6 { margin: 0 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8b93a5; }
  .phone .row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #262b35; }
  .phone .row:last-child { border-bottom: 0; }
  .phone .pill { background: #2a2f3a; border-radius: 6px; padding: 4px 10px; font-size: 12px; }
  .phone .big { display: block; text-align: center; background: var(--orange); color: var(--ink); font-weight: 800; padding: 12px; border-radius: 10px; margin: 6px 0; }
  .phone .muted { color: #8b93a5; font-size: 12px; }
  .phone .sw { width: 40px; height: 22px; border-radius: 999px; background: #3c455a; position: relative; flex: none; }
  .phone .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
  .phone .sw.on { background: var(--green); } .phone .sw.on::after { left: 21px; }
  .adlg { background: #fff; color: #222; padding: 18px; font-family: Roboto, "Segoe UI", system-ui, sans-serif; }
  .adlg h4 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
  .adlg p { margin: 0 0 16px; font-size: 13px; color: #444; }
  .adlg .row { display: flex; gap: 14px; justify-content: flex-end; font-size: 13px; font-weight: 700; color: #1a73e8; text-transform: uppercase; }
  .gamebar { position: relative; background: linear-gradient(135deg, #3b2d1e, #1c1a17); min-height: 240px; color: #fff; overflow: hidden; }
  .gamebar .bubble { position: absolute; left: 14px; top: 90px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); border: 2.5px solid var(--ink); display: grid; place-items: center; font-weight: 900; color: var(--ink); font-size: 13px; box-shadow: 3px 3px 0 var(--ink); animation: bob 3s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-5px); } }
  .gamebar .panel { position: absolute; left: 72px; top: 70px; background: #1a1d24; border: 1px solid #2a2f3a; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; min-width: 250px; }
  .gamebar .panel .r { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #262b35; gap: 14px; }
  .gamebar .panel .r:last-child { border-bottom: 0; }
  .gamebar .panel .sw { width: 36px; height: 20px; border-radius: 999px; background: var(--green); position: relative; }
  .gamebar .panel .sw::after { content: ""; position: absolute; top: 3px; left: 19px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
  .gamebar .panel .btn2 { background: #2a2f3a; border-radius: 6px; padding: 4px 10px; font-size: 12px; }
  .gamebar .hud { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 6px; }
  .gamebar .hud i { width: 34px; height: 34px; border-radius: 8px; border: 2px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35); display: grid; place-items: center; font-style: normal; font-size: 15px; }
  .gamebar .hud i.hl { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
  .gamebar .lbl { position: absolute; right: 16px; bottom: 56px; font-size: 11px; color: #ddd; }
  .compat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
  .compat div { border: 2.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; background: var(--card); font-size: 14px; }
  .compat div b { display: block; margin-bottom: 4px; }
  .compat .ok { border-color: var(--green); } .compat .no { border-style: dashed; }
  @media (max-width: 860px) { .compat { grid-template-columns: 1fr; } .macset { grid-template-columns: 1fr; } .finder { grid-template-columns: 1fr; } .finder .arrow { transform: rotate(90deg); } }
