/* 옵션핏 — 계산기(index.html)와 소개(about.html)가 같이 쓰는 모양. 색·글꼴은 여기 한 곳에서 정한다. */
:root {
  --bg: #F4F6FB; --card: #fff; --ink: #101828; --sub: #5B6474; --faint: #8A93A3; --line: #E3E7EF;
  --brand: #2F5BEA; --brand-ink: #1F45C4; --brand-soft: #EDF1FF;
  --profit: #0B8F63; --profit-soft: #E6F6EF; --mint: #4FE3A8;
  --loss: #D2362A; --loss-soft: #FDECEA;
  --warn: #A85B00; --warn-soft: #FFF3DC;
  --seg-cost: #8FA0B8; --seg-etc: #C5CEDB; --seg-fee: #F2A93B;
  --radius: 16px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06);
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-ink); }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }

/* 머리 */
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 16px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { display: block; border-radius: 9px; }
.brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.brand-tag { font-size: .8rem; color: var(--sub); margin-left: 2px; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.top nav a:hover { border-color: var(--brand); color: var(--brand-ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 56px; }

/* 첫 줄 */
.hero { padding: 18px 0 22px; }
.hero h1 { font-size: clamp(1.45rem, 3.4vw, 2.15rem); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; max-width: 24em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand); white-space: nowrap; }
.hero .lead { color: var(--sub); margin-top: 8px; font-size: 1rem; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.examples .label { font-size: .86rem; color: var(--sub); font-weight: 600; margin-right: 2px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }
.chip.bad { color: var(--loss); }
.chip.on.bad { background: var(--loss-soft); border-color: var(--loss); color: var(--loss); }

/* 두 칸 */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.col { display: grid; gap: 16px; min-width: 0; }
.col-out { position: sticky; top: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.card-head h2 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.hint { font-size: .86rem; color: var(--sub); }
.fine { font-size: .8rem; color: var(--faint); line-height: 1.5; overflow-wrap: anywhere; }
.fine a { color: inherit; }

/* 옵션 표 */
.example-note { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--brand-soft); color: var(--brand-ink); border-radius: 10px; padding: 9px 12px; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.grid-head, .grid-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 8px; align-items: center; }
.grid-head { font-size: .8rem; color: var(--sub); font-weight: 600; padding: 0 2px 6px; }
.grid-head span:nth-child(n+2) { text-align: right; padding-right: 12px; }
.grid-row { margin-bottom: 8px; }
.field, .grid-row input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.grid-row input.n { text-align: right; font-variant-numeric: tabular-nums; }
.field:focus, .grid-row input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,91,234,.15); }
.grid-row input.invalid { border-color: var(--loss); background: var(--loss-soft); }
.grid-row input::placeholder { color: #B4BCC9; }
.del { width: 32px; height: 32px; border: 0; background: none; color: var(--faint); border-radius: 8px; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.del:hover { background: var(--loss-soft); color: var(--loss); }
.grid-actions { display: flex; gap: 8px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none; color: var(--ink); }
.btn:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; height: 50px; font-size: 1rem; font-weight: 700; box-shadow: 0 6px 16px rgba(47,91,234,.28); }
.btn.primary:hover { background: var(--brand-ink); color: #fff; }
.btn.primary:disabled { opacity: .75; cursor: progress; }
.btn.primary.done { background: var(--profit); border-color: var(--profit); box-shadow: none; }
.btn.block { width: 100%; margin-top: 0; }
.msg { border-radius: 10px; padding: 10px 12px; font-size: .88rem; margin-top: 10px; }
.msg.err { background: var(--loss-soft); color: var(--loss); }
.msg.warn { background: var(--warn-soft); color: var(--warn); }
.msg.good { background: var(--profit-soft); color: #08694A; }

/* 수수료 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #EEF1F6; padding: 4px; border-radius: 12px; }
.seg button { border: 0; background: none; height: 40px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--sub); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.lbl { display: block; font-size: .82rem; font-weight: 600; color: var(--sub); margin: 14px 0 6px; }
.fee-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 8px; }
.unit { position: relative; }
.unit input { padding-right: 30px; text-align: right; font-variant-numeric: tabular-nums; }
.unit::after { content: attr(data-unit); position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: .88rem; pointer-events: none; }
select.field { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6474' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 32px; text-overflow: ellipsis; }
.switch { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .92rem; font-weight: 600; cursor: pointer; }
.switch input { appearance: none; width: 40px; height: 24px; border-radius: 999px; background: #CBD2DE; position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--brand); }
.switch input:checked::after { transform: translateX(16px); }
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--sub); }
details.more .fine { margin-top: 6px; }

/* 결과 */
.empty { text-align: center; padding: 36px 12px 28px; }
.empty svg { display: block; margin: 0 auto 14px; }
.empty h3 { font-size: 1.05rem; font-weight: 700; }
.empty p { color: var(--sub); font-size: .92rem; margin: 6px 0 16px; }
.verdict { border-radius: 14px; padding: 18px; background: linear-gradient(135deg, #2F5BEA 0%, #1F45C4 100%); color: #fff; }
.verdict.bad { background: linear-gradient(135deg, #D2362A 0%, #A8261C 100%); }
.verdict-label { font-size: .86rem; font-weight: 600; opacity: .85; }
.verdict-value { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.verdict-value small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.verdict-title { font-size: 1.25rem; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.verdict p { font-size: .9rem; opacity: .92; margin-top: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 11px; border-radius: 999px; font-size: .86rem; font-weight: 700; background: rgba(255,255,255,.16); }
.pill.ok::before { content: "✓"; color: var(--mint); }
.pill.no::before { content: "!"; }
.shift { margin-top: 12px; background: rgba(255,255,255,.12); border-radius: 10px; padding: 10px 12px; font-size: .86rem; line-height: 1.5; }
.shift b { color: var(--mint); }
.bases { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: .82rem; }
.bases span { opacity: .85; margin-right: 2px; }
.bases button { border: 1px solid rgba(255,255,255,.35); background: none; color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .82rem; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.bases button.on { background: #fff; color: var(--brand-ink); border-color: #fff; }
.bases button.x { text-decoration: line-through; opacity: .75; }
.bases button.on.x { color: var(--loss); opacity: 1; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-width: 0; }
.tile span { display: block; font-size: .78rem; font-weight: 600; color: var(--sub); }
.tile b { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile small { display: block; font-size: .76rem; color: var(--faint); margin-top: 2px; }
.tile.good b { color: var(--profit); }
.tile.loss b { color: var(--loss); }
.tile.hold b { color: var(--warn); }

.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 20px 0 10px; }
.sec-title h3 { font-size: .98rem; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .74rem; color: var(--sub); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.opt { padding: 12px 0; border-top: 1px solid var(--line); }
.opt-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.opt-name { font-weight: 700; overflow-wrap: anywhere; }
.opt-sub { font-size: .8rem; color: var(--sub); margin-top: 2px; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: .74rem; font-weight: 700; background: #EEF1F6; color: var(--sub); margin-left: 4px; }
.tag.base { background: var(--brand-soft); color: var(--brand-ink); }
.tag.out { background: var(--loss-soft); color: var(--loss); }
.opt-money { text-align: right; flex: none; }
.opt-profit { font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.opt-rate { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lv-good .opt-profit { color: var(--profit); } .lv-good .opt-rate { background: var(--profit-soft); color: var(--profit); }
.lv-low .opt-profit { color: var(--warn); } .lv-low .opt-rate { background: var(--warn-soft); color: var(--warn); }
.lv-loss .opt-profit { color: var(--loss); } .lv-loss .opt-rate { background: var(--loss-soft); color: var(--loss); }
.lv-hold .opt-profit { color: var(--ink); } .lv-hold .opt-rate { background: var(--warn-soft); color: var(--warn); }
.bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #EEF1F6; margin-top: 9px; }
.bar i { display: block; height: 100%; min-width: 0; }
.bar .s-cost { background: var(--seg-cost); } .bar .s-etc { background: var(--seg-etc); } .bar .s-fee { background: var(--seg-fee); }
.bar .s-profit { background: var(--profit); } .bar.over { box-shadow: 0 0 0 2px var(--loss); }.legend .s-cost { background: var(--seg-cost); } .legend .s-etc { background: var(--seg-etc); } .legend .s-fee { background: var(--seg-fee); } .legend .s-profit { background: var(--profit); }
.opt-parts { font-size: .76rem; color: var(--faint); margin-top: 5px; font-variant-numeric: tabular-nums; }
.actions { margin-top: 16px; display: grid; gap: 10px; }
.scroll { overflow-x: auto; }
table.data { border-collapse: collapse; width: 100%; font-size: .84rem; white-space: nowrap; font-variant-numeric: tabular-nums; margin-top: 8px; }
table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: right; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data th { color: var(--sub); font-weight: 600; }
table.data tr.badrow { background: var(--loss-soft); }
table.data .bad { color: var(--loss); font-weight: 700; }

/* 잠긴 기능 */
.locked { background: #FAFBFD; box-shadow: none; }
.locked h2 { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; }
.soon { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }

/* 알림·휴대폰 아래 띠 */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #101828; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 30; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px rgba(16,24,40,.3); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.ok::before { content: "✓ "; color: var(--mint); }
#toast.err { background: var(--loss); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#peek { display: none; }

.foot { max-width: 1120px; margin: 0 auto; padding: 0 20px 40px; color: var(--sub); font-size: .84rem; line-height: 1.7; }
.foot .seller { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.foot .seller img { border-radius: 6px; }

@media (max-width: 880px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .col-out { position: static; }
  #peek { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #101828; color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 14px; font-size: .9rem; font-weight: 700; box-shadow: 0 10px 30px rgba(16,24,40,.3); font-variant-numeric: tabular-nums; }
  #peek[hidden] { display: none; }
  #peek span:last-child { color: var(--mint); white-space: nowrap; }
}
@media (max-width: 480px) {
  .top { padding: 12px 16px; } .wrap { padding: 0 16px 80px; } .foot { padding: 0 16px 96px; }
  .brand-tag { display: none; }
  .card { padding: 16px; }
  .grid-head, .grid-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) 26px; gap: 6px; }
  .grid-row input { padding: 0 9px; }
  .del { width: 26px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:first-child { grid-column: 1 / -1; }
  .fee-row { grid-template-columns: minmax(0, 1fr) 88px; }
}

/* 소개 페이지 */
.about .hero { text-align: center; padding: 36px 0 28px; }
.about .hero h1 { margin: 0 auto; font-size: clamp(1.7rem, 4.6vw, 2.7rem); max-width: 16em; }
.about .hero .lead { font-size: 1.05rem; max-width: 34em; margin: 12px auto 0; }
.about .hero .btn.primary { margin-top: 22px; padding: 0 28px; height: 54px; }
.about .hero .under { font-size: .84rem; color: var(--faint); margin-top: 10px; }
.shot { margin: 8px auto 0; max-width: 960px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(16,24,40,.14); }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: #EEF1F6; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD2DE; }
.shot img { display: block; width: 100%; height: auto; }
.block { margin-top: 64px; }
.block > h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; text-align: center; }
.block > .hint { text-align: center; margin-top: 6px; font-size: .95rem; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.three .card h3 { font-size: 1.02rem; font-weight: 700; margin: 12px 0 6px; }
.three .card p { color: var(--sub); font-size: .92rem; }
.ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); display: grid; place-items: center; }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.25fr); gap: 12px; align-items: center; margin-top: 24px; }
.ba .arrow { text-align: center; font-size: 1.6rem; color: var(--brand); font-weight: 800; }
.ba h3 { font-size: .86rem; font-weight: 700; color: var(--sub); margin-bottom: 10px; }
.ba .verdict { margin-bottom: 10px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: center; margin-top: 24px; }
.duo ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--sub); }
.duo li { margin: 6px 0; }
.phone { border: 8px solid #101828; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(16,24,40,.2); background: #fff; }
.phone img { display: block; width: 100%; height: auto; }
.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px auto 0; max-width: 760px; }
.price .card h3 { font-size: 1rem; font-weight: 700; }
.price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.price .amount small { font-size: .5em; font-weight: 700; color: var(--sub); }
.price ul { margin: 12px 0 16px; padding: 0; list-style: none; font-size: .92rem; }
.price li { padding: 5px 0 5px 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 2px; color: var(--profit); font-weight: 800; }
.price .card.main { border-color: var(--brand); box-shadow: 0 10px 30px rgba(47,91,234,.14); }
.faq { max-width: 760px; margin: 24px auto 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--sub); font-size: .94rem; padding: 0 0 16px; }
.cta-end { text-align: center; margin-top: 64px; padding: 36px 20px; border-radius: 20px; background: linear-gradient(135deg, #2F5BEA 0%, #1F45C4 100%); color: #fff; }
.cta-end h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.cta-end .btn { margin-top: 16px; height: 52px; padding: 0 26px; font-weight: 700; border: 0; color: var(--brand-ink); }
@media (max-width: 880px) {
  .about #peek { display: none; }
  .three, .price, .ba, .duo { grid-template-columns: minmax(0, 1fr); }
  .ba .arrow { transform: rotate(90deg); }
  .duo .phone { max-width: 240px; margin: 0 auto; }
  .block { margin-top: 48px; }
}

/* 사업자 표기(모든 쪽 바닥) */
.biz { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint); line-height: 1.7; }
.biz a { color: var(--sub); }

/* 구매 페이지 · 약관 */
.narrow { max-width: 640px; }
.buy h1, .doc h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; letter-spacing: -.03em; margin: 20px 0 6px; }
.buy .card { margin-top: 16px; }
.buy .card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.notice { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: .94rem; }
.plan { border-color: var(--brand); box-shadow: 0 10px 30px rgba(47,91,234,.14); }
.plan .amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.plan .amount small { font-size: .42em; font-weight: 700; color: var(--sub); margin-left: 6px; }
.ticks { margin: 12px 0 0; padding: 0; list-style: none; font-size: .94rem; }
.ticks li { padding: 5px 0 5px 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--profit); font-weight: 800; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; padding-left: 40px; position: relative; font-size: .95rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.acct { margin-top: 14px; padding: 18px; border-radius: 12px; background: var(--brand-soft); text-align: center; }
.acct .num { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin: 2px 0; }
.acct .btn { margin-top: 10px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form label { display: block; font-size: .84rem; font-weight: 600; }
.form label .field { margin-top: 5px; font-weight: 400; }
.form .full { grid-column: 1 / -1; }
.form .agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--sub); }
.form .agree input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.done { text-align: center; padding: 28px 16px; }
.done .check { width: 56px; height: 56px; border-radius: 50%; background: var(--profit-soft); color: var(--profit); font-size: 1.8rem; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }
.doc h2 { font-size: 1.05rem; font-weight: 700; margin: 26px 0 6px; }
.doc p, .doc li, .buy .policy li { color: var(--sub); font-size: .94rem; }
.doc ul, .buy .policy ul { padding-left: 1.2em; margin: 6px 0; }
.doc li, .buy .policy li { margin: 4px 0; }
.doc table { margin-top: 8px; }
@media (max-width: 480px) { .form { grid-template-columns: minmax(0, 1fr); } }
