:root {
  --setmed-red: #e3000d;
  --setmed-green: #deece3;
  --setmed-ink: #17231d;
  --setmed-muted: #5d6b63;
  --setmed-line: #cbdcd1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 !important;
  min-height: 100vh;
  color: var(--setmed-ink) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(227, 0, 13, .08), transparent 26rem),
    var(--setmed-green) !important;
  font-family: Montserrat, "Avenir Next", Avenir, Arial, sans-serif !important;
}

.setmed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  background: #fff;
  border-bottom: 1px solid #e5ebe7;
}

.setmed-logo img {
  display: block;
  width: min(235px, 46vw);
  height: auto;
}

.setmed-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.setmed-nav a,
.setmed-footer a {
  color: var(--setmed-ink) !important;
  font-weight: 700;
  text-decoration: none;
}

.setmed-nav a:hover,
.setmed-footer a:hover {
  color: var(--setmed-red) !important;
}

main {
  width: min(1180px, calc(100% - 40px)) !important;
  min-height: calc(100vh - 260px);
  margin: 0 auto !important;
  padding: clamp(64px, 9vw, 118px) 0 86px !important;
}

.eyebrow {
  color: var(--setmed-red) !important;
  font-size: 13px;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
}

h1 {
  max-width: 850px;
  margin: 20px 0 38px !important;
  color: var(--setmed-ink);
  font-size: clamp(44px, 7vw, 84px) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em;
}

.card {
  width: min(100%, 650px);
  padding: clamp(26px, 5vw, 44px) !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid var(--setmed-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 22px 65px rgba(27, 52, 37, .12);
}

label {
  color: var(--setmed-ink);
}

input {
  min-height: 52px;
  border: 1px solid #aebfb4 !important;
  border-radius: 7px !important;
  background: #fff;
}

input:focus {
  outline: 3px solid rgba(227, 0, 13, .16);
  border-color: var(--setmed-red) !important;
}

button {
  min-height: 52px;
  padding: 14px 24px !important;
  color: #fff !important;
  background: var(--setmed-red) !important;
  border-radius: 7px !important;
  cursor: pointer;
}

button:hover {
  background: #bd000b !important;
}

.flash {
  width: min(100%, 650px);
  color: var(--setmed-ink);
  background: #fff !important;
  border-left: 5px solid var(--setmed-red);
}

.setmed-footer {
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: #17231d;
}

.setmed-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 18px;
}

.setmed-footer a {
  color: #fff !important;
}

.setmed-footer p {
  margin: 0;
  color: #cdd8d1;
  font-size: 13px;
  line-height: 1.6;
}

.setmed-error {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 260px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0 86px;
}

.setmed-error h1 {
  margin-bottom: 24px !important;
}

.setmed-error p {
  max-width: 720px;
  color: var(--setmed-muted);
  font-size: 19px;
  line-height: 1.65;
}

.setmed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.setmed-button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 22px;
  color: #fff;
  background: var(--setmed-red);
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

.setmed-button.secondary {
  color: var(--setmed-ink);
  background: #fff;
  border: 1px solid var(--setmed-line);
}

@media (max-width: 760px) {
  .setmed-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .setmed-nav {
    justify-content: flex-start;
    gap: 10px 16px;
    font-size: 14px;
  }

  main,
  .setmed-error {
    width: min(100% - 26px, 1180px) !important;
  }
}
