  <style>
    *,
    *::before,
    *::after { box-sizing: border-box; }

    :root {
      --accent: #1e3a8a;
      --accent-light: #3b82f6;
      --border: #e5e7eb;
      --card-bg: #ffffff;
      --max-width: 680px;
      --step-bg: #eef2ff;
    }

    body {
      font-family: "Inter", system-ui, sans-serif;
      background: #f7f9fc;
      margin: 0;
      padding: 0;
      color: #111827;
    }

    /* HEADER */

/* HEADER */
.site-header {
  width: 100%;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  padding: 1.6rem 0;
  text-align: center;
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.nav-logo {
  font-family: "Righteous", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
}

    /* CARD SECTIONS */
    .how-to-participate {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
      width: 100%;
      max-width: var(--max-width);
      margin: 24px auto;
      padding: 26px 28px;
      transition: box-shadow 0.2s ease;
    }

    .how-to-participate:hover {
      box-shadow: 0 6px 16px rgba(0,0,0,0.10);
    }

    /* STEP LABEL */
.step-label {
  background: var(--accent);
  color: white;
  display: inline-block;
  padding: 4px 14px;        /* More horizontal padding = perfect pill */
  border-radius: 999px;     /* Always produces a perfect rounded pill */
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
  line-height: 1;           /* Keeps the height tight and clean */
}

    .step-left {
      text-align: left !important;
    }

    h4 {
      margin: 0 0 14px 0;
      color: var(--accent);
      font-size: 1.15rem;
      font-weight: 600;
      text-align: center;
    }

    /* INPUTS */
    input, textarea {
      font-size: 1rem;
      padding: 0.75rem;
      border-radius: 8px;
      border: 1px solid #d1d5db;
      width: 100%;
      margin-top: 12px;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    input:focus, textarea:focus {
      border-color: var(--accent-light);
      box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
      outline: none;
    }

    /* BUTTONS */
    button {
      display: block;
      width: 100%;
      max-width: 260px;
      margin: 14px auto;
      padding: 13px;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    #submitBtn {
      background: var(--accent);
      color: white;
      opacity: 0.5;
    }

    #submitBtn:enabled {
      opacity: 1;
    }

    #submitBtn:enabled:hover {
      transform: translateY(-2px);
    }

    .refresh-btn {
      background: #e5e7eb;
    }

    .refresh-btn:hover {
      background: #d1d5db;
      transform: translateY(-2px);
    }

    /* COUNTER */
    #sentenceCounter {
      text-align: center;
      margin-top: 10px;
      font-weight: 600;
      color: #374151;
    }
  </style>