  :root {
    --ink: #22272a;
    --text: #3b4246;
    --muted: #6d7579;
    --line: #e3e6e8;
    --grid: #eef0f1;
    --green: #5b8a74;
    --bg: #fff;
    font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; word-break: keep-all; }
  h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
  ol, ul { list-style: none; }
  a { color: inherit; text-decoration: none; }
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--green); outline-offset: 3px;
  }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

  /* 머리글 */
  header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .mark { font-family: Inter, "Pretendard Variable", sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
  .mark i { font-style: normal; color: var(--green); }
  nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
  nav a:hover { color: var(--ink); }
  nav .login { color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 6px 13px; }
  nav .login:hover { border-color: var(--ink); }

  /* 첫 화면 */
  .hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
            mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  }
  .hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
  h1 { font-size: 42px; line-height: 1.28; letter-spacing: -.035em; font-weight: 700; color: var(--ink); }
  .lead { margin-top: 22px; max-width: 30em; font-size: 17px; color: var(--muted); }
  .actions { margin-top: 36px; display: flex; gap: 20px; align-items: center; }
  .btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border: 0; border-radius: 7px; background: var(--ink); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .btn:hover { background: #000; }
  .more { font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--green); padding-bottom: 2px; }

  .flow { width: 100%; max-width: 380px; justify-self: end; }
  .flow .tile { fill: #fff; stroke: #cfd4d8; stroke-width: 1.5; }
  .flow .icon { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .flow .path { fill: none; stroke: #c3c9cd; stroke-width: 1.5; }
  .flow text { font: 500 13px "Pretendard Variable", sans-serif; fill: var(--muted); }
  .flow .end { fill: var(--green); }

  /* 본문 구획 */
  section.block { padding: 88px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 64px; }
  .block .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
  h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.025em; font-weight: 700; color: var(--ink); }
  .rows li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
  .rows li:first-child { border-top: 0; padding-top: 4px; }
  .rows h3 { font-size: 17px; font-weight: 650; color: var(--ink); letter-spacing: -.015em; }
  .rows h3 span { display: inline-block; width: 28px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; font-weight: 500; color: var(--green); }
  .rows p { font-size: 16px; color: var(--text); max-width: 34em; }

  .group { font-size: 13px; font-weight: 500; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 18px; }
  .rows + .group { margin-top: 44px; }
  .rows li { align-items: start; }
  .links { width: 100%; border-collapse: collapse; font-size: 16px; }
  .links th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink); }
  .links td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
  .links td:first-child { color: var(--ink); font-weight: 600; width: 34%; }
  .links td:nth-child(2) { width: 24%; }

  /* 문의 */
  form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 620px; }
  label { display: block; font-size: 13px; color: var(--muted); }
  label.wide { grid-column: 1 / -1; }
  input, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid #cfd4d8; border-radius: 7px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
  textarea { min-height: 120px; resize: vertical; }
  input:hover, textarea:hover { border-color: #9aa2a7; }
  .send { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
  .send small { font-size: 13px; color: var(--muted); }
  .send small a { color: var(--ink); border-bottom: 1px solid var(--green); }
  .note { margin-top: 14px; font-size: 16px; color: var(--muted); }

  footer { padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  footer .domain { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

  @media (max-width: 820px) {
    .wrap { padding: 0 22px; }
    nav { gap: 18px; }
    nav a.sec { display: none; }
    .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 56px; gap: 44px; }
    h1 { font-size: 33px; }
    .lead { font-size: 16px; }
    .flow { justify-self: start; max-width: 300px; }
    section.block { padding: 56px 0; }
    .block .wrap { grid-template-columns: 1fr; gap: 24px; }
    .rows li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
    .links thead { display: none; }
    .links tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
    .links td { display: block; width: auto !important; padding: 2px 0; border: 0; }
    .links td[data-h]::before { content: attr(data-h); display: inline-block; width: 44px; font-size: 13px; color: var(--muted); }
    form { grid-template-columns: 1fr; }
    label { grid-column: 1 / -1; }
  }

.detail-link { display: inline-block; margin-top: 12px; color: var(--ink); border-bottom: 1px solid var(--green); font-size: 14px; }
.related-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.footer-links { margin-top: 18px; gap: 12px 24px; justify-content: flex-start !important; font-size: 14px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { padding-top: 0; border-top: 0; }
.faq summary { color: var(--ink); font-weight: 600; cursor: pointer; padding-right: 20px; }
.faq details p { margin-top: 12px; max-width: 40em; }
.service-hero { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.service-hero h1 { max-width: 22em; margin-top: 28px; }
.service-hero .lead { max-width: 42em; }
nav.breadcrumbs { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.service-copy p + p { margin-top: 16px; }
.service-copy h3 { color: var(--ink); font-size: 18px; margin: 28px 0 10px; }
.service-copy h3:first-child { margin-top: 0; }
.service-copy ul { list-style: disc; padding-left: 20px; }
.service-copy li + li { margin-top: 10px; }
.flow-steps { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0; }
.flow-steps li { flex: 1 1 130px; padding: 18px 14px; color: var(--ink); }
.flow-steps li + li { border-left: 1px solid var(--line); }
.example-note { font-size: 13px; color: var(--muted); }
.error-page { min-height: 55vh; padding: 88px 0; }
.error-page p { margin-top: 20px; }
@media (max-width: 820px) {
  .service-hero { padding: 36px 0 48px; }
  .service-hero h1 { font-size: 30px; }
  .flow-steps { display: block; }
  .flow-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
}
