/* ==========================================================================
   Rainmeter.app — "Desktop Canvas" theme  (file: assets/css/site.css)

   This is the ONLY stylesheet. No minified copy: edit, save, upload, refresh.

   HOW TO CHANGE SIZES
   All sizes are plain pixel values in section 2 (":root"). There are no
   formulas and no hidden minimums: change the number, save, refresh.
   Each size has 3 values: desktop, tablet (under 960px), mobile (under 560px).

   QUICK EDITS (section 2, ":root")
   - Homepage H1 size ......... --hero-h1-desktop / -tablet / -mobile
   - Other pages H1 size ...... --page-h1-desktop / -tablet / -mobile
   - H2 size .................. --h2-desktop / -tablet / -mobile
   - H3 size .................. --h3-size
   - Body text size ........... --body-size
   - Brand colours ............ --primary, --secondary, --accent
   - Wallpaper colours ........ --wall-1, --wall-2, --wall-3
   - Page background .......... --bg
   - Content width ............ --container
   - Space between sections ... --section-space-desktop / -tablet / -mobile
   - Corner roundness ......... --radius

   SECTIONS
    1 Fonts             9 Properties window   17 FAQ
    2 Design tokens    10 Setup wizard        18 Final CTA
    3 Base             11 Before / after      19 Footer
    4 Taskbar header   12 Install panels      20 Inner pages
    5 Buttons          13 Tables              21 Guides
    6 Section heads    14 Toggle pros/cons    22 Scroll reveal
    7 Hero desktop     15 Dialog boxes        23 Responsive sizes
    8 Skin features    16 Desktop setups      24 Small screens
                                              25 Reduced motion
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted Poppins, SIL OFL 1.1) ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-800.woff2") format("woff2"); }

/* ---------- 2. Design tokens — EDIT HERE ---------- */
:root {
  /* Brand palette */
  --primary: #155EEF;
  --primary-hover: #0F4BC4;
  --primary-soft: #EAF1FF;
  --secondary: #12343F;
  --secondary-2: #0B242C;
  --accent: #FFC72C;
  --accent-soft: #FFF6D6;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #D0D5DD;
  --border-soft: #E6E9EE;
  --heading: #101828;
  --text: #475467;
  --success: #067647;
  --success-soft: #ECFDF3;
  --warning: #B54708;
  --warning-soft: #FFFAEB;
  --danger: #B42318;
  --danger-soft: #FEF3F2;

  /* Wallpaper colours (hero, final CTA, mini desktops) */
  --wall-1: #12343F;
  --wall-2: #155EEF;
  --wall-3: #0A8FD6;

  /* --- HEADING SIZES: change these numbers --- */
  --hero-h1-desktop: 32px;   /* homepage H1 on desktop */
  --hero-h1-tablet: 28px;    /* homepage H1 under 960px */
  --hero-h1-mobile: 26px;    /* homepage H1 under 560px */

  --page-h1-desktop: 42px;   /* H1 on guides, about, contact... */
  --page-h1-tablet: 36px;
  --page-h1-mobile: 30px;

  --h2-desktop: 36px;
  --h2-tablet: 30px;
  --h2-mobile: 26px;

  --h3-size: 19px;
  --body-size: 16px;
  --line: 1.75;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --gutter: 32px;                 /* left/right page padding (20px on mobile) */
  --section-space-desktop: 100px; /* space above and below each section */
  --section-space-tablet: 80px;
  --section-space-mobile: 64px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;

  /* Effects */
  --shadow: 0 16px 40px -20px rgba(16, 24, 40, .35);
  --shadow-lg: 0 40px 90px -40px rgba(11, 36, 44, .6);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--body-size); line-height: var(--line); color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: var(--page-h1-desktop); font-weight: 800; }
h2 { font-size: var(--h2-desktop); font-weight: 700; }
h3 { font-size: var(--h3-size); font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25rem; }
strong { color: var(--heading); font-weight: 600; }
code { font-family: var(--font); font-size: .9em; background: var(--primary-soft); color: var(--secondary); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--heading); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--heading); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- 4. Taskbar header (sticky, navigation only — no buttons) ---------- */
.taskbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px); border-bottom: 1px solid var(--border-soft); }
.taskbar.is-scrolled { box-shadow: 0 12px 30px -22px rgba(16, 24, 40, .5); }
.taskbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-weight: 700; font-size: 18px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; transition: transform .6s var(--ease); }
.brand:hover img { transform: translateY(-3px); }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { position: relative; display: block; padding: 10px 14px; border-radius: 10px; color: var(--heading); text-decoration: none; font-weight: 500; font-size: 15px; transition: background .25s; }
.nav-desktop a:hover { background: var(--bg); }
.nav-desktop a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 3px; margin-left: -3px; border-radius: 3px; background: var(--border); transition: width .3s var(--ease), margin .3s var(--ease), background .3s; }
.nav-desktop a:hover::after { width: 16px; margin-left: -8px; background: var(--primary); }
.nav-desktop a[aria-current="page"]::after { width: 22px; margin-left: -11px; background: var(--primary); }
.nav-desktop a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }
.tray { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.3; color: var(--heading); text-align: right; white-space: nowrap; }
.tray-icons { display: flex; gap: 6px; }
.tray-icons i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.tray-icons i:first-child { background: var(--primary); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(21, 94, 239, .5); } 100% { box-shadow: 0 0 0 8px rgba(21, 94, 239, 0); } }
.tray b { display: block; font-weight: 600; font-size: 13px; }

/* Mobile menu: native <details>, works without JavaScript */
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--heading); font-weight: 600; font-size: 14px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.grid-ico { display: grid; grid-template-columns: repeat(2, 6px); gap: 3px; }
.grid-ico i { width: 6px; height: 6px; border-radius: 2px; background: var(--primary); transition: transform .3s var(--ease); }
.nav-mobile[open] .grid-ico i { transform: rotate(45deg) scale(.8); }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 10px); width: 280px; max-width: 84vw; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; animation: drop .3s var(--ease); }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); color: var(--heading); text-decoration: none; font-weight: 500; }
.nav-mobile a:hover, .nav-mobile a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1060px) { .tray { display: none; } }
@media (max-width: 860px) { .nav-desktop { display: none; } .nav-mobile { display: block; } }

/* ---------- 5. Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 16px 30px -14px rgba(21, 94, 239, .8); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); }
.btn-primary svg { animation: drip 2.6s var(--ease) infinite; }
@keyframes drip { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(3px); } 90% { transform: translateY(-1px); } }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--border); }
.btn-outline:hover { border-color: var(--heading); color: var(--heading); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--heading); }
.btn-accent:hover { background: #FFD45C; color: var(--heading); transform: translateY(-2px); }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.dl-note { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; margin: 12px 0 0; }
.dl-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.dl-status { display: block; min-height: 1.4em; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--success); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- 6. Section heads ---------- */
.section { padding-block: var(--section-space-desktop); position: relative; }
.section-white { background: var(--surface); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.eyebrow::before { content: ""; width: 10px; height: 14px; background: var(--primary); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: polygon(50% 0, 100% 60%, 85% 100%, 15% 100%, 0 60%); }
.lede { font-size: 17px; }

/* ---------- 7. Hero desktop ---------- */
.hero { padding: 28px 0 70px; }
.hero h1 { font-size: var(--hero-h1-desktop); }
.desk { position: relative; overflow: hidden; border-radius: 28px; padding: 44px 44px 72px; background: linear-gradient(135deg, var(--wall-1) 0%, var(--wall-2) 55%, var(--wall-3) 100%); box-shadow: var(--shadow-lg); isolation: isolate; }
.desk::before, .desk::after { content: ""; position: absolute; border-radius: 50%; filter: blur(50px); z-index: -1; }
.desk::before { width: 420px; height: 420px; left: -120px; bottom: -180px; background: rgba(255, 199, 44, .35); animation: drift 14s ease-in-out infinite alternate; }
.desk::after { width: 360px; height: 360px; right: -80px; top: -120px; background: rgba(120, 200, 255, .45); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.1); } }
.desk-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 36px; align-items: center; }
.desk-grid > * { min-width: 0; }
.glass { background: rgba(255, 255, 255, .94); border-radius: 22px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); }
.skin-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; }
.skin-tag b { padding: 1px 8px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; }
.hero-text { font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-actions .dl-status { order: 3; flex-basis: 100%; margin: 0; min-height: 0; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--border); }
.hero-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.hero-facts dd { margin: 0; color: var(--heading); font-weight: 600; font-size: 15px; }

/* Widgets on the desktop (illustration) */
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; color: #fff; }
.w { border-radius: 18px; padding: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); animation: float 7s ease-in-out infinite; }
.w:nth-child(2) { animation-delay: -2s; } .w:nth-child(3) { animation-delay: -4s; } .w:nth-child(4) { animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.w-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.w-clock { grid-column: span 2; text-align: center; background: transparent; border-color: transparent; backdrop-filter: none; padding: 6px 0 10px; }
.w-day { font-size: 40px; font-weight: 800; letter-spacing: .32em; line-height: 1; text-transform: uppercase; padding-left: .32em; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.w-date { margin-top: 10px; font-size: 14px; letter-spacing: .25em; text-transform: uppercase; }
.w-time { margin-top: 2px; font-size: 13px; letter-spacing: .3em; opacity: .85; }
.meter { margin-bottom: 10px; font-size: 12px; }
.meter:last-child { margin-bottom: 0; }
.meter span { display: flex; justify-content: space-between; margin-bottom: 4px; }
.meter i { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.meter i::after { content: ""; display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--accent); animation: meter 4s ease-in-out infinite alternate; }
.meter:nth-child(3) i::after { background: #7FD3FF; animation-duration: 5s; }
.meter:nth-child(4) i::after { background: #fff; animation-duration: 6s; }
@keyframes meter { from { width: calc(var(--v) - 18%); } to { width: var(--v); } }
.m-cpu { --v: 46%; } .m-ram { --v: 62%; } .m-disk { --v: 74%; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: 10.5px; text-align: center; }
.cal b { font-weight: 600; opacity: .7; }
.cal span { padding: 3px 0; border-radius: 5px; }
.cal .today { background: var(--accent); color: var(--heading); font-weight: 700; }
.cal .muted { opacity: .35; }
.w-music { grid-column: span 2; display: flex; align-items: center; gap: 14px; }
.art { width: 48px; height: 48px; flex: none; border-radius: 12px; background: conic-gradient(from 0deg, var(--accent), #ff7a59, #7FD3FF, var(--accent)); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.track { flex: 1; min-width: 0; font-size: 13px; }
.track b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.eq i { width: 4px; height: 100%; background: #fff; border-radius: 2px; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .15s; } .eq i:nth-child(3) { animation-delay: .3s; } .eq i:nth-child(4) { animation-delay: .45s; } .eq i:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.desk-bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 10px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.desk-bar i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .55); transition: transform .3s var(--ease); }
.desk-bar i:first-child { background: #fff; }
.desk-bar i:hover { transform: translateY(-4px); }
.fig-note { margin: 14px 0 0; text-align: center; font-size: 13px; }

/* ---------- 8. Skin features (dark band) ---------- */
.band-dark { background: var(--secondary); color: #C3D3D8; }
.band-dark h2, .band-dark h3, .band-dark strong { color: #fff; }
.band-dark .eyebrow { color: var(--accent); }
.band-dark .eyebrow::before { background: var(--accent); }
.skins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.skin { position: relative; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .4s var(--ease), background .4s, border-color .4s; overflow: hidden; }
.skin:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(255, 199, 44, .45); }
.skin.wide { grid-column: span 2; }
.skin .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(21, 94, 239, .25); color: #9DBBFF; margin-bottom: 14px; }
.skin .ico svg { width: 22px; height: 22px; }
.skin h3 { font-size: 17px; margin-bottom: 6px; }
.skin p { margin: 0; font-size: 14.5px; }
.ring { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--accent) var(--p, 64%), rgba(255, 255, 255, .1) 0); animation: ring 5s ease-in-out infinite alternate; }
.ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--secondary); }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 64%; }
@keyframes ring { from { --p: 38%; } to { --p: 82%; } }
.spark { margin-top: 16px; height: 34px; display: flex; align-items: flex-end; gap: 4px; }
.spark i { flex: 1; background: rgba(157, 187, 255, .55); border-radius: 3px 3px 0 0; animation: eq 2.6s ease-in-out infinite; transform-origin: bottom; height: 100%; }
.spark i:nth-child(odd) { animation-delay: .5s; background: rgba(255, 199, 44, .6); }
.spark i:nth-child(3n) { animation-delay: 1s; }
@media (max-width: 960px) { .skins { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .skins { grid-template-columns: 1fr; } .skin.wide { grid-column: auto; } }

/* ---------- 9. Properties window (download) ---------- */
.dl-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.dl-grid > * { min-width: 0; }
.win { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.win-title { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; color: var(--heading); }
.win-title img { width: 18px; height: 18px; border-radius: 50%; }
.win-title .ctrl { margin-left: auto; display: flex; gap: 14px; }
.win-title .ctrl i { width: 11px; height: 2px; background: var(--text); align-self: center; }
.win-title .ctrl i:nth-child(2) { height: 10px; background: none; border: 2px solid var(--text); }
.win-title .ctrl i:nth-child(3) { height: 12px; width: 12px; background: linear-gradient(45deg, transparent 45%, var(--text) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--text) 45% 55%, transparent 55%); }
.win-tabs { display: flex; gap: 2px; padding: 8px 14px 0; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.win-tabs span { padding: 7px 14px; border-radius: 8px 8px 0 0; color: var(--text); }
.win-tabs span:first-child { background: var(--surface); color: var(--heading); font-weight: 600; border: 1px solid var(--border-soft); border-bottom-color: var(--surface); margin-bottom: -1px; }
.win-body { padding: 20px 22px; }
.file-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.zip-ico { width: 46px; height: 54px; flex: none; border-radius: 6px; background: linear-gradient(var(--accent) 0 0) 50% 0 / 8px 100% no-repeat, #FFE38A; position: relative; }
.zip-ico::after { content: "ZIP"; position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 10px; font-weight: 800; color: var(--heading); }
.file-head strong { display: block; font-size: 16px; }
.file-head span { font-size: 13px; }
.props { margin: 0; }
.props div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--border-soft); font-size: 14.5px; }
.props div:last-child { border-bottom: 0; }
.props dt { color: var(--text); }
.props dd { margin: 0; color: var(--heading); font-weight: 500; }
.dl-side .btn { width: 100%; }
.dl-side h3 { margin-top: 26px; font-size: 17px; }
.dl-side ul { margin: 0; font-size: 15px; }
.dl-side ul li { margin-bottom: 8px; }
.alt-links { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--border-soft); }
.alt-links li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.alt-links span { color: var(--heading); font-weight: 500; }
.alt-links small { display: block; color: var(--text); font-weight: 400; font-size: 13px; }
.note-box { display: flex; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); border-left: 4px solid var(--accent); font-size: 14.5px; color: var(--heading); }
.note-box svg { width: 22px; height: 22px; flex: none; color: var(--warning); margin-top: 2px; }
.note-box p { margin: 0; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- 10. Setup wizard (how to download) ---------- */
.wizard { display: grid; grid-template-columns: 240px 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.wizard-side { position: relative; padding: 28px 24px; color: #fff; background: linear-gradient(160deg, var(--wall-1), var(--wall-2)); overflow: hidden; }
.wizard-side img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.wizard-side h2 { color: #fff; font-size: 22px; }
.wizard-side p { font-size: 14px; color: #D5E2F7; }
.wizard-side::after { content: ""; position: absolute; width: 200px; height: 200px; right: -90px; bottom: -90px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .08); animation: spin 30s linear infinite; }
.wizard-main { padding: 28px 30px; }
.wiz-progress { height: 8px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border-soft); overflow: hidden; margin-bottom: 22px; }
.wiz-progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(45deg, var(--primary) 0 12px, #3E7BFF 12px 24px); background-size: 34px 100%; transition: width 2s var(--ease); animation: stripes 1s linear infinite; }
.wizard.is-in .wiz-progress i { width: 100%; }
@keyframes stripes { to { background-position: 34px 0; } }
.wiz-steps { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.wiz-steps li { counter-increment: w; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.wiz-steps li:last-child { border-bottom: 0; }
.wiz-steps li::before { content: counter(w); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 14px; transition: background .3s, color .3s; }
.wiz-steps li:hover::before { background: var(--primary); color: #fff; }
.wiz-steps h3 { font-size: 16px; margin: 4px 0 2px; }
.wiz-steps p { margin: 0; font-size: 14.5px; }
@media (max-width: 800px) { .wizard { grid-template-columns: 1fr; } }

/* ---------- 11. Before / after desktops ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.ba figure { margin: 0; }
.mini-desk { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--wall-1), var(--wall-2) 60%, var(--wall-3)); box-shadow: var(--shadow); }
.mini-desk.plain { background: linear-gradient(135deg, #5B6B7A, #8C9BAA); }
.mini-desk .icons { position: absolute; left: 4%; top: 6%; display: grid; gap: 8px; }
.mini-desk .icons i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .7); }
.mini-desk .mbar { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: rgba(0, 0, 0, .35); }
.md-clock { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); color: #fff; text-align: center; font-weight: 800; letter-spacing: .3em; font-size: 22px; padding-left: .3em; }
.md-clock small { display: block; font-size: 9px; font-weight: 500; letter-spacing: .3em; margin-top: 4px; }
.md-panel { position: absolute; right: 5%; top: 12%; width: 26%; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); }
.md-panel i { display: block; height: 4px; margin: 5px 0; border-radius: 4px; background: rgba(255, 255, 255, .7); }
.md-panel i:nth-child(2) { width: 70%; background: var(--accent); } .md-panel i:nth-child(3) { width: 45%; }
.md-dock { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, .2); }
.md-dock i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, .8); animation: float 4s ease-in-out infinite; }
.md-dock i:nth-child(2) { animation-delay: -1s; } .md-dock i:nth-child(3) { animation-delay: -2s; } .md-dock i:nth-child(4) { animation-delay: -3s; }
.ba figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--heading); }
.ba figcaption span { font-weight: 400; color: var(--text); }
.ba + p { max-width: 860px; margin-bottom: 36px; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.uses article { padding-left: 18px; border-left: 3px solid var(--primary); }
.uses article:nth-child(2) { border-color: var(--accent); }
.uses article:nth-child(3) { border-color: var(--wall-3); }
.uses h3 { font-size: 17px; }
.uses p { margin: 0; font-size: 15px; }
@media (max-width: 860px) { .ba, .uses { grid-template-columns: 1fr; } }

/* ---------- 12. Install panels ---------- */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); transition: box-shadow .3s, transform .3s var(--ease); }
.panel:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.panel h3 { display: flex; align-items: center; gap: 10px; }
.panel h3 span { padding: 2px 10px; border-radius: 999px; font-size: 12px; background: var(--primary-soft); color: var(--primary); }
.panel ol { margin: 0; padding-left: 20px; }
.panel li { margin-bottom: 8px; font-size: 15px; }
.panel li::marker { color: var(--primary); font-weight: 700; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--heading); }
.path svg { width: 18px; height: 18px; color: var(--accent); }
.path span + span::before { content: "›"; margin-right: 8px; color: var(--text); }
.chips + p { margin-top: 24px; max-width: 900px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; counter-reset: c; }
.chips li { counter-increment: c; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-soft); font-size: 14px; color: var(--heading); }
.chips li::before { content: counter(c); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; } }

/* ---------- 13. Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
caption { text-align: left; padding: 16px 20px; font-weight: 600; color: var(--heading); border-bottom: 1px solid var(--border-soft); }
th, td { padding: 13px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
thead th { background: var(--secondary); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
tbody th { color: var(--heading); font-weight: 600; }
tbody tr:nth-child(even) { background: #FBFCFE; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #F2F6FF; }
.hl { background: rgba(21, 94, 239, .06) !important; }
thead .hl { background: var(--primary) !important; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tag-yes { background: var(--success-soft); color: var(--success); }
.tag-no { background: var(--danger-soft); color: var(--danger); }
.tag-maybe { background: var(--warning-soft); color: var(--warning); }
.table-note { font-size: 13.5px; margin-top: 14px; }
.table-wrap + p { margin-top: 20px; }

/* ---------- 14. Toggle pros / cons ---------- */
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tg-col { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); }
.tg-col h3 { margin-bottom: 14px; }
.tg-col ul { list-style: none; margin: 0; padding: 0; }
.tg-col li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--border-soft); font-size: 15px; }
.tg-col li::before { content: ""; width: 40px; height: 22px; margin-top: 2px; border-radius: 999px; background: radial-gradient(circle 8px at 30px 50%, #fff 98%, transparent) , var(--primary); transition: background .3s; }
.tg-col.cons li::before { background: radial-gradient(circle 8px at 11px 50%, #fff 98%, transparent), #98A2B3; }
@media (max-width: 800px) { .toggles { grid-template-columns: 1fr; } }

/* ---------- 15. Dialog boxes (troubleshooting) ---------- */
.dialogs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dlg { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px -24px rgba(16, 24, 40, .6); transition: transform .35s var(--ease), box-shadow .35s; }
.dlg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dlg-title { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--bg); border-bottom: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; color: var(--heading); }
.dlg-title img { width: 16px; height: 16px; border-radius: 50%; }
.dlg-title .x { margin-left: auto; width: 10px; height: 10px; background: linear-gradient(45deg, transparent 44%, var(--text) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--text) 44% 56%, transparent 56%); }
.dlg-body { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; }
.dlg-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--warning-soft); color: var(--warning); font-weight: 800; }
.dlg-ico.err { background: var(--danger-soft); color: var(--danger); }
.dlg h3 { font-size: 16px; margin-bottom: 6px; }
.dlg p { margin: 0 0 6px; font-size: 14.5px; }
.dlg p:last-child { margin: 0; }
.tip { display: flex; gap: 14px; margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--heading); font-size: 15px; }
.tip svg { width: 22px; height: 22px; flex: none; color: var(--primary); margin-top: 2px; }
.tip p { margin: 0; }
@media (max-width: 800px) { .dialogs { grid-template-columns: 1fr; } }

/* ---------- 16. Desktop setups (editorial perspectives) ---------- */
.setups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.setup { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.setup:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.setup .mini-desk { border-radius: 0; box-shadow: none; }
.setup-body { padding: 20px; }
.setup .label { display: inline-block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.setup h3 { font-size: 17px; }
.setup p { margin: 0; font-size: 14.5px; }
.s-min .md-clock { top: 36%; }
.s-gamer .md-clock { top: 46%; }
.s-gamer { background: linear-gradient(135deg, #1B0F3B, #4B1FA8 60%, #E04F5F) !important; }
.s-gamer .md-panel i:nth-child(2) { background: #7FD3FF; }
@media (max-width: 900px) { .setups { grid-template-columns: 1fr; } }

/* ---------- 17. FAQ (two columns) ---------- */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
.faq-cols details, .faq details { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.faq details { margin-bottom: 12px; }
.faq-cols details[open], .faq details[open] { border-color: var(--primary); box-shadow: 0 14px 30px -24px rgba(21, 94, 239, .8); }
.faq-cols summary, .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 600; color: var(--heading); }
.faq-cols summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.faq-cols summary::after, .faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 18px; font-weight: 600; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-cols details[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-cols details > div, .faq details > div { padding: 0 18px 16px; animation: fadeIn .4s var(--ease); }
.faq-cols details p:last-child, .faq details p:last-child { margin: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq-cols { grid-template-columns: 1fr; } }

/* ---------- 18. Final CTA ---------- */
.final { position: relative; overflow: hidden; padding: 90px 0; color: #DDE8FF; background: linear-gradient(135deg, var(--wall-1), var(--wall-2) 65%, var(--wall-3)); }
.final::before { content: ""; position: absolute; width: 500px; height: 500px; left: -150px; top: -250px; border-radius: 50%; background: rgba(255, 199, 44, .2); filter: blur(60px); animation: drift 16s ease-in-out infinite alternate; }
.final-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.final-inner > * { min-width: 0; }
.final h2 { color: #fff; }
.final p { color: #fff; }
.final .eyebrow { color: var(--accent); }
.final .eyebrow::before { background: var(--accent); }
.final .facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.final .facts span { padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; color: #fff; }
.final .dl-note { color: #fff; }
.final .dl-status { color: #fff; }
.big-clock { text-align: center; color: #fff; }
.big-clock .w-day { font-size: 54px; }
@media (max-width: 860px) { .final-inner { grid-template-columns: 1fr; } .big-clock { display: none; } }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--primary-soft); padding-top: 60px; text-align: center; font-size: 15px; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-weight: 700; font-size: 20px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 14px 30px -14px rgba(21, 94, 239, .7); }
.footer-desc { max-width: 680px; margin: 16px auto 28px; }
.footer-nav { display: grid; gap: 10px; margin-bottom: 28px; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; }
.footer-nav h2 { margin: 6px 0 2px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.footer-nav a { color: var(--heading); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--primary); }
.disclosure { max-width: 760px; margin: 0 auto 30px; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid #D6E2FB; font-size: 14px; color: var(--heading); }
.disclosure p { margin: 0; }
.copyright { padding: 18px 0; background: var(--secondary); color: #C3D3D8; font-size: 14px; }
.copyright p { margin: 0; }
.copyright a { color: var(--accent); font-weight: 600; text-decoration: none; }
.copyright a:hover { text-decoration: underline; }

/* ---------- 20. Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 48px; color: #DDE8FF; background: linear-gradient(135deg, var(--wall-1), var(--wall-2) 70%, var(--wall-3)); }
.page-hero::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -140px; border-radius: 50%; background: rgba(255, 199, 44, .25); filter: blur(50px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: var(--page-h1-desktop); max-width: 26ch; }
.page-hero p { max-width: 66ch; color: #fff; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: 14px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--accent); font-weight: 500; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; font-size: 14px; color: #fff; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line svg { width: 16px; height: 16px; }
.page-body { padding: 52px 0 80px; }
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 28px; margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose li { margin-bottom: 7px; }
.prose .table-wrap { margin: 24px 0; }
.prose pre { background: var(--secondary-2); color: #E4EEF1; border-radius: var(--radius-sm); padding: 16px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.prose pre code { background: none; color: inherit; padding: 0; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.contact-cards > div { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); }
.contact-cards h2 { font-size: 18px; margin-top: 0; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }
.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .sitemap-cols { grid-template-columns: 1fr; } }
.nf { text-align: center; padding: 80px 0 100px; }
.nf .code404 { font-size: 140px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--heading); }
.nf .code404 span { display: inline-block; color: var(--primary); animation: float 3s ease-in-out infinite; }

/* ---------- 21. Guides ---------- */
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; padding: 0; margin: 0; }
.g-card { display: grid; grid-template-columns: 42% 1fr; height: 100%; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.g-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border); }
.g-card .thumb { overflow: hidden; background: var(--secondary); }
.g-card img { width: 100%; height: 100%; object-fit: cover; object-position: 0 50%; transition: transform .7s var(--ease); }
.g-card:hover img { transform: scale(1.06); }
.g-body { display: flex; flex-direction: column; padding: 18px 20px; }
.g-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.g-card h2 { font-size: 17px; margin-bottom: 6px; transition: color .3s; }
.g-card:hover h2 { color: var(--primary); }
.g-card p { font-size: 14px; margin: 0 0 12px; }
.g-meta { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--heading); }
@media (max-width: 900px) { .guide-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .g-card { grid-template-columns: 1fr; } }
.article-cover { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); }
.article-cover img { width: 100%; }
.toc-box { margin: 0 0 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); }
.toc-box summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--heading); }
.toc-box ol { margin: 0; padding: 0 18px 16px 38px; columns: 2; column-gap: 30px; font-size: 14.5px; }
.toc-box li { margin-bottom: 6px; break-inside: avoid; }
.toc-box a { text-decoration: none; }
.key-box { margin: 28px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--primary-soft); }
.key-box h2 { font-size: 18px; margin-top: 0; }
.key-box ul { margin: 0; }
.article-cta { margin-top: 44px; padding: 30px; border-radius: var(--radius); color: #DDE8FF; background: linear-gradient(135deg, var(--wall-1), var(--wall-2)); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.article-cta h2 { color: #fff; font-size: 21px; margin: 0 0 6px; }
.article-cta p { margin: 0; color: #fff; }
.article-cta .dl-note { color: #fff; }
.article-cta .dl-status { color: #fff; }
.related { margin-top: 44px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related a { display: block; height: 100%; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border-soft); text-decoration: none; color: var(--heading); font-weight: 500; transition: border-color .3s, transform .3s var(--ease); }
.related a:hover { border-color: var(--primary); transform: translateY(-2px); }
@media (max-width: 760px) { .article-cta { grid-template-columns: 1fr; } .related ul { grid-template-columns: 1fr; } .toc-box ol { columns: 1; } }

/* ---------- 22. Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.d1 { --d: .05s; } .d2 { --d: .13s; } .d3 { --d: .21s; } .d4 { --d: .29s; }

/* ---------- 23. Responsive sizes (tablet & mobile) ---------- */
/* Tablet: under 960px */
@media (max-width: 960px) {
  h1, .page-hero h1 { font-size: var(--page-h1-tablet); }
  .hero h1 { font-size: var(--hero-h1-tablet); }
  h2 { font-size: var(--h2-tablet); }
  .section { padding-block: var(--section-space-tablet); }
  .final { padding: 72px 0; }
  .desk { padding: 28px 28px 72px; }
  .desk-grid { grid-template-columns: 1fr; }
}
/* Mobile: under 560px */
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  h1, .page-hero h1 { font-size: var(--page-h1-mobile); }
  .hero h1 { font-size: var(--hero-h1-mobile); }
  h2 { font-size: var(--h2-mobile); }
  .prose h2 { font-size: 24px; }
  .section { padding-block: var(--section-space-mobile); }
  .final { padding: 60px 0; }
  .nf .code404 { font-size: 96px; }
}

/* ---------- 24. Small screens (layout) ---------- */
@media (max-width: 560px) {
  .hero { padding: 16px 0 50px; }
  .desk { padding: 14px 14px 64px; border-radius: 22px; }
  .glass { padding: 20px; }
  .skin-tag { font-size: 12px; }
  .hero h1 { overflow-wrap: break-word; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .widgets { gap: 10px; }
  .w-day { font-size: 28px; }
  .props div { grid-template-columns: 1fr; gap: 0; }
  .btn { white-space: normal; text-align: center; }
  .wizard-main { padding: 22px 18px; }
}
@media (max-width: 400px) {
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .nav-mobile .menu-word { display: none; }
  .cal { font-size: 9.5px; }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .wizard .wiz-progress i { width: 100%; }
}
