:root {
  --cure-paper: #faf8ef;
  --cure-ink: #283d31;
  --cure-berry: #355b3e;
  --cure-berry-hover: #274630;
  --cure-surface: #f0f0e5;
  --cure-border: #d9dfce;
  --cure-focus: #416c46;
  --cure-accent: #ead277;
  --cure-blush: #f4e8bb;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-width: 0;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  color: var(--cure-ink);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cure-focus);
  outline-offset: 4px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cure-focus);
  outline-offset: -1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.035em;
}
button:hover,
a:hover {
  opacity: 0.85;
}
button:disabled:hover {
  opacity: 0.55;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.logo img {
  width: 36px;
  height: 36px;
}
.site-nav {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  z-index: 5;
}
.nav-side {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
}
.nav-side:last-child {
  justify-content: flex-end;
}
.nav-center {
  display: flex;
  align-items: center;
}
.nav-pill {
  border-radius: 99px;
  background: var(--cure-surface);
  padding: 11px 18px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--cure-ink);
}
.nav-pill.primary {
  background: var(--cure-berry);
  color: white;
}
.mobile-nav {
  display: none;
}
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  display: grid;
  gap: 4px;
  min-width: 200px;
  padding: 8px;
  border: 1px solid var(--cure-border);
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 40px #283d311f;
}
.mobile-nav nav a {
  padding: 12px;
  border-radius: 8px;
}
.mobile-nav nav button {
  padding: 12px;
  border-radius: 8px;
  text-align: left;
}
.mobile-nav nav a:hover,
.mobile-nav nav button:hover {
  background: var(--cure-surface);
}
.cookies {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 30;
  border-radius: 999px;
  background: #283d31;
  display: flex;
  align-items: center;
  padding: 12px;
  color: white;
  gap: 0;
  font-size: 12px;
}
.cookies > span {
  padding: 0 62px 0 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cookies button {
  background: white;
  color: #444;
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 12px;
}
.cookies details {
  position: absolute;
  bottom: 65px;
  background: #283d31;
  padding: 20px;
  border-radius: 12px;
  width: 370px;
}
.cookies summary {
  cursor: pointer;
}
.cookie-preferences {
  position: fixed;
  bottom: 80px;
  left: 20px;
  background: white;
  color: #222;
  box-shadow: 0 4px 30px #0002;
  padding: 24px;
  border-radius: 12px;
  z-index: 31;
  width: 330px;
}
.cookie-preferences h3 {
  margin-bottom: 14px;
}
.cookie-preferences p {
  font-size: 14px;
  line-height: 1.5;
}
.cookie-preferences button {
  background: #eee;
  padding: 10px 20px;
  border-radius: 30px;
  margin-top: 18px;
}
.plus {
  font-weight: 200;
  line-height: 0.7;
  font-size: 110px;
  color: var(--cure-berry);
  display: inline-block;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #1c302e66;
  z-index: 100;
  transition: opacity 180ms ease;
}
.modal-backdrop[data-starting-style],
.modal-backdrop[data-ending-style] {
  opacity: 0;
}
.modal-viewport {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding: 24px;
  isolation: isolate;
}
.modal-viewport .modal {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 540px;
  max-width: 100%;
  min-width: 0;
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--cure-border);
  box-shadow: 0 24px 80px #283d3126;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 220ms ease;
}
.modal-viewport .modal[data-starting-style],
.modal-viewport .modal[data-ending-style] {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
}
.modal-viewport .modal[data-nested-dialog-open] {
  transform: translateY(calc(-16px * var(--nested-dialogs)))
    scale(calc(1 - 0.035 * var(--nested-dialogs)));
  filter: brightness(0.88);
  pointer-events: none;
}
.modal-viewport:has(> .modal[data-ending-style]) {
  pointer-events: none;
}
.modal-header {
  position: relative;
  flex: none;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--cure-border);
  background: var(--cure-paper);
}
.modal-header .modal-title {
  font-size: 22px;
  margin: 0 36px 0 0;
  font-weight: 500;
}
.modal-header .modal-close {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  font-size: 26px;
  border-radius: 50%;
}
.modal-header .modal-close:hover {
  background: #f4f4f3;
}
.modal-body {
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 24px;
}
.modal-viewport .confirmation-modal {
  width: 420px;
}
@media (max-width: 600px) {
  .modal-viewport {
    padding: 12px;
  }
  .modal-viewport .modal {
    max-height: calc(100dvh - 24px);
  }
  .modal-header {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop,
  .modal-viewport .modal {
    transition: none;
  }
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  max-width: calc(100vw - 32px);
  max-height: 85vh;
  overflow: auto;
  background: white;
  border-radius: 20px;
  padding: 32px;
  z-index: 101;
  outline: none;
}
@media (max-width: 900px) {
  .site-nav {
    gap: 12px;
  }
  .nav-center {
    display: none;
  }
  .mobile-nav {
    display: block;
    position: relative;
  }
  .site-nav > .nav-side:last-child > .nav-pill {
    display: none;
  }
  .mobile-nav summary {
    min-height: 44px;
    display: grid;
    place-items: center;
  }
  .nav-pill {
    padding: 12px 17px;
    font-size: 14px;
  }
  .nav-side {
    flex: 1;
  }
  .cookies {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    flex-wrap: wrap;
    border-radius: 20px;
    gap: 5px;
  }
  .cookies > span {
    width: 100%;
    padding: 2px 6px 6px;
  }
  .cookies button {
    flex: 1;
    min-height: 44px;
    padding: 8px;
  }
  .cookie-preferences {
    left: 16px;
    bottom: 135px;
    width: calc(100% - 32px);
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .modal {
    padding: 24px;
    max-height: 85dvh;
  }
  .modal-close {
    min-width: 44px;
    min-height: 44px;
  }
}
.modal-title {
  font-size: 30px;
  margin: 0 35px 25px 0;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 32px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-stack input,
.form-stack textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--cure-border);
  border-radius: 12px;
  background: #fffef9;
  color: var(--cure-ink);
}
.form-stack label {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-stack button[type="submit"] {
  padding: 14px;
  border-radius: 99px;
  background: var(--cure-berry);
  color: white;
}
.muted {
  color: #667063;
}
.error {
  color: #b82b1b;
  font-size: 14px;
  line-height: 1.4;
}
.help-copy {
  font-size: 16px;
  line-height: 1.6;
}
.help-copy p + p {
  margin-top: 16px;
}
.help-copy kbd {
  background: #eee;
  padding: 2px 6px;
  border-radius: 3px;
}
.text-button {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.empty-state {
  padding: 40px 0;
  color: #777;
}
.loading {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-size: 20px;
}
.loading::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 2px solid #eee;
  border-top-color: var(--cure-berry);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
