/* 구매 · 약관 · 개인정보 쪽이 함께 쓰는 모양. 색과 글꼴은 brand/tokens.css */
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.7 var(--font); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-strong); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top { background: rgba(247, 246, 242, .92); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.top a.back { margin-left: auto; font-size: 15px; font-weight: 600; text-decoration: none; }
main { padding: 40px 0 56px; }
h1 { font-size: 32px; line-height: 1.3; letter-spacing: -.03em; margin: 0 0 8px; font-weight: 800; }
h2 { font-size: 20px; letter-spacing: -.02em; margin: 34px 0 10px; font-weight: 800; }
.lead { color: var(--sub); margin: 0 0 26px; font-size: 17.5px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.card.soft { background: var(--brand-soft); border-color: #bfdcd4; }
.card.wait { background: transparent; border-style: dashed; color: var(--sub); }
.card h2 { margin-top: 0; }
.card p { margin: 0 0 8px; } .card p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 22px; } li { margin: 5px 0; }
.fine { color: var(--sub); font-size: 14.5px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { width: 9.5em; color: var(--sub); font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* 구매 쪽 */
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.price-line strong { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.price-line span { color: var(--sub); }
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 6px 0 6px 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 27px; height: 27px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.account { text-align: center; }
.account .label { color: var(--sub); font-size: 14px; }
.account .number { font-size: 25px; font-weight: 800; letter-spacing: -.01em; margin: 2px 0; }
.account .owner { color: var(--sub); font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid var(--brand); cursor: pointer; transition: background .15s; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(14, 124, 102, .22); }
.btn.primary:hover { background: var(--brand-strong); }
.btn.primary:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: #fff; color: var(--brand-strong); }
.btn.small { padding: 8px 16px; font-size: 14.5px; border-radius: 10px; margin-top: 10px; }
form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 5px; font-weight: 600; font-size: 15px; }
label small { font-weight: 400; color: var(--faint); }
input[type="text"], input[type="email"], input[type="datetime-local"], select, textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 3px solid rgba(14, 124, 102, .3); outline-offset: 1px; border-color: var(--brand); }
textarea { min-height: 76px; resize: vertical; }
.agree { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.agree input { margin-top: 6px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.form-msg { margin: 0; font-size: 15px; font-weight: 600; color: var(--danger); min-height: 1em; }
.done { text-align: center; padding: 34px 24px; }
.done .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 30px; display: grid; place-items: center; margin: 0 auto 12px; }
.done h2 { margin: 0 0 6px; }
[hidden] { display: none !important; }
footer { border-top: 1px solid var(--line); padding: 22px 0 40px; color: var(--sub); font-size: 14px; line-height: 1.8; }
footer a { color: var(--sub); }
@media (max-width: 640px) {
  body { font-size: 16px; } h1 { font-size: 26px; }
  .row { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .account .number { font-size: 22px; }
  th, td { display: block; width: auto; } th { border-bottom: 0; padding-bottom: 0; }
  .btn.primary.wide { width: 100%; }
}
