  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

  .converter {
    max-width: 700px;
    margin: 0 auto 40px;
    font-family: 'Poppins', sans-serif;
  }
  .copy {
    font-size: 14px;
    color: #555;
    margin: 6px 0 14px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
  }

  .bin-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 16px;
    align-items: center;
    justify-items: center;
    margin: 0 auto 10px;
    width: fit-content;
    font-family: 'Poppins', sans-serif;
  }

  .row-labels {
    display: grid;
    grid-auto-rows: 36px;
    row-gap: 10px;
    align-self: start;
    padding-top: 2px;
    font: 600 12px/1.2 'Poppins', sans-serif;
    color: #666;
  }
  .row-labels > div { display:flex; align-items:center; height:36px; }

  .col-labels {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: repeat(6, 42px);
    column-gap: 12px;
    justify-content: center;
    padding-top: 6px;
    font: 600 12px/1.2 'Poppins', sans-serif;
    color: #666;
  }
  .col-labels > div { text-align: center; }

  .binary-clock {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: repeat(6, 42px);
    column-gap: 12px;
    justify-content: center;
  }

  .col {
    display: grid;
    grid-auto-rows: 36px;
    row-gap: 10px;
    align-content: start;
  }

  .led {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e9edf2;
    box-shadow: inset 0 0 0 2px #d1d9e6;
    transition: box-shadow 120ms linear, transform 80ms ease, background 120ms linear, opacity 120ms linear;
    position: relative;
  }

  .led.on {
    background: #22c55e1a;
    box-shadow:
      0 0 10px rgba(34, 197, 94, .7),
      0 0 18px rgba(34, 197, 94, .5),
      inset 0 0 0 2px #22c55e;
    transform: translateY(-1px);
  }

  .led.na {
    opacity: 0.25;
    box-shadow: inset 0 0 0 2px #dfe6f0;
    background: #f3f6fa;
  }

  .time-readout {
    margin-top: 14px;
    font: 700 20px/1.2 'Poppins', sans-serif;
    text-align: center;
    color: #111827;
    letter-spacing: 0.5px;
  }

  @media (max-width: 480px) {
    .binary-clock, .col-labels {
      grid-template-columns: repeat(6, 36px);
      column-gap: 10px;
    }
    .led { width: 32px; height: 32px; border-radius: 8px; }
    .row-labels { grid-auto-rows: 32px; }
  }