  #wd {
    --wd-brand: #EF4953;
    --wd-brand-pressed: #D93C46;
    --wd-bg: #131417;
    --wd-surface: #1C1D21;
    --wd-surface-2: #25262B;
    --wd-line: #2E2F35;
    --wd-text: #F5F5F6;
    --wd-text-2: #A3A5AB;
    --wd-text-3: #6B6D72;
    --wd-on-brand: #FFFFFF;
    --wd-radius: 10px;
    --wd-radius-lg: 22px;
    background: var(--wd-bg);
    color: var(--wd-text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  @media (prefers-color-scheme: light) {
    #wd:not([data-theme="dark"]) {
      --wd-bg: #F5F5F6;
      --wd-surface: #FFFFFF;
      --wd-surface-2: #F1F1F2;
      --wd-line: #E7E7E9;
      --wd-text: #18181B;
      --wd-text-2: #6B6D72;
      --wd-text-3: #9A9CA1;
    }
  }
  #wd *, #wd *::before, #wd *::after { box-sizing: border-box; }
  #wd a { color: inherit; }
  #wd :focus-visible { outline: 3px solid var(--wd-brand); outline-offset: 3px; border-radius: 6px; }
  #wd img { max-width: 100%; }
  #wd h2, #wd p, #wd ol { margin: 0; padding: 0; }

  #wd .wd-wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; width: 100%; }

  #wd .wd-hero.wd-hero { grid-template-columns: 1fr; }
  #wd .wd-hero {
    padding: 56px 0 40px;
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
  #wd .wd-tile {
    width: 148px; height: 148px;
    border-radius: 13.6%;
    display: block;
    box-shadow: 0 18px 40px rgba(239, 73, 83, 0.28);
  }
  #wd .wd-logo { width: min(380px, 100%); height: auto; display: block; margin-bottom: 18px; }
  #wd .wd-hero p { color: var(--wd-text-2); font-size: 18px; max-width: 34ch; }

  #wd .wd-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
  #wd .wd-pill {
    display: inline-block; padding: 5px 11px; border-radius: 999px;
    background: var(--wd-surface-2); color: var(--wd-text-2); font-size: 13.5px; font-weight: 500;
  }
  #wd .wd-pill.wd-testnet { background: rgba(239, 73, 83, 0.14); color: var(--wd-brand); }

  #wd h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 14px; line-height: 1.3; }
  #wd .wd-lead { color: var(--wd-text-2); margin: 0 0 20px; }

  #wd .wd-android { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  #wd .wd-btn {
    display: flex; align-items: center; gap: 14px;
    min-height: 72px; padding: 14px 18px;
    border-radius: var(--wd-radius-lg);
    text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.3;
    border: 1px solid transparent;
    transition: background 120ms ease, border-color 120ms ease;
  }
  #wd .wd-btn svg { width: 30px; height: 30px; flex: none; }
  #wd .wd-btn small { display: block; font-weight: 400; font-size: 13.5px; opacity: 0.8; margin-top: 2px; }
  #wd .wd-btn.wd-primary { background: var(--wd-brand); color: var(--wd-on-brand); }
  #wd .wd-btn.wd-primary:hover { background: var(--wd-brand-pressed); }
  #wd .wd-btn.wd-secondary { background: var(--wd-surface); color: var(--wd-text); border-color: var(--wd-line); }
  #wd .wd-btn.wd-secondary:hover { border-color: var(--wd-text-3); }
  #wd .wd-btn.wd-off { pointer-events: none; opacity: 0.45; }
  #wd .wd-btn.wd-off small { opacity: 1; }

  /* QR codes: only useful when someone reads this on a computer. */
  #wd .wd-scan {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
    margin-top: 12px;
  }
  #wd .wd-qr {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center;
    padding: 12px; border-radius: var(--wd-radius-lg);
    background: var(--wd-surface); border: 1px solid var(--wd-line);
  }
  #wd .wd-qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff; display: block; }
  #wd .wd-qr .wd-qr-title { font-weight: 600; font-size: 15.5px; }
  #wd .wd-qr .wd-qr-sub { color: var(--wd-text-2); font-size: 14px; margin-top: 2px; }

  #wd .wd-aside { color: var(--wd-text-2); font-size: 15px; margin-top: 14px; }
  #wd .wd-aside a { color: var(--wd-text); text-decoration: underline; text-underline-offset: 3px; }
  #wd .wd-aside a:hover { color: var(--wd-brand); }

  #wd .wd-form { margin-top: 8px; border-radius: var(--wd-radius-lg); background: var(--wd-surface); border: 1px solid var(--wd-line); padding: 8px; }
  #wd .wd-form iframe { width: 100%; border: 0; display: block; border-radius: 14px; }
  #wd .wd-fields { color: var(--wd-text-2); font-size: 15px; }
  #wd .wd-fields li { margin: 0 0 6px; }

  #wd .wd-doc { padding-top: 56px; padding-bottom: 24px; }
  #wd .wd-doc h1 { font-size: 34px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 10px; }
  #wd .wd-doc h2 { font-size: 20px; margin: 36px 0 10px; }
  #wd .wd-doc p { margin: 0 0 14px; max-width: 70ch; }
  #wd .wd-doc ul { margin: 0 0 14px; padding-left: 22px; max-width: 70ch; }
  #wd .wd-doc li { margin: 0 0 8px; }
  #wd .wd-doc li::marker { color: var(--wd-brand); }
  #wd .wd-doc strong { color: var(--wd-text); }
  #wd .wd-doc a { text-decoration: underline; text-underline-offset: 3px; }
  #wd .wd-doc a:hover { color: var(--wd-brand); }

  #wd .wd-h2 { display: flex; align-items: center; gap: 12px; }
  #wd .wd-os {
    flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
    background: var(--wd-surface); border: 1px solid var(--wd-line); color: var(--wd-text);
  }
  #wd .wd-os svg { width: 26px; height: 26px; display: block; }
  #wd .wd-os-sm { width: 40px; height: 40px; border-radius: 11px; color: var(--wd-brand); }
  #wd .wd-os-sm svg { width: 22px; height: 22px; }
  #wd .wd-list { border-top: 1px solid var(--wd-line); }
  #wd .wd-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
    padding: 18px 0; border-bottom: 1px solid var(--wd-line);
  }
  #wd .wd-name { font-weight: 600; }
  #wd .wd-meta { color: var(--wd-text-2); font-size: 14.5px; margin-top: 2px; }
  #wd .wd-get {
    display: inline-block; padding: 10px 16px; border-radius: var(--wd-radius);
    background: var(--wd-surface); border: 1px solid var(--wd-line);
    text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
  }
  #wd a.wd-get:hover { border-color: var(--wd-brand); color: var(--wd-brand); }
  #wd span.wd-get { color: var(--wd-text-3); }

  #wd .wd-steps { padding-left: 22px; }
  #wd .wd-steps li { margin: 0 0 12px; padding-left: 6px; }
  #wd .wd-steps li::marker { color: var(--wd-brand); font-weight: 600; }

  #wd .wd-note {
    margin-top: 36px; padding: 16px 18px; border-radius: var(--wd-radius-lg);
    background: var(--wd-surface); border: 1px solid var(--wd-line); color: var(--wd-text-2); font-size: 15.5px;
  }
  #wd .wd-note strong { color: var(--wd-text); }

  #wd .wd-foot { padding: 56px 0 48px; color: var(--wd-text-3); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
  #wd .wd-foot a { color: var(--wd-text-2); text-decoration: none; }
  #wd .wd-foot a:hover { color: var(--wd-brand); }

  @media (max-width: 560px) {
    #wd { font-size: 16px; }
    #wd .wd-hero { grid-template-columns: 1fr; gap: 22px; padding-top: 40px; }
    #wd .wd-tile { width: 120px; height: 120px; }
    #wd .wd-android { grid-template-columns: 1fr; }
    #wd .wd-scan { display: none; }
    #wd .wd-row { grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; }
    #wd .wd-get { grid-column: 2; justify-self: start; }
  }
  @media (prefers-reduced-motion: reduce) { #wd .wd-btn { transition: none; } }
