@font-face {
  font-family: Manrope;
  src: url(/assets/manrope.ttf) format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #18231d;
  --muted: #56645a;
  --paper: #f7f8f2;
  --white: #fff;
  --line: #dce2d8;
  --lime: #c8f46c;
  --forest: #253c30;
  --error: #a83232;
  --radius: 22px;
  --shadow-card: 0 2px 3px #18231d03, 0 12px 32px -24px #18231d35;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.55 "Manrope",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
::selection {
  background: #d6f5a1;
  color: var(--ink);
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: #6f8d58;
  box-shadow: 0 0 0 4px #a9cb7b20;
}
input,
select,
textarea {
  min-width: 0;
}
button,
.btn {
  touch-action: manipulation;
}
button:disabled,
.btn[aria-disabled="true"] {
  transform: none !important;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
.btn {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a,
button,
input,
select,
textarea,
summary {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #5a842a;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(44px, 6.4vw, 88px);
}
h2 {
  font-size: clamp(34px, 4vw, 56px);
}
h3 {
  font-size: 25px;
}
p {
  color: var(--muted);
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1.1px;
  text-decoration: none;
  white-space: nowrap;
}
.brandmark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transform: rotate(-8deg);
}
.brandmark i {
  width: 4px;
  background: var(--lime);
  border-radius: 3px;
  height: 12px;
}
.brandmark i:nth-child(2) {
  height: 21px;
}
.brandmark i:nth-child(3) {
  height: 16px;
}
.btn,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.3;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover,
button.primary:hover {
  background: var(--forest);
  transform: translateY(-2px);
}
.btn.lime {
  background: var(--lime);
  color: var(--ink);
}
.btn.lime:hover {
  background: #bce85b;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  background: #edf0e7;
}
.btn.small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 14px;
}
.arrow {
  font-size: 23px;
  line-height: 1;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 24px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6c9b3b;
  margin-right: 7px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  padding: 5px 11px;
  background: #edf2e6;
  border-radius: 20px;
  font-weight: 600;
}
.muted,
.hint {
  color: var(--muted);
  font-size: 13px;
}
.err {
  color: var(--error);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0;
}
.check input {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 3px 0 0;
  accent-color: var(--forest);
}
.check a {
  text-underline-offset: 3px;
}
input,
select,
textarea {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 0;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
  accent-color: var(--forest);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.settings-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.settings-jumps a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
}
.settings-jumps a:hover {
  background: #e9eedf;
}
.settings-launch {
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 24px;
  background: #eaf0df;
  border: 1px solid #cedbbe;
}
.settings-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.setting-toggle {
  display: block;
  padding: 22px;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  cursor: pointer;
}
.setting-toggle:has(input:checked) {
  border-color: #769d4e;
}
.setting-toggle strong {
  display: block;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin: 17px 0 10px;
}
.setting-description {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 450;
}
.setting-toggle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.setting-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 50px;
  min-width: 50px;
  height: 28px;
  border: 1px solid #889581;
  border-radius: 30px;
  background: #e9eee3;
  padding: 3px;
  margin: 0;
  cursor: pointer;
}
.setting-toggle input[type="checkbox"]::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #627359;
  transition: transform 0.15s;
}
.setting-toggle input[type="checkbox"]:checked {
  background: var(--forest);
  border-color: var(--forest);
}
.setting-toggle input[type="checkbox"]:checked::before {
  background: var(--lime);
  transform: translateX(21px);
}
.switch-state {
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
}
.switch-state .when-on {
  display: none;
}
.setting-toggle:has(input:checked) .when-on {
  display: inline;
  color: #3c6430;
}
.setting-toggle:has(input:checked) .when-off {
  display: none;
}
.settings-apply {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}
.settings-apply span {
  max-width: 440px;
  font-size: 12px;
  color: var(--muted);
}
.settings-section {
  scroll-margin-top: 20px;
}
.settings-section summary {
  cursor: pointer;
  font-weight: 650;
}
.settings-section[open] > summary {
  margin-bottom: 20px;
}
.settings-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}
.settings-section summary::-webkit-details-marker {
  display: none;
}
.settings-section summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
}
.settings-section[open] > summary::after {
  content: "−";
  background: var(--paper);
}
.settings-jumps a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.settings-jumps a:hover {
  border-bottom-color: currentColor;
}
.settings-launch {
  box-shadow: var(--shadow-card);
}
.setting-toggle {
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.setting-toggle:has(input:checked) {
  border-color: #789d4d;
  box-shadow: inset 0 3px #87ae54;
}
.setting-toggle:focus-within {
  outline: 3px solid #5a842a;
  outline-offset: 4px;
}
.form-savebar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 480px;
  max-width: calc(100vw - 32px);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffffff5;
  box-shadow: 0 8px 32px #18231d18;
}
.form-savebar[hidden] {
  display: none;
}
.form-savebar span {
  flex: 1;
  font-size: 13px;
  color: #72500b;
}
.form-savebar button {
  margin: 0 !important;
}
.settings-section .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.theme details {
  margin-top: 12px;
}
.theme blockquote {
  margin: 12px 0;
  padding: 0 0 0 14px;
  border-left: 2px solid #a9c186;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .settings-launch {
    padding: 16px;
  }
  .settings-toggle-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .setting-toggle {
    padding: 18px;
  }
  .settings-apply {
    flex-wrap: wrap;
    gap: 12px;
  }
  .settings-section .grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
