/*
 * 이노플로우 홈페이지 — Claude Design v3 확정본 구현
 * 수치는 디자인 파일(1440 / 390 시안)의 인라인 스타일을 그대로 옮겼다.
 * 모바일 기준점: 760px 이하. 그 사이(761~1100)는 데스크톱 배치에 글자 크기만 줄인다.
 */

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0a0a0a;
  color: #f2f1ee;
  font-family: Pretendard, 'Apple SD Gothic Neo', sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { word-break: keep-all; text-wrap: balance; }
a { color: #f2f1ee; text-decoration: none; }
a:hover { color: #ffffff; }
img { border: 0; }
.mono { font-family: 'JetBrains Mono', monospace; }
.nw { white-space: nowrap; }
.m-only { display: none; }
.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; }
.page { background: #0a0a0a; color: #f2f1ee; display: flex; flex-direction: column; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: #f2f1ee; color: #0a0a0a; padding: 10px 14px; font-size: 14px; }
.skip:focus { top: 12px; color: #0a0a0a; }
:focus-visible { outline: 1px solid rgba(242, 241, 238, 0.8); outline-offset: 3px; }

.label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; }
.c-mute { color: #8a8984; }

/* 버튼 */
.btn-solid { display: inline-block; background: #f2f1ee; color: #0a0a0a; padding: 15px 26px; font-size: 15px; font-weight: 500; border-radius: 2px; }
.btn-solid:hover { color: #0a0a0a; background: #ffffff; }
.btn-line { display: inline-block; border: 1px solid rgba(242, 241, 238, 0.6); padding: 12px 22px; font-size: 14px; border-radius: 2px; }
.btn-line:hover { border-color: #f2f1ee; }
.link-under { font-size: 14px; padding: 8px 0; border-bottom: 1px solid rgba(242, 241, 238, 0.5); }

/* 영상 공통 */
.fill-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }

/* ---------- 내비 (Nav.dc.html) ---------- */
.nav-slot { min-height: 96px; }
.nav-slot--overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 3; min-height: 0; }
.site-nav { width: 100%; position: relative; z-index: 20; font-family: Pretendard, 'Apple SD Gothic Neo', sans-serif; color: #f2f1ee; }
.site-nav__bar { display: flex; justify-content: space-between; align-items: center; padding: 32px 56px; }
.site-nav__logo { display: flex; }
.site-nav__logo img { height: 20px; width: auto; display: block; }
.site-nav__links { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.site-nav__links a { color: #c9c8c3; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav__links a:hover { color: #ffffff; }
.site-nav__links a.is-active { color: #ffffff; border-bottom-color: rgba(242, 241, 238, 0.8); }
.site-nav__links a.site-nav__cta { color: #f2f1ee; border: 1px solid rgba(242, 241, 238, 0.6); padding: 10px 18px; border-radius: 2px; }
.site-nav__links a.site-nav__cta:hover { color: #ffffff; border-color: #f2f1ee; }
.site-nav__toggle { display: none; background: none; border: none; color: #f2f1ee; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; padding: 14px 0; min-width: 44px; cursor: pointer; }
.site-nav__menu { position: absolute; top: 100%; left: 0; right: 0; background: #0a0a0a; border-top: 1px solid rgba(242, 241, 238, 0.14); display: flex; flex-direction: column; padding: 8px 20px 24px; z-index: 10; }
.site-nav__menu[hidden] { display: none; }
.site-nav__menu a { font-size: 22px; font-weight: 200; padding: 14px 0; border-bottom: 1px solid rgba(242, 241, 238, 0.1); }

/* ---------- 푸터 (Footer.dc.html) ---------- */
.footer-wrap { padding: 0 56px; }
.site-footer { width: 100%; padding: 64px 0 40px; border-top: 1px solid rgba(242, 241, 238, 0.14); display: flex; flex-direction: column; gap: 56px; font-family: Pretendard, 'Apple SD Gothic Neo', sans-serif; color: #f2f1ee; }
.site-footer__row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.site-footer__logo { display: flex; }
.site-footer__logo img { height: 18px; width: auto; display: block; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; }
.site-footer__links a { color: #b9b8b3; }
.site-footer__links a:hover { color: #f2f1ee; }
.site-footer__copy { font-size: 13px; color: #8a8984; }

/* ---------- 홈 (Home.dc.html / Home Mobile.dc.html) ---------- */
.home-hero { position: relative; height: 900px; overflow: hidden; }
.home-hero .fade-bottom { height: 55%; background: linear-gradient(to top, rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0)); }
.home-hero__body { position: absolute; left: 56px; right: 56px; bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.home-hero__body h1 { margin: 0; font-size: min(72px, 5vw); font-weight: 200; line-height: 1.16; letter-spacing: -0.025em; text-wrap: nowrap; }
.home-hero__body p { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.6; color: #e6e5e0; max-width: 620px; text-wrap: balance; }
.home-hero__cta { display: flex; margin-top: 8px; }

.products { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid rgba(242, 241, 238, 0.12); }
.tile { position: relative; height: 760px; overflow: hidden; background: #0a0a0a; }
.tile--lawlink { border-right: 1px solid rgba(242, 241, 238, 0.12); }
.tile__vwrap { position: absolute; left: 0; right: 0; top: -22%; height: 122%; }
.tile--remask video { filter: grayscale(0.5) brightness(0.7); }
.tile .fade-bottom { height: 45%; background: linear-gradient(to top, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0)); }
.tile__body { position: absolute; left: 56px; right: 56px; bottom: 56px; display: flex; flex-direction: column; gap: 18px; z-index: 2; }
.tile__body .label { color: #b9b8b3; }
.tile__body h2 { margin: 0; font-size: 34px; font-weight: 200; line-height: 1.3; letter-spacing: -0.02em; }
.tile__cta { display: flex; margin-top: 10px; }

.home-tech { padding: 160px 56px; display: flex; flex-direction: column; gap: 64px; }
.home-tech__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.home-tech__title { display: flex; flex-direction: column; gap: 20px; }
.home-tech__title .label { color: #8a8984; }
.home-tech__title h2 { margin: 0; font-size: 52px; font-weight: 200; line-height: 1.2; letter-spacing: -0.025em; }
.home-tech__more-m { display: none; }
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tcard { background: #111111; padding: 28px; min-height: 306px; /* 디자인은 content-box: 250 + 28×2 */ display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "diag" "text"; align-content: space-between; row-gap: 28px; }
.tcard__label { grid-area: label; display: flex; gap: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: #8a8984; }
.tcard__label span:first-child { color: #f2f1ee; }
.tcard__diag { grid-area: diag; width: 150px; }
.tcard__diag svg { width: 100%; height: auto; display: block; }
.tcard__text { grid-area: text; display: flex; flex-direction: column; gap: 8px; }
.tcard__ko { font-size: 20px; font-weight: 300; }
.tcard__line { font-size: 14px; font-weight: 300; line-height: 1.6; color: #b9b8b3; text-wrap: balance; }

.home-notices { padding: 0 56px 160px; display: flex; flex-direction: column; gap: 40px; }
.home-notices__head { display: flex; justify-content: space-between; align-items: flex-end; }
.home-notices__head h2 { margin: 0; font-size: 32px; font-weight: 200; letter-spacing: -0.02em; }

/* 공지 행 (홈·공지 목록 공통) */
.nrows { display: flex; flex-direction: column; border-bottom: 1px solid rgba(242, 241, 238, 0.14); }
.nrow { display: grid; grid-template-columns: 160px 100px minmax(0, 1fr) 60px; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(242, 241, 238, 0.14); align-items: baseline; }
.nrow__date { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #8a8984; }
.nrow__cat { font-size: 14px; color: #b9b8b3; }
.nrow__title { font-size: 18px; font-weight: 300; }
.nrow__meta { display: none; }
a.nrow:hover .nrow__title { color: #ffffff; }
.nrows__empty { padding: 24px 0; border-top: 1px solid rgba(242, 241, 238, 0.14); color: #6f6e6a; font-size: 15px; }

.home-contact { display: flex; flex-direction: column; }
.home-contact__band { position: relative; overflow: hidden; }
.home-contact__band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.home-contact__shade { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.55); }
.home-contact__inner { position: relative; padding: 200px 56px 120px; display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
.home-contact__inner h2 { margin: 0; font-size: 48px; font-weight: 200; line-height: 1.3; letter-spacing: -0.025em; max-width: 820px; text-wrap: balance; }
.home-contact__inner .btn-solid { white-space: nowrap; }

/* ---------- 제품 페이지 (LawLink.dc.html / ReMask.dc.html) ---------- */
.p-hero { position: relative; width: 100%; aspect-ratio: 1376 / 768; min-height: 780px; overflow: hidden; }
.p-hero__vwrap { position: absolute; left: 0; right: 0; top: -46%; height: 146%; }
.p-hero--remask video { filter: grayscale(0.4); }
.p-hero .fade-bottom { height: 45%; background: linear-gradient(to top, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0)); }
.p-hero__body { position: absolute; left: 56px; right: 56px; bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.p-hero--remask .p-hero__body { right: auto; max-width: 720px; }
.p-hero__body .label { color: #d8d7d2; }
.p-hero__body h1 { margin: 0; font-size: clamp(40px, 4.45vw, 64px); font-weight: 200; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.p-hero__body p { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.7; color: #e6e5e0; text-wrap: balance; max-width: 720px; }

.p-screen { padding: 140px 56px; }
.p-screen__grid { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 24px; }
.rail { background-image: repeating-linear-gradient(to bottom, rgba(242, 241, 238, 0.4) 0 1px, transparent 1px 32px); background-size: 12px 100%; background-repeat: no-repeat; }
.rail--l { border-right: 1px dashed rgba(242, 241, 238, 0.22); background-position: right top; }
.rail--r { border-left: 1px dashed rgba(242, 241, 238, 0.22); background-position: left top; }
.p-screen__center { display: flex; justify-content: center; }
.p-screen__frame { border: 1px solid rgba(242, 241, 238, 0.16); padding: 8px; width: 100%; }
.p-screen__frame--lawlink { max-width: 1336px; }
.p-screen__frame img { display: block; width: 100%; height: auto; }
.p-screen__frame--lawlink img { max-width: 1320px; }
.p-screen__frame--remask img { filter: saturate(0.12) brightness(0.88) contrast(1.05); }

.spec { padding: 0 56px 160px; display: flex; flex-direction: column; }
.spec__row { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; padding: 32px 0 56px; border-top: 1px solid rgba(242, 241, 238, 0.16); }
.spec__row p { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.75; color: #d8d7d2; max-width: 780px; text-wrap: balance; }
.spec__row--link { padding: 40px 0 0; }
.spec__link-cell { display: flex; }

.plink { position: relative; display: inline-flex; align-items: baseline; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 15px; color: #5B8CFF; padding: 8px 0 6px; }
.plink:hover { color: #5B8CFF; }
.plink__arrow { display: inline-block; transition: transform 0.3s ease; }
.plink__base { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(91, 140, 255, 0.4); }
.plink__line { position: absolute; left: 0; bottom: 0; height: 1px; width: 0%; background: #5B8CFF; transition: width 0.35s ease; }
.plink:hover .plink__arrow, .plink:focus-visible .plink__arrow { transform: translateX(4px); }
.plink:hover .plink__line, .plink:focus-visible .plink__line { width: 100%; }

/* ---------- 회사 (Company.dc.html) ---------- */
.co-statement { padding: 160px 56px; display: flex; flex-direction: column; gap: 40px; }
.co-statement .label { color: #8a8984; }
.co-statement p { margin: 0; font-size: 56px; font-weight: 200; line-height: 1.35; letter-spacing: -0.025em; max-width: 1160px; text-wrap: balance; }
.facts { padding: 0 56px 160px; display: flex; flex-direction: column; }
.facts__row { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; padding: 28px 0 40px; border-top: 1px solid rgba(242, 241, 238, 0.16); }
.facts__row:last-child { border-bottom: 1px solid rgba(242, 241, 238, 0.16); }
.facts__row p { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.6; color: #d8d7d2; }
.facts__products { display: flex; gap: 12px; }
.facts__products .dot { color: #6f6e6a; }
.facts__mail { font-family: 'JetBrains Mono', monospace; font-size: 18px; }

/* ---------- 문의 (Contact.dc.html) ---------- */
.page--contact { min-height: 100vh; }
.contact { flex: 1; min-height: 1000px; /* content-box 640 + 200 + 160 */ padding: 200px 56px 160px; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; }
.contact .label { color: #8a8984; }
.contact h1 { margin: 0; font-size: 64px; font-weight: 200; line-height: 1.28; letter-spacing: -0.025em; max-width: 1000px; text-wrap: balance; }
.contact__info { display: flex; gap: 14px; font-size: 17px; font-weight: 300; color: #b9b8b3; align-items: center; flex-wrap: wrap; }
.contact__info .dot { color: #6f6e6a; }
.contact__info a { font-family: 'JetBrains Mono', monospace; font-size: 15px; }
.contact__cta { display: flex; margin-top: 8px; }

/* ---------- 공지사항 (Notices.dc.html) ---------- */
.notices { padding: 140px 56px 160px; display: flex; flex-direction: column; }
.notices__head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 80px; }
.notices__head .label { color: #8a8984; }
.notices__head h1 { margin: 0; font-size: 72px; font-weight: 200; line-height: 1.1; letter-spacing: -0.03em; }
.latest { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; padding: 40px 0 72px; border-top: 1px solid rgba(242, 241, 238, 0.4); transition: background 0.2s ease; }
.latest:hover { background: #0e0e0e; }
.latest__side { display: flex; flex-direction: column; gap: 10px; }
.latest__meta { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #8a8984; }
.latest__main { display: flex; flex-direction: column; gap: 24px; }
.latest__main h2 { margin: 0; font-size: 44px; font-weight: 200; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.latest__main p { margin: 0; font-size: 17px; font-weight: 300; line-height: 1.75; color: #b9b8b3; max-width: 680px; }
.latest__read { font-size: 14px; align-self: flex-start; border-bottom: 1px solid rgba(242, 241, 238, 0.5); padding-bottom: 4px; }
.nhead { display: grid; grid-template-columns: 160px 100px minmax(0, 1fr) 60px; gap: 24px; padding: 14px 0; border-top: 1px solid rgba(242, 241, 238, 0.14); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: #6f6e6a; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.pager > * { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.pager .is-off { color: #6f6e6a; }
.pager .is-current { border: 1px solid rgba(242, 241, 238, 0.5); }

.ndetail { padding: 120px 56px 160px; display: flex; flex-direction: column; align-items: center; }
.ndetail__inner { width: 100%; max-width: 680px; display: flex; flex-direction: column; }
.ndetail__back { align-self: flex-start; color: #8a8984; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; padding: 12px 0; margin-bottom: 56px; }
.ndetail__meta { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #8a8984; margin-bottom: 20px; }
.ndetail__inner h1 { margin: 0 0 56px; font-size: 44px; font-weight: 200; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.ndetail__body { border-top: 1px solid rgba(242, 241, 238, 0.16); padding-top: 48px; display: flex; flex-direction: column; gap: 24px; font-size: 17px; font-weight: 300; line-height: 1.85; color: #d8d7d2; }
.ndetail__body p { margin: 0; text-wrap: pretty; }
.ndetail__body .ndetail__sign { color: #8a8984; }
.prevnext { margin-top: 96px; display: flex; flex-direction: column; border-bottom: 1px solid rgba(242, 241, 238, 0.14); }
.prevnext__row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 40px; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(242, 241, 238, 0.14); align-items: baseline; color: #6f6e6a; }
.prevnext__row .mono { font-size: 11px; letter-spacing: 0.14em; }
.prevnext__row span:nth-child(2) { font-size: 15px; }
a.prevnext__row { color: #f2f1ee; }
a.prevnext__row .mono { color: #8a8984; }
.ndetail__list { display: flex; justify-content: center; margin-top: 56px; }
.ndetail__list a { border: 1px solid rgba(242, 241, 238, 0.6); color: #f2f1ee; font-size: 14px; padding: 13px 24px; border-radius: 2px; }
.ndetail__list a:hover { border-color: #f2f1ee; }
.notices-msg { padding: 40px 0; color: #8a8984; font-size: 15px; }

/* ---------- 기술 (Technology.dc.html / Technology Mobile.dc.html) ---------- */
.tech-hero { padding: 140px 56px 120px; display: flex; flex-direction: column; gap: 32px; }
.tech-hero .label { color: #8a8984; }
.tech-hero h1 { margin: 0; font-size: min(96px, 7vw); font-weight: 200; line-height: 1.1; letter-spacing: -0.03em; }
.tech-hero p { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.75; color: #b9b8b3; max-width: 820px; text-wrap: balance; }
.tech-overview { padding: 0 56px 80px; }
.tech-overview .tcards { gap: 12px; }
.tech-overview .tcard { padding: 32px; min-height: 384px; row-gap: 32px; } /* content-box 320 + 32×2 */
.tech-overview .tcard__diag { width: 190px; }
.tech-overview .tcard__text { gap: 10px; }
.tech-overview .tcard__ko { font-size: 22px; }
.tech-overview .tcard__line { line-height: 1.65; }

.tsec { padding: 120px 56px 40px; scroll-margin-top: 0; }
.tsec__head { border-top: 1px solid rgba(242, 241, 238, 0.16); padding-top: 28px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
.tsec__code { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; padding-top: 12px; }
.tsec__title { display: flex; flex-direction: column; gap: 20px; }
.tsec__title h2 { margin: 0; font-size: 52px; font-weight: 200; line-height: 1.2; letter-spacing: -0.025em; }
.tsec__title p { margin: 0; font-size: 19px; font-weight: 300; line-height: 1.7; color: #b9b8b3; max-width: 760px; text-wrap: balance; }
.tsec__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; margin-top: 72px; align-items: start; }
.tsec__fig { border: 1px solid rgba(242, 241, 238, 0.12); background: #0c0c0c; position: relative; }
.tsec__fig-inner { padding: 40px 32px 32px; position: relative; }
.tsec__fig-label { position: absolute; top: 12px; left: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: #6f6e6a; }
.tsec__fig svg { width: 100%; height: auto; display: block; }
.steps { display: flex; flex-direction: column; border-bottom: 1px solid rgba(242, 241, 238, 0.14); }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid rgba(242, 241, 238, 0.14); align-items: baseline; }
.step__no { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #8a8984; }
.step__no--big { font-size: 32px; font-weight: 300; line-height: 1; color: #f2f1ee; }
.step__text { display: flex; flex-direction: column; gap: 6px; }
.step__t { font-size: 17px; font-weight: 400; line-height: 1.5; }
.step__d { font-size: 14px; font-weight: 300; line-height: 1.6; color: #8a8984; }
.notes { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; }
.notes__label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: #6f6e6a; margin-bottom: 4px; }
.notes p { margin: 0; font-size: 13px; line-height: 1.7; color: #8a8984; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 80px; }
.num { display: flex; flex-direction: column; gap: 12px; border-left: 1px solid rgba(242, 241, 238, 0.16); padding-left: 20px; }
.num__v { font-family: 'JetBrains Mono', monospace; font-size: clamp(28px, 3.4vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.num__l { font-size: 14px; color: #8a8984; }
.footer-wrap--tech { padding: 120px 56px 0; }

/* ---------- 중간 폭 (761~1100) ---------- */
@media (max-width: 1100px) {
  .spec__row, .facts__row, .latest, .tsec__head { grid-template-columns: 200px minmax(0, 1fr); }
  .co-statement p { font-size: clamp(36px, 4.6vw, 56px); }
  .contact h1 { font-size: clamp(40px, 5.4vw, 64px); }
  .notices__head h1 { font-size: clamp(48px, 6vw, 72px); }
  .home-contact__inner h2 { font-size: clamp(34px, 4vw, 48px); }
}
@media (max-width: 1024px) {
  .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tsec__body { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tsec__title h2 { font-size: 44px; }
  .p-screen__grid { grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 16px; }
}

/* ---------- 모바일 (390 시안) ---------- */
@media (max-width: 760px) {
  .m-only { display: inline; }
  .d-only { display: none !important; }

  /* 내비 — 모바일 안 */
  .nav-slot { min-height: 72px; }
  .nav-slot--overlay { min-height: 0; }
  .site-nav__bar { padding: 16px 20px; }
  .site-nav__logo { padding: 12px 0; }
  .site-nav__logo img { height: 16px; }
  .site-nav__links { display: none; }
  .site-nav__toggle { display: block; }

  .footer-wrap { padding: 0 20px; }

  /* 홈 */
  .home-hero { height: 100svh; min-height: 640px; max-height: 844px; }
  .home-hero .fade-bottom { height: 60%; background: linear-gradient(to top, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0)); }
  .home-hero__body { left: 20px; right: 20px; bottom: 48px; gap: 20px; }
  .home-hero__body h1 { font-size: 36px; line-height: 1.25; text-wrap: wrap; }
  .home-hero__body h1 .nw { white-space: normal; }
  .home-hero__body p { font-size: 15px; line-height: 1.65; max-width: none; }
  .home-hero__cta { margin-top: 4px; }
  .home-hero__cta .btn-solid { padding: 15px 24px; }

  .products { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .tile { height: 600px; }
  .tile--lawlink { height: 601px; border-right: 0; border-bottom: 1px solid rgba(242, 241, 238, 0.12); } /* content-box 600 + 테두리 1 */
  .tile .fade-bottom { height: 50%; background: linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0)); }
  .tile__body { left: 20px; right: 20px; bottom: 40px; gap: 14px; }
  .tile__body .label { font-size: 11px; }
  .tile__body h2 { font-size: 26px; line-height: 1.35; }
  .tile__cta { margin-top: 6px; }
  .tile__cta .btn-line { padding: 13px 20px; }

  .home-tech { padding: 96px 20px; gap: 36px; }
  .home-tech__head { display: block; }
  .home-tech__title { gap: 16px; }
  .home-tech__title .label { font-size: 11px; }
  .home-tech__title h2 { font-size: 34px; line-height: 1.25; }
  .home-tech__more-d { display: none; }
  .home-tech__more-m { display: flex; }
  .home-tech__more-m a { padding: 12px 0; }
  .tcards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-tech .tcard { padding: 22px 20px; min-height: 0; grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "label diag" "text diag"; column-gap: 16px; row-gap: 8px; align-content: center; align-items: center; }
  .home-tech .tcard__label { font-size: 10px; gap: 10px; align-self: end; }
  .home-tech .tcard__text { align-self: start; }
  .home-tech .tcard__diag { width: 96px; }
  .home-tech .tcard__ko { font-size: 17px; }
  .home-tech .tcard__line { display: none; }

  .home-notices { padding: 0 20px 96px; gap: 28px; }
  .home-notices__head { align-items: baseline; }
  .home-notices__head h2 { font-size: 26px; letter-spacing: 0; }
  .home-notices__head .link-under { font-size: 13px; padding: 12px 0; border-bottom: 0; }

  .nrow { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; }
  .nrow__date, .nrow__cat, .nrow__end { display: none; }
  .nrow__meta { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #8a8984; }
  .nrow__title { font-size: 16px; line-height: 1.5; }

  /* 모바일도 데스크톱과 같이 로비 사진을 띠 전체에 깐다 (대표 확인 10-05) */
  .home-contact { padding: 0; }
  .home-contact__inner { padding: 140px 20px 72px; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 28px; }
  .home-contact__inner h2 { font-size: 28px; line-height: 1.4; letter-spacing: -0.02em; }
  .home-contact__inner .btn-solid { padding: 15px 24px; }
  .home-contact .footer-wrap { padding: 0 20px; }

  /* 제품 페이지 */
  .p-hero__body, .p-hero--remask .p-hero__body { left: 20px; right: 20px; bottom: 48px; gap: 20px; max-width: none; }
  .p-hero__body .label { font-size: 11px; }
  .p-hero__body h1 { font-size: 34px; line-height: 1.25; }
  .p-hero__body p { font-size: 15px; line-height: 1.65; }
  .p-hero .fade-bottom { height: 60%; background: linear-gradient(to top, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0)); }
  .p-screen { padding: 72px 20px; }
  .p-screen__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .p-screen__grid .rail { display: none; }
  .p-screen__frame { padding: 6px; }
  .spec { padding: 0 20px 96px; }
  .spec__row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 0 40px; }
  .spec__row .label { font-size: 11px; }
  .spec__row p { font-size: 17px; line-height: 1.7; }
  .spec__row--link { padding: 32px 0 0; }
  .spec__row--link > div:first-child { display: none; }

  /* 회사 */
  .co-statement { padding: 72px 20px 96px; gap: 24px; }
  .co-statement .label { font-size: 11px; }
  .co-statement p { font-size: 30px; line-height: 1.4; }
  .facts { padding: 0 20px 96px; }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0 28px; }
  .facts__row .label { font-size: 11px; }
  .facts__row p { font-size: 17px; }
  .facts__mail { font-size: 16px; }

  /* 문의 */
  .page--contact { min-height: 100svh; }
  .contact { min-height: 0; padding: 96px 20px; gap: 28px; justify-content: flex-start; }
  .contact .label { font-size: 11px; }
  .contact h1 { font-size: 34px; line-height: 1.3; }
  .contact__info { font-size: 15px; gap: 8px 10px; }
  .contact__info a { font-size: 14px; }
  .contact__cta .btn-solid { padding: 15px 24px; }

  /* 공지사항 */
  .notices { padding: 72px 20px 96px; }
  .notices__head { gap: 16px; margin-bottom: 48px; }
  .notices__head .label { font-size: 11px; }
  .notices__head h1 { font-size: 44px; }
  .latest { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0 48px; }
  .latest__side .label { font-size: 11px; }
  .latest__meta { font-size: 12px; }
  .latest__main { gap: 20px; }
  .latest__main h2 { font-size: 28px; line-height: 1.35; }
  .latest__main p { font-size: 15px; line-height: 1.7; }
  .nhead { display: none; }
  .pager { margin-top: 40px; }
  .ndetail { padding: 56px 20px 96px; }
  .ndetail__back { margin-bottom: 40px; }
  .ndetail__meta { font-size: 12px; margin-bottom: 16px; }
  .ndetail__inner h1 { font-size: 30px; line-height: 1.35; margin-bottom: 40px; }
  .ndetail__body { padding-top: 36px; gap: 20px; font-size: 16px; line-height: 1.8; }
  .prevnext { margin-top: 64px; }
  .prevnext__row { grid-template-columns: 56px minmax(0, 1fr) 0; gap: 12px; }
  .prevnext__row span:nth-child(2) { font-size: 14px; }

  /* 기술 — Technology Mobile.dc.html */
  .tech-hero { padding: 72px 20px 64px; gap: 20px; }
  .tech-hero .label { font-size: 11px; }
  .tech-hero h1 { font-size: 44px; line-height: 1.15; }
  .tech-hero p { font-size: 15px; }
  .tech-overview { padding: 0 20px 40px; }
  .tech-overview .tcards { gap: 8px; }
  .tech-overview .tcard { padding: 22px 20px; min-height: 0; grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "label diag" "text text"; column-gap: 12px; row-gap: 16px; align-items: center; }
  .tech-overview .tcard__label { font-size: 10px; gap: 10px; }
  .tech-overview .tcard__diag { width: 96px; }
  .tech-overview .tcard__text { gap: 6px; }
  .tech-overview .tcard__ko { font-size: 18px; }
  .tech-overview .tcard__line { font-size: 13px; line-height: 1.6; text-wrap: wrap; }
  .tsec { padding: 72px 20px 24px; display: flex; flex-direction: column; }
  .tsec__head { padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
  .tsec__code { font-size: 11px; padding-top: 0; }
  .tsec__title { gap: 14px; }
  .tsec__title h2 { font-size: 30px; line-height: 1.25; letter-spacing: -0.02em; }
  .tsec__title p { font-size: 15px; line-height: 1.7; }
  .tsec__body { display: block; margin-top: 0; }
  .tsec__fig { margin: 36px -20px 0; overflow-x: auto; border: 0; border-top: 1px solid rgba(242, 241, 238, 0.1); border-bottom: 1px solid rgba(242, 241, 238, 0.1); -webkit-overflow-scrolling: touch; }
  .tsec__fig-inner { width: 580px; padding: 32px 20px 24px; } /* content-box 540 + 20×2 */
  .tsec__fig-label { top: 10px; left: 20px; }
  .steps { margin-top: 36px; }
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .step__no { font-size: 12px; }
  .step__no--big { font-size: 24px; }
  .step__text { gap: 4px; }
  .step__t { font-size: 15px; }
  .step__d { font-size: 13px; }
  .notes { margin-top: 20px; }
  .notes__label { margin-bottom: 0; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 44px; }
  .num { gap: 8px; padding-left: 14px; }
  .num__v { font-size: 30px; line-height: 1; }
  .num__l { font-size: 12px; line-height: 1.5; }
  .footer-wrap--tech { padding: 72px 20px 0; }
}

/* 회사 페이지 라벨은 문서 제목(h1) 역할을 겸한다 */
.co-statement h1.label { margin: 0; font-weight: 400; text-wrap: wrap; }
