/* 시드옥션 가이드 페이지 공통 스타일 — 랜딩(web/index.html #landing-root) 토큰과 맞춘다 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --t-blue: #3182f6; --t-blue-press: #1b64da; --t-blue-50: #e8f3ff;
  --t-ink: #191f28; --t-ink2: #333d4b; --t-sub: #4e5968; --t-mute: #6b7684;
  --t-line: #e5e8eb; --t-bg2: #f2f4f6; --t-bg3: #f9fafb;
  --t-gutter: 24px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #fff; color: var(--t-ink); line-height: 1.75; font-size: 17px;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
a { color: var(--t-blue); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--t-blue); outline-offset: 3px; }
::selection { background: #c9e2ff; }

.g-nav { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid rgba(0,0,0,.05); }
.g-nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 var(--t-gutter); height: 60px; display: flex; align-items: center; gap: 16px; }
.g-logo { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--t-ink); text-decoration: none; }
.g-logo b { color: var(--t-blue); font-weight: 700; }
.g-nav-link { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--t-sub); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.g-nav-link:hover { background: var(--t-bg2); color: var(--t-ink); }
.g-nav-cta { background: var(--t-blue); color: #fff; font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.g-nav-cta:hover { background: var(--t-blue-press); }

.g-main { max-width: 760px; margin: 0 auto; padding: 40px var(--t-gutter) 80px; }
.g-crumb { font-size: 14px; color: var(--t-mute); }
.g-crumb a { color: var(--t-mute); text-decoration: none; }
.g-crumb a:hover { text-decoration: underline; }
.g-main h1 { margin-top: 16px; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.3; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.g-lead { margin-top: 20px; font-size: clamp(18px, 1.6vw, 20px); color: var(--t-sub); line-height: 1.7; }
.g-meta { margin-top: 16px; font-size: 14px; color: var(--t-mute); }

.g-summary { margin-top: 36px; background: var(--t-blue-50); border-radius: 20px; padding: 24px 24px 22px; }
.g-summary strong { display: block; font-size: 15px; color: var(--t-blue-press); margin-bottom: 8px; }
.g-summary ul { padding-left: 20px; color: var(--t-ink2); }
.g-summary li + li { margin-top: 4px; }

.g-main h2 { margin-top: 56px; font-size: clamp(23px, 2.6vw, 28px); line-height: 1.4; letter-spacing: -.02em; font-weight: 700; }
.g-main h3 { margin-top: 32px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.g-main p { margin-top: 16px; color: var(--t-ink2); }
.g-main ul, .g-main ol { margin-top: 16px; padding-left: 22px; color: var(--t-ink2); }
.g-main li + li { margin-top: 6px; }
.g-main strong { color: var(--t-ink); }

.g-table-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--t-line); border-radius: 16px; }
.g-table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 420px; }
.g-table-wrap th, .g-table-wrap td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--t-line); vertical-align: top; }
.g-table-wrap th { background: var(--t-bg3); font-weight: 600; color: var(--t-sub); font-size: 14px; }
.g-table-wrap tr:last-child td { border-bottom: 0; }
.g-table-wrap td.num { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-caption { margin-top: 10px !important; font-size: 14px; color: var(--t-mute) !important; }

.g-note { margin-top: 24px; background: var(--t-bg2); border-radius: 16px; padding: 18px 20px; font-size: 15px; color: var(--t-sub); }
.g-note p { margin-top: 0; color: var(--t-sub); }

/* 계산기 */
.g-calc { margin-top: 24px; border: 1px solid var(--t-line); border-radius: 20px; padding: 24px; }
.g-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g-field label { display: block; font-size: 14px; font-weight: 600; color: var(--t-sub); margin-bottom: 6px; }
.g-field .g-input { display: flex; align-items: center; background: var(--t-bg2); border-radius: 12px; padding: 0 14px; }
.g-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 600; padding: 13px 0; color: var(--t-ink); font-variant-numeric: tabular-nums; }
.g-field input:focus { outline: none; }
.g-field .g-input:focus-within { box-shadow: 0 0 0 2px var(--t-blue); }
.g-field .unit { font-size: 15px; color: var(--t-mute); margin-left: 6px; }
.g-field .hint { font-size: 13px; color: var(--t-mute); margin-top: 6px; line-height: 1.5; }
.g-result { margin-top: 24px; border-top: 1px solid var(--t-line); padding-top: 20px; }
.g-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 16px; color: var(--t-sub); }
.g-row b { color: var(--t-ink); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.g-row.total { margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--t-line); font-size: 18px; color: var(--t-ink); font-weight: 700; }
.g-row.total b { color: var(--t-blue); font-size: 22px; font-weight: 700; }

/* FAQ */
.g-faq { margin-top: 20px; border-top: 1px solid var(--t-line); }
.g-faq details { border-bottom: 1px solid var(--t-line); }
.g-faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-size: 17px; font-weight: 600; position: relative; color: var(--t-ink); }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--t-mute); border-bottom: 2px solid var(--t-mute); transform: translateY(-70%) rotate(45deg); transition: transform 150ms; }
.g-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.g-faq details p { margin: 0 0 20px; color: var(--t-sub); }

/* CTA */
.g-cta { margin-top: 64px; background: var(--t-ink); color: #fff; border-radius: 28px; padding: 40px 28px; text-align: center; }
.g-cta h2 { margin-top: 0 !important; color: #fff; font-size: clamp(24px, 3vw, 30px); }
.g-cta p { color: rgba(255,255,255,.75) !important; margin-top: 12px; }
.g-cta-btn { display: inline-block; margin-top: 28px; background: var(--t-blue); color: #fff; font-size: 17px; font-weight: 700; padding: 16px 32px; border-radius: 16px; text-decoration: none; }
.g-cta-btn:hover { background: var(--t-blue-press); }
.g-cta small { display: block; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.6); }

.g-related { margin-top: 56px; }
.g-related h2 { margin-top: 0; font-size: 20px; }
.g-cards { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.g-card { display: flex; flex-direction: column; gap: 4px; background: var(--t-bg2); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--t-ink); transition: background 150ms; }
.g-card:hover { background: var(--t-line); }
.g-card b { font-size: 17px; letter-spacing: -.01em; }
.g-card span { font-size: 14px; color: var(--t-sub); line-height: 1.5; }

.g-disclaimer { margin-top: 48px; font-size: 14px; color: var(--t-mute); line-height: 1.7; border-top: 1px solid var(--t-line); padding-top: 20px; }
.g-disclaimer p { margin-top: 6px; color: var(--t-mute); }

.g-footer { border-top: 1px solid var(--t-line); padding: 32px var(--t-gutter) 48px; }
.g-footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--t-mute); }
.g-footer a { color: var(--t-mute); text-decoration: none; margin-right: 20px; }
.g-footer a:hover { color: var(--t-ink); text-decoration: underline; }

@media (max-width: 640px) {
  :root { --t-gutter: 16px; }
  body { font-size: 16px; }
  .g-nav-link { display: none; }
  .g-nav-cta { margin-left: auto; font-size: 14px; padding: 8px 14px; }
  .g-main { padding-top: 28px; }
  .g-calc { padding: 18px; }
  .g-calc-grid { grid-template-columns: 1fr; }
  .g-cta { padding: 32px 20px; border-radius: 24px; }
}
