:root {
  --bg: #fbfaf7;
  --bg-alt: #f0f1eb;
  --text: #222c28;
  --muted: #65716b;
  --line: #dce1d8;
  --accent: #245b46;
  --accent-ink: #fff;
  --card: #fff;
  --ok: #245b46;
  --no: #875b46;
  --radius: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 16px; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #769b52; outline-offset: 4px; }
.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 64px); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 30; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(251 250 247 / 94%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 24px; text-decoration: none; letter-spacing: -1px; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-note { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 12px; }
nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; text-decoration: none; color: var(--muted); }
.nav-link:hover, .text-link:hover { color: var(--text); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 14px 22px; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none; transition: background .18s, transform .18s; }
.button:hover { background: #193f31; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 44px; padding: 9px 15px; font-size: 13px; gap: 16px; }
.text-link { display: inline-flex; gap: 14px; padding: 10px 0; border: 0; background: transparent; color: var(--accent); font-weight: 650; text-decoration: none; font-size: 14px; }
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-weight: 650; font-size: 13px; letter-spacing: .025em; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #719e5c; margin-right: 7px; vertical-align: 1px; }
h1 { margin: 0 0 26px; font-size: clamp(42px, 4.9vw, 66px); line-height: 1.2; letter-spacing: -.065em; font-weight: 750; }
.accent { color: var(--accent); }
.lead { margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.price-note { margin: 12px 0 28px; color: var(--muted); font-size: 12px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: 12px; color: var(--muted); }
.hero-benefits li::before { content: '✓'; margin-right: 6px; color: var(--accent); }
.key-visual { margin: 0; min-width: 0; }
.key-visual img { width: 100%; mix-blend-mode: multiply; }
.key-visual figcaption { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 20px; }
.visual-caption-line { width: 24px; height: 2px; background: #a5bb8e; }
.demo-section { border-bottom: 1px solid var(--line); }
.demo-copy h2 { font-size: clamp(30px, 3.3vw, 44px); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.demo-stage { scroll-margin-top: 100px; min-width: 0; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.demo-heading .eyebrow { margin: 0; }
.demo-label { color: var(--muted); font-size: 11px; border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }
.demo-window { position: relative; background: #eeefe9; border: 1px solid #cfd7cd; border-radius: 10px; box-shadow: 0 20px 45px -24px #243b304d; overflow: hidden; margin: 0; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #d7ddd4; font-size: 12px; color: #5b665f; }
.traffic-lights { display: flex; gap: 5px; }
.traffic-lights i { width: 8px; height: 8px; background: #cf8577; border-radius: 50%; }
.traffic-lights i:nth-child(2) { background: #d8b877; }
.traffic-lights i:nth-child(3) { background: #8faf8b; }
.file-badge { border: 1px solid #c9d5c9; background: #e2eadf; color: var(--accent); border-radius: 4px; padding: 2px 5px; font-size: 9px; font-weight: 750; letter-spacing: .05em; }
.demo-paper { margin: 22px 24px 0; padding: 26px 24px 30px; background: white; border: 1px solid #dfe2db; color: #343c37; box-shadow: 0 2px 4px #20302808; }
.document-org { margin: 0; text-align: center; font-size: 10px; color: #7d857f; }
.demo-paper h2 { text-align: center; font-family: 'Batang', 'AppleMyungjo', serif; font-size: 24px; letter-spacing: .18em; margin: 8px 0 24px; }
.document-fields { border: 1px solid #b9c2b8; }
.document-field { display: grid; grid-template-columns: 64px minmax(0, 1fr); min-height: 48px; }
.document-field + .document-field { border-top: 1px solid #b9c2b8; }
.document-field > span { display: grid; place-items: center; font-size: 12px; background: #f7f8f4; border-right: 1px solid #b9c2b8; }
.document-field > input { min-width: 0; width: calc(100% - 12px); margin: 5px 6px; padding: 5px 9px; border: 1px dashed #a4b99c; border-radius: 3px; background: #f2f7ee; color: var(--accent); font-size: 13px; transition: background .18s, border-color .18s; }
.document-field > input::placeholder { color: #637b59; opacity: 1; }
.document-field > input:hover, .document-field > input:focus { background: #e7f1df; border-color: var(--accent); }
.document-options { display: flex; gap: 16px; align-items: center; padding: 6px 13px; font-size: 12px; }
.document-options label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-height: 34px; }
input[type='checkbox'] { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.document-statement { margin: 24px 0 18px; text-align: center; font-size: 12px; }
.document-signature { display: flex; align-items: center; justify-content: flex-end; gap: 14px; font-size: 12px; }
.signature-control { display: flex; align-items: center; position: relative; min-height: 40px; gap: 8px; padding: 4px 8px; border: 1px dashed #a4b99c; border-radius: 4px; cursor: pointer; background: #f2f7ee; }
.applicant-name { color: #343c37; overflow-wrap: anywhere; min-width: 0; }
.signature-slot { display: grid; place-items: center; position: relative; flex: none; width: 52px; height: 52px; }
.signature-name { display: none; }
.story-signature, .signature-control:has(:checked) .signature-name { display: grid; place-items: center; position: absolute; inset: 0; width: 52px; height: 52px; padding: 5px; border: 3px double #a83c32; border-radius: 50%; color: #a83c32; font-family: 'Batang', 'AppleMyungjo', serif; font-size: var(--seal-font-size, 18px); font-weight: 700; line-height: 1; text-align: center; overflow-wrap: anywhere; transform: rotate(-8deg); }
.signature-seal { color: #7d857f; }
.demo-bottom { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; gap: 8px; }
.demo-bottom > span { font-size: 11px; color: var(--muted); }
.demo-caption { margin: 12px 0 0; text-align: center; font-size: 11px; color: var(--muted); }
.demo-result { position: absolute; inset: 52px 0 0; background: #f3f5ee; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; animation: result-in .25s ease-out; }
.result-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e1eadb; color: var(--accent); font-size: 24px; margin-bottom: 20px; }
.demo-result h3 { font-size: 24px; }
.demo-result > p { margin: 8px 0 20px; overflow-wrap: anywhere; }
.result-file { display: flex; align-items: center; gap: 12px; border-block: 1px solid var(--line); padding: 16px 0; font-size: 14px; }
.is-complete .demo-paper, .is-complete .demo-bottom { visibility: hidden; }
.workflow-strip { border-block: 1px solid var(--line); background: #eef1e8; }
.workflow-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; }
.workflow-strip .wrap > span { font-size: 12px; color: var(--muted); }
.workflow-strip strong { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.workflow-strip strong span { font-weight: 400; color: #8e9e85; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
h2 { margin: 0 0 32px; font-size: clamp(26px, 3vw, 38px); line-height: 1.4; letter-spacing: -.045em; }
h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.025em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 0; margin: 36px 0 0; list-style: none; }
.card { padding: 24px 0 0; border-top: 1px solid #bcc9b6; }
.card-kicker { display: block; margin-bottom: 20px; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; }
.section-heading > p { color: var(--muted); font-size: 14px; }
.window { margin: 0; border: 1px solid #d5dad1; border-radius: 8px; background: white; box-shadow: 0 16px 40px -24px #243b304d; overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f2ed; border-bottom: 1px solid var(--line); }
.window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #bbc3b6; }
.window-bar p { margin: 0 0 0 12px; color: var(--muted); font-size: 11px; }
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.step:last-child { border: 0; padding-bottom: 0; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step-no { color: var(--accent); font-size: 12px; padding-top: 4px; font-weight: 700; }
code { padding: 2px 4px; border-radius: 3px; background: #e7eade; font-size: .85em; overflow-wrap: anywhere; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col > div { padding-top: 24px; border-top: 1px solid var(--line); }
.ok { color: var(--ok); }
.no { color: var(--no); }
.plain { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.plain li + li { margin-top: 10px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.signup { background: #e8eddf; }
.form-box { padding: 8px 20px; border: 1px solid #d4ddcb; border-radius: var(--radius); background: white; }
.form-box iframe { display: block; border: 0; }
.form-fallback, .form-pending { margin: 16px 0; color: var(--muted); }
.fine { color: var(--muted); font-size: 12px; }
.site-footer { padding: 36px 0 40px; border-top: 1px solid var(--line); font-size: 13px; }
.site-footer p { margin: 0 0 14px; }
.contact-email { overflow-wrap: anywhere; }
@keyframes result-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .hero-grid { gap: 32px; }
  .brand-note { display: none; }
  .hero-cta { gap: 8px 16px; }
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  .wrap, .narrow { width: min(540px, 100% - 40px); }
  .header-inner { min-height: 68px; }
  .nav-link { display: none; }
  .brand { font-size: 21px; }
  .hero { padding: 44px 0; }
  .key-visual { margin: -12px -12px 0; }
  .key-visual figcaption { font-size: 11px; margin-top: 8px; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
  h1 { font-size: clamp(44px, 9vw, 60px); }
  .lead { font-size: 16px; }
  .hero-benefits { gap: 8px 12px; }
  .workflow-strip .wrap { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 20px; }
  .workflow-strip .wrap > span:last-child { display: none; }
  .workflow-strip strong { font-size: 13px; gap: 12px; }
  .section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; gap: 24px; }
  .card-kicker { margin-bottom: 10px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .demo-paper { margin: 16px 14px 0; padding: 24px 14px; }
  .demo-bottom { padding: 16px 14px; }
  .demo-bottom .button { gap: 8px; }
  .demo-caption { font-size: 10px; }
  .document-field { grid-template-columns: 50px minmax(0, 1fr); }
  .document-field > input { font-size: 16px; }
  .form-box { padding-inline: 12px; }
}
/* 스크롤 설명: 정적 단계가 기본, observer 초기화 후에만 고정한다. */
.story-visual { display: none; margin: 0; }
.story-step { align-items: start; }
.story-example { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding: 18px; border: 1px solid var(--line); background: white; border-radius: 6px; font-size: 13px; color: var(--muted); }
.story-example strong { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.example-divider { height: 18px; width: 1px; background: var(--line); margin-inline: 4px; }
.mini-form { display: grid; gap: 3px; margin-left: auto; width: 48px; }
.mini-form i { border: 1px solid #b9c2b8; height: 8px; }
.story-cell { padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.story-fill, .story-check { transition: opacity 220ms ease-out; }
.story-signature { transition: opacity 220ms ease-out 60ms; }
.story-checkbox { position: relative; font-size: 18px; line-height: 1; }
.story-check { position: absolute; inset: 0; opacity: 0; }
.story-save { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; color: var(--accent); font-size: 12px; opacity: 0; transform: translateY(8px); transition: opacity 280ms ease-out, transform 280ms ease-out; }
.story-save-check { margin-left: auto; color: var(--accent); font-size: 18px; }
.story .demo-paper { margin: 14px 16px 0; padding: 20px 20px 18px; }
.story .demo-paper h2 { font-size: 20px; margin: 4px 0 14px; }
.story .document-org { font-size: 9px; }
.story .document-field { min-height: 36px; }
.story .story-cell { padding: 6px 12px; }
.story .document-statement { margin: 14px 0 8px; }
.story .document-signature { min-height: 28px; }
.story[data-stage='0'] .story-fill,
.story[data-stage='0'] .story-visual .story-signature,
.story[data-stage='1'] .story-visual .story-signature { opacity: 0; }
.story[data-stage='1'] .story-name { background: #f2f7ee; box-shadow: inset 0 0 0 1px #a4b99c; }
.story[data-stage='2'] .story-check,
.story[data-stage='3'] .story-check { opacity: 1; }
.story[data-stage='2'] .story-checkbox > span:first-child,
.story[data-stage='3'] .story-checkbox > span:first-child { opacity: 0; }
.story[data-stage='3'] .story-save { opacity: 1; transform: none; }
.actual-screens { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 112px; }
.actual-screens .eyebrow { margin-bottom: 8px; }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; margin-top: 24px; }
.screenshot-grid img { width: 100%; max-height: 360px; object-fit: contain; }
.screenshot-grid figcaption { border-top: 1px solid var(--line); padding: 12px 16px; font-size: 12px; color: var(--muted); }
[data-reveal] { transition: opacity 400ms ease-out, transform 400ms ease-out; transition-delay: var(--reveal-delay, 0ms); }
.reveal-pending { opacity: 0; transform: translateY(12px); }
.reveal-immediate { transition: none; }
@media (min-width: 1024px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .story.is-sticky { display: grid; grid-template-columns: .95fr 1fr; gap: 70px; align-items: start; }
  .is-sticky .story-visual { display: block; position: sticky; top: 112px; width: 100%; max-width: 480px; }
  .is-sticky .story-steps { gap: 0; }
  .is-sticky .story-step { min-height: 55svh; align-content: center; border: 0; padding: 32px 0; }
  .is-sticky .story-step h3 { font-size: 24px; }
  .is-sticky .story-step:not(:last-child) { border-bottom: 1px solid var(--line); }
  .is-sticky .story-example { display: none; }
  .is-sticky .story-step h3 { color: var(--muted); }
  .story[data-stage='0'] .story-step:nth-child(1) h3,
  .story[data-stage='1'] .story-step:nth-child(2) h3,
  .story[data-stage='2'] .story-step:nth-child(3) h3,
  .story[data-stage='3'] .story-step:nth-child(4) h3 { color: var(--accent); }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .card:nth-child(2) { --reveal-delay: 70ms; }
  .card:nth-child(3) { --reveal-delay: 140ms; }
}
@media (max-width: 760px) {
  .screenshot-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-example { padding: 14px; gap: 8px; font-size: 12px; }
}
@supports (animation-timeline: view()) and (animation-range: exit-crossing 0px exit-crossing 240px) {
  @media (min-width: 1024px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
    .hero { view-timeline-name: --hero; view-timeline-axis: block; view-timeline-inset: 0; }
    .key-visual img {
      animation: visual-scroll 1ms linear both;
      animation-timeline: --hero;
      animation-range: exit-crossing 0px exit-crossing 240px;
    }
  }
}
@keyframes visual-scroll { from { transform: translateY(0) scale(1); } to { transform: translateY(-20px) scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .key-visual img, [data-reveal] { opacity: 1; transform: none; }
}
