.mk-free-sample-page,
.mk-free-sample-request-page {
  --mk-fs-ink: #24342f;
  --mk-fs-muted: #64736e;
  --mk-fs-paper: #f7f5ef;
  --mk-fs-green: #285f50;
  --mk-fs-green-deep: #143f35;
  --mk-fs-green-soft: #dce9df;
  --mk-fs-line: #d7ddd8;
  --mk-fs-gold: #c99047;
  --mk-fs-shadow: 0 24px 70px rgba(24, 50, 42, 0.12);
  color: var(--mk-fs-ink);
  background: var(--mk-fs-paper);
}

.mk-fs-eyebrow {
  margin: 0 0 12px;
  color: var(--mk-fs-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.mk-fs-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mk-fs-button:hover {
  transform: translateY(-2px);
}

.mk-fs-button:focus-visible,
.mk-fs-request-form input:focus-visible,
.mk-fs-request-form textarea:focus-visible {
  outline: 3px solid #e5ad64;
  outline-offset: 3px;
}

.mk-fs-button-primary {
  color: #fff;
  background: var(--mk-fs-green);
  box-shadow: 0 12px 28px rgba(40, 95, 80, 0.2);
}

.mk-fs-button-primary:hover {
  color: #fff;
  background: var(--mk-fs-green-deep);
}

.mk-fs-button-secondary {
  border-color: var(--mk-fs-line);
  color: var(--mk-fs-ink);
  background: #fff;
}

.mk-fs-button-light {
  color: var(--mk-fs-green-deep);
  background: #fff;
}

/* Landing page */
.mk-free-sample-page {
  min-height: 70vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(220, 233, 223, 0.85), transparent 34%),
    radial-gradient(circle at 88% 86%, rgba(226, 202, 165, 0.28), transparent 38%),
    var(--mk-fs-paper);
}

.mk-fs-landing {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 82px;
}

.mk-fs-landing > h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.13;
  letter-spacing: -0.04em;
  text-align: center;
}

.mk-fs-landing > h1 > span {
  display: block;
}

.mk-fs-landing > h1 span span {
  white-space: nowrap;
}

.mk-fs-landing > .mk-fs-eyebrow {
  text-align: center;
}

.mk-fs-lead {
  max-width: 650px;
  margin: 26px auto 0;
  color: var(--mk-fs-muted);
  font-size: 1.06rem;
  line-height: 1.95;
  text-align: center;
}

.mk-fs-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.mk-fs-card {
  display: flex;
  min-height: 390px;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid rgba(40, 95, 80, 0.15);
  border-radius: 28px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--mk-fs-shadow);
}

.mk-fs-card.is-dark {
  color: #fff;
  background: var(--mk-fs-green-deep);
}

.mk-fs-card.is-dark h2 {
  color: #fff;
}

.mk-fs-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  opacity: 0.7;
}

.mk-fs-card h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.mk-fs-card p {
  margin: 0 0 28px;
  color: var(--mk-fs-muted);
  line-height: 1.9;
}

.mk-fs-card.is-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.mk-fs-card .mk-fs-button {
  margin-top: auto;
}

.mk-fs-note {
  max-width: 760px;
  margin: 42px auto 0;
  border-left: 4px solid var(--mk-fs-gold);
  padding: 4px 0 4px 22px;
}

.mk-fs-note strong {
  font-size: 1rem;
}

.mk-fs-note p {
  margin: 8px 0 0;
  color: var(--mk-fs-muted);
  line-height: 1.8;
}

/* Request form */
.mk-free-sample-request-page {
  padding: 54px 0 90px;
}

.mk-fs-request-layout {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: minmax(390px, 0.9fr) minmax(520px, 1.1fr);
  gap: 48px;
  align-items: start;
  margin: 0 auto;
}

.mk-fs-request-intro {
  position: sticky;
  top: 118px;
  min-width: 0;
  padding: 48px 0;
}

.mk-fs-request-intro h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.3vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.mk-fs-request-intro h1 span {
  white-space: nowrap;
}

.mk-fs-request-intro > p:not(.mk-fs-eyebrow) {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--mk-fs-muted);
  line-height: 1.95;
}

.mk-fs-assurance {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.mk-fs-assurance li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  line-height: 1.6;
}

.mk-fs-assurance li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--mk-fs-green);
  font-weight: 900;
  content: "✓";
}

.mk-fs-form-panel {
  border: 1px solid #e2e7e3;
  border-radius: 30px;
  padding: 42px;
  background: #fff;
  box-shadow: var(--mk-fs-shadow);
}

.mk-fs-form-panel fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.mk-fs-message {
  margin: 0 0 26px;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  line-height: 1.7;
}

.mk-fs-message.is-success {
  color: #185b3f;
  background: #e6f4ec;
}

.mk-fs-message.is-error {
  color: #8d3b2f;
  background: #fff0ea;
}

.mk-fs-contact-box {
  border-bottom: 1px solid var(--mk-fs-line) !important;
  padding-bottom: 34px !important;
}

.mk-fs-contact-box legend {
  margin-bottom: 18px;
  color: var(--mk-fs-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mk-fs-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mk-fs-field {
  display: grid;
  gap: 10px;
}

.mk-fs-field > span:first-child,
.mk-fs-question > legend {
  font-weight: 800;
  line-height: 1.55;
}

.mk-fs-field b,
.mk-fs-question > legend b {
  display: inline-block;
  margin-left: 6px;
  border-radius: 5px;
  padding: 2px 6px;
  color: #fff;
  background: #a34b3b;
  font-size: 0.63rem;
  vertical-align: 2px;
}

.mk-fs-field em {
  margin-left: 6px;
  color: var(--mk-fs-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
}

.mk-fs-request-form input[type="text"],
.mk-fs-request-form input[type="email"],
.mk-fs-request-form input[type="url"],
.mk-fs-request-form input:not([type]),
.mk-fs-request-form textarea {
  width: 100%;
  border: 1px solid #cad3cd;
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--mk-fs-ink);
  background: #fbfcfb;
  line-height: 1.6;
}

.mk-fs-request-form textarea {
  resize: vertical;
}

.mk-fs-request-form input::placeholder,
.mk-fs-request-form textarea::placeholder {
  color: #97a29d;
}

.mk-fs-question {
  position: relative;
  margin-top: 32px !important;
  padding-top: 4px !important;
}

.mk-fs-question > legend {
  width: 100%;
}

.mk-fs-question i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-right: 7px;
  border-radius: 50%;
  color: #fff;
  background: var(--mk-fs-green);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  vertical-align: 1px;
}

.mk-fs-field small,
.mk-fs-help {
  display: block;
  margin: 7px 0 10px 38px;
  color: var(--mk-fs-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.mk-fs-question .mk-fs-field input,
.mk-fs-question .mk-fs-field textarea {
  margin-top: 3px;
}

.mk-fs-check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--mk-fs-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  cursor: pointer;
}

.mk-fs-check-line input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--mk-fs-green);
}

.mk-fs-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.mk-fs-choice-grid label,
.mk-fs-style-grid label,
.mk-fs-mini-grid label {
  position: relative;
  cursor: pointer;
}

.mk-fs-choice-grid input,
.mk-fs-style-grid input,
.mk-fs-mini-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.mk-fs-choice-grid span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cad3cd;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--mk-fs-muted);
  background: #fbfcfb;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.mk-fs-choice-grid input:checked + span,
.mk-fs-mini-grid input:checked + span {
  border-color: var(--mk-fs-green);
  color: var(--mk-fs-green-deep);
  background: var(--mk-fs-green-soft);
  box-shadow: inset 0 0 0 1px var(--mk-fs-green);
}

.mk-fs-choice-grid input:focus-visible + span,
.mk-fs-style-grid input:focus-visible + .mk-fs-style-choice,
.mk-fs-mini-grid input:focus-visible + span {
  outline: 3px solid #e5ad64;
  outline-offset: 2px;
}

.mk-fs-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.mk-fs-style-choice {
  display: grid;
  min-height: 142px;
  gap: 13px;
  border: 1px solid #cad3cd;
  border-radius: 15px;
  padding: 12px;
  color: var(--mk-fs-muted);
  background: #fbfcfb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mk-fs-style-choice strong {
  align-self: center;
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
}

.mk-fs-style-preview {
  position: relative;
  display: block;
  height: 76px;
  overflow: hidden;
  border-radius: 10px;
  background: #eee;
}

.mk-fs-style-preview i {
  position: absolute;
  display: block;
}

.mk-fs-style-preview i:nth-child(1) {
  top: 14px;
  left: 14px;
  width: 44%;
  height: 8px;
  border-radius: 999px;
}

.mk-fs-style-preview i:nth-child(2) {
  top: 30px;
  left: 14px;
  width: 62%;
  height: 5px;
  border-radius: 999px;
  opacity: 0.64;
}

.mk-fs-style-preview i:nth-child(3) {
  right: 13px;
  bottom: 12px;
  width: 32%;
  height: 22px;
  border-radius: 999px;
}

.mk-fs-style-preview.is-friendly { background: #f8efe9; }
.mk-fs-style-preview.is-friendly i { background: #bd7864; }
.mk-fs-style-preview.is-calm { background: #e7ede7; }
.mk-fs-style-preview.is-calm i { background: #4e6d5c; }
.mk-fs-style-preview.is-pop { background: #fff3b3; }
.mk-fs-style-preview.is-pop i:nth-child(1) { background: #ef5b78; }
.mk-fs-style-preview.is-pop i:nth-child(2) { background: #4888dd; }
.mk-fs-style-preview.is-pop i:nth-child(3) { background: #f07d31; }
.mk-fs-style-preview.is-clean { border: 1px solid #e2e7e4; background: #fff; }
.mk-fs-style-preview.is-clean i { background: #6e8f92; }
.mk-fs-style-preview.is-cool { background: #202d3c; }
.mk-fs-style-preview.is-cool i { background: #91b9d8; }
.mk-fs-style-preview.is-elegant { background: #292626; }
.mk-fs-style-preview.is-elegant i { background: #d0ad73; }
.mk-fs-style-preview.is-auto { background: linear-gradient(135deg, #e6eee8 0 33%, #f6e3d6 33% 66%, #dbe8f4 66%); }
.mk-fs-style-preview.is-auto i { background: #5f736c; }

.mk-fs-style-grid input:checked + .mk-fs-style-choice {
  border-color: var(--mk-fs-green);
  color: var(--mk-fs-green-deep);
  background: #f0f7f2;
  box-shadow: inset 0 0 0 1px var(--mk-fs-green), 0 8px 20px rgba(40, 95, 80, 0.09);
}

.mk-fs-style-grid .is-wide {
  grid-column: 1 / -1;
}

.mk-fs-style-grid .is-wide .mk-fs-style-choice {
  min-height: auto;
  grid-template-columns: 110px 1fr;
  align-items: center;
}

.mk-fs-style-grid .is-wide .mk-fs-style-preview {
  height: 62px;
}

.mk-fs-style-grid .is-wide strong {
  text-align: left;
}

.mk-fs-field-error,
.mk-fs-form-error {
  border-radius: 9px;
  padding: 10px 12px;
  color: #812f25;
  background: #f8dfda;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
}

.mk-fs-field-error {
  margin: 12px 0 0;
}

.mk-fs-reference-aspects {
  margin-top: 17px !important;
}

.mk-fs-reference-aspects legend {
  color: var(--mk-fs-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.mk-fs-mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mk-fs-mini-grid span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cad3cd;
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--mk-fs-muted);
  background: #fbfcfb;
  font-size: 0.75rem;
  font-weight: 700;
}

.mk-fs-question.is-optional {
  border-top: 1px dashed var(--mk-fs-line);
  padding-top: 28px !important;
}

.mk-fs-privacy {
  margin: 30px 0 0;
}

.mk-fs-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--mk-fs-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.mk-fs-privacy input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--mk-fs-green);
}

.mk-fs-form-error {
  margin-top: 18px;
}

.mk-fs-submit {
  width: 100%;
  margin-top: 22px;
}

.mk-fs-privacy-note {
  margin: 16px 8px 0;
  color: var(--mk-fs-muted);
  font-size: 0.7rem;
  line-height: 1.75;
  text-align: center;
}

.mk-fs-confirm-dialog {
  width: min(600px, calc(100% - 28px));
  max-height: min(84vh, 820px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  padding: 0;
  color: var(--mk-fs-ink);
  background: #fff;
  box-shadow: 0 30px 100px rgba(10, 30, 24, 0.28);
}

.mk-fs-confirm-dialog::backdrop {
  background: rgba(12, 32, 26, 0.66);
  backdrop-filter: blur(5px);
}

.mk-fs-confirm-dialog form {
  padding: 34px;
}

.mk-fs-confirm-dialog h2 {
  margin: 0 0 22px;
  font-size: 1.6rem;
}

.mk-fs-confirm-dialog dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin: 0;
  border-top: 1px solid var(--mk-fs-line);
}

.mk-fs-confirm-dialog dt,
.mk-fs-confirm-dialog dd {
  margin: 0;
  border-bottom: 1px solid var(--mk-fs-line);
  padding: 12px 4px;
  font-size: 0.8rem;
  line-height: 1.6;
}

.mk-fs-confirm-dialog dt {
  color: var(--mk-fs-muted);
  font-weight: 700;
}

.mk-fs-confirm-dialog dd {
  overflow-wrap: anywhere;
}

.mk-fs-dialog-note {
  color: var(--mk-fs-muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.mk-fs-dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .mk-fs-request-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mk-fs-request-intro {
    position: static;
    padding: 22px 0 28px;
    text-align: center;
  }

  .mk-fs-request-intro > p:not(.mk-fs-eyebrow) {
    margin-inline: auto;
  }

  .mk-fs-assurance {
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .mk-fs-landing {
    width: min(calc(100% - 28px), 520px);
    padding: 62px 0 68px;
  }

  .mk-fs-landing > h1 {
    font-size: 2.5rem;
  }

  .mk-fs-lead {
    font-size: 0.94rem;
    text-align: left;
  }

  .mk-fs-card-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .mk-fs-card {
    min-height: 330px;
    padding: 26px;
  }

  .mk-fs-card h2 {
    margin-top: 34px;
  }

  .mk-free-sample-request-page {
    padding: 24px 0 68px;
  }

  .mk-fs-request-layout {
    width: min(calc(100% - 28px), 560px);
  }

  .mk-fs-request-intro h1 {
    font-size: 2.3rem;
  }

  .mk-fs-request-intro > p:not(.mk-fs-eyebrow) {
    text-align: left;
  }

  .mk-fs-form-panel {
    border-radius: 22px;
    padding: 26px 20px;
  }

  .mk-fs-field-row,
  .mk-fs-choice-grid,
  .mk-fs-style-grid {
    grid-template-columns: 1fr;
  }

  .mk-fs-style-grid .is-wide {
    grid-column: auto;
  }

  .mk-fs-style-grid .is-wide .mk-fs-style-choice {
    min-height: 126px;
    grid-template-columns: 1fr;
  }

  .mk-fs-style-grid .is-wide .mk-fs-style-preview {
    height: 66px;
  }

  .mk-fs-style-grid .is-wide strong {
    text-align: center;
  }

  .mk-fs-confirm-dialog form {
    padding: 26px 20px;
  }

  .mk-fs-confirm-dialog dl {
    grid-template-columns: 1fr;
  }

  .mk-fs-confirm-dialog dt {
    border-bottom: 0;
    padding-bottom: 2px;
  }

  .mk-fs-confirm-dialog dd {
    padding-top: 2px;
  }

  .mk-fs-dialog-actions {
    flex-direction: column-reverse;
  }

  .mk-fs-dialog-actions .mk-fs-button {
    width: 100%;
  }
}

@media (max-width: 370px) {
  .mk-fs-landing > h1,
  .mk-fs-request-intro h1 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-fs-button,
  .mk-fs-style-choice {
    transition-duration: 0.01ms !important;
  }
}
