:root {
  --ink: #151716;
  --muted: #68706b;
  --line: #dfe3df;
  --soft: #f4f5f2;
  --paper: #ffffff;
  --green: #2d7054;
  --radius: 14px;
  --shadow: 0 12px 40px rgb(25 31 27 / 8%);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--soft);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(34 94 168 / 22%);
  outline-offset: 2px;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 38px;
  letter-spacing: 0.09em;
  font-size: 13px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 24px;
}

.brand-mark i {
  position: absolute;
  left: 0;
  width: 22px;
  height: 8px;
  background: currentcolor;
  transform: skew(-24deg);
}

.brand-mark i:first-child {
  top: 3px;
}

.brand-mark i:last-child {
  bottom: 3px;
  left: 4px;
}

.page-header {
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.intro {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

form {
  display: grid;
  gap: 20px;
}

.card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 26px;
}

.section-heading > span {
  display: grid;
  flex: none;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h2 {
  font-size: 17px;
  font-weight: 690;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.samples-heading .secondary {
  margin-left: auto;
}

.field-grid,
.courier-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.courier-fields {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: #4c544f;
  font-size: 11px;
  font-weight: 630;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd5d0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 440;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.45;
}

.wide {
  grid-column: span 2;
}

.full {
  grid-column: 1 / -1;
}

.sample-card {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid #d8ddd8;
  border-radius: 11px;
  background: #fbfcfa;
}

.sample-card:first-child {
  margin-top: 0;
}

.sample-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.sample-header h3 {
  margin: 0;
  font-size: 14px;
}

.sample-actions {
  display: flex;
  gap: 4px;
}

.text-button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 66px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.check-option input {
  flex: none;
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.check-option span,
.check-option strong,
.check-option small {
  display: block;
}

.check-option strong {
  color: var(--ink);
  font-size: 12px;
}

.check-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 450;
}

.add-card {
  display: grid;
  width: 100%;
  min-height: 76px;
  margin-top: 16px;
  place-items: center;
  border: 1px dashed #bdc5be;
  border-radius: 11px;
  color: #555e58;
  background: #f9faf8;
  cursor: pointer;
}

.add-card strong,
.add-card small {
  display: block;
}

.add-card small {
  margin-top: -14px;
  color: var(--muted);
  font-size: 10px;
}

.primary,
.secondary {
  min-height: 42px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.primary {
  padding: 0 20px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  box-shadow: 0 5px 14px rgb(21 23 22 / 12%);
}

.primary:disabled {
  cursor: wait;
  opacity: 0.6;
}

.secondary {
  padding: 0 15px;
  border: 1px solid #cad0cb;
  background: #fff;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
}

.alert {
  padding: 13px 15px;
  border: 1px solid #e5c7c1;
  border-radius: 9px;
  color: #873a31;
  background: #fff3f1;
  font-size: 12px;
}

.success {
  width: min(620px, 100%);
  margin: 11vh auto 0;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}

.success > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 22px;
}

.success h1 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(28px, 5vw, 46px);
}

.success > p:not(.eyebrow) {
  margin: 14px auto 24px;
  color: var(--muted);
  line-height: 1.6;
}

.hidden,
.honeypot {
  display: none !important;
}

@media (max-width: 780px) {
  .field-grid,
  .courier-fields {
    grid-template-columns: 1fr;
  }

  .wide,
  .full {
    grid-column: auto;
  }

  .section-heading {
    flex-wrap: wrap;
  }

  .samples-heading .secondary {
    width: 100%;
    margin: 4px 0 0 40px;
  }

  .sample-card {
    padding: 18px;
  }

  .sample-header {
    align-items: flex-start;
  }

  .form-footer .primary {
    width: 100%;
  }
}
