:root {
  --paper: #fbfaf7;
  --panel: #fffefa;
  --ink: #111110;
  --muted: #746f67;
  --hairline: #d8d1c6;
  --accent: #bd5537;
  --soft: #f4f0ea;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Pretendard", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 32px;
}

.wordmark {
  font-family: "Bodoni 72", Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: 37px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.home-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
}

.inquiry-page {
  display: grid;
  min-height: calc(100vh - 74px);
  padding: 48px 24px 72px;
  place-items: start center;
}

.inquiry-panel {
  width: min(570px, 100%);
  text-align: center;
}

.inquiry-panel h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 400;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.type-list {
  display: grid;
  gap: 13px;
  margin-top: 42px;
}

.type-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 68px;
  padding: 0 28px;
  border: 1px solid var(--hairline);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.type-option span {
  font-size: 20px;
}

.type-option:hover,
.type-option.is-selected {
  border-color: var(--accent);
  background: var(--soft);
}

.inquiry-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 50px;
}

.next-button {
  display: inline-grid;
  place-items: center;
  width: 204px;
  height: 54px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.next-button:hover {
  background: #a94c32;
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .wordmark {
    font-size: 30px;
  }

  .inquiry-page {
    min-height: calc(100vh - 64px);
    padding: 38px 20px 58px;
  }

  .inquiry-panel h1 {
    margin-top: 0;
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .type-list {
    margin-top: 38px;
  }

  .type-option {
    height: 64px;
    padding: 0 22px;
  }

  .type-option span {
    font-size: 17px;
  }

  .inquiry-bottom {
    margin-top: 42px;
  }

  .next-button {
    width: 100%;
  }
}
