:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --paper-deep: #ebe7df;
  --sheet: #fbfaf7;
  --ink: #252722;
  --muted: #696a63;
  --line: #d8d4ca;
  --brick: #a34c2e;
  --brick-deep: #78351f;
  --brick-wash: #efe1d9;
  --sage: #dce4d8;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", "Malgun Gothic", serif;
  --sans: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --width: 1200px;
  --gutter: clamp(20px, 4.2vw, 52px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.68 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.page-width { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--ink); color: #fff; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); text-decoration: none; }
.wordmark-en { color: var(--brick); font: 700 21px/1 var(--serif); letter-spacing: .075em; }
.wordmark-ko { color: var(--brick); font-size: 13px; }
.forme-modal-logo span { color: var(--brick); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); font-size: 14px; }
.main-nav > a { text-decoration: none; }
.main-nav > a:hover, .footer-support a:hover { color: var(--brick); }
.nav-login { padding: 8px 12px; text-decoration: none; }
.nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; color: #fffaf6; background: var(--brick); text-decoration: none; }
.nav-cta:hover { background: var(--brick-deep); }
.site-account { position: relative; }
.site-account summary { cursor: pointer; color: var(--brick-deep); font-weight: 700; list-style: none; }
.site-account summary::-webkit-details-marker { display: none; }
.site-account > div { position: absolute; top: 27px; right: 0; z-index: 5; min-width: 150px; padding: 12px; border: 1px solid var(--line); background: var(--sheet); box-shadow: 0 8px 24px #1d2b4518; }
.site-account a { display: block; padding: 5px 0; text-decoration: none; }
.logout-form button { padding: 5px 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: var(--ink); }
.mobile-nav { padding: 0 var(--gutter) 18px; gap: 8px; background: var(--paper); font-size: 14px; }
.mobile-nav:not([hidden]) { display: grid; }
.mobile-nav a { min-height: 42px; display: flex; align-items: center; text-decoration: none; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, .section-intro h2, .work-intro h2, .faq-heading h2, .closing-cta h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.045em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--brick-deep); font-size: 13px; line-height: 1.4; font-weight: 700; }
.eyebrow-rule { width: 23px; height: 1px; display: inline-block; background: var(--brick); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); align-items: center; gap: clamp(40px, 5vw, 72px); padding-block: clamp(56px, 7vw, 88px) clamp(58px, 7vw, 86px); }
.hero-copy { padding-bottom: 10px; }
.hero h1 { max-width: 620px; margin: 0; font-size: clamp(42px, 4.1vw, 58px); line-height: 1.34; }
.hero-dek { margin: 23px 0 0; color: #565750; font-size: 17px; line-height: 1.8; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 0 21px; border: 1px solid transparent; border-radius: 2px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.button-primary { color: #fffaf6; background: var(--brick); }
.button-primary:hover { background: var(--brick-deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; color: var(--brick-deep); background: transparent; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.text-link:hover { text-decoration: underline; }
.hero-fact { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.hero-proof { width: min(100%, 500px); justify-self: end; min-width: 0; }
.proof-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.proof-label { margin: 0 0 3px; color: var(--brick-deep); font-size: 12px; font-weight: 700; }
.proof-heading h2 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.proof-date { color: var(--muted); font-size: 12px; white-space: nowrap; }
.proof-document { border: 1px solid #ded9cf; background: #fffefa; box-shadow: 0 10px 35px rgba(57,47,37,.075); }
.page-open-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #fff; cursor: zoom-in; }
.page-open-button img { width: 100%; height: auto; }
.zoom-hint { position: absolute; right: 11px; bottom: 10px; padding: 5px 9px; color: #3f403b; background: rgba(251,250,247,.94); font-size: 12px; }
.document-caption { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px 10px; border-top: 1px solid #e1ddd5; }
.page-caption { display: grid; gap: 1px; }
.page-caption strong { font-size: 13px; }
.page-caption > span, .proof-note { color: var(--muted); font-size: 12px; }
.page-controls { display: flex; gap: 4px; }
.page-choice { min-width: 44px; min-height: 36px; padding: 3px 9px; border: 1px solid transparent; color: #5f6059; background: transparent; font-size: 12px; cursor: pointer; }
.page-choice:hover { background: #f1eee8; }
.page-choice.is-selected { border-color: #cdbdb2; color: var(--brick-deep); background: var(--brick-wash); font-weight: 700; }
.proof-note { margin: 10px 0 0; }
.work-section { padding-block: 54px 62px; border-top: 1px solid var(--line); }
.work-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.work-intro .eyebrow { margin-bottom: 8px; }
.work-intro h2 { margin: 0; font-size: clamp(27px, 3vw, 36px); }
.work-intro > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.landing-convert-form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); border: 1px solid var(--line); background: var(--sheet); box-shadow: 0 10px 35px rgba(57,47,37,.045); }
.upload-zone { min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border-right: 1px solid var(--line); text-align: center; transition: background-color .16s ease, border-color .16s ease; }
.upload-zone.is-dragging { background: #f4e8e0; }
.upload-symbol { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 11px; border: 1px solid #cdbdb2; color: var(--brick); font-size: 25px; line-height: 1; }
.upload-zone h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.choose-file { min-height: 42px; padding: 0 17px; border: 1px solid #a8a49a; color: var(--ink); background: transparent; cursor: pointer; }
.choose-file:hover { border-color: var(--brick); color: var(--brick-deep); background: #f8f2ed; }
.upload-note { max-width: 480px; margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.landing-file-list { width: 100%; max-width: 500px; margin: 12px 0 0; padding: 0; list-style: none; text-align: left; }
.landing-file-list:empty { display: none; }
.landing-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; margin-top: 6px; border: 1px solid var(--line); background: white; font-size: 13px; }
.landing-file-list button { padding: 5px 8px; border: 1px solid var(--line); background: #f1eee8; cursor: pointer; }
.landing-settings { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 25px; }
.setting-fields label { display: block; margin: 0 0 5px; color: #41423c; font-size: 13px; font-weight: 700; }
.setting-fields select, .setting-fields input { width: 100%; height: 42px; margin-bottom: 14px; padding: 0 11px; border: 1px solid #c9c5bb; border-radius: 0; color: var(--ink); background: white; }
.landing-field-hint { margin: -9px 0 0; color: var(--muted); font-size: 11px; }
.convert-action { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.landing-convert-button { min-height: 46px; padding: 0 18px; border: 0; color: #fffaf6; background: var(--brick); font-weight: 700; cursor: pointer; }
.landing-convert-button:hover { background: var(--brick-deep); }
.landing-convert-button:disabled { opacity: .65; cursor: wait; }
#landing-status { flex: 1; margin: 0; color: var(--muted); font-size: 12px; }
.form-flow { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0; padding: 16px 20px; border-top: 1px solid var(--line); color: #55564f; font-size: 12px; }
.form-flow i { color: var(--brick); font-style: normal; }
.comparison-section { padding-block: 57px 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro h2, .faq-heading h2, .closing-cta h2 { margin: 0; font-size: clamp(29px, 3vw, 38px); line-height: 1.35; }
.section-intro > p:last-child { max-width: 570px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.comparison-intro { display: grid; grid-template-columns: 1fr 1.15fr; align-items: end; column-gap: 22px; margin-bottom: 27px; }
.comparison-intro .eyebrow { grid-column: 1/-1; margin-bottom: 8px; }
.comparison-intro > p:last-child { max-width: none; margin: 0 0 4px; font-size: 14px; }
.comparison-pair { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); align-items: stretch; gap: 20px; }
.comparison-side { min-width: 0; margin: 0; }
.comparison-side figcaption { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; color: var(--muted); font-size: 13px; }
.comparison-side figcaption span:first-child { color: var(--ink); font-weight: 700; }
.comparison-page { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); background: white; cursor: zoom-in; }
.comparison-page img { width: 100%; height: auto; }
.comparison-arrow { display: flex; align-items: center; justify-content: center; color: var(--brick); font-size: 23px; }
.comparison-source-note { margin: 11px 0 0; color: var(--muted); font-size: 12px; }
.guide-section { padding-block: 74px 80px; }
.guide-section .section-intro { margin-bottom: 20px; }
.guide-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-rows li { min-height: 93px; display: grid; grid-template-columns: 64px minmax(0,1fr) 36px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.guide-index { color: var(--brick); font: 600 18px/1 var(--serif); }
.guide-rows h3 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.guide-rows p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.guide-icon { color: #77776f; font-size: 19px; text-align: center; }
.faq-section { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(0,1.3fr); gap: 50px; padding-block: 55px 72px; border-top: 1px solid var(--line); }
.faq-heading .eyebrow { margin-bottom: 9px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; min-height: 56px; display: flex; align-items: center; padding: 10px 30px 10px 0; list-style: none; font-size: 15px; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 3px; content: "+"; color: var(--brick); font-size: 21px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -1px 27px 17px 0; color: #55564f; font-size: 14px; }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 31px 42px; border-top: 1px solid var(--line); }
.closing-cta .eyebrow { margin-bottom: 7px; }
.closing-cta h2 { font-size: clamp(25px, 2.4vw, 32px); }
.closing-cta p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--brick); font: 700 16px/1 var(--serif); letter-spacing: .08em; text-decoration: none; }
.footer-brand span { margin-left: 5px; color: var(--brick); font: 13px/1 var(--sans); letter-spacing: 0; }
.footer-copy { padding-left: 17px; border-left: 1px solid var(--line); }
.footer-support a { color: var(--brick-deep); }
.image-dialog { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; }
.dialog-backdrop { position: absolute; inset: 0; background: rgba(28,28,25,.72); }
.dialog-panel { position: relative; width: min(960px, 100%); max-height: min(94vh, 1000px); display: flex; flex-direction: column; padding: 16px 20px 14px; background: var(--paper); box-shadow: 0 22px 80px rgba(0,0,0,.24); }
.dialog-header { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 13px; }
.dialog-header .eyebrow { margin-bottom: 4px; font-size: 12px; }
.dialog-header h2 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.dialog-close { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 25px; cursor: pointer; }
.dialog-figure { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; overflow: auto; }
.dialog-figure img { width: auto; max-width: 100%; max-height: calc(94vh - 115px); height: auto; background: #fff; }
.dialog-figure figcaption { flex: none; color: var(--muted); font-size: 12px; }
body.dialog-open { overflow: hidden; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 650px; }
  .hero-proof { justify-self: start; }
  .hero-proof { width: min(100%, 590px); }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { gap: 37px; padding-block: 46px 50px; }
  .hero h1 { font-size: clamp(37px, 9.4vw, 48px); line-height: 1.3; }
  .hero-dek { margin-top: 17px; font-size: 16px; }
  .hero-actions { margin-top: 22px; }
  .comparison-section { padding-block: 43px 49px; }
  .comparison-intro { display: block; margin-bottom: 19px; }
  .comparison-intro .eyebrow { margin-bottom: 8px; }
  .comparison-intro > p:last-child { margin-top: 7px; }
  .comparison-pair { grid-template-columns: 1fr; gap: 13px; }
  .comparison-arrow { height: 20px; transform: rotate(90deg); font-size: 20px; }
  .comparison-side figcaption { padding-bottom: 7px; }
  .work-intro { align-items: start; flex-direction: column; gap: 6px; }
  .landing-convert-form { grid-template-columns: 1fr; }
  .upload-zone { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .landing-settings { padding: 22px; }
  .form-flow { gap: 8px; padding-inline: 8px; font-size: 10px; }
  .guide-section { padding-block: 51px 56px; }
  .guide-rows li { min-height: 84px; grid-template-columns: 40px minmax(0,1fr) 26px; gap: 9px; }
  .guide-rows h3 { font-size: 17px; }
  .guide-rows p { font-size: 13px; }
  .faq-section { grid-template-columns: 1fr; gap: 18px; padding-block: 41px 52px; }
  .faq-heading h2 { font-size: 30px; }
  .closing-cta { align-items: start; flex-direction: column; padding-block: 27px 34px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .footer-copy { grid-column: 1/-1; grid-row: 2; padding: 0; border: 0; }
  .footer-support { grid-column: 2; grid-row: 1; }
}
@media (max-width: 400px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 35px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 8px; }
  .proof-heading { align-items: start; flex-direction: column; gap: 4px; }
  .document-caption { align-items: start; flex-direction: column; }
  .page-controls { align-self: end; }
  .comparison-side figcaption { align-items: start; flex-direction: column; gap: 0; }
  .guide-rows li { grid-template-columns: 31px minmax(0,1fr) 20px; gap: 6px; }
  .guide-rows p { font-size: 12px; }
  .form-flow { flex-wrap: wrap; }
  .convert-action { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
