:root {
  --ink: #111111;
  --muted: #575757;
  --line: #d8d8d8;
  --soft: #f5f5f2;
  --yellow: #e9cf08;
  --white: #ffffff;
  --shell: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.75; word-break: keep-all; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.04em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { font-size: 1.35rem; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 920px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: Arial, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: .08em; }
.brand img { flex: 0 0 auto; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav__link { position: relative; color: #333; font-size: .93rem; text-decoration: none; }
.site-nav__link[aria-current="page"]::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--ink); content: ""; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--ink); background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { background: #f4db17; transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #1769e0; outline-offset: 3px; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button--small { min-height: 42px; padding: 8px 15px; font-size: .9rem; }
.button--outline { background: var(--white); }
.text-link { font-weight: 700; text-decoration-thickness: 1px; }

.hero { padding: 96px 0 88px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); align-items: end; gap: 64px; }
.hero__copy { min-width: 0; }
.mobile-break { display: none; }
.hero h1 { max-width: 920px; margin-bottom: 32px; }
.hero__lead { max-width: 770px; font-size: 1.2rem; color: #303030; }
.hero__outcome { max-width: 740px; margin-bottom: 32px; color: var(--muted); }
.hero__actions { display: flex; align-items: center; gap: 18px; }
.hero__actions span { max-width: 210px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.hero__placeholder { aspect-ratio: 3/4; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, #f5f5f2, #e7e7e2); color: var(--muted); }
.hero__placeholder span { font-size: .74rem; letter-spacing: .08em; }
.hero__placeholder strong { color: #333; }
.section { padding: 104px 0; }
.section--border { border-bottom: 1px solid var(--line); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: #cacaca; }
.section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 88px; }
.split h2 { margin-bottom: 0; }
.prose { font-size: 1.05rem; }
.prose p { color: #3d3d3d; }
.prose p:last-child { margin-bottom: 0; }
.service-list { border-top: 1px solid var(--ink); }
.service-list article { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.service-list h3, .service-list p { margin: 0; }
.service-list p { max-width: 720px; color: var(--muted); }
.proof-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.proof-list { border-top: 1px solid #555; }
.proof-list p { margin: 0; padding: 28px 0; border-bottom: 1px solid #555; color: var(--white); font-size: 1.15rem; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 42px 0 0; padding: 0; list-style: none; }
.process-list li { min-height: 220px; padding: 28px; border-top: 1px solid var(--ink); border-right: 1px solid var(--line); }
.process-list li:first-child { border-left: 1px solid var(--line); }
.process-list strong, .process-list span { display: block; }
.process-list span { margin-top: 12px; color: var(--muted); font-size: .92rem; line-height: 1.6; }

.page-hero { padding: 112px 0 88px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 32px; }
.page-hero .narrow > p:last-child { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.page-hero--compact { padding-bottom: 72px; }
.page-hero--product { background: var(--soft); }
.status-note { width: fit-content; margin-top: 36px; padding: 10px 14px; border-left: 4px solid var(--yellow); background: var(--white); color: var(--ink) !important; font-size: .9rem !important; font-weight: 700; }
.service-detail-list { border-top: 1px solid var(--ink); }
.service-detail-list article { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.scope { font-size: .88rem; font-weight: 700; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.comparison > div { padding: 30px; background: var(--white); }
.comparison ul, .contact-guide ul { padding-left: 1.2em; }
.data-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 42px; }
.data-flow span { min-height: 100px; display: grid; place-items: center; padding: 20px; border: 1px solid var(--ink); background: var(--white); text-align: center; font-weight: 700; }
.data-flow i { font-style: normal; }
.section-note { max-width: 760px; margin: 32px 0 0; color: var(--muted); }

.field-gallery { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; }
.field-gallery figure { margin: 0; }
.field-gallery__wide { grid-row: span 2; }
.field-gallery img { width: 100%; height: 100%; max-height: 660px; object-fit: cover; background: var(--soft); }
.field-gallery figure:not(.field-gallery__wide) img { max-height: 285px; }
.field-gallery figcaption { padding-top: 10px; color: var(--muted); font-size: .84rem; }
.proof-grid--light { border-top: 1px solid var(--ink); padding-top: 48px; }

.contact-grid { display: grid; grid-template-columns: 320px 1fr; align-items: start; gap: 80px; }
.contact-guide { position: sticky; top: 110px; padding: 28px; background: var(--soft); }
.contact-guide h2 { font-size: 1.35rem; }
.contact-guide p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.contact-form { max-width: 760px; }
.form-section { margin-bottom: 64px; }
.form-section h2 { padding-bottom: 16px; border-bottom: 1px solid var(--ink); font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; margin-bottom: 22px; }
.contact-form label > span { display: block; margin-bottom: 8px; font-weight: 700; }
.contact-form b, .contact-form em { margin-left: 5px; font-size: .72rem; font-style: normal; }
.contact-form b { color: #9c2c13; }
.contact-form em { color: var(--muted); font-weight: 400; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #999; border-radius: 0; background: var(--white); padding: 12px; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.check { display: flex !important; align-items: flex-start; gap: 10px; }
.check input { width: 20px; height: 20px; margin-top: 4px; }
.check span { margin: 0 !important; font-weight: 400 !important; }
.honeypot { position: absolute; left: -9999px; }
.form-submit { display: flex; align-items: center; gap: 20px; }
.form-status { margin: 0; color: #294d20; font-weight: 700; }
.privacy-policy { max-width: 920px; }
.privacy-policy > section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.privacy-policy h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.privacy-table-wrap { overflow-x: auto; margin: 24px 0; }
.privacy-table-wrap table { width: 100%; min-width: 680px; border-collapse: collapse; }
.privacy-table-wrap th, .privacy-table-wrap td { padding: 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.privacy-table-wrap th { width: 180px; background: var(--soft); }
.privacy-contact { margin: 0; }
.privacy-contact div { display: grid; grid-template-columns: 220px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.privacy-contact dt { font-weight: 700; }
.privacy-contact dd { margin: 0; }
.placeholder { background: var(--soft); }
.empty-state { min-height: 360px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state .button { margin-top: 18px; }
.error-page { min-height: 62vh; }

.closing-cta { padding: 72px 0; border-top: 1px solid var(--ink); background: var(--yellow); }
.closing-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.closing-cta h2 { max-width: 700px; margin-bottom: 8px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.closing-cta p { margin-bottom: 0; }
.closing-cta .button { flex: 0 0 auto; background: var(--ink); color: var(--white); }
.site-footer { padding: 56px 0; background: var(--ink); color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.brand--footer { margin-bottom: 12px; }
.site-footer p { color: #aaa; font-size: .9rem; }
.site-footer nav { display: flex; gap: 24px; font-size: .9rem; }
.site-footer__legal { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid #383838; }

@media (max-width: 900px) {
  .hero__grid, .split, .proof-grid, .service-detail-list article, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero__placeholder { aspect-ratio: 16/9; min-height: 260px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .contact-guide { position: static; }
  .field-gallery { grid-template-columns: 1fr 1fr; }
  .field-gallery__wide { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; word-break: keep-all; overflow-wrap: normal; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header__inner { min-height: 66px; gap: 12px; }
  .brand span { display: none; }
  .brand img { width: 34px; height: 34px; }
  .site-nav { display: none; }
  .site-header .button { margin-left: auto; }
  .button--small { padding: 7px 10px; font-size: .78rem; }
  .hero, .page-hero { padding: 68px 0 60px; }
  .page-hero h1 br { display: none; }
  .hero .mobile-break { display: inline; }
  .hero .mobile-break br { display: block; }
  .hero__copy p { word-break: normal; overflow-wrap: anywhere; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions span { max-width: none; }
  .hero__placeholder { aspect-ratio: auto; min-height: 260px; }
  .section { padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-list article { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; border-left: 1px solid var(--line); }
  .comparison, .form-grid { grid-template-columns: 1fr; }
  .data-flow { grid-template-columns: 1fr; }
  .data-flow i { text-align: center; transform: rotate(90deg); }
  .field-gallery { grid-template-columns: 1fr; }
  .field-gallery__wide { grid-column: auto; }
  .field-gallery figure img { max-height: 360px !important; }
  .closing-cta__inner { align-items: stretch; flex-direction: column; }
  .closing-cta .button { flex: auto; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .site-footer__legal { grid-column: auto; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .privacy-contact div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
