.hero__layout {
  display: block;
  width: min(100% - 2.5rem, var(--content));
  margin-inline: auto;
}

.hero__copy {
  width: auto;
  max-width: 40rem;
  margin: 1.75rem 0 0.25rem;
}

.guides .trust-grid {
  align-items: start;
}

.guides .trust-card {
  display: flex;
  flex-direction: column;
}

.guides .trust-card p {
  margin-bottom: 0;
}

.guides .actions {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 1rem;
}

.guides .button {
  width: 100%;
}

.process-note {
  max-width: 40rem;
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  background: #fffcfa;
  border: 1px solid #f3ebe7;
  border-radius: 12px;
}

.process-note h2 {
  margin: 0 0 0.75rem;
}

.process-note p {
  margin: 0;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.dose h2 {
  margin-bottom: 0.75rem;
}

.dose__lead {
  max-width: 40rem;
  margin-bottom: 1.35rem;
}

.dose__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}

.dose__tab {
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid #f3b7c8;
  border-radius: 4px;
  background: transparent;
  color: var(--heading);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.dose__tab:hover {
  background: #fdeef3;
}

.dose__tab[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent);
}

.dose__tab[aria-selected="true"]:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.dose__scroll-hint {
  display: none;
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.dose__panel[hidden] {
  display: none;
}

.dose__scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.dose__scroll:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.dose__table {
  width: 100%;
  min-width: 52rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.dose__table th,
.dose__table td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.dose__table th {
  background: #f8f4f2;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.35;
}

.dose__table tbody tr:nth-child(even) td {
  background: #fdf6f8;
}

.dose__table tr:last-child td {
  border-bottom: 0;
}

.dose__table td {
  white-space: nowrap;
}

.dose__table th:first-child,
.dose__table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 4px 0 6px -4px rgba(80, 56, 40, 0.45);
}

.dose__table th:first-child {
  z-index: 2;
  background: #f8f4f2;
}

.dose__table td:first-child {
  background: var(--surface);
  color: var(--heading);
  font-weight: 600;
}

.dose__table tbody tr:nth-child(even) td:first-child {
  background: #fdf6f8;
}

.dose__hint {
  max-width: 40rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dose__notes {
  margin-top: 1.15rem;
  padding: 1.1rem 1.2rem 1.15rem;
  background: #f4fafa;
  border-left: 4px solid #1597a7;
  border-radius: 8px;
}

.dose__notes p:last-child {
  margin-bottom: 0;
}

.dose__note-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 56rem) {
  .dose__scroll-hint {
    display: block;
  }
}

@media (max-width: 40rem) {
  .dose__tab {
    flex: 1 1 100%;
  }
}

@media (min-width: 56rem) {
  .hero {
    padding-top: 4rem;
  }

  .hero__layout {
    display: block;
    width: min(100% - 4rem, var(--content));
  }

  .hero__copy {
    margin: 0;
  }

  .guides .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-note {
    padding: 1.35rem 1.5rem 1.4rem;
  }

  .section:last-of-type {
    padding-bottom: 6rem;
  }
}
