:root {
  color: #17231f;
  background: #eef1ec;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input { font: inherit; }

.pickup-header {
  width: min(1180px, calc(100% - 48px));
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid #ccd2cb;
}

.pickup-brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.pickup-brand > span { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(3, 4px); place-content: center; gap: 4px; border-radius: 50%; background: #17231f; }
.pickup-brand i { width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.pickup-brand strong { font-size: 20px; }
.pickup-brand strong span { color: #df6249; }
.pickup-header > div { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 720; }
.pickup-header > div i { width: 8px; height: 8px; border-radius: 50%; background: #58a579; }

.pickup-main {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 156px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.74fr);
  gap: clamp(52px, 8vw, 118px);
  align-items: center;
  margin: 0 auto;
  padding: 58px 0 70px;
}

.pickup-intro > p:first-child,
.pickup-panel header p,
.pickup-result > p:first-child { margin: 0 0 20px; color: #d8563d; font-size: 11px; font-weight: 800; }
.pickup-intro h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5.8vw, 78px); font-weight: 500; line-height: 1.08; }
.pickup-intro h1 span { color: #16765b; }
.pickup-intro > p:nth-of-type(2) { max-width: 660px; margin: 31px 0 0; color: #5f6963; font-size: 16px; line-height: 1.8; }
.pickup-intro ol { display: flex; gap: 32px; margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid #ccd2cb; list-style: none; }
.pickup-intro li { display: flex; gap: 8px; color: #5f6963; font-size: 12px; }
.pickup-intro li b { color: #d8563d; font-size: 10px; }

.pickup-panel { min-height: 548px; padding: 42px 38px; border: 1px solid #d0d5cf; border-radius: 8px; background: #fff; box-shadow: 0 20px 60px rgba(23, 35, 31, 0.08); }
.pickup-panel header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pickup-panel header p { margin: 0 0 5px; }
.pickup-panel h2 { margin: 0; font-size: 30px; }
.pickup-panel form { margin-top: 31px; }
.pickup-panel form > label, fieldset legend { display: block; margin-bottom: 9px; color: #48524c; font-size: 12px; font-weight: 750; }
.pickup-panel input[type="text"] { width: 100%; height: 54px; padding: 0 15px; border: 1px solid #ced4ce; border-radius: 5px; outline: none; background: #fafbf8; color: #17231f; }
.pickup-panel input[type="text"]:focus { border-color: #16765b; box-shadow: 0 0 0 3px rgba(22, 118, 91, 0.11); }
.pickup-panel input::placeholder { color: #9ba39d; }
fieldset { min-width: 0; margin: 27px 0 0; padding: 0; border: 0; }
.plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-options label { min-width: 0; cursor: pointer; }
.plan-options input { position: absolute; opacity: 0; pointer-events: none; }
.plan-options span { min-height: 76px; display: grid; place-content: center; border: 1px solid #d2d7d1; border-radius: 5px; background: #fff; text-align: center; transition: border-color 150ms ease, background 150ms ease; }
.plan-options strong, .plan-options small { display: block; }
.plan-options strong { font-size: 15px; }
.plan-options small { margin-top: 5px; color: #7b837e; font-size: 11px; }
.plan-options input:checked + span { border-color: #16765b; background: #edf6f1; box-shadow: inset 0 0 0 1px #16765b; }
.plan-options input:focus-visible + span { outline: 3px solid rgba(22, 118, 91, 0.15); }
.pickup-error { margin: 14px 0 0; color: #ad382a; font-size: 12px; line-height: 1.55; }
.pickup-submit { width: 100%; height: 55px; display: flex; align-items: center; justify-content: space-between; margin-top: 25px; padding: 0 18px; border: 0; border-radius: 5px; background: #17231f; color: #fff; font-weight: 760; cursor: pointer; }
.pickup-submit:hover { background: #16765b; }
.pickup-submit:disabled { cursor: wait; opacity: .62; }
.pickup-submit b { font-size: 20px; }
.pickup-note { margin: 20px 0 0; color: #87908a; font-size: 11px; line-height: 1.65; text-align: center; }

.pickup-result > p:first-child { margin-bottom: 14px; }
.pickup-result h2 { font-size: 31px; }
.pickup-result > span { display: inline-block; margin-top: 12px; color: #16765b; font-size: 13px; font-weight: 750; }
.issued-key { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 28px; border: 1px solid #bdc6bf; border-radius: 5px; overflow: hidden; }
.issued-key code { min-width: 0; padding: 18px 15px; overflow-wrap: anywhere; background: #f5f7f3; font-family: "SFMono-Regular", Consolas, monospace; font-size: 16px; font-weight: 750; }
.issued-key button { border: 0; border-left: 1px solid #bdc6bf; padding: 0 15px; background: #fff; color: #16765b; font-size: 12px; font-weight: 750; cursor: pointer; }
.pickup-result dl { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; border-top: 1px solid #d7dcd6; border-bottom: 1px solid #d7dcd6; }
.pickup-result dl div { padding: 17px 0; }
.pickup-result dl div + div { padding-left: 20px; border-left: 1px solid #d7dcd6; }
.pickup-result dt { color: #87908a; font-size: 10px; }
.pickup-result dd { margin: 6px 0 0; font-size: 13px; font-weight: 750; }
.pickup-result > p:not(:first-child) { margin: 22px 0 0; color: #657069; font-size: 12px; line-height: 1.7; }
.pickup-result > a { height: 54px; display: flex; align-items: center; justify-content: space-between; margin-top: 25px; padding: 0 17px; border-radius: 5px; background: #df6249; color: #fff; font-size: 13px; font-weight: 760; text-decoration: none; }

footer { width: min(1180px, calc(100% - 48px)); height: 70px; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; border-top: 1px solid #ccd2cb; color: #7c857f; font-size: 10px; font-weight: 720; }

@media (max-width: 820px) {
  .pickup-header, .pickup-main, footer { width: min(100% - 32px, 620px); }
  .pickup-main { display: block; padding: 42px 0 54px; }
  .pickup-intro h1 { font-size: 44px; }
  .pickup-intro > p:nth-of-type(2) { font-size: 14px; }
  .pickup-intro ol { gap: 16px; justify-content: space-between; margin-top: 30px; }
  .pickup-panel { min-height: 0; margin-top: 42px; padding: 31px 24px; }
}

@media (max-width: 460px) {
  .pickup-header { height: 72px; }
  .pickup-header > div { font-size: 11px; }
  .pickup-intro h1 { font-size: 37px; }
  .pickup-intro ol { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .pickup-intro li { display: grid; gap: 3px; }
  .pickup-panel { margin-top: 34px; padding: 26px 18px; }
  .pickup-panel h2 { font-size: 26px; }
  .plan-options { gap: 5px; }
  .plan-options span { min-height: 70px; }
  .issued-key { grid-template-columns: 1fr; }
  .issued-key button { height: 42px; border-top: 1px solid #bdc6bf; border-left: 0; }
  .pickup-result dl { grid-template-columns: 1fr; }
  .pickup-result dl div + div { padding-left: 0; border-top: 1px solid #d7dcd6; border-left: 0; }
  footer { height: auto; gap: 8px; padding: 20px 0; flex-direction: column; align-items: flex-start; }
}
