    :root {
      --bg: #f5f7fb;
      --card: #ffffff;
      --text: #1f2937;
      --muted: #6b7280;
      --border: #dbe2ea;
      --accent: #111827;
      --accent-text: #ffffff;
      --code-bg: #0f172a;
      --code-text: #f8fafc;
      --info-title: #1e3a5f;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      font-size: 18px;
    }

    body {
      margin: 0;
      font-family: 'Dosis', Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
    }

    p a {
      color: var(--info-title);
      text-decoration: none;
    }

    p a:hover {
      color: #0000ff;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: #fff;
      border-bottom: 1px solid var(--border);
    }

    .nav-wrap {
      width: 90%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 14px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    /*.brand {
      color: var(--text);
      text-decoration: none;
      font-weight: 800;
      font-size: 1.0rem;
      white-space: nowrap;
    }*/

    .brand {
      display: inline-flex;
      align-items: center;
      color: var(--text);
      text-decoration: none;
      font-weight: 800;
      white-space: nowrap;
    }

    .brand-logo {
      display: block;
      height: 34px;
      width: auto;
      max-width: 285px;
      margin: 5px 0;
    }

    @media (max-width: 720px) {
      .brand-logo {
        height: 28px;
        max-width: 220px;
      }
    }


    .nav-links {
      display: none; /*flex;*/
      align-items: center;
      gap: 8px;
    }

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      padding: 8px 10px;
      border-radius: 10px;
    }

    .nav-links a:hover,
    .nav-links a:focus {
      color: var(--text);
      background: #e5e7eb;
      outline: none;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .lang-switch {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      font-weight: 700;
    }

    .lang-switch span {
      color: var(--muted);
    }

    .lang-switch a {
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .lang-switch a:hover,
    .lang-switch a:focus,
    .lang-switch a.active,
    .lang-switch span.active {
      color: var(--text);
    }

    .menu-toggle {
      display: none;
      background: var(--accent);
      color: var(--accent-text);
      padding: 9px 12px;
      border-radius: 12px;
      font-weight: 700;
    }

    .wrap {
      width: 90%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 56px 20px 56px;
    }

    h1 {
      margin: 0 0 10px;
      font-size: 2rem;
      line-height: 1.15;
    }

    .lead {
      margin: 0 0 28px;
      color: var(--muted);
    }

    .privacy-box {
      background: #eef6ff;
      border: 1px solid #c7ddf7;
      border-radius: 16px;
      padding: 16px 18px;
      margin: 22px 0 28px;
    }

    .privacy-box strong {
      display: block;
      margin-bottom: 6px;
      color: #1e3a5f;
    }

    .privacy-box p {
      margin: 0;
      color: #35516f;
      font-size: 0.95rem;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 20px;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
      margin-bottom: 18px;
      scroll-margin-top: 84px;
    }

    .card h2 {
      margin: 0 0 14px;
      font-size: 1.25rem;
    }

    label {
      display: block;
      font-weight: 600;
      margin-bottom: 8px;
    }

    input[type="email"],
    input[type="text"] {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: 12px;
      font-size: 1rem;
      outline: none;
      background: #fff;
    }

    input[type="email"]:focus,
    input[type="text"]:focus {
      border-color: #94a3b8;
      box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
    }

    .field { margin-bottom: 16px; }

    .row {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
      margin-top: 16px;
    }

    .check {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--text);
      font-weight: 500;
      margin-bottom: 0;
      cursor: pointer;
    }

    .check input { cursor: pointer; }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    button {
      border: 0;
      border-radius: 12px;
      padding: 11px 14px;
      font-size: 0.95rem;
      cursor: pointer;
      transition: transform 0.04s ease, opacity 0.2s ease, background 0.2s ease;
    }

    button:active { transform: translateY(1px); }

    .primary {
      background: var(--accent);
      color: var(--accent-text);
    }

    .secondary {
      background: #e5e7eb;
      color: #111827;
    }

    .copy {
      background: #eef2ff;
      color: #312e81;
    }

    .output {
      background: var(--code-bg);
      color: var(--code-text);
      border-radius: 14px;
      padding: 14px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 0.95rem;
      overflow-wrap: anywhere;
      white-space: pre-wrap;
      word-break: break-word;
      margin: 0 0 12px;
      min-height: 72px;
    }

    .hint {
      color: var(--muted);
      font-size: 0.92rem;
      margin-top: 8px;
    }

    .status {
      font-size: 0.92rem;
      color: #166534;
      min-height: 1.2em;
      margin-top: 8px;
    }

/*    footer {
      border-top: 1px solid var(--border);
      background: #ffffff;
      margin-top: 32px;
    }*/

    .footer-wrap {
      width: 90%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
      align-items: center;
      font-size: 0.95rem;
    }

    .footer-wrap a {
      color: var(--muted);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.2s ease;
    }

    .footer-wrap a:hover,
    .footer-wrap a:focus {
      color: var(--text);
    }

    @media (max-width: 720px) {
      .nav-wrap {
        width: 100%;
        align-items: flex-start;
        flex-wrap: wrap;
      }

      .header-actions {
        margin-left: auto;
      }

      .lang-switch {
        font-size: 0.85rem;
        line-height: 36px;
      }

      .menu-toggle {
        display: none; /*inline-flex;*/
        align-items: center;
        gap: 6px;
      }

      .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding-top: 10px;
      }

      .nav-links.open {
        display: flex;
      }

      .nav-links a {
        padding: 11px 12px;
        background: #ffffff;
        border: 1px solid var(--border);
      }

      .wrap {
        width: 100%;
        padding-top: 24px;
      }

      .footer-wrap {
        width: 100%;
      }

      h1 { font-size: 1.7rem; }
      .card { padding: 16px; scroll-margin-top: 130px; }
    }
