/* ==================================================================
   GotoWork — About Page Styles
   ================================================================== */

.gw-about-section h3 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.gw-about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .gw-about-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==================================================================
   GotoWork — Pricing Page Styles
   ================================================================== */

.gw-pricing-section {
  text-align: center;
  margin-bottom: 3rem;
}

.gw-cost-details {
  margin-top: 2rem;
}

.gw-cost-details h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
}

.gw-cost-details p {
  font-size: var(--text-md);
}

/* ==================================================================
   GotoWork — Privacy statement (and other legal text)
   One readable column: the page is read top to bottom, not scanned.
   ================================================================== */

.gw-legal {
  /* About 70 characters of DM Sans per line. */
  max-width: 38rem;
  color: var(--gw-text-secondary);
  font-size: var(--text-md);
  line-height: 1.7;
}

.gw-legal__lead {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--gw-text-secondary);
  margin-bottom: 0.75rem;
}

.gw-legal__updated {
  font-size: var(--text-sm);
  color: var(--gw-text-muted);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gw-border-light);
  margin-bottom: 0;
}

.gw-legal h2 {
  font-size: var(--text-2xl);
  color: var(--gw-text);
  margin: 2.75rem 0 0.75rem;
  text-wrap: balance;
}

.gw-legal h3 {
  font-size: var(--text-lg);
  color: var(--gw-text);
  margin: 1.75rem 0 0.5rem;
}

.gw-legal p,
.gw-legal ul {
  margin: 0 0 1rem;
}

.gw-legal ul {
  padding-left: 1.25rem;
}

.gw-legal li {
  line-height: inherit;
  color: inherit;
}

.gw-legal li + li {
  margin-top: 0.4rem;
}

.gw-legal a {
  /* The accent blue is too light for body-size link text (3:1). */
  color: var(--gw-blue-700);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.gw-legal a:hover {
  color: var(--gw-blue-800);
}

.gw-legal__table-wrap {
  margin: 1.25rem 0 1rem;
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gw-legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.gw-legal__table th {
  text-align: left;
  color: var(--gw-text);
  font-weight: 600;
  background: var(--gw-sand);
  padding: 0.65rem 0.9rem;
}

.gw-legal__table td {
  padding: 0.65rem 0.9rem;
  border-top: 1px solid var(--gw-border-light);
  vertical-align: top;
}

.gw-legal__table td:first-child {
  font-weight: 600;
  color: var(--gw-text);
  white-space: nowrap;
}

/* Phones: each service becomes a small block instead of a squeezed row. */
@media (max-width: 576px) {
  .gw-legal__table thead {
    display: none;
  }

  .gw-legal__table tr {
    display: block;
    padding: 0.75rem 0.9rem;
  }

  .gw-legal__table tr + tr {
    border-top: 1px solid var(--gw-border-light);
  }

  .gw-legal__table td {
    display: block;
    padding: 0;
    border-top: none;
  }

  .gw-legal__table td:last-child {
    color: var(--gw-text-muted);
  }
}
