/* Windows install guide: compact, platform-specific illustrations on the shared snow backdrop. */
.download-windows main { padding-top: clamp(52px, 6vw, 76px); padding-bottom: 34px; }
.download-windows .intro { max-width: 680px; }
.download-windows .intro h1 { font-size: clamp(3rem, 5.8vw, 5.25rem); }
.download-windows .intro p { margin-top: 18px; }
.windows-steps { margin-top: clamp(38px, 4.5vw, 52px); gap: clamp(18px, 2.4vw, 32px); }
.windows-step > p { min-height: 3.1em; margin-top: 12px; font-size: .97rem; }
.win-scene-wrap { padding: 10px; border-color: rgba(21, 33, 43, .12); background: rgba(250, 251, 253, .28); }
.windows-step.is-active .win-scene-wrap { background: rgba(250, 251, 253, .44); }
.win-viewport { width: 100%; max-width: 420px; margin: 0 auto; container-type: inline-size; }
.win-stage { position: relative; width: 36em; height: 22.5em; overflow: hidden; font-size: calc(100cqw / 36); line-height: 1.2; color: #16212b; }
.win-stage img { -webkit-user-drag: none; }
.win-window { position: absolute; overflow: hidden; border: .08em solid rgba(21, 33, 43, .18); border-radius: .72em; background: rgba(255, 255, 255, .94); box-shadow: 0 .8em 2em -.8em rgba(21, 33, 43, .55), 0 0 0 .05em rgba(255, 255, 255, .38); }

/* 01. A small Chrome-like window with the completed download visible. */
.win-stage-download { background: linear-gradient(145deg, #d9e3ef, #c3d2e2); }
.win-browser { left: 1.7em; top: 1.4em; width: 32.6em; height: 19.6em; }
.win-tabs { position: absolute; inset: 0 0 auto; height: 3em; padding: .45em .7em 0; background: #e8edf3; border-bottom: .06em solid #c8d1dc; }
.win-tab { display: inline-flex; align-items: center; gap: .5em; height: 2.5em; width: 14em; padding: 0 .7em; border-radius: .55em .55em 0 0; background: #fff; color: #263442; font-size: .92em; font-weight: 600; }
.win-tab img { width: 1.25em; height: 1.25em; border-radius: .28em; }
.win-tab-plus { position: absolute; left: 15.4em; top: .85em; color: #657486; font-size: 1.4em; line-height: 1; }
.win-window-controls { position: absolute; right: .9em; top: .8em; display: flex; gap: .7em; color: #526274; }
.win-window-controls i { display: block; width: .9em; height: .9em; border-bottom: .12em solid currentColor; }
.win-window-controls i:nth-child(2) { border: .12em solid currentColor; border-bottom: 0; }
.win-window-controls i:nth-child(3) { position: relative; border: 0; }
.win-window-controls i:nth-child(3)::before, .win-window-controls i:nth-child(3)::after { content: ""; position: absolute; left: 0; top: .4em; width: .9em; border-top: .12em solid currentColor; transform: rotate(45deg); }
.win-window-controls i:nth-child(3)::after { transform: rotate(-45deg); }
.win-address { position: absolute; left: .9em; right: .9em; top: 3.45em; display: flex; align-items: center; gap: .55em; height: 2.5em; padding: 0 .9em; border-radius: 1.2em; background: #f0f3f6; color: #45566a; font-size: .83em; }
.win-lock { color: #5d7791; font-size: .65em; }
.win-browser-actions { margin-left: auto; color: #76869a; font-size: 1.35em; letter-spacing: .15em; }
.win-browser-body { position: absolute; inset: 6.2em 0 0; display: grid; place-content: center; gap: .55em; background: #f8fafc; text-align: center; }
.win-browser-body span { font-size: 1.7em; font-weight: 700; letter-spacing: -.04em; }
.win-browser-body small { color: #637286; font-size: .9em; }
.win-download-pop { position: absolute; right: 1em; top: 4.9em; display: flex; align-items: center; gap: .7em; width: 20em; padding: .75em .85em; border: .08em solid #d1d9e2; border-radius: .75em; background: #fff; box-shadow: 0 .6em 1.2em -.7em rgba(21, 33, 43, .45); animation: win-download-in 5s ease-in-out infinite; }
.win-file-icon { display: grid; place-items: center; width: 2.5em; height: 2.9em; border-radius: .25em; background: #1374ce; color: #fff; font-size: .65em; font-weight: 800; letter-spacing: .03em; }
.win-download-copy { display: grid; gap: .2em; min-width: 0; }
.win-download-copy strong { overflow: hidden; color: #243244; font-size: .86em; text-overflow: ellipsis; white-space: nowrap; }
.win-download-copy small { color: #718096; font-size: .74em; }
.win-download-check { margin-left: auto; color: #1478c9; font-size: 1.3em; font-weight: 700; }
.win-cursor { position: absolute; left: 21.6em; top: 6.65em; z-index: 2; width: 1.5em; height: 2em; overflow: visible; filter: drop-shadow(0 .12em .16em rgba(21, 33, 43, .45)); transform-origin: 2px 2px; animation: win-cursor-download 5s ease-in-out infinite; }
.win-cursor path { fill: #16212b; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }

/* 02. A restrained installer window with only its real progress state. */
.win-stage-install { background: linear-gradient(145deg, #cad9ea, #b4c8dd); }
.win-desktop-glow { position: absolute; width: 25em; height: 25em; left: 5.6em; top: -3em; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.42), rgba(255,255,255,0) 68%); }
.win-installer { left: 6.15em; top: 2.75em; width: 23.7em; height: 16.5em; }
.win-installer-title { display: flex; align-items: center; gap: .65em; height: 3.2em; padding: 0 1em; border-bottom: .06em solid #d6dee7; color: #314152; }
.win-installer-title img { width: 1.5em; height: 1.5em; border-radius: .3em; }
.win-installer-title strong { font-size: .88em; font-weight: 650; }
.win-installer-title span { margin-left: auto; color: #7b8998; font-size: 1.25em; }
.win-installer-body { display: grid; gap: .65em; padding: 2.1em 2em; }
.win-installer-body h3 { margin: 0; color: #1d2b39; font-size: 1.25em; letter-spacing: -.025em; }
.win-installer-body p { margin: 0; color: #647487; font-size: .83em; }
.win-progress { height: .55em; overflow: hidden; border-radius: 1em; background: #e2e8ef; }
.win-progress i { display: block; width: 70%; height: 100%; border-radius: inherit; background: #1374ce; animation: win-progress 4.8s ease-in-out infinite; }
.win-installer-body small { color: #7b8998; font-size: .72em; }

/* 03. The real choice after install: Google or an emailed code. */
.win-stage-login { display: grid; place-items: center; background: linear-gradient(145deg, #dce8f3, #c6d8e8); }
.win-login { position: relative; width: 22em; min-height: 18.5em; padding: 0; overflow: hidden; text-align: center; }
.win-login-snow { position: absolute; inset: 0; background: #dfe7f1 url("/assets/snow-trail.dff2c2debb.jpg") center / cover no-repeat; }
.win-login-content { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 1.55em 2em; }
.win-login-icon { align-self: center; width: 3.3em; height: 3.3em; border-radius: .7em; box-shadow: 0 .4em .8em -.55em rgba(21, 33, 43, .38); }
.win-login h3 { margin: .8em 0 1.05em; color: #172635; font-size: 1.25em; letter-spacing: -.04em; }
.win-login button, .win-email-field { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 2.35em; border-radius: .4em; font: 600 .78em/1 var(--font); }
.win-login button { border: 0; cursor: default; }
.win-google { gap: .6em; border: .06em solid #cbd5df !important; background: #fff; color: #314152; animation: win-login-pulse 5s ease-in-out infinite; }
.win-google b { color: #4285f4; font-size: 1.25em; }
.win-or { display: flex; align-items: center; gap: .6em; margin: .8em 0; color: #8a98a7; font-size: .72em; }
.win-or::before, .win-or::after { content: ""; height: .06em; flex: 1; background: #d9e0e8; }
.win-email-field { justify-content: flex-start; padding: 0 .85em; border: .06em solid #b9c8d8; background: rgba(255, 255, 255, .88); color: #52657a; text-align: left; font-weight: 400; }
.win-email { margin-top: .65em; background: #1374ce; color: #fff; }

@keyframes win-download-in { 0%, 12% { opacity: .35; transform: translateY(.55em); } 26%, 80% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: .35; transform: translateY(.55em); } }
@keyframes win-cursor-download { 0%, 12% { opacity: 0; transform: translate(6em, 8em) rotate(-12deg); } 27%, 42% { opacity: 1; transform: translate(6em, 8em) rotate(-12deg); } 54%, 64% { opacity: 1; transform: translate(0, 0) rotate(-12deg) scale(.9); } 72%, 84% { opacity: 1; transform: translate(0, 0) rotate(-12deg) scale(1); } 94%, 100% { opacity: 0; transform: translate(0, 0) rotate(-12deg); } }
@keyframes win-progress { 0%, 12% { width: 8%; } 78% { width: 88%; } 100% { width: 8%; } }
@keyframes win-login-pulse { 0%, 54%, 100% { box-shadow: 0 0 0 0 rgba(19, 116, 206, 0); } 62%, 68% { box-shadow: 0 0 0 .22em rgba(19, 116, 206, .12); } }

@media (max-width: 960px) {
  .download-windows main { padding-top: 64px; }
  .windows-steps { max-width: 560px; }
}
@media (max-width: 560px) {
  .download-windows .audience-nav { display: none; }
  .download-windows main { width: calc(100% - 32px); max-width: none; padding-top: 52px; padding-bottom: 48px; }
  .download-windows .intro, .windows-steps { width: 100%; max-width: 22rem; }
  .download-windows .intro h1 { width: 100%; max-width: 22rem; min-width: 0; font-size: clamp(2.3rem, 11.7vw, 3.65rem); text-wrap: wrap; white-space: normal; overflow-wrap: anywhere; }
  .download-windows .intro p { width: 100%; max-width: 22rem; overflow-wrap: anywhere; }
  .windows-steps { margin-top: 38px; gap: 34px; }
  .windows-step > p { min-height: 0; }
  .windows-step, .windows-step > *, .win-scene-wrap, .win-viewport, .win-stage { min-width: 0; max-width: 100%; }
  .win-scene-wrap { margin-top: 16px; padding: 8px; overflow: clip; }
  .win-viewport { overflow: clip; }
}
@media (max-width: 360px) {
  .download-windows .intro h1 { font-size: clamp(2.1rem, 11.7vw, 2.85rem); }
}
@media (prefers-reduced-motion: reduce) {
  .win-download-pop, .win-cursor, .win-progress i, .win-google { animation: none; }
  .win-download-pop { opacity: 1; transform: none; }
  .win-cursor { opacity: 1; transform: none; }
  .win-progress i { width: 70%; }
}
