.fit-page {
  color: var(--ink, #1f302a);
  font-family: var(--sans, "DM Sans", Arial, sans-serif);
  padding-block: clamp(32px, 4vw, 62px) clamp(68px, 8vw, 122px);
}
.fit-page *,
.fit-page *::before,
.fit-page *::after {
  box-sizing: border-box;
}
.fit-page [hidden] {
  display: none !important;
}
.fit-intro {
  margin-bottom: clamp(28px, 3.4vw, 52px);
}
.fit-back,
.fit-figure figcaption {
  font-size: 0.77rem;
  font-weight: 550;
}
.fit-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  text-decoration: none;
}
.fit-back:hover,
.fit-permission a:hover {
  text-decoration: underline;
}
.fit-intro h1,
.fit-success h2 {
  font-family: var(--serif, "Instrument Serif", Georgia, serif);
  font-weight: 400;
}
.fit-intro h1 {
  font-size: clamp(4.1rem, 8vw, 8.6rem);
  letter-spacing: -0.056em;
  line-height: 0.95;
  margin: clamp(20px, 2.3vw, 36px) 0 14px;
}
.fit-intro h1 span {
  color: #aa603b;
}
.fit-intro > p {
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.5;
  margin: 0;
}
.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(42px, 7vw, 110px);
}
.fit-figure {
  position: sticky;
  top: 22px;
  margin: 0;
}
.fit-photo {
  overflow: hidden;
  background: #e6e2d5;
  border-radius: 4px;
  aspect-ratio: 1.09;
}
.fit-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fit-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding: 13px 0;
  line-height: 1.35;
}
.fit-figure figcaption span:last-child {
  color: var(--muted);
  font-weight: 400;
}
.fit-panel {
  min-width: 0;
}
.fit-form {
  display: grid;
  align-content: start;
  gap: 26px;
}
.fit-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.fit-page fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.fit-page legend,
.fit-field > label {
  padding: 0;
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 650;
}
.fit-page legend {
  margin-bottom: 9px;
}
.fit-field input,
.fit-field select {
  min-width: 0;
  width: 100%;
  border: 1px solid #a9b0a5;
  background: #fffef9;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.73rem 0.83rem;
  min-height: 48px;
}
.fit-field select {
  padding-right: 27px;
  cursor: pointer;
}
.fit-field input::placeholder {
  color: #66736b;
  opacity: 1;
}
.fit-page :is(input, select, button, a, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.fit-bottle-fields {
  display: grid;
  grid-template-columns: 1.15fr 1.5fr 0.8fr;
  align-items: start;
  gap: 10px;
}
.fit-bottle-fields label {
  font-size: 0.77rem;
  font-weight: 600;
}
.fit-help {
  color: var(--muted);
  margin: -4px 0 13px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.fit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fit-choice {
  position: relative;
  display: flex;
  cursor: pointer;
}
.fit-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.fit-choice > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 500;
}
.fit-choice:hover > span {
  border-color: #869388;
}
.fit-choice input:checked + span {
  background: #eaf0e8;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.fit-choice input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.fit-dot {
  display: inline-block;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  border: 1px solid #0003;
}
.fit-tide {
  background: #245c55;
}
.fit-clay {
  background: #b26745;
}
.fit-oat {
  background: #d4c3a2;
}
.fit-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.fit-permission {
  display: grid;
  gap: 4px;
  margin-top: -9px;
}
.fit-permission label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.5;
}
.fit-permission input {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex-shrink: 0;
}
.fit-permission a {
  width: max-content;
  margin-left: 27px;
  font-size: 0.77rem;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--muted);
}
.fit-message {
  color: #752c24;
  background: #f8eae3;
  border-left: 3px solid #a4533c;
  padding: 12px 14px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}
.fit-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 52px;
  padding: 13px 19px;
  border: 1px solid var(--green);
  border-radius: 4px;
  color: #fffef8;
  background: var(--green);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.fit-submit:hover {
  background: #22392e;
}
.fit-submit:disabled {
  opacity: 0.68;
  cursor: wait;
}
.fit-success {
  padding: clamp(28px, 4vw, 64px);
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #f0f1e8;
}
.fit-check {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--green);
  border-radius: 50%;
  font-size: 1.3rem;
}
.fit-success h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 24px 0 12px;
}
.fit-success p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.fit-success strong {
  color: var(--ink);
  font-weight: 600;
}
@media (min-width: 751px) and (max-width: 1020px) {
  .fit-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 30px;
  }
  .fit-bottle-fields {
    grid-template-columns: 1fr 1fr;
  }
  .fit-bottle-fields .fit-field:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 750px) {
  .fit-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .fit-figure {
    position: static;
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 15px;
    border-block: 1px solid var(--rule);
    padding-block: 12px;
  }
  .fit-photo {
    aspect-ratio: 1.32;
  }
  .fit-figure figcaption {
    border: 0;
    display: grid;
    gap: 3px;
    padding: 0;
  }
  .fit-figure figcaption span:first-child {
    font-size: 1rem;
  }
  .fit-form {
    gap: 23px;
  }
}
@media (max-width: 500px) {
  .fit-bottle-fields {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 11px;
  }
  .fit-bottle-fields .fit-field:first-child {
    grid-column: 1 / -1;
  }
  .fit-field input {
    padding-inline: 11px;
  }
  .fit-choice > span {
    padding-inline: 12px;
  }
}
@media (forced-colors: active) {
  .fit-choice input:checked + span {
    outline: 2px solid SelectedItem;
  }
}
