/* Match the restrained typography and green-accent language of donoharm.world. */
:root {
  --dnh-bg: #ffffff;
  --dnh-surface: #ffffff;
  --dnh-surface-strong: #dcfce7;
  --dnh-border: #16a34a;
  --dnh-text: #111827;
  --dnh-muted: #4b5563;
  --dnh-link: #111827;
  --dnh-link-hover: #16a34a;
  --dnh-font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --dnh-font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

html,
body {
  background: var(--dnh-bg);
  color: var(--dnh-text);
  font-family: var(--dnh-font-sans);
  line-height: 1.8;
}

body {
  font-weight: 300;
}

a {
  color: var(--dnh-link);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
  text-decoration-color: #93c5fd;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

a:hover {
  color: var(--dnh-link-hover);
  text-decoration-color: var(--dnh-link-hover);
}

.container {
  max-width: 33rem;
  margin: 0 auto;
}

.wrap {
  margin-top: 0;
  padding: 2.5rem 1.5rem 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header {
  margin-bottom: 2.75rem;
  padding-bottom: 0;
  border-bottom: 0;
  text-align: left;
}

.logo img {
  display: none;
}

.logo a {
  display: inline-block;
  text-decoration: none;
  color: var(--dnh-text);
}

.logo a::before {
  content: none;
}

.logo a::after {
  content: "DoNoHarm";
  font-family: var(--dnh-font-serif);
  font-size: clamp(2.75rem, 6vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
}

h1,
h2,
h3,
h4 {
  font-family: var(--dnh-font-serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.9rem, 5vw, 2.45rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  margin-top: 0;
}

p,
label,
li {
  font-weight: 300;
}

.section {
  margin-bottom: 2.25rem;
}

.unsub-form > div,
.manage-form > div,
.data-form section,
.form > div {
  background: transparent;
  border-left: 0;
  box-shadow: none;
  padding: 0;
}

.data-form section {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

label {
  color: var(--dnh-muted);
  display: inline-block;
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  box-shadow: none;
  color: var(--dnh-text);
  background: #fff;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--dnh-border);
}

input:focus,
select:focus {
  border-color: var(--dnh-border);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.08);
  outline: none;
}

.button {
  appearance: none;
  min-width: 0;
  background: var(--dnh-surface-strong);
  border: 0;
  border-radius: 2px;
  color: var(--dnh-text);
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.button:hover,
.button:focus-visible {
  background: #c7f5d2;
  color: var(--dnh-text);
  outline: none;
}

.button:active {
  background: #b7efc5;
  color: var(--dnh-text);
}

.button.button-outline {
  background: #fff;
  border: 1px solid #d1d5db;
  color: var(--dnh-text);
}

.button.button-outline:hover,
.button.button-outline:focus-visible {
  background: #f9fafb;
  border-color: #9ca3af;
  color: var(--dnh-text);
  outline: none;
}

.button.button-outline:active {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: var(--dnh-text);
}

.lists {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  border-top: 1px solid #f3f4f6;
}

.lists li {
  margin: 0 0 0.9rem;
  padding: 0.9rem 0 0.75rem;
  border-top: 1px solid #f3f4f6;
}

.lists .description {
  color: var(--dnh-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.35rem 0 0 1.8rem;
}

.row {
  margin-bottom: 1.25rem;
}

.right {
  text-align: left;
  margin-top: 1rem;
}

footer.container {
  margin: 2.5rem auto 2rem;
  padding: 0 1.25rem;
  color: var(--dnh-muted);
  font-size: 0.88rem;
  text-align: center;
}

footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #93c5fd;
}

@media (min-width: 768px) {
  .wrap {
    padding-left: 0;
    padding-right: 0;
  }
}