:root {
  --blue: #0047ff;
  --blue-deep: #0033bb;
  --off-white: #f8f7f4;
  --black: #080a0f;
  --charcoal: #11141b;
  --grey: #a7abb5;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(8, 10, 15, 0.16);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  color: var(--black);
  background: var(--off-white);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; padding: 12px 18px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  padding: 0 clamp(22px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(8, 10, 15, 0.82);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 154px; height: auto; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
.header-mail { color: #c9ccd4; }
.mini-cta { min-height: 42px; padding: 9px 15px; display: inline-flex; align-items: center; gap: 7px; background: var(--blue); color: #fff; }

main section { position: relative; overflow: hidden; }
.snap-section { min-height: 100svh; padding: calc(var(--header-h) + 42px) clamp(24px, 6.8vw, 120px) 64px; display: flex; flex-direction: column; justify-content: center; }
.section-dark { color: var(--off-white); background: var(--black); }
.section-light { color: var(--black); background: var(--off-white); }
.section-blue { color: #fff; background: var(--blue); }
.section-index { position: absolute; top: calc(var(--header-h) + 22px); left: clamp(24px, 6.8vw, 120px); font-size: 11px; font-weight: 800; letter-spacing: .16em; opacity: .6; }

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 54px) clamp(24px, 6.8vw, 120px) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: clamp(50px, 7vw, 140px);
}
.hero-grid { position: absolute; inset: var(--header-h) 0 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, #000, transparent 72%); }
.hero-copy, .hero-numbers { position: relative; z-index: 1; }
.eyebrow { display: flex; gap: 12px; align-items: center; margin: 0 0 26px; color: #b8bdc9; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.eyebrow span { display: inline-grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--blue); letter-spacing: 0; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 30px; font-size: clamp(46px, 6.3vw, 104px); line-height: 1.04; letter-spacing: -.055em; font-weight: 900; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-lead { margin-bottom: 34px; color: #c2c6cf; font-size: clamp(16px, 1.4vw, 22px); line-height: 1.65; }
.hero-buttons, .final-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 56px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; font-size: 14px; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-phone { color: #fff; background: var(--blue); }
.button-phone span, .button-invert span { opacity: .72; font-size: 12px; }
.button-kakao { color: #191919; background: #fee500; }
.cta-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.04); }
.hero-numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.metric { min-height: 185px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.metric-main { grid-column: span 2; min-height: 240px; color: #fff; background: var(--blue); }
.metric-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; opacity: .7; }
.metric strong { font-size: clamp(48px, 6vw, 86px); line-height: .9; letter-spacing: -.06em; }
.metric strong small { margin-left: 7px; font-size: 16px; letter-spacing: 0; }
.metric .metric-text { font-size: clamp(28px, 3vw, 45px); }
.scroll-note { position: absolute; bottom: 26px; left: clamp(24px, 6.8vw, 120px); margin: 0; display: flex; align-items: center; gap: 12px; color: #7b818e; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.scroll-note span { width: 48px; height: 1px; background: #7b818e; }

.split-layout { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); align-items: center; gap: clamp(55px, 9vw, 160px); }
.kicker { margin-bottom: 20px; padding-left: 3px; color: var(--blue); font-size: 14px; font-weight: 900; letter-spacing: -.01em; }
.section-blue .kicker { color: #fff; opacity: .75; }
.section-copy h2, .method-heading h2, .loss h2, .proof-title h2, .final-inner h2, .case-copy h2 { margin-bottom: 30px; font-size: clamp(40px, 5.3vw, 82px); line-height: 1.1; letter-spacing: -.055em; font-weight: 900; }
.short-lines { color: #474b55; font-size: clamp(15px, 1.35vw, 20px); line-height: 1.7; }
.short-lines p { margin-bottom: 11px; }
.short-lines strong { display: block; margin-top: 28px; color: var(--black); }
.contract-visual { position: relative; padding: 30px; border: 1px solid var(--line-light); background: #fff; box-shadow: 22px 22px 0 #deddd8; transform: rotate(1.5deg); }
.contract-top { min-height: 110px; padding-bottom: 24px; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 3px solid var(--black); }
.contract-top span { color: #777c86; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.contract-top strong { font-size: clamp(32px, 4vw, 56px); letter-spacing: -.04em; }
.contract-row { min-height: 63px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d5d6d9; font-size: 14px; }
.contract-row b { color: #676c76; }
.contract-stamp { position: absolute; right: 22px; bottom: 25px; padding: 12px 18px; color: #d82727; border: 3px solid #d82727; font-size: 18px; font-weight: 900; transform: rotate(-8deg); opacity: .8; }

.loss { text-align: center; }
.loss-inner { width: min(1240px, 100%); margin: auto; }
.equation { margin: 3vh 0 12px; display: flex; align-items: baseline; justify-content: center; gap: clamp(12px, 3vw, 56px); white-space: nowrap; }
.equation span, .equation strong { font-size: clamp(52px, 10vw, 160px); line-height: 1; letter-spacing: -.08em; }
.equation strong { color: var(--blue); padding: .08em .12em .13em; background: #fff; }
.equation small { margin-left: 8px; font-size: clamp(12px, 1.4vw, 22px); letter-spacing: -.02em; }
.equation i { font-size: clamp(27px, 4vw, 58px); font-style: normal; font-weight: 300; opacity: .55; }
.equation-note { margin-bottom: clamp(50px, 9vh, 100px); font-size: 12px; opacity: .7; }
.loss h2 { margin: 0; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.3; }

.method { justify-content: center; }
.method-heading { margin-bottom: clamp(46px, 7vh, 90px); }
.method-heading h2 { margin-bottom: 0; }
.process { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.process li { min-height: 220px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.process li:nth-child(3) { background: var(--blue); }
.process span { margin-bottom: auto; color: #6f7581; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.process li:nth-child(3) span { color: rgba(255,255,255,.6); }
.process strong { margin-bottom: 10px; font-size: clamp(20px, 2vw, 28px); }
.process p { margin: 0; color: #9499a4; font-size: 13px; line-height: 1.5; }
.process li:nth-child(3) p { color: rgba(255,255,255,.72); }

.service-desc { max-width: 580px; margin-bottom: 36px; color: #5d626c; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.75; }
.section-dark .service-desc { color: #9ea3ad; }
.price { display: flex; align-items: baseline; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.price span { margin-right: 12px; color: #777c86; font-size: 12px; font-weight: 800; }
.price strong { color: var(--blue); font-size: clamp(52px, 7vw, 100px); line-height: 1; letter-spacing: -.07em; }
.price b { font-size: 17px; }
.price-dark { border-color: var(--line-dark); }
.price-dark span { color: #9ea3ad; }
.calendar-visual { padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line-light); background: #fff; }
.calendar-head { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: baseline; }
.calendar-head strong { font-size: 23px; }
.calendar-head span { color: #777c86; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.calendar-days, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-days span { padding-bottom: 12px; color: #9a9da4; font-size: 10px; text-align: center; }
.calendar-grid i { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #ececec; color: #a0a3aa; font-size: 11px; font-style: normal; }
.calendar-grid i.on { color: #fff; background: var(--blue); border-color: var(--blue); font-weight: 800; }
.calendar-grid i.off { color: #888; background: repeating-linear-gradient(-45deg,#eee,#eee 4px,#f8f8f8 4px,#f8f8f8 8px); text-decoration: line-through; }
.calendar-key { margin-top: 20px; display: flex; gap: 20px; color: #777c86; font-size: 10px; }
.calendar-key span { display: flex; gap: 7px; align-items: center; }
.calendar-key i { width: 9px; height: 9px; display: inline-block; }
.key-on { background: var(--blue); }
.key-off { background: #ddd; }
.rank-visual { position: relative; padding: clamp(20px, 3vw, 38px); border: 1px solid var(--line-dark); background: #10131a; }
.search-bar { height: 64px; margin-bottom: 24px; padding: 0 8px 0 22px; display: flex; align-items: center; justify-content: space-between; border: 2px solid var(--blue); background: #fff; color: #6c717a; font-size: 14px; }
.search-bar b { height: 46px; padding: 0 18px; display: grid; place-items: center; color: #fff; background: var(--blue); font-size: 12px; }
.rank-list { min-height: 72px; padding: 0 15px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-dark); }
.rank-list span { color: var(--blue); font-size: 13px; font-weight: 900; }
.rank-list strong { font-size: 14px; }
.rank-list b { padding: 7px 9px; color: #fff; background: var(--blue); font-size: 9px; }
.rank-list.dim { opacity: .35; }
.hold-badge { position: absolute; right: -25px; bottom: -28px; width: 142px; height: 142px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--black); background: var(--off-white); border-radius: 50%; box-shadow: 0 0 0 8px var(--blue); }
.hold-badge strong { font-size: 38px; letter-spacing: -.05em; }
.hold-badge span { margin-top: 2px; font-size: 10px; font-weight: 800; }
.pricing-stack { border-top: 1px solid var(--line-light); }
.pricing-row { min-height: 150px; padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-light); }
.pricing-row span { color: #6e737c; font-size: 18px; }
.pricing-row span b { color: var(--black); font-size: 28px; }
.pricing-row strong { color: var(--blue); font-size: clamp(60px, 7vw, 100px); letter-spacing: -.07em; }
.pricing-row strong small { margin-left: 5px; color: currentColor; font-size: 14px; letter-spacing: 0; }
.pricing-row.featured { color: #fff; background: var(--blue); }
.pricing-row.featured span, .pricing-row.featured span b, .pricing-row.featured strong { color: #fff; }

.proof-intro { min-height: 100svh; padding: calc(var(--header-h) + 42px) clamp(24px, 6.8vw, 120px) 64px; display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.proof-title h2 { margin-bottom: 26px; font-size: clamp(58px, 8vw, 122px); line-height: 1.06; }
.proof-title > p:last-child { color: #9297a3; font-size: 13px; }
.proof-count { min-width: min(38vw, 490px); aspect-ratio: 1; display: grid; place-items: center; align-content: center; border: 1px solid var(--line-dark); background: var(--charcoal); }
.proof-count strong { color: var(--blue); font-size: clamp(120px, 18vw, 250px); line-height: .8; letter-spacing: -.09em; }
.proof-count span { margin-top: 32px; color: #9ba0ab; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-align: center; line-height: 1.5; }

.case-section { display: grid; grid-template-columns: minmax(290px, .65fr) minmax(0, 1.35fr); align-items: center; gap: clamp(35px, 7vw, 110px); }
.case-copy .case-number { display: block; margin-bottom: 35px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.case-copy h2 { margin-bottom: 22px; font-size: clamp(42px, 5.4vw, 84px); }
.case-copy p { font-size: 15px; }
.zoom-button, .case-image-wrap { border: 0; cursor: zoom-in; }
.zoom-button { margin-top: 25px; padding: 0 0 7px; color: #666b74; background: transparent; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; cursor: pointer; }
.case-dark .zoom-button { color: #a5aab4; }
.case-image-wrap { width: 100%; height: min(74svh, 780px); padding: clamp(14px, 2vw, 28px); display: grid; place-items: center; background: #e8e7e2; border: 1px solid var(--line-light); overflow: hidden; }
.case-dark .case-image-wrap { background: #11141b; border-color: var(--line-dark); }
.case-image-wrap img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 12px 35px rgba(0,0,0,.12); }
.image-dental img { width: min(100%, 491px); }

.final-cta { min-height: 100svh; padding: calc(var(--header-h) + 50px) clamp(24px, 6.8vw, 120px) 70px; display: grid; place-items: center; text-align: center; }
.final-inner { position: relative; z-index: 2; }
.final-inner h2 { margin-bottom: 48px; font-size: clamp(46px, 7vw, 105px); line-height: 1; }
.final-buttons { justify-content: center; }
.button-invert { color: var(--blue); background: #fff; }
.final-email { display: inline-block; margin-top: 30px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.cta-orbit { position: absolute; inset: 0; pointer-events: none; opacity: .25; }
.cta-orbit span { position: absolute; top: 50%; left: 50%; border: 1px solid #fff; border-radius: 50%; transform: translate(-50%,-50%); }
.cta-orbit span:nth-child(1) { width: 35vw; height: 35vw; }
.cta-orbit span:nth-child(2) { width: 60vw; height: 60vw; }
.cta-orbit span:nth-child(3) { width: 90vw; height: 90vw; }

footer { min-height: 150px; padding: 38px clamp(24px, 6.8vw, 120px); display: flex; align-items: center; gap: 32px; color: #8f949f; background: var(--black); font-size: 11px; border-top: 1px solid var(--line-dark); }
.footer-brand { margin-right: auto; color: #fff; }
.footer-brand .brand-logo { width: 138px; }
footer p { margin: 0; }

.mobile-contact { display: none; }
.image-dialog { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; color: #fff; background: rgba(8,10,15,.96); border: 0; }
.image-dialog::backdrop { background: rgba(8,10,15,.96); }
.dialog-close { position: fixed; top: 18px; right: 22px; z-index: 2; padding: 12px 16px; color: #fff; background: var(--blue); border: 0; font-size: 12px; font-weight: 800; cursor: pointer; }
.dialog-stage { width: 100%; height: 100%; padding: 74px 20px 28px; display: grid; place-items: center; overflow: auto; }
.dialog-stage img { max-width: none; width: auto; height: auto; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header { padding: 0 20px; }
  .header-mail { display: none; }
  .brand-logo { width: 122px; }
  .mini-cta { min-height: 40px; padding: 8px 12px; }
  .mini-cta .cta-icon { width: 17px; height: 17px; }
  .snap-section { min-height: auto; padding: 118px 22px 84px; }
  .section-index { top: 88px; left: 22px; }
  .hero { min-height: auto; padding: 122px 22px 100px; grid-template-columns: 1fr; gap: 55px; }
  .hero-grid { background-size: 54px 54px; }
  .hero-numbers { width: 100%; }
  .metric { min-height: 145px; }
  .metric-main { min-height: 180px; }
  .scroll-note { display: none; }
  .split-layout { grid-template-columns: 1fr; gap: 50px; }
  .contract-visual { box-shadow: 12px 12px 0 #deddd8; }
  .loss { min-height: 100svh; }
  .equation { gap: 9px; }
  .equation small { display: block; margin: 7px 0 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li { min-height: 175px; }
  .service-place .rank-visual { order: 2; }
  .service-place .section-copy { order: 1; }
  .hold-badge { right: -5px; bottom: -34px; width: 120px; height: 120px; }
  .proof-intro { min-height: auto; padding: 130px 22px 90px; flex-direction: column; align-items: stretch; }
  .proof-count { min-width: 0; width: 100%; max-width: 480px; align-self: center; }
  .case-section { min-height: auto; grid-template-columns: 1fr; gap: 35px; }
  .case-image-wrap { width: 100%; height: auto; max-height: none; padding: 12px; }
  .case-image-wrap img { width: auto; height: auto; max-width: 100%; max-height: none; }
  .case-copy .case-number { margin-bottom: 20px; }
  .case-copy h2 { margin-bottom: 15px; }
  .cta-orbit span:nth-child(1) { width: 70vw; height: 70vw; }
  .cta-orbit span:nth-child(2) { width: 120vw; height: 120vw; }
  .cta-orbit span:nth-child(3) { width: 190vw; height: 190vw; }
  footer { padding-bottom: 100px; flex-wrap: wrap; }
  .mobile-contact { position: fixed; z-index: 45; inset: auto 0 0; height: 62px; display: grid; grid-template-columns: 1fr 1fr; background: var(--black); box-shadow: 0 -5px 25px rgba(0,0,0,.18); }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 850; }
  .mobile-contact a .cta-icon { width: 18px; height: 18px; }
  .mobile-contact a:last-child { color: #191919; background: #fee500; }
  .dialog-stage { display: block; overflow: auto; text-align: center; }
  .dialog-stage img { margin: 0 auto; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-buttons, .final-buttons { flex-direction: column; }
  .button { width: 100%; }
  .metric { min-height: 130px; padding: 18px; }
  .metric-main { min-height: 165px; }
  .metric strong { font-size: 52px; }
  .metric .metric-text { font-size: 25px; }
  .section-copy h2, .method-heading h2, .proof-title h2, .final-inner h2 { font-size: 42px; line-height: 1.12; }
  .contract-visual { padding: 22px; }
  .contract-stamp { font-size: 14px; }
  .equation span, .equation strong { font-size: 43px; }
  .equation i { font-size: 23px; }
  .process { grid-template-columns: 1fr; }
  .process li { min-height: 155px; }
  .pricing-row { min-height: 120px; padding: 20px; }
  .pricing-row strong { font-size: 58px; }
  .proof-count strong { font-size: 128px; }
  .case-image-wrap { padding: 7px; }
  footer { gap: 16px; }
  footer p { width: 100%; }
}

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