#main-features {
  scroll-margin: 100px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
  .compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  min-width: 420px;
  width: 100%;
}

  /* Header */
  .compare-table thead th {
    background: #e8e6e1;
    padding: 14px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }

  .compare-table thead th:first-child {
    text-align: left;
    font-weight: 600;
    color: #666;
  }

  .compare-table thead th.pro-col {
    background: #ddd9d2;
  }

  /* Category rows */
  .category-row td {
    background: #f7f6f3;
    padding: 12px 16px;
    font-size: 0.545rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    border-top: 1px solid #e8e6e1;
  }

  /* Regular rows */
  .compare-table tbody td {
    padding: 14px 16px;
    font-size: 0.636rem;
    text-align: center;
    border-bottom: 1px solid #f0efec;
    vertical-align: middle;
  }
  .compare-table tbody td:first-child {
    text-align: left;
  }

  .compare-table tbody td.pro-col {
    background: #fafaf7;
  }

  /* Feature name + description */
  .feature-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.636rem;
  }

  .feature-desc {
    font-size: 0.545rem;
    color: #999;
    margin-top: 3px;
    line-height: 1.4;
    max-width: 260px;
  }

  /* Info icon */
  .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.727rem;
    width: 0.727rem;
    border-radius: 50%;
    border: 1px solid #ccc;
    font-size: 0.409rem;
    color: #aaa;
    cursor: help;
    flex-shrink: 0;
    position: relative;
  }
  .info-icon:hover {
    border-color: #888;
    color: #666;
  }

  /* Tooltip */
  .tooltip-wrapper {
    position: relative;
    display: inline-flex;
  }

  .tooltip-text {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: normal;
    width: 220px;
    line-height: 1.4;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a1a1a;
  }

  .tooltip-wrapper:hover .tooltip-text {
    display: block;
  }

  /* Check / X icons */
  .icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e8f5e2;
  }

  .icon-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #fce8e8;
  }

  .text-value {
    font-weight: 600;
    font-size: 0.591rem;
    color: #1a1a1a;
  }

  /* Shared features note */
  .shared-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
  }

  .shared-note strong {
    color: #666;
  }

  @media (max-width: 640px) {
    .compare-table thead th,
    .compare-table tbody td {
      padding: 10px 8px;
      font-size: 0.8rem;
    }
    .feature-desc { display: none; }
  }

  /* Domain-taulukko */
.domain-intro {
  font-size: 0.636rem;
  color: #888;
  margin-bottom: 16px;
  line-height: 1.6;
  text-align: left;
}

.domain-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.domain-table thead th {
  background: #e8e6e1;
  padding: 12px 20px;
  font-size: 0.591rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid #ddd;
  text-align: center;
}

.domain-table tbody td {
  padding: 12px 20px;
  font-size: 0.636rem;
  border-bottom: 1px solid #f0efec;
}

.domain-ext {
  font-weight: 700;
  color: #1a1a1a;
}

.domain-price {
  font-weight: 700;
  color: #1a1a1a;
}

.domain-popular {
  background: #fafaf7;
}

.domain-badge {
  display: inline-block;
  background: #222;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.domain-note {
  font-size: 0.545rem;
  color: #aaa;
  margin-top: 12px;
  line-height: 1.5;
}
@media only screen and (max-width: 480px) {
thead {
  position: unset;
  top: unset;
}
}