:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17201f;
  background: #f4f7f5;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f4f7f5;
}

a {
  color: #006f75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #d5dfdc;
  background: rgba(244, 247, 245, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #102b2a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.page {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.page-narrow {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #006f75;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 8vw, 54px);
  line-height: 1.02;
}

h2 {
  margin: 44px 0 18px;
  font-size: 24px;
}

h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.lead {
  margin: 20px 0 32px;
  color: #50605d;
  font-size: 19px;
  line-height: 1.55;
}

.primary-link,
.secondary-link,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.secondary-link {
  padding: 0 20px;
  color: #123b39;
  border: 1px solid #7d918d;
  background: transparent;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.policy-page {
  max-width: 780px;
}

.policy-page section {
  scroll-margin-top: 84px;
}

.policy-page p,
.policy-page li {
  color: #31423f;
  font-size: 16px;
  line-height: 1.65;
}

.policy-page ul {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.policy-meta {
  margin: 14px 0 0;
  color: #687773;
  font-weight: 650;
}

.policy-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 32px 0 12px;
  padding: 20px;
  border: 1px solid #d5dfdc;
  border-radius: 6px;
  background: #edf2f0;
}

.policy-index a {
  font-weight: 650;
  line-height: 1.4;
}

.primary-link {
  padding: 0 20px;
  color: white;
  background: #007d83;
}

.button {
  width: 100%;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button-primary {
  color: white;
  background: #007d83;
}

.google-sign-in {
  min-height: 44px;
}

.google-sign-in.is-disabled {
  pointer-events: none;
  opacity: 0.48;
}

.button-secondary {
  color: #123b39;
  border-color: #7d918d;
  background: transparent;
}

.button-danger {
  color: white;
  background: #b3261e;
}

.button-quiet {
  color: #31423f;
  background: #e5ebe9;
}

.form-stack {
  display: grid;
  gap: 12px;
}

label {
  margin-top: 4px;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #7d918d;
  border-radius: 5px;
  color: #17201f;
  background: white;
  font: inherit;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #65cbd0;
  outline-offset: 3px;
}

.separator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: #687773;
}

.separator::before,
.separator::after {
  height: 1px;
  flex: 1;
  background: #c8d2cf;
  content: "";
}

.consequence-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
  line-height: 1.5;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.support-address {
  margin-top: 16px;
  color: #50605d;
  font-size: 14px;
}

.danger-zone {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid #d8b2ae;
}

.status {
  min-height: 24px;
  margin-top: 24px;
  color: #315c59;
  font-weight: 650;
}

.status-error {
  color: #a32019;
}

.hidden {
  display: none;
}

@media (max-width: 520px) {
  .site-header {
    min-height: 56px;
    padding: 0 18px;
  }

  .page {
    width: min(100% - 32px, 640px);
    padding-top: 40px;
  }

  .resource-links {
    display: grid;
  }

  .policy-index {
    grid-template-columns: 1fr;
  }
}
