:root {
  --hm-rose: #BE185D;
  --hm-cream: #FFF7ED;
  --hm-stone: #44403C;
  --hm-wine: #9F1239;
  --hm-peach: #FED7AA;
  --hm-line: #e7d5c2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--hm-cream);
  color: var(--hm-stone);
  font-family: "Palatino Linotype", "PingFang SC", "Microsoft YaHei", serif;
  line-height: 1.78;
}

svg {
  display: block;
}

a {
  color: var(--hm-wine);
}

.hm-wrap {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.hm-head {
  background: var(--hm-wine);
  color: #fff7ed;
}

.hm-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 16px;
}

.hm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fed7aa;
  text-decoration: none;
  font-weight: 700;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.hm-brand svg {
  width: 26px;
  height: 26px;
}

.hm-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  font-size: 13px;
}

.hm-nav a {
  color: #fff7ed;
  text-decoration: none;
}

.hm-nav a:hover {
  color: #fed7aa;
}

.hm-hero {
  padding: 40px 0 12px;
  text-align: center;
}

.hm-hero h1 {
  margin: 0 auto 12px;
  max-width: 16em;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
  color: var(--hm-wine);
}

.hm-hero p {
  margin: 0 auto;
  max-width: 38em;
}

.hm-time {
  position: relative;
  margin: 40px 0 10px;
  padding: 8px 0;
}

.hm-time::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hm-rose);
  transform: translateX(-50%);
}

.hm-slot {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--hm-line);
  padding: 18px 18px 16px;
  margin: 0 0 22px;
  position: relative;
}

.hm-slot:nth-child(odd) {
  margin-right: auto;
}

.hm-slot:nth-child(even) {
  margin-left: auto;
}

.hm-slot svg {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

.hm-when {
  font-family: "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hm-rose);
  font-weight: 700;
}

.hm-slot h3 {
  margin: 6px 0 8px;
  font-size: 20px;
}

.hm-slot p {
  margin: 0;
}

.hm-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.hm-role {
  background: #fff;
  padding: 18px 16px;
  border-top: 7px solid var(--hm-peach);
}

.hm-role svg {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.hm-role h3 {
  margin: 0 0 8px;
  color: var(--hm-wine);
}

.hm-role p {
  margin: 0;
  font-size: 15px;
}

.hm-sec {
  padding: 32px 0;
}

.hm-sec h2 {
  margin: 0 0 14px;
  font-size: 26px;
  color: var(--hm-wine);
  line-height: 1.35;
}

.hm-sec p {
  margin: 0 0 14px;
}

.hm-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hm-steps li {
  background: #fff;
  padding: 14px;
  border: 1px solid var(--hm-line);
}

.hm-steps strong {
  display: block;
  color: var(--hm-rose);
  margin-bottom: 8px;
}

.hm-steps h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.hm-steps p {
  margin: 0;
  font-size: 14px;
}

.hm-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--hm-line);
  margin-top: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--hm-line);
  vertical-align: top;
}

th {
  background: var(--hm-stone);
  color: #fff7ed;
}

.hm-faq {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.hm-faq li {
  background: #fff;
  border: 1px solid var(--hm-line);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.hm-faq h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hm-faq p {
  margin: 0;
}

.hm-foot {
  background: var(--hm-stone);
  color: #fed7aa;
  padding: 34px 0;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.hm-foot p {
  margin: 0 0 10px;
}

.hm-foot small {
  color: #fff7ed;
}

@media (max-width: 860px) {
  .hm-head-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .hm-time::before {
    left: 12px;
  }

  .hm-slot,
  .hm-slot:nth-child(odd),
  .hm-slot:nth-child(even) {
    margin-left: 28px;
    margin-right: 0;
    width: auto;
  }

  .hm-roles,
  .hm-steps {
    grid-template-columns: 1fr;
  }
}
