:root {
    --bg: #121821; --bg2: #19212d; --line: #2a3444;
    --text: #eef1f5; --muted: #a9b3c1;
    --gold: #e3a92b; --blue: #6ea8ff; --btn: #2f6feb;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 Figtree, system-ui, sans-serif; }
  a { color: var(--blue); }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
  h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
  h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
  h1 span { color: var(--gold); }
  h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
  h3 { font-size: 1.15rem; }
  p { margin: 0 0 1em; }
  .muted { color: var(--muted); }

  header.top { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
  header.top img { width: 40px; height: 40px; border-radius: 10px; }
  header.top b { font-family: Fraunces, Georgia, serif; font-size: 1.25rem; }
  header.top nav { margin-left: auto; display: flex; gap: 20px; }
  header.top nav a { color: var(--muted); text-decoration: none; }
  header.top nav a:hover { color: var(--text); }

  .hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
  .hero img.shot { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
  .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
  .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 12px;
         font-weight: 600; text-decoration: none; border: 1px solid transparent; }
  .btn.primary { background: var(--btn); color: #fff; }
  .btn.primary:hover { background: #255fd0; }
  .btn.ghost { border-color: var(--line); color: var(--text); }
  .btn.ghost:hover { border-color: var(--muted); }
  .btn svg { width: 20px; height: 20px; }
  .note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

  section { padding: 64px 0; border-top: 1px solid var(--line); }
  .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
  .card { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
  .card svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 10px; }
  .card p { color: var(--muted); margin: 0; }

  ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
  ol.steps li { counter-increment: s; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
  ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
                        background: var(--gold); color: #1a1a1a; font-weight: 700; margin-bottom: 12px; }
  ol.steps p { color: var(--muted); margin: 0; }

  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
  ul.clean { padding-left: 1.1em; margin: 0; }
  ul.clean li { margin-bottom: .4em; }

  details { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
  summary { cursor: pointer; font-weight: 600; }
  details p { color: var(--muted); margin: 12px 0 0; }
  code { background: #0d1219; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .92em; }

  footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .95rem; }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
  footer .disclaimer { display: block; margin-top: 14px; font-size: .85rem; line-height: 1.5; }

  @media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding-top: 24px; }
    .grid, ol.steps, .two { grid-template-columns: 1fr; }
    header.top nav { display: none; }
  }

  .lang { display: flex; gap: 6px; margin-left: 20px; }
  .lang a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .9rem; }
  .lang a[aria-current] { color: var(--text); border-color: var(--muted); }
  .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
  .gallery figure { margin: 0; }
  .gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
  .gallery figcaption { color: var(--muted); font-size: .95rem; margin-top: 8px; }
  .kbd { display: inline-block; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; font-size: .9em; color: var(--text); }
  @media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } header.top .lang { margin-left: auto; } }

  /* RDP compatibility table */
  .table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; }
  table.compat { width: 100%; border-collapse: collapse; background: var(--bg2); min-width: 640px; }
  table.compat th, table.compat td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
  table.compat thead th { font-family: Fraunces, Georgia, serif; font-weight: 700; color: var(--text); }
  table.compat tbody th { font-weight: 600; color: var(--text); }
  table.compat td { color: var(--muted); }
  table.compat tr:last-child th, table.compat tr:last-child td { border-bottom: 0; }
  .yes { color: #5fd38d; font-weight: 600; }
  .no { color: #ff8a80; font-weight: 600; }
