* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #f6f4f0;
  color: #242829;
  font: 16px/1.55 system-ui, -apple-system, sans-serif
}

header {
  background: #fff;
  border-bottom: 1px solid #d5d0c8
}

.wrap {
  max-width: 820px;
  margin: auto;
  padding: 0 22px
}

.brand {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.brand img {
  max-width: 54%;
  height: auto
}

.brand span {
  color: #5d5751
}

.card {
  background: white;
  border: 1px solid #ddd7cd;
  border-radius: 12px;
  margin: 26px 0;
  padding: clamp(20px, 5vw, 42px)
}

h1,
h2,
h3,
p {
  margin: 0 0 .7rem
}

h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.15
}

h2 {
  font-size: 1.22rem;
  margin-top: 1.1rem
}

h3 {
  font-size: 1.03rem
}

section,
.stack {
  margin-bottom: 1rem
}

p,
dd,
li {
  white-space: pre-line;
  overflow-wrap: anywhere
}

dl {
  display: grid;
  grid-template-columns: minmax(6em, 1fr) 2fr;
  gap: 8px 20px
}

dt {
  font-weight: 600
}

dd {
  margin: 0
}

fieldset {
  border: 1px solid #ccc6bf;
  border-radius: 8px;
  padding: 14px;
  margin: 16px 0
}

legend {
  padding: 0 6px;
  font-weight: 650
}

label {
  display: block;
  font-weight: 570;
  margin: 12px 0 4px
}

input,
textarea,
select {
  font: inherit;
  border: 1px solid #928c83;
  border-radius: 6px;
  padding: .65rem .75rem;
  background: white;
  color: #242829;
  width: 100%;
  margin-top: 4px
}

input[type=checkbox],
input[type=radio] {
  width: auto;
  margin: 0 .45rem 0 0
}

textarea {
  min-height: 95px;
  resize: vertical
}

button,
.button {
  font: inherit;
  font-weight: 650;
  border: 1px solid #333939;
  background: #2c3435;
  color: #fff;
  padding: .66rem 1rem;
  margin: 6px 6px 4px 0;
  border-radius: 7px;
  cursor: pointer
}

button.secondary {
  color: #303636;
  background: #fff
}

button:disabled {
  opacity: .55;
  cursor: wait
}

a {
  color: #774827
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
textarea:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid #a34a15;
  outline-offset: 3px
}

.callout {
  border-left: 4px solid #ac653b;
  background: #f5eee7;
  padding: 12px 16px
}

.amount {
  font-weight: 700;
  font-size: 1.25rem
}

.muted {
  color: #645f59
}

.notice {
  font-weight: 600
}

.notice:empty {
  display: none
}

.error {
  color: #852812
}

summary {
  cursor: pointer;
  font-weight: 650
}

details {
  margin: .65rem 0
}

.entry {
  padding: .75rem 0;
  border-bottom: 1px solid #e3ded8
}

footer {
  font-size: .875rem;
  margin: 25px 0 42px;
  color: #625b54
}

[hidden] {
  display: none !important
}

@media(max-width:500px) {
  .wrap {
    padding: 0 12px
  }

  .brand span {
    font-size: .85rem
  }

  dl {
    grid-template-columns: 1fr;
    gap: 0
  }

  dd {
    margin-bottom: 7px
  }

  button {
    max-width: 100%
  }
}